collective-webcomponents
Version:
Stencil Component Starter
360 lines • 8.32 kB
JSON
{
"components": [
{
"tag": "collective-product-cell",
"dependencies": [],
"componentClass": "CollectiveProductCell",
"componentPath": "components/collective-widget-product-cell/collective-product-cell.js",
"styles": {
"$": {
"stylePaths": [
"components/collective-widget-product-cell/collective-product-cell.scss"
]
}
},
"props": [
{
"name": "product",
"attr": "product"
},
{
"name": "selected",
"type": "Boolean",
"attr": "selected"
}
]
},
{
"tag": "collective-products",
"dependencies": [
"collective-widget-product-cell"
],
"componentClass": "CollectiveProducts",
"componentPath": "components/collective-products/collective-products.js",
"styles": {
"$": {
"stylePaths": [
"components/collective-products/collective-products.css"
]
}
},
"props": [
{
"name": "columns",
"type": "Number",
"attr": "columns"
},
{
"name": "imageSize",
"type": "Number",
"attr": "image-size"
},
{
"name": "pid",
"type": "String",
"attr": "pid"
},
{
"name": "products",
"attr": "products"
},
{
"name": "showBrand",
"type": "Boolean",
"attr": "show-brand"
},
{
"name": "showInfoOnHover",
"type": "Boolean",
"attr": "show-info-on-hover"
},
{
"name": "showPrice",
"type": "Boolean",
"attr": "show-price"
},
{
"name": "showRetailer",
"type": "Boolean",
"attr": "show-retailer"
},
{
"name": "showSalePrice",
"type": "Boolean",
"attr": "show-sale-price"
}
],
"hostElement": {
"name": "element"
}
},
{
"tag": "collective-products-chooser",
"dependencies": [
"collective-product-cell",
"ion-searchbar",
"ion-spinner"
],
"componentClass": "CollectiveProductsChooser",
"componentPath": "components/collective-products-chooser/collective-products-chooser.js",
"styles": {
"$": {
"stylePaths": [
"components/collective-products-chooser/collective-products-chooser.scss"
]
}
},
"props": [
{
"name": "value",
"attr": "value"
}
],
"states": [
{
"name": "loading"
},
{
"name": "products"
},
{
"name": "searchText"
},
{
"name": "showModal"
}
],
"hostElement": {
"name": "element"
},
"events": [
{
"event": "change"
}
]
},
{
"tag": "collective-products-chooser-button",
"dependencies": [
"collective-products-chooser",
"ion-button"
],
"componentClass": "CollectiveProductsChooserButton",
"componentPath": "components/collective-products-chooser-button/collective-products-chooser-button.js",
"styles": {
"$": {
"stylePaths": [
"components/collective-products-chooser-button/collective-products-chooser-button.scss"
]
}
},
"props": [
{
"name": "value",
"attr": "value",
"watch": [
"valueChanged"
]
}
],
"states": [
{
"name": "showSearch"
}
],
"hostElement": {
"name": "element"
},
"events": [
{
"event": "change"
}
]
},
{
"tag": "collective-widget-product-cell",
"dependencies": [],
"componentClass": "CollectiveWidgetProductCell",
"componentPath": "components/collective-product-cell/collective-widget-product-cell.js",
"styles": {
"$": {
"stylePaths": [
"components/collective-product-cell/collective-widget-product-cell.scss"
]
}
},
"props": [
{
"name": "imageSize",
"type": "Number",
"attr": "image-size"
},
{
"name": "product",
"attr": "product",
"watch": [
"productChanged"
]
},
{
"name": "productId",
"type": "Any",
"attr": "product-id",
"watch": [
"fetchProductById"
]
},
{
"name": "showBrand",
"type": "Boolean",
"attr": "show-brand"
},
{
"name": "showInfoOnHover",
"type": "Boolean",
"attr": "show-info-on-hover"
},
{
"name": "showPrice",
"type": "Boolean",
"attr": "show-price"
},
{
"name": "showSalePrice",
"type": "Boolean",
"attr": "show-sale-price"
}
],
"states": [
{
"name": "productObject"
}
]
}
],
"collections": [
{
"name": "@ionic/core",
"tags": [
"ion-action-sheet",
"ion-action-sheet-controller",
"ion-alert",
"ion-alert-controller",
"ion-anchor",
"ion-animation-controller",
"ion-app",
"ion-avatar",
"ion-back-button",
"ion-backdrop",
"ion-badge",
"ion-button",
"ion-buttons",
"ion-card",
"ion-card-content",
"ion-card-header",
"ion-card-subtitle",
"ion-card-title",
"ion-checkbox",
"ion-chip",
"ion-chip-button",
"ion-col",
"ion-content",
"ion-datetime",
"ion-fab",
"ion-fab-button",
"ion-fab-list",
"ion-footer",
"ion-gesture",
"ion-gesture-controller",
"ion-grid",
"ion-header",
"ion-hide-when",
"ion-img",
"ion-infinite-scroll",
"ion-infinite-scroll-content",
"ion-input",
"ion-item",
"ion-item-divider",
"ion-item-group",
"ion-item-option",
"ion-item-options",
"ion-item-sliding",
"ion-label",
"ion-list",
"ion-list-header",
"ion-loading",
"ion-loading-controller",
"ion-menu",
"ion-menu-button",
"ion-menu-controller",
"ion-menu-toggle",
"ion-modal",
"ion-modal-controller",
"ion-nav",
"ion-nav-pop",
"ion-nav-push",
"ion-nav-set-root",
"ion-note",
"ion-picker",
"ion-picker-column",
"ion-picker-controller",
"ion-popover",
"ion-popover-controller",
"ion-radio",
"ion-radio-group",
"ion-range",
"ion-range-knob",
"ion-refresher",
"ion-refresher-content",
"ion-reorder",
"ion-reorder-group",
"ion-ripple-effect",
"ion-route",
"ion-route-redirect",
"ion-router",
"ion-router-outlet",
"ion-row",
"ion-scroll",
"ion-searchbar",
"ion-segment",
"ion-segment-button",
"ion-select",
"ion-select-option",
"ion-select-popover",
"ion-show-when",
"ion-skeleton-text",
"ion-slide",
"ion-slides",
"ion-spinner",
"ion-split-pane",
"ion-status-tap",
"ion-tab",
"ion-tab-button",
"ion-tabbar",
"ion-tabs",
"ion-tap-click",
"ion-text",
"ion-textarea",
"ion-thumbnail",
"ion-title",
"ion-toast",
"ion-toast-controller",
"ion-toggle",
"ion-toolbar",
"ion-virtual-scroll"
]
},
{
"name": "ionicons",
"tags": [
"ion-icon"
]
}
],
"compiler": {
"name": "@stencil/core",
"version": "0.9.10",
"typescriptVersion": "2.9.2"
},
"bundles": []
}