@sc-360-v2/storefront-cms-library 0.3.26 → 0.3.28
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.
- package/dist/builder.js +1 -1
- package/dist/cart-details.scss +197 -199
- package/dist/cart-summary.scss +179 -114
- package/dist/cartAttributes.scss +100 -23
- package/dist/form-preview.scss +8 -0
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/modal.scss +100 -35
- package/dist/order-status.scss +8 -4
- package/dist/quick-order-pad.scss +63 -2
- package/dist/section.scss +6 -0
- package/dist/types/builder/elements/form-builder/index.d.ts +151 -46
- package/dist/types/builder/enums/index.d.ts +8 -3
- package/dist/types/builder/tools/element-edit/cartAttributes.d.ts +175 -7
- package/dist/types/builder/tools/element-edit/cartDetails.d.ts +5 -0
- package/dist/types/builder/tools/element-edit/cartSummary.d.ts +18 -0
- package/dist/types/builder/tools/element-edit/orderStatus.d.ts +125 -242
- package/dist/widget.scss +0 -1
- package/package.json +1 -1
package/dist/modal.scss
CHANGED
|
@@ -4,7 +4,7 @@ $modal_background_color: white;
|
|
|
4
4
|
$backdrop_color: rgba(0, 0, 0, 0.2);
|
|
5
5
|
$box_shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
6
6
|
$modal_width: 618px;
|
|
7
|
-
$modal_padding:
|
|
7
|
+
$modal_padding: 24px;
|
|
8
8
|
$border_radius: 10px;
|
|
9
9
|
$header_font_size: 18px;
|
|
10
10
|
$header_font_weight: 600;
|
|
@@ -16,7 +16,7 @@ $footer_btn_font_size: 14px;
|
|
|
16
16
|
$primary_100: var(--Primary-100, #ced4f6);
|
|
17
17
|
$primary_500: var(--Primary-500, #162578);
|
|
18
18
|
$gray_900: var(--Gray-900, #101828);
|
|
19
|
-
$gap_between_elements:
|
|
19
|
+
$gap_between_elements: 24px;
|
|
20
20
|
$padding_horizontal: 24px;
|
|
21
21
|
$box_shadow_active: 0px 1px 2px rgba(16, 24, 40, 0.05);
|
|
22
22
|
$divider_color: #eaecf0;
|
|
@@ -53,7 +53,7 @@ $active_btn_text_color: #fff;
|
|
|
53
53
|
left: 50%;
|
|
54
54
|
transform: translate(-50%, -50%);
|
|
55
55
|
background-color: $modal_background_color;
|
|
56
|
-
width: var(--_sf-ml-wh,
|
|
56
|
+
width: var(--_sf-ml-wh, 450px);
|
|
57
57
|
max-width: min(75%, 850px);
|
|
58
58
|
padding: $modal_padding;
|
|
59
59
|
box-shadow: $box_shadow;
|
|
@@ -62,16 +62,12 @@ $active_btn_text_color: #fff;
|
|
|
62
62
|
flex-direction: column;
|
|
63
63
|
gap: $gap_between_elements;
|
|
64
64
|
z-index: calc(var(--_higher-zIndex) + var(--_cs-et-zIndex) + 10);
|
|
65
|
-
max-height: calc(100vh - 40px);
|
|
66
|
-
min-height: 250px;
|
|
67
|
-
overflow-y: auto;
|
|
68
65
|
cursor: auto;
|
|
69
66
|
|
|
70
67
|
&.media__modal {
|
|
71
68
|
width: 60%;
|
|
72
69
|
|
|
73
70
|
.modal-body {
|
|
74
|
-
padding: 0 16px;
|
|
75
71
|
overflow: hidden;
|
|
76
72
|
}
|
|
77
73
|
|
|
@@ -83,8 +79,10 @@ $active_btn_text_color: #fff;
|
|
|
83
79
|
}
|
|
84
80
|
|
|
85
81
|
.modal-header {
|
|
86
|
-
padding: 0 $padding_horizontal;
|
|
87
82
|
position: relative;
|
|
83
|
+
display: flex;
|
|
84
|
+
align-items: center;
|
|
85
|
+
justify-content: space-between;
|
|
88
86
|
|
|
89
87
|
h2 {
|
|
90
88
|
font-size: $header_font_size;
|
|
@@ -100,9 +98,6 @@ $active_btn_text_color: #fff;
|
|
|
100
98
|
}
|
|
101
99
|
|
|
102
100
|
.modal-close-btn {
|
|
103
|
-
position: absolute;
|
|
104
|
-
right: $padding_horizontal;
|
|
105
|
-
top: 10px;
|
|
106
101
|
width: $close_btn_size;
|
|
107
102
|
height: $close_btn_size;
|
|
108
103
|
font-size: $close_btn_font_size;
|
|
@@ -121,19 +116,43 @@ $active_btn_text_color: #fff;
|
|
|
121
116
|
}
|
|
122
117
|
|
|
123
118
|
.modal-body {
|
|
124
|
-
padding: $modal_padding_body;
|
|
125
119
|
font-size: 14px;
|
|
126
120
|
color: $gray_900;
|
|
127
121
|
}
|
|
128
122
|
|
|
129
123
|
.modal-footer {
|
|
130
124
|
@include flexbox(flex-end, center, 10px);
|
|
131
|
-
padding: 10px $padding_horizontal;
|
|
132
|
-
border-top: 1px solid $divider_color;
|
|
133
125
|
flex-wrap: wrap;
|
|
134
126
|
bottom: 0;
|
|
135
|
-
position: absolute;
|
|
136
127
|
width: 100%;
|
|
128
|
+
|
|
129
|
+
.modal-footer-wrapper {
|
|
130
|
+
display: flex;
|
|
131
|
+
width: 100%;
|
|
132
|
+
gap: 8px;
|
|
133
|
+
|
|
134
|
+
.modal-footer-white-btn {
|
|
135
|
+
padding: 12px 24px;
|
|
136
|
+
border-radius: 4px;
|
|
137
|
+
background-color: #fff;
|
|
138
|
+
color: #243dc6;
|
|
139
|
+
font-weight: 600;
|
|
140
|
+
width: 100%;
|
|
141
|
+
display: flex;
|
|
142
|
+
justify-content: center;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.modal-footer-danger-btn {
|
|
146
|
+
padding: 12px 24px;
|
|
147
|
+
border-radius: 4px;
|
|
148
|
+
background-color: #d92d20;
|
|
149
|
+
color: #fff;
|
|
150
|
+
font-weight: 600;
|
|
151
|
+
width: 100%;
|
|
152
|
+
display: flex;
|
|
153
|
+
justify-content: center;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
137
156
|
}
|
|
138
157
|
|
|
139
158
|
@keyframes fadeIn {
|
|
@@ -191,7 +210,6 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
191
210
|
|
|
192
211
|
.modalV2-main {
|
|
193
212
|
.modalV2-wrapper {
|
|
194
|
-
min-height: 50%;
|
|
195
213
|
overflow: hidden !important;
|
|
196
214
|
position: fixed;
|
|
197
215
|
left: 50%;
|
|
@@ -201,7 +219,8 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
201
219
|
background: $white;
|
|
202
220
|
border-radius: $radius-lg;
|
|
203
221
|
// padding: 0px 20px;
|
|
204
|
-
width:
|
|
222
|
+
width: 75%;
|
|
223
|
+
max-width: calc(1280px - 10%);
|
|
205
224
|
font-family: $font-base;
|
|
206
225
|
box-shadow: $shadow-md;
|
|
207
226
|
z-index: $z-index-wrapper;
|
|
@@ -210,7 +229,20 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
210
229
|
display: flex;
|
|
211
230
|
flex-direction: column;
|
|
212
231
|
.modal-body {
|
|
213
|
-
height:
|
|
232
|
+
height: auto;
|
|
233
|
+
display: flex;
|
|
234
|
+
width: 100%;
|
|
235
|
+
flex: 1 1 auto;
|
|
236
|
+
overflow-y: auto;
|
|
237
|
+
|
|
238
|
+
.wishlist-modal {
|
|
239
|
+
display: flex;
|
|
240
|
+
flex-direction: column;
|
|
241
|
+
gap: 16px;
|
|
242
|
+
padding: 10px 16px;
|
|
243
|
+
width: 100%;
|
|
244
|
+
overflow: scroll;
|
|
245
|
+
}
|
|
214
246
|
}
|
|
215
247
|
&.fullscreen {
|
|
216
248
|
transition:
|
|
@@ -236,8 +268,10 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
236
268
|
|
|
237
269
|
.footer-bar {
|
|
238
270
|
border-top: 1px solid $gray-300;
|
|
239
|
-
|
|
240
|
-
|
|
271
|
+
margin: 0px;
|
|
272
|
+
padding: 10px 16px;
|
|
273
|
+
display: flex;
|
|
274
|
+
align-items: center;
|
|
241
275
|
}
|
|
242
276
|
}
|
|
243
277
|
|
|
@@ -277,7 +311,22 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
277
311
|
font-weight: 600;
|
|
278
312
|
display: flex;
|
|
279
313
|
align-items: center;
|
|
280
|
-
gap:
|
|
314
|
+
gap: 6px;
|
|
315
|
+
color: var(--_gray-900);
|
|
316
|
+
line-height: 24px;
|
|
317
|
+
|
|
318
|
+
.modal_heading_icon {
|
|
319
|
+
width: 36px;
|
|
320
|
+
height: 36px;
|
|
321
|
+
display: flex;
|
|
322
|
+
align-items: center;
|
|
323
|
+
justify-content: center;
|
|
324
|
+
|
|
325
|
+
svg {
|
|
326
|
+
width: 20px;
|
|
327
|
+
height: 20px;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
281
330
|
|
|
282
331
|
.count {
|
|
283
332
|
font-weight: 700;
|
|
@@ -293,15 +342,23 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
293
342
|
}
|
|
294
343
|
}
|
|
295
344
|
|
|
296
|
-
.actions
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
345
|
+
.actions {
|
|
346
|
+
display: flex;
|
|
347
|
+
gap: 12px;
|
|
348
|
+
span {
|
|
349
|
+
width: 36px;
|
|
350
|
+
height: 36px;
|
|
351
|
+
cursor: pointer;
|
|
352
|
+
font-size: 16px;
|
|
353
|
+
color: $text-light;
|
|
354
|
+
transition: color 0.2s;
|
|
355
|
+
display: flex;
|
|
356
|
+
align-items: center;
|
|
357
|
+
justify-content: center;
|
|
302
358
|
|
|
303
|
-
|
|
304
|
-
|
|
359
|
+
&:hover {
|
|
360
|
+
color: $black;
|
|
361
|
+
}
|
|
305
362
|
}
|
|
306
363
|
}
|
|
307
364
|
}
|
|
@@ -353,16 +410,24 @@ $shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
|
|
|
353
410
|
bottom: 0;
|
|
354
411
|
display: flex;
|
|
355
412
|
justify-content: space-between;
|
|
356
|
-
padding:
|
|
413
|
+
padding: 10px 16px;
|
|
357
414
|
border-top: 1px solid $gray-300;
|
|
358
|
-
margin-top: 24px;
|
|
359
415
|
font-size: $font-size-base;
|
|
360
416
|
background: $footer_btn_background_color;
|
|
361
417
|
|
|
362
|
-
.summary
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
418
|
+
.summary {
|
|
419
|
+
display: flex;
|
|
420
|
+
gap: 24px;
|
|
421
|
+
span {
|
|
422
|
+
font-weight: 700;
|
|
423
|
+
line-height: 20px;
|
|
424
|
+
font-size: 14px;
|
|
425
|
+
color: #101828;
|
|
426
|
+
.footer_label {
|
|
427
|
+
font-weight: 400;
|
|
428
|
+
color: #667085;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
366
431
|
}
|
|
367
432
|
|
|
368
433
|
.footer-actions {
|
package/dist/order-status.scss
CHANGED
|
@@ -213,14 +213,18 @@
|
|
|
213
213
|
.success-text {
|
|
214
214
|
h2 {
|
|
215
215
|
margin: 0 0 4px;
|
|
216
|
-
font-size:
|
|
217
|
-
|
|
216
|
+
font-size: var(--_ctm-dn-dn-tt-ft-se);
|
|
217
|
+
color: var(--_ctm-dn-dn-tt-cr);
|
|
218
|
+
font-weight: var(--_ctm-dn-dn-tt-ft-wt);
|
|
219
|
+
font-family: var(--_ctm-dn-dn-tt-ft-fy);
|
|
218
220
|
}
|
|
219
221
|
|
|
220
222
|
p {
|
|
221
223
|
margin: 0;
|
|
222
|
-
font-size:
|
|
223
|
-
color:
|
|
224
|
+
font-size: var(--_ctm-dn-dn-tt-ft-se-dc);
|
|
225
|
+
color: var(--_ctm-dn-dn-tt-cr-dc);
|
|
226
|
+
font-weight: var(--_ctm-dn-dn-tt-ft-wt-dc);
|
|
227
|
+
font-family: var(--_ctm-dn-dn-tt-ft-fy-dc);
|
|
224
228
|
}
|
|
225
229
|
}
|
|
226
230
|
}
|
|
@@ -15,10 +15,52 @@ $input-padding: 10px 12px;
|
|
|
15
15
|
|
|
16
16
|
// .quick-order-main Styles
|
|
17
17
|
.quick-order-main {
|
|
18
|
+
display: flex;
|
|
19
|
+
padding: 12px;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
gap: 16px;
|
|
22
|
+
width: 100%;
|
|
23
|
+
|
|
18
24
|
.input-group {
|
|
19
25
|
display: flex;
|
|
20
26
|
gap: 12px;
|
|
21
|
-
|
|
27
|
+
height: fit-content;
|
|
28
|
+
align-items: center;
|
|
29
|
+
|
|
30
|
+
.quick-order-product-dropdown-section {
|
|
31
|
+
width: 320px;
|
|
32
|
+
height: 40px;
|
|
33
|
+
border: 0.5px solid #d0d5dd;
|
|
34
|
+
border-radius: 4px;
|
|
35
|
+
|
|
36
|
+
.dropdown-input-section {
|
|
37
|
+
padding: 0px 12px;
|
|
38
|
+
|
|
39
|
+
.dropdown-menu {
|
|
40
|
+
top: 40px;
|
|
41
|
+
|
|
42
|
+
.dropdown_menu_ul {
|
|
43
|
+
.dropdown-opt {
|
|
44
|
+
height: auto;
|
|
45
|
+
.dropdown-item {
|
|
46
|
+
max-height: none;
|
|
47
|
+
|
|
48
|
+
.item-image {
|
|
49
|
+
width: 42px;
|
|
50
|
+
height: 42px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.item-name {
|
|
54
|
+
font-size: 16px;
|
|
55
|
+
line-height: 24px;
|
|
56
|
+
color: #344054;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
22
64
|
|
|
23
65
|
.qty-input {
|
|
24
66
|
padding: $input-padding;
|
|
@@ -47,9 +89,28 @@ $input-padding: 10px 12px;
|
|
|
47
89
|
padding: 10px 16px;
|
|
48
90
|
border-radius: $radius;
|
|
49
91
|
font-weight: 600;
|
|
50
|
-
font-size:
|
|
92
|
+
font-size: 14px;
|
|
51
93
|
cursor: pointer;
|
|
52
94
|
transition: background-color 0.2s;
|
|
95
|
+
display: flex;
|
|
96
|
+
gap: 4px;
|
|
97
|
+
line-height: 20px;
|
|
98
|
+
|
|
99
|
+
.add-icon {
|
|
100
|
+
width: 20px;
|
|
101
|
+
height: 20px;
|
|
102
|
+
display: flex;
|
|
103
|
+
align-items: center;
|
|
104
|
+
justify-content: center;
|
|
105
|
+
|
|
106
|
+
svg {
|
|
107
|
+
width: 20px;
|
|
108
|
+
height: 20px;
|
|
109
|
+
path {
|
|
110
|
+
stroke: #fff;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
53
114
|
&:hover {
|
|
54
115
|
background-color: $primary-hover;
|
|
55
116
|
}
|
package/dist/section.scss
CHANGED
|
@@ -68,7 +68,8 @@ export declare enum FormElementIdEnum {
|
|
|
68
68
|
LongAnswer = "LongAnswer",
|
|
69
69
|
Number = "Number",
|
|
70
70
|
Link = "Link",
|
|
71
|
-
|
|
71
|
+
FileUpload = "FileUpload",
|
|
72
|
+
ImageUpload = "ImageUpload",
|
|
72
73
|
Rating = "Rating",
|
|
73
74
|
SingleChoice = "SingleChoice",
|
|
74
75
|
MultiChoice = "MultiChoice",
|
|
@@ -84,49 +85,48 @@ export declare enum FormElementIdEnum {
|
|
|
84
85
|
LoginButton = "LoginButton",
|
|
85
86
|
SignupButton = "SignupButton",
|
|
86
87
|
Boolean = "boolean",
|
|
87
|
-
Image = "image",
|
|
88
88
|
Header = "Header",
|
|
89
89
|
Text = "Text",
|
|
90
90
|
TextEditor = "TextEditor"
|
|
91
91
|
}
|
|
92
92
|
export declare enum FormIconEnum {
|
|
93
|
-
FirstName = "
|
|
94
|
-
LastName = "
|
|
95
|
-
UserName = "
|
|
96
|
-
Email = "
|
|
97
|
-
Password = "
|
|
98
|
-
Phone = "phone-
|
|
99
|
-
DateOfBirth = "
|
|
100
|
-
Honorific = "
|
|
93
|
+
FirstName = "firstname-fb",
|
|
94
|
+
LastName = "lastname-fb",
|
|
95
|
+
UserName = "users-02",
|
|
96
|
+
Email = "email-fb",
|
|
97
|
+
Password = "password-fb",
|
|
98
|
+
Phone = "phone-fb",
|
|
99
|
+
DateOfBirth = "dob-fb",
|
|
100
|
+
Honorific = "honorific-fb",
|
|
101
101
|
Gender = "user-circle",
|
|
102
|
-
Address = "
|
|
103
|
-
ColorPicker = "
|
|
104
|
-
InputText = "input-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
102
|
+
Address = "address-fb",
|
|
103
|
+
ColorPicker = "colorpicker-fb",
|
|
104
|
+
InputText = "input-fb",
|
|
105
|
+
Number = "number-fb",
|
|
106
|
+
Percent = "percent-fb",
|
|
107
|
+
ShortAnswer = "short-answer-fb",
|
|
108
|
+
LongAnswer = "long-answer-fb",
|
|
109
|
+
nk = "link-fb",
|
|
110
|
+
FileUpload = "upload-fb",
|
|
111
|
+
ImageUpload = "image-upload-fb",
|
|
112
|
+
Rating = "star-rating-fb",
|
|
113
|
+
SingleChoice = "single-select-fb",
|
|
114
|
+
MultiChoice = "multi-select-fb",
|
|
115
|
+
DropDown = "dropdown-fb",
|
|
116
|
+
Checkbox = "checkbox-fb",
|
|
117
|
+
DatePicker = "datepicker-fb",
|
|
118
|
+
Date = "date-fb",
|
|
119
|
+
DateTime = "date-and-time-fb",
|
|
120
|
+
Time = "time-fb",
|
|
121
|
+
Currency = "currency-fb",
|
|
122
|
+
SubmitButton = "submit-fb",
|
|
123
|
+
ResetButton = "reset-fb",
|
|
123
124
|
LoginButton = "log-in",
|
|
124
125
|
SignupButton = "user-plus",
|
|
125
|
-
Boolean = "
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
TextEditor = "edit-3"
|
|
126
|
+
Boolean = "boolean-fb",
|
|
127
|
+
Header = "heading-fb",
|
|
128
|
+
Text = "text-fb",
|
|
129
|
+
TextEditor = "editor-fb"
|
|
130
130
|
}
|
|
131
131
|
export interface FormComponentConfig {
|
|
132
132
|
allowAlphaNumeric?: boolean;
|
|
@@ -152,7 +152,7 @@ export interface FormComponentConfig {
|
|
|
152
152
|
};
|
|
153
153
|
fieldKey?: string;
|
|
154
154
|
fieldType: FormElementTypeEnum;
|
|
155
|
-
fileTypes?:
|
|
155
|
+
fileTypes?: number[];
|
|
156
156
|
h: number;
|
|
157
157
|
href?: string;
|
|
158
158
|
html?: string;
|
|
@@ -203,7 +203,7 @@ export declare enum ElementSettingEnum {
|
|
|
203
203
|
REQUIRED = 2,
|
|
204
204
|
PLACEHOLDER = 3,
|
|
205
205
|
DESCRIPTION = 4,
|
|
206
|
-
|
|
206
|
+
LIMIT_CHARACTERS = 5,
|
|
207
207
|
MULTI_TOGGLE = 6,
|
|
208
208
|
OPTIONS = 7,
|
|
209
209
|
BUTTON_TYPE = 8,
|
|
@@ -219,7 +219,8 @@ export declare enum ElementSettingEnum {
|
|
|
219
219
|
RESOLUTION = 18,
|
|
220
220
|
DOC_LIMIT = 19,
|
|
221
221
|
FILE_TYPES = 20,
|
|
222
|
-
|
|
222
|
+
SHOW_DATE_RANGE = 21,
|
|
223
|
+
LIMIT_DATE_RANGE = 22
|
|
223
224
|
}
|
|
224
225
|
export interface SidebarElementItem extends FormComponentConfig {
|
|
225
226
|
categoryId?: number;
|
|
@@ -271,15 +272,37 @@ export declare enum FormRequiredFieldPlacement {
|
|
|
271
272
|
BeforeField = 1,
|
|
272
273
|
AfterField = 2
|
|
273
274
|
}
|
|
274
|
-
export declare enum
|
|
275
|
+
export declare enum GenderEnum {
|
|
275
276
|
MALE = 1,
|
|
276
277
|
FEMALE = 2,
|
|
277
278
|
OTHER = 3
|
|
278
279
|
}
|
|
279
280
|
export declare const genderConstant: {
|
|
280
281
|
label: string;
|
|
281
|
-
value:
|
|
282
|
+
value: GenderEnum;
|
|
282
283
|
}[];
|
|
284
|
+
export declare enum ImageTypeEnum {
|
|
285
|
+
JPG = 1,
|
|
286
|
+
JPEG = 2,
|
|
287
|
+
PNG = 3,
|
|
288
|
+
GIF = 4,
|
|
289
|
+
TIFF = 5,
|
|
290
|
+
BMP = 6,
|
|
291
|
+
WEBP = 7,
|
|
292
|
+
AVIF = 8
|
|
293
|
+
}
|
|
294
|
+
export declare enum FileTypeEnum {
|
|
295
|
+
DOC = 1,
|
|
296
|
+
DOCX = 2,
|
|
297
|
+
PDF = 3,
|
|
298
|
+
XLS = 4,
|
|
299
|
+
XLSX = 5,
|
|
300
|
+
PPT = 6,
|
|
301
|
+
PPTX = 7,
|
|
302
|
+
TXT = 8,
|
|
303
|
+
RTF = 9,
|
|
304
|
+
CSV = 10
|
|
305
|
+
}
|
|
283
306
|
export declare enum AttributeDataType {
|
|
284
307
|
STRING = 1,
|
|
285
308
|
DATE = 2,
|
|
@@ -297,10 +320,92 @@ export declare enum AttributeDataType {
|
|
|
297
320
|
SELECT = 14,
|
|
298
321
|
TEXTEDITOR = 15
|
|
299
322
|
}
|
|
300
|
-
export declare function
|
|
301
|
-
id
|
|
302
|
-
|
|
303
|
-
|
|
323
|
+
export declare function createAttributeFieldMap(attr: any): {
|
|
324
|
+
id?: undefined;
|
|
325
|
+
allowAlphaNumeric?: undefined;
|
|
326
|
+
allowDecimal?: undefined;
|
|
327
|
+
allowNegativeNumber?: undefined;
|
|
328
|
+
allowOnlyOne?: undefined;
|
|
329
|
+
convertTextToLowerCase?: undefined;
|
|
330
|
+
convertTextToUpperCase?: undefined;
|
|
331
|
+
customAttributeKey?: undefined;
|
|
332
|
+
defaultErrorMessage?: undefined;
|
|
333
|
+
defaultValue?: undefined;
|
|
334
|
+
description?: undefined;
|
|
335
|
+
docLimit?: undefined;
|
|
336
|
+
fieldType?: undefined;
|
|
337
|
+
fileTypes?: undefined;
|
|
338
|
+
icon?: undefined;
|
|
339
|
+
isMultiple?: undefined;
|
|
340
|
+
isDateRange?: undefined;
|
|
341
|
+
label?: undefined;
|
|
342
|
+
range?: undefined;
|
|
343
|
+
maxFileSize?: undefined;
|
|
344
|
+
options?: undefined;
|
|
345
|
+
placeholder?: undefined;
|
|
346
|
+
removeSpecialCharacters?: undefined;
|
|
347
|
+
required?: undefined;
|
|
348
|
+
resolution?: undefined;
|
|
349
|
+
showElementProperties?: undefined;
|
|
350
|
+
specialCharactersToExclude?: undefined;
|
|
351
|
+
type?: undefined;
|
|
352
|
+
} | {
|
|
353
|
+
id: any;
|
|
354
|
+
allowAlphaNumeric: boolean;
|
|
355
|
+
allowDecimal: any;
|
|
356
|
+
allowNegativeNumber: any;
|
|
357
|
+
allowOnlyOne: boolean;
|
|
358
|
+
convertTextToLowerCase: boolean;
|
|
359
|
+
convertTextToUpperCase: boolean;
|
|
360
|
+
customAttributeKey: any;
|
|
361
|
+
defaultErrorMessage: {
|
|
362
|
+
value: any;
|
|
363
|
+
state: boolean;
|
|
364
|
+
};
|
|
365
|
+
defaultValue: any;
|
|
366
|
+
description: {
|
|
367
|
+
value: any;
|
|
368
|
+
state: boolean;
|
|
369
|
+
};
|
|
370
|
+
docLimit: {
|
|
371
|
+
value: any;
|
|
372
|
+
state: boolean;
|
|
373
|
+
};
|
|
304
374
|
fieldType: FormElementTypeEnum;
|
|
305
|
-
|
|
375
|
+
fileTypes: number[];
|
|
376
|
+
icon: FormIconEnum;
|
|
377
|
+
isMultiple: boolean;
|
|
378
|
+
isDateRange: boolean;
|
|
379
|
+
label: {
|
|
380
|
+
value: any;
|
|
381
|
+
state: boolean;
|
|
382
|
+
};
|
|
383
|
+
range: {
|
|
384
|
+
value: {
|
|
385
|
+
min: any;
|
|
386
|
+
max: any;
|
|
387
|
+
};
|
|
388
|
+
state: boolean;
|
|
389
|
+
};
|
|
390
|
+
maxFileSize: any;
|
|
391
|
+
options: any[];
|
|
392
|
+
placeholder: {
|
|
393
|
+
value: any;
|
|
394
|
+
state: boolean;
|
|
395
|
+
};
|
|
396
|
+
removeSpecialCharacters: any;
|
|
397
|
+
required: boolean;
|
|
398
|
+
resolution: {
|
|
399
|
+
value: {
|
|
400
|
+
min: any;
|
|
401
|
+
max: any;
|
|
402
|
+
};
|
|
403
|
+
state: boolean;
|
|
404
|
+
};
|
|
405
|
+
showElementProperties: never[];
|
|
406
|
+
specialCharactersToExclude: {
|
|
407
|
+
value: any;
|
|
408
|
+
state: boolean;
|
|
409
|
+
};
|
|
410
|
+
type: FormComponentTypeEnum;
|
|
306
411
|
};
|
|
@@ -71,7 +71,8 @@ export declare enum CMSToolIdTypes {
|
|
|
71
71
|
spotlightWrapper = "cms-spotlight-wrapper",
|
|
72
72
|
TEXTELEMENTDOBLECLICK = "data-cms-tt-ee-dbl-clkd",
|
|
73
73
|
menuWrapperV2 = "cms-menu-v2-wrapper",
|
|
74
|
-
menuItemWrapper = "cms-menu-item-wrapper"
|
|
74
|
+
menuItemWrapper = "cms-menu-item-wrapper",
|
|
75
|
+
animation = "flex-animation-element"
|
|
75
76
|
}
|
|
76
77
|
export declare enum CMSElementSelectors {
|
|
77
78
|
iframeSelector = "iframe[data-title='iframe__playground']",
|
|
@@ -139,6 +140,8 @@ export declare enum CMSToolAttributes {
|
|
|
139
140
|
id = "data-cms-tool",
|
|
140
141
|
state = "data-cms-state",
|
|
141
142
|
style = "data-style-id",
|
|
143
|
+
animation = "data-anim-id",
|
|
144
|
+
animationAttr = "data-anim-type",
|
|
142
145
|
pageId = "data-page-id",
|
|
143
146
|
dataDivType = "data-div-type",
|
|
144
147
|
dataElementSubChild = "data-element-sub-child",
|
|
@@ -387,14 +390,16 @@ export declare enum CMSCustomEventsListEnums {
|
|
|
387
390
|
IMAGE_CROP = "imageCrop",
|
|
388
391
|
IMAGE_CROP_TEMP_DATA = "imageCropTempData",
|
|
389
392
|
FORM_BUILDER_STATE = "formBuilderState",
|
|
390
|
-
EMBROIDERY_PLAYGROUND_STATE = "embroideryPlaygroundState"
|
|
393
|
+
EMBROIDERY_PLAYGROUND_STATE = "embroideryPlaygroundState",
|
|
394
|
+
FLEX_BUILDER_ANIMATION_TEMP_STATE = "flexBuilderAnimationTempState"
|
|
391
395
|
}
|
|
392
396
|
export declare enum FlexAppVersionEnums {
|
|
393
397
|
NESTEDJSON = 1,
|
|
394
398
|
FLATJSON = 2
|
|
395
399
|
}
|
|
396
400
|
export declare enum FlexDefaultValues {
|
|
397
|
-
FLEXLIGHTBOXCLOSEBTN = "isLightboxCloseIconKey"
|
|
401
|
+
FLEXLIGHTBOXCLOSEBTN = "isLightboxCloseIconKey",
|
|
402
|
+
FLEX_ELEMENET_ANIMATION_KEY = "animationData"
|
|
398
403
|
}
|
|
399
404
|
export declare enum SkeletonItems {
|
|
400
405
|
PLACEHOLDER_IMAGE = "/00000000-0000-0000-0000-000000000000/development/img-placeholder.jpg"
|