@doyourjob/gravity-ui-page-constructor 5.31.192 → 5.31.198

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 (44) hide show
  1. package/build/cjs/blocks/OnetrustCookieList/OnetrustCookieList.d.ts +2 -0
  2. package/build/cjs/blocks/OnetrustCookieList/OnetrustCookieList.js +10 -0
  3. package/build/cjs/blocks/OnetrustCookieList/schema.d.ts +143 -0
  4. package/build/cjs/blocks/OnetrustCookieList/schema.js +11 -0
  5. package/build/cjs/blocks/SliderNew/Slider.css +1 -0
  6. package/build/cjs/blocks/SliderNew/SliderClient.d.ts +0 -1
  7. package/build/cjs/blocks/SliderNew/SliderClient.js +0 -1
  8. package/build/cjs/blocks/index.d.ts +1 -0
  9. package/build/cjs/blocks/index.js +3 -1
  10. package/build/cjs/components/Title/TitleItem.d.ts +1 -1
  11. package/build/cjs/constructor-items.d.ts +1 -0
  12. package/build/cjs/constructor-items.js +1 -0
  13. package/build/cjs/models/constructor-items/blocks.d.ts +5 -1
  14. package/build/cjs/models/constructor-items/blocks.js +1 -0
  15. package/build/cjs/schema/constants.d.ts +0 -1
  16. package/build/cjs/schema/constants.js +2 -1
  17. package/build/cjs/schema/validators/blocks.d.ts +1 -0
  18. package/build/cjs/schema/validators/blocks.js +1 -0
  19. package/build/esm/blocks/OnetrustCookieList/OnetrustCookieList.d.ts +2 -0
  20. package/build/esm/blocks/OnetrustCookieList/OnetrustCookieList.js +5 -0
  21. package/build/esm/blocks/OnetrustCookieList/schema.d.ts +143 -0
  22. package/build/esm/blocks/OnetrustCookieList/schema.js +8 -0
  23. package/build/esm/blocks/SliderNew/Slider.css +1 -0
  24. package/build/esm/blocks/SliderNew/SliderClient.d.ts +0 -1
  25. package/build/esm/blocks/SliderNew/SliderClient.js +0 -1
  26. package/build/esm/blocks/index.d.ts +1 -0
  27. package/build/esm/blocks/index.js +1 -0
  28. package/build/esm/components/Title/TitleItem.d.ts +1 -1
  29. package/build/esm/constructor-items.d.ts +1 -0
  30. package/build/esm/constructor-items.js +2 -1
  31. package/build/esm/models/constructor-items/blocks.d.ts +5 -1
  32. package/build/esm/models/constructor-items/blocks.js +1 -0
  33. package/build/esm/schema/constants.d.ts +0 -1
  34. package/build/esm/schema/constants.js +3 -2
  35. package/build/esm/schema/validators/blocks.d.ts +1 -0
  36. package/build/esm/schema/validators/blocks.js +1 -0
  37. package/package.json +2 -2
  38. package/schema/index.js +1 -1
  39. package/server/models/constructor-items/blocks.d.ts +5 -1
  40. package/server/models/constructor-items/blocks.js +1 -0
  41. package/widget/255.index.js +1 -1
  42. package/widget/256.index.js +1 -0
  43. package/widget/index.js +1 -1
  44. package/widget/652.index.js +0 -1
@@ -0,0 +1,2 @@
1
+ export declare const OnetrustCookieList: () => JSX.Element;
2
+ export default OnetrustCookieList;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OnetrustCookieList = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = tslib_1.__importDefault(require("react"));
6
+ const OnetrustCookieList = () => {
7
+ return react_1.default.createElement("div", { id: "ot-sdk-cookie-policy" });
8
+ };
9
+ exports.OnetrustCookieList = OnetrustCookieList;
10
+ exports.default = exports.OnetrustCookieList;
@@ -0,0 +1,143 @@
1
+ export declare const OnetrustCookieListBlock: {
2
+ "onetrust-cookie-list": {
3
+ type: string;
4
+ additionalProperties: boolean;
5
+ properties: {
6
+ anchor: {
7
+ type: string;
8
+ additionalProperties: boolean;
9
+ required: string[];
10
+ properties: {
11
+ text: {
12
+ type: string;
13
+ contentType: string;
14
+ };
15
+ url: {
16
+ type: string;
17
+ };
18
+ urlTitle: {
19
+ type: string;
20
+ };
21
+ };
22
+ };
23
+ visibility: {
24
+ oneOf: ({
25
+ type: string;
26
+ enum: string[];
27
+ additionalProperties?: undefined;
28
+ properties?: undefined;
29
+ } | {
30
+ type: string;
31
+ additionalProperties: boolean;
32
+ properties: {
33
+ xs: {
34
+ type: string;
35
+ };
36
+ sm: {
37
+ type: string;
38
+ };
39
+ md: {
40
+ type: string;
41
+ };
42
+ lg: {
43
+ type: string;
44
+ };
45
+ xl: {
46
+ type: string;
47
+ };
48
+ xxl: {
49
+ type: string;
50
+ };
51
+ };
52
+ enum?: undefined;
53
+ })[];
54
+ };
55
+ visible: {
56
+ type: string;
57
+ enum: string[];
58
+ };
59
+ hidden: {
60
+ type: string;
61
+ enum: string[];
62
+ };
63
+ resetPaddings: {
64
+ type: string;
65
+ };
66
+ context: {
67
+ type: string;
68
+ };
69
+ indent: {
70
+ type: string;
71
+ additionalProperties: boolean;
72
+ properties: {
73
+ top: {
74
+ enum: string[];
75
+ };
76
+ bottom: {
77
+ enum: string[];
78
+ };
79
+ };
80
+ };
81
+ backgroundFull: {
82
+ type: string;
83
+ };
84
+ visibilityFilter: {
85
+ oneOf: ({
86
+ type: string;
87
+ items?: undefined;
88
+ } | {
89
+ type: string;
90
+ items: {
91
+ type: string;
92
+ };
93
+ })[];
94
+ };
95
+ blockUnicorn: {
96
+ type: string;
97
+ };
98
+ blockBackground: {
99
+ oneOf: ({
100
+ type: string;
101
+ additionalProperties?: undefined;
102
+ properties?: undefined;
103
+ } | {
104
+ type: string;
105
+ additionalProperties: boolean;
106
+ properties: {
107
+ color: {
108
+ type: string;
109
+ };
110
+ image: {
111
+ type: string;
112
+ };
113
+ size: {
114
+ type: string;
115
+ };
116
+ repeat: {
117
+ type: string;
118
+ };
119
+ position: {
120
+ type: string;
121
+ };
122
+ attachment: {
123
+ type: string;
124
+ };
125
+ clip: {
126
+ type: string;
127
+ };
128
+ origin: {
129
+ type: string;
130
+ };
131
+ blendMode: {
132
+ type: string;
133
+ };
134
+ };
135
+ })[];
136
+ };
137
+ type: {};
138
+ when: {
139
+ type: string;
140
+ };
141
+ };
142
+ };
143
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OnetrustCookieListBlock = void 0;
4
+ const common_1 = require("../../schema/validators/common");
5
+ exports.OnetrustCookieListBlock = {
6
+ ['onetrust-cookie-list']: {
7
+ type: 'object',
8
+ additionalProperties: false,
9
+ properties: common_1.BlockBaseProps,
10
+ },
11
+ };
@@ -1,3 +1,4 @@
1
+ @import url("swiper/swiper-bundle.css");
1
2
  /* use this for style redefinitions to awoid problems with
2
3
  unpredictable css rules order in build */
3
4
  .pc-slider-new-block {
@@ -1,7 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { SwiperProps } from 'swiper/react';
3
3
  import { ClassNameProps, Refable, SliderProps as SliderParams } from '../../models';
4
- import 'swiper/swiper-bundle.css';
5
4
  export interface SliderNewProps extends Omit<SliderParams, 'children'>, Partial<Pick<SwiperProps, 'onSlideChange' | 'onSlideChangeTransitionStart' | 'onSlideChangeTransitionEnd' | 'onActiveIndexChange' | 'onBreakpoint'>>, Refable<HTMLDivElement>, ClassNameProps {
6
5
  type?: string;
7
6
  anchorId?: string;
@@ -14,7 +14,6 @@ const Arrow_1 = tslib_1.__importDefault(require("./Arrow/Arrow"));
14
14
  const i18n_1 = require("./i18n");
15
15
  const useSlider_1 = require("./useSlider");
16
16
  const useSliderPagination_1 = require("./useSliderPagination");
17
- require("swiper/swiper-bundle.css");
18
17
  const b = (0, utils_1.block)('slider-new-block');
19
18
  const SliderClient = ({ animated, title, description, type, anchorId, arrows = true, adaptive, autoplay: autoplayMs, infinite = false, dots = true, initialSlide = 0, className, dotsClassName, disclaimer, children, blockClassName, arrowSize, slidesToShow, onSlideChange, onSlideChangeTransitionStart, onSlideChangeTransitionEnd, onActiveIndexChange, onBreakpoint, }) => {
20
19
  const { autoplay, isLocked, childrenCount, breakpoints, onSwiper, handleSwiperInit, onPrev, onNext, setIsLocked, } = (0, useSlider_1.useSlider)({
@@ -53,4 +53,5 @@ export { default as BenchmarkBlock } from './Benchmark/Benchmark';
53
53
  export { default as SidebarWidgetBlock } from './SidebarWidget/SidebarWidget';
54
54
  export { default as CatBlock } from './Cat/Cat';
55
55
  export { default as AudioBlock } from './Audio/Audio';
56
+ export { default as OnetrustCookieListBlock } from './OnetrustCookieList/OnetrustCookieList';
56
57
  export { default as ScienceSuggestBlock } from './ScienceSuggest/ScienceSuggest';
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.HighlightTableBlock = exports.PressReleasesBlock = exports.RelevantReportsBlock = exports.RelevantReportsCardsBlock = exports.RelevantPostsBlock = exports.ScienceFeedBlock = exports.BlogFeedBlock = exports.EventsSectionBlock = exports.ResourceHubPostsBlock = exports.EventsFeedBlock = exports.LinkTableBlock = exports.FormWallBlock = exports.ReportsSectionsBlock = exports.ReportsCardsBlock = exports.AboutHeaderBlock = exports.ScienceHeaderBlock = exports.ReportsBlock = exports.QuotesBlock = exports.ServicesBlock = exports.SolutionsBlock = exports.MarqueeLinksBlock = exports.FormBlock = exports.FilterCardLayoutBlock = exports.FilterBlock = exports.ShareBlock = exports.BannerMinifyBlock = exports.ContentLayoutBlock = exports.CardLayoutBlock = exports.HeaderSliderBlock = exports.IconsBlock = exports.HeaderMinifyBlock = exports.HeaderBlock = exports.TabLinksBlock = exports.TabsHighlightTableBlock = exports.TabsBlock = exports.TableBlock = exports.QuestionsBlock = exports.ScrollerBlock = exports.BenefitsBlock = exports.AdvantagesBlock = exports.PromoFeaturesBlock = exports.ExtendedFeaturesBlock = exports.SliderNewBlock = exports.SliderBlock = exports.MapBlock = exports.MediaBlock = exports.InfoBlock = exports.CompaniesBlock = exports.LogoRotatorBlock = exports.BannerBlock = void 0;
7
- exports.ScienceSuggestBlock = exports.AudioBlock = exports.CatBlock = exports.SidebarWidgetBlock = exports.BenchmarkBlock = exports.MiniCaseBlock = void 0;
7
+ exports.ScienceSuggestBlock = exports.OnetrustCookieListBlock = exports.AudioBlock = exports.CatBlock = exports.SidebarWidgetBlock = exports.BenchmarkBlock = exports.MiniCaseBlock = void 0;
8
8
  var Banner_1 = require("./Banner/Banner");
9
9
  Object.defineProperty(exports, "BannerBlock", { enumerable: true, get: function () { return __importDefault(Banner_1).default; } });
10
10
  var LogoRotator_1 = require("./LogoRotator/LogoRotator");
@@ -115,5 +115,7 @@ var Cat_1 = require("./Cat/Cat");
115
115
  Object.defineProperty(exports, "CatBlock", { enumerable: true, get: function () { return __importDefault(Cat_1).default; } });
116
116
  var Audio_1 = require("./Audio/Audio");
117
117
  Object.defineProperty(exports, "AudioBlock", { enumerable: true, get: function () { return __importDefault(Audio_1).default; } });
118
+ var OnetrustCookieList_1 = require("./OnetrustCookieList/OnetrustCookieList");
119
+ Object.defineProperty(exports, "OnetrustCookieListBlock", { enumerable: true, get: function () { return __importDefault(OnetrustCookieList_1).default; } });
118
120
  var ScienceSuggest_1 = require("./ScienceSuggest/ScienceSuggest");
119
121
  Object.defineProperty(exports, "ScienceSuggestBlock", { enumerable: true, get: function () { return __importDefault(ScienceSuggest_1).default; } });
@@ -1,5 +1,5 @@
1
1
  import { QAProps, TitleItemProps, TitleTextSize } from '../../models';
2
- export declare function getArrowSize(size: TitleTextSize, isMobile: boolean): 16 | 20 | 24 | 13 | 22 | 26 | 38;
2
+ export declare function getArrowSize(size: TitleTextSize, isMobile: boolean): 16 | 13 | 22 | 24 | 26 | 38 | 20;
3
3
  export interface TitleItemFullProps extends TitleItemProps, QAProps {
4
4
  className?: string;
5
5
  onClick?: () => void;
@@ -55,6 +55,7 @@ export declare const blockMap: {
55
55
  "slider-new-block": (props: import("react").PropsWithChildren<import("./blocks/SliderNew/SliderClient").SliderNewProps>) => JSX.Element;
56
56
  "cat-block": ({ title, children }: import("react").PropsWithChildren<import("./models").CatBlockProps>) => JSX.Element;
57
57
  "audio-block": ({ url }: import("react").PropsWithChildren<import("./models").AudioBlockProps>) => JSX.Element;
58
+ "onetrust-cookie-list": () => JSX.Element;
58
59
  };
59
60
  export declare const subBlockMap: {
60
61
  divider: ({ size, border }: import("./models").DividerProps) => JSX.Element;
@@ -64,6 +64,7 @@ exports.blockMap = {
64
64
  [models_1.BlockType.SliderNewBlock]: blocks_1.SliderNewBlock,
65
65
  [models_1.BlockType.CatBlock]: blocks_1.CatBlock,
66
66
  [models_1.BlockType.AudioBlock]: blocks_1.AudioBlock,
67
+ [models_1.BlockType.OnetrustCookieListBlock]: blocks_1.OnetrustCookieListBlock,
67
68
  };
68
69
  exports.subBlockMap = {
69
70
  [models_1.SubBlockType.Divider]: sub_blocks_1.Divider,
@@ -62,6 +62,7 @@ export declare enum BlockType {
62
62
  SidebarWidgetBlock = "sidebar-widget-block",
63
63
  CatBlock = "cat-block",
64
64
  AudioBlock = "audio-block",
65
+ OnetrustCookieListBlock = "onetrust-cookie-list",
65
66
  ScienceSuggestBlock = "science-suggest-block"
66
67
  }
67
68
  export declare const BlockTypes: BlockType[];
@@ -857,6 +858,9 @@ export type CatBlockModel = {
857
858
  export type AudioBlockModel = {
858
859
  type: BlockType.AudioBlock;
859
860
  } & AudioBlockProps;
861
+ export type OnetrustCookieListModel = {
862
+ type: BlockType.OnetrustCookieListBlock;
863
+ };
860
864
  export type FilterBlockModel = {
861
865
  type: BlockType.FilterBlock;
862
866
  } & FilterBlockProps;
@@ -953,6 +957,6 @@ export type SliderNewBlockModel = {
953
957
  export type SidebarWidgetBlockModel = {
954
958
  type: BlockType.SidebarWidgetBlock;
955
959
  } & SidebarWidgetBlockProps;
956
- type BlockModels = SliderBlockModel | ExtendedFeaturesBlockModel | PromoFeaturesBlockModel | QuestionsBlockModel | BannerBlockModel | LogoRotatorBlockModel | AdvantagesBlockModel | BenefitsBlockModel | ScrollerBlockModel | CompaniesBlockModel | MediaBlockModel | MapBlockModel | InfoBlockModel | TableBlockModel | HighlightTableBlockModel | MiniCaseBlockModel | TabsBlockModel | TabsHighlightTableBlockModel | TabLinksBlockModel | HeaderBlockModel | HeaderMinifyBlockModel | IconsBlockModel | HeaderSliderBlockModel | CardLayoutBlockModel | ContentLayoutBlockModel | BannerMinifyBlockModel | ShareBLockModel | FilterBlockModel | FilterCardLayoutBlockModel | FormBlockModel | MarqueeLinksBlockModel | SolutionsBlockModel | ServicesBlockModel | QuotesBlockModel | ReportsBlockModel | ScienceHeaderBlockModel | AboutHeaderBlockModel | ReportsCardsBlockModel | ReportsSectionsBlockModel | LinkTableBlockModel | EventsFeedBlockModel | ResourceHubPostsBlockModel | BenchmarkBlockModel | EventsSectionBlockModel | BlogFeedBlockModel | ScienceFeedBlockModel | RelevantPostsBlockModel | RelevantReportsCardsBlockModel | RelevantReportsBlockModel | PressReleasesBlockModel | FormWallBlockModel | SliderNewBlockModel | SidebarWidgetBlockModel | CatBlockModel | AudioBlockModel | ScienceSuggestBlockModel;
960
+ type BlockModels = SliderBlockModel | ExtendedFeaturesBlockModel | PromoFeaturesBlockModel | QuestionsBlockModel | BannerBlockModel | LogoRotatorBlockModel | AdvantagesBlockModel | BenefitsBlockModel | ScrollerBlockModel | CompaniesBlockModel | MediaBlockModel | MapBlockModel | InfoBlockModel | TableBlockModel | HighlightTableBlockModel | MiniCaseBlockModel | TabsBlockModel | TabsHighlightTableBlockModel | TabLinksBlockModel | HeaderBlockModel | HeaderMinifyBlockModel | IconsBlockModel | HeaderSliderBlockModel | CardLayoutBlockModel | ContentLayoutBlockModel | BannerMinifyBlockModel | ShareBLockModel | FilterBlockModel | FilterCardLayoutBlockModel | FormBlockModel | MarqueeLinksBlockModel | SolutionsBlockModel | ServicesBlockModel | QuotesBlockModel | ReportsBlockModel | ScienceHeaderBlockModel | AboutHeaderBlockModel | ReportsCardsBlockModel | ReportsSectionsBlockModel | LinkTableBlockModel | EventsFeedBlockModel | ResourceHubPostsBlockModel | BenchmarkBlockModel | EventsSectionBlockModel | BlogFeedBlockModel | ScienceFeedBlockModel | RelevantPostsBlockModel | RelevantReportsCardsBlockModel | RelevantReportsBlockModel | PressReleasesBlockModel | FormWallBlockModel | SliderNewBlockModel | SidebarWidgetBlockModel | CatBlockModel | AudioBlockModel | OnetrustCookieListModel | ScienceSuggestBlockModel;
957
961
  export type Block = BlockModels & BlockBaseProps;
958
962
  export {};
@@ -58,6 +58,7 @@ var BlockType;
58
58
  BlockType["SidebarWidgetBlock"] = "sidebar-widget-block";
59
59
  BlockType["CatBlock"] = "cat-block";
60
60
  BlockType["AudioBlock"] = "audio-block";
61
+ BlockType["OnetrustCookieListBlock"] = "onetrust-cookie-list";
61
62
  BlockType["ScienceSuggestBlock"] = "science-suggest-block";
62
63
  })(BlockType = exports.BlockType || (exports.BlockType = {}));
63
64
  exports.BlockTypes = Object.values(BlockType);
@@ -3994,7 +3994,6 @@ export declare const cardSchemas: {
3994
3994
  optionName: string;
3995
3995
  } | {
3996
3996
  optionName: string;
3997
- /** @deprecated */
3998
3997
  type: string;
3999
3998
  additionalProperties: boolean;
4000
3999
  required: string[];
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.constructorCardSchemaNames = exports.constructorBlockSchemaNames = exports.cardSchemas = exports.blockSchemas = void 0;
4
4
  const blocks_1 = require("./validators/blocks");
5
5
  const sub_blocks_1 = require("./validators/sub-blocks");
6
- exports.blockSchemas = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, sub_blocks_1.Divider), blocks_1.ExtendedFeaturesBlock), blocks_1.PromoFeaturesBlock), blocks_1.AdvantagesBlock), blocks_1.BenefitsBlock), blocks_1.ScrollerBlock), blocks_1.SliderBlock), blocks_1.QuestionsBlock), blocks_1.HeaderBlock), blocks_1.HeaderMinifyBlock), blocks_1.BannerBlock), blocks_1.LogoRotatorBlock), blocks_1.CompaniesBlock), blocks_1.MediaBlock), blocks_1.MapBlock), blocks_1.InfoBlock), blocks_1.TableBlock), blocks_1.HighlightTableBlock), blocks_1.MiniCaseBlock), blocks_1.TabsBlock), blocks_1.TabsHighlightTableBlock), blocks_1.TabLinksBlock), blocks_1.HeaderSliderBlock), blocks_1.IconsBlock), blocks_1.CardLayoutBlock), blocks_1.ContentLayoutBlock), blocks_1.BannerMinifyBlock), blocks_1.ShareBlock), blocks_1.FilterBlock), blocks_1.FilterCardLayoutBlock), blocks_1.FormBlock), blocks_1.SliderNewBlock), blocks_1.MarqueeLinksBlock), blocks_1.SolutionsBlock), blocks_1.ServicesBlock), blocks_1.QuotesBlock), blocks_1.ReportsBlock), blocks_1.ScienceHeaderBlock), blocks_1.AboutHeaderBlock), blocks_1.SidebarWidgetBlock), blocks_1.ReportsCardsBlock), blocks_1.ReportsSectionsBlock), blocks_1.LinkTableBlock), blocks_1.EventsFeedBlock), blocks_1.ResourceHubPostsBlock), blocks_1.BenchmarkBlock), blocks_1.EventsSectionBlock), blocks_1.BlogFeedBlock), blocks_1.ScienceFeedBlock), blocks_1.RelevantPostsBlock), blocks_1.RelevantReportsCardsBlock), blocks_1.RelevantReportsBlock), blocks_1.PressReleasesBlock), blocks_1.FormWallBlock), blocks_1.CatBlock), blocks_1.AudioBlock), blocks_1.ScienceSuggestBlock);
6
+ exports.blockSchemas = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, sub_blocks_1.Divider), blocks_1.ExtendedFeaturesBlock), blocks_1.PromoFeaturesBlock), blocks_1.AdvantagesBlock), blocks_1.BenefitsBlock), blocks_1.ScrollerBlock), blocks_1.SliderBlock), blocks_1.QuestionsBlock), blocks_1.HeaderBlock), blocks_1.HeaderMinifyBlock), blocks_1.BannerBlock), blocks_1.LogoRotatorBlock), blocks_1.CompaniesBlock), blocks_1.MediaBlock), blocks_1.MapBlock), blocks_1.InfoBlock), blocks_1.TableBlock), blocks_1.HighlightTableBlock), blocks_1.MiniCaseBlock), blocks_1.TabsBlock), blocks_1.TabsHighlightTableBlock), blocks_1.TabLinksBlock), blocks_1.HeaderSliderBlock), blocks_1.IconsBlock), blocks_1.CardLayoutBlock), blocks_1.ContentLayoutBlock), blocks_1.BannerMinifyBlock), blocks_1.ShareBlock), blocks_1.FilterBlock), blocks_1.FilterCardLayoutBlock), blocks_1.FormBlock), blocks_1.SliderNewBlock), blocks_1.MarqueeLinksBlock), blocks_1.SolutionsBlock), blocks_1.ServicesBlock), blocks_1.QuotesBlock), blocks_1.ReportsBlock), blocks_1.ScienceHeaderBlock), blocks_1.AboutHeaderBlock), blocks_1.SidebarWidgetBlock), blocks_1.ReportsCardsBlock), blocks_1.ReportsSectionsBlock), blocks_1.LinkTableBlock), blocks_1.EventsFeedBlock), blocks_1.ResourceHubPostsBlock), blocks_1.BenchmarkBlock), blocks_1.EventsSectionBlock), blocks_1.BlogFeedBlock), blocks_1.ScienceFeedBlock), blocks_1.RelevantPostsBlock), blocks_1.RelevantReportsCardsBlock), blocks_1.RelevantReportsBlock), blocks_1.PressReleasesBlock), blocks_1.FormWallBlock), blocks_1.CatBlock), blocks_1.AudioBlock), blocks_1.OnetrustCookieListBlock), blocks_1.ScienceSuggestBlock);
7
7
  exports.cardSchemas = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, sub_blocks_1.MediaCardBlock), blocks_1.BannerCard), sub_blocks_1.PriceDetailedBlock), sub_blocks_1.BackgroundCard), sub_blocks_1.Quote), sub_blocks_1.BasicCard), sub_blocks_1.PriceCardBlock), sub_blocks_1.ImageCard), sub_blocks_1.ContentLayoutCard), sub_blocks_1.Card), sub_blocks_1.PostCard), sub_blocks_1.NewPostCard), sub_blocks_1.FeedCard), sub_blocks_1.EventPersonCard), sub_blocks_1.AttachmentCard), sub_blocks_1.CaseStudyCard), sub_blocks_1.StoryCard);
8
8
  exports.constructorBlockSchemaNames = [
9
9
  'divider',
@@ -67,6 +67,7 @@ exports.constructorBlockSchemaNames = [
67
67
  'cat-block',
68
68
  'audio-block',
69
69
  'science-suggest-block',
70
+ 'onetrust-cookie-list',
70
71
  ];
71
72
  exports.constructorCardSchemaNames = [
72
73
  'media-card',
@@ -53,4 +53,5 @@ export * from '../../blocks/AboutHeader/schema';
53
53
  export * from '../../blocks/SidebarWidget/schema';
54
54
  export * from '../../blocks/Cat/schema';
55
55
  export * from '../../blocks/Audio/schema';
56
+ export * from '../../blocks/OnetrustCookieList/schema';
56
57
  export * from '../../blocks/ScienceSuggest/schema';
@@ -56,4 +56,5 @@ tslib_1.__exportStar(require("../../blocks/AboutHeader/schema"), exports);
56
56
  tslib_1.__exportStar(require("../../blocks/SidebarWidget/schema"), exports);
57
57
  tslib_1.__exportStar(require("../../blocks/Cat/schema"), exports);
58
58
  tslib_1.__exportStar(require("../../blocks/Audio/schema"), exports);
59
+ tslib_1.__exportStar(require("../../blocks/OnetrustCookieList/schema"), exports);
59
60
  tslib_1.__exportStar(require("../../blocks/ScienceSuggest/schema"), exports);
@@ -0,0 +1,2 @@
1
+ export declare const OnetrustCookieList: () => JSX.Element;
2
+ export default OnetrustCookieList;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export const OnetrustCookieList = () => {
3
+ return React.createElement("div", { id: "ot-sdk-cookie-policy" });
4
+ };
5
+ export default OnetrustCookieList;
@@ -0,0 +1,143 @@
1
+ export declare const OnetrustCookieListBlock: {
2
+ "onetrust-cookie-list": {
3
+ type: string;
4
+ additionalProperties: boolean;
5
+ properties: {
6
+ anchor: {
7
+ type: string;
8
+ additionalProperties: boolean;
9
+ required: string[];
10
+ properties: {
11
+ text: {
12
+ type: string;
13
+ contentType: string;
14
+ };
15
+ url: {
16
+ type: string;
17
+ };
18
+ urlTitle: {
19
+ type: string;
20
+ };
21
+ };
22
+ };
23
+ visibility: {
24
+ oneOf: ({
25
+ type: string;
26
+ enum: string[];
27
+ additionalProperties?: undefined;
28
+ properties?: undefined;
29
+ } | {
30
+ type: string;
31
+ additionalProperties: boolean;
32
+ properties: {
33
+ xs: {
34
+ type: string;
35
+ };
36
+ sm: {
37
+ type: string;
38
+ };
39
+ md: {
40
+ type: string;
41
+ };
42
+ lg: {
43
+ type: string;
44
+ };
45
+ xl: {
46
+ type: string;
47
+ };
48
+ xxl: {
49
+ type: string;
50
+ };
51
+ };
52
+ enum?: undefined;
53
+ })[];
54
+ };
55
+ visible: {
56
+ type: string;
57
+ enum: string[];
58
+ };
59
+ hidden: {
60
+ type: string;
61
+ enum: string[];
62
+ };
63
+ resetPaddings: {
64
+ type: string;
65
+ };
66
+ context: {
67
+ type: string;
68
+ };
69
+ indent: {
70
+ type: string;
71
+ additionalProperties: boolean;
72
+ properties: {
73
+ top: {
74
+ enum: string[];
75
+ };
76
+ bottom: {
77
+ enum: string[];
78
+ };
79
+ };
80
+ };
81
+ backgroundFull: {
82
+ type: string;
83
+ };
84
+ visibilityFilter: {
85
+ oneOf: ({
86
+ type: string;
87
+ items?: undefined;
88
+ } | {
89
+ type: string;
90
+ items: {
91
+ type: string;
92
+ };
93
+ })[];
94
+ };
95
+ blockUnicorn: {
96
+ type: string;
97
+ };
98
+ blockBackground: {
99
+ oneOf: ({
100
+ type: string;
101
+ additionalProperties?: undefined;
102
+ properties?: undefined;
103
+ } | {
104
+ type: string;
105
+ additionalProperties: boolean;
106
+ properties: {
107
+ color: {
108
+ type: string;
109
+ };
110
+ image: {
111
+ type: string;
112
+ };
113
+ size: {
114
+ type: string;
115
+ };
116
+ repeat: {
117
+ type: string;
118
+ };
119
+ position: {
120
+ type: string;
121
+ };
122
+ attachment: {
123
+ type: string;
124
+ };
125
+ clip: {
126
+ type: string;
127
+ };
128
+ origin: {
129
+ type: string;
130
+ };
131
+ blendMode: {
132
+ type: string;
133
+ };
134
+ };
135
+ })[];
136
+ };
137
+ type: {};
138
+ when: {
139
+ type: string;
140
+ };
141
+ };
142
+ };
143
+ };
@@ -0,0 +1,8 @@
1
+ import { BlockBaseProps } from '../../schema/validators/common';
2
+ export const OnetrustCookieListBlock = {
3
+ ['onetrust-cookie-list']: {
4
+ type: 'object',
5
+ additionalProperties: false,
6
+ properties: BlockBaseProps,
7
+ },
8
+ };
@@ -1,3 +1,4 @@
1
+ @import url("swiper/swiper-bundle.css");
1
2
  /* use this for style redefinitions to awoid problems with
2
3
  unpredictable css rules order in build */
3
4
  .pc-slider-new-block {
@@ -2,7 +2,6 @@ import * as React from 'react';
2
2
  import type { SwiperProps } from 'swiper/react';
3
3
  import { ClassNameProps, Refable, SliderProps as SliderParams } from '../../models';
4
4
  import './Slider.css';
5
- import 'swiper/swiper-bundle.css';
6
5
  export interface SliderNewProps extends Omit<SliderParams, 'children'>, Partial<Pick<SwiperProps, 'onSlideChange' | 'onSlideChangeTransitionStart' | 'onSlideChangeTransitionEnd' | 'onActiveIndexChange' | 'onBreakpoint'>>, Refable<HTMLDivElement>, ClassNameProps {
7
6
  type?: string;
8
7
  anchorId?: string;
@@ -11,7 +11,6 @@ import { i18n } from './i18n';
11
11
  import { useSlider } from './useSlider';
12
12
  import { useSliderPagination } from './useSliderPagination';
13
13
  import './Slider.css';
14
- import 'swiper/swiper-bundle.css';
15
14
  const b = block('slider-new-block');
16
15
  export const SliderClient = ({ animated, title, description, type, anchorId, arrows = true, adaptive, autoplay: autoplayMs, infinite = false, dots = true, initialSlide = 0, className, dotsClassName, disclaimer, children, blockClassName, arrowSize, slidesToShow, onSlideChange, onSlideChangeTransitionStart, onSlideChangeTransitionEnd, onActiveIndexChange, onBreakpoint, }) => {
17
16
  const { autoplay, isLocked, childrenCount, breakpoints, onSwiper, handleSwiperInit, onPrev, onNext, setIsLocked, } = useSlider({
@@ -53,4 +53,5 @@ export { default as BenchmarkBlock } from './Benchmark/Benchmark';
53
53
  export { default as SidebarWidgetBlock } from './SidebarWidget/SidebarWidget';
54
54
  export { default as CatBlock } from './Cat/Cat';
55
55
  export { default as AudioBlock } from './Audio/Audio';
56
+ export { default as OnetrustCookieListBlock } from './OnetrustCookieList/OnetrustCookieList';
56
57
  export { default as ScienceSuggestBlock } from './ScienceSuggest/ScienceSuggest';
@@ -53,4 +53,5 @@ export { default as BenchmarkBlock } from './Benchmark/Benchmark';
53
53
  export { default as SidebarWidgetBlock } from './SidebarWidget/SidebarWidget';
54
54
  export { default as CatBlock } from './Cat/Cat';
55
55
  export { default as AudioBlock } from './Audio/Audio';
56
+ export { default as OnetrustCookieListBlock } from './OnetrustCookieList/OnetrustCookieList';
56
57
  export { default as ScienceSuggestBlock } from './ScienceSuggest/ScienceSuggest';
@@ -1,6 +1,6 @@
1
1
  import { QAProps, TitleItemProps, TitleTextSize } from '../../models';
2
2
  import './TitleItem.css';
3
- export declare function getArrowSize(size: TitleTextSize, isMobile: boolean): 16 | 20 | 24 | 13 | 22 | 26 | 38;
3
+ export declare function getArrowSize(size: TitleTextSize, isMobile: boolean): 16 | 13 | 22 | 24 | 26 | 38 | 20;
4
4
  export interface TitleItemFullProps extends TitleItemProps, QAProps {
5
5
  className?: string;
6
6
  onClick?: () => void;
@@ -55,6 +55,7 @@ export declare const blockMap: {
55
55
  "slider-new-block": (props: import("react").PropsWithChildren<import("./blocks/SliderNew/SliderClient").SliderNewProps>) => JSX.Element;
56
56
  "cat-block": ({ title, children }: import("react").PropsWithChildren<import("./models").CatBlockProps>) => JSX.Element;
57
57
  "audio-block": ({ url }: import("react").PropsWithChildren<import("./models").AudioBlockProps>) => JSX.Element;
58
+ "onetrust-cookie-list": () => JSX.Element;
58
59
  };
59
60
  export declare const subBlockMap: {
60
61
  divider: ({ size, border }: import("./models").DividerProps) => JSX.Element;
@@ -1,4 +1,4 @@
1
- import { AboutHeaderBlock, AdvantagesBlock, AudioBlock, BannerBlock, BannerMinifyBlock, BenchmarkBlock, BenefitsBlock, BlogFeedBlock, CardLayoutBlock, CatBlock, CompaniesBlock, ContentLayoutBlock, EventsFeedBlock, EventsSectionBlock, ExtendedFeaturesBlock, FilterBlock, FilterCardLayoutBlock, FormBlock, FormWallBlock, HeaderBlock, HeaderMinifyBlock, HeaderSliderBlock, HighlightTableBlock, IconsBlock, InfoBlock, LinkTableBlock, LogoRotatorBlock, MapBlock, MarqueeLinksBlock, MediaBlock, MiniCaseBlock, PressReleasesBlock, PromoFeaturesBlock, QuestionsBlock, QuotesBlock, RelevantPostsBlock, RelevantReportsBlock, RelevantReportsCardsBlock, ReportsBlock, ReportsCardsBlock, ReportsSectionsBlock, ResourceHubPostsBlock, ScienceFeedBlock, ScienceHeaderBlock, ScienceSuggestBlock, ScrollerBlock, ServicesBlock, ShareBlock, SidebarWidgetBlock, SliderBlock, SliderNewBlock, SolutionsBlock, TabLinksBlock, TableBlock, TabsBlock, TabsHighlightTableBlock, } from './blocks';
1
+ import { AboutHeaderBlock, AdvantagesBlock, AudioBlock, BannerBlock, BannerMinifyBlock, BenchmarkBlock, BenefitsBlock, BlogFeedBlock, CardLayoutBlock, CatBlock, CompaniesBlock, ContentLayoutBlock, EventsFeedBlock, EventsSectionBlock, ExtendedFeaturesBlock, FilterBlock, FilterCardLayoutBlock, FormBlock, FormWallBlock, HeaderBlock, HeaderMinifyBlock, HeaderSliderBlock, HighlightTableBlock, IconsBlock, InfoBlock, LinkTableBlock, LogoRotatorBlock, MapBlock, MarqueeLinksBlock, MediaBlock, MiniCaseBlock, OnetrustCookieListBlock, PressReleasesBlock, PromoFeaturesBlock, QuestionsBlock, QuotesBlock, RelevantPostsBlock, RelevantReportsBlock, RelevantReportsCardsBlock, ReportsBlock, ReportsCardsBlock, ReportsSectionsBlock, ResourceHubPostsBlock, ScienceFeedBlock, ScienceHeaderBlock, ScienceSuggestBlock, ScrollerBlock, ServicesBlock, ShareBlock, SidebarWidgetBlock, SliderBlock, SliderNewBlock, SolutionsBlock, TabLinksBlock, TableBlock, TabsBlock, TabsHighlightTableBlock, } from './blocks';
2
2
  import { BlockType, NavigationItemType, SubBlockType } from './models';
3
3
  import { GithubButton, NavigationButton, NavigationDropdown, NavigationLink, } from './navigation/components/NavigationItem';
4
4
  import SocialIcon from './navigation/components/SocialIcon/SocialIcon';
@@ -60,6 +60,7 @@ export const blockMap = {
60
60
  [BlockType.SliderNewBlock]: SliderNewBlock,
61
61
  [BlockType.CatBlock]: CatBlock,
62
62
  [BlockType.AudioBlock]: AudioBlock,
63
+ [BlockType.OnetrustCookieListBlock]: OnetrustCookieListBlock,
63
64
  };
64
65
  export const subBlockMap = {
65
66
  [SubBlockType.Divider]: Divider,
@@ -62,6 +62,7 @@ export declare enum BlockType {
62
62
  SidebarWidgetBlock = "sidebar-widget-block",
63
63
  CatBlock = "cat-block",
64
64
  AudioBlock = "audio-block",
65
+ OnetrustCookieListBlock = "onetrust-cookie-list",
65
66
  ScienceSuggestBlock = "science-suggest-block"
66
67
  }
67
68
  export declare const BlockTypes: BlockType[];
@@ -857,6 +858,9 @@ export type CatBlockModel = {
857
858
  export type AudioBlockModel = {
858
859
  type: BlockType.AudioBlock;
859
860
  } & AudioBlockProps;
861
+ export type OnetrustCookieListModel = {
862
+ type: BlockType.OnetrustCookieListBlock;
863
+ };
860
864
  export type FilterBlockModel = {
861
865
  type: BlockType.FilterBlock;
862
866
  } & FilterBlockProps;
@@ -953,6 +957,6 @@ export type SliderNewBlockModel = {
953
957
  export type SidebarWidgetBlockModel = {
954
958
  type: BlockType.SidebarWidgetBlock;
955
959
  } & SidebarWidgetBlockProps;
956
- type BlockModels = SliderBlockModel | ExtendedFeaturesBlockModel | PromoFeaturesBlockModel | QuestionsBlockModel | BannerBlockModel | LogoRotatorBlockModel | AdvantagesBlockModel | BenefitsBlockModel | ScrollerBlockModel | CompaniesBlockModel | MediaBlockModel | MapBlockModel | InfoBlockModel | TableBlockModel | HighlightTableBlockModel | MiniCaseBlockModel | TabsBlockModel | TabsHighlightTableBlockModel | TabLinksBlockModel | HeaderBlockModel | HeaderMinifyBlockModel | IconsBlockModel | HeaderSliderBlockModel | CardLayoutBlockModel | ContentLayoutBlockModel | BannerMinifyBlockModel | ShareBLockModel | FilterBlockModel | FilterCardLayoutBlockModel | FormBlockModel | MarqueeLinksBlockModel | SolutionsBlockModel | ServicesBlockModel | QuotesBlockModel | ReportsBlockModel | ScienceHeaderBlockModel | AboutHeaderBlockModel | ReportsCardsBlockModel | ReportsSectionsBlockModel | LinkTableBlockModel | EventsFeedBlockModel | ResourceHubPostsBlockModel | BenchmarkBlockModel | EventsSectionBlockModel | BlogFeedBlockModel | ScienceFeedBlockModel | RelevantPostsBlockModel | RelevantReportsCardsBlockModel | RelevantReportsBlockModel | PressReleasesBlockModel | FormWallBlockModel | SliderNewBlockModel | SidebarWidgetBlockModel | CatBlockModel | AudioBlockModel | ScienceSuggestBlockModel;
960
+ type BlockModels = SliderBlockModel | ExtendedFeaturesBlockModel | PromoFeaturesBlockModel | QuestionsBlockModel | BannerBlockModel | LogoRotatorBlockModel | AdvantagesBlockModel | BenefitsBlockModel | ScrollerBlockModel | CompaniesBlockModel | MediaBlockModel | MapBlockModel | InfoBlockModel | TableBlockModel | HighlightTableBlockModel | MiniCaseBlockModel | TabsBlockModel | TabsHighlightTableBlockModel | TabLinksBlockModel | HeaderBlockModel | HeaderMinifyBlockModel | IconsBlockModel | HeaderSliderBlockModel | CardLayoutBlockModel | ContentLayoutBlockModel | BannerMinifyBlockModel | ShareBLockModel | FilterBlockModel | FilterCardLayoutBlockModel | FormBlockModel | MarqueeLinksBlockModel | SolutionsBlockModel | ServicesBlockModel | QuotesBlockModel | ReportsBlockModel | ScienceHeaderBlockModel | AboutHeaderBlockModel | ReportsCardsBlockModel | ReportsSectionsBlockModel | LinkTableBlockModel | EventsFeedBlockModel | ResourceHubPostsBlockModel | BenchmarkBlockModel | EventsSectionBlockModel | BlogFeedBlockModel | ScienceFeedBlockModel | RelevantPostsBlockModel | RelevantReportsCardsBlockModel | RelevantReportsBlockModel | PressReleasesBlockModel | FormWallBlockModel | SliderNewBlockModel | SidebarWidgetBlockModel | CatBlockModel | AudioBlockModel | OnetrustCookieListModel | ScienceSuggestBlockModel;
957
961
  export type Block = BlockModels & BlockBaseProps;
958
962
  export {};
@@ -55,6 +55,7 @@ export var BlockType;
55
55
  BlockType["SidebarWidgetBlock"] = "sidebar-widget-block";
56
56
  BlockType["CatBlock"] = "cat-block";
57
57
  BlockType["AudioBlock"] = "audio-block";
58
+ BlockType["OnetrustCookieListBlock"] = "onetrust-cookie-list";
58
59
  BlockType["ScienceSuggestBlock"] = "science-suggest-block";
59
60
  })(BlockType || (BlockType = {}));
60
61
  export const BlockTypes = Object.values(BlockType);
@@ -3994,7 +3994,6 @@ export declare const cardSchemas: {
3994
3994
  optionName: string;
3995
3995
  } | {
3996
3996
  optionName: string;
3997
- /** @deprecated */
3998
3997
  type: string;
3999
3998
  additionalProperties: boolean;
4000
3999
  required: string[];