@gravity-ui/page-constructor 3.4.0 → 3.5.0-alpha.0
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/CHANGELOG.md +0 -27
- package/README.md +0 -2
- package/build/cjs/blocks/Banner/schema.d.ts +21 -63
- package/build/cjs/blocks/CardLayout/schema.d.ts +4 -10
- package/build/cjs/blocks/Companies/schema.d.ts +2 -5
- package/build/cjs/blocks/ContentLayout/ContentLayout.js +2 -3
- package/build/cjs/blocks/ContentLayout/schema.d.ts +61 -107
- package/build/cjs/blocks/ContentLayout/schema.js +18 -23
- package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +4 -31
- package/build/cjs/blocks/ExtendedFeatures/schema.js +3 -2
- package/build/cjs/blocks/FilterBlock/schema.d.ts +5 -13
- package/build/cjs/blocks/FilterBlock/schema.js +2 -13
- package/build/cjs/blocks/Header/Header.css +7 -6
- package/build/cjs/blocks/Header/schema.d.ts +36 -92
- package/build/cjs/blocks/Header/schema.js +0 -1
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +53 -48
- package/build/cjs/blocks/HeaderSlider/schema.js +1 -3
- package/build/cjs/blocks/Icons/schema.d.ts +1 -3
- package/build/cjs/blocks/Icons/schema.js +1 -2
- package/build/cjs/blocks/Info/schema.d.ts +8 -19
- package/build/cjs/blocks/Map/schema.d.ts +6 -17
- package/build/cjs/blocks/Media/schema.d.ts +152 -204
- package/build/cjs/blocks/Media/schema.js +1 -1
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +8 -22
- package/build/cjs/blocks/PromoFeaturesBlock/schema.js +0 -1
- package/build/cjs/blocks/Questions/schema.d.ts +3 -7
- package/build/cjs/blocks/Slider/schema.d.ts +18 -13
- package/build/cjs/blocks/Slider/schema.js +5 -4
- package/build/cjs/blocks/Table/schema.d.ts +2 -5
- package/build/cjs/blocks/Table/schema.js +2 -12
- package/build/cjs/blocks/Tabs/schema.d.ts +16 -43
- package/build/cjs/components/BlockBase/BlockBase.js +2 -2
- package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +1 -1
- package/build/cjs/components/Image/schema.d.ts +0 -1
- package/build/cjs/components/Image/schema.js +2 -3
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +1 -1
- package/build/cjs/customization/BlockDecoration.d.ts +1 -1
- package/build/cjs/customization/BlockDecoration.js +6 -5
- package/build/cjs/editor/{components → Components}/AddBlock/AddBlock.css +1 -1
- package/build/cjs/editor/Components/AddBlock/AddBlock.d.ts +7 -0
- package/build/cjs/editor/{components → Components}/AddBlock/AddBlock.js +2 -2
- package/build/cjs/editor/Components/EditBlock/EditBlock.d.ts +4 -0
- package/build/cjs/editor/Components/EditBlock/EditBlock.js +32 -0
- package/build/cjs/editor/Containers/Editor.d.ts +2 -0
- package/build/cjs/editor/Containers/Editor.js +24 -0
- package/build/cjs/editor/index.d.ts +1 -1
- package/build/cjs/editor/index.js +1 -1
- package/build/cjs/editor/store/index.d.ts +11 -10
- package/build/cjs/editor/store/index.js +15 -66
- package/build/cjs/editor/store/reducer.d.ts +9 -24
- package/build/cjs/editor/store/reducer.js +31 -17
- package/build/cjs/editor/store/utils.d.ts +0 -1
- package/build/cjs/editor/store/utils.js +1 -3
- package/build/cjs/editor/types/index.d.ts +9 -15
- package/build/cjs/editor/types/index.js +0 -6
- package/build/cjs/editor/utils/index.d.ts +3 -4
- package/build/cjs/editor/utils/index.js +4 -6
- package/build/cjs/grid/Col/Col.d.ts +1 -1
- package/build/cjs/models/constructor-items/blocks.d.ts +8 -13
- package/build/cjs/models/constructor.d.ts +2 -2
- package/build/cjs/models/customization.d.ts +8 -3
- package/build/cjs/models/navigation.d.ts +0 -1
- package/build/cjs/navigation/components/Header/Header.css +0 -2
- package/build/cjs/navigation/components/Header/Header.js +4 -15
- package/build/cjs/navigation/schema.d.ts +0 -1
- package/build/cjs/schema/index.d.ts +228 -9
- package/build/cjs/schema/index.js +46 -8
- package/build/cjs/schema/validators/common.d.ts +27 -71
- package/build/cjs/schema/validators/common.js +17 -50
- package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +5 -12
- package/build/cjs/sub-blocks/BasicCard/schema.d.ts +3 -8
- package/build/cjs/sub-blocks/Content/schema.d.ts +6 -14
- package/build/cjs/sub-blocks/Content/schema.js +1 -9
- package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +9 -23
- package/build/cjs/sub-blocks/MediaCard/schema.d.ts +6 -16
- package/build/cjs/sub-blocks/PriceDetailed/schema.d.ts +0 -1
- package/build/cjs/sub-blocks/PriceDetailed/schema.js +1 -5
- package/build/cjs/sub-blocks/Quote/schema.d.ts +2 -6
- package/build/cjs/text-transform/utils.js +6 -1
- package/build/esm/blocks/Banner/schema.d.ts +21 -63
- package/build/esm/blocks/CardLayout/schema.d.ts +4 -10
- package/build/esm/blocks/Companies/schema.d.ts +2 -5
- package/build/esm/blocks/ContentLayout/ContentLayout.js +2 -3
- package/build/esm/blocks/ContentLayout/schema.d.ts +61 -107
- package/build/esm/blocks/ContentLayout/schema.js +18 -23
- package/build/esm/blocks/ExtendedFeatures/schema.d.ts +4 -31
- package/build/esm/blocks/ExtendedFeatures/schema.js +4 -3
- package/build/esm/blocks/FilterBlock/schema.d.ts +5 -13
- package/build/esm/blocks/FilterBlock/schema.js +2 -13
- package/build/esm/blocks/Header/Header.css +7 -6
- package/build/esm/blocks/Header/schema.d.ts +36 -92
- package/build/esm/blocks/Header/schema.js +0 -1
- package/build/esm/blocks/HeaderSlider/schema.d.ts +53 -48
- package/build/esm/blocks/HeaderSlider/schema.js +1 -2
- package/build/esm/blocks/Icons/schema.d.ts +1 -3
- package/build/esm/blocks/Icons/schema.js +1 -2
- package/build/esm/blocks/Info/schema.d.ts +8 -19
- package/build/esm/blocks/Map/schema.d.ts +6 -17
- package/build/esm/blocks/Media/schema.d.ts +152 -204
- package/build/esm/blocks/Media/schema.js +2 -2
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +8 -22
- package/build/esm/blocks/PromoFeaturesBlock/schema.js +0 -1
- package/build/esm/blocks/Questions/schema.d.ts +3 -7
- package/build/esm/blocks/Slider/schema.d.ts +18 -13
- package/build/esm/blocks/Slider/schema.js +5 -4
- package/build/esm/blocks/Table/schema.d.ts +2 -5
- package/build/esm/blocks/Table/schema.js +2 -12
- package/build/esm/blocks/Tabs/schema.d.ts +16 -43
- package/build/esm/components/BlockBase/BlockBase.js +2 -2
- package/build/esm/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +1 -1
- package/build/esm/components/Image/schema.d.ts +0 -1
- package/build/esm/components/Image/schema.js +2 -3
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +1 -1
- package/build/esm/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +1 -1
- package/build/esm/customization/BlockDecoration.d.ts +1 -1
- package/build/esm/customization/BlockDecoration.js +6 -6
- package/build/esm/editor/{components → Components}/AddBlock/AddBlock.css +1 -1
- package/build/esm/editor/Components/AddBlock/AddBlock.d.ts +8 -0
- package/build/esm/editor/{components → Components}/AddBlock/AddBlock.js +2 -2
- package/build/esm/editor/Components/EditBlock/EditBlock.d.ts +5 -0
- package/build/esm/editor/Components/EditBlock/EditBlock.js +30 -0
- package/build/esm/editor/Containers/Editor.d.ts +2 -0
- package/build/esm/editor/Containers/Editor.js +20 -0
- package/build/esm/editor/index.d.ts +1 -1
- package/build/esm/editor/index.js +1 -1
- package/build/esm/editor/store/index.d.ts +11 -10
- package/build/esm/editor/store/index.js +17 -68
- package/build/esm/editor/store/reducer.d.ts +9 -24
- package/build/esm/editor/store/reducer.js +29 -15
- package/build/esm/editor/store/utils.d.ts +0 -1
- package/build/esm/editor/store/utils.js +0 -1
- package/build/esm/editor/types/index.d.ts +9 -15
- package/build/esm/editor/types/index.js +1 -5
- package/build/esm/editor/utils/index.d.ts +3 -4
- package/build/esm/editor/utils/index.js +3 -4
- package/build/esm/grid/Col/Col.d.ts +1 -1
- package/build/esm/models/constructor-items/blocks.d.ts +8 -13
- package/build/esm/models/constructor.d.ts +2 -2
- package/build/esm/models/customization.d.ts +8 -3
- package/build/esm/models/navigation.d.ts +0 -1
- package/build/esm/navigation/components/Header/Header.css +0 -2
- package/build/esm/navigation/components/Header/Header.js +5 -16
- package/build/esm/navigation/schema.d.ts +0 -1
- package/build/esm/schema/index.d.ts +228 -9
- package/build/esm/schema/index.js +42 -4
- package/build/esm/schema/validators/common.d.ts +27 -71
- package/build/esm/schema/validators/common.js +16 -49
- package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +5 -12
- package/build/esm/sub-blocks/BasicCard/schema.d.ts +3 -8
- package/build/esm/sub-blocks/Content/schema.d.ts +6 -14
- package/build/esm/sub-blocks/Content/schema.js +1 -9
- package/build/esm/sub-blocks/LayoutItem/schema.d.ts +9 -23
- package/build/esm/sub-blocks/MediaCard/schema.d.ts +6 -16
- package/build/esm/sub-blocks/PriceDetailed/schema.d.ts +0 -1
- package/build/esm/sub-blocks/PriceDetailed/schema.js +1 -5
- package/build/esm/sub-blocks/Quote/schema.d.ts +2 -6
- package/build/esm/text-transform/utils.js +6 -1
- package/package.json +4 -5
- package/server/models/constructor-items/blocks.d.ts +8 -13
- package/server/models/constructor.d.ts +2 -2
- package/server/models/customization.d.ts +8 -3
- package/server/models/navigation.d.ts +0 -1
- package/server/text-transform/utils.js +6 -1
- package/build/cjs/editor/components/AddBlock/AddBlock.d.ts +0 -7
- package/build/cjs/editor/components/BlockForm/BlockForm.d.ts +0 -12
- package/build/cjs/editor/components/BlockForm/BlockForm.js +0 -33
- package/build/cjs/editor/components/ControlPanel/ControlPanel.css +0 -26
- package/build/cjs/editor/components/ControlPanel/ControlPanel.d.ts +0 -8
- package/build/cjs/editor/components/ControlPanel/ControlPanel.js +0 -24
- package/build/cjs/editor/components/ControlPanel/i18n/en.json +0 -3
- package/build/cjs/editor/components/ControlPanel/i18n/index.d.ts +0 -2
- package/build/cjs/editor/components/ControlPanel/i18n/index.js +0 -8
- package/build/cjs/editor/components/ControlPanel/i18n/ru.json +0 -3
- package/build/cjs/editor/components/EditBlock/EditBlock.d.ts +0 -13
- package/build/cjs/editor/components/EditBlock/EditBlock.js +0 -44
- package/build/cjs/editor/components/ErrorBoundary/ErrorBoundary.css +0 -27
- package/build/cjs/editor/components/ErrorBoundary/ErrorBoundary.d.ts +0 -13
- package/build/cjs/editor/components/ErrorBoundary/ErrorBoundary.js +0 -35
- package/build/cjs/editor/components/ErrorBoundary/i18n/en.json +0 -4
- package/build/cjs/editor/components/ErrorBoundary/i18n/index.d.ts +0 -2
- package/build/cjs/editor/components/ErrorBoundary/i18n/index.js +0 -8
- package/build/cjs/editor/components/ErrorBoundary/i18n/ru.json +0 -4
- package/build/cjs/editor/components/Layout/Layout.css +0 -36
- package/build/cjs/editor/components/Layout/Layout.d.ts +0 -16
- package/build/cjs/editor/components/Layout/Layout.js +0 -34
- package/build/cjs/editor/components/PagePropsForm/PagePropsForm.d.ts +0 -10
- package/build/cjs/editor/components/PagePropsForm/PagePropsForm.js +0 -17
- package/build/cjs/editor/containers/Editor/Editor.d.ts +0 -2
- package/build/cjs/editor/containers/Editor/Editor.js +0 -40
- package/build/cjs/editor/containers/Form/Form.css +0 -94
- package/build/cjs/editor/containers/Form/Form.d.ts +0 -11
- package/build/cjs/editor/containers/Form/Form.js +0 -47
- package/build/cjs/editor/containers/Form/dynamic-form-custom.css +0 -0
- package/build/cjs/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.css +0 -27
- package/build/cjs/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.d.ts +0 -19
- package/build/cjs/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.js +0 -72
- package/build/cjs/editor/dynamic-forms-custom/config.d.ts +0 -2
- package/build/cjs/editor/dynamic-forms-custom/config.js +0 -13
- package/build/cjs/editor/dynamic-forms-custom/hooks/useOneOf.d.ts +0 -12
- package/build/cjs/editor/dynamic-forms-custom/hooks/useOneOf.js +0 -75
- package/build/cjs/editor/dynamic-forms-custom/parser/detect.d.ts +0 -9
- package/build/cjs/editor/dynamic-forms-custom/parser/detect.js +0 -36
- package/build/cjs/editor/dynamic-forms-custom/parser/index.d.ts +0 -28
- package/build/cjs/editor/dynamic-forms-custom/parser/index.js +0 -188
- package/build/cjs/editor/dynamic-forms-custom/parser/types.d.ts +0 -29
- package/build/cjs/editor/dynamic-forms-custom/parser/types.js +0 -2
- package/build/cjs/editor/dynamic-forms-custom/parser/views.d.ts +0 -37
- package/build/cjs/editor/dynamic-forms-custom/parser/views.js +0 -46
- package/build/cjs/editor/hooks/useFormSpec.d.ts +0 -2
- package/build/cjs/editor/hooks/useFormSpec.js +0 -13
- package/build/cjs/editor/hooks/usePreviousValue.d.ts +0 -1
- package/build/cjs/editor/hooks/usePreviousValue.js +0 -11
- package/build/cjs/editor/styles/root.css +0 -5
- package/build/cjs/schema/constants.d.ts +0 -908
- package/build/cjs/schema/constants.js +0 -42
- package/build/esm/editor/components/AddBlock/AddBlock.d.ts +0 -8
- package/build/esm/editor/components/BlockForm/BlockForm.d.ts +0 -12
- package/build/esm/editor/components/BlockForm/BlockForm.js +0 -30
- package/build/esm/editor/components/ControlPanel/ControlPanel.css +0 -26
- package/build/esm/editor/components/ControlPanel/ControlPanel.d.ts +0 -9
- package/build/esm/editor/components/ControlPanel/ControlPanel.js +0 -22
- package/build/esm/editor/components/ControlPanel/i18n/en.json +0 -3
- package/build/esm/editor/components/ControlPanel/i18n/index.d.ts +0 -2
- package/build/esm/editor/components/ControlPanel/i18n/index.js +0 -5
- package/build/esm/editor/components/ControlPanel/i18n/ru.json +0 -3
- package/build/esm/editor/components/EditBlock/EditBlock.d.ts +0 -14
- package/build/esm/editor/components/EditBlock/EditBlock.js +0 -41
- package/build/esm/editor/components/ErrorBoundary/ErrorBoundary.css +0 -27
- package/build/esm/editor/components/ErrorBoundary/ErrorBoundary.d.ts +0 -14
- package/build/esm/editor/components/ErrorBoundary/ErrorBoundary.js +0 -31
- package/build/esm/editor/components/ErrorBoundary/i18n/en.json +0 -4
- package/build/esm/editor/components/ErrorBoundary/i18n/index.d.ts +0 -2
- package/build/esm/editor/components/ErrorBoundary/i18n/index.js +0 -5
- package/build/esm/editor/components/ErrorBoundary/i18n/ru.json +0 -4
- package/build/esm/editor/components/Layout/Layout.css +0 -36
- package/build/esm/editor/components/Layout/Layout.d.ts +0 -17
- package/build/esm/editor/components/Layout/Layout.js +0 -32
- package/build/esm/editor/components/PagePropsForm/PagePropsForm.d.ts +0 -10
- package/build/esm/editor/components/PagePropsForm/PagePropsForm.js +0 -13
- package/build/esm/editor/containers/Editor/Editor.d.ts +0 -2
- package/build/esm/editor/containers/Editor/Editor.js +0 -36
- package/build/esm/editor/containers/Form/Form.css +0 -94
- package/build/esm/editor/containers/Form/Form.d.ts +0 -12
- package/build/esm/editor/containers/Form/Form.js +0 -45
- package/build/esm/editor/containers/Form/dynamic-form-custom.css +0 -0
- package/build/esm/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.css +0 -27
- package/build/esm/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.d.ts +0 -20
- package/build/esm/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.js +0 -68
- package/build/esm/editor/dynamic-forms-custom/config.d.ts +0 -2
- package/build/esm/editor/dynamic-forms-custom/config.js +0 -9
- package/build/esm/editor/dynamic-forms-custom/hooks/useOneOf.d.ts +0 -12
- package/build/esm/editor/dynamic-forms-custom/hooks/useOneOf.js +0 -69
- package/build/esm/editor/dynamic-forms-custom/parser/detect.d.ts +0 -9
- package/build/esm/editor/dynamic-forms-custom/parser/detect.js +0 -32
- package/build/esm/editor/dynamic-forms-custom/parser/index.d.ts +0 -28
- package/build/esm/editor/dynamic-forms-custom/parser/index.js +0 -186
- package/build/esm/editor/dynamic-forms-custom/parser/types.d.ts +0 -29
- package/build/esm/editor/dynamic-forms-custom/parser/types.js +0 -1
- package/build/esm/editor/dynamic-forms-custom/parser/views.d.ts +0 -37
- package/build/esm/editor/dynamic-forms-custom/parser/views.js +0 -39
- package/build/esm/editor/hooks/useFormSpec.d.ts +0 -2
- package/build/esm/editor/hooks/useFormSpec.js +0 -9
- package/build/esm/editor/hooks/usePreviousValue.d.ts +0 -1
- package/build/esm/editor/hooks/usePreviousValue.js +0 -8
- package/build/esm/editor/styles/root.css +0 -5
- package/build/esm/schema/constants.d.ts +0 -908
- package/build/esm/schema/constants.js +0 -39
- /package/build/cjs/editor/{components → Components}/EditBlock/EditBlock.css +0 -0
- /package/build/esm/editor/{components → Components}/EditBlock/EditBlock.css +0 -0
|
@@ -9,7 +9,6 @@ export declare const PromoFeaturesItem: {
|
|
|
9
9
|
text: {
|
|
10
10
|
type: string;
|
|
11
11
|
contentType: string;
|
|
12
|
-
inputType: string;
|
|
13
12
|
};
|
|
14
13
|
theme: {
|
|
15
14
|
enum: string[];
|
|
@@ -23,8 +22,7 @@ export declare const PromoFeaturesItem: {
|
|
|
23
22
|
type: string;
|
|
24
23
|
};
|
|
25
24
|
image: {
|
|
26
|
-
|
|
27
|
-
optionName: string;
|
|
25
|
+
anyOf: ({
|
|
28
26
|
oneOf: ({
|
|
29
27
|
type: string;
|
|
30
28
|
properties: {
|
|
@@ -35,10 +33,7 @@ export declare const PromoFeaturesItem: {
|
|
|
35
33
|
} | {
|
|
36
34
|
type: string;
|
|
37
35
|
pattern: string;
|
|
38
|
-
optionName: string;
|
|
39
36
|
})[];
|
|
40
|
-
type?: undefined;
|
|
41
|
-
items?: undefined;
|
|
42
37
|
} | {
|
|
43
38
|
type: string;
|
|
44
39
|
items: {
|
|
@@ -52,10 +47,8 @@ export declare const PromoFeaturesItem: {
|
|
|
52
47
|
} | {
|
|
53
48
|
type: string;
|
|
54
49
|
pattern: string;
|
|
55
|
-
optionName: string;
|
|
56
50
|
})[];
|
|
57
51
|
};
|
|
58
|
-
optionName: string;
|
|
59
52
|
})[];
|
|
60
53
|
};
|
|
61
54
|
video: {
|
|
@@ -70,8 +63,7 @@ export declare const PromoFeaturesItem: {
|
|
|
70
63
|
};
|
|
71
64
|
};
|
|
72
65
|
loop: {
|
|
73
|
-
|
|
74
|
-
optionName: string;
|
|
66
|
+
anyOf: ({
|
|
75
67
|
type: string;
|
|
76
68
|
additionalProperties: boolean;
|
|
77
69
|
required: string[];
|
|
@@ -85,7 +77,6 @@ export declare const PromoFeaturesItem: {
|
|
|
85
77
|
};
|
|
86
78
|
} | {
|
|
87
79
|
type: string;
|
|
88
|
-
optionName: string;
|
|
89
80
|
})[];
|
|
90
81
|
};
|
|
91
82
|
type: {
|
|
@@ -95,13 +86,13 @@ export declare const PromoFeaturesItem: {
|
|
|
95
86
|
muted: {
|
|
96
87
|
type: string;
|
|
97
88
|
};
|
|
98
|
-
|
|
89
|
+
playing: {
|
|
99
90
|
type: string;
|
|
100
91
|
};
|
|
101
92
|
elapsedTime: {
|
|
102
93
|
type: string;
|
|
103
94
|
};
|
|
104
|
-
|
|
95
|
+
playIcon: {
|
|
105
96
|
type: string;
|
|
106
97
|
additionalProperties: boolean;
|
|
107
98
|
properties: {
|
|
@@ -139,10 +130,6 @@ export declare const PromoFeaturesItem: {
|
|
|
139
130
|
};
|
|
140
131
|
dataLens: {
|
|
141
132
|
oneOf: ({
|
|
142
|
-
type: string;
|
|
143
|
-
optionName: string;
|
|
144
|
-
} | {
|
|
145
|
-
optionName: string;
|
|
146
133
|
type: string;
|
|
147
134
|
additionalProperties: boolean;
|
|
148
135
|
required: string[];
|
|
@@ -155,6 +142,8 @@ export declare const PromoFeaturesItem: {
|
|
|
155
142
|
enum: string[];
|
|
156
143
|
};
|
|
157
144
|
};
|
|
145
|
+
} | {
|
|
146
|
+
type: string;
|
|
158
147
|
})[];
|
|
159
148
|
};
|
|
160
149
|
fullscreen: {
|
|
@@ -263,10 +252,6 @@ export declare const PromoFeaturesBlock: {
|
|
|
263
252
|
};
|
|
264
253
|
title: {
|
|
265
254
|
oneOf: ({
|
|
266
|
-
type: string;
|
|
267
|
-
optionName: string;
|
|
268
|
-
} | {
|
|
269
|
-
optionName: string;
|
|
270
255
|
type: string;
|
|
271
256
|
additionalProperties: boolean;
|
|
272
257
|
required: string[];
|
|
@@ -286,12 +271,13 @@ export declare const PromoFeaturesBlock: {
|
|
|
286
271
|
type: string;
|
|
287
272
|
};
|
|
288
273
|
};
|
|
274
|
+
} | {
|
|
275
|
+
type: string;
|
|
289
276
|
})[];
|
|
290
277
|
};
|
|
291
278
|
description: {
|
|
292
279
|
type: string;
|
|
293
280
|
contentType: string;
|
|
294
|
-
inputType: string;
|
|
295
281
|
};
|
|
296
282
|
animated: {
|
|
297
283
|
type: string;
|
|
@@ -16,11 +16,6 @@ export declare const QuestionsBlock: {
|
|
|
16
16
|
};
|
|
17
17
|
title: {
|
|
18
18
|
oneOf: ({
|
|
19
|
-
type: string;
|
|
20
|
-
contentType: string;
|
|
21
|
-
optionName: string;
|
|
22
|
-
} | {
|
|
23
|
-
optionName: string;
|
|
24
19
|
type: string;
|
|
25
20
|
additionalProperties: boolean;
|
|
26
21
|
required: string[];
|
|
@@ -40,13 +35,14 @@ export declare const QuestionsBlock: {
|
|
|
40
35
|
type: string;
|
|
41
36
|
};
|
|
42
37
|
};
|
|
43
|
-
|
|
38
|
+
} | {
|
|
39
|
+
type: string;
|
|
40
|
+
contentType: string;
|
|
44
41
|
})[];
|
|
45
42
|
};
|
|
46
43
|
text: {
|
|
47
44
|
type: string;
|
|
48
45
|
contentType: string;
|
|
49
|
-
inputType: string;
|
|
50
46
|
};
|
|
51
47
|
additionalInfo: {
|
|
52
48
|
type: string;
|
|
@@ -17,14 +17,12 @@ export declare const SliderProps: {
|
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
19
|
slidesToShow: {
|
|
20
|
-
|
|
20
|
+
anyOf: ({
|
|
21
21
|
type: string;
|
|
22
22
|
additionalProperties: boolean;
|
|
23
23
|
properties: {};
|
|
24
|
-
optionName: string;
|
|
25
24
|
} | {
|
|
26
25
|
type: string;
|
|
27
|
-
optionName: string;
|
|
28
26
|
additionalProperties?: undefined;
|
|
29
27
|
properties?: undefined;
|
|
30
28
|
})[];
|
|
@@ -49,6 +47,7 @@ export declare const SliderProps: {
|
|
|
49
47
|
properties: {
|
|
50
48
|
source: {
|
|
51
49
|
type: string;
|
|
50
|
+
enum: string[];
|
|
52
51
|
};
|
|
53
52
|
/**
|
|
54
53
|
* @deprecated
|
|
@@ -56,6 +55,12 @@ export declare const SliderProps: {
|
|
|
56
55
|
minCount: {
|
|
57
56
|
type: string;
|
|
58
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
* @deprecated Will be moved to params
|
|
60
|
+
*/
|
|
61
|
+
serviceId: {
|
|
62
|
+
type: string;
|
|
63
|
+
};
|
|
59
64
|
params: {
|
|
60
65
|
type: string;
|
|
61
66
|
patternProperties: {
|
|
@@ -65,7 +70,6 @@ export declare const SliderProps: {
|
|
|
65
70
|
};
|
|
66
71
|
};
|
|
67
72
|
};
|
|
68
|
-
disabled: boolean;
|
|
69
73
|
};
|
|
70
74
|
children: {
|
|
71
75
|
type: string;
|
|
@@ -81,10 +85,6 @@ export declare const SliderBlock: {
|
|
|
81
85
|
properties: {
|
|
82
86
|
title: {
|
|
83
87
|
oneOf: ({
|
|
84
|
-
type: string;
|
|
85
|
-
optionName: string;
|
|
86
|
-
} | {
|
|
87
|
-
optionName: string;
|
|
88
88
|
type: string;
|
|
89
89
|
additionalProperties: boolean;
|
|
90
90
|
required: string[];
|
|
@@ -104,12 +104,13 @@ export declare const SliderBlock: {
|
|
|
104
104
|
type: string;
|
|
105
105
|
};
|
|
106
106
|
};
|
|
107
|
+
} | {
|
|
108
|
+
type: string;
|
|
107
109
|
})[];
|
|
108
110
|
};
|
|
109
111
|
description: {
|
|
110
112
|
type: string;
|
|
111
113
|
contentType: string;
|
|
112
|
-
inputType: string;
|
|
113
114
|
};
|
|
114
115
|
dots: {
|
|
115
116
|
type: string;
|
|
@@ -129,14 +130,12 @@ export declare const SliderBlock: {
|
|
|
129
130
|
};
|
|
130
131
|
};
|
|
131
132
|
slidesToShow: {
|
|
132
|
-
|
|
133
|
+
anyOf: ({
|
|
133
134
|
type: string;
|
|
134
135
|
additionalProperties: boolean;
|
|
135
136
|
properties: {};
|
|
136
|
-
optionName: string;
|
|
137
137
|
} | {
|
|
138
138
|
type: string;
|
|
139
|
-
optionName: string;
|
|
140
139
|
additionalProperties?: undefined;
|
|
141
140
|
properties?: undefined;
|
|
142
141
|
})[];
|
|
@@ -161,6 +160,7 @@ export declare const SliderBlock: {
|
|
|
161
160
|
properties: {
|
|
162
161
|
source: {
|
|
163
162
|
type: string;
|
|
163
|
+
enum: string[];
|
|
164
164
|
};
|
|
165
165
|
/**
|
|
166
166
|
* @deprecated
|
|
@@ -168,6 +168,12 @@ export declare const SliderBlock: {
|
|
|
168
168
|
minCount: {
|
|
169
169
|
type: string;
|
|
170
170
|
};
|
|
171
|
+
/**
|
|
172
|
+
* @deprecated Will be moved to params
|
|
173
|
+
*/
|
|
174
|
+
serviceId: {
|
|
175
|
+
type: string;
|
|
176
|
+
};
|
|
171
177
|
params: {
|
|
172
178
|
type: string;
|
|
173
179
|
patternProperties: {
|
|
@@ -177,7 +183,6 @@ export declare const SliderBlock: {
|
|
|
177
183
|
};
|
|
178
184
|
};
|
|
179
185
|
};
|
|
180
|
-
disabled: boolean;
|
|
181
186
|
};
|
|
182
187
|
children: {
|
|
183
188
|
type: string;
|
|
@@ -5,8 +5,7 @@ const LoadableProps = {
|
|
|
5
5
|
properties: {
|
|
6
6
|
source: {
|
|
7
7
|
type: 'string',
|
|
8
|
-
|
|
9
|
-
// enum: ['my-loadable-source-1', 'my-loadable-source-1'],
|
|
8
|
+
enum: ['events', 'blog', 'services'],
|
|
10
9
|
},
|
|
11
10
|
/**
|
|
12
11
|
* @deprecated
|
|
@@ -14,6 +13,10 @@ const LoadableProps = {
|
|
|
14
13
|
minCount: {
|
|
15
14
|
type: 'number',
|
|
16
15
|
},
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated Will be moved to params
|
|
18
|
+
*/
|
|
19
|
+
serviceId: { type: 'number' },
|
|
17
20
|
params: {
|
|
18
21
|
type: 'object',
|
|
19
22
|
patternProperties: {
|
|
@@ -23,8 +26,6 @@ const LoadableProps = {
|
|
|
23
26
|
},
|
|
24
27
|
},
|
|
25
28
|
},
|
|
26
|
-
// remove it in your custom validator schema if you use loadable
|
|
27
|
-
disabled: true,
|
|
28
29
|
};
|
|
29
30
|
const DisclaimerProps = {
|
|
30
31
|
additionalProperties: false,
|
|
@@ -14,18 +14,8 @@ export const TableBlock = {
|
|
|
14
14
|
items: {
|
|
15
15
|
type: 'array',
|
|
16
16
|
items: {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
type: 'string',
|
|
20
|
-
contentType: 'text',
|
|
21
|
-
optionName: 'text',
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
type: 'number',
|
|
25
|
-
contentType: 'text',
|
|
26
|
-
optionName: 'number',
|
|
27
|
-
},
|
|
28
|
-
],
|
|
17
|
+
type: ['string', 'number'],
|
|
18
|
+
contentType: 'text',
|
|
29
19
|
},
|
|
30
20
|
},
|
|
31
21
|
}, legend: {
|
|
@@ -11,15 +11,14 @@ export declare const tabsItem: {
|
|
|
11
11
|
contentType: string;
|
|
12
12
|
};
|
|
13
13
|
media: {
|
|
14
|
-
oneOf: (
|
|
14
|
+
oneOf: ({
|
|
15
15
|
type: string;
|
|
16
16
|
properties: {
|
|
17
17
|
color: {
|
|
18
18
|
type: string;
|
|
19
19
|
};
|
|
20
20
|
image: {
|
|
21
|
-
|
|
22
|
-
optionName: string;
|
|
21
|
+
anyOf: ({
|
|
23
22
|
oneOf: ({
|
|
24
23
|
type: string;
|
|
25
24
|
properties: {
|
|
@@ -30,10 +29,7 @@ export declare const tabsItem: {
|
|
|
30
29
|
} | {
|
|
31
30
|
type: string;
|
|
32
31
|
pattern: string;
|
|
33
|
-
optionName: string;
|
|
34
32
|
})[];
|
|
35
|
-
type?: undefined;
|
|
36
|
-
items?: undefined;
|
|
37
33
|
} | {
|
|
38
34
|
type: string;
|
|
39
35
|
items: {
|
|
@@ -47,10 +43,8 @@ export declare const tabsItem: {
|
|
|
47
43
|
} | {
|
|
48
44
|
type: string;
|
|
49
45
|
pattern: string;
|
|
50
|
-
optionName: string;
|
|
51
46
|
})[];
|
|
52
47
|
};
|
|
53
|
-
optionName: string;
|
|
54
48
|
})[];
|
|
55
49
|
};
|
|
56
50
|
video: {
|
|
@@ -65,8 +59,7 @@ export declare const tabsItem: {
|
|
|
65
59
|
};
|
|
66
60
|
};
|
|
67
61
|
loop: {
|
|
68
|
-
|
|
69
|
-
optionName: string;
|
|
62
|
+
anyOf: ({
|
|
70
63
|
type: string;
|
|
71
64
|
additionalProperties: boolean;
|
|
72
65
|
required: string[];
|
|
@@ -80,7 +73,6 @@ export declare const tabsItem: {
|
|
|
80
73
|
};
|
|
81
74
|
} | {
|
|
82
75
|
type: string;
|
|
83
|
-
optionName: string;
|
|
84
76
|
})[];
|
|
85
77
|
};
|
|
86
78
|
type: {
|
|
@@ -90,13 +82,13 @@ export declare const tabsItem: {
|
|
|
90
82
|
muted: {
|
|
91
83
|
type: string;
|
|
92
84
|
};
|
|
93
|
-
|
|
85
|
+
playing: {
|
|
94
86
|
type: string;
|
|
95
87
|
};
|
|
96
88
|
elapsedTime: {
|
|
97
89
|
type: string;
|
|
98
90
|
};
|
|
99
|
-
|
|
91
|
+
playIcon: {
|
|
100
92
|
type: string;
|
|
101
93
|
additionalProperties: boolean;
|
|
102
94
|
properties: {
|
|
@@ -134,10 +126,6 @@ export declare const tabsItem: {
|
|
|
134
126
|
};
|
|
135
127
|
dataLens: {
|
|
136
128
|
oneOf: ({
|
|
137
|
-
type: string;
|
|
138
|
-
optionName: string;
|
|
139
|
-
} | {
|
|
140
|
-
optionName: string;
|
|
141
129
|
type: string;
|
|
142
130
|
additionalProperties: boolean;
|
|
143
131
|
required: string[];
|
|
@@ -150,6 +138,8 @@ export declare const tabsItem: {
|
|
|
150
138
|
enum: string[];
|
|
151
139
|
};
|
|
152
140
|
};
|
|
141
|
+
} | {
|
|
142
|
+
type: string;
|
|
153
143
|
})[];
|
|
154
144
|
};
|
|
155
145
|
fullscreen: {
|
|
@@ -234,14 +224,11 @@ export declare const tabsItem: {
|
|
|
234
224
|
})[];
|
|
235
225
|
};
|
|
236
226
|
};
|
|
237
|
-
}
|
|
238
|
-
optionName: string;
|
|
239
|
-
}) | {
|
|
227
|
+
} | {
|
|
240
228
|
type: string;
|
|
241
229
|
additionalProperties: boolean;
|
|
242
230
|
required: import("../..").Theme[];
|
|
243
231
|
properties: {};
|
|
244
|
-
optionName: string;
|
|
245
232
|
})[];
|
|
246
233
|
};
|
|
247
234
|
link: {
|
|
@@ -272,8 +259,7 @@ export declare const tabsItem: {
|
|
|
272
259
|
enum: string[];
|
|
273
260
|
};
|
|
274
261
|
analyticsEvents: {
|
|
275
|
-
|
|
276
|
-
optionName: string;
|
|
262
|
+
anyOf: ({
|
|
277
263
|
type: string;
|
|
278
264
|
additionalProperties: {
|
|
279
265
|
type: string;
|
|
@@ -309,7 +295,6 @@ export declare const tabsItem: {
|
|
|
309
295
|
type: string;
|
|
310
296
|
};
|
|
311
297
|
};
|
|
312
|
-
items?: undefined;
|
|
313
298
|
} | {
|
|
314
299
|
type: string;
|
|
315
300
|
items: {
|
|
@@ -349,7 +334,6 @@ export declare const tabsItem: {
|
|
|
349
334
|
};
|
|
350
335
|
};
|
|
351
336
|
};
|
|
352
|
-
optionName: string;
|
|
353
337
|
})[];
|
|
354
338
|
};
|
|
355
339
|
type: {};
|
|
@@ -357,7 +341,7 @@ export declare const tabsItem: {
|
|
|
357
341
|
};
|
|
358
342
|
};
|
|
359
343
|
image: {
|
|
360
|
-
oneOf: (
|
|
344
|
+
oneOf: ({
|
|
361
345
|
oneOf: ({
|
|
362
346
|
type: string;
|
|
363
347
|
properties: {
|
|
@@ -368,25 +352,16 @@ export declare const tabsItem: {
|
|
|
368
352
|
} | {
|
|
369
353
|
type: string;
|
|
370
354
|
pattern: string;
|
|
371
|
-
optionName: string;
|
|
372
355
|
})[];
|
|
373
|
-
}
|
|
374
|
-
optionName: string;
|
|
375
|
-
}) | {
|
|
356
|
+
} | {
|
|
376
357
|
type: string;
|
|
377
358
|
additionalProperties: boolean;
|
|
378
359
|
required: import("../..").Theme[];
|
|
379
360
|
properties: {};
|
|
380
|
-
optionName: string;
|
|
381
361
|
})[];
|
|
382
362
|
};
|
|
383
363
|
title?: {
|
|
384
364
|
oneOf: ({
|
|
385
|
-
type: string;
|
|
386
|
-
contentType: string;
|
|
387
|
-
optionName: string;
|
|
388
|
-
} | {
|
|
389
|
-
optionName: string;
|
|
390
365
|
type: string;
|
|
391
366
|
additionalProperties: boolean;
|
|
392
367
|
required: string[];
|
|
@@ -406,13 +381,14 @@ export declare const tabsItem: {
|
|
|
406
381
|
type: string;
|
|
407
382
|
};
|
|
408
383
|
};
|
|
409
|
-
|
|
384
|
+
} | {
|
|
385
|
+
type: string;
|
|
386
|
+
contentType: string;
|
|
410
387
|
})[];
|
|
411
388
|
} | undefined;
|
|
412
389
|
text?: {
|
|
413
390
|
type: string;
|
|
414
391
|
contentType: string;
|
|
415
|
-
inputType: string;
|
|
416
392
|
} | undefined;
|
|
417
393
|
additionalInfo?: {
|
|
418
394
|
type: string;
|
|
@@ -476,10 +452,6 @@ export declare const TabsBlock: {
|
|
|
476
452
|
};
|
|
477
453
|
title: {
|
|
478
454
|
oneOf: ({
|
|
479
|
-
type: string;
|
|
480
|
-
optionName: string;
|
|
481
|
-
} | {
|
|
482
|
-
optionName: string;
|
|
483
455
|
type: string;
|
|
484
456
|
additionalProperties: boolean;
|
|
485
457
|
required: string[];
|
|
@@ -499,12 +471,13 @@ export declare const TabsBlock: {
|
|
|
499
471
|
type: string;
|
|
500
472
|
};
|
|
501
473
|
};
|
|
474
|
+
} | {
|
|
475
|
+
type: string;
|
|
502
476
|
})[];
|
|
503
477
|
};
|
|
504
478
|
description: {
|
|
505
479
|
type: string;
|
|
506
480
|
contentType: string;
|
|
507
|
-
inputType: string;
|
|
508
481
|
};
|
|
509
482
|
anchor: {
|
|
510
483
|
type: string;
|
|
@@ -6,9 +6,9 @@ import Anchor from '../Anchor/Anchor';
|
|
|
6
6
|
import './BlockBase.css';
|
|
7
7
|
const b = block('block-base');
|
|
8
8
|
const BlockBase = (props) => {
|
|
9
|
-
const { anchor, visible, children, className, resetPaddings, qa,
|
|
9
|
+
const { anchor, visible, children, className, resetPaddings, qa, index = 0 } = props;
|
|
10
10
|
return (React.createElement(Col, { className: b({ ['reset-paddings']: resetPaddings }, className), visible: visible, reset: true, dataQa: qa },
|
|
11
|
-
React.createElement(BlockDecoration, {
|
|
11
|
+
React.createElement(BlockDecoration, { id: index },
|
|
12
12
|
anchor && React.createElement(Anchor, { id: anchor.url, className: b('anchor') }),
|
|
13
13
|
children)));
|
|
14
14
|
};
|
|
@@ -13,6 +13,6 @@ export default function HeaderBreadcrumbs(props) {
|
|
|
13
13
|
handleAnalytics();
|
|
14
14
|
handleMetrika({ metrikaGoals, pixelEvents });
|
|
15
15
|
}, [handleAnalytics, handleMetrika, metrikaGoals, pixelEvents]);
|
|
16
|
-
return (React.createElement("div", { className: b({ theme }, className) }, items
|
|
16
|
+
return (React.createElement("div", { className: b({ theme }, className) }, items.map((item) => (React.createElement("div", { className: b('item'), key: item.url },
|
|
17
17
|
React.createElement("a", { href: item.url, className: b('text'), onClick: onClick }, item.text))))));
|
|
18
18
|
}
|
|
@@ -35,9 +35,8 @@ export const ImageProps = {
|
|
|
35
35
|
{
|
|
36
36
|
type: 'string',
|
|
37
37
|
pattern: urlPattern,
|
|
38
|
-
optionName: 'url',
|
|
39
38
|
},
|
|
40
|
-
filteredItem(Object.assign(
|
|
41
|
-
filteredItem(Object.assign(
|
|
39
|
+
filteredItem(Object.assign({}, ImageObjectProps)),
|
|
40
|
+
filteredItem(Object.assign({}, ImageDeviceProps)),
|
|
42
41
|
],
|
|
43
42
|
};
|
package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js
CHANGED
|
@@ -4,5 +4,5 @@ import { block } from '../../../../utils';
|
|
|
4
4
|
const b = block('constructor-block');
|
|
5
5
|
export const ConstructorBlock = ({ index = 0, data, children, }) => {
|
|
6
6
|
const { anchor, visible, type } = data;
|
|
7
|
-
return (React.createElement(BlockBase, {
|
|
7
|
+
return (React.createElement(BlockBase, { index: index, className: b({ type }), anchor: anchor, visible: visible, resetPaddings: data.resetPaddings }, children));
|
|
8
8
|
};
|
|
@@ -10,5 +10,5 @@ export const ConstructorItem = ({ data, blockKey, children }) => {
|
|
|
10
10
|
return (React.createElement(BlockIdContext.Provider, { value: blockKey },
|
|
11
11
|
React.createElement(Component, Object.assign({}, rest), children)));
|
|
12
12
|
};
|
|
13
|
-
export const ConstructorHeader = ({ data, blockKey, }) => (React.createElement(BlockDecoration, {
|
|
13
|
+
export const ConstructorHeader = ({ data, blockKey, }) => (React.createElement(BlockDecoration, { id: data.type },
|
|
14
14
|
React.createElement(ConstructorItem, { data: data, key: data.type, blockKey: blockKey })));
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { BlockDecorationProps } from '../models';
|
|
3
|
-
export declare const BlockDecoration: ({ children: blockChildren,
|
|
3
|
+
export declare const BlockDecoration: ({ id, children: blockChildren, }: PropsWithChildren<BlockDecorationProps>) => JSX.Element;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { __rest } from "tslib";
|
|
2
1
|
import React, { Fragment, useContext } from 'react';
|
|
3
2
|
import { InnerContext } from '../context/innerContext';
|
|
4
|
-
export const BlockDecoration = (
|
|
5
|
-
var
|
|
6
|
-
|
|
3
|
+
export const BlockDecoration = ({ id, children: blockChildren, }) => {
|
|
4
|
+
var _a, _b;
|
|
5
|
+
const { headerBlockTypes } = useContext(InnerContext);
|
|
6
|
+
const isHeader = Boolean(typeof id === 'string' && headerBlockTypes.includes(id));
|
|
7
7
|
const block = React.createElement(Fragment, null, blockChildren);
|
|
8
|
-
const blockDecorators = (
|
|
8
|
+
const blockDecorators = (_b = (_a = useContext(InnerContext).customization) === null || _a === void 0 ? void 0 : _a.decorators) === null || _b === void 0 ? void 0 : _b.block;
|
|
9
9
|
if (!blockDecorators) {
|
|
10
10
|
return block;
|
|
11
11
|
}
|
|
12
|
-
return blockDecorators.reduce((children, decorator) => React.createElement(Fragment, null, decorator(
|
|
12
|
+
return blockDecorators.reduce((children, decorator) => React.createElement(Fragment, null, decorator({ children, id, isHeader })), block);
|
|
13
13
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { Block } from '../../../models';
|
|
3
|
+
import './AddBlock.css';
|
|
4
|
+
export interface AddBlockProps {
|
|
5
|
+
onAdd: (data: Block) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const AddBlock: ({ onAdd }: PropsWithChildren<AddBlockProps>) => JSX.Element;
|
|
8
|
+
export default AddBlock;
|
|
@@ -7,14 +7,14 @@ import EditorBlocksData from '../../data';
|
|
|
7
7
|
import './AddBlock.css';
|
|
8
8
|
const b = block('add-block');
|
|
9
9
|
const sortedBlockNames = Object.keys(blockMap).sort();
|
|
10
|
-
const AddBlock = ({ onAdd
|
|
10
|
+
const AddBlock = ({ onAdd }) => {
|
|
11
11
|
const [isOpened, setIsOpened] = useState(false);
|
|
12
12
|
const [search, setSearch] = useState('');
|
|
13
13
|
const ref = useRef(null);
|
|
14
14
|
const blocks = useMemo(() => sortedBlockNames.filter((blockName) => EditorBlocksData[blockName].meta.title
|
|
15
15
|
.toLocaleLowerCase()
|
|
16
16
|
.startsWith(search.toLocaleLowerCase())), [search]);
|
|
17
|
-
return (React.createElement("div", { className: b(
|
|
17
|
+
return (React.createElement("div", { className: b(), ref: ref },
|
|
18
18
|
React.createElement("button", { className: b('button'), onClick: () => {
|
|
19
19
|
setIsOpened(!isOpened);
|
|
20
20
|
setSearch('');
|