@sc-360-v2/storefront-cms-library 0.5.63 → 0.5.65

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.
@@ -0,0 +1,30 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
4
+ }
5
+ interface selfLayoutInterface {
6
+ selectorKey: string;
7
+ showArrows: CMSIBCommonInterface;
8
+ allowAutoScroll: CMSIBCommonInterface;
9
+ loopItems: CMSIBCommonInterface;
10
+ itemGap: CMSIBCommonInterface;
11
+ }
12
+ export interface selfDesignInterface {
13
+ selectorKey: string;
14
+ }
15
+ export declare enum SelectorKeysEnum {
16
+ LAYOUT = "layout",
17
+ DESIGN = "design",
18
+ CONTENT = "content",
19
+ DATA_CONNECTOR = "dataConnector"
20
+ }
21
+ /**
22
+ * Complete default state, the way every other element declares one. The design
23
+ * half is not decoration: bundleCategories.scss reads `--_ctm-dn-br-*` for the
24
+ * border, `--_ctm-dn-sw-*` for the shadow and the background/gradient set from
25
+ * `backgroundProperties`, so a control missing here is a CSS variable the
26
+ * stylesheet resolves to nothing. Likewise the layout half covers `--_ctm-lt-ht`,
27
+ * `--_ctm-lt-mn`, `--_ctm-lt-pg` and the width value the strip sizes itself by.
28
+ */
29
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
30
+ export {};
@@ -1,4 +1,4 @@
1
- import { CMSElementEditTypes } from "../../enums";
1
+ import { CMSCSSUnitTypesEnums, CMSElementEditTypes } from "../../enums";
2
2
  import { CMSIBCommonInterface } from "../../interfaces/global";
3
3
  import { CMSElementEditPopupInterface } from "./common";
4
4
  export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
@@ -153,7 +153,7 @@ export declare const getDefaultData: () => {
153
153
  dividerWeight: {
154
154
  value: string;
155
155
  property: string;
156
- unit: import("../../enums").CMSCSSUnitTypesEnums;
156
+ unit: CMSCSSUnitTypesEnums;
157
157
  propertyType: CMSElementEditTypes;
158
158
  };
159
159
  dividerColor: {
@@ -402,6 +402,12 @@ export declare const getDefaultData: () => {
402
402
  };
403
403
  countdownWidgetTextContainerLayout: {
404
404
  selectorKey: SelectorKeysEnum;
405
+ textContainerWidth: {
406
+ value: string;
407
+ property: string;
408
+ unit: CMSCSSUnitTypesEnums;
409
+ propertyType: CMSElementEditTypes;
410
+ };
405
411
  textVerticalPadding: {
406
412
  value: string;
407
413
  property: string;
@@ -28,6 +28,7 @@ interface selfLayoutInterface {
28
28
  showMoreItems: CMSIBCommonInterface;
29
29
  verticalSpacingBetweenItems: CMSIBCommonInterface;
30
30
  showOptionsFilter: CMSIBCommonInterface;
31
+ selectedItemsView: CMSIBCommonInterface;
31
32
  }
32
33
  interface selfDesignInterface {
33
34
  selectorKey: string;
@@ -93,6 +94,8 @@ export declare enum SelectorKeysEnum {
93
94
  CHIP_BUTTON_HOVER_STATE = "selectedItemHoverState",
94
95
  OPTION_STYLE = "optionStyle",
95
96
  SEARCH_BAR = "searchBar",
97
+ SEARCH_BAR_DEFAULT_STATE = "searchBarDefaultState",
98
+ SEARCH_BAR_FOCUS_STATE = "searchBarFocusState",
96
99
  MORE_BUTTON = "moreButton",
97
100
  MORE_BUTTON_DEFAULT_STATE = "moreButtonDefaultState",
98
101
  MORE_BUTTON_HOVER_STATE = "moreButtonHoverState",
@@ -51,6 +51,7 @@ import * as productOptions from "./productOptions";
51
51
  import * as brand from "./brand";
52
52
  import * as bundle from "./bundle";
53
53
  import * as bundleDetails from "./bundleDetails";
54
+ import * as bundleCategories from "./bundleCategories";
54
55
  import * as category from "./category";
55
56
  import * as subCategory from "./subCategory";
56
57
  import * as brandImage from "./brandImage";
@@ -119,4 +120,4 @@ import * as embroidery from "./embroidery";
119
120
  import * as stockStatus from "./stockStatus";
120
121
  import * as kitDetails from "./kitDetails";
121
122
  import * as kits from "./kits";
122
- 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, shippingPayments, coupon, productDescription, megaMenu, megaMenuContainer, simpleList, cartWrapper, optionBar, myTemplates, requestForQuote, categoryGroups, embroidery, stockStatus, page, lastXOrdersButton, quickInventoryCheck, productLabels, kitDetails, kits, };
123
+ 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, };
@@ -16,6 +16,7 @@ export interface ButtonLayoutInterface {
16
16
  showCompareListAs: CMSIBCommonInterface;
17
17
  addToQuote: CMSIBCommonInterface;
18
18
  addToOrderTemplate: CMSIBCommonInterface;
19
+ viewDetails: CMSIBCommonInterface;
19
20
  notifyMe: CMSIBCommonInterface;
20
21
  download: CMSIBCommonInterface;
21
22
  displayStyle: CMSIBCommonInterface;
@@ -41,6 +42,7 @@ export interface selfDesignInterface {
41
42
  compare: any;
42
43
  addToQuote: any;
43
44
  addToOrderTemplate: any;
45
+ viewDetails: any;
44
46
  notifyMe: any;
45
47
  download: any;
46
48
  hoverState: any;
@@ -59,6 +61,7 @@ export declare enum ButtonSelectorKeysEnum {
59
61
  COMPARE = "compare",
60
62
  ADD_TO_QUOTE = "addToQuote",
61
63
  ADD_TO_ORDER_TEMPLATE = "addToOrderTemplate",
64
+ VIEW_DETAILS = "viewDetails",
62
65
  NOTIFY_ME = "notifyMe",
63
66
  DOWNLOAD = "download",
64
67
  MORE = "more",
@@ -33,6 +33,49 @@ interface selfDesignInterface {
33
33
  quoteStatus: {
34
34
  selectorKey: string;
35
35
  };
36
+ iconActions: {
37
+ selectorKey: string;
38
+ viewIcon: {
39
+ selectorKey: string;
40
+ showIcon: CMSIBCommonInterface;
41
+ iconSize: CMSIBCommonInterface;
42
+ iconColor: CMSIBCommonInterface;
43
+ strokeWidth: CMSIBCommonInterface;
44
+ icon: CMSIBCommonInterface;
45
+ };
46
+ printIcon: {
47
+ selectorKey: string;
48
+ showIcon: CMSIBCommonInterface;
49
+ iconSize: CMSIBCommonInterface;
50
+ iconColor: CMSIBCommonInterface;
51
+ strokeWidth: CMSIBCommonInterface;
52
+ icon: CMSIBCommonInterface;
53
+ };
54
+ downloadIcon: {
55
+ selectorKey: string;
56
+ showIcon: CMSIBCommonInterface;
57
+ iconSize: CMSIBCommonInterface;
58
+ iconColor: CMSIBCommonInterface;
59
+ strokeWidth: CMSIBCommonInterface;
60
+ icon: CMSIBCommonInterface;
61
+ };
62
+ cancelIcon: {
63
+ selectorKey: string;
64
+ showIcon: CMSIBCommonInterface;
65
+ iconSize: CMSIBCommonInterface;
66
+ iconColor: CMSIBCommonInterface;
67
+ strokeWidth: CMSIBCommonInterface;
68
+ icon: CMSIBCommonInterface;
69
+ };
70
+ sendMessageIcon: {
71
+ selectorKey: string;
72
+ showIcon: CMSIBCommonInterface;
73
+ iconSize: CMSIBCommonInterface;
74
+ iconColor: CMSIBCommonInterface;
75
+ strokeWidth: CMSIBCommonInterface;
76
+ icon: CMSIBCommonInterface;
77
+ };
78
+ };
36
79
  paginationArrows: {
37
80
  selectorKey: string;
38
81
  arrowIconStyle: CMSIBCommonInterface;
@@ -41,6 +84,7 @@ interface selfDesignInterface {
41
84
  backgroundShape: CMSIBCommonInterface;
42
85
  arrowSize: CMSIBCommonInterface;
43
86
  arrowColor: CMSIBCommonInterface;
87
+ backgroundColor: CMSIBCommonInterface;
44
88
  };
45
89
  }
46
90
  export declare enum SelectorKeysEnum {
@@ -52,6 +96,12 @@ export declare enum SelectorKeysEnum {
52
96
  QUOTE_ID = "quoteId",
53
97
  RAISED_ON = "raisedOn",
54
98
  QUOTE_STATUS = "quoteStatus",
99
+ ICON_ACTIONS = "iconActions",
100
+ VIEW_ICON = "viewIcon",
101
+ PRINT_ICON = "printIcon",
102
+ DOWNLOAD_ICON = "downloadIcon",
103
+ CANCEL_ICON = "cancelIcon",
104
+ SEND_MESSAGE_ICON = "sendMessageIcon",
55
105
  PAGINATION_ARROWS = "pagination-arrows"
56
106
  }
57
107
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
@@ -78,6 +78,14 @@ export interface TableControlInterface {
78
78
  tableRow?: {
79
79
  selectorKey?: string;
80
80
  backgroundColor?: CMSIBCommonInterface;
81
+ defaultState?: {
82
+ selectorKey?: string;
83
+ backgroundColor?: CMSIBCommonInterface;
84
+ };
85
+ hoverState?: {
86
+ selectorKey?: string;
87
+ backgroundColor?: CMSIBCommonInterface;
88
+ };
81
89
  };
82
90
  rowText?: {
83
91
  selectorKey?: string;
@@ -140,6 +148,12 @@ export interface TableControlInterface {
140
148
  hoverState?: {
141
149
  selectorKey: string;
142
150
  theme: CMSIBCommonInterface;
151
+ previousIcon?: CMSIBCommonInterface;
152
+ nextIcon?: CMSIBCommonInterface;
153
+ iconSize?: CMSIBCommonInterface;
154
+ iconColor?: CMSIBCommonInterface;
155
+ strokeWidth?: CMSIBCommonInterface;
156
+ [key: string]: any;
143
157
  backgroundShape?: CMSIBCommonInterface;
144
158
  backgroundColor?: CMSIBCommonInterface;
145
159
  font?: CMSIBCommonInterface;