@sc-360-v2/storefront-cms-library 0.1.3 → 0.1.4

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,26 @@
1
+ import { CommonStyleProperties } from "../../../global/style-properties";
2
+ import { CMSHTMLAttributes } from "../../../global/attributes";
3
+ import { AlignSelfValue, BoxSizingValue, GlobalImageAttributes, GridAreaValue, HeightValue, ImageBuilderAttributes, JustifySelfValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue } from "../../../global/types";
4
+ import { BuilderAttributes, CMSElementInterface } from "../common";
5
+ export interface PickupLocationsStyleProperties 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
+ justifySelf?: JustifySelfValue;
15
+ alignSelf?: AlignSelfValue;
16
+ }
17
+ export declare const getDefaultStyles: () => PickupLocationsStyleProperties;
18
+ export interface CMSPickupLocationsInterface extends Omit<CMSElementInterface, "attributes"> {
19
+ attributes: {
20
+ HTML: Pick<CMSHTMLAttributes, GlobalImageAttributes>;
21
+ BUILDER: Pick<BuilderAttributes, ImageBuilderAttributes>;
22
+ CUSTOM: any;
23
+ };
24
+ styles: PickupLocationsStyleProperties;
25
+ childrenStyles?: CommonStyleProperties;
26
+ }
@@ -0,0 +1,26 @@
1
+ import { CommonStyleProperties } from "../../../global/style-properties";
2
+ import { CMSHTMLAttributes } from "../../../global/attributes";
3
+ import { AlignSelfValue, BoxSizingValue, GlobalImageAttributes, GridAreaValue, HeightValue, ImageBuilderAttributes, JustifySelfValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue } from "../../../global/types";
4
+ import { BuilderAttributes, CMSElementInterface } from "../common";
5
+ export interface ProductActionStyleProperties 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
+ justifySelf?: JustifySelfValue;
15
+ alignSelf?: AlignSelfValue;
16
+ }
17
+ export declare const getDefaultStyles: () => ProductActionStyleProperties;
18
+ export interface CMSProductActionsInterface extends Omit<CMSElementInterface, "attributes"> {
19
+ attributes: {
20
+ HTML: Pick<CMSHTMLAttributes, GlobalImageAttributes>;
21
+ BUILDER: Pick<BuilderAttributes, ImageBuilderAttributes>;
22
+ CUSTOM: any;
23
+ };
24
+ styles: ProductActionStyleProperties;
25
+ childrenStyles?: CommonStyleProperties;
26
+ }
@@ -0,0 +1,26 @@
1
+ import { CommonStyleProperties } from "../../../global/style-properties";
2
+ import { CMSHTMLAttributes } from "../../../global/attributes";
3
+ import { AlignSelfValue, BoxSizingValue, GlobalImageAttributes, GridAreaValue, HeightValue, ImageBuilderAttributes, JustifySelfValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue } from "../../../global/types";
4
+ import { BuilderAttributes, CMSElementInterface } from "../common";
5
+ export interface ProductInventoryStyleProperties 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
+ justifySelf?: JustifySelfValue;
15
+ alignSelf?: AlignSelfValue;
16
+ }
17
+ export declare const getDefaultStyles: () => ProductInventoryStyleProperties;
18
+ export interface CMSProductInventoryInterface extends Omit<CMSElementInterface, "attributes"> {
19
+ attributes: {
20
+ HTML: Pick<CMSHTMLAttributes, GlobalImageAttributes>;
21
+ BUILDER: Pick<BuilderAttributes, ImageBuilderAttributes>;
22
+ CUSTOM: any;
23
+ };
24
+ styles: ProductInventoryStyleProperties;
25
+ childrenStyles?: CommonStyleProperties;
26
+ }
@@ -0,0 +1,67 @@
1
+ import { CommonStyleProperties } from "../../../global/style-properties";
2
+ import { DisplayValue, MarginValue, PaddingValue, ResponsiveBehaviourTypes } from "../../../global/types";
3
+ import { CMSHTMLAttributes } from "../../../global/attributes";
4
+ import { CMSGridsContainer } from "../grid";
5
+ import { BuilderAttributes } from "../common";
6
+ export interface ProductDetailAttributes extends CMSHTMLAttributes {
7
+ role?: string;
8
+ ariaLabel?: string;
9
+ ariaDescribedBy?: string;
10
+ id?: string;
11
+ className?: string;
12
+ lang?: string;
13
+ dataMeta?: string;
14
+ }
15
+ export interface ProductDetailStyleAttributes extends CommonStyleProperties {
16
+ minHeight?: string;
17
+ height?: string;
18
+ minWidth?: string;
19
+ maxWidth?: string;
20
+ maxHeight?: string;
21
+ gridArea?: string;
22
+ display?: DisplayValue;
23
+ boxSizing?: string;
24
+ rowGap?: string;
25
+ columnGap?: string;
26
+ gridTemplateRows?: string;
27
+ gridTemplateColumns?: string;
28
+ padding?: PaddingValue;
29
+ marginLeft?: MarginValue;
30
+ marginTop?: MarginValue;
31
+ marginBottom?: MarginValue;
32
+ marginRight?: MarginValue;
33
+ }
34
+ export declare const getDefaultStyles: () => ProductDetailStyleAttributes;
35
+ export declare const getSectionDefaultStyles: () => ProductDetailStyleAttributes;
36
+ export interface VariationConditionInterface {
37
+ customer?: any[];
38
+ user?: any[];
39
+ relation?: any;
40
+ }
41
+ export interface SectionVariationInterface {
42
+ condition?: VariationConditionInterface;
43
+ attributes?: {
44
+ BUILDER?: Pick<BuilderAttributes, "dataDivType" | "dataType" | "dataElementType">;
45
+ HTML?: ProductDetailAttributes;
46
+ CUSTOM?: any;
47
+ };
48
+ styles?: ProductDetailStyleAttributes;
49
+ editedStyles?: CommonStyleProperties;
50
+ sectionStyles?: CommonStyleProperties;
51
+ grids?: CMSGridsContainer;
52
+ responsiveBehaviour: ResponsiveBehaviourTypes;
53
+ highestGrid?: number | any;
54
+ gtc?: CMSGridsContainer;
55
+ gtr?: CMSGridsContainer;
56
+ childIds: any[];
57
+ }
58
+ export interface CMSProductDetailInterface {
59
+ id?: string | number;
60
+ uniqueKey?: string | number;
61
+ variations?: {
62
+ [key: string]: SectionVariationInterface;
63
+ };
64
+ styles?: ProductDetailStyleAttributes;
65
+ sort?: number;
66
+ dataContentType?: string;
67
+ }
@@ -0,0 +1,29 @@
1
+ import { CMSHTMLAttributes } from "../../../global/attributes";
2
+ import { AlignSelfValue, BoxSizingValue, GridAreaValue, HeightValue, JustifySelfValue, MarginValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue } from "../../../global/types";
3
+ import { BuilderAttributes, CMSElementInterface } from "../common";
4
+ export interface PriceStyleProperties {
5
+ minHeight?: MinHeightValue;
6
+ height?: HeightValue;
7
+ minWidth?: MinWidthValue;
8
+ maxWidth?: MaxWidthValue;
9
+ maxHeight?: MaxHeightValue;
10
+ gridArea?: GridAreaValue;
11
+ boxSizing?: BoxSizingValue;
12
+ padding?: PaddingValue;
13
+ marginLeft?: MarginValue;
14
+ marginTop?: MarginValue;
15
+ marginBottom?: MarginValue;
16
+ marginRight?: MarginValue;
17
+ justifySelf?: JustifySelfValue;
18
+ alignSelf?: AlignSelfValue;
19
+ }
20
+ export declare const getDefaultStyles: () => PriceStyleProperties;
21
+ export interface CMSPriceInterface extends Omit<CMSElementInterface, "attributes"> {
22
+ attributes: {
23
+ HTML: CMSHTMLAttributes;
24
+ BUILDER: BuilderAttributes;
25
+ CUSTOM: any;
26
+ };
27
+ styles: PriceStyleProperties;
28
+ content: string;
29
+ }
@@ -58,4 +58,5 @@ export interface CMSSectionInterface {
58
58
  };
59
59
  styles?: SectionStyleProperties;
60
60
  sort?: number;
61
+ dataContentType?: string;
61
62
  }
@@ -0,0 +1,26 @@
1
+ import { CommonStyleProperties } from "../../../global/style-properties";
2
+ import { CMSHTMLAttributes } from "../../../global/attributes";
3
+ import { AlignSelfValue, BoxSizingValue, GlobalImageAttributes, GridAreaValue, HeightValue, ImageBuilderAttributes, JustifySelfValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue } from "../../../global/types";
4
+ import { BuilderAttributes, CMSElementInterface } from "../common";
5
+ export interface StoreLocationsStyleProperties 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
+ justifySelf?: JustifySelfValue;
15
+ alignSelf?: AlignSelfValue;
16
+ }
17
+ export declare const getDefaultStyles: () => StoreLocationsStyleProperties;
18
+ export interface CMSStoreLocationsInterface extends Omit<CMSElementInterface, "attributes"> {
19
+ attributes: {
20
+ HTML: Pick<CMSHTMLAttributes, GlobalImageAttributes>;
21
+ BUILDER: Pick<BuilderAttributes, ImageBuilderAttributes>;
22
+ CUSTOM: any;
23
+ };
24
+ styles: StoreLocationsStyleProperties;
25
+ childrenStyles?: CommonStyleProperties;
26
+ }
@@ -0,0 +1,26 @@
1
+ import { CommonStyleProperties } from "../../../global/style-properties";
2
+ import { CMSHTMLAttributes } from "../../../global/attributes";
3
+ import { AlignSelfValue, BoxSizingValue, GlobalImageAttributes, GridAreaValue, HeightValue, ImageBuilderAttributes, JustifySelfValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue } from "../../../global/types";
4
+ import { BuilderAttributes, CMSElementInterface } from "../common";
5
+ export interface VolumePricingStyleProperties 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
+ justifySelf?: JustifySelfValue;
15
+ alignSelf?: AlignSelfValue;
16
+ }
17
+ export declare const getDefaultStyles: () => VolumePricingStyleProperties;
18
+ export interface CMSVolumePricingInterface extends Omit<CMSElementInterface, "attributes"> {
19
+ attributes: {
20
+ HTML: Pick<CMSHTMLAttributes, GlobalImageAttributes>;
21
+ BUILDER: Pick<BuilderAttributes, ImageBuilderAttributes>;
22
+ CUSTOM: any;
23
+ };
24
+ styles: VolumePricingStyleProperties;
25
+ childrenStyles?: CommonStyleProperties;
26
+ }
@@ -21,4 +21,10 @@ import * as countdownSchema from "./elements/countdown/index";
21
21
  import * as imageHotspotSchema from "./elements/image-hotspot/index";
22
22
  import * as mapSchema from "./elements/map/index";
23
23
  import * as containerSchema from "./elements/container/index";
24
- export { commonFunctions, interfaces, enums, sectionSchema, gridSchema, cmsTypes, textSchema, ElementEditSchema, imageSchema, videoSChema, socialIconsSchema, buttonSchema, gallerySliderSchema, tabSchema, tableSchema, faqSchema, codeSchema, embedSchema, scrollSchema, countdownSchema, imageHotspotSchema, mapSchema, containerSchema, };
24
+ import * as priceSchema from "./elements/productPrice/index";
25
+ import * as productActionsSchema from "./elements/product-actions/index";
26
+ import * as volumePricingSchema from "./elements/volumePricing/index";
27
+ import * as pickupLocationsSchema from "./elements/pickup-locations/index";
28
+ import * as storeLocationsSchema from "./elements/store-locations/index";
29
+ import * as productInventorySchema from "./elements/product-inventory/index";
30
+ export { commonFunctions, interfaces, enums, sectionSchema, gridSchema, cmsTypes, textSchema, ElementEditSchema, imageSchema, videoSChema, socialIconsSchema, buttonSchema, gallerySliderSchema, tabSchema, tableSchema, faqSchema, codeSchema, embedSchema, scrollSchema, countdownSchema, imageHotspotSchema, mapSchema, containerSchema, priceSchema, productActionsSchema, volumePricingSchema, pickupLocationsSchema, storeLocationsSchema, productInventorySchema, };
@@ -19,4 +19,10 @@ import * as scroll from "./scroll";
19
19
  import * as map from "./map";
20
20
  import * as container from "./container";
21
21
  import * as countdown from "./countdown";
22
- export { section, grid, common, image, button, slideShowLayouter, tabs, video, table, gallerySlider, social, faq, code, text, embed, buttonV2, scroll, countdown, imageHotspot, map, container, };
22
+ import * as price from "./productPrice";
23
+ import * as productActions from "./productActions";
24
+ import * as volumePricing from "./volumePricing";
25
+ import * as pickupLocations from "./pickupLocations";
26
+ import * as storeLocations from "./storeLocations";
27
+ import * as productInventory from "./productInventory";
28
+ export { section, grid, common, image, button, slideShowLayouter, tabs, video, table, gallerySlider, social, faq, code, text, embed, buttonV2, scroll, countdown, imageHotspot, map, container, price, productActions, volumePricing, pickupLocations, storeLocations, productInventory, };
@@ -0,0 +1,22 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ selectorKey: string;
5
+ displayStyle: CMSIBCommonInterface;
6
+ displayType: CMSIBCommonInterface;
7
+ maxItemsToDisplay: CMSIBCommonInterface;
8
+ itemSpacing: CMSIBCommonInterface;
9
+ overflowItems: CMSIBCommonInterface;
10
+ displayResults: CMSIBCommonInterface;
11
+ noOfItemToShow: CMSIBCommonInterface;
12
+ }
13
+ interface selfDesignInterface {
14
+ selectorKey: string;
15
+ }
16
+ export declare enum PickupLocationsSelectorKeysEnum {
17
+ LAYOUT = "layout",
18
+ CONTENT = "content",
19
+ DESIGN = "design"
20
+ }
21
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
22
+ export {};
@@ -0,0 +1,55 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ export interface ButtonLayoutInterface {
4
+ selectorKey: string;
5
+ actions: CMSIBCommonInterface;
6
+ addToCart: CMSIBCommonInterface;
7
+ addToCartWhenClicked: CMSIBCommonInterface;
8
+ buyNow: CMSIBCommonInterface;
9
+ buyNowWhenClicked: CMSIBCommonInterface;
10
+ wishlist: CMSIBCommonInterface;
11
+ wishlistWhenClicked: CMSIBCommonInterface;
12
+ compareProduct: CMSIBCommonInterface;
13
+ compareProductWhenClicked: CMSIBCommonInterface;
14
+ showCompareListAs: CMSIBCommonInterface;
15
+ addToQuote: CMSIBCommonInterface;
16
+ addToOrderTemplate: CMSIBCommonInterface;
17
+ notifyMeInventoryNotifications: CMSIBCommonInterface;
18
+ downloadProductInformation: CMSIBCommonInterface;
19
+ displayStyle: CMSIBCommonInterface;
20
+ itemSpacing: CMSIBCommonInterface;
21
+ maxItemsToDisplay: CMSIBCommonInterface;
22
+ overflowItems: CMSIBCommonInterface;
23
+ openItemsIn: CMSIBCommonInterface;
24
+ addToCartMetaData: CMSIBCommonInterface;
25
+ wishlistMetaData: CMSIBCommonInterface;
26
+ itemVerticalSpacing: CMSIBCommonInterface;
27
+ }
28
+ export interface selfDesignInterface {
29
+ selectorKey: string;
30
+ defaultState: any;
31
+ addToCart: any;
32
+ buyNow: any;
33
+ wishlist: any;
34
+ compare: any;
35
+ addToQuote: any;
36
+ addToOrderTemplate: any;
37
+ notifyMe: any;
38
+ download: any;
39
+ hoverState: any;
40
+ }
41
+ export declare enum ButtonSelectorKeysEnum {
42
+ HOVER_STATE = "hover",
43
+ DEFAULT_STATE = "default",
44
+ LAYOUT = "layout",
45
+ DESIGN = "design",
46
+ ADD_TO_CART = "addToChart",
47
+ BUY_NOW = "buyNow",
48
+ WISHLIST = "wishlist",
49
+ COMPARE = "compare",
50
+ ADD_TO_QUOTE = "addToQuote",
51
+ ADD_TO_ORDER_TEMPLATE = "addToOrderTemplate",
52
+ NOTIFY_ME = "notifyMe",
53
+ DOWNLOAD = "download"
54
+ }
55
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<ButtonLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
@@ -0,0 +1,42 @@
1
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
2
+ interface controlInterface {
3
+ value: string | boolean;
4
+ propertyType: string;
5
+ }
6
+ export interface selfLayoutInterface {
7
+ selectorKey: string;
8
+ imageAndDetailsSpacing: controlInterface;
9
+ itemSpacing: controlInterface;
10
+ imagePosition: controlInterface;
11
+ }
12
+ export interface selfDesignInterface {
13
+ selectorKey: string;
14
+ }
15
+ export interface selfContentInterface {
16
+ selectorKey: string;
17
+ productName: controlInterface;
18
+ productCodes: controlInterface;
19
+ varientCodes: controlInterface;
20
+ productImages: controlInterface;
21
+ prices: controlInterface;
22
+ productDescription: controlInterface;
23
+ showOptions: controlInterface;
24
+ allowBulkOrdering: controlInterface;
25
+ actions: controlInterface;
26
+ quickView: controlInterface;
27
+ addToCart: controlInterface;
28
+ wishlist: controlInterface;
29
+ buyNow: controlInterface;
30
+ addToQuote: controlInterface;
31
+ showUOMs: controlInterface;
32
+ showVolumePricing: controlInterface;
33
+ showInventory: controlInterface;
34
+ storeAvailability: controlInterface;
35
+ }
36
+ export declare enum sectionSelectorKeysEnum {
37
+ LAYOUT = "layout",
38
+ DESIGN = "design",
39
+ CONTENT = "content"
40
+ }
41
+ export declare const getDefaultData: (contentWidth: any) => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
42
+ export {};
@@ -0,0 +1,35 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ selectorKey: string;
5
+ displayStyle: CMSIBCommonInterface;
6
+ displayType: CMSIBCommonInterface;
7
+ maxItemsToDisplay: CMSIBCommonInterface;
8
+ itemSpacing: CMSIBCommonInterface;
9
+ overflowItems: CMSIBCommonInterface;
10
+ header: CMSIBCommonInterface;
11
+ headerHeight: CMSIBCommonInterface;
12
+ rowHeight: CMSIBCommonInterface;
13
+ headerDivider: CMSIBCommonInterface;
14
+ rowDivider: CMSIBCommonInterface;
15
+ columnDivider: CMSIBCommonInterface;
16
+ alternativeRowColors: CMSIBCommonInterface;
17
+ headerCellPadding: CMSIBCommonInterface;
18
+ rowCellPadding: CMSIBCommonInterface;
19
+ contentAlignment: CMSIBCommonInterface;
20
+ rowsPerPage: CMSIBCommonInterface;
21
+ overflowControl: CMSIBCommonInterface;
22
+ paginationType: CMSIBCommonInterface;
23
+ paginationAliginment: CMSIBCommonInterface;
24
+ displayResults: CMSIBCommonInterface;
25
+ }
26
+ interface selfDesignInterface {
27
+ selectorKey: string;
28
+ }
29
+ export declare enum ProductInventorySelectorKeysEnum {
30
+ LAYOUT = "layout",
31
+ CONTENT = "content",
32
+ DESIGN = "design"
33
+ }
34
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
35
+ export {};
@@ -0,0 +1,38 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ export declare enum SelectorKeysEnum {
4
+ LAYOUT = "layout",
5
+ DESIGN = "design",
6
+ CONTENT = "content"
7
+ }
8
+ export interface selfLayoutInterface {
9
+ selectorKey: string;
10
+ showPrice: CMSIBCommonInterface;
11
+ displayMinQtySet: CMSIBCommonInterface;
12
+ priceFormat: CMSIBCommonInterface;
13
+ displayFormat: CMSIBCommonInterface;
14
+ }
15
+ export interface selfDesignInterface {
16
+ selectorKey: string;
17
+ }
18
+ export interface selfContentInterface {
19
+ selectorKey: string;
20
+ productPrice: CMSIBCommonInterface;
21
+ sellingPrice: CMSIBCommonInterface;
22
+ productPriceDisplayUOM: CMSIBCommonInterface;
23
+ productPriceDisplayCurrencyCode: CMSIBCommonInterface;
24
+ showActualPrice: CMSIBCommonInterface;
25
+ actualPrice: CMSIBCommonInterface;
26
+ actualPriceDisplayUOM: CMSIBCommonInterface;
27
+ actualPriceDisplayCurrencyCode: CMSIBCommonInterface;
28
+ discount: CMSIBCommonInterface;
29
+ discountValue: CMSIBCommonInterface;
30
+ showSavings: CMSIBCommonInterface;
31
+ savings: CMSIBCommonInterface;
32
+ savingsValue: CMSIBCommonInterface;
33
+ savingsDisplayCurrencyCode: CMSIBCommonInterface;
34
+ embellishmentPrice: CMSIBCommonInterface;
35
+ productTax: CMSIBCommonInterface;
36
+ ProductShippingPrice: CMSIBCommonInterface;
37
+ }
38
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
@@ -0,0 +1,24 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ selectorKey: string;
5
+ displayStyle: CMSIBCommonInterface;
6
+ displayResults: CMSIBCommonInterface;
7
+ whenClicked: CMSIBCommonInterface;
8
+ displayType: CMSIBCommonInterface;
9
+ maxItemsToDisplay: CMSIBCommonInterface;
10
+ itemSpacing: CMSIBCommonInterface;
11
+ overflowItems: CMSIBCommonInterface;
12
+ noOfItemToShow: CMSIBCommonInterface;
13
+ searchPlaceholderText: CMSIBCommonInterface;
14
+ }
15
+ interface selfDesignInterface {
16
+ selectorKey: string;
17
+ }
18
+ export declare enum StoreLocationSelectorKeysEnum {
19
+ LAYOUT = "layout",
20
+ CONTENT = "content",
21
+ DESIGN = "design"
22
+ }
23
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
24
+ export {};
@@ -0,0 +1,54 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ selectorKey: string;
5
+ showVolumePrice: CMSIBCommonInterface;
6
+ displayFormat: CMSIBCommonInterface;
7
+ itemSpacing: CMSIBCommonInterface;
8
+ maxItemsToDisplay: CMSIBCommonInterface;
9
+ overflowControl: CMSIBCommonInterface;
10
+ onClick: CMSIBCommonInterface;
11
+ sliderControl: CMSIBCommonInterface;
12
+ controlPosition: CMSIBCommonInterface;
13
+ loopImages: CMSIBCommonInterface;
14
+ autoplay: CMSIBCommonInterface;
15
+ headerDivider: CMSIBCommonInterface;
16
+ rowDivider: CMSIBCommonInterface;
17
+ columnDivider: CMSIBCommonInterface;
18
+ alternativeRowColors: CMSIBCommonInterface;
19
+ headerCellPadding: CMSIBCommonInterface;
20
+ rowCellPadding: CMSIBCommonInterface;
21
+ contentAlignment: CMSIBCommonInterface;
22
+ showMoreRows: CMSIBCommonInterface;
23
+ rowsPerPage: CMSIBCommonInterface;
24
+ paginationType: CMSIBCommonInterface;
25
+ paginationAlignment: CMSIBCommonInterface;
26
+ optionTitleAndValueSpacing: CMSIBCommonInterface;
27
+ tabItemSpacing: CMSIBCommonInterface;
28
+ accordionItemSpacing: CMSIBCommonInterface;
29
+ noOfItemsToLoad: CMSIBCommonInterface;
30
+ groupDisplayStyle: CMSIBCommonInterface;
31
+ headerHeight: CMSIBCommonInterface;
32
+ rowHeight: CMSIBCommonInterface;
33
+ }
34
+ export interface selfDesignInterface {
35
+ selectorKey: string;
36
+ productPrice: object;
37
+ uomStyle: object;
38
+ currencyCodeStyle: object;
39
+ actualPrice: object;
40
+ discountPercentage: object;
41
+ discountValue: object;
42
+ savingsPercentage: object;
43
+ savingsValue: object;
44
+ emblishmentPrice: object;
45
+ productTax: object;
46
+ productShippingPrice: object;
47
+ }
48
+ export declare enum textSelectorKeysEnum {
49
+ LAYOUT = "layout",
50
+ CONTENT = "content",
51
+ DESIGN = "design"
52
+ }
53
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
54
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {