@sc-360-v2/storefront-cms-library 0.1.90 → 0.1.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/builder.js +1 -1
  2. package/dist/bulk-variant-picker.scss +24 -0
  3. package/dist/cart.scss +18 -0
  4. package/dist/container.scss +11 -1
  5. package/dist/gallery-slider-temp.scss +12 -1
  6. package/dist/global.scss +4 -0
  7. package/dist/icons.js +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/lightbox.scss +62 -0
  10. package/dist/modal.module.scss +121 -0
  11. package/dist/payment-methods.scss +7 -27
  12. package/dist/product-actions.scss +125 -141
  13. package/dist/product-basic-elements.scss +98 -37
  14. package/dist/product-price.scss +369 -1
  15. package/dist/product.scss +182 -0
  16. package/dist/profile.scss +18 -0
  17. package/dist/quantity-selector.scss +1 -1
  18. package/dist/section.scss +30 -0
  19. package/dist/stack.scss +72 -0
  20. package/dist/text-editor.scss +3 -0
  21. package/dist/types/builder/elements/cart/index.d.ts +26 -0
  22. package/dist/types/builder/elements/common.d.ts +1 -1
  23. package/dist/types/builder/elements/container/index.d.ts +1 -0
  24. package/dist/types/builder/elements/gallery-slider/index.d.ts +2 -2
  25. package/dist/types/builder/elements/lightbox/index.d.ts +43 -0
  26. package/dist/types/builder/elements/product/index.d.ts +30 -0
  27. package/dist/types/builder/elements/profile/index.d.ts +26 -0
  28. package/dist/types/builder/elements/repeater/index.d.ts +61 -0
  29. package/dist/types/builder/enums/index.d.ts +68 -3
  30. package/dist/types/builder/index.d.ts +33 -28
  31. package/dist/types/builder/tools/element-edit/amountEstimator.d.ts +105 -2
  32. package/dist/types/builder/tools/element-edit/bulkVariantPicker.d.ts +2 -1
  33. package/dist/types/builder/tools/element-edit/button.d.ts +3 -1
  34. package/dist/types/builder/tools/element-edit/cart.d.ts +50 -0
  35. package/dist/types/builder/tools/element-edit/common.d.ts +2 -0
  36. package/dist/types/builder/tools/element-edit/container.d.ts +2 -1
  37. package/dist/types/builder/tools/element-edit/gallery-slider.d.ts +9 -0
  38. package/dist/types/builder/tools/element-edit/image.d.ts +2 -1
  39. package/dist/types/builder/tools/element-edit/index.d.ts +33 -27
  40. package/dist/types/builder/tools/element-edit/lightbox.d.ts +21 -0
  41. package/dist/types/builder/tools/element-edit/menu.d.ts +53 -0
  42. package/dist/types/builder/tools/element-edit/paymentMethods.d.ts +5 -2
  43. package/dist/types/builder/tools/element-edit/pickupLocations.d.ts +65 -1
  44. package/dist/types/builder/tools/element-edit/product-image.d.ts +10 -0
  45. package/dist/types/builder/tools/element-edit/product.d.ts +17 -0
  46. package/dist/types/builder/tools/element-edit/productActions.d.ts +7 -2
  47. package/dist/types/builder/tools/element-edit/productHighlights.d.ts +2 -1
  48. package/dist/types/builder/tools/element-edit/productInventory.d.ts +96 -2
  49. package/dist/types/builder/tools/element-edit/productPrice.d.ts +46 -1
  50. package/dist/types/builder/tools/element-edit/productPromotions.d.ts +115 -2
  51. package/dist/types/builder/tools/element-edit/profile.d.ts +60 -0
  52. package/dist/types/builder/tools/element-edit/quantitySelector.d.ts +2 -1
  53. package/dist/types/builder/tools/element-edit/repeater.d.ts +38 -0
  54. package/dist/types/builder/tools/element-edit/repeaterItem.d.ts +9 -0
  55. package/dist/types/builder/tools/element-edit/shippingEstimator.d.ts +2 -1
  56. package/dist/types/builder/tools/element-edit/stack.d.ts +2 -1
  57. package/dist/types/builder/tools/element-edit/storeLocations.d.ts +63 -1
  58. package/dist/types/builder/tools/element-edit/text.d.ts +2 -1
  59. package/dist/types/builder/tools/element-edit/uomSelector.d.ts +123 -4
  60. package/dist/types/builder/tools/element-edit/variantPicker.d.ts +149 -2
  61. package/dist/types/builder/tools/element-edit/volumePricing.d.ts +2 -1
  62. package/dist/types/global/types.d.ts +1 -0
  63. package/dist/variant-picker.scss +24 -0
  64. package/dist/volume-pricing.scss +3 -2
  65. package/package.json +1 -1
  66. package/dist/types/builder/tools/element-edit/buttonv2.d.ts +0 -26
@@ -1,41 +1,46 @@
1
- import commonFunctions from "./utilities/global";
2
- import * as interfaces from "./interfaces/global";
3
- import * as enums from "./enums/index";
4
- import * as sectionSchema from "./elements/section/index";
5
- import * as gridSchema from "./elements/grid/index";
6
- import * as imageSchema from "./elements/image/index";
7
1
  import * as cmsTypes from "../global/types";
8
- import * as ElementEditSchema from "./tools/element-edit/index";
9
- import * as textSchema from "./elements/text-editor/index";
10
- import * as videoSChema from "./elements/video/index";
11
- import * as tableSchema from "./elements/table/index";
2
+ import * as amountEstimatorSchema from "./elements/amount-estimator/index";
3
+ import * as bulkVariantPickerSchema from "./elements/bulk-variant-picker/index";
12
4
  import * as buttonSchema from "./elements/button/index";
13
- import * as gallerySliderSchema from "./elements/gallery-slider/index";
14
- import * as tabSchema from "./elements/tab/index";
15
- import * as socialIconsSchema from "./elements/social/index";
16
- import * as faqSchema from "./elements/faq/index";
17
5
  import * as codeSchema from "./elements/code/index";
18
- import * as embedSchema from "./elements/embed/index";
19
- import * as scrollSchema from "./elements/scroll/index";
6
+ import * as containerSchema from "./elements/container/index";
20
7
  import * as countdownSchema from "./elements/countdown/index";
8
+ import * as embedSchema from "./elements/embed/index";
9
+ import * as faqSchema from "./elements/faq/index";
10
+ import * as gallerySliderSchema from "./elements/gallery-slider/index";
11
+ import * as gridSchema from "./elements/grid/index";
21
12
  import * as imageHotspotSchema from "./elements/image-hotspot/index";
13
+ import * as imageSchema from "./elements/image/index";
14
+ import * as productSchema from "./elements/product/index";
22
15
  import * as mapSchema from "./elements/map/index";
23
- import * as containerSchema from "./elements/container/index";
24
- import * as priceSchema from "./elements/productPrice/index";
25
- import * as productActionsSchema from "./elements/product-actions/index";
26
- import * as volumePricingSchema from "./elements/volumePricing/index";
16
+ import * as paymentMethodsSchema from "./elements/paymentMethods/index";
27
17
  import * as pickupLocationsSchema from "./elements/pickup-locations/index";
28
- import * as storeLocationsSchema from "./elements/store-locations/index";
18
+ import * as productActionsSchema from "./elements/product-actions/index";
19
+ import * as productImageSchema from "./elements/product-image/index";
29
20
  import * as productInventorySchema from "./elements/product-inventory/index";
30
- import * as productHighlightsSchema from "./elements/productHighlights/index";
31
- import * as paymentMethodsSchema from "./elements/paymentMethods/index";
32
- import * as shippingEstimatorSchema from "./elements/shippingEstimator/index";
33
21
  import * as productPromotionsSchema from "./elements/product-promotions/index";
34
- import * as amountEstimatorSchema from "./elements/amount-estimator/index";
22
+ import * as productHighlightsSchema from "./elements/productHighlights/index";
23
+ import * as priceSchema from "./elements/productPrice/index";
35
24
  import * as quantitySelectorSchema from "./elements/quantity-selector/index";
25
+ import * as scrollSchema from "./elements/scroll/index";
26
+ import * as sectionSchema from "./elements/section/index";
27
+ import * as shippingEstimatorSchema from "./elements/shippingEstimator/index";
28
+ import * as socialIconsSchema from "./elements/social/index";
36
29
  import * as stackSchema from "./elements/stack/index";
30
+ import * as storeLocationsSchema from "./elements/store-locations/index";
31
+ import * as tabSchema from "./elements/tab/index";
32
+ import * as tableSchema from "./elements/table/index";
33
+ import * as textSchema from "./elements/text-editor/index";
37
34
  import * as uomSelectorSchema from "./elements/uom-selector/index";
38
35
  import * as variantPickerSchema from "./elements/variant-picker/index";
39
- import * as bulkVariantPickerSchema from "./elements/bulk-variant-picker/index";
40
- import * as productImageSchema from "./elements/product-image/index";
41
- export { commonFunctions, interfaces, enums, sectionSchema, gridSchema, cmsTypes, textSchema, ElementEditSchema, imageSchema, videoSChema, socialIconsSchema, buttonSchema, gallerySliderSchema, tabSchema, tableSchema, faqSchema, codeSchema, embedSchema, scrollSchema, countdownSchema, imageHotspotSchema, mapSchema, containerSchema, priceSchema, productActionsSchema, volumePricingSchema, pickupLocationsSchema, storeLocationsSchema, productInventorySchema, paymentMethodsSchema, productHighlightsSchema, shippingEstimatorSchema, productPromotionsSchema, amountEstimatorSchema, quantitySelectorSchema, stackSchema, uomSelectorSchema, variantPickerSchema, bulkVariantPickerSchema, productImageSchema, };
36
+ import * as videoSChema from "./elements/video/index";
37
+ import * as volumePricingSchema from "./elements/volumePricing/index";
38
+ import * as enums from "./enums/index";
39
+ import * as interfaces from "./interfaces/global";
40
+ import * as ElementEditSchema from "./tools/element-edit/index";
41
+ import * as lightboxSchema from "./elements/lightbox/index";
42
+ import * as cartSchema from "./elements/cart/index";
43
+ import * as profileSchema from "./elements/profile/index";
44
+ import * as repeaterSchema from "./elements/repeater/index";
45
+ import commonFunctions from "./utilities/global";
46
+ export { ElementEditSchema, amountEstimatorSchema, bulkVariantPickerSchema, buttonSchema, cmsTypes, codeSchema, commonFunctions, containerSchema, countdownSchema, embedSchema, enums, faqSchema, gallerySliderSchema, gridSchema, imageHotspotSchema, imageSchema, interfaces, mapSchema, paymentMethodsSchema, pickupLocationsSchema, priceSchema, productActionsSchema, productHighlightsSchema, productImageSchema, productInventorySchema, productPromotionsSchema, quantitySelectorSchema, scrollSchema, sectionSchema, shippingEstimatorSchema, socialIconsSchema, stackSchema, storeLocationsSchema, tabSchema, tableSchema, textSchema, uomSelectorSchema, variantPickerSchema, videoSChema, volumePricingSchema, lightboxSchema, cartSchema, profileSchema, productSchema, repeaterSchema, };
@@ -26,15 +26,118 @@ interface selfLayoutInterface {
26
26
  rowsPerPage: CMSIBCommonInterface;
27
27
  overflowControl: CMSIBCommonInterface;
28
28
  paginationType: CMSIBCommonInterface;
29
- paginationAliginment: CMSIBCommonInterface;
29
+ paginationAlignment: CMSIBCommonInterface;
30
30
  }
31
31
  interface selfDesignInterface {
32
32
  selectorKey: string;
33
+ inputStyle: {
34
+ selectorKey: string;
35
+ [key: string]: any;
36
+ };
37
+ viewOffersButton: {
38
+ selectorKey: string;
39
+ [key: string]: any;
40
+ };
41
+ widgetTextStyles: {
42
+ selectorKey: string;
43
+ [key: string]: any;
44
+ };
45
+ itemStyle: {
46
+ selectorKey: string;
47
+ [key: string]: any;
48
+ };
49
+ shippingName: {
50
+ selectorKey: string;
51
+ [key: string]: any;
52
+ };
53
+ shippingMethodLogo: {
54
+ selectorKey: string;
55
+ [key: string]: any;
56
+ };
57
+ shippingDescription: {
58
+ selectorKey: string;
59
+ [key: string]: any;
60
+ };
61
+ estimatedShippingCost: {
62
+ selectorKey: string;
63
+ [key: string]: any;
64
+ };
65
+ estimatedShippingTime: {
66
+ selectorKey: string;
67
+ [key: string]: any;
68
+ };
69
+ arrows: {
70
+ selectorKey: string;
71
+ [key: string]: any;
72
+ };
73
+ paginationDots: {
74
+ selectorKey: string;
75
+ [key: string]: any;
76
+ };
77
+ paginationLine: {
78
+ selectorKey: string;
79
+ [key: string]: any;
80
+ };
81
+ table: {
82
+ selectorKey: string;
83
+ [key: string]: any;
84
+ };
85
+ tableHeader: {
86
+ selectorKey: string;
87
+ [key: string]: any;
88
+ };
89
+ headerText: {
90
+ selectorKey: string;
91
+ [key: string]: any;
92
+ };
93
+ tableRow: {
94
+ selectorKey: string;
95
+ [key: string]: any;
96
+ };
97
+ scroll: {
98
+ selectorKey: string;
99
+ [key: string]: any;
100
+ };
101
+ rowDividers: {
102
+ selectorKey: string;
103
+ [key: string]: any;
104
+ };
105
+ pagination: {
106
+ selectorKey: string;
107
+ [key: string]: any;
108
+ };
109
+ showMoreItemsButton: {
110
+ selectorKey: string;
111
+ [key: string]: any;
112
+ };
33
113
  }
34
114
  export declare enum AmountEstimatorsSelectorKeysEnum {
35
115
  LAYOUT = "layout",
36
116
  CONTENT = "content",
37
- DESIGN = "design"
117
+ DESIGN = "design",
118
+ INPUT_STYLE = "inputStyle",
119
+ VIEW_OFFERS_BUTTON = "viewOffersButton",
120
+ WIDGET_TEXT_STYLES = "widgetTextStyles",
121
+ ITEM_STYLE = "itemStyle",
122
+ SHIPPING_NAME = "shippingName",
123
+ SHIPPING_METHOD_LOGO = "shippingMethodLogo",
124
+ SHIPPING_DESCRIPTION = "shippingDescription",
125
+ ESTIMATED_SHIPPING_COST = "estimatedShippingCost",
126
+ ESTIMATED_SHIPPING_TIME = "estimatedShippingTime",
127
+ ARROWS = "arrows",
128
+ PAGINATION_DOTS = "paginationDots",
129
+ PAGINATION_LINE = "paginationLine",
130
+ TABLE = "table",
131
+ TABLE_HEADER = "tableHeader",
132
+ HEADER_TEXT = "headerText",
133
+ TABLE_ROW = "tableRow",
134
+ SCROLL = "scroll",
135
+ ROW_DIVIDERS = "rowDividers",
136
+ PAGINATION = "pagination",
137
+ SHOW_MORE_ITEMS_BUTTON = "showMoreItemsButton",
138
+ HOVER_STATE = "hover",
139
+ DEFAULT_STATE = "default",
140
+ SELECTED_STATE = "selectedState"
38
141
  }
39
142
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
40
143
  export {};
@@ -112,7 +112,8 @@ export declare enum BulkVariantPickerSelectorKeysEnum {
112
112
  DROPDOWN_DISPLAY_STYLE = "dropdownDisplayStyle",
113
113
  GROUPED_OPTION_DISPLAY_STYLE = "groupedOptionsDisplayStyle",
114
114
  MATRIX_DISPLAY_STYLE = "matrixDisplayStyle",
115
- GROUPED_MATRIX_DISPLAY_STYLE = "groupedMatrixDisplayStyle"
115
+ GROUPED_MATRIX_DISPLAY_STYLE = "groupedMatrixDisplayStyle",
116
+ DATA_CONNECTOR = "dataConnector"
116
117
  }
117
118
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
118
119
  export {};
@@ -11,6 +11,7 @@ export interface ButtonLayoutInterface {
11
11
  iconAndTextSpacing: CMSIBCommonInterface;
12
12
  alignment: CMSIBCommonInterface;
13
13
  buttonType: CMSIBCommonInterface;
14
+ linkTo: CMSIBCommonInterface;
14
15
  }
15
16
  export interface selfDesignInterface {
16
17
  selectorKey: string;
@@ -21,6 +22,7 @@ export declare enum ButtonSelectorKeysEnum {
21
22
  HOVER_STATE = "hover",
22
23
  DEFAULT_STATE = "default",
23
24
  LAYOUT = "layout",
24
- DESIGN = "design"
25
+ DESIGN = "design",
26
+ DATA_CONNECTOR = "dataConnector"
25
27
  }
26
28
  export declare const getDefaultData: () => CMSElementEditPopupInterface<ButtonLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
@@ -0,0 +1,50 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ selectorKey: string;
5
+ whenClicked: CMSIBCommonInterface;
6
+ showCartText: CMSIBCommonInterface;
7
+ cartText: CMSIBCommonInterface;
8
+ showNoOfItems: CMSIBCommonInterface;
9
+ }
10
+ export interface selfDesignInterface {
11
+ selectorKey: string;
12
+ cartIcon: {
13
+ selectorKey: string;
14
+ backgroundColor: CMSIBCommonInterface;
15
+ borderColor: CMSIBCommonInterface;
16
+ borderStyle: CMSIBCommonInterface;
17
+ borderPerSlide: CMSIBCommonInterface;
18
+ showBorder: CMSIBCommonInterface;
19
+ showShadow: CMSIBCommonInterface;
20
+ shadowColor: CMSIBCommonInterface;
21
+ blur: CMSIBCommonInterface;
22
+ spread: CMSIBCommonInterface;
23
+ angle: CMSIBCommonInterface;
24
+ borderRadius: CMSIBCommonInterface;
25
+ showIcon: CMSIBCommonInterface | undefined;
26
+ iconSize: CMSIBCommonInterface;
27
+ iconColor: CMSIBCommonInterface;
28
+ };
29
+ miniCartText: {
30
+ selectorKey: string;
31
+ font: CMSIBCommonInterface;
32
+ fontSize: CMSIBCommonInterface;
33
+ textColor: CMSIBCommonInterface;
34
+ bold: CMSIBCommonInterface;
35
+ italic: CMSIBCommonInterface;
36
+ linethrough: CMSIBCommonInterface;
37
+ underline: CMSIBCommonInterface;
38
+ textAlign: CMSIBCommonInterface;
39
+ characterSpacing: CMSIBCommonInterface;
40
+ lineHeight: CMSIBCommonInterface;
41
+ };
42
+ }
43
+ export declare enum cartSelectorKeysEnum {
44
+ LAYOUT = "layout",
45
+ DESIGN = "design",
46
+ CART_ICON = "cartIcon",
47
+ MINI_CART_TEXT = "miniCartText"
48
+ }
49
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
50
+ export {};
@@ -56,6 +56,7 @@ export interface CMSElementEditPopupDesignInterface {
56
56
  lineHeightDesc: CMSIBSizeInterface;
57
57
  zoomImage: CMSIBCommonInterface;
58
58
  flip: CMSIBCommonInterface;
59
+ direction: CMSIBCommonInterface;
59
60
  rotate: CMSIBSizeInterface;
60
61
  exposure: CMSIBSizeInterface;
61
62
  contrast: CMSIBSizeInterface;
@@ -81,5 +82,6 @@ export interface CMSElementEditPopupInterface<L = CMSElementEditPopupLayoutInter
81
82
  content?: any;
82
83
  settings?: any;
83
84
  code?: any;
85
+ dataConnector?: any;
84
86
  }
85
87
  export declare const cssInputInstances: CMSElementEditPopupLayoutInterface & CMSElementEditPopupDesignInterface;
@@ -9,7 +9,8 @@ export interface selfDesignInterface {
9
9
  }
10
10
  export declare enum selfSelectorKeysEnum {
11
11
  LAYOUT = "layout",
12
- DESIGN = "design"
12
+ DESIGN = "design",
13
+ DATA_CONNECTOR = "dataConnector"
13
14
  }
14
15
  export declare const getDefaultData: (contentWidth: any) => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
15
16
  export {};
@@ -3,17 +3,26 @@ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSEl
3
3
  interface selfLayoutInterface {
4
4
  selectorKey: string;
5
5
  displayStyle: CMSIBCommonInterface;
6
+ scrollDirection: CMSIBCommonInterface;
7
+ noOfItemsToLoad: CMSIBCommonInterface;
8
+ scrollControl: CMSIBCommonInterface;
6
9
  itemsPerSlide: CMSIBSizeInterface;
10
+ itemsPerRow: CMSIBSizeInterface;
11
+ itemsPerColumn: CMSIBSizeInterface;
7
12
  itemGap: CMSIBSizeInterface;
8
13
  rowGap: CMSIBSizeInterface;
9
14
  sliderControl: CMSIBCommonInterface;
10
15
  controlPosition: CMSIBCommonInterface;
11
16
  loopImages: CMSIBCommonInterface;
17
+ setItemsPerRow: CMSIBCommonInterface;
12
18
  sliderDisplayScrollbar: CMSIBCommonInterface;
13
19
  autoplay: CMSIBCommonInterface;
14
20
  autoplayStyle: CMSIBCommonInterface;
15
21
  autoplayDuration: CMSIBSizeInterface;
16
22
  sliderSpeed: CMSIBSizeInterface;
23
+ thumbnailPlacement: CMSIBSizeInterface;
24
+ thumbnailSize: CMSIBSizeInterface;
25
+ thumbnailSpacing: CMSIBSizeInterface;
17
26
  }
18
27
  export interface selfDesignInterface {
19
28
  selectorKey: string;
@@ -20,7 +20,8 @@ export interface selfDesignInterface {
20
20
  }
21
21
  export declare enum SelectorKeysEnum {
22
22
  LAYOUT = "layout",
23
- DESIGN = "design"
23
+ DESIGN = "design",
24
+ DATA_CONNECTOR = "dataConnector"
24
25
  }
25
26
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
26
27
  export {};
@@ -1,39 +1,45 @@
1
- import * as common from "./common";
2
- import * as section from "./section";
3
- import * as grid from "./grid";
4
- import * as image from "./image";
1
+ import * as amountEstimator from "./amountEstimator";
2
+ import * as bulkVariantPicker from "./bulkVariantPicker";
5
3
  import * as button from "./button";
6
- import * as buttonV2 from "./buttonv2";
7
- import * as video from "./video";
8
- import * as tabs from "./tabs";
9
- import * as slideShowLayouter from "./slideShowLayouter";
10
- import * as table from "./table";
11
- import * as gallerySlider from "./gallery-slider";
12
- import * as social from "./social";
13
- import * as faq from "./faq";
14
4
  import * as code from "./code";
5
+ import * as common from "./common";
6
+ import * as container from "./container";
7
+ import * as countdown from "./countdown";
15
8
  import * as embed from "./embed";
16
- import * as text from "./text";
9
+ import * as faq from "./faq";
10
+ import * as gallerySlider from "./gallery-slider";
11
+ import * as grid from "./grid";
12
+ import * as image from "./image";
13
+ import * as product from "./product";
17
14
  import * as imageHotspot from "./imageHotspot";
18
- import * as scroll from "./scroll";
19
15
  import * as map from "./map";
20
- import * as container from "./container";
21
- import * as countdown from "./countdown";
22
- import * as price from "./productPrice";
23
- import * as productActions from "./productActions";
24
- import * as volumePricing from "./volumePricing";
25
- import * as pickupLocations from "./pickupLocations";
26
- import * as storeLocations from "./storeLocations";
27
- import * as productInventory from "./productInventory";
28
16
  import * as paymentMethods from "./paymentMethods";
17
+ import * as pickupLocations from "./pickupLocations";
18
+ import * as productImage from "./product-image";
19
+ import * as productActions from "./productActions";
29
20
  import * as productHighlights from "./productHighlights";
30
- import * as shippingEstimator from "./shippingEstimator";
21
+ import * as productInventory from "./productInventory";
22
+ import * as price from "./productPrice";
31
23
  import * as productPromotions from "./productPromotions";
32
- import * as amountEstimator from "./amountEstimator";
33
24
  import * as quantitySelector from "./quantitySelector";
25
+ import * as scroll from "./scroll";
26
+ import * as section from "./section";
27
+ import * as shippingEstimator from "./shippingEstimator";
28
+ import * as slideShowLayouter from "./slideShowLayouter";
29
+ import * as social from "./social";
34
30
  import * as stack from "./stack";
31
+ import * as storeLocations from "./storeLocations";
32
+ import * as table from "./table";
33
+ import * as tabs from "./tabs";
34
+ import * as text from "./text";
35
35
  import * as uomSelector from "./uomSelector";
36
36
  import * as variantPicker from "./variantPicker";
37
- import * as bulkVariantPicker from "./bulkVariantPicker";
38
- import * as productImage from "./product-image";
39
- export { section, grid, common, image, button, slideShowLayouter, tabs, video, table, gallerySlider, social, faq, code, text, embed, buttonV2, scroll, countdown, imageHotspot, map, container, price, productActions, volumePricing, pickupLocations, storeLocations, productInventory, paymentMethods, productHighlights, shippingEstimator, productPromotions, amountEstimator, quantitySelector, stack, uomSelector, variantPicker, bulkVariantPicker, productImage, };
37
+ import * as video from "./video";
38
+ import * as volumePricing from "./volumePricing";
39
+ import * as lightbox from "./lightbox";
40
+ import * as cart from "./cart";
41
+ import * as profile from "./profile";
42
+ import * as repeater from "./repeater";
43
+ import * as repeaterItem from "./repeaterItem";
44
+ import * as menu from "./menu";
45
+ export { amountEstimator, bulkVariantPicker, button, code, common, container, countdown, embed, faq, gallerySlider, grid, image, imageHotspot, map, paymentMethods, pickupLocations, price, productActions, productHighlights, productImage, productInventory, productPromotions, quantitySelector, scroll, section, shippingEstimator, slideShowLayouter, social, stack, storeLocations, table, tabs, text, uomSelector, variantPicker, video, volumePricing, lightbox, cart, profile, repeater, repeaterItem, product, menu, };
@@ -0,0 +1,21 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ selectorKey: string;
5
+ openAutomaticallyOnPage: CMSIBCommonInterface;
6
+ selectPage: CMSIBCommonInterface;
7
+ closeIcon: CMSIBCommonInterface;
8
+ closeOnClickingBackground: CMSIBCommonInterface;
9
+ lightboxPosition: CMSIBCommonInterface;
10
+ horizontalOffset: CMSIBCommonInterface;
11
+ verticalOffset: CMSIBCommonInterface;
12
+ }
13
+ export interface selfDesignInterface {
14
+ selectorKey: string;
15
+ }
16
+ export declare enum lightboxSelectorKeysEnum {
17
+ LAYOUT = "layout",
18
+ DESIGN = "design"
19
+ }
20
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
21
+ export {};
@@ -0,0 +1,53 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ direction: CMSIBCommonInterface;
5
+ spacingBetweenManuListItems: CMSIBCommonInterface;
6
+ fillItemsToContainerWidth: CMSIBCommonInterface;
7
+ dividerBetweenItems: CMSIBCommonInterface;
8
+ listItemAlignment: CMSIBCommonInterface;
9
+ listItemContentAlignment: CMSIBCommonInterface;
10
+ maxItemsToDisplay: CMSIBCommonInterface;
11
+ overflowControl: CMSIBCommonInterface;
12
+ onClick: CMSIBCommonInterface;
13
+ }
14
+ export interface selfDesignInterface {
15
+ selectorKey: string;
16
+ menuContainer: {
17
+ selectorKey: string;
18
+ borderColor?: CMSIBCommonInterface;
19
+ backgroundColor?: CMSIBCommonInterface;
20
+ borderStyle?: CMSIBCommonInterface;
21
+ borderPerSlide?: CMSIBCommonInterface;
22
+ showBorder?: CMSIBCommonInterface;
23
+ showShadow?: CMSIBCommonInterface;
24
+ shadowColor?: CMSIBCommonInterface;
25
+ blur?: CMSIBCommonInterface;
26
+ spread?: CMSIBCommonInterface;
27
+ angle?: CMSIBCommonInterface;
28
+ borderRadius?: CMSIBCommonInterface;
29
+ };
30
+ menuItemStyle: {
31
+ selectorKey: string;
32
+ backgroundColor?: CMSIBCommonInterface;
33
+ borderColor?: CMSIBCommonInterface;
34
+ borderStyle?: CMSIBCommonInterface;
35
+ borderPerSlide?: CMSIBCommonInterface;
36
+ showBorder?: CMSIBCommonInterface;
37
+ showShadow?: CMSIBCommonInterface;
38
+ shadowColor?: CMSIBCommonInterface;
39
+ blur?: CMSIBCommonInterface;
40
+ spread?: CMSIBCommonInterface;
41
+ angle?: CMSIBCommonInterface;
42
+ borderRadius?: CMSIBCommonInterface;
43
+ [key: string]: any;
44
+ };
45
+ }
46
+ export declare enum SelectorKeysEnum {
47
+ LAYOUT = "layout",
48
+ DESIGN = "design",
49
+ MENU_CONTAINER = "menuContainer",
50
+ MENU_ITEM_STYLE = "menuItemStyle"
51
+ }
52
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
53
+ export {};
@@ -6,7 +6,7 @@ interface selfLayoutInterface {
6
6
  dividerBetweenItems: CMSIBCommonInterface;
7
7
  itemSpacing: CMSIBCommonInterface;
8
8
  itemPadding: CMSIBCommonInterface;
9
- ItemContentAlignment: CMSIBCommonInterface;
9
+ itemContentAlignment: CMSIBCommonInterface;
10
10
  overflowItems: CMSIBCommonInterface;
11
11
  maxItemsToDisplay: CMSIBCommonInterface;
12
12
  header: CMSIBCommonInterface;
@@ -24,6 +24,8 @@ interface selfLayoutInterface {
24
24
  paginationType: CMSIBCommonInterface;
25
25
  paginationAliginment: CMSIBCommonInterface;
26
26
  displayResults: CMSIBCommonInterface;
27
+ noOfItemsToLoad?: CMSIBCommonInterface;
28
+ paginationAlignment: CMSIBCommonInterface;
27
29
  }
28
30
  interface selfDesignInterface {
29
31
  selectorKey: string;
@@ -31,7 +33,8 @@ interface selfDesignInterface {
31
33
  export declare enum PaymentMethodSelectorKeysEnum {
32
34
  LAYOUT = "layout",
33
35
  CONTENT = "content",
34
- DESIGN = "design"
36
+ DESIGN = "design",
37
+ DATA_CONNECTOR = "dataConnector"
35
38
  }
36
39
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
37
40
  export {};
@@ -9,14 +9,78 @@ interface selfLayoutInterface {
9
9
  overflowItems: CMSIBCommonInterface;
10
10
  displayResults: CMSIBCommonInterface;
11
11
  noOfItemToShow: CMSIBCommonInterface;
12
+ searchPlaceholderText: CMSIBCommonInterface;
12
13
  }
13
14
  interface selfDesignInterface {
14
15
  selectorKey: string;
16
+ inputStyle: {
17
+ selectorKey: string;
18
+ [key: string]: any;
19
+ };
20
+ storeLocationsButton: {
21
+ selectorKey: string;
22
+ [key: string]: any;
23
+ };
24
+ inventoryTextStyle: {
25
+ selectorKey: string;
26
+ [key: string]: any;
27
+ };
28
+ itemStyle: {
29
+ selectorKey: string;
30
+ [key: string]: any;
31
+ };
32
+ locationName: {
33
+ selectorKey: string;
34
+ [key: string]: any;
35
+ };
36
+ locationAddress: {
37
+ selectorKey: string;
38
+ [key: string]: any;
39
+ };
40
+ locationTimings: {
41
+ selectorKey: string;
42
+ [key: string]: any;
43
+ };
44
+ locationInventory: {
45
+ selectorKey: string;
46
+ [key: string]: any;
47
+ };
48
+ arrows: {
49
+ selectorKey: string;
50
+ [key: string]: any;
51
+ };
52
+ paginationDots: {
53
+ selectorKey: string;
54
+ [key: string]: any;
55
+ };
56
+ paginationLine: {
57
+ selectorKey: string;
58
+ [key: string]: any;
59
+ };
60
+ showMoreItemsButton: {
61
+ selectorKey: string;
62
+ [key: string]: any;
63
+ };
15
64
  }
16
65
  export declare enum PickupLocationsSelectorKeysEnum {
17
66
  LAYOUT = "layout",
18
67
  CONTENT = "content",
19
- DESIGN = "design"
68
+ DESIGN = "design",
69
+ DATA_CONNECTOR = "dataConnector",
70
+ INPUT_STYLE = "inputStyle",
71
+ STORE_LOCATIONS_BUTTON = "storeLocationButton",
72
+ INVENTORY_TEXT_STYLE = "inventoryTextStyle",
73
+ ITEM_STYLE = "itemStyle",
74
+ LOCATION_NAME = "locationName",
75
+ LOCATION_ADDRESS = "locationAddress",
76
+ LOCATION_INVENTORY = "locationInventory",
77
+ LOCATION_TIMINGS = "locationTimings",
78
+ ARROWS = "arrows",
79
+ PAGINATION_DOTS = "paginationDots",
80
+ PAGINATION_LINE = "paginationLine",
81
+ SHOW_MORE_ITEMS_BUTTON = "showMoreItemsButtons",
82
+ HOVER_STATE = "hover",
83
+ DEFAULT_STATE = "default"
20
84
  }
21
85
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
22
86
  export {};
@@ -3,17 +3,26 @@ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSEl
3
3
  interface selfLayoutInterface {
4
4
  selectorKey: string;
5
5
  displayStyle: CMSIBCommonInterface;
6
+ scrollDirection: CMSIBCommonInterface;
7
+ noOfItemsToLoad: CMSIBCommonInterface;
8
+ scrollControl: CMSIBCommonInterface;
6
9
  itemsPerSlide: CMSIBSizeInterface;
10
+ itemsPerRow: CMSIBSizeInterface;
11
+ itemsPerColumn: CMSIBSizeInterface;
7
12
  itemGap: CMSIBSizeInterface;
8
13
  rowGap: CMSIBSizeInterface;
9
14
  sliderControl: CMSIBCommonInterface;
10
15
  controlPosition: CMSIBCommonInterface;
11
16
  loopImages: CMSIBCommonInterface;
17
+ setItemsPerRow: CMSIBCommonInterface;
12
18
  sliderDisplayScrollbar: CMSIBCommonInterface;
13
19
  autoplay: CMSIBCommonInterface;
14
20
  autoplayStyle: CMSIBCommonInterface;
15
21
  autoplayDuration: CMSIBSizeInterface;
16
22
  sliderSpeed: CMSIBSizeInterface;
23
+ thumbnailPlacement: CMSIBSizeInterface;
24
+ thumbnailSize: CMSIBSizeInterface;
25
+ thumbnailSpacing: CMSIBSizeInterface;
17
26
  }
18
27
  export interface selfDesignInterface {
19
28
  selectorKey: string;
@@ -99,6 +108,7 @@ export interface selfDesignInterface {
99
108
  export declare enum SelectorKeysEnum {
100
109
  LAYOUT = "layout",
101
110
  DESIGN = "design",
111
+ DATA_CONNECTOR = "dataConnector",
102
112
  GALLERY_WIDGET_STYLE = "gallery-widget-style",
103
113
  GALLERY_LAYOUT = "gallery-layout",
104
114
  ITEM_STYLE = "item-style",
@@ -0,0 +1,17 @@
1
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
2
+ export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
3
+ }
4
+ interface selfLayoutInterface {
5
+ selectorKey: string;
6
+ }
7
+ export interface selfDesignInterface {
8
+ selectorKey: string;
9
+ }
10
+ export declare enum SelectorKeysEnum {
11
+ LAYOUT = "layout",
12
+ DESIGN = "design",
13
+ CONTENT = "content",
14
+ DATA_CONNECTOR = "dataConnector"
15
+ }
16
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
17
+ export {};