@sc-360-v2/storefront-cms-library 0.5.73 → 0.5.74
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/add-existing-form.scss +5 -13
- package/dist/add-order.scss +236 -126
- package/dist/add-products-tab-details.scss +2097 -1048
- package/dist/add-products-tab.scss +1204 -666
- package/dist/allocation-header-quota-details.scss +407 -189
- package/dist/allocationDetails.scss +2143 -1661
- package/dist/allocations-quota-details.scss +323 -159
- package/dist/allocations.scss +793 -475
- package/dist/amount-estimator.scss +743 -405
- package/dist/badge.scss +18 -43
- package/dist/brand-basic-elements.scss +124 -76
- package/dist/brand.scss +55 -28
- package/dist/breadcrumbs.scss +718 -356
- package/dist/builder.js +1 -1
- package/dist/builderLite.js +1 -1
- package/dist/bulk-variant-picker.scss +2027 -1128
- package/dist/bundle.scss +1477 -841
- package/dist/bundleDetails.scss +5072 -3774
- package/dist/button.scss +103 -79
- package/dist/buy-for-tab-container.scss +106 -77
- package/dist/buyForHeaders.scss +2976 -1722
- package/dist/cart-details.scss +1012 -481
- package/dist/cart-summary.scss +1149 -557
- package/dist/cart-wrapper.scss +79 -37
- package/dist/cart.scss +225 -117
- package/dist/cartAttributes.scss +735 -416
- package/dist/category-groups-element.scss +108 -127
- package/dist/category-groups-product-grid.scss +147 -120
- package/dist/category-groups-product-image.scss +1457 -1162
- package/dist/category-groups-product-options.scss +680 -613
- package/dist/category-groups-product-price.scss +3244 -1966
- package/dist/category-groups-quota-details.scss +464 -210
- package/dist/category.scss +50 -26
- package/dist/checkout.scss +16 -24
- package/dist/confirm-modal.scss +2 -22
- package/dist/container.scss +54 -32
- package/dist/countdown.scss +443 -255
- package/dist/coupon.scss +710 -351
- package/dist/default-dropdown.scss +1 -12
- package/dist/embroider-template-1-v2.scss +172 -123
- package/dist/embroider-template-1.scss +104 -68
- package/dist/embroidery.scss +31 -30
- package/dist/employee-bulk-order.scss +142 -418
- package/dist/faq.scss +408 -228
- package/dist/filter-results.scss +265 -125
- package/dist/filters.scss +1797 -900
- package/dist/gallery-slider-temp.scss +750 -432
- package/dist/global-styles.scss +7 -23
- package/dist/grid.scss +33 -25
- package/dist/hotspot.scss +115 -68
- package/dist/image-temp.scss +20 -21
- package/dist/item-stock.scss +16 -9
- package/dist/kitDetails.scss +4301 -2721
- package/dist/kits.scss +19 -24
- package/dist/language-selector.scss +361 -211
- package/dist/last-x-orders.scss +174 -95
- package/dist/layouter-item.scss +103 -75
- package/dist/layouter-pro-item.scss +95 -89
- package/dist/layouter-pro.scss +92 -87
- package/dist/layouter.scss +445 -383
- package/dist/light-box-v2.scss +104 -89
- package/dist/login.scss +566 -287
- package/dist/map.scss +368 -221
- package/dist/marchandiserSets.scss +104 -95
- package/dist/mega-menu-container.scss +109 -96
- package/dist/mega-menu.scss +731 -624
- package/dist/menu-item.scss +2 -2
- package/dist/menu-v2.scss +619 -507
- package/dist/multi-select-dropdown.scss +3 -27
- package/dist/my-templates.scss +9 -38
- package/dist/option-bar.scss +375 -215
- package/dist/option-families.scss +252 -0
- package/dist/order-status.scss +1117 -646
- package/dist/overflow-module.scss +7 -6
- package/dist/past-orders.scss +149 -118
- package/dist/payment-methods.scss +30 -46
- package/dist/pickup-locations.scss +1118 -558
- package/dist/position-module.scss +17 -20
- package/dist/prefix-list.scss +10 -21
- package/dist/product-actions.scss +2316 -1610
- package/dist/product-basic-elements.scss +169 -108
- package/dist/product-highlights.scss +152 -107
- package/dist/product-image-bundles.scss +642 -337
- package/dist/product-inventory.scss +1357 -673
- package/dist/product-labels.scss +105 -84
- package/dist/product-options.scss +1274 -1117
- package/dist/product-price.scss +2561 -1283
- package/dist/product-promotions.scss +2830 -1388
- package/dist/product-sizechart.scss +905 -516
- package/dist/product.scss +61 -28
- package/dist/productDetails.scss +39 -19
- package/dist/profile.scss +447 -207
- package/dist/quantity-selector.scss +550 -313
- package/dist/quick-inventory-check.scss +174 -95
- package/dist/quick-links.scss +133 -55
- package/dist/quick-order-pad.scss +271 -218
- package/dist/quota-details.scss +282 -152
- package/dist/quotes.scss +122 -89
- package/dist/repeater-embla-controls.scss +15 -35
- package/dist/repeater-grid-toggle.scss +166 -156
- package/dist/repeater-item.scss +64 -41
- package/dist/repeater.scss +814 -671
- package/dist/request-for-quotes.scss +16 -66
- package/dist/responsive-behaviour.scss +1 -3
- package/dist/rfqs.scss +181 -118
- package/dist/scroll.scss +172 -93
- package/dist/search.scss +326 -179
- package/dist/section.scss +51 -27
- package/dist/shipping-payments.scss +58 -198
- package/dist/simple-list.scss +164 -74
- package/dist/social.scss +145 -80
- package/dist/sort.scss +19 -11
- package/dist/stack.scss +34 -23
- package/dist/static-global.scss +26 -44
- package/dist/stockStatus.scss +19 -11
- package/dist/store-locations.scss +1105 -577
- package/dist/tab-container.scss +108 -81
- package/dist/table-common.scss +408 -217
- package/dist/table.scss +502 -271
- package/dist/text-temp.scss +7 -8
- package/dist/theme-classes.scss +13 -17
- package/dist/types/builder/enums/data-connectors.d.ts +3 -1
- package/dist/types/builder/enums/index.d.ts +3 -1
- package/dist/types/builder/tools/element-edit/index.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/optionFamilies.d.ts +20 -0
- package/dist/types/website/constants/data-connector-souces.d.ts +40 -8
- package/dist/types/website/constants/data-connectors.d.ts +12 -1
- package/dist/types/website/helper/ssr-functions.d.ts +8 -0
- package/dist/uom-selector.scss +949 -489
- package/dist/user-elements.scss +837 -529
- package/dist/variant-picker.scss +2555 -1281
- package/dist/volume-pricing.scss +1037 -541
- package/dist/website.js +1 -1
- package/dist/widget.scss +1 -0
- package/package.json +1 -1
package/dist/text-temp.scss
CHANGED
|
@@ -37,7 +37,6 @@ $dblclk: '[data-cms-tt-ee-dbl-clkd="true"]';
|
|
|
37
37
|
&#{$dblclk} {
|
|
38
38
|
--_sf-op-bm-zz: 1;
|
|
39
39
|
--_sf-vt-bm-zz: visible;
|
|
40
|
-
|
|
41
40
|
#{$re} {
|
|
42
41
|
display: none !important;
|
|
43
42
|
}
|
|
@@ -48,7 +47,7 @@ $dblclk: '[data-cms-tt-ee-dbl-clkd="true"]';
|
|
|
48
47
|
unicode-bidi: plaintext;
|
|
49
48
|
}
|
|
50
49
|
|
|
51
|
-
|
|
50
|
+
& > .wrapper {
|
|
52
51
|
width: 100%;
|
|
53
52
|
// min-height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht)));
|
|
54
53
|
min-height: prepareMediaVariable(--_ctm-lt-ht);
|
|
@@ -59,8 +58,11 @@ $dblclk: '[data-cms-tt-ee-dbl-clkd="true"]';
|
|
|
59
58
|
border-style: var(--_ctm-dn-br-se, var(--_tst-dn-br-se));
|
|
60
59
|
border-width: var(--_ctm-dn-br-wh, var(--_tst-dn-br-wh));
|
|
61
60
|
border-radius: var(--_ctm-dn-br-rs, var(--_tst-dn-br-rs));
|
|
62
|
-
box-shadow: var(
|
|
63
|
-
|
|
61
|
+
box-shadow: var(
|
|
62
|
+
--_show-shadow,
|
|
63
|
+
var(--_ctm-dn-sw-ae, var(--_tst-dn-sw-ae)) var(--_ctm-dn-sw-br, var(--_tst-dn-sw-br))
|
|
64
|
+
var(--_ctm-dn-sw-sd, var(--_tst-dn-sw-sd)) var(--_ctm-dn-sw-cr, var(--_tst-dn-sw-cr))
|
|
65
|
+
);
|
|
64
66
|
// height: 100%;
|
|
65
67
|
|
|
66
68
|
#{$ie} {
|
|
@@ -70,7 +72,6 @@ $dblclk: '[data-cms-tt-ee-dbl-clkd="true"]';
|
|
|
70
72
|
}
|
|
71
73
|
}
|
|
72
74
|
}
|
|
73
|
-
|
|
74
75
|
&[data-show-shadow="false"] {
|
|
75
76
|
--_show-shadow: none;
|
|
76
77
|
}
|
|
@@ -97,14 +98,12 @@ $dblclk: '[data-cms-tt-ee-dbl-clkd="true"]';
|
|
|
97
98
|
|
|
98
99
|
// transform: scale(var(--_ctm-dn-zm-ie));
|
|
99
100
|
scale: var(--_ctm-dn-zm-ie);
|
|
100
|
-
|
|
101
101
|
&[data-flip-x="true"] {
|
|
102
102
|
transform: scaleX(-1);
|
|
103
103
|
}
|
|
104
|
-
|
|
105
104
|
&[data-flip-y="true"] {
|
|
106
105
|
transform: scaleY(-1);
|
|
107
106
|
}
|
|
108
107
|
}
|
|
109
108
|
}
|
|
110
|
-
}
|
|
109
|
+
}
|
package/dist/theme-classes.scss
CHANGED
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
line-height: var(--_thm-ty-h2-le-ht);
|
|
36
36
|
text-decoration: var(--_thm-ty-h2-ue);
|
|
37
37
|
}
|
|
38
|
-
|
|
39
38
|
.flx-thm-typ-h3 {
|
|
40
39
|
// padding-inline: var(--_sf-cd-gp);
|
|
41
40
|
color: var(--_thm-ty-h3-tt-cr);
|
|
@@ -51,7 +50,6 @@
|
|
|
51
50
|
line-height: var(--_thm-ty-h3-le-ht);
|
|
52
51
|
text-decoration: var(--_thm-ty-h3-ue);
|
|
53
52
|
}
|
|
54
|
-
|
|
55
53
|
.flx-thm-typ-h4 {
|
|
56
54
|
// padding-inline: var(--_sf-cd-gp);
|
|
57
55
|
color: var(--_thm-ty-h4-tt-cr);
|
|
@@ -67,7 +65,6 @@
|
|
|
67
65
|
line-height: var(--_thm-ty-h4-le-ht);
|
|
68
66
|
text-decoration: var(--_thm-ty-h4-ue);
|
|
69
67
|
}
|
|
70
|
-
|
|
71
68
|
.flx-thm-typ-h6 {
|
|
72
69
|
// padding-inline: var(--_sf-cd-gp);
|
|
73
70
|
color: var(--_thm-ty-h6-tt-cr);
|
|
@@ -115,7 +112,6 @@
|
|
|
115
112
|
line-height: var(--_thm-ty-p1-le-ht);
|
|
116
113
|
text-decoration: var(--_thm-ty-p1-ue);
|
|
117
114
|
}
|
|
118
|
-
|
|
119
115
|
.flx-thm-typ-p2 {
|
|
120
116
|
// padding-inline: var(--_sf-cd-gp);
|
|
121
117
|
color: var(--_thm-ty-p2-tt-cr);
|
|
@@ -186,7 +182,10 @@
|
|
|
186
182
|
|
|
187
183
|
border-radius: var(--_sf-hr-br-rs, var(--_thm-py-bs-dt-se-br-rs));
|
|
188
184
|
|
|
189
|
-
box-shadow: var(--_sf-hr-sw-ae, var(--_thm-py-bs-dt-se-sw-ae))
|
|
185
|
+
box-shadow: var(--_sf-hr-sw-ae, var(--_thm-py-bs-dt-se-sw-ae))
|
|
186
|
+
var(--_sf-hr-sw-br, var(--_thm-py-bs-dt-se-sw-br))
|
|
187
|
+
var(--_sf-hr-sw-sd, var(--_thm-py-bs-dt-se-sw-sd))
|
|
188
|
+
var(--_sf-hr-sw-cr, var(--_thm-py-bs-dt-se-sw-cr));
|
|
190
189
|
|
|
191
190
|
&[data-show-border="true"] {
|
|
192
191
|
border-color: var(--_sf-hr-br-cr, var(--_thm-py-bs-dt-se-br-cr));
|
|
@@ -212,12 +211,10 @@
|
|
|
212
211
|
text-transform: var(--_sf-hr-tt-tm, var(--_thm-py-bs-dt-se-ft));
|
|
213
212
|
word-wrap: var(--_sf-hr-wd-wp, var(--_thm-py-bs-dt-se-ft));
|
|
214
213
|
word-break: var(--_sf-hr-wd-bk, var(--_thm-py-bs-dt-se-ft));
|
|
215
|
-
|
|
216
214
|
&.flex__overflow {
|
|
217
215
|
white-space: normal;
|
|
218
216
|
@include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
|
|
219
217
|
}
|
|
220
|
-
|
|
221
218
|
font-size: var(--_sf-hr-ft-se, var(--_thm-py-bs-dt-se-ft-se));
|
|
222
219
|
font-weight: var(--_sf-hr-ft-wt, var(--_thm-py-bs-dt-se-bd));
|
|
223
220
|
font-style: var(--_sf-hr-ft-se-ic, var(--_thm-py-bs-dt-se-ic));
|
|
@@ -228,7 +225,6 @@
|
|
|
228
225
|
|
|
229
226
|
.icon {
|
|
230
227
|
display: var(--_hover-show-icon, var(--_show-icon, flex));
|
|
231
|
-
|
|
232
228
|
svg {
|
|
233
229
|
width: var(--_sf-hr-in-se, var(--_thm-py-bs-dt-se-in-se));
|
|
234
230
|
height: var(--_sf-hr-in-se, var(--_thm-py-bs-dt-se-in-se));
|
|
@@ -282,7 +278,10 @@
|
|
|
282
278
|
gap: var(--_thm-sy-bs-in-ad-tt-sg);
|
|
283
279
|
border-radius: var(--_sf-hr-br-rs, var(--_thm-sy-bs-dt-se-br-rs));
|
|
284
280
|
|
|
285
|
-
box-shadow: var(--_sf-hr-sw-ae, var(--_thm-sy-bs-dt-se-sw-ae))
|
|
281
|
+
box-shadow: var(--_sf-hr-sw-ae, var(--_thm-sy-bs-dt-se-sw-ae))
|
|
282
|
+
var(--_sf-hr-sw-br, var(--_thm-sy-bs-dt-se-sw-br))
|
|
283
|
+
var(--_sf-hr-sw-sd, var(--_thm-sy-bs-dt-se-sw-sd))
|
|
284
|
+
var(--_sf-hr-sw-cr, var(--_thm-sy-bs-dt-se-sw-cr));
|
|
286
285
|
|
|
287
286
|
&[data-show-border="true"] {
|
|
288
287
|
border-color: var(--_sf-hr-br-cr, var(--_thm-sy-bs-dt-se-br-cr));
|
|
@@ -308,12 +307,10 @@
|
|
|
308
307
|
text-transform: var(--_sf-hr-tt-tm, var(--_thm-sy-bs-dt-se-ft));
|
|
309
308
|
word-wrap: var(--_sf-hr-wd-wp, var(--_thm-sy-bs-dt-se-ft));
|
|
310
309
|
word-break: var(--_sf-hr-wd-bk, var(--_thm-sy-bs-dt-se-ft));
|
|
311
|
-
|
|
312
310
|
&.flex__overflow {
|
|
313
311
|
white-space: normal;
|
|
314
312
|
@include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
|
|
315
313
|
}
|
|
316
|
-
|
|
317
314
|
font-size: var(--_sf-hr-ft-se, var(--_thm-sy-bs-dt-se-ft-se));
|
|
318
315
|
font-weight: var(--_sf-hr-ft-wt, var(--_thm-sy-bs-dt-se-bd));
|
|
319
316
|
font-style: var(--_sf-hr-ft-se-ic, var(--_thm-sy-bs-dt-se-ic));
|
|
@@ -324,7 +321,6 @@
|
|
|
324
321
|
|
|
325
322
|
.icon {
|
|
326
323
|
display: var(--_hover-show-icon, var(--_show-icon, flex));
|
|
327
|
-
|
|
328
324
|
svg {
|
|
329
325
|
width: var(--_sf-hr-in-se, var(--_thm-sy-bs-dt-se-in-se));
|
|
330
326
|
height: var(--_sf-hr-in-se, var(--_thm-sy-bs-dt-se-in-se));
|
|
@@ -378,7 +374,10 @@
|
|
|
378
374
|
gap: var(--_thm-ty-bs-in-ad-tt-sg);
|
|
379
375
|
border-radius: var(--_sf-hr-br-rs, var(--_thm-ty-bs-dt-se-br-rs));
|
|
380
376
|
|
|
381
|
-
box-shadow: var(--_sf-hr-sw-ae, var(--_thm-ty-bs-dt-se-sw-ae))
|
|
377
|
+
box-shadow: var(--_sf-hr-sw-ae, var(--_thm-ty-bs-dt-se-sw-ae))
|
|
378
|
+
var(--_sf-hr-sw-br, var(--_thm-ty-bs-dt-se-sw-br))
|
|
379
|
+
var(--_sf-hr-sw-sd, var(--_thm-ty-bs-dt-se-sw-sd))
|
|
380
|
+
var(--_sf-hr-sw-cr, var(--_thm-ty-bs-dt-se-sw-cr));
|
|
382
381
|
|
|
383
382
|
&[data-show-border="true"] {
|
|
384
383
|
border-color: var(--_sf-hr-br-cr, var(--_thm-ty-bs-dt-se-br-cr));
|
|
@@ -391,12 +390,10 @@
|
|
|
391
390
|
text-transform: var(--_sf-hr-tt-tm, var(--_thm-ty-bs-dt-se-ft));
|
|
392
391
|
word-wrap: var(--_sf-hr-wd-wp, var(--_thm-ty-bs-dt-se-ft));
|
|
393
392
|
word-break: var(--_sf-hr-wd-bk, var(--_thm-ty-bs-dt-se-ft));
|
|
394
|
-
|
|
395
393
|
&.flex__overflow {
|
|
396
394
|
white-space: normal;
|
|
397
395
|
@include restrictToLinesShow(#{var(--_sf-line-clamp, 1)});
|
|
398
396
|
}
|
|
399
|
-
|
|
400
397
|
font-size: var(--_sf-hr-ft-se, var(--_thm-ty-bs-dt-se-ft-se));
|
|
401
398
|
font-weight: var(--_sf-hr-ft-wt, var(--_thm-ty-bs-dt-se-bd));
|
|
402
399
|
font-style: var(--_sf-hr-ft-se-ic, var(--_thm-ty-bs-dt-se-ic));
|
|
@@ -407,7 +404,6 @@
|
|
|
407
404
|
|
|
408
405
|
.icon {
|
|
409
406
|
display: var(--_hover-show-icon, var(--_show-icon, flex));
|
|
410
|
-
|
|
411
407
|
svg {
|
|
412
408
|
width: var(--_sf-hr-in-se, var(--_thm-ty-bs-dt-se-in-se));
|
|
413
409
|
height: var(--_sf-hr-in-se, var(--_thm-ty-bs-dt-se-in-se));
|
|
@@ -422,4 +418,4 @@
|
|
|
422
418
|
display: inline-block;
|
|
423
419
|
width: 100%;
|
|
424
420
|
}
|
|
425
|
-
}
|
|
421
|
+
}
|
|
@@ -18,5 +18,7 @@ export declare enum dataConnectorapis {
|
|
|
18
18
|
PRODUCT_BUNDLE_DETAILS = "PRODUCT_BUNDLE_DETAILS",
|
|
19
19
|
CATEGORY_BUNDLE_DETAILS = "CATEGORY_BUNDLE_DETAILS",
|
|
20
20
|
CATEGORY_GROUPS = "CATEGORY_GROUPS",
|
|
21
|
-
CATEGORIES_BY_GROUP_ID = "CATEGORIES_BY_GROUP_ID"
|
|
21
|
+
CATEGORIES_BY_GROUP_ID = "CATEGORIES_BY_GROUP_ID",
|
|
22
|
+
OPTION_FAMILIES = "OPTION_FAMILIES",
|
|
23
|
+
OPTION_FAMILY_BY_ID = "OPTION_FAMILY_BY_ID"
|
|
22
24
|
}
|
|
@@ -364,6 +364,7 @@ export declare const CMSElementsListEnum: {
|
|
|
364
364
|
KIT_DETAILS: string;
|
|
365
365
|
KITS: string;
|
|
366
366
|
BUNDLE_CATEGORIES: string;
|
|
367
|
+
OPTION_FAMILIES: string;
|
|
367
368
|
};
|
|
368
369
|
export declare enum CMSResponsiveModeEnums {
|
|
369
370
|
DESKTOP = "desktop",
|
|
@@ -476,7 +477,8 @@ export declare enum PageTypeEnums {
|
|
|
476
477
|
SEARCH = 13,
|
|
477
478
|
ERROR = 14,
|
|
478
479
|
BRAND_PRODUCTS = 16,
|
|
479
|
-
Allocation = 17
|
|
480
|
+
Allocation = 17,
|
|
481
|
+
OPTION_FAMILIES = 19
|
|
480
482
|
}
|
|
481
483
|
export declare enum FlexRepeaterControlDragType {
|
|
482
484
|
SLIDER_CONTROL = 1,
|
|
@@ -120,4 +120,5 @@ import * as embroidery from "./embroidery";
|
|
|
120
120
|
import * as stockStatus from "./stockStatus";
|
|
121
121
|
import * as kitDetails from "./kitDetails";
|
|
122
122
|
import * as kits from "./kits";
|
|
123
|
-
|
|
123
|
+
import * as optionFamilies from "./optionFamilies";
|
|
124
|
+
export { amountEstimator, bulkVariantPicker, button, code, staticText, 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, productOptions, productDetails, category, subCategory, brand, bundle, brandImage, filters, sort, pastOrders, quotes, rfqs, lightBoxV2, allocations, search, layouter, layouterItem, categoryDetails, contactUs, login, resetPassword, breadcrumbs, iconLibrary, searchResultsHeading, itemStock, cartDetails, cartSummary, checkout, allocationDetails, line, tabsV2, tabContainer, marchandiserSets, createForm, quickLinks, addOrder, buyForWithTabs, buyForTabsContainer, toaster, spotlight, bundleDetails, bundleCategories, productCustomizations, iconList, orderStatus, menuV2, menuItem, layouterPro, layouterProItem, filterResults, productSizeChart, userElements, badge, cartAttributes, languageMenu, loader, addProductsTab, quotaDetails, shippingPayments, coupon, productDescription, megaMenu, megaMenuContainer, simpleList, cartWrapper, optionBar, myTemplates, requestForQuote, categoryGroups, embroidery, stockStatus, page, lastXOrdersButton, quickInventoryCheck, productLabels, kitDetails, kits, optionFamilies, };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
2
|
+
interface selfLayoutInterface {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}
|
|
5
|
+
export interface selfDesignInterface {
|
|
6
|
+
selectorKey: string;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
export declare enum SelectorKeysEnum {
|
|
10
|
+
LAYOUT = "layout",
|
|
11
|
+
DESIGN = "design",
|
|
12
|
+
CONTENT = "content",
|
|
13
|
+
TILE = "tile",
|
|
14
|
+
SWATCH = "swatch",
|
|
15
|
+
IMAGE = "image",
|
|
16
|
+
LABEL = "label",
|
|
17
|
+
DATA_CONNECTOR = "dataConnector"
|
|
18
|
+
}
|
|
19
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
20
|
+
export {};
|
|
@@ -138,6 +138,42 @@ export declare const brandDataConnectorInstance: {
|
|
|
138
138
|
};
|
|
139
139
|
}[];
|
|
140
140
|
};
|
|
141
|
+
export declare const optionFamiliesDataConnectorInstance: {
|
|
142
|
+
value: DATA_CONNECTOR_ITEMS_LIST;
|
|
143
|
+
label: string;
|
|
144
|
+
apiKey: dataConnectorapis;
|
|
145
|
+
payload: {};
|
|
146
|
+
apiControls: {
|
|
147
|
+
manual: {
|
|
148
|
+
includeRecords: never[];
|
|
149
|
+
excludeRecords: never[];
|
|
150
|
+
selectAll: boolean;
|
|
151
|
+
};
|
|
152
|
+
dynamic: {};
|
|
153
|
+
type: string;
|
|
154
|
+
sorting: {
|
|
155
|
+
option: null;
|
|
156
|
+
}[];
|
|
157
|
+
noOfItemsToLoad: string;
|
|
158
|
+
itemsToLoad: number;
|
|
159
|
+
showAllItems: boolean;
|
|
160
|
+
aggregations: never[];
|
|
161
|
+
renderOnServer: boolean;
|
|
162
|
+
};
|
|
163
|
+
drivenByUrl: boolean;
|
|
164
|
+
filterApis: {
|
|
165
|
+
conditions: {
|
|
166
|
+
id: boolean;
|
|
167
|
+
};
|
|
168
|
+
value: DATA_CONNECTOR_ITEMS_LIST;
|
|
169
|
+
label: string;
|
|
170
|
+
apiKey: dataConnectorapis;
|
|
171
|
+
isActive: boolean;
|
|
172
|
+
payload: {
|
|
173
|
+
id: null;
|
|
174
|
+
};
|
|
175
|
+
}[];
|
|
176
|
+
};
|
|
141
177
|
export declare const dataConnectorApiOptions: ({
|
|
142
178
|
value: DATA_CONNECTOR_ITEMS_LIST;
|
|
143
179
|
label: string;
|
|
@@ -182,6 +218,7 @@ export declare const dataConnectorApiOptions: ({
|
|
|
182
218
|
value: DATA_CONNECTOR_ITEMS_LIST;
|
|
183
219
|
label: string;
|
|
184
220
|
apiKey: dataConnectorapis;
|
|
221
|
+
payload: {};
|
|
185
222
|
apiControls: {
|
|
186
223
|
manual: {
|
|
187
224
|
includeRecords: never[];
|
|
@@ -200,19 +237,14 @@ export declare const dataConnectorApiOptions: ({
|
|
|
200
237
|
renderOnServer: boolean;
|
|
201
238
|
};
|
|
202
239
|
drivenByUrl: boolean;
|
|
203
|
-
payload: {
|
|
204
|
-
searchKeywords: string;
|
|
205
|
-
skip: number;
|
|
206
|
-
take: number;
|
|
207
|
-
};
|
|
208
240
|
filterApis: {
|
|
241
|
+
conditions: {
|
|
242
|
+
id: boolean;
|
|
243
|
+
};
|
|
209
244
|
value: DATA_CONNECTOR_ITEMS_LIST;
|
|
210
245
|
label: string;
|
|
211
246
|
apiKey: dataConnectorapis;
|
|
212
247
|
isActive: boolean;
|
|
213
|
-
conditions: {
|
|
214
|
-
id: boolean;
|
|
215
|
-
};
|
|
216
248
|
payload: {
|
|
217
249
|
id: null;
|
|
218
250
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ApiMethods } from "../../builder/enums/data-connectors";
|
|
2
|
+
export declare const OPTION_FAMILIES_GET_ALL_URL = "/search/option-families/get-all";
|
|
2
3
|
export declare const dataConnectorApisData: {
|
|
3
4
|
PRODUST: {
|
|
4
5
|
url: string;
|
|
@@ -56,6 +57,14 @@ export declare const dataConnectorApisData: {
|
|
|
56
57
|
url: string;
|
|
57
58
|
method: ApiMethods;
|
|
58
59
|
};
|
|
60
|
+
OPTION_FAMILIES: {
|
|
61
|
+
url: string;
|
|
62
|
+
method: ApiMethods;
|
|
63
|
+
};
|
|
64
|
+
OPTION_FAMILY_BY_ID: {
|
|
65
|
+
url: string;
|
|
66
|
+
method: ApiMethods;
|
|
67
|
+
};
|
|
59
68
|
};
|
|
60
69
|
export declare enum DATA_CONNECTOR_ITEMS_LIST {
|
|
61
70
|
PRODUCT_BY_ID = "Product By Id",
|
|
@@ -75,5 +84,7 @@ export declare enum DATA_CONNECTOR_ITEMS_LIST {
|
|
|
75
84
|
PRODUCTS = "Products",
|
|
76
85
|
BUNDLES_BY_ID = "Bundles By Id",
|
|
77
86
|
CATEGORY_GROUPS = "Category Groups",
|
|
78
|
-
CATEGORIES_BY_GROUP_ID = "Categories By Group"
|
|
87
|
+
CATEGORIES_BY_GROUP_ID = "Categories By Group",
|
|
88
|
+
OPTION_FAMILIES = "Option Families",
|
|
89
|
+
OPTION_FAMILY_BY_ID = "Option Family By Id"
|
|
79
90
|
}
|
|
@@ -20,5 +20,13 @@ export interface ThemeSettingsInterface {
|
|
|
20
20
|
id?: string;
|
|
21
21
|
postData: boolean;
|
|
22
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* The URL for a GET data set: `{key}` segments in the URL (e.g.
|
|
25
|
+
* "/search/option-families/{id}") are filled from the payload, and the rest of the
|
|
26
|
+
* payload becomes the query string. URLs without placeholders come out exactly as
|
|
27
|
+
* `url?query` did before. A placeholder with no value is left as "undefined", which the
|
|
28
|
+
* data-set builders already treat as "do not call".
|
|
29
|
+
*/
|
|
30
|
+
export declare function buildGetRequestUrl(url: string, payload?: any): string;
|
|
23
31
|
export declare function createQueryStringForCollection(queryObject: any): string;
|
|
24
32
|
export declare const parseThemeSettings: (data: ThemeSettingsInterface) => ThemeSettingsInterface;
|