@sc-360-v2/storefront-cms-library 0.3.26 → 0.3.27

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.
@@ -1,4 +1,4 @@
1
- import { CMSElementEditTypes } from "../../enums";
1
+ import { CMSCSSUnitTypesEnums, CMSElementEditTypes } from "../../enums";
2
2
  import { CMSElementEditPopupInterface } from "./common";
3
3
  export interface OrderEditPopupInterface extends CMSElementEditPopupInterface {
4
4
  }
@@ -9,6 +9,7 @@ export declare enum orderSelectorKeysEnum {
9
9
  LAYOUT = "layout",
10
10
  DESIGN = "design",
11
11
  CONTENT = "content",
12
+ DESIGN_ORDER_WIDGET = "orderWidget",
12
13
  DESIGN_HEADER_STYLES = "designHeader",
13
14
  DESIGN_TOAST_STYLES = "designToast",
14
15
  DESIGN_DETAILS_STYLES = "designDetails",
@@ -22,6 +23,14 @@ export declare const getDefaultData: () => {
22
23
  value: string;
23
24
  unit: number;
24
25
  };
26
+ minHeight: {
27
+ value: number;
28
+ unit: CMSCSSUnitTypesEnums;
29
+ property?: any;
30
+ propertyType?: any;
31
+ isReadOnly?: boolean | undefined;
32
+ parentRef?: string | undefined;
33
+ };
25
34
  height: {
26
35
  value: string;
27
36
  unit: number;
@@ -56,6 +65,14 @@ export declare const getDefaultData: () => {
56
65
  value: boolean;
57
66
  propertyType: CMSElementEditTypes;
58
67
  };
68
+ statusTitle: {
69
+ value: string;
70
+ propertyType: CMSElementEditTypes;
71
+ };
72
+ statusDescription: {
73
+ value: string;
74
+ propertyType: CMSElementEditTypes;
75
+ };
59
76
  orderAttributes: {
60
77
  value: boolean;
61
78
  propertyType: CMSElementEditTypes;
@@ -63,144 +80,61 @@ export declare const getDefaultData: () => {
63
80
  };
64
81
  design: {
65
82
  selectorKey: orderSelectorKeysEnum;
66
- designHeader: {
67
- selectorKey: orderSelectorKeysEnum;
83
+ orderWidget: {
68
84
  padding: import("../../interfaces/global").CSSPaddingValues | undefined;
69
- margin: {
70
- isAll: boolean;
71
- sides: {
72
- top: {
73
- value: number;
74
- unit: number;
75
- };
76
- right: {
77
- value: number;
78
- unit: number;
79
- };
80
- bottom: {
81
- value: number;
82
- unit: number;
83
- };
84
- left: {
85
- value: number;
86
- unit: number;
87
- };
88
- };
89
- property: string;
90
- propertyType: CMSElementEditTypes;
91
- };
92
- shadowColor: import("../../interfaces/global").CMSIBCommonInterface;
93
- angle: import("../../interfaces/global").CMSIBSizeInterface;
94
- spread: import("../../interfaces/global").CMSIBSizeInterface;
95
- blur: import("../../interfaces/global").CMSIBSizeInterface;
96
- showBorder: import("../../interfaces/global").CMSIBCommonInterface;
85
+ margin: import("../../interfaces/global").CSSPaddingValues | undefined;
97
86
  borderColor: import("../../interfaces/global").CMSIBCommonInterface;
98
87
  borderStyle: import("../../interfaces/global").CMSIBCommonInterface;
99
88
  borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
100
- borderRadius: import("../../interfaces/global").CSSPaddingValues;
89
+ showBorder: import("../../interfaces/global").CMSIBCommonInterface;
101
90
  backgroundColor: import("../../interfaces/global").CMSIBCommonInterface;
102
- font: import("../../interfaces/global").CMSIBCommonInterface;
103
- fontSize: import("../../interfaces/global").CMSIBSizeInterface;
104
- textColor: import("../../interfaces/global").CMSIBCommonInterface;
105
- bold: import("../../interfaces/global").CMSIBCommonInterface;
106
- italic: import("../../interfaces/global").CMSIBCommonInterface;
107
- linethrough: import("../../interfaces/global").CMSIBCommonInterface;
108
- underline: import("../../interfaces/global").CMSIBCommonInterface;
109
- textAlign: import("../../interfaces/global").CMSIBCommonInterface;
110
- characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
111
- lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
112
- };
113
- designToast: {
114
- selectorKey: orderSelectorKeysEnum;
115
- padding: {
116
- isAll: boolean;
117
- sides: {
118
- top: {
119
- value: number;
120
- unit: number;
121
- };
122
- right: {
123
- value: number;
124
- unit: number;
125
- };
126
- bottom: {
127
- value: number;
128
- unit: number;
129
- };
130
- left: {
131
- value: number;
132
- unit: number;
133
- };
134
- };
135
- property: string;
136
- propertyType: CMSElementEditTypes;
137
- };
138
- margin: {
139
- isAll: boolean;
140
- sides: {
141
- top: {
142
- value: number;
143
- unit: number;
144
- };
145
- right: {
146
- value: number;
147
- unit: number;
148
- };
149
- bottom: {
150
- value: number;
151
- unit: number;
152
- };
153
- left: {
154
- value: number;
155
- unit: number;
156
- };
157
- };
158
- property: string;
159
- propertyType: CMSElementEditTypes;
160
- };
91
+ showShadow: import("../../interfaces/global").CMSIBCommonInterface;
161
92
  shadowColor: import("../../interfaces/global").CMSIBCommonInterface;
162
- angle: import("../../interfaces/global").CMSIBSizeInterface;
163
- spread: import("../../interfaces/global").CMSIBSizeInterface;
164
93
  blur: import("../../interfaces/global").CMSIBSizeInterface;
165
- showBorder: import("../../interfaces/global").CMSIBCommonInterface;
94
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
95
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
96
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
97
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
98
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
99
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
100
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
101
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
102
+ selectorKey: orderSelectorKeysEnum;
103
+ };
104
+ designHeader: {
105
+ padding: import("../../interfaces/global").CSSPaddingValues | undefined;
106
+ margin: import("../../interfaces/global").CSSPaddingValues | undefined;
166
107
  borderColor: import("../../interfaces/global").CMSIBCommonInterface;
167
108
  borderStyle: import("../../interfaces/global").CMSIBCommonInterface;
168
109
  borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
169
- borderRadius: {
170
- isAll: boolean;
171
- sides: {
172
- topLeft: {
173
- value: number;
174
- unit: number;
175
- };
176
- topRight: {
177
- value: number;
178
- unit: number;
179
- };
180
- bottomLeft: {
181
- value: number;
182
- unit: number;
183
- };
184
- bottomRight: {
185
- value: number;
186
- unit: number;
187
- };
188
- };
189
- };
190
- backgroundColor: {
191
- value: {
192
- hex: string;
193
- rgb: {
194
- r: string;
195
- g: string;
196
- b: string;
197
- a: number;
198
- };
199
- };
200
- property: string;
201
- propertyType: CMSElementEditTypes;
202
- parentRef: string;
203
- };
110
+ showBorder: import("../../interfaces/global").CMSIBCommonInterface;
111
+ backgroundColor: import("../../interfaces/global").CMSIBCommonInterface;
112
+ showShadow: import("../../interfaces/global").CMSIBCommonInterface;
113
+ shadowColor: import("../../interfaces/global").CMSIBCommonInterface;
114
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
115
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
116
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
117
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
118
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
119
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
120
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
121
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
122
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
123
+ selectorKey: orderSelectorKeysEnum;
124
+ };
125
+ designToast: {
126
+ themeDesc: import("../../interfaces/global").CMSIBCommonInterface;
127
+ fontDesc: import("../../interfaces/global").CMSIBCommonInterface;
128
+ fontSizeDesc: import("../../interfaces/global").CMSIBSizeInterface;
129
+ textColorDesc: import("../../interfaces/global").CMSIBCommonInterface;
130
+ boldDesc: import("../../interfaces/global").CMSIBCommonInterface;
131
+ italicDesc: import("../../interfaces/global").CMSIBCommonInterface;
132
+ linethroughDesc: import("../../interfaces/global").CMSIBCommonInterface;
133
+ underlineDesc: import("../../interfaces/global").CMSIBCommonInterface;
134
+ textAlignDesc: import("../../interfaces/global").CMSIBCommonInterface;
135
+ characterSpacingDesc: import("../../interfaces/global").CMSIBSizeInterface | undefined;
136
+ lineHeightDesc: import("../../interfaces/global").CMSIBSizeInterface;
137
+ theme: import("../../interfaces/global").CMSIBCommonInterface;
204
138
  font: import("../../interfaces/global").CMSIBCommonInterface;
205
139
  fontSize: import("../../interfaces/global").CMSIBSizeInterface;
206
140
  textColor: import("../../interfaces/global").CMSIBCommonInterface;
@@ -211,142 +145,91 @@ export declare const getDefaultData: () => {
211
145
  textAlign: import("../../interfaces/global").CMSIBCommonInterface;
212
146
  characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
213
147
  lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
214
- };
215
- designDetails: {
216
- selectorKey: orderSelectorKeysEnum;
148
+ backgroundColor: import("../../interfaces/global").CMSIBCommonInterface;
149
+ icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
150
+ showIcon: import("../../interfaces/global").CMSIBCommonInterface | undefined;
151
+ iconSize: import("../../interfaces/global").CMSIBSizeInterface;
152
+ iconColor: import("../../interfaces/global").CMSIBCommonInterface;
217
153
  padding: import("../../interfaces/global").CSSPaddingValues | undefined;
218
154
  margin: import("../../interfaces/global").CSSPaddingValues | undefined;
155
+ borderColor: import("../../interfaces/global").CMSIBCommonInterface;
156
+ borderStyle: import("../../interfaces/global").CMSIBCommonInterface;
157
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
158
+ showBorder: import("../../interfaces/global").CMSIBCommonInterface;
159
+ showShadow: import("../../interfaces/global").CMSIBCommonInterface;
219
160
  shadowColor: import("../../interfaces/global").CMSIBCommonInterface;
220
- angle: import("../../interfaces/global").CMSIBSizeInterface;
221
- spread: import("../../interfaces/global").CMSIBSizeInterface;
222
161
  blur: import("../../interfaces/global").CMSIBSizeInterface;
223
- showBorder: import("../../interfaces/global").CMSIBCommonInterface;
162
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
163
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
164
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
165
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
166
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
167
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
168
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
169
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
170
+ selectorKey: orderSelectorKeysEnum;
171
+ };
172
+ designDetails: {
173
+ padding: import("../../interfaces/global").CSSPaddingValues | undefined;
174
+ margin: import("../../interfaces/global").CSSPaddingValues | undefined;
224
175
  borderColor: import("../../interfaces/global").CMSIBCommonInterface;
225
176
  borderStyle: import("../../interfaces/global").CMSIBCommonInterface;
226
177
  borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
178
+ showBorder: import("../../interfaces/global").CMSIBCommonInterface;
179
+ backgroundColor: import("../../interfaces/global").CMSIBCommonInterface;
180
+ showShadow: import("../../interfaces/global").CMSIBCommonInterface;
181
+ shadowColor: import("../../interfaces/global").CMSIBCommonInterface;
182
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
183
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
184
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
227
185
  borderRadius: import("../../interfaces/global").CSSPaddingValues;
228
- backgroundColor: {
229
- value: {
230
- hex: string;
231
- rgb: {
232
- r: string;
233
- g: string;
234
- b: string;
235
- a: number;
236
- };
237
- };
238
- property: string;
239
- propertyType: CMSElementEditTypes;
240
- parentRef: string;
241
- };
242
- font: import("../../interfaces/global").CMSIBCommonInterface;
243
- fontSize: import("../../interfaces/global").CMSIBSizeInterface;
244
- textColor: import("../../interfaces/global").CMSIBCommonInterface;
245
- bold: import("../../interfaces/global").CMSIBCommonInterface;
246
- italic: import("../../interfaces/global").CMSIBCommonInterface;
247
- linethrough: import("../../interfaces/global").CMSIBCommonInterface;
248
- underline: import("../../interfaces/global").CMSIBCommonInterface;
249
- textAlign: import("../../interfaces/global").CMSIBCommonInterface;
250
- characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
251
- lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
186
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
187
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
188
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
189
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
190
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
252
191
  };
253
192
  designQuickActions: {
254
- selectorKey: orderSelectorKeysEnum;
255
193
  padding: import("../../interfaces/global").CSSPaddingValues | undefined;
256
- margin: {
257
- isAll: boolean;
258
- sides: {
259
- top: {
260
- value: number;
261
- unit: number;
262
- };
263
- right: {
264
- value: number;
265
- unit: number;
266
- };
267
- bottom: {
268
- value: number;
269
- unit: number;
270
- };
271
- left: {
272
- value: number;
273
- unit: number;
274
- };
275
- };
276
- property: string;
277
- propertyType: CMSElementEditTypes;
278
- };
279
- shadowColor: import("../../interfaces/global").CMSIBCommonInterface;
280
- angle: import("../../interfaces/global").CMSIBSizeInterface;
281
- spread: import("../../interfaces/global").CMSIBSizeInterface;
282
- blur: import("../../interfaces/global").CMSIBSizeInterface;
283
- showBorder: import("../../interfaces/global").CMSIBCommonInterface;
194
+ margin: import("../../interfaces/global").CSSPaddingValues | undefined;
284
195
  borderColor: import("../../interfaces/global").CMSIBCommonInterface;
285
196
  borderStyle: import("../../interfaces/global").CMSIBCommonInterface;
286
197
  borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
198
+ showBorder: import("../../interfaces/global").CMSIBCommonInterface;
199
+ backgroundColor: import("../../interfaces/global").CMSIBCommonInterface;
200
+ showShadow: import("../../interfaces/global").CMSIBCommonInterface;
201
+ shadowColor: import("../../interfaces/global").CMSIBCommonInterface;
202
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
203
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
204
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
287
205
  borderRadius: import("../../interfaces/global").CSSPaddingValues;
288
- backgroundColor: {
289
- value: {
290
- hex: string;
291
- rgb: {
292
- r: string;
293
- g: string;
294
- b: string;
295
- a: number;
296
- };
297
- };
298
- property: string;
299
- propertyType: CMSElementEditTypes;
300
- parentRef: string;
301
- };
302
- font: import("../../interfaces/global").CMSIBCommonInterface;
303
- fontSize: import("../../interfaces/global").CMSIBSizeInterface;
304
- textColor: import("../../interfaces/global").CMSIBCommonInterface;
305
- bold: import("../../interfaces/global").CMSIBCommonInterface;
306
- italic: import("../../interfaces/global").CMSIBCommonInterface;
307
- linethrough: import("../../interfaces/global").CMSIBCommonInterface;
308
- underline: import("../../interfaces/global").CMSIBCommonInterface;
309
- textAlign: import("../../interfaces/global").CMSIBCommonInterface;
310
- characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
311
- lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
206
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
207
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
208
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
209
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
210
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
211
+ selectorKey: orderSelectorKeysEnum;
312
212
  };
313
213
  designCartItems: {
314
- selectorKey: orderSelectorKeysEnum;
315
214
  padding: import("../../interfaces/global").CSSPaddingValues | undefined;
316
215
  margin: import("../../interfaces/global").CSSPaddingValues | undefined;
317
- shadowColor: import("../../interfaces/global").CMSIBCommonInterface;
318
- angle: import("../../interfaces/global").CMSIBSizeInterface;
319
- spread: import("../../interfaces/global").CMSIBSizeInterface;
320
- blur: import("../../interfaces/global").CMSIBSizeInterface;
321
- showBorder: import("../../interfaces/global").CMSIBCommonInterface;
322
216
  borderColor: import("../../interfaces/global").CMSIBCommonInterface;
323
217
  borderStyle: import("../../interfaces/global").CMSIBCommonInterface;
324
218
  borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
219
+ showBorder: import("../../interfaces/global").CMSIBCommonInterface;
220
+ backgroundColor: import("../../interfaces/global").CMSIBCommonInterface;
221
+ showShadow: import("../../interfaces/global").CMSIBCommonInterface;
222
+ shadowColor: import("../../interfaces/global").CMSIBCommonInterface;
223
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
224
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
225
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
325
226
  borderRadius: import("../../interfaces/global").CSSPaddingValues;
326
- backgroundColor: {
327
- value: {
328
- hex: string;
329
- rgb: {
330
- r: string;
331
- g: string;
332
- b: string;
333
- a: number;
334
- };
335
- };
336
- property: string;
337
- propertyType: CMSElementEditTypes;
338
- parentRef: string;
339
- };
340
- font: import("../../interfaces/global").CMSIBCommonInterface;
341
- fontSize: import("../../interfaces/global").CMSIBSizeInterface;
342
- textColor: import("../../interfaces/global").CMSIBCommonInterface;
343
- bold: import("../../interfaces/global").CMSIBCommonInterface;
344
- italic: import("../../interfaces/global").CMSIBCommonInterface;
345
- linethrough: import("../../interfaces/global").CMSIBCommonInterface;
346
- underline: import("../../interfaces/global").CMSIBCommonInterface;
347
- textAlign: import("../../interfaces/global").CMSIBCommonInterface;
348
- characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
349
- lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
227
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
228
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
229
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
230
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
231
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
232
+ selectorKey: orderSelectorKeysEnum;
350
233
  };
351
234
  };
352
235
  };
package/dist/widget.scss CHANGED
@@ -116,4 +116,3 @@
116
116
  @use "./submit-quote.scss";
117
117
  @use "./cartAttributes.scss";
118
118
  @use "./language-selector.scss";
119
- @use "./myTemplates.scss";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.3.26",
3
+ "version": "0.3.27",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {