@sc-360-v2/storefront-cms-library 0.2.95 → 0.2.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/builder.js +1 -1
- package/dist/button.scss +1 -1
- package/dist/functions.scss +23 -0
- package/dist/grid.scss +1 -1
- package/dist/icon-list.scss +4 -3
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/repeater.scss +1 -1
- package/dist/types/builder/elements/menu-item/index.d.ts +47 -0
- package/dist/types/builder/elements/menu-v2/index.d.ts +47 -0
- package/dist/types/builder/enums/index.d.ts +7 -1
- package/dist/types/builder/index.d.ts +3 -1
- package/dist/types/builder/tools/element-edit/amountEstimator.d.ts +16 -2
- package/dist/types/builder/tools/element-edit/index.d.ts +3 -1
- package/dist/types/builder/tools/element-edit/map.d.ts +1 -0
- package/dist/types/builder/tools/element-edit/menu-item.d.ts +13 -0
- package/dist/types/builder/tools/element-edit/menu_v2.d.ts +37 -0
- package/dist/types/builder/tools/element-edit/orderStatus.d.ts +344 -7
- package/dist/types/builder/tools/element-edit/quickLinks.d.ts +3 -7
- package/dist/types/builder/tools/element-edit/search.d.ts +1 -0
- package/dist/types/global/types.d.ts +1 -0
- package/dist/types/icons/updated-icons.d.ts +7 -2
- package/package.json +1 -1
package/dist/repeater.scss
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@use "sass:list";
|
|
3
3
|
@use "./repeater-embla-controls.scss" as *;
|
|
4
4
|
@use "./repeater-grid-toggle.scss" as *;
|
|
5
|
-
@use "
|
|
5
|
+
@use "./functions.scss" as *;
|
|
6
6
|
$childItemSelector: '[data-element-type="repeater-item"]';
|
|
7
7
|
$sliderControlDragging: "[flex-slider-control-moving='true']";
|
|
8
8
|
$rai: "repeater-advertise-item";
|
|
@@ -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 MenuItemStyleProperties 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: () => MenuItemStyleProperties;
|
|
22
|
+
export interface MenuItemElementAttributes 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 CMSMenuItemInterface {
|
|
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?: MenuItemElementAttributes;
|
|
41
|
+
CUSTOM?: any;
|
|
42
|
+
};
|
|
43
|
+
styles?: MenuItemStyleProperties;
|
|
44
|
+
editedStyles?: CommonStyleProperties;
|
|
45
|
+
responsiveBehaviour: ResponsiveBehaviourTypes;
|
|
46
|
+
previewImage?: string;
|
|
47
|
+
}
|
|
@@ -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 MenuV2StyleProperties 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: () => MenuV2StyleProperties;
|
|
22
|
+
export interface MenuV2ElementAttributes 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 CMSMenuV2Interface {
|
|
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?: MenuV2ElementAttributes;
|
|
41
|
+
CUSTOM?: any;
|
|
42
|
+
};
|
|
43
|
+
styles?: MenuV2StyleProperties;
|
|
44
|
+
editedStyles?: CommonStyleProperties;
|
|
45
|
+
responsiveBehaviour: ResponsiveBehaviourTypes;
|
|
46
|
+
previewImage?: string;
|
|
47
|
+
}
|
|
@@ -66,7 +66,9 @@ export declare enum CMSToolIdTypes {
|
|
|
66
66
|
lightBoxV2Wrapper = "cms-light-box-wrapper",
|
|
67
67
|
marchandiserSetsWrapper = "cms-marchandiser-sets-wrapper",
|
|
68
68
|
spotlightWrapper = "cms-spotlight-wrapper",
|
|
69
|
-
TEXTELEMENTDOBLECLICK = "data-cms-tt-ee-dbl-clkd"
|
|
69
|
+
TEXTELEMENTDOBLECLICK = "data-cms-tt-ee-dbl-clkd",
|
|
70
|
+
menuWrapperV2 = "cms-menu-v2-wrapper",
|
|
71
|
+
menuItemWrapper = "cms-menu-item-wrapper"
|
|
70
72
|
}
|
|
71
73
|
export declare enum CMSElementSelectors {
|
|
72
74
|
iframeSelector = "iframe[data-title='iframe__playground']",
|
|
@@ -307,6 +309,10 @@ export declare const CMSElementsListEnum: {
|
|
|
307
309
|
BUNDLE_DETAILS: string;
|
|
308
310
|
PRODUCT_CUSTOMIZATIONS: string;
|
|
309
311
|
ICON_LIST: string;
|
|
312
|
+
MENU_V2: string;
|
|
313
|
+
MENU_ITEM: string;
|
|
314
|
+
SIMPLE_LIST: string;
|
|
315
|
+
SIMPLE_LIST_ITEM: string;
|
|
310
316
|
};
|
|
311
317
|
export declare enum CMSResponsiveModeEnums {
|
|
312
318
|
DESKTOP = "desktop",
|
|
@@ -72,4 +72,6 @@ import * as toasterSchema from "./elements/toaster/index";
|
|
|
72
72
|
import * as spotlightSchema from "./elements/spotlight";
|
|
73
73
|
import * as productCustomizationsSchema from "./elements/product-customizations/index";
|
|
74
74
|
import * as iconListSchema from "./elements/icon-list/index";
|
|
75
|
-
|
|
75
|
+
import * as menuV2Schema from "./elements/menu-v2/index";
|
|
76
|
+
import * as menuItemSchema from "./elements/menu-item/index";
|
|
77
|
+
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, brandImageSchema, lightBoxV2Schema, searchSchema, layouterSchema, layouterItemSchema, categoryDetailsSchema, contactUsSchema, loginSchema, createFormSchema, resetPasswordSchema, searchResultsHeadingSchema, itemStockSchema, lineItemSchema, tabsV2Schema, tabsContainerSchema, marchandiserSetsSchema, formBuilder, quickLinksSchema, addOrderSchema, buyForTabsSchema, buyForTabsContainerSchema, checkoutSchema, toasterSchema, spotlightSchema, productCustomizationsSchema, iconListSchema, orderStatusSchema, menuV2Schema, menuItemSchema, };
|
|
@@ -27,6 +27,8 @@ interface selfLayoutInterface {
|
|
|
27
27
|
overflowControl: CMSIBCommonInterface;
|
|
28
28
|
paginationType: CMSIBCommonInterface;
|
|
29
29
|
paginationAlignment: CMSIBCommonInterface;
|
|
30
|
+
noOfItemsToShow: CMSIBCommonInterface;
|
|
31
|
+
itemHeight: CMSIBCommonInterface;
|
|
30
32
|
}
|
|
31
33
|
interface selfDesignInterface {
|
|
32
34
|
selectorKey: string;
|
|
@@ -106,7 +108,19 @@ interface selfDesignInterface {
|
|
|
106
108
|
selectorKey: string;
|
|
107
109
|
[key: string]: any;
|
|
108
110
|
};
|
|
109
|
-
|
|
111
|
+
showMoreButton: {
|
|
112
|
+
selectorKey: string;
|
|
113
|
+
[key: string]: any;
|
|
114
|
+
};
|
|
115
|
+
searchBar: {
|
|
116
|
+
selectorKey: string;
|
|
117
|
+
[key: string]: any;
|
|
118
|
+
};
|
|
119
|
+
searchIcon: {
|
|
120
|
+
selectorKey: string;
|
|
121
|
+
[key: string]: any;
|
|
122
|
+
};
|
|
123
|
+
placeholderText: {
|
|
110
124
|
selectorKey: string;
|
|
111
125
|
[key: string]: any;
|
|
112
126
|
};
|
|
@@ -134,7 +148,7 @@ export declare enum AmountEstimatorsSelectorKeysEnum {
|
|
|
134
148
|
SCROLL = "scroll",
|
|
135
149
|
ROW_DIVIDERS = "rowDividers",
|
|
136
150
|
PAGINATION = "pagination",
|
|
137
|
-
SHOW_MORE_ITEMS_BUTTON = "
|
|
151
|
+
SHOW_MORE_ITEMS_BUTTON = "showMoreButton",
|
|
138
152
|
HOVER_STATE = "hover",
|
|
139
153
|
DEFAULT_STATE = "default",
|
|
140
154
|
SELECTED_STATE = "selectedState",
|
|
@@ -87,4 +87,6 @@ import * as toaster from "./toaster";
|
|
|
87
87
|
import * as spotlight from "./spotlight";
|
|
88
88
|
import * as productCustomizations from "./productCustomizations";
|
|
89
89
|
import * as iconList from "./icon-list";
|
|
90
|
-
|
|
90
|
+
import * as menuV2 from "./menu_v2";
|
|
91
|
+
import * as menuItem from "./menu-item";
|
|
92
|
+
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, };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CMSIBCommonInterface, PaddingProps } from "../../interfaces/global";
|
|
2
|
+
import { ShowShubMenuType } from "../../../global/types";
|
|
3
|
+
import { CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
4
|
+
interface selfLayoutInterface {
|
|
5
|
+
selectorKey: string;
|
|
6
|
+
showSubMenu: CMSIBCommonInterface;
|
|
7
|
+
showSubMenuStyle: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
8
|
+
value: ShowShubMenuType;
|
|
9
|
+
};
|
|
10
|
+
itemGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
|
|
11
|
+
}
|
|
12
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface>;
|
|
13
|
+
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
|
+
SELECTED_STATE = "selected"
|
|
28
|
+
}
|
|
29
|
+
export interface selfDesignInterface {
|
|
30
|
+
selectorKey: string;
|
|
31
|
+
[SelectorKeysEnum.MENU_CONTAINER]: any;
|
|
32
|
+
[SelectorKeysEnum.MENU_ITEM_STYLE]: any;
|
|
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 {};
|
|
@@ -1,15 +1,352 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CMSElementEditTypes } from "../../enums";
|
|
2
|
+
import { CMSElementEditPopupInterface } from "./common";
|
|
2
3
|
export interface OrderEditPopupInterface extends CMSElementEditPopupInterface {
|
|
3
4
|
}
|
|
4
|
-
interface selfLayoutInterface {
|
|
5
|
-
selectorKey: string;
|
|
6
|
-
}
|
|
7
5
|
export interface selfDesignInterface {
|
|
8
6
|
selectorKey: string;
|
|
9
7
|
}
|
|
10
8
|
export declare enum orderSelectorKeysEnum {
|
|
11
9
|
LAYOUT = "layout",
|
|
12
|
-
DESIGN = "design"
|
|
10
|
+
DESIGN = "design",
|
|
11
|
+
CONTENT = "content",
|
|
12
|
+
DESIGN_HEADER_STYLES = "designHeader",
|
|
13
|
+
DESIGN_TOAST_STYLES = "designToast",
|
|
14
|
+
DESIGN_DETAILS_STYLES = "designDetails",
|
|
15
|
+
DESIGN_QUICK_ACTIONS_STYLES = "designQuickActions",
|
|
16
|
+
DESIGN_CART_ITEMS_STYLES = "designCartItems"
|
|
13
17
|
}
|
|
14
|
-
export declare const getDefaultData: () =>
|
|
15
|
-
|
|
18
|
+
export declare const getDefaultData: () => {
|
|
19
|
+
layout: {
|
|
20
|
+
selectorKey: orderSelectorKeysEnum;
|
|
21
|
+
width: {
|
|
22
|
+
value: string;
|
|
23
|
+
unit: number;
|
|
24
|
+
};
|
|
25
|
+
height: {
|
|
26
|
+
value: string;
|
|
27
|
+
unit: number;
|
|
28
|
+
property?: any;
|
|
29
|
+
propertyType?: any;
|
|
30
|
+
isReadOnly?: boolean | undefined;
|
|
31
|
+
parentRef?: string | undefined;
|
|
32
|
+
};
|
|
33
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
34
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
35
|
+
positionType: import("../../interfaces/global").CMSIBCommonInterface | undefined;
|
|
36
|
+
};
|
|
37
|
+
content: {
|
|
38
|
+
selectorKey: orderSelectorKeysEnum;
|
|
39
|
+
showHeader: {
|
|
40
|
+
value: boolean;
|
|
41
|
+
propertyType: CMSElementEditTypes;
|
|
42
|
+
};
|
|
43
|
+
showToastMessage: {
|
|
44
|
+
value: boolean;
|
|
45
|
+
propertyType: CMSElementEditTypes;
|
|
46
|
+
};
|
|
47
|
+
orderDetails: {
|
|
48
|
+
value: boolean;
|
|
49
|
+
propertyType: CMSElementEditTypes;
|
|
50
|
+
};
|
|
51
|
+
quickActions: {
|
|
52
|
+
value: boolean;
|
|
53
|
+
propertyType: CMSElementEditTypes;
|
|
54
|
+
};
|
|
55
|
+
cartItems: {
|
|
56
|
+
value: boolean;
|
|
57
|
+
propertyType: CMSElementEditTypes;
|
|
58
|
+
};
|
|
59
|
+
orderAttributes: {
|
|
60
|
+
value: boolean;
|
|
61
|
+
propertyType: CMSElementEditTypes;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
design: {
|
|
65
|
+
selectorKey: orderSelectorKeysEnum;
|
|
66
|
+
designHeader: {
|
|
67
|
+
selectorKey: orderSelectorKeysEnum;
|
|
68
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
69
|
+
margin: {
|
|
70
|
+
isAll: boolean;
|
|
71
|
+
sides: {
|
|
72
|
+
top: {
|
|
73
|
+
value: number;
|
|
74
|
+
unit: number;
|
|
75
|
+
};
|
|
76
|
+
right: {
|
|
77
|
+
value: number;
|
|
78
|
+
unit: number;
|
|
79
|
+
};
|
|
80
|
+
bottom: {
|
|
81
|
+
value: number;
|
|
82
|
+
unit: number;
|
|
83
|
+
};
|
|
84
|
+
left: {
|
|
85
|
+
value: number;
|
|
86
|
+
unit: number;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
property: string;
|
|
90
|
+
propertyType: CMSElementEditTypes;
|
|
91
|
+
};
|
|
92
|
+
shadowColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
93
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
94
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
95
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
96
|
+
showBorder: import("../../interfaces/global").CMSIBCommonInterface;
|
|
97
|
+
borderColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
98
|
+
borderStyle: import("../../interfaces/global").CMSIBCommonInterface;
|
|
99
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
100
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
101
|
+
backgroundColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
102
|
+
font: import("../../interfaces/global").CMSIBCommonInterface;
|
|
103
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
104
|
+
textColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
105
|
+
bold: import("../../interfaces/global").CMSIBCommonInterface;
|
|
106
|
+
italic: import("../../interfaces/global").CMSIBCommonInterface;
|
|
107
|
+
linethrough: import("../../interfaces/global").CMSIBCommonInterface;
|
|
108
|
+
underline: import("../../interfaces/global").CMSIBCommonInterface;
|
|
109
|
+
textAlign: import("../../interfaces/global").CMSIBCommonInterface;
|
|
110
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
111
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
112
|
+
};
|
|
113
|
+
designToast: {
|
|
114
|
+
selectorKey: orderSelectorKeysEnum;
|
|
115
|
+
padding: {
|
|
116
|
+
isAll: boolean;
|
|
117
|
+
sides: {
|
|
118
|
+
top: {
|
|
119
|
+
value: number;
|
|
120
|
+
unit: number;
|
|
121
|
+
};
|
|
122
|
+
right: {
|
|
123
|
+
value: number;
|
|
124
|
+
unit: number;
|
|
125
|
+
};
|
|
126
|
+
bottom: {
|
|
127
|
+
value: number;
|
|
128
|
+
unit: number;
|
|
129
|
+
};
|
|
130
|
+
left: {
|
|
131
|
+
value: number;
|
|
132
|
+
unit: number;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
property: string;
|
|
136
|
+
propertyType: CMSElementEditTypes;
|
|
137
|
+
};
|
|
138
|
+
margin: {
|
|
139
|
+
isAll: boolean;
|
|
140
|
+
sides: {
|
|
141
|
+
top: {
|
|
142
|
+
value: number;
|
|
143
|
+
unit: number;
|
|
144
|
+
};
|
|
145
|
+
right: {
|
|
146
|
+
value: number;
|
|
147
|
+
unit: number;
|
|
148
|
+
};
|
|
149
|
+
bottom: {
|
|
150
|
+
value: number;
|
|
151
|
+
unit: number;
|
|
152
|
+
};
|
|
153
|
+
left: {
|
|
154
|
+
value: number;
|
|
155
|
+
unit: number;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
property: string;
|
|
159
|
+
propertyType: CMSElementEditTypes;
|
|
160
|
+
};
|
|
161
|
+
shadowColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
162
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
163
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
164
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
165
|
+
showBorder: import("../../interfaces/global").CMSIBCommonInterface;
|
|
166
|
+
borderColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
167
|
+
borderStyle: import("../../interfaces/global").CMSIBCommonInterface;
|
|
168
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
169
|
+
borderRadius: {
|
|
170
|
+
isAll: boolean;
|
|
171
|
+
sides: {
|
|
172
|
+
topLeft: {
|
|
173
|
+
value: number;
|
|
174
|
+
unit: number;
|
|
175
|
+
};
|
|
176
|
+
topRight: {
|
|
177
|
+
value: number;
|
|
178
|
+
unit: number;
|
|
179
|
+
};
|
|
180
|
+
bottomLeft: {
|
|
181
|
+
value: number;
|
|
182
|
+
unit: number;
|
|
183
|
+
};
|
|
184
|
+
bottomRight: {
|
|
185
|
+
value: number;
|
|
186
|
+
unit: number;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
backgroundColor: {
|
|
191
|
+
value: {
|
|
192
|
+
hex: string;
|
|
193
|
+
rgb: {
|
|
194
|
+
r: string;
|
|
195
|
+
g: string;
|
|
196
|
+
b: string;
|
|
197
|
+
a: number;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
property: string;
|
|
201
|
+
propertyType: CMSElementEditTypes;
|
|
202
|
+
parentRef: string;
|
|
203
|
+
};
|
|
204
|
+
font: import("../../interfaces/global").CMSIBCommonInterface;
|
|
205
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
206
|
+
textColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
207
|
+
bold: import("../../interfaces/global").CMSIBCommonInterface;
|
|
208
|
+
italic: import("../../interfaces/global").CMSIBCommonInterface;
|
|
209
|
+
linethrough: import("../../interfaces/global").CMSIBCommonInterface;
|
|
210
|
+
underline: import("../../interfaces/global").CMSIBCommonInterface;
|
|
211
|
+
textAlign: import("../../interfaces/global").CMSIBCommonInterface;
|
|
212
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
213
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
214
|
+
};
|
|
215
|
+
designDetails: {
|
|
216
|
+
selectorKey: orderSelectorKeysEnum;
|
|
217
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
218
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
219
|
+
shadowColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
220
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
221
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
222
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
223
|
+
showBorder: import("../../interfaces/global").CMSIBCommonInterface;
|
|
224
|
+
borderColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
225
|
+
borderStyle: import("../../interfaces/global").CMSIBCommonInterface;
|
|
226
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
227
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
228
|
+
backgroundColor: {
|
|
229
|
+
value: {
|
|
230
|
+
hex: string;
|
|
231
|
+
rgb: {
|
|
232
|
+
r: string;
|
|
233
|
+
g: string;
|
|
234
|
+
b: string;
|
|
235
|
+
a: number;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
property: string;
|
|
239
|
+
propertyType: CMSElementEditTypes;
|
|
240
|
+
parentRef: string;
|
|
241
|
+
};
|
|
242
|
+
font: import("../../interfaces/global").CMSIBCommonInterface;
|
|
243
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
244
|
+
textColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
245
|
+
bold: import("../../interfaces/global").CMSIBCommonInterface;
|
|
246
|
+
italic: import("../../interfaces/global").CMSIBCommonInterface;
|
|
247
|
+
linethrough: import("../../interfaces/global").CMSIBCommonInterface;
|
|
248
|
+
underline: import("../../interfaces/global").CMSIBCommonInterface;
|
|
249
|
+
textAlign: import("../../interfaces/global").CMSIBCommonInterface;
|
|
250
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
251
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
252
|
+
};
|
|
253
|
+
designQuickActions: {
|
|
254
|
+
selectorKey: orderSelectorKeysEnum;
|
|
255
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
256
|
+
margin: {
|
|
257
|
+
isAll: boolean;
|
|
258
|
+
sides: {
|
|
259
|
+
top: {
|
|
260
|
+
value: number;
|
|
261
|
+
unit: number;
|
|
262
|
+
};
|
|
263
|
+
right: {
|
|
264
|
+
value: number;
|
|
265
|
+
unit: number;
|
|
266
|
+
};
|
|
267
|
+
bottom: {
|
|
268
|
+
value: number;
|
|
269
|
+
unit: number;
|
|
270
|
+
};
|
|
271
|
+
left: {
|
|
272
|
+
value: number;
|
|
273
|
+
unit: number;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
property: string;
|
|
277
|
+
propertyType: CMSElementEditTypes;
|
|
278
|
+
};
|
|
279
|
+
shadowColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
280
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
281
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
282
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
283
|
+
showBorder: import("../../interfaces/global").CMSIBCommonInterface;
|
|
284
|
+
borderColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
285
|
+
borderStyle: import("../../interfaces/global").CMSIBCommonInterface;
|
|
286
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
287
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
288
|
+
backgroundColor: {
|
|
289
|
+
value: {
|
|
290
|
+
hex: string;
|
|
291
|
+
rgb: {
|
|
292
|
+
r: string;
|
|
293
|
+
g: string;
|
|
294
|
+
b: string;
|
|
295
|
+
a: number;
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
property: string;
|
|
299
|
+
propertyType: CMSElementEditTypes;
|
|
300
|
+
parentRef: string;
|
|
301
|
+
};
|
|
302
|
+
font: import("../../interfaces/global").CMSIBCommonInterface;
|
|
303
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
304
|
+
textColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
305
|
+
bold: import("../../interfaces/global").CMSIBCommonInterface;
|
|
306
|
+
italic: import("../../interfaces/global").CMSIBCommonInterface;
|
|
307
|
+
linethrough: import("../../interfaces/global").CMSIBCommonInterface;
|
|
308
|
+
underline: import("../../interfaces/global").CMSIBCommonInterface;
|
|
309
|
+
textAlign: import("../../interfaces/global").CMSIBCommonInterface;
|
|
310
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
311
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
312
|
+
};
|
|
313
|
+
designCartItems: {
|
|
314
|
+
selectorKey: orderSelectorKeysEnum;
|
|
315
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
316
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
317
|
+
shadowColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
318
|
+
angle: import("../../interfaces/global").CMSIBSizeInterface;
|
|
319
|
+
spread: import("../../interfaces/global").CMSIBSizeInterface;
|
|
320
|
+
blur: import("../../interfaces/global").CMSIBSizeInterface;
|
|
321
|
+
showBorder: import("../../interfaces/global").CMSIBCommonInterface;
|
|
322
|
+
borderColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
323
|
+
borderStyle: import("../../interfaces/global").CMSIBCommonInterface;
|
|
324
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
325
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
326
|
+
backgroundColor: {
|
|
327
|
+
value: {
|
|
328
|
+
hex: string;
|
|
329
|
+
rgb: {
|
|
330
|
+
r: string;
|
|
331
|
+
g: string;
|
|
332
|
+
b: string;
|
|
333
|
+
a: number;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
property: string;
|
|
337
|
+
propertyType: CMSElementEditTypes;
|
|
338
|
+
parentRef: string;
|
|
339
|
+
};
|
|
340
|
+
font: import("../../interfaces/global").CMSIBCommonInterface;
|
|
341
|
+
fontSize: import("../../interfaces/global").CMSIBSizeInterface;
|
|
342
|
+
textColor: import("../../interfaces/global").CMSIBCommonInterface;
|
|
343
|
+
bold: import("../../interfaces/global").CMSIBCommonInterface;
|
|
344
|
+
italic: import("../../interfaces/global").CMSIBCommonInterface;
|
|
345
|
+
linethrough: import("../../interfaces/global").CMSIBCommonInterface;
|
|
346
|
+
underline: import("../../interfaces/global").CMSIBCommonInterface;
|
|
347
|
+
textAlign: import("../../interfaces/global").CMSIBCommonInterface;
|
|
348
|
+
characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
|
|
349
|
+
lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
};
|
|
@@ -103,7 +103,7 @@ export declare const getDefaultData: () => {
|
|
|
103
103
|
property: string;
|
|
104
104
|
propertyType: CMSElementEditTypes;
|
|
105
105
|
};
|
|
106
|
-
|
|
106
|
+
dropdownWidth: {
|
|
107
107
|
value: string;
|
|
108
108
|
unit: number;
|
|
109
109
|
property: string;
|
|
@@ -137,12 +137,8 @@ export declare const getDefaultData: () => {
|
|
|
137
137
|
name: string;
|
|
138
138
|
show: boolean;
|
|
139
139
|
url: string;
|
|
140
|
-
linkType:
|
|
141
|
-
|
|
142
|
-
};
|
|
143
|
-
openIn: {
|
|
144
|
-
value: string;
|
|
145
|
-
};
|
|
140
|
+
linkType: string;
|
|
141
|
+
openIn: string;
|
|
146
142
|
}[];
|
|
147
143
|
propertyType: CMSElementEditTypes;
|
|
148
144
|
};
|
|
@@ -33,6 +33,7 @@ export type GlobalVideoAttributes = "src" | "poster" | "controls" | "autoplay" |
|
|
|
33
33
|
export type CommonBuilderAttributes = "dataDivType" | "dataType" | "dataElementType" | "dataWidgetType" | "dataElementSubChild";
|
|
34
34
|
export type GlobalTableAttributes = "cellPadding" | "cellSpacing" | "border" | "width" | "height" | "align" | "bgColor" | "frame" | "headers" | "rows" | "rules";
|
|
35
35
|
export type StackDirectionType = "horizontal" | "vertical";
|
|
36
|
+
export type ShowShubMenuType = "On Hover" | "On Click";
|
|
36
37
|
export type ObjectFitValue = "fill" | "contain" | "cover" | "none" | "scale-down" | string;
|
|
37
38
|
export type ObjectPositionValue = string;
|
|
38
39
|
export type RepeaterDisplayStyleType = "grid" | "list" | "slider" | "cards";
|