@sc-360-v2/storefront-cms-library 0.1.96 → 0.1.97

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.
@@ -12,6 +12,8 @@ interface selfLayoutInterface {
12
12
  controlPosition: CMSIBCommonInterface;
13
13
  loopImages: CMSIBCommonInterface;
14
14
  autoplay: CMSIBCommonInterface;
15
+ sliderDisplayScrollBar: CMSIBCommonInterface;
16
+ header: CMSIBCommonInterface;
15
17
  headerDivider: CMSIBCommonInterface;
16
18
  rowDivider: CMSIBCommonInterface;
17
19
  columnDivider: CMSIBCommonInterface;
@@ -30,26 +32,176 @@ interface selfLayoutInterface {
30
32
  groupDisplayStyle: CMSIBCommonInterface;
31
33
  headerHeight: CMSIBCommonInterface;
32
34
  rowHeight: CMSIBCommonInterface;
35
+ optionTitleValueSpacing: CMSIBCommonInterface;
36
+ dividerBetweenItems: CMSIBCommonInterface;
37
+ optionsDisplayStyle: {
38
+ selectorKey: string;
39
+ displayValues: CMSIBCommonInterface;
40
+ itemPadding: CMSIBCommonInterface;
41
+ itemSpacing: CMSIBCommonInterface;
42
+ maxItemsToDisplay: CMSIBCommonInterface;
43
+ overflowItems: CMSIBCommonInterface;
44
+ swatchImageType: CMSIBCommonInterface;
45
+ };
46
+ groupedOptionsDisplayStyle: {
47
+ selectorKey: string;
48
+ groupsDisplayStyle: CMSIBCommonInterface;
49
+ groupSpacing: CMSIBCommonInterface;
50
+ groupPadding: CMSIBCommonInterface;
51
+ groupHeaderAndOptionSpacing: CMSIBCommonInterface;
52
+ tabDirection: CMSIBCommonInterface;
53
+ tabLayout: CMSIBCommonInterface;
54
+ tabAlignment: CMSIBCommonInterface;
55
+ tabSpacing: CMSIBCommonInterface;
56
+ tabAndContainerSpacing: CMSIBCommonInterface;
57
+ tabHorizontalPadding: CMSIBCommonInterface;
58
+ tabVerticalPadding: CMSIBCommonInterface;
59
+ containerPadding: CMSIBCommonInterface;
60
+ overflowItems: CMSIBCommonInterface;
61
+ tabRowSpacing: CMSIBCommonInterface;
62
+ expandIconPosition: CMSIBCommonInterface;
63
+ expandFirstItemByDefault: CMSIBCommonInterface;
64
+ allowMultipleOpenItems: CMSIBCommonInterface;
65
+ itemDividers: CMSIBCommonInterface;
66
+ accordionSpacing: CMSIBCommonInterface;
67
+ accordionAndContainerSpacing: CMSIBCommonInterface;
68
+ accordionHorizontalPadding: CMSIBCommonInterface;
69
+ accordionVerticalPadding: CMSIBCommonInterface;
70
+ groupAndContainerSpacing: CMSIBCommonInterface;
71
+ groupHorizontalPadding: CMSIBCommonInterface;
72
+ groupVerticalPadding: CMSIBCommonInterface;
73
+ canCollapseGroups: CMSIBCommonInterface;
74
+ collapseIconPosition: CMSIBCommonInterface;
75
+ };
33
76
  }
34
- export interface selfDesignInterface {
77
+ interface selfDesignInterface {
35
78
  selectorKey: string;
36
- productPrice: object;
37
- uomStyle: object;
38
- currencyCodeStyle: object;
39
- actualPrice: object;
40
- discountPercentage: object;
41
- discountValue: object;
42
- savingsPercentage: object;
43
- savingsValue: object;
44
- emblishmentPrice: object;
45
- productTax: object;
46
- productShippingPrice: object;
79
+ itemStyle: {
80
+ selectorKey: string;
81
+ [key: string]: any;
82
+ };
83
+ uomTitleStyle: {
84
+ selectorKey: string;
85
+ [key: string]: any;
86
+ };
87
+ uomConversionStyle: {
88
+ selectorKey: string;
89
+ [key: string]: any;
90
+ };
91
+ productPrice: {
92
+ selectorKey: string;
93
+ [key: string]: any;
94
+ };
95
+ uomStyle: {
96
+ selectorKey: string;
97
+ [key: string]: any;
98
+ };
99
+ currencyCodeStyle: {
100
+ selectorKey: string;
101
+ [key: string]: any;
102
+ };
103
+ actualPrice: {
104
+ selectorKey: string;
105
+ [key: string]: any;
106
+ };
107
+ discount: {
108
+ selectorKey: string;
109
+ [key: string]: any;
110
+ };
111
+ discountValue: {
112
+ selectorKey: string;
113
+ [key: string]: any;
114
+ };
115
+ savings: {
116
+ selectorKey: string;
117
+ [key: string]: any;
118
+ };
119
+ savingsValue: {
120
+ selectorKey: string;
121
+ [key: string]: any;
122
+ };
123
+ pricePerUnit: {
124
+ selectorKey: string;
125
+ [key: string]: any;
126
+ };
127
+ arrows: {
128
+ selectorKey: string;
129
+ [key: string]: any;
130
+ };
131
+ paginationDots: {
132
+ selectorKey: string;
133
+ [key: string]: any;
134
+ };
135
+ paginationLine: {
136
+ selectorKey: string;
137
+ [key: string]: any;
138
+ };
139
+ table: {
140
+ selectorKey: string;
141
+ [key: string]: any;
142
+ };
143
+ tableHeader: {
144
+ selectorKey: string;
145
+ [key: string]: any;
146
+ };
147
+ headerText: {
148
+ selectorKey: string;
149
+ [key: string]: any;
150
+ };
151
+ tableRow: {
152
+ selectorKey: string;
153
+ [key: string]: any;
154
+ };
155
+ scroll: {
156
+ selectorKey: string;
157
+ [key: string]: any;
158
+ };
159
+ rowDividers: {
160
+ selectorKey: string;
161
+ [key: string]: any;
162
+ };
163
+ pagination: {
164
+ selectorKey: string;
165
+ [key: string]: any;
166
+ };
167
+ showMoreItemsButton: {
168
+ selectorKey: string;
169
+ [key: string]: any;
170
+ };
47
171
  }
48
- export declare enum textSelectorKeysEnum {
172
+ export declare enum VolumePricingSelectorKeysEnum {
49
173
  LAYOUT = "layout",
50
174
  CONTENT = "content",
51
175
  DESIGN = "design",
52
- DATA_CONNECTOR = "dataConnector"
176
+ DATA_CONNECTOR = "dataConnector",
177
+ GROUPED_OPTION_DISPLAY_STYLE = "groupedOptionsDisplayStyle",
178
+ OPTION_DISPLAY_STYLE = "optionsDisplayStyle",
179
+ ITEM_STYLE = "itemStyle",
180
+ UOM_TITLE_STYLE = "uomTitleStyle",
181
+ UOM_CONVERSION_STYLE = "uomConversionStyle",
182
+ PRODUCT_PRICE = "productPrice",
183
+ UOM_STYLE = "uomStyle",
184
+ CURRENCY_CODE_STYLE = "currencyCodeStyle",
185
+ ACTUAL_PRICE = "actualPrice",
186
+ DISCOUNT = "discount",
187
+ DISCOUNT_VALUE = "discountValue",
188
+ SAVINGS = "savings",
189
+ SAVINGS_VALUE = "savingsValue",
190
+ PRICE_PER_UNIT = "pricePerUnit",
191
+ ARROWS = "arrows",
192
+ PAGINATION_DOTS = "paginationDots",
193
+ PAGINATION_LINE = "paginationLine",
194
+ TABLE = "table",
195
+ TABLE_HEADER = "tableHeader",
196
+ HEADER_TEXT = "headerText",
197
+ TABLE_ROW = "tableRow",
198
+ SCROLL = "scroll",
199
+ ROW_DIVIDERS = "rowDividers",
200
+ PAGINATION = "pagination",
201
+ SHOW_MORE_ITEMS_BUTTON = "showMoreItemsButton",
202
+ HOVER_STATE = "hover",
203
+ DEFAULT_STATE = "default",
204
+ SELECTED_STATE = "selectedState"
53
205
  }
54
206
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
55
207
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.1.96",
3
+ "version": "0.1.97",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {