@sc-360-v2/storefront-cms-library 0.0.3 → 0.0.5

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 (58) hide show
  1. package/README.md +7 -35
  2. package/dist/builder.js +2 -0
  3. package/dist/builder.js.LICENSE.txt +1 -0
  4. package/dist/button.scss +139 -0
  5. package/dist/css.js +1 -1
  6. package/dist/faq.scss +136 -0
  7. package/dist/functions.js +1 -0
  8. package/dist/htmlElement.js +1 -1
  9. package/dist/icons.js +1 -0
  10. package/dist/index.js +1 -1
  11. package/dist/tab-panel.scss +93 -0
  12. package/dist/text-editor.scss +328 -0
  13. package/dist/types/builder/elements/button/index.d.ts +26 -0
  14. package/dist/types/builder/elements/code/index.d.ts +59 -0
  15. package/dist/types/builder/elements/common.d.ts +25 -0
  16. package/dist/types/builder/elements/extra.d.ts +70 -0
  17. package/dist/types/builder/elements/faq/index.d.ts +30 -0
  18. package/dist/types/builder/elements/gallery-slider/index.d.ts +30 -0
  19. package/dist/types/builder/elements/grid/index.d.ts +63 -0
  20. package/dist/types/builder/elements/image/index.d.ts +30 -0
  21. package/dist/types/builder/elements/section/index.d.ts +60 -0
  22. package/dist/types/builder/elements/social/index.d.ts +36 -0
  23. package/dist/types/builder/elements/tab/index.d.ts +30 -0
  24. package/dist/types/builder/elements/table/index.d.ts +30 -0
  25. package/dist/types/builder/elements/text-editor/index.d.ts +29 -0
  26. package/dist/types/builder/elements/video/index.d.ts +30 -0
  27. package/dist/types/builder/enums/cssVariables.d.ts +361 -0
  28. package/dist/types/builder/enums/index.d.ts +78 -0
  29. package/dist/types/builder/index.d.ts +18 -0
  30. package/dist/types/builder/interfaces/cms-tools.d.ts +4 -0
  31. package/dist/types/builder/interfaces/global.d.ts +75 -0
  32. package/dist/types/builder/tools/element-edit/button.d.ts +25 -0
  33. package/dist/types/builder/tools/element-edit/code.d.ts +15 -0
  34. package/dist/types/builder/tools/element-edit/common.d.ts +63 -0
  35. package/dist/types/builder/tools/element-edit/faq.d.ts +41 -0
  36. package/dist/types/builder/tools/element-edit/gallery-slider.d.ts +82 -0
  37. package/dist/types/builder/tools/element-edit/image.d.ts +26 -0
  38. package/dist/types/builder/tools/element-edit/index.d.ts +13 -0
  39. package/dist/types/builder/tools/element-edit/section.d.ts +15 -0
  40. package/dist/types/builder/tools/element-edit/slideShowLayouter.d.ts +21 -0
  41. package/dist/types/builder/tools/element-edit/social.d.ts +62 -0
  42. package/dist/types/builder/tools/element-edit/table.d.ts +200 -0
  43. package/dist/types/builder/tools/element-edit/tabs.d.ts +166 -0
  44. package/dist/types/builder/tools/element-edit/video.d.ts +73 -0
  45. package/dist/types/builder/utilities/global.d.ts +4 -0
  46. package/dist/types/css/cssVariables.d.ts +7 -0
  47. package/dist/types/export.d.ts +3 -0
  48. package/dist/types/global/attributes.d.ts +125 -0
  49. package/dist/types/global/index.d.ts +0 -0
  50. package/dist/types/global/style-properties.d.ts +49 -0
  51. package/dist/types/global/types.d.ts +36 -0
  52. package/dist/types/helper/helper-functions.d.ts +1 -0
  53. package/dist/types/html-elements/element-types.d.ts +131 -0
  54. package/dist/types/html-elements/elements.d.ts +89 -0
  55. package/dist/types/icons/cms-svg-icons.d.ts +5 -0
  56. package/dist/types/icons/icons.d.ts +2 -0
  57. package/dist/widget.scss +1 -0
  58. package/package.json +104 -70
@@ -0,0 +1,18 @@
1
+ import commonFunctions from "./utilities/global";
2
+ import * as interfaces from "./interfaces/global";
3
+ import * as enums from "./enums/index";
4
+ import * as sectionSchema from "./elements/section/index";
5
+ import * as gridSchema from "./elements/grid/index";
6
+ import * as imageSchema from "./elements/image/index";
7
+ import * as cmsTypes from "../global/types";
8
+ import * as ElementEditSchema from "./tools/element-edit/index";
9
+ import * as textSchema from "./elements/text-editor/index";
10
+ import * as videoSChema from "./elements/video/index";
11
+ import * as tableSchema from "./elements/table/index";
12
+ import * as buttonSchema from "./elements/button/index";
13
+ import * as gallerySliderSchema from "./elements/gallery-slider/index";
14
+ import * as tabSchema from "./elements/tab/index";
15
+ import * as socialIconsSchema from "./elements/social/index";
16
+ import * as faqSchema from "./elements/faq/index";
17
+ import * as codeSchema from "./elements/code/index";
18
+ export { commonFunctions, interfaces, enums, sectionSchema, gridSchema, cmsTypes, textSchema, ElementEditSchema, imageSchema, videoSChema, socialIconsSchema, buttonSchema, gallerySliderSchema, tabSchema, tableSchema, faqSchema, codeSchema, };
@@ -0,0 +1,4 @@
1
+ export interface CMSPlayground {
2
+ id: string | number;
3
+ name: string;
4
+ }
@@ -0,0 +1,75 @@
1
+ import { CMSElementEditTypes } from "../enums";
2
+ import "./cms-tools";
3
+ export interface FontSizeValues {
4
+ px: number[];
5
+ rem: number[];
6
+ }
7
+ export interface DefaultFontSizes {
8
+ fontSize: FontSizeValues | any;
9
+ lineHeight: FontSizeValues | any;
10
+ }
11
+ export interface UtilsInterface {
12
+ defaultFontSizes: DefaultFontSizes;
13
+ }
14
+ export interface CSSUnitOption {
15
+ id: number;
16
+ label: string;
17
+ value: number;
18
+ }
19
+ export interface SizeInterface {
20
+ inline?: number | 0;
21
+ block?: number | 0;
22
+ }
23
+ export interface CMSInsetInterface {
24
+ top?: string | number;
25
+ right?: string | number;
26
+ bottom?: string | number;
27
+ left?: string | number;
28
+ }
29
+ export interface CMSIBCommonInterface {
30
+ value?: string | any;
31
+ property?: string | boolean | any;
32
+ propertyType?: CMSElementEditTypes | string | any;
33
+ isReadOnly?: boolean;
34
+ }
35
+ export interface CMSIBSizeInterface extends CMSIBCommonInterface {
36
+ unit?: number | string;
37
+ }
38
+ export interface PaddingProps {
39
+ value: number;
40
+ unit: number;
41
+ }
42
+ export interface PaddingSides {
43
+ top: PaddingProps;
44
+ right: PaddingProps;
45
+ bottom: PaddingProps;
46
+ left: PaddingProps;
47
+ }
48
+ export interface BorderSides {
49
+ topLeft: PaddingProps;
50
+ topRight: PaddingProps;
51
+ bottomLeft: PaddingProps;
52
+ bottomRight: PaddingProps;
53
+ }
54
+ export interface CSSPaddingValues {
55
+ isAll: boolean;
56
+ sides: PaddingSides | BorderSides;
57
+ property: string;
58
+ iscss?: boolean;
59
+ propertyType?: CMSElementEditTypes | string | any;
60
+ }
61
+ export interface CMSColorRGBInterface {
62
+ r: string;
63
+ g: string;
64
+ b: string;
65
+ a: string | number | any;
66
+ }
67
+ export interface CMSColorValueInterface {
68
+ hex?: string;
69
+ rgb?: CMSColorRGBInterface;
70
+ }
71
+ export interface CMSColorInterface {
72
+ value: CMSColorValueInterface;
73
+ property: string;
74
+ propertyType?: any;
75
+ }
@@ -0,0 +1,25 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
4
+ }
5
+ export interface ButtonLayoutInterface {
6
+ selectorKey: string;
7
+ buttonStyle: CMSIBCommonInterface;
8
+ buttonText: CMSIBCommonInterface;
9
+ buttonIcon: CMSIBCommonInterface;
10
+ iconPosition: CMSIBCommonInterface;
11
+ iconAndTextSpacing: CMSIBCommonInterface;
12
+ alignment: CMSIBCommonInterface;
13
+ }
14
+ export interface selfDesignInterface {
15
+ selectorKey: string;
16
+ defaultState: any;
17
+ hoverState: any;
18
+ }
19
+ export declare enum ButtonSelectorKeysEnum {
20
+ HOVER_STATE = "hover",
21
+ DEFAULT_STATE = "default",
22
+ LAYOUT = "layout",
23
+ DESIGN = "design"
24
+ }
25
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<ButtonLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
@@ -0,0 +1,15 @@
1
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
2
+ export interface codeEditPopupInterface extends CMSElementEditPopupInterface {
3
+ }
4
+ interface selfLayoutInterface {
5
+ selectorKey: string;
6
+ }
7
+ export interface selfDesignInterface {
8
+ selectorKey: string;
9
+ }
10
+ export declare enum codeSelectorKeysEnum {
11
+ LAYOUT = "layout",
12
+ DESIGN = "design"
13
+ }
14
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
15
+ export {};
@@ -0,0 +1,63 @@
1
+ import { CMSIBCommonInterface, CMSIBSizeInterface, CSSPaddingValues } from "../../interfaces/global";
2
+ export interface CMSElementEditPopupLayoutInterface {
3
+ selectorKey?: string;
4
+ adjustment?: CMSIBCommonInterface;
5
+ width?: {
6
+ [key: string]: CMSIBSizeInterface | any;
7
+ };
8
+ height?: CMSIBSizeInterface;
9
+ margin?: CSSPaddingValues;
10
+ padding?: CSSPaddingValues;
11
+ overflowContent?: CMSIBCommonInterface;
12
+ scrollDirection?: CMSIBCommonInterface;
13
+ displayScrollbar?: CMSIBCommonInterface;
14
+ positionType?: CMSIBCommonInterface;
15
+ pinTo?: CMSIBCommonInterface;
16
+ }
17
+ export interface CMSElementEditPopupDesignInterface {
18
+ backgroundColor: CMSIBCommonInterface;
19
+ borderColor: CMSIBCommonInterface;
20
+ borderStyle: CMSIBCommonInterface;
21
+ borderPerSlide: CSSPaddingValues;
22
+ showBorder: CMSIBCommonInterface;
23
+ showShadow: CMSIBCommonInterface;
24
+ shadowColor: CMSIBCommonInterface;
25
+ spread: CMSIBSizeInterface;
26
+ blur: CMSIBSizeInterface;
27
+ angle: CMSIBSizeInterface;
28
+ borderRadius: CSSPaddingValues;
29
+ cropRatio: CMSIBCommonInterface;
30
+ font: CMSIBCommonInterface;
31
+ fontSize: CMSIBSizeInterface;
32
+ textColor: CMSIBCommonInterface;
33
+ textHighlight: CMSIBCommonInterface;
34
+ bold: CMSIBCommonInterface;
35
+ italic: CMSIBCommonInterface;
36
+ linethrough: CMSIBCommonInterface;
37
+ underline: CMSIBCommonInterface;
38
+ textAlign: CMSIBCommonInterface;
39
+ charactorSpacing: CMSIBSizeInterface;
40
+ paragraphSpacing: CMSIBSizeInterface;
41
+ lineHeight: CMSIBSizeInterface;
42
+ zoomImage: CMSIBCommonInterface;
43
+ flip: CMSIBCommonInterface;
44
+ rotate: CMSIBSizeInterface;
45
+ exposure: CMSIBSizeInterface;
46
+ contrast: CMSIBSizeInterface;
47
+ saturation: CMSIBSizeInterface;
48
+ temperature: CMSIBSizeInterface;
49
+ tint: CMSIBSizeInterface;
50
+ highlights: CMSIBSizeInterface;
51
+ shadows: CMSIBSizeInterface;
52
+ iconSize: CMSIBSizeInterface;
53
+ iconColor: CMSIBCommonInterface;
54
+ showIcon: CMSIBCommonInterface;
55
+ }
56
+ export interface CMSElementEditPopupInterface<L = CMSElementEditPopupLayoutInterface, D = CMSElementEditPopupDesignInterface> {
57
+ layout?: L;
58
+ design?: Partial<D>;
59
+ content?: any;
60
+ settings?: any;
61
+ code?: any;
62
+ }
63
+ export declare const cssInputInstances: CMSElementEditPopupLayoutInterface & CMSElementEditPopupDesignInterface;
@@ -0,0 +1,41 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ expandFirstItemByDefault: CMSIBCommonInterface;
5
+ allowMultipleOpenItems: CMSIBCommonInterface;
6
+ itemDividers: CMSIBCommonInterface;
7
+ iconPosition: CMSIBCommonInterface;
8
+ selectorKey: string;
9
+ }
10
+ export interface selfDesignInterface {
11
+ selectorKey: string;
12
+ faqWidget?: {
13
+ selectorKey: string;
14
+ backgroundColor?: CMSIBCommonInterface;
15
+ borderColor?: CMSIBCommonInterface;
16
+ borderStyle?: CMSIBCommonInterface;
17
+ borderPerSlide?: CMSIBCommonInterface;
18
+ showBorder?: CMSIBCommonInterface;
19
+ showShadow?: CMSIBCommonInterface;
20
+ shadowColor?: CMSIBCommonInterface;
21
+ blur?: CMSIBCommonInterface;
22
+ spread?: CMSIBCommonInterface;
23
+ angle?: CMSIBCommonInterface;
24
+ borderRadius?: CMSIBCommonInterface;
25
+ };
26
+ titleText?: any;
27
+ descriptionText?: any;
28
+ icon: any;
29
+ divider: any;
30
+ }
31
+ export declare enum ButtonSelectorKeysEnum {
32
+ LAYOUT = "layout",
33
+ DESIGN = "design",
34
+ FAQ_WIDGET = "faqWidget",
35
+ TITLE_TEXT = "titleText",
36
+ DESCRIPTION_TEXT = "DescriptionText",
37
+ ICON = "icon",
38
+ DIVIDER = "divider"
39
+ }
40
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
41
+ export {};
@@ -0,0 +1,82 @@
1
+ import { CMSIBCommonInterface, CMSIBSizeInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ selectorKey: string;
5
+ displayStyle: CMSIBCommonInterface;
6
+ itemsPerSlide: CMSIBSizeInterface;
7
+ itemGap: CMSIBSizeInterface;
8
+ rowGap: CMSIBSizeInterface;
9
+ sliderControl: CMSIBCommonInterface;
10
+ controlPosition: CMSIBCommonInterface;
11
+ loopImages: CMSIBCommonInterface;
12
+ sliderDisplayScrollbar: CMSIBCommonInterface;
13
+ autoplay: CMSIBCommonInterface;
14
+ autoplayStyle: CMSIBCommonInterface;
15
+ autoplayDuration: CMSIBSizeInterface;
16
+ sliderSpeed: CMSIBSizeInterface;
17
+ }
18
+ export interface selfDesignInterface {
19
+ selectorKey: string;
20
+ galleryWidgetStyle: {
21
+ selectorKey: string;
22
+ backgroundColor: CMSIBCommonInterface;
23
+ borderColor: CMSIBCommonInterface;
24
+ borderStyle: CMSIBCommonInterface;
25
+ borderPerSlide: CMSIBCommonInterface;
26
+ showBorder: CMSIBCommonInterface;
27
+ showShadow: CMSIBCommonInterface;
28
+ shadowColor: CMSIBCommonInterface;
29
+ blur: CMSIBCommonInterface;
30
+ spread: CMSIBCommonInterface;
31
+ angle: CMSIBCommonInterface;
32
+ borderRadius: CMSIBCommonInterface;
33
+ };
34
+ galleryLayout: {
35
+ selectorKey: string;
36
+ galleryTextAndItemAlignment: CMSIBCommonInterface;
37
+ galleryTextAndItemSpacing: CMSIBCommonInterface;
38
+ galleryTitleAndDescriptionSpacing: CMSIBCommonInterface;
39
+ };
40
+ itemStyle: {
41
+ selectorKey: string;
42
+ imageRatio: CMSIBCommonInterface;
43
+ fitOptions: CMSIBCommonInterface;
44
+ textLayout: CMSIBCommonInterface;
45
+ itemTitleAndDescriptionAlignment: CMSIBCommonInterface;
46
+ textVerticalPadding: CMSIBCommonInterface;
47
+ texHorizontalPadding: CMSIBCommonInterface;
48
+ titleAndDescriptionSpacing: CMSIBCommonInterface;
49
+ };
50
+ paginationArrows: {
51
+ selectorKey: string;
52
+ arrowIconStyle: CMSIBCommonInterface;
53
+ backgroundShape: CMSIBCommonInterface;
54
+ arrowSize: CMSIBCommonInterface;
55
+ arrowColor: CMSIBCommonInterface;
56
+ };
57
+ paginationDots: {
58
+ selectorKey: string;
59
+ dotSize: CMSIBCommonInterface;
60
+ currentDotColor: CMSIBCommonInterface;
61
+ otherDotColor: CMSIBCommonInterface;
62
+ };
63
+ paginationLine: {
64
+ selectorKey: string;
65
+ currentLineColor: CMSIBCommonInterface;
66
+ otherLineColor: CMSIBCommonInterface;
67
+ lineHeight: CMSIBCommonInterface;
68
+ lineWidth: CMSIBCommonInterface;
69
+ };
70
+ }
71
+ export declare enum SelectorKeysEnum {
72
+ LAYOUT = "layout",
73
+ DESIGN = "design",
74
+ GALLERY_WIDGET_STYLE = "gallery-widget-style",
75
+ GALLERY_LAYOUT = "gallery-layout",
76
+ ITEM_STYLE = "item-style",
77
+ PAGINATION_ARROWS = "pagination-arrows",
78
+ PAGINATION_DOTS = "pagination-dots",
79
+ PAGINATION_LINE = "pagination-lines"
80
+ }
81
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
82
+ export {};
@@ -0,0 +1,26 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
4
+ }
5
+ interface controlInterface {
6
+ value: string | boolean;
7
+ propertyType: string;
8
+ }
9
+ interface selfLayoutInterface {
10
+ selectorKey: string;
11
+ onClick: controlInterface;
12
+ onHover: controlInterface;
13
+ imageRatio: CMSIBCommonInterface;
14
+ fitOptions: CMSIBCommonInterface;
15
+ horizontalAlignment: CMSIBCommonInterface;
16
+ verticalAlignment: CMSIBCommonInterface;
17
+ }
18
+ export interface selfDesignInterface {
19
+ selectorKey: string;
20
+ }
21
+ export declare enum SelectorKeysEnum {
22
+ LAYOUT = "layout",
23
+ DESIGN = "design"
24
+ }
25
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
26
+ export {};
@@ -0,0 +1,13 @@
1
+ import * as common from "./common";
2
+ import * as section from "./section";
3
+ import * as image from "./image";
4
+ import * as button from "./button";
5
+ import * as video from "./video";
6
+ import * as tabs from "./tabs";
7
+ import * as slideShowLayouter from "./slideShowLayouter";
8
+ import * as table from "./table";
9
+ import * as gallerySlider from "./gallery-slider";
10
+ import * as social from "./social";
11
+ import * as faq from "./faq";
12
+ import * as code from "./code";
13
+ export { section, common, image, button, slideShowLayouter, tabs, video, table, gallerySlider, social, faq, code, };
@@ -0,0 +1,15 @@
1
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
2
+ export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
3
+ }
4
+ interface selfLayoutInterface {
5
+ selectorKey: string;
6
+ }
7
+ export interface selfDesignInterface {
8
+ selectorKey: string;
9
+ }
10
+ export declare enum sectionSelectorKeysEnum {
11
+ LAYOUT = "layout",
12
+ DESIGN = "design"
13
+ }
14
+ export declare const getDefaultData: (contentWidth: any) => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
15
+ export {};
@@ -0,0 +1,21 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
4
+ }
5
+ interface controlInterface {
6
+ value: string | boolean;
7
+ propertyType: string;
8
+ }
9
+ export interface ImageControlInterface {
10
+ onClick: controlInterface;
11
+ onHover: controlInterface;
12
+ imageRatio: CMSIBCommonInterface;
13
+ fitOptions: CMSIBCommonInterface;
14
+ horizontalAlignment: CMSIBCommonInterface;
15
+ verticalAlignment: CMSIBCommonInterface;
16
+ }
17
+ export interface selfDesignInterface {
18
+ layouter: any;
19
+ }
20
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<ImageControlInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface>;
21
+ export {};
@@ -0,0 +1,62 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
4
+ }
5
+ interface ControlInterface {
6
+ value: string | boolean;
7
+ propertyType: string;
8
+ }
9
+ export declare enum SocialSelectorKeysEnum {
10
+ LAYOUT = "layout",
11
+ DESIGN = "design",
12
+ CONTENT = "content",
13
+ FILL_AND_BACKGROUND = "fillAndBackground",
14
+ ICON_STYLE = "iconStyle"
15
+ }
16
+ export interface SelectorKeys {
17
+ LAYOUT: string;
18
+ DESIGN: string;
19
+ CONTENT: string;
20
+ Social_PLAYER_TEXT: string;
21
+ PLAY_PAUSE: string;
22
+ Social: string;
23
+ }
24
+ export interface SocialControlInterface {
25
+ selectorKey?: string;
26
+ margin?: CMSIBCommonInterface;
27
+ padding?: CMSIBCommonInterface;
28
+ alignment?: CMSIBCommonInterface;
29
+ itemSpacing?: ControlInterface;
30
+ iconSize?: CMSIBCommonInterface;
31
+ positionType?: CMSIBCommonInterface;
32
+ pinTo?: CMSIBCommonInterface;
33
+ website?: CMSIBCommonInterface;
34
+ websiteUrl?: CMSIBCommonInterface;
35
+ instagram?: CMSIBCommonInterface;
36
+ instagramUrl?: CMSIBCommonInterface;
37
+ linkedIn?: CMSIBCommonInterface;
38
+ linkedInUrl?: CMSIBCommonInterface;
39
+ facebook?: CMSIBCommonInterface;
40
+ facebookUrl?: CMSIBCommonInterface;
41
+ amazon?: CMSIBCommonInterface;
42
+ amazonUrl?: CMSIBCommonInterface;
43
+ twitter?: CMSIBCommonInterface;
44
+ twitterUrl?: CMSIBCommonInterface;
45
+ iconStyle?: {
46
+ selectorKey?: string;
47
+ icon?: CMSIBCommonInterface;
48
+ iconColor?: CMSIBCommonInterface;
49
+ iconSize?: CMSIBCommonInterface;
50
+ };
51
+ fillAndBackground?: {
52
+ selectorKey?: string;
53
+ backgroundColor?: CMSIBCommonInterface;
54
+ };
55
+ }
56
+ export interface CMSSocialEditPopupInterface<L = SocialControlInterface, C = SocialControlInterface, D = SocialControlInterface> {
57
+ layout?: L;
58
+ content?: C;
59
+ design?: D;
60
+ }
61
+ export declare const getDefaultData: () => CMSSocialEditPopupInterface<SocialControlInterface & SocialControlInterface & SocialControlInterface & CMSElementEditPopupLayoutInterface>;
62
+ export {};
@@ -0,0 +1,200 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
4
+ }
5
+ export interface TableControlInterface {
6
+ selectorKey?: string;
7
+ header?: CMSIBCommonInterface;
8
+ headerHeight?: CMSIBCommonInterface;
9
+ rowHeight?: CMSIBCommonInterface;
10
+ headerDivider?: CMSIBCommonInterface;
11
+ rowDivider?: CMSIBCommonInterface;
12
+ columnDivider?: CMSIBCommonInterface;
13
+ alternativeRowColors?: CMSIBCommonInterface;
14
+ headerCellPadding?: CMSIBCommonInterface;
15
+ rowCellPadding?: CMSIBCommonInterface;
16
+ contentAlignment?: CMSIBCommonInterface;
17
+ showMoreRows?: CMSIBCommonInterface;
18
+ rowsPerPage?: CMSIBCommonInterface;
19
+ paginationType?: CMSIBCommonInterface;
20
+ paginationAlignment?: CMSIBCommonInterface;
21
+ noOfItemsToLoad?: CMSIBCommonInterface;
22
+ showTitle?: CMSIBCommonInterface;
23
+ tableTitle?: CMSIBCommonInterface;
24
+ connetDynamicallyWith?: CMSIBCommonInterface;
25
+ columns?: CMSIBCommonInterface;
26
+ rows?: CMSIBCommonInterface;
27
+ tableWidget?: {
28
+ selectorKey?: string;
29
+ backgroundColor?: CMSIBCommonInterface;
30
+ borderColor?: CMSIBCommonInterface;
31
+ borderStyle?: CMSIBCommonInterface;
32
+ borderPerSlide?: CMSIBCommonInterface;
33
+ showBorder?: CMSIBCommonInterface;
34
+ showShadow?: CMSIBCommonInterface;
35
+ shadowColor?: CMSIBCommonInterface;
36
+ blur?: CMSIBCommonInterface;
37
+ spread?: CMSIBCommonInterface;
38
+ angle?: CMSIBCommonInterface;
39
+ borderRadius?: CMSIBCommonInterface;
40
+ };
41
+ connectWith?: CMSIBCommonInterface;
42
+ table?: {
43
+ selectorKey?: string;
44
+ showBorder?: CMSIBCommonInterface;
45
+ borderStyle?: CMSIBCommonInterface;
46
+ borderColor?: CMSIBCommonInterface;
47
+ borderPerSlide?: CMSIBCommonInterface;
48
+ borderRadius?: CMSIBCommonInterface;
49
+ showShadow?: CMSIBCommonInterface;
50
+ shadowColor?: CMSIBCommonInterface;
51
+ angle?: CMSIBCommonInterface;
52
+ spread?: CMSIBCommonInterface;
53
+ blur?: CMSIBCommonInterface;
54
+ };
55
+ tableHeader?: {
56
+ selectorKey?: string;
57
+ backgroundColor?: CMSIBCommonInterface;
58
+ };
59
+ headerText?: {
60
+ selectorKey?: string;
61
+ font?: CMSIBCommonInterface;
62
+ fontSize?: CMSIBCommonInterface;
63
+ textColor: CMSIBCommonInterface;
64
+ bold: CMSIBCommonInterface;
65
+ italic: CMSIBCommonInterface;
66
+ linethrough: CMSIBCommonInterface;
67
+ underline: CMSIBCommonInterface;
68
+ textAlign: CMSIBCommonInterface;
69
+ charactorSpacing: CMSIBCommonInterface;
70
+ lineHeight: CMSIBCommonInterface;
71
+ };
72
+ tableRow?: {
73
+ selectorKey?: string;
74
+ backgroundColor?: CMSIBCommonInterface;
75
+ };
76
+ rowText?: {
77
+ selectorKey?: string;
78
+ font?: CMSIBCommonInterface;
79
+ fontSize?: CMSIBCommonInterface;
80
+ textColor: CMSIBCommonInterface;
81
+ bold: CMSIBCommonInterface;
82
+ italic: CMSIBCommonInterface;
83
+ linethrough: CMSIBCommonInterface;
84
+ underline: CMSIBCommonInterface;
85
+ textAlign: CMSIBCommonInterface;
86
+ charactorSpacing: CMSIBCommonInterface;
87
+ lineHeight: CMSIBCommonInterface;
88
+ };
89
+ rowAndHeaderDividers?: {
90
+ selectorKey?: string;
91
+ headerDivider?: CMSIBCommonInterface;
92
+ rowDivider?: CMSIBCommonInterface;
93
+ };
94
+ scrollBar?: {
95
+ selectorKey?: string;
96
+ scrollBarWidth?: CMSIBCommonInterface;
97
+ scrollBarColor?: CMSIBCommonInterface;
98
+ };
99
+ pagination?: {
100
+ selectorKey?: string;
101
+ pagination?: CMSIBCommonInterface;
102
+ paginationStyle?: CMSIBCommonInterface;
103
+ arrowIconStyle?: CMSIBCommonInterface;
104
+ arrowSize?: CMSIBCommonInterface;
105
+ arrowColor?: CMSIBCommonInterface;
106
+ backgroundShape?: CMSIBCommonInterface;
107
+ backgroundColor?: CMSIBCommonInterface;
108
+ font?: CMSIBCommonInterface;
109
+ fontSize?: CMSIBCommonInterface;
110
+ textColor?: CMSIBCommonInterface;
111
+ textHighlight?: CMSIBCommonInterface;
112
+ hoverBackgroundShape?: CMSIBCommonInterface;
113
+ hoverBackgroundColor?: CMSIBCommonInterface;
114
+ hoverFont?: CMSIBCommonInterface;
115
+ hoverFontSize?: CMSIBCommonInterface;
116
+ hoverTextColor?: CMSIBCommonInterface;
117
+ hoverTextHighlight?: CMSIBCommonInterface;
118
+ bold?: CMSIBCommonInterface;
119
+ italic?: CMSIBCommonInterface;
120
+ linethrough?: CMSIBCommonInterface;
121
+ underline?: CMSIBCommonInterface;
122
+ textAlign?: CMSIBCommonInterface;
123
+ charactorSpacing?: CMSIBCommonInterface;
124
+ lineHeight?: CMSIBCommonInterface;
125
+ icon?: CMSIBCommonInterface;
126
+ iconSize?: CMSIBCommonInterface;
127
+ iconColor?: CMSIBCommonInterface;
128
+ };
129
+ loadMoreButton?: {
130
+ selectorKey?: string;
131
+ cropRatio?: CMSIBCommonInterface;
132
+ zoomImage?: CMSIBCommonInterface;
133
+ flip?: CMSIBCommonInterface;
134
+ rotate?: CMSIBCommonInterface;
135
+ backgroundColor?: CMSIBCommonInterface;
136
+ exposure?: CMSIBCommonInterface;
137
+ contrast?: CMSIBCommonInterface;
138
+ saturation?: CMSIBCommonInterface;
139
+ temperature?: CMSIBCommonInterface;
140
+ tint?: CMSIBCommonInterface;
141
+ highlights?: CMSIBCommonInterface;
142
+ shadows?: CMSIBCommonInterface;
143
+ showBorder?: CMSIBCommonInterface;
144
+ borderStyle?: CMSIBCommonInterface;
145
+ borderColor?: CMSIBCommonInterface;
146
+ borderPerSlide?: CMSIBCommonInterface;
147
+ borderRadius?: CMSIBCommonInterface;
148
+ showShadow?: CMSIBCommonInterface;
149
+ shadowColor?: CMSIBCommonInterface;
150
+ angle?: CMSIBCommonInterface;
151
+ spread?: CMSIBCommonInterface;
152
+ blur?: CMSIBCommonInterface;
153
+ font?: CMSIBCommonInterface;
154
+ fontSize?: CMSIBCommonInterface;
155
+ textColor: CMSIBCommonInterface;
156
+ bold: CMSIBCommonInterface;
157
+ italic: CMSIBCommonInterface;
158
+ linethrough: CMSIBCommonInterface;
159
+ underline: CMSIBCommonInterface;
160
+ textAlign: CMSIBCommonInterface;
161
+ charactorSpacing: CMSIBCommonInterface;
162
+ lineHeight: CMSIBCommonInterface;
163
+ };
164
+ }
165
+ export interface CMSTableEditPopupInterface<L = TableControlInterface, C = TableControlInterface, D = TableControlInterface> {
166
+ layout?: L;
167
+ content?: C;
168
+ design?: D;
169
+ }
170
+ export declare enum TableSelectorKeysEnum {
171
+ LAYOUT = "layout",
172
+ CONTENT = "content",
173
+ DESIGN = "design",
174
+ TABLE_WIDGET = "tableWidget",
175
+ TABLE = "table",
176
+ TABLE_HEADER = "tableHeader",
177
+ HEADER_TEXT = "headerText",
178
+ TABLE_ROW = "tableRow",
179
+ ROW_TEXT = "rowText",
180
+ ROW_AND_HEADER_DIVIDER = "rowAndHeaderDividers",
181
+ SCROLL_BAR = "scrollBar",
182
+ PAGINATION = "pagination",
183
+ LOAD_MORE_BUTTON = "loadMoreButton"
184
+ }
185
+ export interface TableSelectorKeys {
186
+ LAYOUT: string;
187
+ CONTENT: string;
188
+ DESIGN: string;
189
+ TABLE_WIDGET: string;
190
+ TABLE: string;
191
+ TABLE_HEADER: string;
192
+ HEADER_TEXT: string;
193
+ TABLE_ROW: string;
194
+ ROW_TEXT: string;
195
+ ROW_AND_HEADER_DIVIDER: string;
196
+ SCROLL_BAR: string;
197
+ PAGINATION: string;
198
+ loadMoreButton: string;
199
+ }
200
+ export declare const getDefaultData: () => CMSTableEditPopupInterface<(TableControlInterface & TableControlInterface & TableControlInterface) | CMSElementEditPopupLayoutInterface>;