@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.
- package/README.md +7 -35
- package/dist/builder.js +2 -0
- package/dist/builder.js.LICENSE.txt +1 -0
- package/dist/button.scss +139 -0
- package/dist/css.js +1 -1
- package/dist/faq.scss +136 -0
- package/dist/functions.js +1 -0
- package/dist/htmlElement.js +1 -1
- package/dist/icons.js +1 -0
- package/dist/index.js +1 -1
- package/dist/tab-panel.scss +93 -0
- package/dist/text-editor.scss +328 -0
- package/dist/types/builder/elements/button/index.d.ts +26 -0
- package/dist/types/builder/elements/code/index.d.ts +59 -0
- package/dist/types/builder/elements/common.d.ts +25 -0
- package/dist/types/builder/elements/extra.d.ts +70 -0
- package/dist/types/builder/elements/faq/index.d.ts +30 -0
- package/dist/types/builder/elements/gallery-slider/index.d.ts +30 -0
- package/dist/types/builder/elements/grid/index.d.ts +63 -0
- package/dist/types/builder/elements/image/index.d.ts +30 -0
- package/dist/types/builder/elements/section/index.d.ts +60 -0
- package/dist/types/builder/elements/social/index.d.ts +36 -0
- package/dist/types/builder/elements/tab/index.d.ts +30 -0
- package/dist/types/builder/elements/table/index.d.ts +30 -0
- package/dist/types/builder/elements/text-editor/index.d.ts +29 -0
- package/dist/types/builder/elements/video/index.d.ts +30 -0
- package/dist/types/builder/enums/cssVariables.d.ts +361 -0
- package/dist/types/builder/enums/index.d.ts +78 -0
- package/dist/types/builder/index.d.ts +18 -0
- package/dist/types/builder/interfaces/cms-tools.d.ts +4 -0
- package/dist/types/builder/interfaces/global.d.ts +75 -0
- package/dist/types/builder/tools/element-edit/button.d.ts +25 -0
- package/dist/types/builder/tools/element-edit/code.d.ts +15 -0
- package/dist/types/builder/tools/element-edit/common.d.ts +63 -0
- package/dist/types/builder/tools/element-edit/faq.d.ts +41 -0
- package/dist/types/builder/tools/element-edit/gallery-slider.d.ts +82 -0
- package/dist/types/builder/tools/element-edit/image.d.ts +26 -0
- package/dist/types/builder/tools/element-edit/index.d.ts +13 -0
- package/dist/types/builder/tools/element-edit/section.d.ts +15 -0
- package/dist/types/builder/tools/element-edit/slideShowLayouter.d.ts +21 -0
- package/dist/types/builder/tools/element-edit/social.d.ts +62 -0
- package/dist/types/builder/tools/element-edit/table.d.ts +200 -0
- package/dist/types/builder/tools/element-edit/tabs.d.ts +166 -0
- package/dist/types/builder/tools/element-edit/video.d.ts +73 -0
- package/dist/types/builder/utilities/global.d.ts +4 -0
- package/dist/types/css/cssVariables.d.ts +7 -0
- package/dist/types/export.d.ts +3 -0
- package/dist/types/global/attributes.d.ts +125 -0
- package/dist/types/global/index.d.ts +0 -0
- package/dist/types/global/style-properties.d.ts +49 -0
- package/dist/types/global/types.d.ts +36 -0
- package/dist/types/helper/helper-functions.d.ts +1 -0
- package/dist/types/html-elements/element-types.d.ts +131 -0
- package/dist/types/html-elements/elements.d.ts +89 -0
- package/dist/types/icons/cms-svg-icons.d.ts +5 -0
- package/dist/types/icons/icons.d.ts +2 -0
- package/dist/widget.scss +1 -0
- package/package.json +104 -70
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { CommonStyleProperties } from "../../../global/style-properties";
|
|
2
|
+
import { DisplayValue, ResponsiveBehaviourTypes } from "../../../global/types";
|
|
3
|
+
import { CMSHTMLAttributes } from "../../../global/attributes";
|
|
4
|
+
import { CMSGridsContainer } from "../grid";
|
|
5
|
+
import { BuilderAttributes } from "../common";
|
|
6
|
+
export interface SectionAttributes extends CMSHTMLAttributes {
|
|
7
|
+
role?: string;
|
|
8
|
+
ariaLabel?: string;
|
|
9
|
+
ariaDescribedBy?: string;
|
|
10
|
+
id?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
lang?: string;
|
|
13
|
+
dataMeta?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface SectionStyleProperties extends CommonStyleProperties {
|
|
16
|
+
minHeight?: string;
|
|
17
|
+
height?: string;
|
|
18
|
+
minWidth?: string;
|
|
19
|
+
maxWidth?: string;
|
|
20
|
+
maxHeight?: string;
|
|
21
|
+
gridArea?: string;
|
|
22
|
+
display?: DisplayValue;
|
|
23
|
+
boxSizing?: string;
|
|
24
|
+
rowGap?: string;
|
|
25
|
+
columnGap?: string;
|
|
26
|
+
gridTemplateRows?: string;
|
|
27
|
+
gridTemplateColumns?: string;
|
|
28
|
+
}
|
|
29
|
+
export declare const getDefaultStyles: () => SectionStyleProperties;
|
|
30
|
+
export declare const getSectionDefaultStyles: () => SectionStyleProperties;
|
|
31
|
+
export interface VariationConditionInterface {
|
|
32
|
+
customer?: any[];
|
|
33
|
+
user?: any[];
|
|
34
|
+
relation?: any;
|
|
35
|
+
}
|
|
36
|
+
export interface SectionVariationInterface {
|
|
37
|
+
condition?: VariationConditionInterface;
|
|
38
|
+
attributes?: {
|
|
39
|
+
BUILDER?: Pick<BuilderAttributes, "dataDivType" | "dataType">;
|
|
40
|
+
HTML?: SectionAttributes;
|
|
41
|
+
CUSTOM?: any;
|
|
42
|
+
};
|
|
43
|
+
styles?: SectionStyleProperties;
|
|
44
|
+
editedStyles?: CommonStyleProperties;
|
|
45
|
+
sectionStyles?: CommonStyleProperties;
|
|
46
|
+
grids?: CMSGridsContainer;
|
|
47
|
+
responsiveBehaviour: ResponsiveBehaviourTypes;
|
|
48
|
+
highestGrid?: number | any;
|
|
49
|
+
gtc?: CMSGridsContainer;
|
|
50
|
+
gtr?: CMSGridsContainer;
|
|
51
|
+
}
|
|
52
|
+
export interface CMSSectionInterface {
|
|
53
|
+
id?: string | number;
|
|
54
|
+
uniqueId?: string | number;
|
|
55
|
+
variations?: {
|
|
56
|
+
[key: string]: SectionVariationInterface;
|
|
57
|
+
};
|
|
58
|
+
styles?: SectionStyleProperties;
|
|
59
|
+
sort?: number;
|
|
60
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { CommonStyleProperties } from "../../../global/style-properties";
|
|
2
|
+
import { AlignSelfValue, BoxSizingValue, GridAreaValue, HeightValue, JustifySelfValue, MarginValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue, CommonBuilderAttributes } from "../../../global/types";
|
|
3
|
+
import { BuilderAttributes, CMSElementInterface } from "../common";
|
|
4
|
+
export interface SocialIconsStyleProperties {
|
|
5
|
+
minHeight?: MinHeightValue;
|
|
6
|
+
height?: HeightValue;
|
|
7
|
+
minWidth?: MinWidthValue;
|
|
8
|
+
maxWidth?: MaxWidthValue;
|
|
9
|
+
maxHeight?: MaxHeightValue;
|
|
10
|
+
boxSizing?: BoxSizingValue;
|
|
11
|
+
padding?: PaddingValue;
|
|
12
|
+
marginLeft?: MarginValue;
|
|
13
|
+
marginTop?: MarginValue;
|
|
14
|
+
marginBottom?: MarginValue;
|
|
15
|
+
marginRight?: MarginValue;
|
|
16
|
+
justifySelf?: JustifySelfValue;
|
|
17
|
+
alignSelf?: AlignSelfValue;
|
|
18
|
+
gridArea?: GridAreaValue;
|
|
19
|
+
}
|
|
20
|
+
export declare const getDefaultSocialIconsStyles: () => SocialIconsStyleProperties;
|
|
21
|
+
export interface CMSSocialIconsInterface extends Omit<CMSElementInterface, "attributes"> {
|
|
22
|
+
attributes: {
|
|
23
|
+
HTML: {
|
|
24
|
+
socialLinks: Array<{
|
|
25
|
+
platform: "Facebook" | "Instagram" | "Twitter" | "Amazon" | "Website" | "Linked In";
|
|
26
|
+
url: string;
|
|
27
|
+
icon: string;
|
|
28
|
+
name: string;
|
|
29
|
+
}>;
|
|
30
|
+
};
|
|
31
|
+
BUILDER: Pick<BuilderAttributes, CommonBuilderAttributes>;
|
|
32
|
+
CUSTOM: any;
|
|
33
|
+
};
|
|
34
|
+
styles: SocialIconsStyleProperties;
|
|
35
|
+
childrenStyles?: CommonStyleProperties;
|
|
36
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CommonStyleProperties } from "../../../global/style-properties";
|
|
2
|
+
import { CMSHTMLAttributes } from "../../../global/attributes";
|
|
3
|
+
import { AlignSelfValue, BoxSizingValue, GlobalImageAttributes, GridAreaValue, HeightValue, ImageBuilderAttributes, JustifySelfValue, MarginValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue } from "../../../global/types";
|
|
4
|
+
import { BuilderAttributes, CMSElementInterface } from "../common";
|
|
5
|
+
export interface TabStyleProperties 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: () => TabStyleProperties;
|
|
22
|
+
export interface CMSTabInterface extends Omit<CMSElementInterface, "attributes"> {
|
|
23
|
+
attributes: {
|
|
24
|
+
HTML: Pick<CMSHTMLAttributes, GlobalImageAttributes>;
|
|
25
|
+
BUILDER: Pick<BuilderAttributes, ImageBuilderAttributes>;
|
|
26
|
+
CUSTOM: any;
|
|
27
|
+
};
|
|
28
|
+
styles: TabStyleProperties;
|
|
29
|
+
childrenStyles?: CommonStyleProperties;
|
|
30
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CommonStyleProperties } from "../../../global/style-properties";
|
|
2
|
+
import { CMSHTMLAttributes } from "../../../global/attributes";
|
|
3
|
+
import { AlignSelfValue, BoxSizingValue, GridAreaValue, HeightValue, JustifySelfValue, MarginValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue, GlobalTableAttributes, CommonBuilderAttributes } from "../../../global/types";
|
|
4
|
+
import { BuilderAttributes, CMSElementInterface } from "../common";
|
|
5
|
+
export interface TableStyleProperties {
|
|
6
|
+
minHeight?: MinHeightValue;
|
|
7
|
+
height?: HeightValue;
|
|
8
|
+
minWidth?: MinWidthValue;
|
|
9
|
+
maxWidth?: MaxWidthValue;
|
|
10
|
+
maxHeight?: MaxHeightValue;
|
|
11
|
+
boxSizing?: BoxSizingValue;
|
|
12
|
+
padding?: PaddingValue;
|
|
13
|
+
marginLeft?: MarginValue;
|
|
14
|
+
marginTop?: MarginValue;
|
|
15
|
+
marginBottom?: MarginValue;
|
|
16
|
+
marginRight?: MarginValue;
|
|
17
|
+
justifySelf?: JustifySelfValue;
|
|
18
|
+
alignSelf?: AlignSelfValue;
|
|
19
|
+
gridArea?: GridAreaValue;
|
|
20
|
+
}
|
|
21
|
+
export declare const getDefaultTableStyles: () => TableStyleProperties;
|
|
22
|
+
export interface CMSTableInterface extends Omit<CMSElementInterface, "attributes"> {
|
|
23
|
+
attributes: {
|
|
24
|
+
HTML: Pick<CMSHTMLAttributes, GlobalTableAttributes>;
|
|
25
|
+
BUILDER: Pick<BuilderAttributes, CommonBuilderAttributes>;
|
|
26
|
+
CUSTOM: any;
|
|
27
|
+
};
|
|
28
|
+
styles: TableStyleProperties;
|
|
29
|
+
childrenStyles?: CommonStyleProperties;
|
|
30
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CMSHTMLAttributes } from "../../../global/attributes";
|
|
2
|
+
import { AlignSelfValue, BoxSizingValue, GridAreaValue, HeightValue, JustifySelfValue, MarginValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue } from "../../../global/types";
|
|
3
|
+
import { BuilderAttributes, CMSElementInterface } from "../common";
|
|
4
|
+
export interface TextStyleProperties {
|
|
5
|
+
minHeight?: MinHeightValue;
|
|
6
|
+
height?: HeightValue;
|
|
7
|
+
minWidth?: MinWidthValue;
|
|
8
|
+
maxWidth?: MaxWidthValue;
|
|
9
|
+
maxHeight?: MaxHeightValue;
|
|
10
|
+
gridArea?: GridAreaValue;
|
|
11
|
+
boxSizing?: BoxSizingValue;
|
|
12
|
+
padding?: PaddingValue;
|
|
13
|
+
marginLeft?: MarginValue;
|
|
14
|
+
marginTop?: MarginValue;
|
|
15
|
+
marginBottom?: MarginValue;
|
|
16
|
+
marginRight?: MarginValue;
|
|
17
|
+
justifySelf?: JustifySelfValue;
|
|
18
|
+
alignSelf?: AlignSelfValue;
|
|
19
|
+
}
|
|
20
|
+
export declare const getDefaultStyles: () => TextStyleProperties;
|
|
21
|
+
export interface CMSTextInterface extends Omit<CMSElementInterface, "attributes"> {
|
|
22
|
+
attributes: {
|
|
23
|
+
HTML: CMSHTMLAttributes;
|
|
24
|
+
BUILDER: BuilderAttributes;
|
|
25
|
+
CUSTOM: any;
|
|
26
|
+
};
|
|
27
|
+
styles: TextStyleProperties;
|
|
28
|
+
content: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CommonStyleProperties } from "../../../global/style-properties";
|
|
2
|
+
import { CMSHTMLAttributes } from "../../../global/attributes";
|
|
3
|
+
import { AlignSelfValue, BoxSizingValue, GridAreaValue, HeightValue, JustifySelfValue, MarginValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue, CommonBuilderAttributes, GlobalVideoAttributes } from "../../../global/types";
|
|
4
|
+
import { BuilderAttributes, CMSElementInterface } from "../common";
|
|
5
|
+
export interface VideoStyleProperties {
|
|
6
|
+
minHeight?: MinHeightValue;
|
|
7
|
+
height?: HeightValue;
|
|
8
|
+
minWidth?: MinWidthValue;
|
|
9
|
+
maxWidth?: MaxWidthValue;
|
|
10
|
+
maxHeight?: MaxHeightValue;
|
|
11
|
+
boxSizing?: BoxSizingValue;
|
|
12
|
+
padding?: PaddingValue;
|
|
13
|
+
marginLeft?: MarginValue;
|
|
14
|
+
marginTop?: MarginValue;
|
|
15
|
+
marginBottom?: MarginValue;
|
|
16
|
+
marginRight?: MarginValue;
|
|
17
|
+
justifySelf?: JustifySelfValue;
|
|
18
|
+
alignSelf?: AlignSelfValue;
|
|
19
|
+
gridArea?: GridAreaValue;
|
|
20
|
+
}
|
|
21
|
+
export declare const getDefaultVideoStyles: () => VideoStyleProperties;
|
|
22
|
+
export interface CMSVideoInterface extends Omit<CMSElementInterface, "attributes"> {
|
|
23
|
+
attributes: {
|
|
24
|
+
HTML: Pick<CMSHTMLAttributes, GlobalVideoAttributes>;
|
|
25
|
+
BUILDER: Pick<BuilderAttributes, CommonBuilderAttributes>;
|
|
26
|
+
CUSTOM: any;
|
|
27
|
+
};
|
|
28
|
+
styles: VideoStyleProperties;
|
|
29
|
+
childrenStyles?: CommonStyleProperties;
|
|
30
|
+
}
|
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
export declare enum CSSVariablesEnum {
|
|
2
|
+
ACCENT_COLOR = "accentColor",
|
|
3
|
+
ALIGN_CONTENT = "alignContent",
|
|
4
|
+
ALIGN_ITEMS = "alignItems",
|
|
5
|
+
ALIGN_SELF = "alignSelf",
|
|
6
|
+
ALL = "all",
|
|
7
|
+
ANIMATION = "animation",
|
|
8
|
+
ANIMATION_DELAY = "animationDelay",
|
|
9
|
+
ANIMATION_DURATION = "animationDuration",
|
|
10
|
+
ANIMATION_FILL_MODE = "animationFillMode",
|
|
11
|
+
ANIMATION_ITERATION_COUNT = "animationIterationCount",
|
|
12
|
+
ANIMATION_NAME = "animationName",
|
|
13
|
+
ANIMATION_PLAY_STATE = "animationPlayState",
|
|
14
|
+
ANIMATION_TIMING_FUNCTION = "animationTimingFunction",
|
|
15
|
+
ASPECT_RATIO = "aspectRatio",
|
|
16
|
+
BACKDROP_FILTER = "backdropFilter",
|
|
17
|
+
BACKFACE_VISIBILITY = "backfaceVisibility",
|
|
18
|
+
BACKGROUND = "background",
|
|
19
|
+
BACKGROUND_ATTACHMENT = "backgroundAttachment",
|
|
20
|
+
BACKGROUND_BLEND_MODE = "backgroundBlendMode",
|
|
21
|
+
BACKGROUND_CLIP = "backgroundClip",
|
|
22
|
+
BACKGROUND_COLOR = "backgroundColor",
|
|
23
|
+
BACKGROUND_IMAGE = "backgroundImage",
|
|
24
|
+
BACKGROUND_ORIGIN = "backgroundOrigin",
|
|
25
|
+
BACKGROUND_POSITION = "backgroundPosition",
|
|
26
|
+
BACKGROUND_POSITION_X = "backgroundPositionX",
|
|
27
|
+
BACKGROUND_POSITION_Y = "backgroundPositionY",
|
|
28
|
+
BACKGROUND_REPEAT = "backgroundRepeat",
|
|
29
|
+
BACKGROUND_SIZE = "backgroundSize",
|
|
30
|
+
BLOCK_SIZE = "blockSize",
|
|
31
|
+
BORDER = "border",
|
|
32
|
+
BORDER_BLOCK = "borderBlock",
|
|
33
|
+
BORDER_BLOCK_COLOR = "borderBlockColor",
|
|
34
|
+
BORDER_BLOCK_END = "borderBlockEnd",
|
|
35
|
+
BORDER_BLOCK_END_COLOR = "borderBlockEndColor",
|
|
36
|
+
BORDER_BLOCK_END_STYLE = "borderBlockEndStyle",
|
|
37
|
+
BORDER_BLOCK_END_WIDTH = "borderBlockEndWidth",
|
|
38
|
+
BORDER_BLOCK_START = "borderBlockStart",
|
|
39
|
+
BORDER_BLOCK_START_COLOR = "borderBlockStartColor",
|
|
40
|
+
BORDER_BLOCK_START_STYLE = "borderBlockStartStyle",
|
|
41
|
+
BORDER_BLOCK_START_WIDTH = "borderBlockStartWidth",
|
|
42
|
+
BORDER_BLOCK_STYLE = "borderBlockStyle",
|
|
43
|
+
BORDER_BLOCK_WIDTH = "borderBlockWidth",
|
|
44
|
+
BORDER_BOTTOM = "borderBottom",
|
|
45
|
+
BORDER_BOTTOM_COLOR = "borderBottomColor",
|
|
46
|
+
BORDER_BOTTOM_LEFT_RADIUS = "borderBottomLeftRadius",
|
|
47
|
+
BORDER_BOTTOM_RIGHT_RADIUS = "borderBottomRightRadius",
|
|
48
|
+
BORDER_BOTTOM_STYLE = "borderBottomStyle",
|
|
49
|
+
BORDER_BOTTOM_WIDTH = "borderBottomWidth",
|
|
50
|
+
BORDER_COLLAPSE = "borderCollapse",
|
|
51
|
+
BORDER_COLOR = "borderColor",
|
|
52
|
+
BORDER_END_END_RADIUS = "borderEndEndRadius",
|
|
53
|
+
BORDER_END_START_RADIUS = "borderEndStartRadius",
|
|
54
|
+
BORDER_INLINE = "borderInline",
|
|
55
|
+
BORDER_IMAGE_OUTSET = "borderImageOutset",
|
|
56
|
+
BORDER_IMAGE_REPEAT = "borderImageRepeat",
|
|
57
|
+
BORDER_IMAGE_SLICE = "borderImageSlice",
|
|
58
|
+
BORDER_IMAGE_SOURCE = "borderImageSource",
|
|
59
|
+
BORDER_IMAGE_WIDTH = "borderImageWidth",
|
|
60
|
+
BORDER_INLINE_COLOR = "borderInlineColor",
|
|
61
|
+
BORDER_INLINE_END = "borderInlineEnd",
|
|
62
|
+
BORDER_INLINE_END_COLOR = "borderInlineEndColor",
|
|
63
|
+
BORDER_INLINE_END_STYLE = "borderInlineEndStyle",
|
|
64
|
+
BORDER_INLINE_END_WIDTH = "borderInlineEndWidth",
|
|
65
|
+
BORDER_INLINE_START = "borderInlineStart",
|
|
66
|
+
BORDER_INLINE_START_COLOR = "borderInlineStartColor",
|
|
67
|
+
BORDER_INLINE_START_STYLE = "borderInlineStartStyle",
|
|
68
|
+
BORDER_INLINE_START_WIDTH = "borderInlineStartWidth",
|
|
69
|
+
BORDER_INLINE_STYLE = "borderInlineStyle",
|
|
70
|
+
BORDER_INLINE_WIDTH = "borderInlineWidth",
|
|
71
|
+
BORDER_LEFT = "borderLeft",
|
|
72
|
+
BORDER_LEFT_COLOR = "borderLeftColor",
|
|
73
|
+
BORDER_LEFT_STYLE = "borderLeftStyle",
|
|
74
|
+
BORDER_LEFT_WIDTH = "borderLeftWidth",
|
|
75
|
+
BORDER_RADIUS = "borderRadius",
|
|
76
|
+
BORDER_RIGHT = "borderRight",
|
|
77
|
+
BORDER_RIGHT_COLOR = "borderRightColor",
|
|
78
|
+
BORDER_RIGHT_STYLE = "borderRightStyle",
|
|
79
|
+
BORDER_RIGHT_WIDTH = "borderRightWidth",
|
|
80
|
+
BORDER_SPACING = "borderSpacing",
|
|
81
|
+
BORDER_START_END_RADIUS = "borderStartEndRadius",
|
|
82
|
+
BORDER_START_START_RADIUS = "borderStartStartRadius",
|
|
83
|
+
BORDER_STYLE = "borderStyle",
|
|
84
|
+
BORDER_TOP = "borderTop",
|
|
85
|
+
BORDER_TOP_COLOR = "borderTopColor",
|
|
86
|
+
BORDER_TOP_LEFT_RADIUS = "borderTopLeftRadius",
|
|
87
|
+
BORDER_TOP_RIGHT_RADIUS = "borderTopRightRadius",
|
|
88
|
+
BORDER_TOP_STYLE = "borderTopStyle",
|
|
89
|
+
BORDER_TOP_WIDTH = "borderTopWidth",
|
|
90
|
+
BORDER_WIDTH = "borderWidth",
|
|
91
|
+
BOX_DECORATION_BREAK = "boxDecorationBreak",
|
|
92
|
+
BOTTOM = "bottom",
|
|
93
|
+
BOX_REFLECT = "boxReflect",
|
|
94
|
+
BOX_SHADOW = "boxShadow",
|
|
95
|
+
BOX_SIZING = "boxSizing",
|
|
96
|
+
BREAK_AFTER = "breakAfter",
|
|
97
|
+
BREAK_BEFORE = "breakBefore",
|
|
98
|
+
BREAK_INSIDE = "breakInside",
|
|
99
|
+
CAPTION_SIDE = "captionSide",
|
|
100
|
+
CARET_COLOR = "caretColor",
|
|
101
|
+
CLIP_PATH = "clipPath",
|
|
102
|
+
COLOR = "color",
|
|
103
|
+
COLOR_SCHEME = "colorScheme",
|
|
104
|
+
COLUMN_COUNT = "columnCount",
|
|
105
|
+
COLUMN_FILL = "columnFill",
|
|
106
|
+
COLUMN_GAP = "columnGap",
|
|
107
|
+
COLUMN_RULE = "columnRule",
|
|
108
|
+
COLUMN_RULE_COLOR = "columnRuleColor",
|
|
109
|
+
COLUMN_RULE_STYLE = "columnRuleStyle",
|
|
110
|
+
COLUMN_RULE_WIDTH = "columnRuleWidth",
|
|
111
|
+
COLUMN_SPAN = "columnSpan",
|
|
112
|
+
COLUMN_WIDTH = "columnWidth",
|
|
113
|
+
COLUMNS = "columns",
|
|
114
|
+
CONTENT = "content",
|
|
115
|
+
COUNTER_INCREMENT = "counterIncrement",
|
|
116
|
+
COUNTER_RESET = "counterReset",
|
|
117
|
+
COUNTER_SET = "counterSet",
|
|
118
|
+
CURSOR = "cursor",
|
|
119
|
+
DIRECTION = "direction",
|
|
120
|
+
DISPLAY = "display",
|
|
121
|
+
EMPTY_CELLS = "emptyCells",
|
|
122
|
+
FILTER = "filter",
|
|
123
|
+
FLEX = "flex",
|
|
124
|
+
FLEX_BASIS = "flexBasis",
|
|
125
|
+
FLEX_DIRECTION = "flexDirection",
|
|
126
|
+
FLEX_FLOW = "flexFlow",
|
|
127
|
+
FLEX_GROW = "flexGrow",
|
|
128
|
+
FLEX_SHRINK = "flexShrink",
|
|
129
|
+
FLEX_WRAP = "flexWrap",
|
|
130
|
+
FLOAT = "float",
|
|
131
|
+
FONT = "font",
|
|
132
|
+
FONT_FAMILY = "fontFamily",
|
|
133
|
+
FONT_FEATURE_SETTINGS = "fontFeatureSettings",
|
|
134
|
+
FONT_KERNING = "fontKerning",
|
|
135
|
+
FONT_SIZE = "fontSize",
|
|
136
|
+
FONT_SIZE_ADJUST = "fontSizeAdjust",
|
|
137
|
+
FONT_STRETCH = "fontStretch",
|
|
138
|
+
FONT_STYLE = "fontStyle",
|
|
139
|
+
FONT_VARIANT = "fontVariant",
|
|
140
|
+
FONT_VARIANT_CAPS = "fontVariantCaps",
|
|
141
|
+
FONT_WEIGHT = "fontWeight",
|
|
142
|
+
GAP = "gap",
|
|
143
|
+
GRID = "grid",
|
|
144
|
+
GRID_AREA = "gridArea",
|
|
145
|
+
GRID_AUTO_COLUMNS = "gridAutoColumns",
|
|
146
|
+
GRID_AUTO_FLOW = "gridAutoFlow",
|
|
147
|
+
GRID_AUTO_ROWS = "gridAutoRows",
|
|
148
|
+
GRID_COLUMN = "gridColumn",
|
|
149
|
+
GRID_COLUMN_END = "gridColumnEnd",
|
|
150
|
+
GRID_COLUMN_START = "gridColumnStart",
|
|
151
|
+
GRID_ROW = "gridRow",
|
|
152
|
+
GRID_ROW_END = "gridRowEnd",
|
|
153
|
+
GRID_ROW_START = "gridRowStart",
|
|
154
|
+
GRID_TEMPLATE = "gridTemplate",
|
|
155
|
+
GRID_TEMPLATE_AREAS = "gridTemplateAreas",
|
|
156
|
+
GRID_TEMPLATE_COLUMNS = "gridTemplateColumns",
|
|
157
|
+
GRID_TEMPLATE_ROWS = "gridTemplateRows",
|
|
158
|
+
HANGING_PUNCTUATION = "hangingPunctuation",
|
|
159
|
+
HEIGHT = "height",
|
|
160
|
+
HYPHENS = "hyphens",
|
|
161
|
+
HYPHENATE_CHARACTER = "hyphenateCharacter",
|
|
162
|
+
IMAGE_RENDERING = "imageRendering",
|
|
163
|
+
INITIAL_LETTER = "initialLetter",
|
|
164
|
+
INLINE_SIZE = "inlineSize",
|
|
165
|
+
INSET = "inset",
|
|
166
|
+
INSET_BLOCK = "insetBlock",
|
|
167
|
+
INSET_BLOCK_END = "insetBlockEnd",
|
|
168
|
+
INSET_BLOCK_START = "insetBlockStart",
|
|
169
|
+
INSET_INLINE = "insetInline",
|
|
170
|
+
INSET_INLINE_END = "insetInlineEnd",
|
|
171
|
+
INSET_INLINE_START = "insetInlineStart",
|
|
172
|
+
ISOLATION = "isolation",
|
|
173
|
+
JUSTIFY_CONTENT = "justifyContent",
|
|
174
|
+
JUSTIFY_ITEMS = "justifyItems",
|
|
175
|
+
JUSTIFY_SELF = "justifySelf",
|
|
176
|
+
LEFT = "left",
|
|
177
|
+
LETTER_SPACING = "letterSpacing",
|
|
178
|
+
LINE_HEIGHT = "lineHeight",
|
|
179
|
+
LIST_STYLE = "listStyle",
|
|
180
|
+
LIST_STYLE_IMAGE = "listStyleImage",
|
|
181
|
+
LIST_STYLE_POSITION = "listStylePosition",
|
|
182
|
+
LIST_STYLE_TYPE = "listStyleType",
|
|
183
|
+
MARGIN = "margin",
|
|
184
|
+
MARGIN_BLOCK = "marginBlock",
|
|
185
|
+
MARGIN_BLOCK_END = "marginBlockEnd",
|
|
186
|
+
MARGIN_BLOCK_START = "marginBlockStart",
|
|
187
|
+
MARGIN_BOTTOM = "marginBottom",
|
|
188
|
+
MARGIN_INLINE = "marginInline",
|
|
189
|
+
MARGIN_INLINE_END = "marginInlineEnd",
|
|
190
|
+
MARGIN_INLINE_START = "marginInlineStart",
|
|
191
|
+
MARGIN_LEFT = "marginLeft",
|
|
192
|
+
MARGIN_RIGHT = "marginRight",
|
|
193
|
+
MARGIN_TOP = "marginTop",
|
|
194
|
+
MARKER = "marker",
|
|
195
|
+
MARKER_END = "markerEnd",
|
|
196
|
+
MARKER_MID = "markerMid",
|
|
197
|
+
MARKER_START = "markerStart",
|
|
198
|
+
MASK = "mask",
|
|
199
|
+
MASK_CLIP = "maskClip",
|
|
200
|
+
MASK_COMPOSITE = "maskComposite",
|
|
201
|
+
MASK_IMAGE = "maskImage",
|
|
202
|
+
MASK_MODE = "maskMode",
|
|
203
|
+
MASK_ORIGIN = "maskOrigin",
|
|
204
|
+
MASK_POSITION = "maskPosition",
|
|
205
|
+
MASK_REPEAT = "maskRepeat",
|
|
206
|
+
MASK_SIZE = "maskSize",
|
|
207
|
+
MASK_TYPE = "maskType",
|
|
208
|
+
MAX_BLOCK_SIZE = "maxBlockSize",
|
|
209
|
+
MAX_HEIGHT = "maxHeight",
|
|
210
|
+
MAX_INLINE_SIZE = "maxInlineSize",
|
|
211
|
+
MAX_WIDTH = "maxWidth",
|
|
212
|
+
MIN_BLOCK_SIZE = "minBlockSize",
|
|
213
|
+
MIN_INLINE_SIZE = "minInlineSize",
|
|
214
|
+
MIN_HEIGHT = "minHeight",
|
|
215
|
+
MIN_WIDTH = "minWidth",
|
|
216
|
+
MIX_BLEND_MODE = "mixBlendMode",
|
|
217
|
+
OBJECT_FIT = "objectFit",
|
|
218
|
+
OBJECT_POSITION = "objectPosition",
|
|
219
|
+
OFFSET = "offset",
|
|
220
|
+
OFFSET_ANCHOR = "offsetAnchor",
|
|
221
|
+
OFFSET_DISTANCE = "offsetDistance",
|
|
222
|
+
OFFSET_PATH = "offsetPath",
|
|
223
|
+
OFFSET_ROTATE = "offsetRotate",
|
|
224
|
+
OPACITY = "opacity",
|
|
225
|
+
ORDER = "order",
|
|
226
|
+
ORPHANS = "orphans",
|
|
227
|
+
OUTLINE = "outline",
|
|
228
|
+
OUTLINE_COLOR = "outlineColor",
|
|
229
|
+
OUTLINE_OFFSET = "outlineOffset",
|
|
230
|
+
OUTLINE_STYLE = "outlineStyle",
|
|
231
|
+
OUTLINE_WIDTH = "outlineWidth",
|
|
232
|
+
OVERFLOW = "overflow",
|
|
233
|
+
OVERFLOW_ANCHOR = "overflowAnchor",
|
|
234
|
+
OVERFLOW_BLOCK = "overflowBlock",
|
|
235
|
+
OVERFLOW_INLINE = "overflowInline",
|
|
236
|
+
OVERFLOW_WRAP = "overflowWrap",
|
|
237
|
+
OVERFLOW_X = "overflowX",
|
|
238
|
+
OVERFLOW_Y = "overflowY",
|
|
239
|
+
OVERSCROLL_BEHAVIOR = "overscrollBehavior",
|
|
240
|
+
OVERSCROLL_BEHAVIOR_BLOCK = "overscrollBehaviorBlock",
|
|
241
|
+
OVERSCROLL_BEHAVIOR_INLINE = "overscrollBehaviorInline",
|
|
242
|
+
OVERSCROLL_BEHAVIOR_X = "overscrollBehaviorX",
|
|
243
|
+
OVERSCROLL_BEHAVIOR_Y = "overscrollBehaviorY",
|
|
244
|
+
PADDING = "padding",
|
|
245
|
+
PADDING_BLOCK = "paddingBlock",
|
|
246
|
+
PADDING_BLOCK_END = "paddingBlockEnd",
|
|
247
|
+
PADDING_BLOCK_START = "paddingBlockStart",
|
|
248
|
+
PADDING_BOTTOM = "paddingBottom",
|
|
249
|
+
PADDING_INLINE = "paddingInline",
|
|
250
|
+
PADDING_INLINE_END = "paddingInlineEnd",
|
|
251
|
+
PADDING_INLINE_START = "paddingInlineStart",
|
|
252
|
+
PADDING_LEFT = "paddingLeft",
|
|
253
|
+
PADDING_RIGHT = "paddingRight",
|
|
254
|
+
PADDING_TOP = "paddingTop",
|
|
255
|
+
PAGE_BREAK_AFTER = "pageBreakAfter",
|
|
256
|
+
PAGE_BREAK_BEFORE = "pageBreakBefore",
|
|
257
|
+
PAGE_BREAK_INSIDE = "pageBreakInside",
|
|
258
|
+
PAINT_ORDER = "paintOrder",
|
|
259
|
+
PERSPECTIVE = "perspective",
|
|
260
|
+
PERSPECTIVE_ORIGIN = "perspectiveOrigin",
|
|
261
|
+
PLACE_CONTENT = "placeContent",
|
|
262
|
+
PLACE_ITEMS = "placeItems",
|
|
263
|
+
PLACE_SELF = "placeSelf",
|
|
264
|
+
POINTER_EVENTS = "pointerEvents",
|
|
265
|
+
POSITION = "position",
|
|
266
|
+
QUOTES = "quotes",
|
|
267
|
+
RESIZE = "resize",
|
|
268
|
+
RIGHT = "right",
|
|
269
|
+
ROTATE = "rotate",
|
|
270
|
+
ROW_GAP = "rowGap",
|
|
271
|
+
RUBY_ALIGN = "rubyAlign",
|
|
272
|
+
RUBY_MERGE = "rubyMerge",
|
|
273
|
+
RUBY_POSITION = "rubyPosition",
|
|
274
|
+
SCALE = "scale",
|
|
275
|
+
SCROLL_BEHAVIOR = "scrollBehavior",
|
|
276
|
+
SCROLL_MARGIN = "scrollMargin",
|
|
277
|
+
SCROLL_MARGIN_BLOCK = "scrollMarginBlock",
|
|
278
|
+
SCROLL_MARGIN_BLOCK_END = "scrollMarginBlockEnd",
|
|
279
|
+
SCROLL_MARGIN_BLOCK_START = "scrollMarginBlockStart",
|
|
280
|
+
SCROLL_MARGIN_BOTTOM = "scrollMarginBottom",
|
|
281
|
+
SCROLL_MARGIN_INLINE = "scrollMarginInline",
|
|
282
|
+
SCROLL_MARGIN_INLINE_END = "scrollMarginInlineEnd",
|
|
283
|
+
SCROLL_MARGIN_INLINE_START = "scrollMarginInlineStart",
|
|
284
|
+
SCROLL_MARGIN_LEFT = "scrollMarginLeft",
|
|
285
|
+
SCROLL_MARGIN_RIGHT = "scrollMarginRight",
|
|
286
|
+
SCROLL_MARGIN_TOP = "scrollMarginTop",
|
|
287
|
+
SCROLL_PADDING = "scrollPadding",
|
|
288
|
+
SCROLL_PADDING_BLOCK = "scrollPaddingBlock",
|
|
289
|
+
SCROLL_PADDING_BLOCK_END = "scrollPaddingBlockEnd",
|
|
290
|
+
SCROLL_PADDING_BLOCK_START = "scrollPaddingBlockStart",
|
|
291
|
+
SCROLL_PADDING_BOTTOM = "scrollPaddingBottom",
|
|
292
|
+
SCROLL_PADDING_INLINE = "scrollPaddingInline",
|
|
293
|
+
SCROLL_PADDING_INLINE_END = "scrollPaddingInlineEnd",
|
|
294
|
+
SCROLL_PADDING_INLINE_START = "scrollPaddingInlineStart",
|
|
295
|
+
SCROLL_PADDING_LEFT = "scrollPaddingLeft",
|
|
296
|
+
SCROLL_PADDING_RIGHT = "scrollPaddingRight",
|
|
297
|
+
SCROLL_PADDING_TOP = "scrollPaddingTop",
|
|
298
|
+
SCROLL_SNAP_ALIGN = "scrollSnapAlign",
|
|
299
|
+
SCROLL_SNAP_STOP = "scrollSnapStop",
|
|
300
|
+
SCROLL_SNAP_TYPE = "scrollSnapType",
|
|
301
|
+
SCROLLBAR_COLOR = "scrollbarColor",
|
|
302
|
+
SCROLLBAR_GUTTER = "scrollbarGutter",
|
|
303
|
+
SCROLLBAR_WIDTH = "scrollbarWidth",
|
|
304
|
+
SHAPE_IMAGE_THRESHOLD = "shapeImageThreshold",
|
|
305
|
+
SHAPE_MARGIN = "shapeMargin",
|
|
306
|
+
SHAPE_OUTSIDE = "shapeOutside",
|
|
307
|
+
TAB_SIZE = "tabSize",
|
|
308
|
+
TABLE_LAYOUT = "tableLayout",
|
|
309
|
+
TEXT_ALIGN = "textAlign",
|
|
310
|
+
TEXT_ALIGN_LAST = "textAlignLast",
|
|
311
|
+
TEXT_COMBINE_UPRIGHT = "textCombineUpright",
|
|
312
|
+
TEXT_DECORATION = "textDecoration",
|
|
313
|
+
TEXT_DECORATION_COLOR = "textDecorationColor",
|
|
314
|
+
TEXT_DECORATION_LINE = "textDecorationLine",
|
|
315
|
+
TEXT_DECORATION_STYLE = "textDecorationStyle",
|
|
316
|
+
TEXT_DECORATION_THICKNESS = "textDecorationThickness",
|
|
317
|
+
TEXT_EMPHASIS = "textEmphasis",
|
|
318
|
+
TEXT_EMPHASIS_COLOR = "textEmphasisColor",
|
|
319
|
+
TEXT_EMPHASIS_POSITION = "textEmphasisPosition",
|
|
320
|
+
TEXT_EMPHASIS_STYLE = "textEmphasisStyle",
|
|
321
|
+
TEXT_INDENT = "textIndent",
|
|
322
|
+
TEXT_JUSTIFY = "textJustify",
|
|
323
|
+
TEXT_ORIENTATION = "textOrientation",
|
|
324
|
+
TEXT_OVERFLOW = "textOverflow",
|
|
325
|
+
TEXT_RENDERING = "textRendering",
|
|
326
|
+
TEXT_SHADOW = "textShadow",
|
|
327
|
+
TEXT_SIZE_ADJUST = "textSizeAdjust",
|
|
328
|
+
TEXT_TRANSFORM = "textTransform",
|
|
329
|
+
TEXT_UNDERLINE_OFFSET = "textUnderlineOffset",
|
|
330
|
+
TEXT_UNDERLINE_POSITION = "textUnderlinePosition",
|
|
331
|
+
TOP = "top",
|
|
332
|
+
TOUCH_ACTION = "touchAction",
|
|
333
|
+
TRANSFORM = "transform",
|
|
334
|
+
TRANSFORM_BOX = "transformBox",
|
|
335
|
+
TRANSFORM_ORIGIN = "transformOrigin",
|
|
336
|
+
TRANSFORM_STYLE = "transformStyle",
|
|
337
|
+
TRANSITION = "transition",
|
|
338
|
+
TRANSITION_DELAY = "transitionDelay",
|
|
339
|
+
TRANSITION_DURATION = "transitionDuration",
|
|
340
|
+
TRANSITION_PROPERTY = "transitionProperty",
|
|
341
|
+
TRANSITION_TIMING_FUNCTION = "transitionTimingFunction",
|
|
342
|
+
TRANSLATE = "translate",
|
|
343
|
+
UNICODE_BIDI = "unicodeBidi",
|
|
344
|
+
USER_SELECT = "userSelect",
|
|
345
|
+
VERTICAL_ALIGN = "verticalAlign",
|
|
346
|
+
VISIBILITY = "visibility",
|
|
347
|
+
WHITE_SPACE = "whiteSpace",
|
|
348
|
+
WIDOWS = "widows",
|
|
349
|
+
WIDTH = "width",
|
|
350
|
+
WILL_CHANGE = "willChange",
|
|
351
|
+
WORD_BREAK = "wordBreak",
|
|
352
|
+
WORD_SPACING = "wordSpacing",
|
|
353
|
+
WORD_WRAP = "wordWrap",
|
|
354
|
+
WRITING_MODE = "writingMode",
|
|
355
|
+
Z_INDEX = "zIndex",
|
|
356
|
+
ACTIVE_ELEMENT_TOOLS_LEFT = "activeElementToolsLeft",
|
|
357
|
+
ACTIVE_ELEMENT_TOOLS_RIGHT = "activeElementToolsRight",
|
|
358
|
+
ACTIVE_ELEMENT_TOOLS_TOP = "activeElementToolsTop",
|
|
359
|
+
ACTIVE_ELEMENT_TOOLS_BOTTOM = "activeElementToolsBottom",
|
|
360
|
+
PLAYGROUND_SCORLLTOP = "playgroundScorlltop"
|
|
361
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export declare enum CMSToolIdTypes {
|
|
2
|
+
playgroundWrapper = "playground_wrapper",
|
|
3
|
+
layers = "CMS Layers",
|
|
4
|
+
addGrid = "AddGrid",
|
|
5
|
+
toolTip = "custom-tooltip",
|
|
6
|
+
customCanvas = "custom-canvas",
|
|
7
|
+
pageId = "cms__template__editor",
|
|
8
|
+
pageWrapper = "page-wrapper",
|
|
9
|
+
iframeContainerDiv = "iframe-container-div",
|
|
10
|
+
iframePlaygroud = "iframe__playground",
|
|
11
|
+
sectionLayersOverlay = "section__layers__overlay",
|
|
12
|
+
gridLayersOverlay = "grid__layers__overlay",
|
|
13
|
+
iframeRoot = "cms-iframe-root",
|
|
14
|
+
addElementTools = "cms-add-element-tools",
|
|
15
|
+
elementPopertiesPopup = "cms-element-properties",
|
|
16
|
+
addElementComponent = "cms-add-element-component",
|
|
17
|
+
addElementCanvas = "cms-custom-canvas",
|
|
18
|
+
addElementPopup = "cms-add-element-popup",
|
|
19
|
+
sectionWrapper = "cms-section-wrapper",
|
|
20
|
+
gridWrapper = "cms-grid-wrapper",
|
|
21
|
+
addGridButton = "add-grid-button",
|
|
22
|
+
addGridButtonSpan = "add-grid-span",
|
|
23
|
+
addGridResizerSpan = "add-grid-resizer-span",
|
|
24
|
+
customTooltip = "cms-custom-tooltip"
|
|
25
|
+
}
|
|
26
|
+
export declare enum CMSElementSelectors {
|
|
27
|
+
iframeSelector = "iframe[data-title='iframe__playground']",
|
|
28
|
+
templteEditiorSelector = "[data-page-id='cms__template__editor']",
|
|
29
|
+
gridSelector = "section[data-div-type='section'] > .wrapper > div[data-div-type='grid']",
|
|
30
|
+
insideGridSelector = ".wrapper > div[data-div-type='grid']",
|
|
31
|
+
elementSelector = "section[data-div-type='section'] > .wrapper > div[data-div-type='grid'] > div[data-div-type='cms-grid-wrapper'] > div[data-div-type='element']",
|
|
32
|
+
sectionSelector = "section[data-div-type='section']",
|
|
33
|
+
layersParentSelector = "section[data-div-type='section'] [data-cms-tool='CMS Layers']",
|
|
34
|
+
layersGridSelector = "section[data-div-type='section'] [data-cms-tool='CMS Layers'] > .styles__wrapper > div[data-layer-div-type='grid']",
|
|
35
|
+
layersGridElementSelector = "section[data-div-type='section'] [data-cms-tool='CMS Layers'] > .styles__wrapper > div[data-layer-div-type='grid'] > div[data-layer-div-type='element']",
|
|
36
|
+
sectionLayersOverlay = "[data-div-type = 'section__layers__overlay']",
|
|
37
|
+
gridLayersOverlay = "[data-div-type='grid__layers__overlay']",
|
|
38
|
+
iframeRoot = "#cms-iframe-root",
|
|
39
|
+
playgroundScroll = "playground-srolltop",
|
|
40
|
+
addElementComponentSelector = "[data-cms-tool='cms-add-element-component']",
|
|
41
|
+
playgroundWrapper = "[data-cms-tool='playground_wrapper']",
|
|
42
|
+
addElementPopup = "[data-cms-tool='cms-add-element-popup']",
|
|
43
|
+
addGridButtonSelector = "button[data-cms-tool='add-grid-button']"
|
|
44
|
+
}
|
|
45
|
+
export declare enum CMSToolAttributes {
|
|
46
|
+
id = "data-cms-tool",
|
|
47
|
+
state = "data-cms-state",
|
|
48
|
+
style = "data-style-id",
|
|
49
|
+
pageId = "data-page-id",
|
|
50
|
+
dataDivType = "data-div-type",
|
|
51
|
+
dataChildCount = "data-child-count",
|
|
52
|
+
dataGridType = "data-grid-type",
|
|
53
|
+
dataElementType = "data-element-type",
|
|
54
|
+
layerDataDivType = "data-layer-div-type",
|
|
55
|
+
layerDataElementType = "data-layer-element-type",
|
|
56
|
+
title = "data-title",
|
|
57
|
+
layerStyle = "data-layer-style-id",
|
|
58
|
+
elementClick = "data-has-clicked",
|
|
59
|
+
viewportVisible = "data-viewport-visible",
|
|
60
|
+
playgroundScroll = "data-playground-scroll",
|
|
61
|
+
viewportVisibleTop = "data-viewport-visible-top",
|
|
62
|
+
viewportVisibleRight = "data-viewport-visible-right",
|
|
63
|
+
viewportVisibleBottom = "data-viewport-visible-bottom",
|
|
64
|
+
viewportVisibleLeft = "data-viewport-visible-left"
|
|
65
|
+
}
|
|
66
|
+
export declare enum CMSElementEditTypes {
|
|
67
|
+
CSS = "css",
|
|
68
|
+
TOOL = "tool",
|
|
69
|
+
CONTROLS = "controls",
|
|
70
|
+
SELECTOR = "selector"
|
|
71
|
+
}
|
|
72
|
+
export declare enum CMSCSSUnitTypesEnums {
|
|
73
|
+
PIXELS = 1,
|
|
74
|
+
REM = 2,
|
|
75
|
+
EM = 3,
|
|
76
|
+
PERCENTAGE = 4,
|
|
77
|
+
CUSTOM = 5
|
|
78
|
+
}
|