@sc-360-v2/storefront-cms-library 0.3.41 → 0.3.43

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.
@@ -17,7 +17,13 @@ export declare enum SelectorKeysEnum {
17
17
  PRODUCT_QUANTITY_STYLES = "productQuantityStyles",
18
18
  PRODUCT_IMAGE_STYLES = "productImageStyles",
19
19
  PRODUCT_REQUIRED_INFO = "productRequiredInfo",
20
- PRODUCT_ATTRIBUTES_ITEMS = "productAttributesItems"
20
+ PRODUCT_ATTRIBUTES_ITEMS = "productAttributesItems",
21
+ PRODUCT_ACTION = "productAction",
22
+ PRODUCT_ACTIONEDIT = "productActionEdit",
23
+ PRODUCT_ACTIONWISHLIST = "productActionwishlist",
24
+ PRODUCT_ACTIONDELETE = "productActiondelete",
25
+ HOVER_STATE = "hoverState",
26
+ DEFAULT_STATE = "defaultState"
21
27
  }
22
28
  export declare const getDefaultData: () => {
23
29
  layout: {
@@ -236,18 +242,102 @@ export declare const getDefaultData: () => {
236
242
  selectorKey: SelectorKeysEnum;
237
243
  };
238
244
  productNameStyles: {
239
- theme: CMSIBCommonInterface;
240
- font: CMSIBCommonInterface;
241
- fontSize: import("../../interfaces/global").CMSIBSizeInterface;
242
- textColor: CMSIBCommonInterface;
243
- bold: CMSIBCommonInterface;
244
- italic: CMSIBCommonInterface;
245
- linethrough: CMSIBCommonInterface;
246
- underline: CMSIBCommonInterface;
247
- textAlign: CMSIBCommonInterface;
248
- characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
249
- lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
250
- backgroundColor: CMSIBCommonInterface;
245
+ theme: {
246
+ value: string;
247
+ property: string;
248
+ propertyType: CMSElementEditTypes;
249
+ };
250
+ font: {
251
+ value: string;
252
+ property: string;
253
+ propertyType: CMSElementEditTypes;
254
+ parentRef: string;
255
+ };
256
+ fontSize: {
257
+ value: number;
258
+ unit: number;
259
+ property: string;
260
+ propertyType: CMSElementEditTypes;
261
+ parentRef: string;
262
+ };
263
+ textColor: {
264
+ value: {
265
+ hex: string;
266
+ rgb: {
267
+ r: string;
268
+ g: string;
269
+ b: string;
270
+ a: number;
271
+ };
272
+ };
273
+ property: string;
274
+ propertyType: CMSElementEditTypes;
275
+ parentRef: string;
276
+ };
277
+ textHighlight: {
278
+ value: {
279
+ hex: string;
280
+ rgb: {
281
+ r: string;
282
+ g: string;
283
+ b: string;
284
+ a: number;
285
+ };
286
+ };
287
+ property: string;
288
+ propertyType: CMSElementEditTypes;
289
+ };
290
+ bold: {
291
+ value: string;
292
+ property: string;
293
+ propertyType: CMSElementEditTypes;
294
+ parentRef: string;
295
+ };
296
+ italic: {
297
+ value: string;
298
+ property: string;
299
+ propertyType: CMSElementEditTypes;
300
+ parentRef: string;
301
+ };
302
+ linethrough: {
303
+ value: string;
304
+ property: string;
305
+ propertyType: CMSElementEditTypes;
306
+ parentRef: string;
307
+ };
308
+ underline: {
309
+ value: string;
310
+ property: string;
311
+ propertyType: CMSElementEditTypes;
312
+ parentRef: string;
313
+ };
314
+ textAlign: {
315
+ value: string;
316
+ property: string;
317
+ propertyType: CMSElementEditTypes;
318
+ parentRef: string;
319
+ };
320
+ characterSpacing: {
321
+ value: number;
322
+ unit: number;
323
+ property: string;
324
+ propertyType: CMSElementEditTypes;
325
+ parentRef: string;
326
+ };
327
+ lineHeight: {
328
+ value: number;
329
+ unit: number;
330
+ property: string;
331
+ propertyType: CMSElementEditTypes;
332
+ parentRef: string;
333
+ };
334
+ paragraphSpacing: {
335
+ value: number;
336
+ unit: number;
337
+ property: string;
338
+ propertyType: CMSElementEditTypes;
339
+ parentRef: string;
340
+ };
251
341
  selectorKey: SelectorKeysEnum;
252
342
  };
253
343
  productPriceStyles: {
@@ -379,6 +469,137 @@ export declare const getDefaultData: () => {
379
469
  shadows: import("../../interfaces/global").CMSIBSizeInterface;
380
470
  selectorKey: SelectorKeysEnum;
381
471
  };
472
+ productAction: {
473
+ productActionEdit: {
474
+ selectorKey: SelectorKeysEnum;
475
+ defaultState: {
476
+ theme: CMSIBCommonInterface;
477
+ font: CMSIBCommonInterface;
478
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
479
+ textColor: CMSIBCommonInterface;
480
+ bold: CMSIBCommonInterface;
481
+ italic: CMSIBCommonInterface;
482
+ linethrough: CMSIBCommonInterface;
483
+ underline: CMSIBCommonInterface;
484
+ textAlign: CMSIBCommonInterface;
485
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
486
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
487
+ backgroundColor: CMSIBCommonInterface;
488
+ borderColor: CMSIBCommonInterface;
489
+ borderStyle: CMSIBCommonInterface;
490
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
491
+ showBorder: CMSIBCommonInterface;
492
+ showShadow: CMSIBCommonInterface;
493
+ shadowColor: CMSIBCommonInterface;
494
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
495
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
496
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
497
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
498
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
499
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
500
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
501
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
502
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
503
+ selectorKey: SelectorKeysEnum;
504
+ };
505
+ hoverState: {
506
+ theme: CMSIBCommonInterface;
507
+ font: CMSIBCommonInterface;
508
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
509
+ textColor: CMSIBCommonInterface;
510
+ bold: CMSIBCommonInterface;
511
+ italic: CMSIBCommonInterface;
512
+ linethrough: CMSIBCommonInterface;
513
+ underline: CMSIBCommonInterface;
514
+ textAlign: CMSIBCommonInterface;
515
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
516
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
517
+ backgroundColor: CMSIBCommonInterface;
518
+ borderColor: CMSIBCommonInterface;
519
+ borderStyle: CMSIBCommonInterface;
520
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
521
+ showBorder: CMSIBCommonInterface;
522
+ showShadow: CMSIBCommonInterface;
523
+ shadowColor: CMSIBCommonInterface;
524
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
525
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
526
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
527
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
528
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
529
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
530
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
531
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
532
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
533
+ selectorKey: SelectorKeysEnum;
534
+ };
535
+ };
536
+ productActionWishlist: {
537
+ icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
538
+ showIcon: {
539
+ value: boolean;
540
+ property?: any;
541
+ propertyType?: any;
542
+ isReadOnly?: boolean | undefined;
543
+ parentRef?: string | undefined;
544
+ };
545
+ iconSize: import("../../interfaces/global").CMSIBSizeInterface;
546
+ iconColor: CMSIBCommonInterface;
547
+ selectorKey: SelectorKeysEnum;
548
+ };
549
+ productActionDelete: {
550
+ icon: {
551
+ unit?: string | number | undefined;
552
+ customIcon?: {
553
+ isCustomIcon: boolean;
554
+ url: string;
555
+ name: string;
556
+ } | undefined;
557
+ value?: any;
558
+ property?: any;
559
+ propertyType?: any;
560
+ isReadOnly?: boolean | undefined;
561
+ parentRef?: string | undefined;
562
+ };
563
+ showIcon: {
564
+ value: boolean;
565
+ property?: any;
566
+ propertyType?: any;
567
+ isReadOnly?: boolean | undefined;
568
+ parentRef?: string | undefined;
569
+ };
570
+ iconSize: import("../../interfaces/global").CMSIBSizeInterface;
571
+ iconColor: CMSIBCommonInterface;
572
+ selectorKey: SelectorKeysEnum;
573
+ };
574
+ theme: CMSIBCommonInterface;
575
+ font: CMSIBCommonInterface;
576
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
577
+ textColor: CMSIBCommonInterface;
578
+ bold: CMSIBCommonInterface;
579
+ italic: CMSIBCommonInterface;
580
+ linethrough: CMSIBCommonInterface;
581
+ underline: CMSIBCommonInterface;
582
+ textAlign: CMSIBCommonInterface;
583
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
584
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
585
+ backgroundColor: CMSIBCommonInterface;
586
+ borderColor: CMSIBCommonInterface;
587
+ borderStyle: CMSIBCommonInterface;
588
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
589
+ showBorder: CMSIBCommonInterface;
590
+ showShadow: CMSIBCommonInterface;
591
+ shadowColor: CMSIBCommonInterface;
592
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
593
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
594
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
595
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
596
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
597
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
598
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
599
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
600
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
601
+ selectorKey: SelectorKeysEnum;
602
+ };
382
603
  };
383
604
  content: {
384
605
  selectorKey: SelectorKeysEnum;
@@ -134,24 +134,6 @@ export declare const getDefaultData: () => {
134
134
  property: string;
135
135
  propertyType: CMSElementEditTypes;
136
136
  };
137
- headingPadding: {
138
- value: number;
139
- property: string;
140
- propertyType: CMSElementEditTypes;
141
- unit: number;
142
- };
143
- bodyPadding: {
144
- value: number;
145
- property: string;
146
- propertyType: CMSElementEditTypes;
147
- unit: number;
148
- };
149
- buttonPadding: {
150
- value: number;
151
- property: string;
152
- propertyType: CMSElementEditTypes;
153
- unit: number;
154
- };
155
137
  };
156
138
  design: {
157
139
  selectorKey: SelectorKeysEnum;
@@ -161,19 +143,10 @@ export declare const getDefaultData: () => {
161
143
  iconColor: CMSIBCommonInterface;
162
144
  iconSize: import("../../interfaces/global").CMSIBSizeInterface;
163
145
  icon: import("../../interfaces/global").CMSIBIconInterface | undefined;
164
- iconTwo: {
165
- property: string;
166
- unit?: string | number | undefined;
167
- customIcon?: {
168
- isCustomIcon: boolean;
169
- url: string;
170
- name: string;
171
- } | undefined;
172
- value?: any;
173
- propertyType?: any;
174
- isReadOnly?: boolean | undefined;
175
- parentRef?: string | undefined;
176
- };
146
+ showIconDesc: CMSIBCommonInterface | undefined;
147
+ iconColorDesc: CMSIBCommonInterface;
148
+ iconSizeDesc: import("../../interfaces/global").CMSIBSizeInterface;
149
+ iconDesc: import("../../interfaces/global").CMSIBIconInterface | undefined;
177
150
  };
178
151
  headerContainer: {
179
152
  theme: CMSIBCommonInterface;
@@ -92,8 +92,14 @@ export interface CMSElementEditPopupDesignInterface {
92
92
  overlayColor: CMSIBCommonInterface;
93
93
  textPosition: CMSIBCommonInterface;
94
94
  verticalAlignment: CMSIBCommonInterface;
95
+ horizontalAlignment: CMSIBCommonInterface;
95
96
  textHorizontalPadding: CMSIBSizeInterface;
96
97
  dividerColor: CMSIBCommonInterface;
98
+ iconColorDesc: CMSIBCommonInterface;
99
+ iconSizeDesc: CMSIBSizeInterface;
100
+ itemSpacing: CMSIBSizeInterface;
101
+ itemGap: CMSIBSizeInterface;
102
+ gap: CMSIBSizeInterface;
97
103
  }
98
104
  export interface CMSElementEditPopupInterface<L = CMSElementEditPopupLayoutInterface, D = CMSElementEditPopupDesignInterface> {
99
105
  layout?: L;
@@ -99,4 +99,5 @@ import * as languageMenu from "./language-menu";
99
99
  import * as cartAttributes from "./cartAttributes";
100
100
  import * as loader from "./loader";
101
101
  import * as addProductsTab from "./addProductsTab";
102
- 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, productCustomizations, iconList, orderStatus, menuV2, menuItem, layouterPro, layouterProItem, filterResults, productSizeChart, userElements, badge, cartAttributes, languageMenu, loader, addProductsTab, };
102
+ import * as quotaDetails from "./quotaDetails";
103
+ 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, productCustomizations, iconList, orderStatus, menuV2, menuItem, layouterPro, layouterProItem, filterResults, productSizeChart, userElements, badge, cartAttributes, languageMenu, loader, addProductsTab, quotaDetails, };