@sc-360-v2/storefront-cms-library 0.3.62 → 0.3.64

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.
Files changed (52) hide show
  1. package/dist/add-products-tab copy.scss +9 -8
  2. package/dist/add-products-tab.scss +9 -8
  3. package/dist/badge.scss +87 -83
  4. package/dist/builder.js +1 -1
  5. package/dist/cart-details.scss +82 -22
  6. package/dist/cart-summary.scss +18 -144
  7. package/dist/cart-wrapper.scss +127 -0
  8. package/dist/cartDropdownOverlay.scss +58 -4
  9. package/dist/checkbox-radio.scss +105 -0
  10. package/dist/checkout.scss +96 -573
  11. package/dist/dropdownTemplate.scss +58 -4
  12. package/dist/icon-list.scss +25 -19
  13. package/dist/icons.js +1 -1
  14. package/dist/image-for-product.scss +19 -0
  15. package/dist/index.js +1 -1
  16. package/dist/item-stock.scss +27 -26
  17. package/dist/mega-menu-container.scss +96 -0
  18. package/dist/mega-menu.scss +832 -0
  19. package/dist/menu-v2.scss +30 -5
  20. package/dist/modal.scss +218 -8
  21. package/dist/myTemplates.scss +345 -20
  22. package/dist/order-status.scss +18 -15
  23. package/dist/past-orders.scss +279 -271
  24. package/dist/payment-methods.scss +72 -69
  25. package/dist/position-module.scss +2 -1
  26. package/dist/prefix-list.scss +3 -0
  27. package/dist/quick-links.scss +49 -46
  28. package/dist/quick-order-pad.scss +3 -0
  29. package/dist/quotes.scss +123 -117
  30. package/dist/rfqs.scss +123 -117
  31. package/dist/simple-list.scss +264 -0
  32. package/dist/submit-quote.scss +81 -113
  33. package/dist/templates.scss +299 -0
  34. package/dist/types/builder/elements/cart-wrapper/index.d.ts +44 -0
  35. package/dist/types/builder/elements/mega-menu/index.d.ts +47 -0
  36. package/dist/types/builder/elements/mega-menu-container/index.d.ts +44 -0
  37. package/dist/types/builder/elements/simple-list/index.d.ts +47 -0
  38. package/dist/types/builder/enums/index.d.ts +10 -1
  39. package/dist/types/builder/index.d.ts +5 -1
  40. package/dist/types/builder/tools/element-edit/cart-wrapper.d.ts +16 -0
  41. package/dist/types/builder/tools/element-edit/index.d.ts +8 -1
  42. package/dist/types/builder/tools/element-edit/mega-menu.d.ts +41 -0
  43. package/dist/types/builder/tools/element-edit/megaMenuContainer.d.ts +9 -0
  44. package/dist/types/builder/tools/element-edit/my-templates.d.ts +23 -0
  45. package/dist/types/builder/tools/element-edit/optionBar.d.ts +23 -0
  46. package/dist/types/builder/tools/element-edit/quickLinks.d.ts +111 -50
  47. package/dist/types/builder/tools/element-edit/request-for-quote.d.ts +23 -0
  48. package/dist/types/builder/tools/element-edit/simple-list.d.ts +37 -0
  49. package/dist/types/website/constants/data-connectors.d.ts +18 -0
  50. package/dist/website.js +1 -1
  51. package/dist/widget.scss +7 -0
  52. package/package.json +1 -1
@@ -0,0 +1,47 @@
1
+ import { CommonStyleProperties } from "../../../global/style-properties";
2
+ import { CMSHTMLAttributes } from "../../../global/attributes";
3
+ import { AlignSelfValue, BoxSizingValue, GridAreaValue, HeightValue, ResponsiveBehaviourTypes, JustifySelfValue, MarginValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue } from "../../../global/types";
4
+ import { BuilderAttributes } from "../common";
5
+ export interface MegaMenuStyleProperties extends CommonStyleProperties {
6
+ minHeight?: MinHeightValue;
7
+ height?: HeightValue;
8
+ minWidth?: MinWidthValue;
9
+ maxWidth?: MaxWidthValue;
10
+ maxHeight?: MaxHeightValue;
11
+ gridArea?: GridAreaValue;
12
+ boxSizing?: BoxSizingValue;
13
+ padding?: PaddingValue;
14
+ marginLeft?: MarginValue;
15
+ marginTop?: MarginValue;
16
+ marginBottom?: MarginValue;
17
+ marginRight?: MarginValue;
18
+ justifySelf?: JustifySelfValue;
19
+ alignSelf?: AlignSelfValue;
20
+ }
21
+ export declare const getDefaultStyles: () => MegaMenuStyleProperties;
22
+ export interface MegaMenuElementAttributes extends CMSHTMLAttributes {
23
+ role?: string;
24
+ ariaLabel?: string;
25
+ ariaDescribedBy?: string;
26
+ id?: string;
27
+ className?: string;
28
+ lang?: string;
29
+ dataMeta?: string;
30
+ }
31
+ export interface CMSMegaMenuInterface {
32
+ id?: string | number;
33
+ uniqueKey?: string | number;
34
+ children: any;
35
+ childIds: any[];
36
+ parentKey?: any;
37
+ childIdsV2?: any[];
38
+ attributes?: {
39
+ BUILDER?: Pick<BuilderAttributes, "dataDivType" | "dataType" | "dataElementType" | "dataDropElement">;
40
+ HTML?: MegaMenuElementAttributes;
41
+ CUSTOM?: any;
42
+ };
43
+ styles?: MegaMenuStyleProperties;
44
+ editedStyles?: CommonStyleProperties;
45
+ responsiveBehaviour: ResponsiveBehaviourTypes;
46
+ previewImage?: string;
47
+ }
@@ -0,0 +1,44 @@
1
+ import { CMSHTMLAttributes } from "../../../global/attributes";
2
+ import { CommonStyleProperties } from "../../../global/style-properties";
3
+ import { DisplayValue, ResponsiveBehaviourTypes } from "../../../global/types";
4
+ import { BuilderAttributes } from "../common";
5
+ export interface MegaMenuContainerStyleProperties extends CommonStyleProperties {
6
+ minWidth: string;
7
+ maxWidth: string;
8
+ maxHeight: string;
9
+ gridArea: string;
10
+ display: DisplayValue;
11
+ boxSizing: string;
12
+ rowGap: string;
13
+ columnGap: string;
14
+ gridTemplateRows: string;
15
+ gridTemplateColumns: string;
16
+ }
17
+ export declare const getDefaultStyles: () => MegaMenuContainerStyleProperties;
18
+ export interface CommonContainerElementAttributes extends CMSHTMLAttributes {
19
+ role?: string;
20
+ ariaLabel?: string;
21
+ ariaDescribedBy?: string;
22
+ id?: string;
23
+ className?: string;
24
+ lang?: string;
25
+ dataMeta?: string;
26
+ }
27
+ export interface MegaMenuContainerElementInterface {
28
+ id?: string | number;
29
+ uniqueKey?: string | number;
30
+ attributes?: {
31
+ BUILDER?: Pick<BuilderAttributes, "dataDivType" | "dataType" | "dataElementType" | "dataDropElement">;
32
+ HTML?: CommonContainerElementAttributes;
33
+ CUSTOM?: any;
34
+ };
35
+ styles?: MegaMenuContainerStyleProperties;
36
+ editedStyles?: CommonStyleProperties;
37
+ responsiveBehaviour: ResponsiveBehaviourTypes;
38
+ children: any;
39
+ childIds: any[];
40
+ previewImage?: string;
41
+ isMaximized?: boolean;
42
+ parentKey?: any;
43
+ childIdsV2?: any[];
44
+ }
@@ -0,0 +1,47 @@
1
+ import { CommonStyleProperties } from "../../../global/style-properties";
2
+ import { CMSHTMLAttributes } from "../../../global/attributes";
3
+ import { AlignSelfValue, BoxSizingValue, GridAreaValue, HeightValue, ResponsiveBehaviourTypes, JustifySelfValue, MarginValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue } from "../../../global/types";
4
+ import { BuilderAttributes } from "../common";
5
+ export interface SimpleListStyleProperties extends CommonStyleProperties {
6
+ minHeight?: MinHeightValue;
7
+ height?: HeightValue;
8
+ minWidth?: MinWidthValue;
9
+ maxWidth?: MaxWidthValue;
10
+ maxHeight?: MaxHeightValue;
11
+ gridArea?: GridAreaValue;
12
+ boxSizing?: BoxSizingValue;
13
+ padding?: PaddingValue;
14
+ marginLeft?: MarginValue;
15
+ marginTop?: MarginValue;
16
+ marginBottom?: MarginValue;
17
+ marginRight?: MarginValue;
18
+ justifySelf?: JustifySelfValue;
19
+ alignSelf?: AlignSelfValue;
20
+ }
21
+ export declare const getDefaultStyles: () => SimpleListStyleProperties;
22
+ export interface SimpleListElementAttributes extends CMSHTMLAttributes {
23
+ role?: string;
24
+ ariaLabel?: string;
25
+ ariaDescribedBy?: string;
26
+ id?: string;
27
+ className?: string;
28
+ lang?: string;
29
+ dataMeta?: string;
30
+ }
31
+ export interface CMSSimpleListInterface {
32
+ id?: string | number;
33
+ uniqueKey?: string | number;
34
+ children: any;
35
+ childIds: any[];
36
+ parentKey?: any;
37
+ childIdsV2?: any[];
38
+ attributes?: {
39
+ BUILDER?: Pick<BuilderAttributes, "dataDivType" | "dataType" | "dataElementType" | "dataDropElement">;
40
+ HTML?: SimpleListElementAttributes;
41
+ CUSTOM?: any;
42
+ };
43
+ styles?: SimpleListStyleProperties;
44
+ editedStyles?: CommonStyleProperties;
45
+ responsiveBehaviour: ResponsiveBehaviourTypes;
46
+ previewImage?: string;
47
+ }
@@ -71,9 +71,12 @@ 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
+ megaMenuWrapper = "cms-mega-menu-wrapper",
75
+ megaMenuContainerWrapper = "cms-mega-menu-container-wrapper",
74
76
  menuItemWrapper = "cms-menu-item-wrapper",
75
77
  animation = "flex-animation-element",
76
- categoryGroupsWrapper = "cms-category-groups-wrapper"
78
+ categoryGroupsWrapper = "cms-category-groups-wrapper",
79
+ cartWrapper = "cms-cart-element-wrapper"
77
80
  }
78
81
  export declare enum CMSElementSelectors {
79
82
  iframeSelector = "iframe[data-title='iframe__playground']",
@@ -320,6 +323,8 @@ export declare const CMSElementsListEnum: {
320
323
  ICON_LIST: string;
321
324
  MENU_V2: string;
322
325
  MENU_ITEM: string;
326
+ MEGA_MENU: string;
327
+ MEGA_MENU_CONTAINER: string;
323
328
  SIMPLE_LIST: string;
324
329
  SIMPLE_LIST_ITEM: string;
325
330
  LAYOUTER_PRO: string;
@@ -339,6 +344,10 @@ export declare const CMSElementsListEnum: {
339
344
  USER_GROUP_SELECTOR: string;
340
345
  SHIPPING_PAYMENT: string;
341
346
  CATEGORY_GROUPS: string;
347
+ CART_WRAPPER: string;
348
+ OPTION_BAR: string;
349
+ MY_TEMPLATES: string;
350
+ REQUEST_FOR_QUOTE: string;
342
351
  };
343
352
  export declare enum CMSResponsiveModeEnums {
344
353
  DESKTOP = "desktop",
@@ -86,4 +86,8 @@ import * as cartAttributesSchema from "./elements/cart-attributes/index";
86
86
  import * as loaderSchema from "./elements/loader/index";
87
87
  import * as addProductsTabSchema from "./elements/add-products-tab/index";
88
88
  import * as shippingPaymentsSchema from "./elements/shipping-payment";
89
- export { ElementEditSchema, amountEstimatorSchema, bulkVariantPickerSchema, buttonSchema, cmsTypes, codeSchema, commonFunctions, containerSchema, countdownSchema, embedSchema, enums, faqSchema, gallerySliderSchema, gridSchema, imageHotspotSchema, imageSchema, interfaces, mapSchema, paymentMethodsSchema, pickupLocationsSchema, priceSchema, productActionsSchema, productHighlightsSchema, productImageSchema, productInventorySchema, productPromotionsSchema, quantitySelectorSchema, scrollSchema, sectionSchema, shippingEstimatorSchema, socialIconsSchema, stackSchema, storeLocationsSchema, tabSchema, tableSchema, textSchema, uomSelectorSchema, variantPickerSchema, videoSChema, volumePricingSchema, lightboxSchema, cartSchema, profileSchema, productSchema, repeaterSchema, brandSchema, bundleSchema, bundleDetailsSchema, brandImageSchema, lightBoxV2Schema, searchSchema, layouterSchema, layouterItemSchema, categoryDetailsSchema, contactUsSchema, loginSchema, createFormSchema, resetPasswordSchema, searchResultsHeadingSchema, itemStockSchema, lineItemSchema, tabsV2Schema, tabsContainerSchema, marchandiserSetsSchema, formBuilder, quickLinksSchema, addOrderSchema, buyForTabsSchema, buyForTabsContainerSchema, checkoutSchema, cartSummarySchema, toasterSchema, spotlightSchema, productCustomizationsSchema, iconListSchema, orderStatusSchema, menuV2Schema, menuItemSchema, layouterProSchema, layouterProItemSchema, userElementsSchema, filterResultsSchema, productSizeChartSchema, badgeSchema, cartAttributesSchema, loaderSchema, addProductsTabSchema, shippingPaymentsSchema, };
89
+ import * as megaMenuSchema from "./elements/mega-menu";
90
+ import * as megaMenuContainerSchema from "./elements/mega-menu-container";
91
+ import * as simpleListSchema from "./elements/simple-list";
92
+ import * as cartWrapperSchema from "./elements/cart-wrapper";
93
+ export { ElementEditSchema, amountEstimatorSchema, bulkVariantPickerSchema, buttonSchema, cmsTypes, codeSchema, commonFunctions, containerSchema, countdownSchema, embedSchema, enums, faqSchema, gallerySliderSchema, gridSchema, imageHotspotSchema, imageSchema, interfaces, mapSchema, paymentMethodsSchema, pickupLocationsSchema, priceSchema, productActionsSchema, productHighlightsSchema, productImageSchema, productInventorySchema, productPromotionsSchema, quantitySelectorSchema, scrollSchema, sectionSchema, shippingEstimatorSchema, socialIconsSchema, stackSchema, storeLocationsSchema, tabSchema, tableSchema, textSchema, uomSelectorSchema, variantPickerSchema, videoSChema, volumePricingSchema, lightboxSchema, cartSchema, profileSchema, productSchema, repeaterSchema, brandSchema, bundleSchema, bundleDetailsSchema, brandImageSchema, lightBoxV2Schema, searchSchema, layouterSchema, layouterItemSchema, categoryDetailsSchema, contactUsSchema, loginSchema, createFormSchema, resetPasswordSchema, searchResultsHeadingSchema, itemStockSchema, lineItemSchema, tabsV2Schema, tabsContainerSchema, marchandiserSetsSchema, formBuilder, quickLinksSchema, addOrderSchema, buyForTabsSchema, buyForTabsContainerSchema, checkoutSchema, cartSummarySchema, toasterSchema, spotlightSchema, productCustomizationsSchema, iconListSchema, orderStatusSchema, menuV2Schema, menuItemSchema, layouterProSchema, layouterProItemSchema, userElementsSchema, filterResultsSchema, productSizeChartSchema, badgeSchema, cartAttributesSchema, loaderSchema, addProductsTabSchema, shippingPaymentsSchema, megaMenuSchema, megaMenuContainerSchema, simpleListSchema, cartWrapperSchema, };
@@ -0,0 +1,16 @@
1
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
2
+ export interface ContainerEditPopupInterface extends CMSElementEditPopupInterface {
3
+ }
4
+ interface selfLayoutInterface {
5
+ selectorKey: string;
6
+ }
7
+ export interface selfDesignInterface {
8
+ selectorKey: string;
9
+ }
10
+ export declare enum selfSelectorKeysEnum {
11
+ LAYOUT = "layout",
12
+ DESIGN = "design",
13
+ DATA_CONNECTOR = "dataConnector"
14
+ }
15
+ export declare const getDefaultData: (contentWidth?: any) => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
16
+ export {};
@@ -102,4 +102,11 @@ import * as addProductsTab from "./addProductsTab";
102
102
  import * as quotaDetails from "./quotaDetails";
103
103
  import * as shippingPayments from "./shipping-payments";
104
104
  import * as productDescription from "./productDescription";
105
- 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, productDescription, };
105
+ import * as megaMenu from "./mega-menu";
106
+ import * as megaMenuContainer from "./megaMenuContainer";
107
+ import * as simpleList from "./simple-list";
108
+ import * as cartWrapper from "./cart-wrapper";
109
+ import * as optionBar from "./optionBar";
110
+ import * as myTemplates from "./my-templates";
111
+ import * as requestForQuote from "./request-for-quote";
112
+ 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, productDescription, megaMenu, megaMenuContainer, simpleList, cartWrapper, optionBar, myTemplates, requestForQuote, };
@@ -0,0 +1,41 @@
1
+ import { CMSIBCommonInterface, PaddingProps } from "../../interfaces/global";
2
+ import { AlignItemsValue, JustifyContentValue, StackDirectionType } from "../../../global/types";
3
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
4
+ interface selfLayoutInterface {
5
+ selectorKey: string;
6
+ direction: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
7
+ value: StackDirectionType;
8
+ };
9
+ itemGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
10
+ justifyContent: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
11
+ value: JustifyContentValue;
12
+ };
13
+ alignItems: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
14
+ value: AlignItemsValue;
15
+ };
16
+ }
17
+ declare enum SelectorKeysEnum {
18
+ LAYOUT = "layout",
19
+ CONTENT = "content",
20
+ DESIGN = "design",
21
+ DEFAULT_STATE = "defaultState",
22
+ HOVER_STATE = "hoverState",
23
+ MENU_CONTAINER = "menuContainer",
24
+ MENU_ITEM_STYLE = "menuItemStyle",
25
+ SUB_MENU_CONTAINER = "subMenuContainer",
26
+ SUBMENU_ITEM_STYLE = "subMenuItemStyle",
27
+ HAMBURGER_OPTIONS = "hamburgerOptions",
28
+ HAMBURGER_STYLE = "hamburgerStyle",
29
+ SELECTED_STATE = "selected"
30
+ }
31
+ export interface selfDesignInterface {
32
+ selectorKey: string;
33
+ [SelectorKeysEnum.MENU_CONTAINER]: any;
34
+ [SelectorKeysEnum.MENU_ITEM_STYLE]: any;
35
+ [SelectorKeysEnum.SUB_MENU_CONTAINER]: any;
36
+ [SelectorKeysEnum.SUBMENU_ITEM_STYLE]: any;
37
+ [SelectorKeysEnum.HAMBURGER_OPTIONS]: any;
38
+ [SelectorKeysEnum.HAMBURGER_STYLE]: any;
39
+ }
40
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
41
+ export {};
@@ -0,0 +1,9 @@
1
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
2
+ export interface selfDesignInterface {
3
+ selectorKey: string;
4
+ }
5
+ export declare enum selfSelectorKeysEnum {
6
+ LAYOUT = "layout",
7
+ DESIGN = "design"
8
+ }
9
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
@@ -0,0 +1,23 @@
1
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
2
+ export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
3
+ }
4
+ interface selfLayoutInterface {
5
+ selectorKey: string;
6
+ }
7
+ interface selfDesignInterface {
8
+ selectorKey: string;
9
+ [key: string]: any;
10
+ }
11
+ export declare enum SelectorKeysEnum {
12
+ LAYOUT = "layout",
13
+ CONTENT = "content",
14
+ DESIGN = "design",
15
+ TITLE = "title",
16
+ ALLOCATION = "allocation",
17
+ ALLOCATION_CARD = "allocationCard",
18
+ DIVIDER = "divider",
19
+ QUOTA_DETAILS = "quotaDetails",
20
+ DEFAULT_STATE = "defaultState"
21
+ }
22
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
23
+ export {};
@@ -0,0 +1,23 @@
1
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
2
+ export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
3
+ }
4
+ interface selfLayoutInterface {
5
+ selectorKey: string;
6
+ }
7
+ interface selfDesignInterface {
8
+ selectorKey: string;
9
+ [key: string]: any;
10
+ }
11
+ export declare enum SelectorKeysEnum {
12
+ LAYOUT = "layout",
13
+ CONTENT = "content",
14
+ DESIGN = "design",
15
+ TITLE = "title",
16
+ ALLOCATION = "allocation",
17
+ ALLOCATION_CARD = "allocationCard",
18
+ DIVIDER = "divider",
19
+ QUOTA_DETAILS = "quotaDetails",
20
+ DEFAULT_STATE = "defaultState"
21
+ }
22
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
23
+ export {};
@@ -17,7 +17,9 @@ export declare enum QuickLinksSelectorKeysEnum {
17
17
  QuickLinks_WIDGET = "quickLinksWidgetDesign",
18
18
  QUICK_LINKS_TEXT_LAYOUT = "quickLinksTextLayout",
19
19
  QUICK_LINKS_WIDGET_LAYOUT = "quickLinksWidgetLayout",
20
- TEXT_CONTAINER_DESIGN = "quickLinksTextContainerDesign"
20
+ TEXT_CONTAINER_DESIGN = "quickLinksTextContainerDesign",
21
+ ITEM_STYLE_DEFAULT_STYLE = "itemStyleDefault",
22
+ ITEM_STYLE_HOVER_STYLE = "itemStyleHoverState"
21
23
  }
22
24
  export interface SelectorKeys {
23
25
  LAYOUT: string;
@@ -364,58 +366,117 @@ export declare const getDefaultData: () => {
364
366
  };
365
367
  itemStyle: {
366
368
  selectorKey: QuickLinksSelectorKeysEnum;
367
- backgroundColor: CMSIBCommonInterface;
368
- cropRatio: CMSIBCommonInterface;
369
- zoomImage: CMSIBCommonInterface;
370
- flip: CMSIBCommonInterface;
371
- rotate: import("../../interfaces/global").CMSIBSizeInterface;
372
- theme: CMSIBCommonInterface;
373
- font: CMSIBCommonInterface;
374
- fontSize: import("../../interfaces/global").CMSIBSizeInterface;
375
- textColor: CMSIBCommonInterface;
376
- bold: CMSIBCommonInterface;
377
- italic: CMSIBCommonInterface;
378
- linethrough: CMSIBCommonInterface;
379
- underline: CMSIBCommonInterface;
380
- textAlign: CMSIBCommonInterface;
381
- characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
382
- lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
383
- showBorder: CMSIBCommonInterface;
384
- borderStyle: CMSIBCommonInterface;
385
- borderColor: CMSIBCommonInterface;
386
- borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
387
- borderRadius: import("../../interfaces/global").CSSPaddingValues;
388
- showShadow: CMSIBCommonInterface;
389
- shadowColor: CMSIBCommonInterface;
390
- angle: import("../../interfaces/global").CMSIBSizeInterface;
391
- spread: import("../../interfaces/global").CMSIBSizeInterface;
392
- blur: import("../../interfaces/global").CMSIBSizeInterface;
393
- showIcon: {
394
- value: boolean;
395
- property?: any;
396
- propertyType?: any;
397
- isReadOnly?: boolean | undefined;
398
- parentRef?: string | undefined;
399
- };
400
- iconSize: {
401
- value: string;
402
- propertyType: CMSElementEditTypes;
403
- unit: number;
404
- property: string;
369
+ defaultStyle: {
370
+ selectorKey: QuickLinksSelectorKeysEnum;
371
+ backgroundColor: CMSIBCommonInterface;
372
+ cropRatio: CMSIBCommonInterface;
373
+ zoomImage: CMSIBCommonInterface;
374
+ flip: CMSIBCommonInterface;
375
+ rotate: import("../../interfaces/global").CMSIBSizeInterface;
376
+ theme: CMSIBCommonInterface;
377
+ font: CMSIBCommonInterface;
378
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
379
+ textColor: CMSIBCommonInterface;
380
+ bold: CMSIBCommonInterface;
381
+ italic: CMSIBCommonInterface;
382
+ linethrough: CMSIBCommonInterface;
383
+ underline: CMSIBCommonInterface;
384
+ textAlign: CMSIBCommonInterface;
385
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
386
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
387
+ showBorder: CMSIBCommonInterface;
388
+ borderStyle: CMSIBCommonInterface;
389
+ borderColor: CMSIBCommonInterface;
390
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
391
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
392
+ showShadow: CMSIBCommonInterface;
393
+ shadowColor: CMSIBCommonInterface;
394
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
395
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
396
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
397
+ showIcon: {
398
+ value: boolean;
399
+ property?: any;
400
+ propertyType?: any;
401
+ isReadOnly?: boolean | undefined;
402
+ parentRef?: string | undefined;
403
+ };
404
+ iconSize: {
405
+ value: string;
406
+ propertyType: CMSElementEditTypes;
407
+ unit: number;
408
+ property: string;
409
+ };
410
+ iconColor: {
411
+ value: {
412
+ hex: string;
413
+ rgb: {
414
+ r: string;
415
+ g: string;
416
+ b: string;
417
+ a: number;
418
+ };
419
+ };
420
+ property: string;
421
+ propertyType: CMSElementEditTypes;
422
+ parentRef: string;
423
+ };
405
424
  };
406
- iconColor: {
407
- value: {
408
- hex: string;
409
- rgb: {
410
- r: string;
411
- g: string;
412
- b: string;
413
- a: number;
425
+ hoverStyle: {
426
+ selectorKey: QuickLinksSelectorKeysEnum;
427
+ backgroundColor: CMSIBCommonInterface;
428
+ cropRatio: CMSIBCommonInterface;
429
+ zoomImage: CMSIBCommonInterface;
430
+ flip: CMSIBCommonInterface;
431
+ rotate: import("../../interfaces/global").CMSIBSizeInterface;
432
+ theme: CMSIBCommonInterface;
433
+ font: CMSIBCommonInterface;
434
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
435
+ textColor: CMSIBCommonInterface;
436
+ bold: CMSIBCommonInterface;
437
+ italic: CMSIBCommonInterface;
438
+ linethrough: CMSIBCommonInterface;
439
+ underline: CMSIBCommonInterface;
440
+ textAlign: CMSIBCommonInterface;
441
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
442
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
443
+ showBorder: CMSIBCommonInterface;
444
+ borderStyle: CMSIBCommonInterface;
445
+ borderColor: CMSIBCommonInterface;
446
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
447
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
448
+ showShadow: CMSIBCommonInterface;
449
+ shadowColor: CMSIBCommonInterface;
450
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
451
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
452
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
453
+ showIcon: {
454
+ value: boolean;
455
+ property?: any;
456
+ propertyType?: any;
457
+ isReadOnly?: boolean | undefined;
458
+ parentRef?: string | undefined;
459
+ };
460
+ iconSize: {
461
+ value: string;
462
+ propertyType: CMSElementEditTypes;
463
+ unit: number;
464
+ property: string;
465
+ };
466
+ iconColor: {
467
+ value: {
468
+ hex: string;
469
+ rgb: {
470
+ r: string;
471
+ g: string;
472
+ b: string;
473
+ a: number;
474
+ };
414
475
  };
476
+ property: string;
477
+ propertyType: CMSElementEditTypes;
478
+ parentRef: string;
415
479
  };
416
- property: string;
417
- propertyType: CMSElementEditTypes;
418
- parentRef: string;
419
480
  };
420
481
  };
421
482
  quickLinksTextLayout: {
@@ -0,0 +1,23 @@
1
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
2
+ export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
3
+ }
4
+ interface selfLayoutInterface {
5
+ selectorKey: string;
6
+ }
7
+ interface selfDesignInterface {
8
+ selectorKey: string;
9
+ [key: string]: any;
10
+ }
11
+ export declare enum SelectorKeysEnum {
12
+ LAYOUT = "layout",
13
+ CONTENT = "content",
14
+ DESIGN = "design",
15
+ TITLE = "title",
16
+ ALLOCATION = "allocation",
17
+ ALLOCATION_CARD = "allocationCard",
18
+ DIVIDER = "divider",
19
+ QUOTA_DETAILS = "quotaDetails",
20
+ DEFAULT_STATE = "defaultState"
21
+ }
22
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
23
+ export {};
@@ -0,0 +1,37 @@
1
+ import { CMSIBCommonInterface, PaddingProps } from "../../interfaces/global";
2
+ import { AlignItemsValue, JustifyContentValue, StackDirectionType } from "../../../global/types";
3
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
4
+ interface selfLayoutInterface {
5
+ selectorKey: string;
6
+ direction: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
7
+ value: StackDirectionType;
8
+ };
9
+ itemGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
10
+ justifyContent: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
11
+ value: JustifyContentValue;
12
+ };
13
+ alignItems: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
14
+ value: AlignItemsValue;
15
+ };
16
+ }
17
+ declare enum SelectorKeysEnum {
18
+ LAYOUT = "layout",
19
+ CONTENT = "content",
20
+ DESIGN = "design",
21
+ DEFAULT_STATE = "defaultState",
22
+ HOVER_STATE = "hoverState",
23
+ MENU_CONTAINER = "menuContainer",
24
+ MENU_ITEM_STYLE = "menuItemStyle",
25
+ SUB_MENU_CONTAINER = "subMenuContainer",
26
+ SUBMENU_ITEM_STYLE = "subMenuItemStyle",
27
+ HAMBURGER_OPTIONS = "hamburgerOptions",
28
+ HAMBURGER_STYLE = "hamburgerStyle",
29
+ SELECTED_STATE = "selected"
30
+ }
31
+ export interface selfDesignInterface {
32
+ selectorKey: string;
33
+ [SelectorKeysEnum.SUB_MENU_CONTAINER]: any;
34
+ [SelectorKeysEnum.SUBMENU_ITEM_STYLE]: any;
35
+ }
36
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
37
+ export {};
@@ -53,3 +53,21 @@ export declare const dataConnectorApisData: {
53
53
  method: ApiMethods;
54
54
  };
55
55
  };
56
+ export declare enum DATA_CONNECTOR_ITEMS_LIST {
57
+ PRODUCT_BY_ID = "Product By Id",
58
+ PRODUCTS_BY_BRAND = "Products By Brand",
59
+ PRODUCTS_BY_MERCHANDISER_SETS = "Products By Merchandiser Sets",
60
+ PRODUCTS_BY_CATEGORY = "Products By Category",
61
+ CATEGORIES = "Categories",
62
+ CATEGORY_BY_ID = "Category By Id",
63
+ BUNDLES = "Bundles",
64
+ BUNDLE_BY_ID = "Bundle By Id",
65
+ BUNDLE_DETAILS = "Bundle Details",
66
+ PRODUCT_BUNDLE_BY_KEY = "Product Bundle By Key",
67
+ CATEGORY_BUNDLE_BY_KEY = "Category Bundle By Key",
68
+ SUB_CATEGORIES = "Subcategories",
69
+ BRANDS = "Brands",
70
+ BRAND_BY_ID = "Brand By Id",
71
+ PRODUCTS = "Products",
72
+ BUNDLES_BY_ID = "Bundles By Id"
73
+ }
package/dist/website.js CHANGED
@@ -1 +1 @@
1
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["storefront-cms-library"]=e():t["storefront-cms-library"]=e()}(this,(()=>(()=>{"use strict";var t={d:(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{dataConnectorContants:()=>n,ssrFunctions:()=>r});var r={};t.r(r),t.d(r,{createQueryStringForCollection:()=>u,parseThemeSettings:()=>E});var n={};function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,u=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return u}}(t,e)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t){return Object.entries(t).filter((function(t){var e=i(t,2);return null!=(e[0],e[1])})).map((function(t){var e=i(t,2),r=e[0],n=e[1];return"".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(n))})).join("&")}t.r(n),t.d(n,{dataConnectorApisData:()=>s});var l,c,f,E=function(t){var e=Object.assign({},t);return["layout","colors","typography","buttons","animations","loaders"].forEach((function(t){if("string"==typeof e[t]&&e[t].length>0)try{e[t]=JSON.parse(e[t])}catch(t){}else"object"===o(e[t])&&null!==e[t]&&(e[t]=JSON.stringify(e[t]))})),e};function y(t,e,r){return(e=function(t){var e=function(t){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==o(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}!function(t){t.GET="GET",t.POST="POST",t.PUT="PUT",t.DELETE="DELETE"}(l||(l={})),function(t){t.PRODUST="PRODUST",t.CATEGORIES="CATEGORIES",t.BRANDS="BRANDS",t.PRODUCT_BY_ID="PRODUCT_BY_ID",t.CATEGORY_BY_ID="CATegory_BY_ID",t.BRAND_BY_ID="BRAND_BY_ID",t.SUB_CATEGORY="SUB_CATEGORY",t.MARCHANDISER_SETS="MARCHANDISER_SETS",t.BUNDLES="BUNDLES",t.BUNLES_BY_ID="BUNLES_BY_ID",t.BUNDLE_BY_TYPE="BUNDLE_BY_TYPE",t.PRODUCT_BUNDLE_DETAILS="PRODUCT_BUNDLE_DETAILS",t.CATEGORY_BUNDLE_DETAILS="CATEGORY_BUNDLE_DETAILS"}(c||(c={}));var s=(y(y(y(y(y(y(y(y(y(y(f={},c.PRODUST,{url:"/search/product/getall",method:l.POST}),c.PRODUCT_BY_ID,{url:"/api/pd/get",method:l.GET}),c.CATEGORIES,{url:"/search/category/getall",method:l.POST}),c.CATEGORY_BY_ID,{url:"/search/category/getbyid",method:l.GET}),c.BRANDS,{url:"/search/brand/getall",method:l.POST}),c.BRAND_BY_ID,{url:"/search/brand/getbyid",method:l.GET}),c.SUB_CATEGORY,{url:"/search/category/getsubcategories",method:l.GET}),c.MARCHANDISER_SETS,{url:"/ms/get",method:l.GET}),c.BUNDLES,{url:"/api/bnp/get-all",method:l.GET}),c.BUNLES_BY_ID,{url:"/api/bnp/get-product-bundle",method:l.GET}),y(y(y(f,c.BUNDLE_BY_TYPE,{url:"/api/bnp/get-bundles",method:l.POST}),c.PRODUCT_BUNDLE_DETAILS,{url:"/api/bnp/get-product-bundle",method:l.GET}),c.CATEGORY_BUNDLE_DETAILS,{url:"/api/bnp/get-category-bundle",method:l.GET}));return e})()));
1
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["storefront-cms-library"]=e():t["storefront-cms-library"]=e()}(this,(()=>(()=>{"use strict";var t={d:(e,r)=>{for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{dataConnectorContants:()=>n,ssrFunctions:()=>r});var r={};t.r(r),t.d(r,{createQueryStringForCollection:()=>i,parseThemeSettings:()=>d});var n={};function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,u,a,i=[],l=!0,c=!1;try{if(u=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=u.call(r)).done)&&(i.push(n.value),i.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return u(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t){return Object.entries(t).filter((function(t){var e=a(t,2);return null!=(e[0],e[1])})).map((function(t){var e=a(t,2),r=e[0],n=e[1];return"".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(n))})).join("&")}t.r(n),t.d(n,{DATA_CONNECTOR_ITEMS_LIST:()=>S,dataConnectorApisData:()=>_});var l,c,E,d=function(t){var e=Object.assign({},t);return["layout","colors","typography","buttons","animations","loaders"].forEach((function(t){if("string"==typeof e[t]&&e[t].length>0)try{e[t]=JSON.parse(e[t])}catch(t){}else"object"===o(e[t])&&null!==e[t]&&(e[t]=JSON.stringify(e[t]))})),e};function B(t,e,r){return(e=function(t){var e=function(t){if("object"!=o(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==o(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}!function(t){t.GET="GET",t.POST="POST",t.PUT="PUT",t.DELETE="DELETE"}(l||(l={})),function(t){t.PRODUST="PRODUST",t.CATEGORIES="CATEGORIES",t.BRANDS="BRANDS",t.PRODUCT_BY_ID="PRODUCT_BY_ID",t.CATEGORY_BY_ID="CATegory_BY_ID",t.BRAND_BY_ID="BRAND_BY_ID",t.SUB_CATEGORY="SUB_CATEGORY",t.MARCHANDISER_SETS="MARCHANDISER_SETS",t.BUNDLES="BUNDLES",t.BUNLES_BY_ID="BUNLES_BY_ID",t.BUNDLE_BY_TYPE="BUNDLE_BY_TYPE",t.PRODUCT_BUNDLE_DETAILS="PRODUCT_BUNDLE_DETAILS",t.CATEGORY_BUNDLE_DETAILS="CATEGORY_BUNDLE_DETAILS"}(c||(c={}));var S,_=(B(B(B(B(B(B(B(B(B(B(E={},c.PRODUST,{url:"/search/product/getall",method:l.POST}),c.PRODUCT_BY_ID,{url:"/api/pd/get",method:l.GET}),c.CATEGORIES,{url:"/search/category/getall",method:l.POST}),c.CATEGORY_BY_ID,{url:"/search/category/getbyid",method:l.GET}),c.BRANDS,{url:"/search/brand/getall",method:l.POST}),c.BRAND_BY_ID,{url:"/search/brand/getbyid",method:l.GET}),c.SUB_CATEGORY,{url:"/search/category/getsubcategories",method:l.GET}),c.MARCHANDISER_SETS,{url:"/ms/get",method:l.GET}),c.BUNDLES,{url:"/api/bnp/get-all",method:l.GET}),c.BUNLES_BY_ID,{url:"/api/bnp/get-product-bundle",method:l.GET}),B(B(B(E,c.BUNDLE_BY_TYPE,{url:"/api/bnp/get-bundles",method:l.POST}),c.PRODUCT_BUNDLE_DETAILS,{url:"/api/bnp/get-product-bundle",method:l.GET}),c.CATEGORY_BUNDLE_DETAILS,{url:"/api/bnp/get-category-bundle",method:l.GET}));return function(t){t.PRODUCT_BY_ID="Product By Id",t.PRODUCTS_BY_BRAND="Products By Brand",t.PRODUCTS_BY_MERCHANDISER_SETS="Products By Merchandiser Sets",t.PRODUCTS_BY_CATEGORY="Products By Category",t.CATEGORIES="Categories",t.CATEGORY_BY_ID="Category By Id",t.BUNDLES="Bundles",t.BUNDLE_BY_ID="Bundle By Id",t.BUNDLE_DETAILS="Bundle Details",t.PRODUCT_BUNDLE_BY_KEY="Product Bundle By Key",t.CATEGORY_BUNDLE_BY_KEY="Category Bundle By Key",t.SUB_CATEGORIES="Subcategories",t.BRANDS="Brands",t.BRAND_BY_ID="Brand By Id",t.PRODUCTS="Products",t.BUNDLES_BY_ID="Bundles By Id"}(S||(S={})),e})()));
package/dist/widget.scss CHANGED
@@ -123,3 +123,10 @@
123
123
  @use "./shipping-payments.scss";
124
124
  @use "./emtpy-templates.scss";
125
125
  @use "./category-groups-element.scss";
126
+ @use "./mega-menu.scss";
127
+ @use "./mega-menu-container.scss";
128
+ @use "./simple-list.scss";
129
+ @use "./cart-wrapper.scss";
130
+ @use "./image-for-product.scss";
131
+ @use "./checkbox-radio.scss";
132
+ @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.62",
3
+ "version": "0.3.64",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {