@sc-360-v2/storefront-cms-library 0.2.66 → 0.2.68

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.
@@ -2,7 +2,7 @@ import { CMSIBCommonInterface } from "../../interfaces/global";
2
2
  import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
3
  interface selfLayoutInterface {
4
4
  direction: CMSIBCommonInterface;
5
- spacingBetweenManuListItems: CMSIBCommonInterface;
5
+ spacingBetweenMenuListItems: CMSIBCommonInterface;
6
6
  fillItemsToContainerWidth: CMSIBCommonInterface;
7
7
  dividerBetweenItems: CMSIBCommonInterface;
8
8
  listItemAlignment: CMSIBCommonInterface;
@@ -133,11 +133,19 @@ export declare const getDefaultData: () => {
133
133
  selectorKey: SocialSelectorKeysEnum;
134
134
  socialContent: {
135
135
  value: {
136
- id: number;
136
+ id: any;
137
137
  title: string;
138
138
  name: string;
139
- show: string;
139
+ show: boolean;
140
140
  url: string;
141
+ icon: {
142
+ value: string;
143
+ customIcon: {
144
+ isCustomIcon: boolean;
145
+ url: string;
146
+ name: string;
147
+ };
148
+ };
141
149
  }[];
142
150
  propertyType: CMSElementEditTypes;
143
151
  };
@@ -190,6 +198,13 @@ export declare const getDefaultData: () => {
190
198
  angle: import("../../interfaces/global").CMSIBSizeInterface;
191
199
  spread: import("../../interfaces/global").CMSIBSizeInterface;
192
200
  blur: import("../../interfaces/global").CMSIBSizeInterface;
201
+ showIcon: {
202
+ value: boolean;
203
+ property?: any;
204
+ propertyType?: any;
205
+ isReadOnly?: boolean | undefined;
206
+ parentRef?: string | undefined;
207
+ };
193
208
  iconSize: {
194
209
  value: string;
195
210
  propertyType: CMSElementEditTypes;
@@ -0,0 +1,211 @@
1
+ import { CMSElementEditTypes } from "../../enums";
2
+ import { CMSIBCommonInterface } from "../../interfaces/global";
3
+ declare enum SelectorKeysEnum {
4
+ LAYOUT = "layout",
5
+ CONTENT = "content",
6
+ DESIGN = "design",
7
+ DEFAULT_STATE = "defaultState",
8
+ HOVER_STATE = "hoverState",
9
+ SELECTED_STATE = "selected",
10
+ TAB_CONTAINER = "tabContainer",
11
+ TAB_CONTENT_CONTAINER = "tabContentContainer",
12
+ TABS = "tabs"
13
+ }
14
+ export declare const getDefaultData: () => {
15
+ layout: {
16
+ selectorKey: SelectorKeysEnum;
17
+ adjustment: CMSIBCommonInterface | undefined;
18
+ width: {
19
+ [key: string]: any;
20
+ } | undefined;
21
+ height: import("../../interfaces/global").CMSIBSizeInterface | undefined;
22
+ margin: import("../../interfaces/global").CSSPaddingValues | undefined;
23
+ padding: import("../../interfaces/global").CSSPaddingValues | undefined;
24
+ overflowContent: CMSIBCommonInterface | undefined;
25
+ scrollDirection: CMSIBCommonInterface | undefined;
26
+ displayScrollbar: CMSIBCommonInterface | undefined;
27
+ positionType: CMSIBCommonInterface | undefined;
28
+ pinTo: CMSIBCommonInterface | undefined;
29
+ tabPosition: {
30
+ value: string;
31
+ property: string;
32
+ propertyType: CMSElementEditTypes;
33
+ };
34
+ tabLayout: {
35
+ value: string;
36
+ property: string;
37
+ propertyType: CMSElementEditTypes;
38
+ };
39
+ tabAlignment: {
40
+ value: string;
41
+ property: string;
42
+ propertyType: CMSElementEditTypes;
43
+ };
44
+ tabSpacing: {
45
+ value: number;
46
+ unit: number;
47
+ property: string;
48
+ propertyType: CMSElementEditTypes;
49
+ };
50
+ tabContainerSpacing: {
51
+ value: number;
52
+ unit: number;
53
+ property: string;
54
+ propertyType: CMSElementEditTypes;
55
+ };
56
+ horizontalPadding: {
57
+ value: number;
58
+ unit: number;
59
+ property: string;
60
+ propertyType: CMSElementEditTypes;
61
+ };
62
+ verticalPadding: {
63
+ value: number;
64
+ unit: number;
65
+ property: string;
66
+ propertyType: CMSElementEditTypes;
67
+ };
68
+ overflowTabs: {
69
+ value: string;
70
+ property: string;
71
+ propertyType: CMSElementEditTypes;
72
+ };
73
+ spacingBetweenRows: {
74
+ value: number;
75
+ unit: number;
76
+ property: string;
77
+ propertyType: CMSElementEditTypes;
78
+ };
79
+ };
80
+ design: {
81
+ selectorKey: SelectorKeysEnum;
82
+ tabContainer: {
83
+ borderColor: CMSIBCommonInterface;
84
+ borderStyle: CMSIBCommonInterface;
85
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
86
+ showBorder: CMSIBCommonInterface;
87
+ backgroundColor: CMSIBCommonInterface;
88
+ showShadow: CMSIBCommonInterface;
89
+ shadowColor: CMSIBCommonInterface;
90
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
91
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
92
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
93
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
94
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
95
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
96
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
97
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
98
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
99
+ selectorKey: SelectorKeysEnum;
100
+ };
101
+ tabs: {
102
+ selectorKey: SelectorKeysEnum;
103
+ defaultState: {
104
+ theme: CMSIBCommonInterface;
105
+ font: CMSIBCommonInterface;
106
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
107
+ textColor: CMSIBCommonInterface;
108
+ bold: CMSIBCommonInterface;
109
+ italic: CMSIBCommonInterface;
110
+ linethrough: CMSIBCommonInterface;
111
+ underline: CMSIBCommonInterface;
112
+ textAlign: CMSIBCommonInterface;
113
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
114
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
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
+ selectorKey: SelectorKeysEnum;
132
+ };
133
+ hoverState: {
134
+ theme: CMSIBCommonInterface;
135
+ font: CMSIBCommonInterface;
136
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
137
+ textColor: CMSIBCommonInterface;
138
+ bold: CMSIBCommonInterface;
139
+ italic: CMSIBCommonInterface;
140
+ linethrough: CMSIBCommonInterface;
141
+ underline: CMSIBCommonInterface;
142
+ textAlign: CMSIBCommonInterface;
143
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
144
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
145
+ borderColor: CMSIBCommonInterface;
146
+ borderStyle: CMSIBCommonInterface;
147
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
148
+ showBorder: CMSIBCommonInterface;
149
+ backgroundColor: CMSIBCommonInterface;
150
+ showShadow: CMSIBCommonInterface;
151
+ shadowColor: CMSIBCommonInterface;
152
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
153
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
154
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
155
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
156
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
157
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
158
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
159
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
160
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
161
+ selectorKey: SelectorKeysEnum;
162
+ };
163
+ selectedState: {
164
+ theme: CMSIBCommonInterface;
165
+ font: CMSIBCommonInterface;
166
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
167
+ textColor: CMSIBCommonInterface;
168
+ bold: CMSIBCommonInterface;
169
+ italic: CMSIBCommonInterface;
170
+ linethrough: CMSIBCommonInterface;
171
+ underline: CMSIBCommonInterface;
172
+ textAlign: CMSIBCommonInterface;
173
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
174
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
175
+ borderColor: CMSIBCommonInterface;
176
+ borderStyle: CMSIBCommonInterface;
177
+ borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
178
+ showBorder: CMSIBCommonInterface;
179
+ backgroundColor: CMSIBCommonInterface;
180
+ showShadow: CMSIBCommonInterface;
181
+ shadowColor: CMSIBCommonInterface;
182
+ blur: import("../../interfaces/global").CMSIBSizeInterface;
183
+ spread: import("../../interfaces/global").CMSIBSizeInterface;
184
+ angle: import("../../interfaces/global").CMSIBSizeInterface;
185
+ borderRadius: import("../../interfaces/global").CSSPaddingValues;
186
+ exposure: import("../../interfaces/global").CMSIBSizeInterface;
187
+ contrast: import("../../interfaces/global").CMSIBSizeInterface;
188
+ saturation: import("../../interfaces/global").CMSIBSizeInterface;
189
+ highlights: import("../../interfaces/global").CMSIBSizeInterface;
190
+ shadows: import("../../interfaces/global").CMSIBSizeInterface;
191
+ selectorKey: SelectorKeysEnum;
192
+ };
193
+ };
194
+ };
195
+ content: {
196
+ selectorKey: SelectorKeysEnum;
197
+ tabContent: {
198
+ value: {
199
+ title: string;
200
+ contentSource: {
201
+ title: string;
202
+ content: {};
203
+ };
204
+ key: string;
205
+ }[];
206
+ property: string;
207
+ propertyType: CMSElementEditTypes;
208
+ };
209
+ };
210
+ };
211
+ export {};
@@ -1,4 +1,5 @@
1
1
  import { CSSUnitOption } from "../interfaces/global";
2
2
  export declare const CSSUnits: CSSUnitOption[];
3
+ export declare function setTimeoutAsyncV2(timeout: any): Promise<void>;
3
4
  declare const commonFunctions: any;
4
5
  export default commonFunctions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.2.66",
3
+ "version": "0.2.68",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {