pds-dev-kit-web-test 2.7.245 → 2.7.247
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +6 -5
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +17 -14
- package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItemForCCB.d.ts +5 -2
- package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItemForCCB.js +10 -11
- package/dist/src/sub/DynamicLayout/GridAutoRowEditor/GridAutoRowEditorForComposition.d.ts +9 -0
- package/dist/src/sub/DynamicLayout/GridAutoRowEditor/GridAutoRowEditorForComposition.js +250 -0
- package/dist/src/sub/DynamicLayout/GridAutoRowEditor/{GridAutoRowEditor.js → GridAutoRowEditorForDL.js} +2 -6
- package/dist/src/sub/DynamicLayout/mock.json +5 -3
- package/dist/src/sub/DynamicLayout/mock_componentBlocks.d.ts +16 -134
- package/dist/src/sub/DynamicLayout/mock_componentBlocks.js +91 -3
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +6389 -6376
- package/dist/src/sub/DynamicLayout/mock_contentsList.js +5 -3
- package/dist/src/sub/DynamicLayout/mock_slideBanner.js +2 -2
- package/dist/src/sub/DynamicLayout/mocks.d.ts +1 -3596
- package/dist/src/sub/DynamicLayout/mocks.js +15 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +32 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +61 -34
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +2 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +15 -12
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/elementPositions.d.ts +5 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/elementPositions.js +243 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.js +26 -43
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +44 -18
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +3 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +18 -7
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/elementPositions.d.ts +4 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/elementPositions.js +108 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.d.ts +1 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +26 -45
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +49 -25
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +2 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +13 -11
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/elementPositions.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/elementPositions.js +118 -151
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.js +10 -36
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +21 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +8 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +3 -1
- package/package.json +1 -2
- /package/dist/src/sub/DynamicLayout/GridAutoRowEditor/{GridAutoRowEditor.d.ts → GridAutoRowEditorForDL.d.ts} +0 -0
|
@@ -3,13 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.POS_OUTSET_NAVIGATION = exports.POS_INSET = exports.getPosition = void 0;
|
|
4
4
|
var GAP = 8;
|
|
5
5
|
function getPosition(position, designType, size, elementType) {
|
|
6
|
-
var _a, _b;
|
|
7
6
|
if (position.startsWith('OUTSET')) {
|
|
8
7
|
if (elementType === 'GROUP') {
|
|
9
8
|
return POS_OUTSET_GROUP[position];
|
|
10
9
|
}
|
|
11
10
|
if (elementType === 'PROGRESSBAR') {
|
|
12
|
-
return
|
|
11
|
+
return exports.POS_INSET[position];
|
|
13
12
|
}
|
|
14
13
|
if (elementType === 'NEXT' || elementType === 'PREV') {
|
|
15
14
|
return exports.POS_OUTSET_NAVIGATION[position];
|
|
@@ -19,188 +18,156 @@ function getPosition(position, designType, size, elementType) {
|
|
|
19
18
|
// return POS_OUTSET_PAGINATION[position][designType][size];
|
|
20
19
|
}
|
|
21
20
|
if (elementType === 'GROUP') {
|
|
22
|
-
return
|
|
21
|
+
return exports.POS_INSET[position];
|
|
23
22
|
}
|
|
24
23
|
return {};
|
|
25
24
|
}
|
|
26
25
|
exports.getPosition = getPosition;
|
|
27
26
|
var POS_OUTSET_PAGINATION = {
|
|
28
27
|
OUTSET1: {
|
|
29
|
-
DESIGN1: {
|
|
30
|
-
DESIGN3: {
|
|
31
|
-
DESIGN5: {
|
|
32
|
-
DESIGN7: {
|
|
33
|
-
DESIGN9: {
|
|
34
|
-
DESIGN11: {
|
|
35
|
-
DESIGN13: {
|
|
36
|
-
DESIGN15: {
|
|
28
|
+
DESIGN1: { bottom: 15 },
|
|
29
|
+
DESIGN3: { bottom: 15 },
|
|
30
|
+
DESIGN5: { bottom: 15 },
|
|
31
|
+
DESIGN7: { bottom: 15 },
|
|
32
|
+
DESIGN9: { bottom: 15 },
|
|
33
|
+
DESIGN11: { bottom: 15 },
|
|
34
|
+
DESIGN13: { bottom: 15 },
|
|
35
|
+
DESIGN15: { bottom: 20 }
|
|
37
36
|
},
|
|
38
37
|
OUTSET2: {
|
|
39
|
-
DESIGN1: {
|
|
40
|
-
DESIGN3: {
|
|
41
|
-
DESIGN5: {
|
|
42
|
-
DESIGN7: {
|
|
43
|
-
DESIGN9: {
|
|
44
|
-
DESIGN11: {
|
|
45
|
-
DESIGN13: {
|
|
46
|
-
DESIGN15: {
|
|
38
|
+
DESIGN1: { bottom: 15 },
|
|
39
|
+
DESIGN3: { bottom: 15 },
|
|
40
|
+
DESIGN5: { bottom: 15 },
|
|
41
|
+
DESIGN7: { bottom: 15 },
|
|
42
|
+
DESIGN9: { bottom: 15 },
|
|
43
|
+
DESIGN11: { bottom: 15 },
|
|
44
|
+
DESIGN13: { bottom: 15 },
|
|
45
|
+
DESIGN15: { bottom: 20 }
|
|
47
46
|
},
|
|
48
47
|
OUTSET3: {
|
|
49
|
-
DESIGN1: {
|
|
50
|
-
DESIGN3: {
|
|
51
|
-
DESIGN5: {
|
|
52
|
-
DESIGN7: {
|
|
53
|
-
DESIGN9: {
|
|
54
|
-
DESIGN11: {
|
|
55
|
-
DESIGN13: {
|
|
56
|
-
DESIGN15: {
|
|
48
|
+
DESIGN1: { bottom: 15 },
|
|
49
|
+
DESIGN3: { bottom: 15 },
|
|
50
|
+
DESIGN5: { bottom: 15 },
|
|
51
|
+
DESIGN7: { bottom: 15 },
|
|
52
|
+
DESIGN9: { bottom: 15 },
|
|
53
|
+
DESIGN11: { bottom: 15 },
|
|
54
|
+
DESIGN13: { bottom: 15 },
|
|
55
|
+
DESIGN15: { bottom: 20 }
|
|
57
56
|
},
|
|
58
57
|
OUTSET4: {
|
|
59
|
-
DESIGN1: {
|
|
60
|
-
DESIGN3: {
|
|
61
|
-
DESIGN5: {
|
|
62
|
-
DESIGN7: {
|
|
63
|
-
DESIGN9: {
|
|
64
|
-
DESIGN11: { left:
|
|
65
|
-
DESIGN13: {
|
|
66
|
-
DESIGN15: { left:
|
|
58
|
+
DESIGN1: { left: 15 },
|
|
59
|
+
DESIGN3: { left: 15 },
|
|
60
|
+
DESIGN5: { left: 15 },
|
|
61
|
+
DESIGN7: { left: 15 },
|
|
62
|
+
DESIGN9: { left: 15 },
|
|
63
|
+
DESIGN11: { left: 15 },
|
|
64
|
+
DESIGN13: { left: 15 },
|
|
65
|
+
DESIGN15: { left: 15 }
|
|
67
66
|
},
|
|
68
67
|
OUTSET5: {
|
|
69
|
-
DESIGN1: {
|
|
70
|
-
DESIGN3: {
|
|
71
|
-
DESIGN5: {
|
|
72
|
-
DESIGN7: {
|
|
73
|
-
DESIGN9: {
|
|
74
|
-
DESIGN11: { left:
|
|
75
|
-
DESIGN13: {
|
|
76
|
-
DESIGN15: { left:
|
|
68
|
+
DESIGN1: { left: 15 },
|
|
69
|
+
DESIGN3: { left: 15 },
|
|
70
|
+
DESIGN5: { left: 15 },
|
|
71
|
+
DESIGN7: { left: 15 },
|
|
72
|
+
DESIGN9: { left: 15 },
|
|
73
|
+
DESIGN11: { left: 15 },
|
|
74
|
+
DESIGN13: { left: 15 },
|
|
75
|
+
DESIGN15: { left: 15 }
|
|
77
76
|
},
|
|
78
77
|
OUTSET6: {
|
|
79
|
-
DESIGN1: {
|
|
80
|
-
DESIGN3: {
|
|
81
|
-
DESIGN5: {
|
|
82
|
-
DESIGN7: {
|
|
83
|
-
DESIGN9: {
|
|
84
|
-
DESIGN11: { left:
|
|
85
|
-
DESIGN13: {
|
|
86
|
-
DESIGN15: { left:
|
|
78
|
+
DESIGN1: { left: 15 },
|
|
79
|
+
DESIGN3: { left: 15 },
|
|
80
|
+
DESIGN5: { left: 15 },
|
|
81
|
+
DESIGN7: { left: 15 },
|
|
82
|
+
DESIGN9: { left: 15 },
|
|
83
|
+
DESIGN11: { left: 15 },
|
|
84
|
+
DESIGN13: { left: 15 },
|
|
85
|
+
DESIGN15: { left: 15 }
|
|
87
86
|
},
|
|
88
87
|
OUTSET7: {
|
|
89
|
-
DESIGN1: {
|
|
90
|
-
DESIGN3: {
|
|
91
|
-
DESIGN5: {
|
|
92
|
-
DESIGN7: {
|
|
93
|
-
DESIGN9: {
|
|
94
|
-
DESIGN11: {
|
|
95
|
-
DESIGN13: {
|
|
96
|
-
DESIGN15: {
|
|
88
|
+
DESIGN1: { top: 15 },
|
|
89
|
+
DESIGN3: { top: 15 },
|
|
90
|
+
DESIGN5: { top: 15 },
|
|
91
|
+
DESIGN7: { top: 15 },
|
|
92
|
+
DESIGN9: { top: 15 },
|
|
93
|
+
DESIGN11: { top: 15 },
|
|
94
|
+
DESIGN13: { top: 15 },
|
|
95
|
+
DESIGN15: { top: 20 }
|
|
97
96
|
},
|
|
98
97
|
OUTSET8: {
|
|
99
|
-
DESIGN1: {
|
|
100
|
-
DESIGN3: {
|
|
101
|
-
DESIGN5: {
|
|
102
|
-
DESIGN7: {
|
|
103
|
-
DESIGN9: {
|
|
104
|
-
DESIGN11: {
|
|
105
|
-
DESIGN13: {
|
|
106
|
-
DESIGN15: {
|
|
98
|
+
DESIGN1: { top: 15 },
|
|
99
|
+
DESIGN3: { top: 15 },
|
|
100
|
+
DESIGN5: { top: 15 },
|
|
101
|
+
DESIGN7: { top: 15 },
|
|
102
|
+
DESIGN9: { top: 15 },
|
|
103
|
+
DESIGN11: { top: 15 },
|
|
104
|
+
DESIGN13: { top: 15 },
|
|
105
|
+
DESIGN15: { top: 20 }
|
|
107
106
|
},
|
|
108
107
|
OUTSET9: {
|
|
109
|
-
DESIGN1: {
|
|
110
|
-
DESIGN3: {
|
|
111
|
-
DESIGN5: {
|
|
112
|
-
DESIGN7: {
|
|
113
|
-
DESIGN9: {
|
|
114
|
-
DESIGN11: {
|
|
115
|
-
DESIGN13: {
|
|
116
|
-
DESIGN15: {
|
|
108
|
+
DESIGN1: { top: 15 },
|
|
109
|
+
DESIGN3: { top: 15 },
|
|
110
|
+
DESIGN5: { top: 15 },
|
|
111
|
+
DESIGN7: { top: 15 },
|
|
112
|
+
DESIGN9: { top: 15 },
|
|
113
|
+
DESIGN11: { top: 15 },
|
|
114
|
+
DESIGN13: { top: 15 },
|
|
115
|
+
DESIGN15: { top: 20 }
|
|
117
116
|
},
|
|
118
117
|
OUTSET10: {
|
|
119
|
-
DESIGN1: {
|
|
120
|
-
DESIGN3: {
|
|
121
|
-
DESIGN5: {
|
|
122
|
-
DESIGN7: {
|
|
123
|
-
DESIGN9: {
|
|
124
|
-
DESIGN11: { right:
|
|
125
|
-
DESIGN13: {
|
|
126
|
-
DESIGN15: { right:
|
|
118
|
+
DESIGN1: { right: 15 },
|
|
119
|
+
DESIGN3: { right: 15 },
|
|
120
|
+
DESIGN5: { right: 15 },
|
|
121
|
+
DESIGN7: { right: 15 },
|
|
122
|
+
DESIGN9: { right: 15 },
|
|
123
|
+
DESIGN11: { right: 15 },
|
|
124
|
+
DESIGN13: { right: 15 },
|
|
125
|
+
DESIGN15: { right: 15 }
|
|
127
126
|
},
|
|
128
127
|
OUTSET11: {
|
|
129
|
-
DESIGN1: {
|
|
130
|
-
DESIGN3: {
|
|
131
|
-
DESIGN5: {
|
|
132
|
-
DESIGN7: {
|
|
133
|
-
DESIGN9: {
|
|
134
|
-
DESIGN11: { right:
|
|
135
|
-
DESIGN13: {
|
|
136
|
-
DESIGN15: { right:
|
|
128
|
+
DESIGN1: { right: 15 },
|
|
129
|
+
DESIGN3: { right: 15 },
|
|
130
|
+
DESIGN5: { right: 15 },
|
|
131
|
+
DESIGN7: { right: 15 },
|
|
132
|
+
DESIGN9: { right: 15 },
|
|
133
|
+
DESIGN11: { right: 15 },
|
|
134
|
+
DESIGN13: { right: 15 },
|
|
135
|
+
DESIGN15: { right: 15 }
|
|
137
136
|
},
|
|
138
137
|
OUTSET12: {
|
|
139
|
-
DESIGN1: {
|
|
140
|
-
DESIGN3: {
|
|
141
|
-
DESIGN5: {
|
|
142
|
-
DESIGN7: {
|
|
143
|
-
DESIGN9: {
|
|
144
|
-
DESIGN11: { right:
|
|
145
|
-
DESIGN13: {
|
|
146
|
-
DESIGN15: { right:
|
|
138
|
+
DESIGN1: { right: 15 },
|
|
139
|
+
DESIGN3: { right: 15 },
|
|
140
|
+
DESIGN5: { right: 15 },
|
|
141
|
+
DESIGN7: { right: 15 },
|
|
142
|
+
DESIGN9: { right: 15 },
|
|
143
|
+
DESIGN11: { right: 15 },
|
|
144
|
+
DESIGN13: { right: 15 },
|
|
145
|
+
DESIGN15: { right: 15 }
|
|
147
146
|
}
|
|
148
147
|
};
|
|
149
148
|
exports.POS_INSET = {
|
|
150
|
-
INSET1: {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
},
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
SMALL: { top: GAP, left: '50%', transform: 'translateX(-50%)' }
|
|
159
|
-
},
|
|
160
|
-
INSET3: {
|
|
161
|
-
LARGE: { top: GAP, right: GAP },
|
|
162
|
-
MEDIUM: { top: GAP, right: GAP },
|
|
163
|
-
SMALL: { top: GAP, right: GAP }
|
|
164
|
-
},
|
|
165
|
-
INSET4: {
|
|
166
|
-
LARGE: { top: '50%', right: GAP, transform: 'translateY(-50%)' },
|
|
167
|
-
MEDIUM: { top: '50%', right: GAP, transform: 'translateY(-50%)' },
|
|
168
|
-
SMALL: { top: '50%', right: GAP, transform: 'translateY(-50%)' }
|
|
169
|
-
},
|
|
170
|
-
INSET5: {
|
|
171
|
-
LARGE: { bottom: GAP, right: GAP },
|
|
172
|
-
MEDIUM: { bottom: GAP, right: GAP },
|
|
173
|
-
SMALL: { bottom: GAP, right: GAP }
|
|
174
|
-
},
|
|
175
|
-
INSET6: {
|
|
176
|
-
LARGE: { bottom: GAP, left: '50%', transform: 'translateX(-50%)' },
|
|
177
|
-
MEDIUM: { bottom: GAP, left: '50%', transform: 'translateX(-50%)' },
|
|
178
|
-
SMALL: { bottom: GAP, left: '50%', transform: 'translateX(-50%)' }
|
|
179
|
-
},
|
|
180
|
-
INSET7: {
|
|
181
|
-
LARGE: { left: GAP, bottom: GAP },
|
|
182
|
-
MEDIUM: { left: GAP, bottom: GAP },
|
|
183
|
-
SMALL: { left: GAP, bottom: GAP }
|
|
184
|
-
},
|
|
185
|
-
INSET8: {
|
|
186
|
-
LARGE: { top: '50%', left: GAP, transform: 'translateY(-50%)' },
|
|
187
|
-
MEDIUM: { top: '50%', left: GAP, transform: 'translateY(-50%)' },
|
|
188
|
-
SMALL: { top: '50%', left: GAP, transform: 'translateY(-50%)' }
|
|
189
|
-
}
|
|
149
|
+
INSET1: { top: GAP, left: GAP },
|
|
150
|
+
INSET2: { top: GAP, left: '50%', transform: 'translateX(-50%)' },
|
|
151
|
+
INSET3: { top: GAP, right: GAP },
|
|
152
|
+
INSET4: { top: '50%', right: GAP, transform: 'translateY(-50%)' },
|
|
153
|
+
INSET5: { bottom: GAP, right: GAP },
|
|
154
|
+
INSET6: { bottom: GAP, left: '50%', transform: 'translateX(-50%)' },
|
|
155
|
+
INSET7: { left: GAP, bottom: GAP },
|
|
156
|
+
INSET8: { top: '50%', left: GAP, transform: 'translateY(-50%)' }
|
|
190
157
|
};
|
|
191
158
|
exports.POS_OUTSET_NAVIGATION = {
|
|
192
|
-
OUTSET1: {
|
|
193
|
-
OUTSET2: {
|
|
194
|
-
OUTSET3: {
|
|
195
|
-
OUTSET4: {
|
|
196
|
-
OUTSET5: {
|
|
197
|
-
OUTSET6: {
|
|
198
|
-
OUTSET7: {
|
|
199
|
-
OUTSET8: {
|
|
200
|
-
OUTSET9: {
|
|
201
|
-
OUTSET10: {
|
|
202
|
-
OUTSET11: {
|
|
203
|
-
OUTSET12: {
|
|
159
|
+
OUTSET1: { bottom: 20 },
|
|
160
|
+
OUTSET2: { bottom: 20 },
|
|
161
|
+
OUTSET3: { bottom: 20 },
|
|
162
|
+
OUTSET4: { left: 20 },
|
|
163
|
+
OUTSET5: { left: 20 },
|
|
164
|
+
OUTSET6: { left: 20 },
|
|
165
|
+
OUTSET7: { top: 20 },
|
|
166
|
+
OUTSET8: { top: 20 },
|
|
167
|
+
OUTSET9: { top: 20 },
|
|
168
|
+
OUTSET10: { right: 20 },
|
|
169
|
+
OUTSET11: { right: 20 },
|
|
170
|
+
OUTSET12: { right: 20 }
|
|
204
171
|
};
|
|
205
172
|
var POS_OUTSET_GROUP = {
|
|
206
173
|
OUTSET1: {
|
|
@@ -76,42 +76,16 @@ var useFlexGridLayout = function (_a) {
|
|
|
76
76
|
alignItems: isSOUTH ? 'flex-start' : isNORTH ? 'flex-end' : 'center',
|
|
77
77
|
justifyContent: isEAST ? 'flex-start' : isWEST ? 'flex-end' : 'center'
|
|
78
78
|
};
|
|
79
|
-
// CCB의 중앙 위치 계산
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
// CCB의 실제 크기와 중앙 위치 계산
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
var positions = {
|
|
90
|
-
OUTSET1: { top: -50, left: ccbLeft },
|
|
91
|
-
OUTSET2: { top: -50, left: "".concat(ccbCenterX, "px"), transform: 'translateX(-50%)' },
|
|
92
|
-
OUTSET3: { top: -50, right: ccbRight },
|
|
93
|
-
OUTSET4: { top: ccbTop, left: 'calc(-100% + 50px)' },
|
|
94
|
-
OUTSET5: { top: "".concat(ccbCenterY, "px"), right: 50, transform: 'translateY(-50%)' },
|
|
95
|
-
OUTSET6: { bottom: ccbBottom, right: 50 },
|
|
96
|
-
OUTSET7: { bottom: -50, right: ccbRight },
|
|
97
|
-
OUTSET8: { bottom: -50, left: "".concat(ccbCenterX, "px"), transform: 'translateX(-50%)' },
|
|
98
|
-
OUTSET9: { bottom: -50, left: ccbLeft },
|
|
99
|
-
OUTSET10: { bottom: ccbBottom, left: -50 },
|
|
100
|
-
OUTSET11: { top: "".concat(ccbCenterY, "px"), left: -50, transform: 'translateY(-50%)' },
|
|
101
|
-
OUTSET12: { top: ccbTop, left: -50 },
|
|
102
|
-
INSET1: { top: ccbTop + GAP, left: ccbLeft + GAP },
|
|
103
|
-
INSET2: { top: ccbTop + GAP, left: "".concat(ccbCenterX, "px"), transform: 'translateX(-50%)' },
|
|
104
|
-
INSET3: { top: ccbTop + GAP, right: ccbRight + GAP },
|
|
105
|
-
INSET4: { top: "".concat(ccbCenterY, "px"), right: ccbRight + GAP, transform: 'translateY(-50%)' },
|
|
106
|
-
INSET5: { bottom: ccbBottom + GAP, right: ccbRight + GAP },
|
|
107
|
-
INSET6: {
|
|
108
|
-
bottom: ccbBottom + GAP,
|
|
109
|
-
left: "".concat(ccbCenterX, "px"),
|
|
110
|
-
transform: 'translateX(-50%)'
|
|
111
|
-
},
|
|
112
|
-
INSET7: { bottom: ccbBottom + GAP, left: ccbLeft + GAP },
|
|
113
|
-
INSET8: { top: "".concat(ccbCenterY, "px"), left: ccbLeft + GAP, transform: 'translateY(-50%)' }
|
|
114
|
-
};
|
|
79
|
+
// // CCB의 중앙 위치 계산
|
|
80
|
+
// const ccbTop = parseFloat(ccbInset.top) || 0;
|
|
81
|
+
// const ccbRight = parseFloat(ccbInset.right) || 0;
|
|
82
|
+
// const ccbBottom = parseFloat(ccbInset.bottom) || 0;
|
|
83
|
+
// const ccbLeft = parseFloat(ccbInset.left) || 0;
|
|
84
|
+
// // CCB의 실제 크기와 중앙 위치 계산
|
|
85
|
+
// const ccbWidth = layoutSize.width - ccbLeft - ccbRight;
|
|
86
|
+
// const ccbHeight = layoutSize.height - ccbTop - ccbBottom;
|
|
87
|
+
// const ccbCenterX = ccbLeft + ccbWidth / 2;
|
|
88
|
+
// const ccbCenterY = ccbTop + ccbHeight / 2;
|
|
115
89
|
var pos = (0, elementPositions_1.getPosition)(position, designType, size, elementType);
|
|
116
90
|
return __assign(__assign({}, base), pos);
|
|
117
91
|
};
|
|
@@ -9,7 +9,7 @@ export declare function useSwiper(): {
|
|
|
9
9
|
isEnd: boolean;
|
|
10
10
|
onSwiper: (swiper: SwiperClass) => void;
|
|
11
11
|
onSlideChangeTransitionEnd: (swiper: SwiperClass) => void;
|
|
12
|
-
onAutoplayTimeLeft: (
|
|
12
|
+
onAutoplayTimeLeft: (swiper: SwiperClass, time: number, progress: number) => void;
|
|
13
13
|
onClickBullet: (index: number) => void;
|
|
14
14
|
onClickPrevBtn: () => void;
|
|
15
15
|
onClickNextBtn: () => void;
|
|
@@ -26,7 +26,7 @@ function useSwiper() {
|
|
|
26
26
|
setCurrentSlide(swiper.activeIndex + 1);
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
var onAutoplayTimeLeft = (0, react_1.useCallback)(function (
|
|
29
|
+
var onAutoplayTimeLeft = (0, react_1.useCallback)(function (swiper, time, progress) {
|
|
30
30
|
leftTimeMsRef.current = time;
|
|
31
31
|
progressRef.current = progress;
|
|
32
32
|
}, []);
|
|
@@ -30,9 +30,22 @@ var S_HiddenCover_1 = require("../components/S_HiddenCover");
|
|
|
30
30
|
var useCLINK_1 = __importDefault(require("../hooks/useCLINK"));
|
|
31
31
|
var textSpecFormatOptions_1 = require("./textSpecFormatOptions");
|
|
32
32
|
function Text(props) {
|
|
33
|
-
var _a
|
|
33
|
+
var _a, _b, _c;
|
|
34
|
+
var _d = (0, react_1.useContext)(DynamicLayout_1.dynamicLayoutContext), device = _d.device, mode = _d.mode;
|
|
34
35
|
var queryContext = (0, compositionQueryContext_1.useCCBQueryPath)();
|
|
35
|
-
var index = props.index,
|
|
36
|
+
var index = props.index, _e = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _e.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _e.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _e.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC = _e.CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC, CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE = _e.CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE, CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA = _e.CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM, _f = props.CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE = _f.CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE, CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA = _f.CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA, CB_CONTENT_PROP_TEXTOPTION = props.CB_CONTENT_PROP_TEXTOPTION;
|
|
37
|
+
// const {
|
|
38
|
+
// CB_CONTENT_PROP_TEXTOPTION_SPEC_SUFFIX,
|
|
39
|
+
// CB_CONTENT_PROP_TEXTOPTION_SPEC_PREFIX,
|
|
40
|
+
// CB_CONTENT_PROP_TEXTOPTION_SPEC_FORMAT
|
|
41
|
+
// } = CB_CONTENT_PROP_TEXTOPTION ?? {
|
|
42
|
+
// CB_CONTENT_PROP_TEXTOPTION_SPEC_SUFFIX: '',
|
|
43
|
+
// CB_CONTENT_PROP_TEXTOPTION_SPEC_PREFIX: '',
|
|
44
|
+
// CB_CONTENT_PROP_TEXTOPTION_SPEC_FORMAT: 'NONE'
|
|
45
|
+
// };
|
|
46
|
+
var textSuffix = (_a = CB_CONTENT_PROP_TEXTOPTION === null || CB_CONTENT_PROP_TEXTOPTION === void 0 ? void 0 : CB_CONTENT_PROP_TEXTOPTION.CB_CONTENT_PROP_TEXTOPTION_SPEC_SUFFIX) !== null && _a !== void 0 ? _a : '';
|
|
47
|
+
var textPrefix = (_b = CB_CONTENT_PROP_TEXTOPTION === null || CB_CONTENT_PROP_TEXTOPTION === void 0 ? void 0 : CB_CONTENT_PROP_TEXTOPTION.CB_CONTENT_PROP_TEXTOPTION_SPEC_PREFIX) !== null && _b !== void 0 ? _b : '';
|
|
48
|
+
var textFormat = (_c = CB_CONTENT_PROP_TEXTOPTION === null || CB_CONTENT_PROP_TEXTOPTION === void 0 ? void 0 : CB_CONTENT_PROP_TEXTOPTION.CB_CONTENT_PROP_TEXTOPTION_SPEC_FORMAT) !== null && _c !== void 0 ? _c : 'NONE';
|
|
36
49
|
var cLinkValue = function () {
|
|
37
50
|
if (CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE === 'DATA' ||
|
|
38
51
|
CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE === 'DELEGATEDDATA') {
|
|
@@ -47,14 +60,14 @@ function Text(props) {
|
|
|
47
60
|
}
|
|
48
61
|
return CB_CONTENT_PROP_CLINK_SPEC_SRC;
|
|
49
62
|
};
|
|
50
|
-
var
|
|
63
|
+
var _g = (0, useCLINK_1.default)({
|
|
51
64
|
src: cLinkValue(),
|
|
52
65
|
type: CB_CONTENT_PROP_CLINK_SPEC_TYPE,
|
|
53
66
|
openNewTab: CB_CONTENT_PROP_CLINK_SPEC_NEWTAB,
|
|
54
67
|
internalSrc: String(CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC)
|
|
55
|
-
}), CLINKCursor =
|
|
56
|
-
var
|
|
57
|
-
var
|
|
68
|
+
}), CLINKCursor = _g.CLINKCursor, onClickCLINK = _g.onClickCLINK;
|
|
69
|
+
var _h = getTextStyles(props.CB_STYLE_PROP_TEXT, device), textStyle = _h.style, textHoverStyle = _h.hoverStyle;
|
|
70
|
+
var _j = (0, util_1.parseProperties)(props, device), propsStyle = _j.style, propsHoverStyle = _j.hoverStyle, layoutStyle = _j.layout, effect = _j.effect;
|
|
58
71
|
var isEditModeAndHidden = propsStyle.visibility === 'hidden' && mode === 'EDIT';
|
|
59
72
|
var googleFonts = (0, getGoogleFonts_1.getGoogleFontsFromTextSpecCode)(props.CB_STYLE_PROP_TEXT, device === 'MOBILE');
|
|
60
73
|
(0, useGoogleFonts_1.default)({ fonts: googleFonts });
|
|
@@ -73,7 +86,7 @@ function Text(props) {
|
|
|
73
86
|
var hasEffect = !isNoneEffectType;
|
|
74
87
|
var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
|
|
75
88
|
var textValue = function () {
|
|
76
|
-
var FORMATOPTION =
|
|
89
|
+
var FORMATOPTION = textFormat;
|
|
77
90
|
var formatOption = textSpecFormatOptions_1.TEXT_SPEC_FORMAT_OPRIONS[FORMATOPTION];
|
|
78
91
|
var isDataConnected = CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE === 'DATA' ||
|
|
79
92
|
CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE === 'DELEGATEDDATA';
|
|
@@ -133,7 +146,7 @@ function Text(props) {
|
|
|
133
146
|
e.currentTarget.classList.add('hovered');
|
|
134
147
|
}, onMouseLeave: function (e) {
|
|
135
148
|
e.currentTarget.classList.remove('hovered');
|
|
136
|
-
}, className: "cb-layout-box cb-text", normalStyle: __assign(__assign(__assign(__assign(__assign({}, textStyle), propsStyle), layoutStyle), effectCssProperties), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', cursor: CLINKCursor, height: 'fit-content', minWidth: "calc(2ch + ".concat(layoutStyle.paddingLeft, " + ").concat(layoutStyle.paddingRight, ")") }), hoverStyle: __assign(__assign(__assign({}, textHoverStyle), propsHoverStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word' }), onClick: onClickCLINK }, { children: [
|
|
149
|
+
}, className: "cb-layout-box cb-text", normalStyle: __assign(__assign(__assign(__assign(__assign({}, textStyle), propsStyle), layoutStyle), effectCssProperties), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', cursor: CLINKCursor, height: 'fit-content', minWidth: "calc(2ch + ".concat(layoutStyle.paddingLeft, " + ").concat(layoutStyle.paddingRight, ")") }), hoverStyle: __assign(__assign(__assign({}, textHoverStyle), propsHoverStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word' }), onClick: onClickCLINK }, { children: [textPrefix, textValue() === 'ERROR' ? 'EDITOR:FALLBACK_TEXT' : getTruncatedText(textValue()), textSuffix] })) }))] }));
|
|
137
150
|
}
|
|
138
151
|
exports.default = Text;
|
|
139
152
|
function getTextStyles(props, device) {
|
|
@@ -9,9 +9,11 @@ export type CB_CONTENT_PROP_TEXT = {
|
|
|
9
9
|
CB_CONTENT_PROP_TEXT_SPEC_TEXTMOBILEALTERNATIVE: STRING_PLAIN;
|
|
10
10
|
CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE: CCB_VALUE_TYPE | CB_VALUE_TYPE;
|
|
11
11
|
CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA: STRING_PLAIN;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
};
|
|
13
|
+
export type CB_CONTENT_PROP_TEXTOPTION = {
|
|
14
|
+
CB_CONTENT_PROP_TEXTOPTION_SPEC_PREFIX: STRING_PLAIN;
|
|
15
|
+
CB_CONTENT_PROP_TEXTOPTION_SPEC_SUFFIX: STRING_PLAIN;
|
|
16
|
+
CB_CONTENT_PROP_TEXTOPTION_SPEC_FORMAT: ENUM_STRING;
|
|
15
17
|
};
|
|
16
18
|
export type CB_CONTENT_PROP_CLINK = {
|
|
17
19
|
CB_CONTENT_PROP_CLINK_SPEC_TYPE: 'INTERNAL' | 'EXTERNAL' | 'DISABLED';
|
|
@@ -40,6 +42,7 @@ export type CB_CONTENT_PROP_CONTENTSCAROUSEL = {
|
|
|
40
42
|
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_MANUALITEMS: ManualItem[];
|
|
41
43
|
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
|
|
42
44
|
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_DISPLAYCOUNTS: NUMBER_INTEGER;
|
|
45
|
+
CB_CONTENT_PROP_CONTENTSCAROUSEL_SPEC_MDISPLAYCOUNTS: NUMBER_INTEGER;
|
|
43
46
|
};
|
|
44
47
|
export type CB_CONTENT_PROP_SLIDEBANNER = {
|
|
45
48
|
CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE: CCB_VALUE_TYPE;
|
|
@@ -58,7 +61,9 @@ export type CB_CONTENT_PROP_CONTENTSLIST = {
|
|
|
58
61
|
CB_CONTENT_PROP_CONTENTSLIST_SPEC_MANUALITEMS: ManualItem[];
|
|
59
62
|
CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS: NUMBER_INTEGER;
|
|
60
63
|
CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS: NUMBER_INTEGER;
|
|
64
|
+
CB_CONTENT_PROP_CONTENTSLIST_SPEC_MDISPLAYCOUNTS: NUMBER_INTEGER;
|
|
61
65
|
CB_CONTENT_PROP_CONTENTSLIST_SPEC_COLUMNS: NUMBER_INTEGER;
|
|
66
|
+
CB_CONTENT_PROP_CONTENTSLIST_SPEC_MCOLUMNS: NUMBER_INTEGER;
|
|
62
67
|
CB_CONTENT_PROP_CONTENTSLIST_SPEC_EDITCOMMONITEM: null | STRING_PLAIN;
|
|
63
68
|
};
|
|
64
69
|
export type ManualItem = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentBlock } from '../types';
|
|
1
|
+
import type { ComponentBlock } from '../types';
|
|
2
2
|
import type { PlaceRestrictionType } from '../../../../DynamicLayout/types';
|
|
3
3
|
import type { ZOrder } from 'publ-echo-test/dist/lib/GridLayoutEditor/group';
|
|
4
4
|
import type { LayoutItem } from 'publ-echo/dist/lib';
|
|
@@ -11,7 +11,6 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
exports.parsePlacement = void 0;
|
|
14
|
-
var types_1 = require("../types");
|
|
15
14
|
function parsePlacement(components, zOrders, placementRestriction) {
|
|
16
15
|
if (!zOrders) {
|
|
17
16
|
console.error('Z-ORDER NOT FOUND');
|
|
@@ -56,7 +55,8 @@ function parsePropPlacement(props, id, cbCode, zOrders, cbRestriction) {
|
|
|
56
55
|
};
|
|
57
56
|
}
|
|
58
57
|
var AUTO_RESIZE_CODES = [
|
|
59
|
-
|
|
58
|
+
'none'
|
|
59
|
+
// CB_ALL_CODES.CB_TEXT
|
|
60
60
|
// CB_ALL_CODES.CB_LIST,
|
|
61
61
|
// CB_ALL_CODES.CB_CONTENTSCAROUSEL,
|
|
62
62
|
// CB_ALL_CODES.CB_SLIDEBANNER
|
|
@@ -2,7 +2,7 @@ import type { CB_STYLE_PROP_CONTENTSCAROUSELBUTTON_SPECS, CB_STYLE_PROP_CONTENTS
|
|
|
2
2
|
import type { CB_STYLE_PROP_CONTENTSLISTDESIGN_SPECS, CB_STYLE_PROP_CONTENTSLISTPAGINATION_SPECS } from '../components/ComponentBlock/componentBlocks/ContentsList/types';
|
|
3
3
|
import type { CB_STYLE_PROP_SLIDEBANNERBUTTON_SPECS, CB_STYLE_PROP_SLIDEBANNERDESIGN_SPECS, CB_STYLE_PROP_SLIDEBANNERPAGINATION_SPECS, CB_STYLE_PROP_SLIDEBANNERPLAYBACKMETHOD_SPECS, CB_STYLE_PROP_SLIDEBANNERPROGRESSBAR_SPECS } from '../components/ComponentBlock/componentBlocks/SlideBanner/types';
|
|
4
4
|
import type { CB_TWITTER_STYLE_PROPS } from '../components/ComponentBlock/componentBlocks/Twitter/types';
|
|
5
|
-
import type { CB_CONTENT_PROP_CONTENTSCAROUSEL, CB_CONTENT_PROP_SLIDEBANNER, CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CODEBLOCK, CB_CONTENT_PROP_IMAGE, CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TWITTER, CB_STYLE_PROP_COLOR_SPECS, CB_STYLE_PROP_TEXT_SPECS, CB_CONTENT_PROP_CONTENTSLIST, CB_CONTENT_PROP_VIDEO } from '../components/ComponentBlock/componentBlocks/types';
|
|
5
|
+
import type { CB_CONTENT_PROP_CONTENTSCAROUSEL, CB_CONTENT_PROP_SLIDEBANNER, CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CODEBLOCK, CB_CONTENT_PROP_IMAGE, CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TWITTER, CB_STYLE_PROP_COLOR_SPECS, CB_STYLE_PROP_TEXT_SPECS, CB_CONTENT_PROP_CONTENTSLIST, CB_CONTENT_PROP_VIDEO, CB_CONTENT_PROP_TEXTOPTION } from '../components/ComponentBlock/componentBlocks/types';
|
|
6
6
|
import type { CB_CONTENT_PROP_YOUTUBE_TYPE, CB_STYLE_PROP_BGCOLOR_SPECS } from '../components/ComponentBlock/componentBlocks/Youtube/types';
|
|
7
7
|
import type { CB_CONTENT_PROP_VISIBILITY_SPECS } from './contentPropParsers/parseContentVisibility';
|
|
8
8
|
import type { CB_EFFECT_PROP_ENTANIM_SPECS } from './effectPropParsers/parseEffectPropEntAnim';
|
|
@@ -46,6 +46,7 @@ export type CB_PLACEMENT_PROP_SPECS = {
|
|
|
46
46
|
};
|
|
47
47
|
export type CB_TEXT_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
|
48
48
|
CB_CONTENT_PROP_TEXT: CB_CONTENT_PROP_TEXT;
|
|
49
|
+
CB_CONTENT_PROP_TEXTOPTION: CB_CONTENT_PROP_TEXTOPTION;
|
|
49
50
|
CB_CONTENT_PROP_CLINK: CB_CONTENT_PROP_CLINK;
|
|
50
51
|
CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
|
|
51
52
|
CB_STYLE_PROP_TEXT: CB_STYLE_PROP_TEXT_SPECS;
|
|
@@ -56,6 +57,7 @@ export type CB_TEXT_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
|
|
56
57
|
};
|
|
57
58
|
export type CB_BTN_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
|
|
58
59
|
CB_CONTENT_PROP_TEXT: CB_CONTENT_PROP_TEXT;
|
|
60
|
+
CB_CONTENT_PROP_TEXTOPTION: CB_CONTENT_PROP_TEXTOPTION;
|
|
59
61
|
CB_CONTENT_PROP_CLINK: CB_CONTENT_PROP_CLINK;
|
|
60
62
|
CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
|
|
61
63
|
CB_STYLE_PROP_TEXT: CB_STYLE_PROP_TEXT_SPECS;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pds-dev-kit-web-test",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.247",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
"i18next-intervalplural-postprocessor": "^3.0.0",
|
|
25
25
|
"lottie-react": "^2.3.1",
|
|
26
26
|
"nuka-carousel": "^4.8.4",
|
|
27
|
-
"pds-dev-kit-web-test": "^2.7.241",
|
|
28
27
|
"publ-echo": "^0.0.120",
|
|
29
28
|
"publ-echo-test": "^0.0.342",
|
|
30
29
|
"react-hook-form": "^7.28.1",
|
|
File without changes
|