@doyourjob/gravity-ui-page-constructor 5.31.108 → 5.31.109

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 (42) hide show
  1. package/build/cjs/blocks/HighlightTable/schema.d.ts +65 -0
  2. package/build/cjs/blocks/HighlightTable/schema.js +56 -47
  3. package/build/cjs/blocks/TabsHighlightTable/TabsHighlightTable.css +39 -0
  4. package/build/cjs/blocks/TabsHighlightTable/TabsHighlightTable.d.ts +3 -0
  5. package/build/cjs/blocks/TabsHighlightTable/TabsHighlightTable.js +38 -0
  6. package/build/cjs/blocks/TabsHighlightTable/schema.d.ts +296 -0
  7. package/build/cjs/blocks/TabsHighlightTable/schema.js +21 -0
  8. package/build/cjs/blocks/index.d.ts +1 -0
  9. package/build/cjs/blocks/index.js +3 -1
  10. package/build/cjs/constructor-items.d.ts +1 -0
  11. package/build/cjs/constructor-items.js +1 -0
  12. package/build/cjs/models/constructor-items/blocks.d.ts +16 -1
  13. package/build/cjs/models/constructor-items/blocks.js +1 -0
  14. package/build/cjs/schema/constants.d.ts +3 -3
  15. package/build/cjs/schema/constants.js +2 -1
  16. package/build/cjs/schema/validators/blocks.d.ts +1 -0
  17. package/build/cjs/schema/validators/blocks.js +1 -0
  18. package/build/cjs/text-transform/config.js +31 -0
  19. package/build/esm/blocks/HighlightTable/schema.d.ts +65 -0
  20. package/build/esm/blocks/HighlightTable/schema.js +55 -46
  21. package/build/esm/blocks/TabsHighlightTable/TabsHighlightTable.css +39 -0
  22. package/build/esm/blocks/TabsHighlightTable/TabsHighlightTable.d.ts +4 -0
  23. package/build/esm/blocks/TabsHighlightTable/TabsHighlightTable.js +34 -0
  24. package/build/esm/blocks/TabsHighlightTable/schema.d.ts +296 -0
  25. package/build/esm/blocks/TabsHighlightTable/schema.js +18 -0
  26. package/build/esm/blocks/index.d.ts +1 -0
  27. package/build/esm/blocks/index.js +1 -0
  28. package/build/esm/constructor-items.d.ts +1 -0
  29. package/build/esm/constructor-items.js +2 -1
  30. package/build/esm/models/constructor-items/blocks.d.ts +16 -1
  31. package/build/esm/models/constructor-items/blocks.js +1 -0
  32. package/build/esm/schema/constants.d.ts +3 -3
  33. package/build/esm/schema/constants.js +3 -2
  34. package/build/esm/schema/validators/blocks.d.ts +1 -0
  35. package/build/esm/schema/validators/blocks.js +1 -0
  36. package/build/esm/text-transform/config.js +31 -0
  37. package/package.json +1 -1
  38. package/schema/index.js +1 -1
  39. package/server/models/constructor-items/blocks.d.ts +16 -1
  40. package/server/models/constructor-items/blocks.js +1 -0
  41. package/server/text-transform/config.js +31 -0
  42. package/widget/index.js +1 -1
@@ -1,3 +1,68 @@
1
+ export declare const HighlightTable: {
2
+ title: {
3
+ type: string;
4
+ };
5
+ description: {
6
+ type: string;
7
+ };
8
+ legend: {
9
+ type: string;
10
+ items: {
11
+ type: string;
12
+ };
13
+ };
14
+ legendPosition: {
15
+ type: string;
16
+ enum: string[];
17
+ };
18
+ legendAlign: {
19
+ type: string;
20
+ enum: string[];
21
+ };
22
+ contentSize: {
23
+ type: string;
24
+ enum: string[];
25
+ };
26
+ table: {
27
+ additionalProperties: boolean;
28
+ required: string[];
29
+ properties: {
30
+ content: {
31
+ type: string;
32
+ items: {
33
+ type: string;
34
+ items: {
35
+ type: string;
36
+ };
37
+ };
38
+ };
39
+ justify: {
40
+ type: string;
41
+ items: {
42
+ type: string;
43
+ enum: string[];
44
+ };
45
+ };
46
+ highlighter: {
47
+ type: string;
48
+ items: {
49
+ type: string;
50
+ };
51
+ };
52
+ customColumnWidth: {
53
+ type: string;
54
+ items: {
55
+ type: string;
56
+ enum: number[];
57
+ };
58
+ };
59
+ type: {};
60
+ when: {
61
+ type: string;
62
+ };
63
+ };
64
+ };
65
+ };
1
66
  export declare const HighlightTableBlock: {
2
67
  'highlight-table-block': {
3
68
  additionalProperties: boolean;
@@ -1,58 +1,67 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HighlightTableBlock = void 0;
3
+ exports.HighlightTableBlock = exports.HighlightTable = void 0;
4
4
  const common_1 = require("../../schema/validators/common");
5
- exports.HighlightTableBlock = {
6
- 'highlight-table-block': {
5
+ exports.HighlightTable = {
6
+ title: {
7
+ type: 'string',
8
+ },
9
+ description: {
10
+ type: 'string',
11
+ },
12
+ legend: {
13
+ type: 'array',
14
+ items: {
15
+ type: 'string',
16
+ },
17
+ },
18
+ legendPosition: {
19
+ type: 'string',
20
+ enum: ['top', 'bottom'],
21
+ },
22
+ legendAlign: {
23
+ type: 'string',
24
+ enum: ['left', 'center', 'right'],
25
+ },
26
+ contentSize: {
27
+ type: 'string',
28
+ enum: common_1.contentSizes,
29
+ },
30
+ table: {
7
31
  additionalProperties: false,
8
- required: ['table'],
9
- properties: Object.assign(Object.assign({}, common_1.BlockBaseProps), { title: {
10
- type: 'string',
11
- }, description: {
12
- type: 'string',
13
- }, legend: {
32
+ required: ['content'],
33
+ properties: Object.assign(Object.assign({}, common_1.BaseProps), { content: {
34
+ type: 'array',
35
+ items: {
36
+ type: 'array',
37
+ items: {
38
+ type: 'string',
39
+ },
40
+ },
41
+ }, justify: {
42
+ type: 'array',
43
+ items: {
44
+ type: 'string',
45
+ enum: ['left', 'center', 'right'],
46
+ },
47
+ }, highlighter: {
48
+ type: 'array',
49
+ items: {
50
+ type: 'string',
51
+ },
52
+ }, customColumnWidth: {
14
53
  type: 'array',
15
54
  items: {
16
55
  type: 'string',
56
+ enum: [12, 6, 4, 3, 2],
17
57
  },
18
- }, legendPosition: {
19
- type: 'string',
20
- enum: ['top', 'bottom'],
21
- }, legendAlign: {
22
- type: 'string',
23
- enum: ['left', 'center', 'right'],
24
- }, contentSize: {
25
- type: 'string',
26
- enum: common_1.contentSizes,
27
- }, table: {
28
- additionalProperties: false,
29
- required: ['content'],
30
- properties: Object.assign(Object.assign({}, common_1.BaseProps), { content: {
31
- type: 'array',
32
- items: {
33
- type: 'array',
34
- items: {
35
- type: 'string',
36
- },
37
- },
38
- }, justify: {
39
- type: 'array',
40
- items: {
41
- type: 'string',
42
- enum: ['left', 'center', 'right'],
43
- },
44
- }, highlighter: {
45
- type: 'array',
46
- items: {
47
- type: 'string',
48
- },
49
- }, customColumnWidth: {
50
- type: 'array',
51
- items: {
52
- type: 'string',
53
- enum: [12, 6, 4, 3, 2],
54
- },
55
- } }),
56
58
  } }),
57
59
  },
58
60
  };
61
+ exports.HighlightTableBlock = {
62
+ 'highlight-table-block': {
63
+ additionalProperties: false,
64
+ required: ['table'],
65
+ properties: Object.assign(Object.assign({}, common_1.BlockBaseProps), exports.HighlightTable),
66
+ },
67
+ };
@@ -0,0 +1,39 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .pc-tabs-highlight-table-block__title {
4
+ margin-bottom: 24px;
5
+ }
6
+ .pc-tabs-highlight-table-block__title_centered {
7
+ text-align: center;
8
+ }
9
+ .pc-tabs-highlight-table-block__title_centered > * {
10
+ margin: 0 auto;
11
+ }
12
+ .pc-tabs-highlight-table-block__tabs {
13
+ margin-bottom: 20px;
14
+ display: flex;
15
+ flex-wrap: wrap;
16
+ justify-content: flex-start;
17
+ }
18
+ .pc-tabs-highlight-table-block__tabs_centered {
19
+ justify-content: center;
20
+ }
21
+ @media (max-width: 769px) {
22
+ .pc-tabs-highlight-table-block__tabs {
23
+ flex-wrap: nowrap;
24
+ justify-content: flex-start;
25
+ overflow: auto;
26
+ margin-left: -48px;
27
+ margin-right: -48px;
28
+ padding-left: 48px;
29
+ padding-right: 40px;
30
+ }
31
+ }
32
+ @media (max-width: 577px) {
33
+ .pc-tabs-highlight-table-block__tabs {
34
+ margin-left: -24px;
35
+ margin-right: -24px;
36
+ padding-left: 24px;
37
+ padding-right: 16px;
38
+ }
39
+ }
@@ -0,0 +1,3 @@
1
+ import { TabsHighlightTableBlockProps } from '../../models';
2
+ export declare const TabsHighlightTableBlock: ({ items, title, description, animated, tabsColSizes, centered, }: TabsHighlightTableBlockProps) => JSX.Element;
3
+ export default TabsHighlightTableBlock;
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TabsHighlightTableBlock = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = tslib_1.__importStar(require("react"));
6
+ const __1 = require("../..");
7
+ const AnimateBlock_1 = tslib_1.__importDefault(require("../../components/AnimateBlock/AnimateBlock"));
8
+ const ButtonTabs_1 = tslib_1.__importDefault(require("../../components/ButtonTabs/ButtonTabs"));
9
+ const Title_1 = tslib_1.__importDefault(require("../../components/Title/Title"));
10
+ const grid_1 = require("../../grid");
11
+ const utils_1 = require("../../utils");
12
+ const b = (0, utils_1.block)('tabs-highlight-table-block');
13
+ const TabsHighlightTableBlock = ({ items, title, description, animated, tabsColSizes, centered, }) => {
14
+ const [activeTab, setActiveTab] = (0, react_1.useState)(items[0].tabName);
15
+ const tabs = items.map(({ tabName }) => ({ title: tabName, id: tabName }));
16
+ const activeTabData = items.find(({ tabName }) => tabName === activeTab);
17
+ const onSelectTab = (0, react_1.useCallback)((id, e) => {
18
+ setActiveTab(id);
19
+ e.currentTarget.scrollIntoView({
20
+ inline: 'center',
21
+ behavior: 'smooth',
22
+ block: 'nearest',
23
+ });
24
+ }, []);
25
+ const renderItem = (0, react_1.useMemo)(() => {
26
+ if (!activeTabData)
27
+ return null;
28
+ return react_1.default.createElement(__1.HighlightTableBlock, Object.assign({}, activeTabData));
29
+ }, [activeTabData]);
30
+ return (react_1.default.createElement(AnimateBlock_1.default, { className: b(), animate: animated },
31
+ react_1.default.createElement(Title_1.default, { title: title, subtitle: description, className: b('title', { centered: centered }) }),
32
+ react_1.default.createElement(grid_1.Row, null,
33
+ react_1.default.createElement(grid_1.Col, { sizes: tabsColSizes },
34
+ react_1.default.createElement(ButtonTabs_1.default, { items: tabs, onSelectTab: onSelectTab, activeTab: activeTab, className: b('tabs', { centered: centered }) }))),
35
+ activeTabData && react_1.default.createElement("div", null, renderItem)));
36
+ };
37
+ exports.TabsHighlightTableBlock = TabsHighlightTableBlock;
38
+ exports.default = exports.TabsHighlightTableBlock;
@@ -0,0 +1,296 @@
1
+ export declare const TabsHighlightTableBlock: {
2
+ 'tabs-highlight-table-block': {
3
+ additionalProperties: boolean;
4
+ required: string[];
5
+ properties: {
6
+ tabsColSizes: {};
7
+ centered: {
8
+ type: string;
9
+ };
10
+ items: {
11
+ type: string;
12
+ items: {
13
+ type: string;
14
+ properties: {
15
+ when: {
16
+ type: string;
17
+ };
18
+ };
19
+ };
20
+ };
21
+ title: {
22
+ oneOf: ({
23
+ type: string;
24
+ optionName: string;
25
+ } | {
26
+ optionName: string;
27
+ type: string;
28
+ additionalProperties: boolean;
29
+ required: string[];
30
+ properties: {
31
+ text: {
32
+ type: string;
33
+ contentType: string;
34
+ };
35
+ link: {
36
+ type: string;
37
+ additionalProperties: boolean;
38
+ required: string[];
39
+ properties: {
40
+ text: {
41
+ type: string;
42
+ contentType: string;
43
+ };
44
+ url: {
45
+ type: string;
46
+ };
47
+ urlTitle: {
48
+ type: string;
49
+ };
50
+ arrow: {
51
+ type: string;
52
+ };
53
+ theme: {
54
+ type: string;
55
+ enum: string[];
56
+ };
57
+ textSize: {
58
+ type: string;
59
+ enum: string[];
60
+ };
61
+ target: {
62
+ type: string;
63
+ enum: string[];
64
+ };
65
+ analyticsEvents: {
66
+ oneOf: ({
67
+ optionName: string;
68
+ type: string;
69
+ additionalProperties: {
70
+ type: string;
71
+ };
72
+ required: string[];
73
+ properties: {
74
+ name: {
75
+ type: string;
76
+ };
77
+ type: {
78
+ type: string;
79
+ };
80
+ counters: {
81
+ type: string;
82
+ additionalProperties: boolean;
83
+ required: never[];
84
+ properties: {
85
+ include: {
86
+ type: string;
87
+ items: {
88
+ type: string;
89
+ };
90
+ };
91
+ exclude: {
92
+ type: string;
93
+ items: {
94
+ type: string;
95
+ };
96
+ };
97
+ };
98
+ };
99
+ context: {
100
+ type: string;
101
+ };
102
+ };
103
+ items?: undefined;
104
+ } | {
105
+ type: string;
106
+ items: {
107
+ type: string;
108
+ additionalProperties: {
109
+ type: string;
110
+ };
111
+ required: string[];
112
+ properties: {
113
+ name: {
114
+ type: string;
115
+ };
116
+ type: {
117
+ type: string;
118
+ };
119
+ counters: {
120
+ type: string;
121
+ additionalProperties: boolean;
122
+ required: never[];
123
+ properties: {
124
+ include: {
125
+ type: string;
126
+ items: {
127
+ type: string;
128
+ };
129
+ };
130
+ exclude: {
131
+ type: string;
132
+ items: {
133
+ type: string;
134
+ };
135
+ };
136
+ };
137
+ };
138
+ context: {
139
+ type: string;
140
+ };
141
+ };
142
+ };
143
+ optionName: string;
144
+ })[];
145
+ };
146
+ type: {};
147
+ when: {
148
+ type: string;
149
+ };
150
+ };
151
+ };
152
+ textSize: {
153
+ type: string;
154
+ enum: string[];
155
+ };
156
+ url: {
157
+ type: string;
158
+ };
159
+ urlTitle: {
160
+ type: string;
161
+ };
162
+ resetMargin: {
163
+ type: string;
164
+ };
165
+ };
166
+ })[];
167
+ };
168
+ description: {
169
+ type: string;
170
+ contentType: string;
171
+ inputType: string;
172
+ };
173
+ anchor: {
174
+ type: string;
175
+ additionalProperties: boolean;
176
+ required: string[];
177
+ properties: {
178
+ text: {
179
+ type: string;
180
+ contentType: string;
181
+ };
182
+ url: {
183
+ type: string;
184
+ };
185
+ urlTitle: {
186
+ type: string;
187
+ };
188
+ };
189
+ };
190
+ visibility: {
191
+ oneOf: ({
192
+ type: string;
193
+ enum: string[];
194
+ additionalProperties?: undefined;
195
+ properties?: undefined;
196
+ } | {
197
+ type: string;
198
+ additionalProperties: boolean;
199
+ properties: {
200
+ xs: {
201
+ type: string;
202
+ };
203
+ sm: {
204
+ type: string;
205
+ };
206
+ md: {
207
+ type: string;
208
+ };
209
+ lg: {
210
+ type: string;
211
+ };
212
+ xl: {
213
+ type: string;
214
+ };
215
+ xxl: {
216
+ type: string;
217
+ };
218
+ };
219
+ enum?: undefined;
220
+ })[];
221
+ };
222
+ visible: {
223
+ type: string;
224
+ enum: string[];
225
+ };
226
+ hidden: {
227
+ type: string;
228
+ enum: string[];
229
+ };
230
+ resetPaddings: {
231
+ type: string;
232
+ };
233
+ context: {
234
+ type: string;
235
+ };
236
+ indent: {
237
+ type: string;
238
+ additionalProperties: boolean;
239
+ properties: {
240
+ top: {
241
+ enum: string[];
242
+ };
243
+ bottom: {
244
+ enum: string[];
245
+ };
246
+ };
247
+ };
248
+ backgroundFull: {
249
+ type: string;
250
+ };
251
+ blockBackground: {
252
+ oneOf: ({
253
+ type: string;
254
+ additionalProperties?: undefined;
255
+ properties?: undefined;
256
+ } | {
257
+ type: string;
258
+ additionalProperties: boolean;
259
+ properties: {
260
+ color: {
261
+ type: string;
262
+ };
263
+ image: {
264
+ type: string;
265
+ };
266
+ size: {
267
+ type: string;
268
+ };
269
+ repeat: {
270
+ type: string;
271
+ };
272
+ position: {
273
+ type: string;
274
+ };
275
+ attachment: {
276
+ type: string;
277
+ };
278
+ clip: {
279
+ type: string;
280
+ };
281
+ origin: {
282
+ type: string;
283
+ };
284
+ blendMode: {
285
+ type: string;
286
+ };
287
+ };
288
+ })[];
289
+ };
290
+ type: {};
291
+ when: {
292
+ type: string;
293
+ };
294
+ };
295
+ };
296
+ };
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TabsHighlightTableBlock = void 0;
4
+ const common_1 = require("../../schema/validators/common");
5
+ const utils_1 = require("../../schema/validators/utils");
6
+ const schema_1 = require("../HighlightTable/schema");
7
+ const tabsItem = {
8
+ type: 'object',
9
+ additionalProperties: false,
10
+ required: ['tabName', 'table'],
11
+ properties: Object.assign(Object.assign({}, schema_1.HighlightTable), { tabName: {
12
+ type: 'string',
13
+ } }),
14
+ };
15
+ exports.TabsHighlightTableBlock = {
16
+ 'tabs-highlight-table-block': {
17
+ additionalProperties: false,
18
+ required: ['title', 'items'],
19
+ properties: Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.BlockHeaderProps), { tabsColSizes: common_1.containerSizesArray.reduce((acc, size) => (Object.assign(Object.assign({}, acc), { [size]: common_1.sizeNumber })), {}), centered: { type: 'boolean' }, items: (0, utils_1.filteredArray)(tabsItem) }),
20
+ },
21
+ };
@@ -10,6 +10,7 @@ export { default as PromoFeaturesBlock } from './PromoFeaturesBlock/PromoFeature
10
10
  export { default as QuestionsBlock } from './Questions/Questions';
11
11
  export { default as TableBlock } from './Table/Table';
12
12
  export { default as TabsBlock } from './Tabs/Tabs';
13
+ export { default as TabsHighlightTableBlock } from './TabsHighlightTable/TabsHighlightTable';
13
14
  export { default as TabLinksBlock } from './TabLinks/TabLinks';
14
15
  export { default as HeaderBlock } from './Header/Header';
15
16
  export { default as IconsBlock } from './Icons/Icons';
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.HighlightTableBlock = exports.PressReleasesBlock = exports.RelevantReportsBlock = exports.RelevantReportsCardsBlock = exports.RelevantPostsBlock = exports.BlogFeedBlock = exports.EventsSectionBlock = exports.EventsFeedBlock = exports.LinkTableBlock = exports.FormWallBlock = exports.ReportsSectionsBlock = exports.ReportsCardsBlock = exports.ReportsBlock = exports.QuotesBlock = exports.ServicesBlock = exports.SolutionsBlock = exports.MarqueeLinksBlock = exports.FormBlock = exports.FilterBlock = exports.ShareBlock = exports.ContentLayoutBlock = exports.CardLayoutBlock = exports.HeaderSliderBlock = exports.IconsBlock = exports.HeaderBlock = exports.TabLinksBlock = exports.TabsBlock = exports.TableBlock = exports.QuestionsBlock = exports.PromoFeaturesBlock = exports.ExtendedFeaturesBlock = exports.SliderNewBlock = exports.SliderBlock = exports.MapBlock = exports.MediaBlock = exports.InfoBlock = exports.CompaniesBlock = exports.BannerBlock = void 0;
6
+ exports.HighlightTableBlock = exports.PressReleasesBlock = exports.RelevantReportsBlock = exports.RelevantReportsCardsBlock = exports.RelevantPostsBlock = exports.BlogFeedBlock = exports.EventsSectionBlock = exports.EventsFeedBlock = exports.LinkTableBlock = exports.FormWallBlock = exports.ReportsSectionsBlock = exports.ReportsCardsBlock = exports.ReportsBlock = exports.QuotesBlock = exports.ServicesBlock = exports.SolutionsBlock = exports.MarqueeLinksBlock = exports.FormBlock = exports.FilterBlock = exports.ShareBlock = exports.ContentLayoutBlock = exports.CardLayoutBlock = exports.HeaderSliderBlock = exports.IconsBlock = exports.HeaderBlock = exports.TabLinksBlock = exports.TabsHighlightTableBlock = exports.TabsBlock = exports.TableBlock = exports.QuestionsBlock = exports.PromoFeaturesBlock = exports.ExtendedFeaturesBlock = exports.SliderNewBlock = exports.SliderBlock = exports.MapBlock = exports.MediaBlock = exports.InfoBlock = exports.CompaniesBlock = exports.BannerBlock = void 0;
7
7
  var Banner_1 = require("./Banner/Banner");
8
8
  Object.defineProperty(exports, "BannerBlock", { enumerable: true, get: function () { return __importDefault(Banner_1).default; } });
9
9
  var Companies_1 = require("./Companies/Companies");
@@ -28,6 +28,8 @@ var Table_1 = require("./Table/Table");
28
28
  Object.defineProperty(exports, "TableBlock", { enumerable: true, get: function () { return __importDefault(Table_1).default; } });
29
29
  var Tabs_1 = require("./Tabs/Tabs");
30
30
  Object.defineProperty(exports, "TabsBlock", { enumerable: true, get: function () { return __importDefault(Tabs_1).default; } });
31
+ var TabsHighlightTable_1 = require("./TabsHighlightTable/TabsHighlightTable");
32
+ Object.defineProperty(exports, "TabsHighlightTableBlock", { enumerable: true, get: function () { return __importDefault(TabsHighlightTable_1).default; } });
31
33
  var TabLinks_1 = require("./TabLinks/TabLinks");
32
34
  Object.defineProperty(exports, "TabLinksBlock", { enumerable: true, get: function () { return __importDefault(TabLinks_1).default; } });
33
35
  var Header_1 = require("./Header/Header");
@@ -9,6 +9,7 @@ export declare const blockMap: {
9
9
  "info-block": (props: import("./models").InfoBlockProps) => JSX.Element;
10
10
  "table-block": (props: import("./models").TableBlockProps) => JSX.Element;
11
11
  "tabs-block": ({ items, title, description, animated, tabsColSizes, centered, direction, contentSize, }: import("./models").TabsBlockProps) => JSX.Element;
12
+ "tabs-highlight-table-block": ({ items, title, description, animated, tabsColSizes, centered, }: import("./models").TabsHighlightTableBlockProps) => JSX.Element;
12
13
  "tab-links-block": ({ items }: import("./models").TabLinksBlockProps) => JSX.Element;
13
14
  "header-block": (props: import("react").PropsWithChildren<import("./models").HeaderBlockProps & import("./models").ClassNameProps>) => JSX.Element;
14
15
  "icons-block": ({ title, description, size, colSizes, items }: import("./models").IconsBlockProps) => JSX.Element;
@@ -18,6 +18,7 @@ exports.blockMap = {
18
18
  [models_1.BlockType.InfoBlock]: blocks_1.InfoBlock,
19
19
  [models_1.BlockType.TableBlock]: blocks_1.TableBlock,
20
20
  [models_1.BlockType.TabsBlock]: blocks_1.TabsBlock,
21
+ [models_1.BlockType.TabsHighlightTableBlock]: blocks_1.TabsHighlightTableBlock,
21
22
  [models_1.BlockType.TabLinksBlock]: blocks_1.TabLinksBlock,
22
23
  [models_1.BlockType.HeaderBlock]: blocks_1.HeaderBlock,
23
24
  [models_1.BlockType.IconsBlock]: blocks_1.IconsBlock,
@@ -16,6 +16,7 @@ export declare enum BlockType {
16
16
  InfoBlock = "info-block",
17
17
  TableBlock = "table-block",
18
18
  TabsBlock = "tabs-block",
19
+ TabsHighlightTableBlock = "tabs-highlight-table-block",
19
20
  TabLinksBlock = "tab-links-block",
20
21
  HeaderSliderBlock = "header-slider-block",
21
22
  HeaderBlock = "header-block",
@@ -344,6 +345,17 @@ export interface TabsBlockProps extends Animatable {
344
345
  items: TabsBlockItem[];
345
346
  contentSize?: ContentSize;
346
347
  }
348
+ export interface TabsHighlightTableBlockItem extends HighlightTableBlockProps {
349
+ tabName: string;
350
+ }
351
+ export interface TabsHighlightTableBlockProps extends Animatable {
352
+ title?: TitleItemProps | string;
353
+ description?: string;
354
+ tabsColSizes?: GridColumnSizesType;
355
+ centered?: boolean;
356
+ items: TabsHighlightTableBlockItem[];
357
+ contentSize?: ContentSize;
358
+ }
347
359
  export interface TabLinksBlockProps {
348
360
  items: {
349
361
  active?: boolean;
@@ -605,6 +617,9 @@ export type HighlightTableBlockModel = {
605
617
  export type TabsBlockModel = {
606
618
  type: BlockType.TabsBlock;
607
619
  } & TabsBlockProps;
620
+ export type TabsHighlightTableBlockModel = {
621
+ type: BlockType.TabsHighlightTableBlock;
622
+ } & TabsHighlightTableBlockProps;
608
623
  export type TabLinksBlockModel = {
609
624
  type: BlockType.TabLinksBlock;
610
625
  } & TabLinksBlockProps;
@@ -680,6 +695,6 @@ export type FormWallBlockModel = {
680
695
  export type SliderNewBlockModel = {
681
696
  type: BlockType.SliderNewBlock;
682
697
  } & SliderNewProps;
683
- type BlockModels = SliderBlockModel | ExtendedFeaturesBlockModel | PromoFeaturesBlockModel | QuestionsBlockModel | BannerBlockModel | CompaniesBlockModel | MediaBlockModel | MapBlockModel | InfoBlockModel | TableBlockModel | HighlightTableBlockModel | TabsBlockModel | TabLinksBlockModel | HeaderBlockModel | IconsBlockModel | HeaderSliderBlockModel | CardLayoutBlockModel | ContentLayoutBlockModel | ShareBLockModel | FilterBlockModel | FormBlockModel | MarqueeLinksBlockModel | SolutionsBlockModel | ServicesBlockModel | QuotesBlockModel | ReportsBlockModel | ReportsCardsBlockModel | ReportsSectionsBlockModel | LinkTableBlockModel | EventsFeedBlockModel | EventsSectionBlockModel | BlogFeedBlockModel | RelevantPostsBlockModel | RelevantReportsCardsBlockModel | RelevantReportsBlockModel | PressReleasesBlockModel | FormWallBlockModel | SliderNewBlockModel;
698
+ type BlockModels = SliderBlockModel | ExtendedFeaturesBlockModel | PromoFeaturesBlockModel | QuestionsBlockModel | BannerBlockModel | CompaniesBlockModel | MediaBlockModel | MapBlockModel | InfoBlockModel | TableBlockModel | HighlightTableBlockModel | TabsBlockModel | TabsHighlightTableBlockModel | TabLinksBlockModel | HeaderBlockModel | IconsBlockModel | HeaderSliderBlockModel | CardLayoutBlockModel | ContentLayoutBlockModel | ShareBLockModel | FilterBlockModel | FormBlockModel | MarqueeLinksBlockModel | SolutionsBlockModel | ServicesBlockModel | QuotesBlockModel | ReportsBlockModel | ReportsCardsBlockModel | ReportsSectionsBlockModel | LinkTableBlockModel | EventsFeedBlockModel | EventsSectionBlockModel | BlogFeedBlockModel | RelevantPostsBlockModel | RelevantReportsCardsBlockModel | RelevantReportsBlockModel | PressReleasesBlockModel | FormWallBlockModel | SliderNewBlockModel;
684
699
  export type Block = BlockModels & BlockBaseProps;
685
700
  export {};