@sc-360-v2/storefront-cms-library 0.2.32 → 0.2.34
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/functions.js +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/builder/enums/index.d.ts +7 -0
- package/dist/types/builder/interfaces/global.d.ts +6 -1
- package/dist/types/builder/tools/element-edit/index.d.ts +4 -1
- package/dist/types/builder/tools/element-edit/pastOrders.d.ts +16 -0
- package/dist/types/builder/tools/element-edit/quotes.d.ts +28 -0
- package/dist/types/builder/tools/element-edit/rfqs.d.ts +28 -0
- package/dist/types/global/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -234,6 +234,9 @@ export declare const CMSElementsListEnum: {
|
|
|
234
234
|
SUB_CATEGORY: string;
|
|
235
235
|
FILTERS: string;
|
|
236
236
|
SORT: string;
|
|
237
|
+
PAST_ORDERS: string;
|
|
238
|
+
QUOTES: string;
|
|
239
|
+
RFQS: string;
|
|
237
240
|
};
|
|
238
241
|
export declare enum CMSResponsiveModeEnums {
|
|
239
242
|
DESKTOP = "desktop",
|
|
@@ -280,3 +283,7 @@ export declare enum CMSDeviceVisibilityKeysEnums {
|
|
|
280
283
|
TABLET = "tablet",
|
|
281
284
|
MOBILE = "mobile"
|
|
282
285
|
}
|
|
286
|
+
export declare enum CMSCustomEventServiceTypesEnum {
|
|
287
|
+
UPSERT = 1,
|
|
288
|
+
GET = 2
|
|
289
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CMSDeviceVisibilityHiddenTypeEnums, CMSElementEditTypes } from "../enums";
|
|
1
|
+
import { CMSDeviceVisibilityHiddenTypeEnums, CMSElementEditTypes, CMSCustomEventServiceTypesEnum } from "../enums";
|
|
2
2
|
import "./cms-tools";
|
|
3
3
|
export interface FontSizeValues {
|
|
4
4
|
px: number[];
|
|
@@ -103,3 +103,8 @@ export interface CMSDeviceVisibilityOptionInterface {
|
|
|
103
103
|
tablet: CMSDeviceVisibilityOptionItemInterface;
|
|
104
104
|
mobile: CMSDeviceVisibilityOptionItemInterface;
|
|
105
105
|
}
|
|
106
|
+
export interface CMSCustomEventsServiceInterface {
|
|
107
|
+
type: any;
|
|
108
|
+
value: any;
|
|
109
|
+
serviceType: CMSCustomEventServiceTypesEnum;
|
|
110
|
+
}
|
|
@@ -51,4 +51,7 @@ import * as subCategory from "./subCategory";
|
|
|
51
51
|
import * as brandImage from "./brandImage";
|
|
52
52
|
import * as filters from "./filters";
|
|
53
53
|
import * as sort from "./sort";
|
|
54
|
-
|
|
54
|
+
import * as pastOrders from "./pastOrders";
|
|
55
|
+
import * as quotes from "./quotes";
|
|
56
|
+
import * as rfqs from "./rfqs";
|
|
57
|
+
export { amountEstimator, bulkVariantPicker, button, code, 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, };
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
}
|
|
10
|
+
export declare enum SelectorKeysEnum {
|
|
11
|
+
LAYOUT = "layout",
|
|
12
|
+
CONTENT = "content",
|
|
13
|
+
DESIGN = "design"
|
|
14
|
+
}
|
|
15
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
2
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
|
+
export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
|
|
4
|
+
}
|
|
5
|
+
interface selfLayoutInterface {
|
|
6
|
+
selectorKey: string;
|
|
7
|
+
displayStyle: CMSIBCommonInterface;
|
|
8
|
+
maxItemsToDisplay: CMSIBCommonInterface;
|
|
9
|
+
sliderControl: CMSIBCommonInterface;
|
|
10
|
+
controlPosition: CMSIBCommonInterface;
|
|
11
|
+
loopItems: CMSIBCommonInterface;
|
|
12
|
+
displayScrollbar1: CMSIBCommonInterface;
|
|
13
|
+
autoplay: CMSIBCommonInterface;
|
|
14
|
+
spacingBetweenItems: CMSIBCommonInterface;
|
|
15
|
+
dividerBetweenItems: CMSIBCommonInterface;
|
|
16
|
+
overflowControl: CMSIBCommonInterface;
|
|
17
|
+
numOfItemsToLoad: CMSIBCommonInterface;
|
|
18
|
+
}
|
|
19
|
+
interface selfDesignInterface {
|
|
20
|
+
selectorKey: string;
|
|
21
|
+
}
|
|
22
|
+
export declare enum SelectorKeysEnum {
|
|
23
|
+
LAYOUT = "layout",
|
|
24
|
+
CONTENT = "content",
|
|
25
|
+
DESIGN = "design"
|
|
26
|
+
}
|
|
27
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CMSIBCommonInterface } from "../../interfaces/global";
|
|
2
|
+
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
3
|
+
export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
|
|
4
|
+
}
|
|
5
|
+
interface selfLayoutInterface {
|
|
6
|
+
selectorKey: string;
|
|
7
|
+
displayStyle: CMSIBCommonInterface;
|
|
8
|
+
maxItemsToDisplay: CMSIBCommonInterface;
|
|
9
|
+
sliderControl: CMSIBCommonInterface;
|
|
10
|
+
controlPosition: CMSIBCommonInterface;
|
|
11
|
+
loopItems: CMSIBCommonInterface;
|
|
12
|
+
displayScrollbar1: CMSIBCommonInterface;
|
|
13
|
+
autoplay: CMSIBCommonInterface;
|
|
14
|
+
spacingBetweenItems: CMSIBCommonInterface;
|
|
15
|
+
dividerBetweenItems: CMSIBCommonInterface;
|
|
16
|
+
overflowControl: CMSIBCommonInterface;
|
|
17
|
+
numOfItemsToLoad: CMSIBCommonInterface;
|
|
18
|
+
}
|
|
19
|
+
interface selfDesignInterface {
|
|
20
|
+
selectorKey: string;
|
|
21
|
+
}
|
|
22
|
+
export declare enum SelectorKeysEnum {
|
|
23
|
+
LAYOUT = "layout",
|
|
24
|
+
CONTENT = "content",
|
|
25
|
+
DESIGN = "design"
|
|
26
|
+
}
|
|
27
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
28
|
+
export {};
|
|
@@ -38,3 +38,4 @@ export type ObjectPositionValue = string;
|
|
|
38
38
|
export type RepeaterDisplayStyleType = "grid" | "list" | "slider" | "cards";
|
|
39
39
|
export type RepeaterSliderControlTypes = "Arrows & Dots" | "Arrows" | "Dots" | "None";
|
|
40
40
|
export type DeviceVisibilityByOptionsType = "HTML" | "CSS" | "NONE";
|
|
41
|
+
export type CustomEventCallback<T = any> = (data: T) => void;
|