@sc-360-v2/storefront-cms-library 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/README.md +7 -35
  2. package/dist/builder.js +1 -1
  3. package/dist/button.scss +139 -0
  4. package/dist/faq.scss +136 -0
  5. package/dist/functions.js +1 -0
  6. package/dist/htmlElement.js +1 -1
  7. package/dist/icons.js +1 -1
  8. package/dist/index.js +1 -1
  9. package/dist/tab-panel.scss +93 -0
  10. package/dist/text-editor.scss +8 -0
  11. package/dist/types/builder/elements/button/index.d.ts +26 -0
  12. package/dist/types/builder/elements/code/index.d.ts +59 -0
  13. package/dist/types/builder/elements/common.d.ts +6 -0
  14. package/dist/types/builder/elements/faq/index.d.ts +30 -0
  15. package/dist/types/builder/elements/gallery-slider/index.d.ts +30 -0
  16. package/dist/types/builder/elements/grid/index.d.ts +4 -1
  17. package/dist/types/builder/elements/image/index.d.ts +4 -1
  18. package/dist/types/builder/elements/section/index.d.ts +8 -2
  19. package/dist/types/builder/elements/social/index.d.ts +36 -0
  20. package/dist/types/builder/elements/tab/index.d.ts +30 -0
  21. package/dist/types/builder/elements/table/index.d.ts +30 -0
  22. package/dist/types/builder/elements/text-editor/index.d.ts +4 -3
  23. package/dist/types/builder/elements/video/index.d.ts +30 -0
  24. package/dist/types/builder/enums/cssVariables.d.ts +361 -0
  25. package/dist/types/builder/enums/index.d.ts +39 -3
  26. package/dist/types/builder/index.d.ts +11 -1
  27. package/dist/types/builder/interfaces/global.d.ts +48 -0
  28. package/dist/types/builder/tools/element-edit/button.d.ts +25 -0
  29. package/dist/types/builder/tools/element-edit/code.d.ts +15 -0
  30. package/dist/types/builder/tools/element-edit/common.d.ts +65 -0
  31. package/dist/types/builder/tools/element-edit/embed.d.ts +13 -0
  32. package/dist/types/builder/tools/element-edit/faq.d.ts +41 -0
  33. package/dist/types/builder/tools/element-edit/gallery-slider.d.ts +81 -0
  34. package/dist/types/builder/tools/element-edit/grid.d.ts +15 -0
  35. package/dist/types/builder/tools/element-edit/image.d.ts +26 -0
  36. package/dist/types/builder/tools/element-edit/index.d.ts +16 -0
  37. package/dist/types/builder/tools/element-edit/section.d.ts +15 -0
  38. package/dist/types/builder/tools/element-edit/slideShowLayouter.d.ts +21 -0
  39. package/dist/types/builder/tools/element-edit/social.d.ts +62 -0
  40. package/dist/types/builder/tools/element-edit/table.d.ts +201 -0
  41. package/dist/types/builder/tools/element-edit/tabs.d.ts +158 -0
  42. package/dist/types/builder/tools/element-edit/text.d.ts +15 -0
  43. package/dist/types/builder/tools/element-edit/video.d.ts +74 -0
  44. package/dist/types/builder/utilities/global.d.ts +0 -2
  45. package/dist/types/global/attributes.d.ts +2 -2
  46. package/dist/types/global/style-properties.d.ts +3 -1
  47. package/dist/types/global/types.d.ts +6 -0
  48. package/dist/types/helper/helper-functions.d.ts +1 -0
  49. package/dist/types/html-elements/element-types.d.ts +11 -1
  50. package/dist/types/html-elements/elements.d.ts +3 -1
  51. package/dist/widget.scss +1 -0
  52. package/package.json +13 -1
@@ -0,0 +1,81 @@
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
+ autoplay: CMSIBCommonInterface;
13
+ autoplayStyle: CMSIBCommonInterface;
14
+ autoplayDuration: CMSIBSizeInterface;
15
+ sliderSpeed: CMSIBSizeInterface;
16
+ }
17
+ export interface selfDesignInterface {
18
+ selectorKey: string;
19
+ galleryWidgetStyle: {
20
+ selectorKey: string;
21
+ backgroundColor: CMSIBCommonInterface;
22
+ borderColor: CMSIBCommonInterface;
23
+ borderStyle: CMSIBCommonInterface;
24
+ borderPerSlide: CMSIBCommonInterface;
25
+ showBorder: CMSIBCommonInterface;
26
+ showShadow: CMSIBCommonInterface;
27
+ shadowColor: CMSIBCommonInterface;
28
+ blur: CMSIBCommonInterface;
29
+ spread: CMSIBCommonInterface;
30
+ angle: CMSIBCommonInterface;
31
+ borderRadius: CMSIBCommonInterface;
32
+ };
33
+ galleryLayout: {
34
+ selectorKey: string;
35
+ galleryTextAndItemAlignment: CMSIBCommonInterface;
36
+ galleryTextAndItemSpacing: CMSIBCommonInterface;
37
+ galleryTitleAndDescriptionSpacing: CMSIBCommonInterface;
38
+ };
39
+ itemStyle: {
40
+ selectorKey: string;
41
+ imageRatio: CMSIBCommonInterface;
42
+ fitOptions: CMSIBCommonInterface;
43
+ textLayout: CMSIBCommonInterface;
44
+ itemTitleAndDescriptionAlignment: CMSIBCommonInterface;
45
+ textVerticalPadding: CMSIBCommonInterface;
46
+ textHorizontalPadding: CMSIBCommonInterface;
47
+ titleAndDescriptionSpacing: CMSIBCommonInterface;
48
+ };
49
+ paginationArrows: {
50
+ selectorKey: string;
51
+ arrowIconStyle: CMSIBCommonInterface;
52
+ backgroundShape: CMSIBCommonInterface;
53
+ arrowSize: CMSIBCommonInterface;
54
+ arrowColor: CMSIBCommonInterface;
55
+ };
56
+ paginationDots: {
57
+ selectorKey: string;
58
+ dotSize: CMSIBCommonInterface;
59
+ currentDotColor: CMSIBCommonInterface;
60
+ otherDotColor: CMSIBCommonInterface;
61
+ };
62
+ paginationLine: {
63
+ selectorKey: string;
64
+ currentLineColor: CMSIBCommonInterface;
65
+ otherLineColor: CMSIBCommonInterface;
66
+ lineHeight: CMSIBCommonInterface;
67
+ lineWidth: CMSIBCommonInterface;
68
+ };
69
+ }
70
+ export declare enum SelectorKeysEnum {
71
+ LAYOUT = "layout",
72
+ DESIGN = "design",
73
+ GALLERY_WIDGET_STYLE = "gallery-widget-style",
74
+ GALLERY_LAYOUT = "gallery-layout",
75
+ ITEM_STYLE = "item-style",
76
+ PAGINATION_ARROWS = "pagination-arrows",
77
+ PAGINATION_DOTS = "pagination-dots",
78
+ PAGINATION_LINE = "pagination-lines"
79
+ }
80
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
81
+ export {};
@@ -0,0 +1,15 @@
1
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
2
+ export interface GridEditPopupInterface extends CMSElementEditPopupInterface {
3
+ }
4
+ interface selfLayoutInterface {
5
+ selectorKey: string;
6
+ }
7
+ export interface selfDesignInterface {
8
+ selectorKey: string;
9
+ }
10
+ export declare enum gridSelectorKeysEnum {
11
+ LAYOUT = "layout",
12
+ DESIGN = "design"
13
+ }
14
+ export declare const getDefaultData: (contentWidth: any) => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
15
+ 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,16 @@
1
+ import * as common from "./common";
2
+ import * as section from "./section";
3
+ import * as grid from "./grid";
4
+ import * as image from "./image";
5
+ import * as button from "./button";
6
+ import * as video from "./video";
7
+ import * as tabs from "./tabs";
8
+ import * as slideShowLayouter from "./slideShowLayouter";
9
+ import * as table from "./table";
10
+ import * as gallerySlider from "./gallery-slider";
11
+ import * as social from "./social";
12
+ import * as faq from "./faq";
13
+ import * as code from "./code";
14
+ import * as embed from "./embed";
15
+ import * as text from "./text";
16
+ export { section, grid, common, image, button, slideShowLayouter, tabs, video, table, gallerySlider, social, faq, code, text, embed, };
@@ -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,201 @@
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
+ layoutHeaderDivider?: CMSIBCommonInterface;
11
+ layoutRowDivider?: CMSIBCommonInterface;
12
+ layoutColumnDivider?: 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
+ columnDivider?: CMSIBCommonInterface;
94
+ };
95
+ scrollBar?: {
96
+ selectorKey?: string;
97
+ scrollBarWidth?: CMSIBCommonInterface;
98
+ scrollBarColor?: CMSIBCommonInterface;
99
+ };
100
+ pagination?: {
101
+ selectorKey?: string;
102
+ pagination?: CMSIBCommonInterface;
103
+ paginationStyle?: CMSIBCommonInterface;
104
+ arrowIconStyle?: CMSIBCommonInterface;
105
+ arrowSize?: CMSIBCommonInterface;
106
+ arrowColor?: CMSIBCommonInterface;
107
+ backgroundShape?: CMSIBCommonInterface;
108
+ backgroundColor?: CMSIBCommonInterface;
109
+ font?: CMSIBCommonInterface;
110
+ fontSize?: CMSIBCommonInterface;
111
+ textColor?: CMSIBCommonInterface;
112
+ textHighlight?: CMSIBCommonInterface;
113
+ hoverBackgroundShape?: CMSIBCommonInterface;
114
+ hoverBackgroundColor?: CMSIBCommonInterface;
115
+ hoverFont?: CMSIBCommonInterface;
116
+ hoverFontSize?: CMSIBCommonInterface;
117
+ hoverTextColor?: CMSIBCommonInterface;
118
+ hoverTextHighlight?: CMSIBCommonInterface;
119
+ bold?: CMSIBCommonInterface;
120
+ italic?: CMSIBCommonInterface;
121
+ linethrough?: CMSIBCommonInterface;
122
+ underline?: CMSIBCommonInterface;
123
+ textAlign?: CMSIBCommonInterface;
124
+ charactorSpacing?: CMSIBCommonInterface;
125
+ lineHeight?: CMSIBCommonInterface;
126
+ icon?: CMSIBCommonInterface;
127
+ iconSize?: CMSIBCommonInterface;
128
+ iconColor?: CMSIBCommonInterface;
129
+ };
130
+ loadMoreButton?: {
131
+ selectorKey?: string;
132
+ cropRatio?: CMSIBCommonInterface;
133
+ zoomImage?: CMSIBCommonInterface;
134
+ flip?: CMSIBCommonInterface;
135
+ rotate?: CMSIBCommonInterface;
136
+ backgroundColor?: CMSIBCommonInterface;
137
+ exposure?: CMSIBCommonInterface;
138
+ contrast?: CMSIBCommonInterface;
139
+ saturation?: CMSIBCommonInterface;
140
+ temperature?: CMSIBCommonInterface;
141
+ tint?: CMSIBCommonInterface;
142
+ highlights?: CMSIBCommonInterface;
143
+ shadows?: CMSIBCommonInterface;
144
+ showBorder?: CMSIBCommonInterface;
145
+ borderStyle?: CMSIBCommonInterface;
146
+ borderColor?: CMSIBCommonInterface;
147
+ borderPerSlide?: CMSIBCommonInterface;
148
+ borderRadius?: CMSIBCommonInterface;
149
+ showShadow?: CMSIBCommonInterface;
150
+ shadowColor?: CMSIBCommonInterface;
151
+ angle?: CMSIBCommonInterface;
152
+ spread?: CMSIBCommonInterface;
153
+ blur?: CMSIBCommonInterface;
154
+ font?: CMSIBCommonInterface;
155
+ fontSize?: CMSIBCommonInterface;
156
+ textColor: CMSIBCommonInterface;
157
+ bold: CMSIBCommonInterface;
158
+ italic: CMSIBCommonInterface;
159
+ linethrough: CMSIBCommonInterface;
160
+ underline: CMSIBCommonInterface;
161
+ textAlign: CMSIBCommonInterface;
162
+ charactorSpacing: CMSIBCommonInterface;
163
+ lineHeight: CMSIBCommonInterface;
164
+ };
165
+ }
166
+ export interface CMSTableEditPopupInterface<L = TableControlInterface, C = TableControlInterface, D = TableControlInterface> {
167
+ layout?: L;
168
+ content?: C;
169
+ design?: D;
170
+ }
171
+ export declare enum TableSelectorKeysEnum {
172
+ LAYOUT = "layout",
173
+ CONTENT = "content",
174
+ DESIGN = "design",
175
+ TABLE_WIDGET = "tableWidget",
176
+ TABLE = "table",
177
+ TABLE_HEADER = "tableHeader",
178
+ HEADER_TEXT = "headerText",
179
+ TABLE_ROW = "tableRow",
180
+ ROW_TEXT = "rowText",
181
+ ROW_AND_HEADER_DIVIDER = "rowAndHeaderDividers",
182
+ SCROLL_BAR = "scrollBar",
183
+ PAGINATION = "pagination",
184
+ LOAD_MORE_BUTTON = "loadMoreButton"
185
+ }
186
+ export interface TableSelectorKeys {
187
+ LAYOUT: string;
188
+ CONTENT: string;
189
+ DESIGN: string;
190
+ TABLE_WIDGET: string;
191
+ TABLE: string;
192
+ TABLE_HEADER: string;
193
+ HEADER_TEXT: string;
194
+ TABLE_ROW: string;
195
+ ROW_TEXT: string;
196
+ ROW_AND_HEADER_DIVIDER: string;
197
+ SCROLL_BAR: string;
198
+ PAGINATION: string;
199
+ loadMoreButton: string;
200
+ }
201
+ export declare const getDefaultData: () => CMSTableEditPopupInterface<(TableControlInterface & TableControlInterface & TableControlInterface) | CMSElementEditPopupLayoutInterface>;
@@ -0,0 +1,158 @@
1
+ import { CMSElementEditTypes } from "../../enums";
2
+ import { CMSIBCommonInterface } from "../../interfaces/global";
3
+ import { CMSElementEditPopupInterface } from "./common";
4
+ export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
5
+ }
6
+ export interface TabControlInterface {
7
+ tabPosition: CMSIBCommonInterface;
8
+ tabLayout: CMSIBCommonInterface;
9
+ tabAlignment: CMSIBCommonInterface;
10
+ tabSpacing: CMSIBCommonInterface;
11
+ tabContainer: CMSIBCommonInterface;
12
+ horizontalPadding: CMSIBCommonInterface;
13
+ verticalPadding: CMSIBCommonInterface;
14
+ overflowTabs: CMSIBCommonInterface;
15
+ spacingBetweenRows: CMSIBCommonInterface;
16
+ }
17
+ export declare const getDefaultData: () => {
18
+ layout: {
19
+ adjustment: CMSIBCommonInterface | undefined;
20
+ width: {
21
+ [key: string]: any;
22
+ } | undefined;
23
+ height: import("../../interfaces/global").CMSIBSizeInterface | undefined;
24
+ margin: import("../../interfaces/global").CSSPaddingValues | undefined;
25
+ padding: import("../../interfaces/global").CSSPaddingValues | undefined;
26
+ overflowContent: CMSIBCommonInterface | undefined;
27
+ scrollDirection: CMSIBCommonInterface | undefined;
28
+ displayScrollbar: CMSIBCommonInterface | undefined;
29
+ positionType: CMSIBCommonInterface | undefined;
30
+ pinTo: CMSIBCommonInterface | undefined;
31
+ tabPosition: {
32
+ value: string;
33
+ property: string;
34
+ propertyType: CMSElementEditTypes;
35
+ };
36
+ tabLayout: {
37
+ value: string;
38
+ property: string;
39
+ propertyType: CMSElementEditTypes;
40
+ };
41
+ tabAlignment: {
42
+ value: string;
43
+ property: string;
44
+ propertyType: CMSElementEditTypes;
45
+ };
46
+ tabSpacing: {
47
+ value: number;
48
+ property: string;
49
+ propertyType: CMSElementEditTypes;
50
+ };
51
+ tabContainer: {
52
+ value: number;
53
+ property: string;
54
+ propertyType: CMSElementEditTypes;
55
+ };
56
+ horizontalPadding: {
57
+ value: number;
58
+ property: string;
59
+ propertyType: CMSElementEditTypes;
60
+ };
61
+ verticalPadding: {
62
+ value: number;
63
+ property: string;
64
+ propertyType: CMSElementEditTypes;
65
+ };
66
+ overflowTabs: {
67
+ value: string;
68
+ property: string;
69
+ propertyType: CMSElementEditTypes;
70
+ };
71
+ spacingBetweenRows: {
72
+ value: number;
73
+ property: string;
74
+ propertyType: CMSElementEditTypes;
75
+ };
76
+ };
77
+ design: {
78
+ tabContainer: {
79
+ borderColor: CMSIBCommonInterface;
80
+ borderStyle: CMSIBCommonInterface;
81
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
82
+ showBorder: CMSIBCommonInterface;
83
+ backgroundColor: CMSIBCommonInterface;
84
+ showShadow: CMSIBCommonInterface;
85
+ shadowColor: CMSIBCommonInterface;
86
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
87
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
88
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
89
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
90
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
91
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
92
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
93
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
94
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
95
+ };
96
+ tabs: {
97
+ borderColor: CMSIBCommonInterface;
98
+ borderStyle: CMSIBCommonInterface;
99
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
100
+ showBorder: CMSIBCommonInterface;
101
+ backgroundColor: CMSIBCommonInterface;
102
+ showShadow: CMSIBCommonInterface;
103
+ shadowColor: CMSIBCommonInterface;
104
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
105
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
106
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
107
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
108
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
109
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
110
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
111
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
112
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
113
+ };
114
+ tabContentContainer: {
115
+ borderColor: CMSIBCommonInterface;
116
+ borderStyle: CMSIBCommonInterface;
117
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
118
+ showBorder: CMSIBCommonInterface;
119
+ backgroundColor: CMSIBCommonInterface;
120
+ showShadow: CMSIBCommonInterface;
121
+ shadowColor: CMSIBCommonInterface;
122
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
123
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
124
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
125
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
126
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
127
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
128
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
129
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
130
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
131
+ };
132
+ arrows: {
133
+ borderColor: CMSIBCommonInterface;
134
+ borderStyle: CMSIBCommonInterface;
135
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
136
+ showBorder: CMSIBCommonInterface;
137
+ backgroundColor: CMSIBCommonInterface;
138
+ showShadow: CMSIBCommonInterface;
139
+ shadowColor: CMSIBCommonInterface;
140
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
141
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
142
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
143
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
144
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
145
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
146
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
147
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
148
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
149
+ };
150
+ };
151
+ content: {
152
+ tabContent: {
153
+ value: string[];
154
+ property: string;
155
+ propertyType: CMSElementEditTypes;
156
+ };
157
+ };
158
+ };
@@ -0,0 +1,15 @@
1
+ import { CMSIBCommonInterface } from "../../interfaces/global";
2
+ import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
+ interface selfLayoutInterface {
4
+ selectorKey: string;
5
+ textData: CMSIBCommonInterface;
6
+ }
7
+ export interface selfDesignInterface {
8
+ selectorKey: string;
9
+ }
10
+ export declare enum textSelectorKeysEnum {
11
+ LAYOUT = "layout",
12
+ DESIGN = "design"
13
+ }
14
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
15
+ export {};