@gravity-ui/page-constructor 3.3.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.
Files changed (244) hide show
  1. package/CHANGELOG.md +0 -20
  2. package/README.md +0 -2
  3. package/build/cjs/blocks/Banner/schema.d.ts +21 -63
  4. package/build/cjs/blocks/CardLayout/schema.d.ts +4 -10
  5. package/build/cjs/blocks/Companies/schema.d.ts +2 -5
  6. package/build/cjs/blocks/ContentLayout/ContentLayout.js +2 -3
  7. package/build/cjs/blocks/ContentLayout/schema.d.ts +61 -107
  8. package/build/cjs/blocks/ContentLayout/schema.js +18 -23
  9. package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +4 -31
  10. package/build/cjs/blocks/ExtendedFeatures/schema.js +3 -2
  11. package/build/cjs/blocks/FilterBlock/schema.d.ts +5 -13
  12. package/build/cjs/blocks/FilterBlock/schema.js +2 -13
  13. package/build/cjs/blocks/Header/Header.css +7 -6
  14. package/build/cjs/blocks/Header/schema.d.ts +36 -92
  15. package/build/cjs/blocks/Header/schema.js +0 -1
  16. package/build/cjs/blocks/HeaderSlider/schema.d.ts +53 -48
  17. package/build/cjs/blocks/HeaderSlider/schema.js +1 -3
  18. package/build/cjs/blocks/Icons/schema.d.ts +1 -3
  19. package/build/cjs/blocks/Icons/schema.js +1 -2
  20. package/build/cjs/blocks/Info/schema.d.ts +8 -19
  21. package/build/cjs/blocks/Map/schema.d.ts +6 -17
  22. package/build/cjs/blocks/Media/schema.d.ts +152 -204
  23. package/build/cjs/blocks/Media/schema.js +1 -1
  24. package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +8 -22
  25. package/build/cjs/blocks/PromoFeaturesBlock/schema.js +0 -1
  26. package/build/cjs/blocks/Questions/schema.d.ts +3 -7
  27. package/build/cjs/blocks/Slider/schema.d.ts +18 -13
  28. package/build/cjs/blocks/Slider/schema.js +5 -4
  29. package/build/cjs/blocks/Table/schema.d.ts +2 -5
  30. package/build/cjs/blocks/Table/schema.js +2 -12
  31. package/build/cjs/blocks/Tabs/schema.d.ts +16 -43
  32. package/build/cjs/components/BlockBase/BlockBase.js +2 -2
  33. package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +1 -1
  34. package/build/cjs/components/Image/schema.d.ts +0 -1
  35. package/build/cjs/components/Image/schema.js +2 -3
  36. package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +1 -1
  37. package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +1 -1
  38. package/build/cjs/customization/BlockDecoration.d.ts +1 -1
  39. package/build/cjs/customization/BlockDecoration.js +6 -5
  40. package/build/cjs/editor/{components → Components}/AddBlock/AddBlock.css +7 -0
  41. package/build/cjs/editor/Components/AddBlock/AddBlock.d.ts +7 -0
  42. package/build/cjs/editor/{components → Components}/AddBlock/AddBlock.js +2 -2
  43. package/build/cjs/editor/Components/EditBlock/EditBlock.d.ts +4 -0
  44. package/build/cjs/editor/Components/EditBlock/EditBlock.js +32 -0
  45. package/build/cjs/editor/Containers/Editor.d.ts +2 -0
  46. package/build/cjs/editor/Containers/Editor.js +24 -0
  47. package/build/cjs/editor/index.d.ts +1 -1
  48. package/build/cjs/editor/index.js +1 -1
  49. package/build/cjs/editor/store/index.d.ts +11 -8
  50. package/build/cjs/editor/store/index.js +15 -61
  51. package/build/cjs/editor/store/reducer.d.ts +9 -17
  52. package/build/cjs/editor/store/reducer.js +31 -14
  53. package/build/cjs/editor/store/utils.d.ts +0 -1
  54. package/build/cjs/editor/store/utils.js +1 -3
  55. package/build/cjs/editor/types/index.d.ts +9 -11
  56. package/build/cjs/editor/utils/index.d.ts +3 -4
  57. package/build/cjs/editor/utils/index.js +4 -6
  58. package/build/cjs/grid/Col/Col.d.ts +1 -1
  59. package/build/cjs/models/constructor-items/blocks.d.ts +8 -13
  60. package/build/cjs/models/constructor.d.ts +2 -2
  61. package/build/cjs/models/customization.d.ts +8 -3
  62. package/build/cjs/models/navigation.d.ts +0 -1
  63. package/build/cjs/navigation/components/Header/Header.css +0 -2
  64. package/build/cjs/navigation/components/Header/Header.js +4 -15
  65. package/build/cjs/navigation/schema.d.ts +0 -1
  66. package/build/cjs/schema/index.d.ts +228 -9
  67. package/build/cjs/schema/index.js +46 -8
  68. package/build/cjs/schema/validators/common.d.ts +27 -71
  69. package/build/cjs/schema/validators/common.js +17 -50
  70. package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +5 -12
  71. package/build/cjs/sub-blocks/BasicCard/schema.d.ts +3 -8
  72. package/build/cjs/sub-blocks/Content/schema.d.ts +6 -14
  73. package/build/cjs/sub-blocks/Content/schema.js +1 -9
  74. package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +9 -23
  75. package/build/cjs/sub-blocks/MediaCard/schema.d.ts +6 -16
  76. package/build/cjs/sub-blocks/PriceDetailed/schema.d.ts +0 -1
  77. package/build/cjs/sub-blocks/PriceDetailed/schema.js +1 -5
  78. package/build/cjs/sub-blocks/Quote/schema.d.ts +2 -6
  79. package/build/cjs/text-transform/utils.js +6 -1
  80. package/build/esm/blocks/Banner/schema.d.ts +21 -63
  81. package/build/esm/blocks/CardLayout/schema.d.ts +4 -10
  82. package/build/esm/blocks/Companies/schema.d.ts +2 -5
  83. package/build/esm/blocks/ContentLayout/ContentLayout.js +2 -3
  84. package/build/esm/blocks/ContentLayout/schema.d.ts +61 -107
  85. package/build/esm/blocks/ContentLayout/schema.js +18 -23
  86. package/build/esm/blocks/ExtendedFeatures/schema.d.ts +4 -31
  87. package/build/esm/blocks/ExtendedFeatures/schema.js +4 -3
  88. package/build/esm/blocks/FilterBlock/schema.d.ts +5 -13
  89. package/build/esm/blocks/FilterBlock/schema.js +2 -13
  90. package/build/esm/blocks/Header/Header.css +7 -6
  91. package/build/esm/blocks/Header/schema.d.ts +36 -92
  92. package/build/esm/blocks/Header/schema.js +0 -1
  93. package/build/esm/blocks/HeaderSlider/schema.d.ts +53 -48
  94. package/build/esm/blocks/HeaderSlider/schema.js +1 -2
  95. package/build/esm/blocks/Icons/schema.d.ts +1 -3
  96. package/build/esm/blocks/Icons/schema.js +1 -2
  97. package/build/esm/blocks/Info/schema.d.ts +8 -19
  98. package/build/esm/blocks/Map/schema.d.ts +6 -17
  99. package/build/esm/blocks/Media/schema.d.ts +152 -204
  100. package/build/esm/blocks/Media/schema.js +2 -2
  101. package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +8 -22
  102. package/build/esm/blocks/PromoFeaturesBlock/schema.js +0 -1
  103. package/build/esm/blocks/Questions/schema.d.ts +3 -7
  104. package/build/esm/blocks/Slider/schema.d.ts +18 -13
  105. package/build/esm/blocks/Slider/schema.js +5 -4
  106. package/build/esm/blocks/Table/schema.d.ts +2 -5
  107. package/build/esm/blocks/Table/schema.js +2 -12
  108. package/build/esm/blocks/Tabs/schema.d.ts +16 -43
  109. package/build/esm/components/BlockBase/BlockBase.js +2 -2
  110. package/build/esm/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +1 -1
  111. package/build/esm/components/Image/schema.d.ts +0 -1
  112. package/build/esm/components/Image/schema.js +2 -3
  113. package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +1 -1
  114. package/build/esm/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +1 -1
  115. package/build/esm/customization/BlockDecoration.d.ts +1 -1
  116. package/build/esm/customization/BlockDecoration.js +6 -6
  117. package/build/esm/editor/{components → Components}/AddBlock/AddBlock.css +7 -0
  118. package/build/esm/editor/Components/AddBlock/AddBlock.d.ts +8 -0
  119. package/build/esm/editor/{components → Components}/AddBlock/AddBlock.js +2 -2
  120. package/build/esm/editor/Components/EditBlock/EditBlock.d.ts +5 -0
  121. package/build/esm/editor/Components/EditBlock/EditBlock.js +30 -0
  122. package/build/esm/editor/Containers/Editor.d.ts +2 -0
  123. package/build/esm/editor/Containers/Editor.js +20 -0
  124. package/build/esm/editor/index.d.ts +1 -1
  125. package/build/esm/editor/index.js +1 -1
  126. package/build/esm/editor/store/index.d.ts +11 -8
  127. package/build/esm/editor/store/index.js +17 -63
  128. package/build/esm/editor/store/reducer.d.ts +9 -17
  129. package/build/esm/editor/store/reducer.js +29 -12
  130. package/build/esm/editor/store/utils.d.ts +0 -1
  131. package/build/esm/editor/store/utils.js +0 -1
  132. package/build/esm/editor/types/index.d.ts +9 -11
  133. package/build/esm/editor/utils/index.d.ts +3 -4
  134. package/build/esm/editor/utils/index.js +3 -4
  135. package/build/esm/grid/Col/Col.d.ts +1 -1
  136. package/build/esm/models/constructor-items/blocks.d.ts +8 -13
  137. package/build/esm/models/constructor.d.ts +2 -2
  138. package/build/esm/models/customization.d.ts +8 -3
  139. package/build/esm/models/navigation.d.ts +0 -1
  140. package/build/esm/navigation/components/Header/Header.css +0 -2
  141. package/build/esm/navigation/components/Header/Header.js +5 -16
  142. package/build/esm/navigation/schema.d.ts +0 -1
  143. package/build/esm/schema/index.d.ts +228 -9
  144. package/build/esm/schema/index.js +42 -4
  145. package/build/esm/schema/validators/common.d.ts +27 -71
  146. package/build/esm/schema/validators/common.js +16 -49
  147. package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +5 -12
  148. package/build/esm/sub-blocks/BasicCard/schema.d.ts +3 -8
  149. package/build/esm/sub-blocks/Content/schema.d.ts +6 -14
  150. package/build/esm/sub-blocks/Content/schema.js +1 -9
  151. package/build/esm/sub-blocks/LayoutItem/schema.d.ts +9 -23
  152. package/build/esm/sub-blocks/MediaCard/schema.d.ts +6 -16
  153. package/build/esm/sub-blocks/PriceDetailed/schema.d.ts +0 -1
  154. package/build/esm/sub-blocks/PriceDetailed/schema.js +1 -5
  155. package/build/esm/sub-blocks/Quote/schema.d.ts +2 -6
  156. package/build/esm/text-transform/utils.js +6 -1
  157. package/package.json +4 -5
  158. package/server/models/constructor-items/blocks.d.ts +8 -13
  159. package/server/models/constructor.d.ts +2 -2
  160. package/server/models/customization.d.ts +8 -3
  161. package/server/models/navigation.d.ts +0 -1
  162. package/server/text-transform/utils.js +6 -1
  163. package/build/cjs/editor/components/AddBlock/AddBlock.d.ts +0 -7
  164. package/build/cjs/editor/components/BlockForm/BlockForm.d.ts +0 -12
  165. package/build/cjs/editor/components/BlockForm/BlockForm.js +0 -26
  166. package/build/cjs/editor/components/EditBlock/EditBlock.d.ts +0 -13
  167. package/build/cjs/editor/components/EditBlock/EditBlock.js +0 -44
  168. package/build/cjs/editor/components/ErrorBoundary/ErrorBoundary.css +0 -27
  169. package/build/cjs/editor/components/ErrorBoundary/ErrorBoundary.d.ts +0 -13
  170. package/build/cjs/editor/components/ErrorBoundary/ErrorBoundary.js +0 -35
  171. package/build/cjs/editor/components/ErrorBoundary/i18n/en.json +0 -4
  172. package/build/cjs/editor/components/ErrorBoundary/i18n/index.d.ts +0 -2
  173. package/build/cjs/editor/components/ErrorBoundary/i18n/index.js +0 -8
  174. package/build/cjs/editor/components/ErrorBoundary/i18n/ru.json +0 -4
  175. package/build/cjs/editor/components/PagePropsForm/PagePropsForm.d.ts +0 -10
  176. package/build/cjs/editor/components/PagePropsForm/PagePropsForm.js +0 -17
  177. package/build/cjs/editor/containers/Editor/Editor.css +0 -28
  178. package/build/cjs/editor/containers/Editor/Editor.d.ts +0 -2
  179. package/build/cjs/editor/containers/Editor/Editor.js +0 -37
  180. package/build/cjs/editor/containers/Form/Form.css +0 -94
  181. package/build/cjs/editor/containers/Form/Form.d.ts +0 -11
  182. package/build/cjs/editor/containers/Form/Form.js +0 -47
  183. package/build/cjs/editor/containers/Form/dynamic-form-custom.css +0 -0
  184. package/build/cjs/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.css +0 -27
  185. package/build/cjs/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.d.ts +0 -19
  186. package/build/cjs/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.js +0 -72
  187. package/build/cjs/editor/dynamic-forms-custom/config.d.ts +0 -2
  188. package/build/cjs/editor/dynamic-forms-custom/config.js +0 -13
  189. package/build/cjs/editor/dynamic-forms-custom/hooks/useOneOf.d.ts +0 -12
  190. package/build/cjs/editor/dynamic-forms-custom/hooks/useOneOf.js +0 -75
  191. package/build/cjs/editor/dynamic-forms-custom/parser/detect.d.ts +0 -9
  192. package/build/cjs/editor/dynamic-forms-custom/parser/detect.js +0 -36
  193. package/build/cjs/editor/dynamic-forms-custom/parser/index.d.ts +0 -28
  194. package/build/cjs/editor/dynamic-forms-custom/parser/index.js +0 -188
  195. package/build/cjs/editor/dynamic-forms-custom/parser/types.d.ts +0 -29
  196. package/build/cjs/editor/dynamic-forms-custom/parser/types.js +0 -2
  197. package/build/cjs/editor/dynamic-forms-custom/parser/views.d.ts +0 -37
  198. package/build/cjs/editor/dynamic-forms-custom/parser/views.js +0 -46
  199. package/build/cjs/editor/hooks/useFormSpec.d.ts +0 -2
  200. package/build/cjs/editor/hooks/useFormSpec.js +0 -13
  201. package/build/cjs/schema/constants.d.ts +0 -908
  202. package/build/cjs/schema/constants.js +0 -42
  203. package/build/esm/editor/components/AddBlock/AddBlock.d.ts +0 -8
  204. package/build/esm/editor/components/BlockForm/BlockForm.d.ts +0 -12
  205. package/build/esm/editor/components/BlockForm/BlockForm.js +0 -23
  206. package/build/esm/editor/components/EditBlock/EditBlock.d.ts +0 -14
  207. package/build/esm/editor/components/EditBlock/EditBlock.js +0 -41
  208. package/build/esm/editor/components/ErrorBoundary/ErrorBoundary.css +0 -27
  209. package/build/esm/editor/components/ErrorBoundary/ErrorBoundary.d.ts +0 -14
  210. package/build/esm/editor/components/ErrorBoundary/ErrorBoundary.js +0 -31
  211. package/build/esm/editor/components/ErrorBoundary/i18n/en.json +0 -4
  212. package/build/esm/editor/components/ErrorBoundary/i18n/index.d.ts +0 -2
  213. package/build/esm/editor/components/ErrorBoundary/i18n/index.js +0 -5
  214. package/build/esm/editor/components/ErrorBoundary/i18n/ru.json +0 -4
  215. package/build/esm/editor/components/PagePropsForm/PagePropsForm.d.ts +0 -10
  216. package/build/esm/editor/components/PagePropsForm/PagePropsForm.js +0 -13
  217. package/build/esm/editor/containers/Editor/Editor.css +0 -28
  218. package/build/esm/editor/containers/Editor/Editor.d.ts +0 -3
  219. package/build/esm/editor/containers/Editor/Editor.js +0 -34
  220. package/build/esm/editor/containers/Form/Form.css +0 -94
  221. package/build/esm/editor/containers/Form/Form.d.ts +0 -12
  222. package/build/esm/editor/containers/Form/Form.js +0 -45
  223. package/build/esm/editor/containers/Form/dynamic-form-custom.css +0 -0
  224. package/build/esm/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.css +0 -27
  225. package/build/esm/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.d.ts +0 -20
  226. package/build/esm/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.js +0 -68
  227. package/build/esm/editor/dynamic-forms-custom/config.d.ts +0 -2
  228. package/build/esm/editor/dynamic-forms-custom/config.js +0 -9
  229. package/build/esm/editor/dynamic-forms-custom/hooks/useOneOf.d.ts +0 -12
  230. package/build/esm/editor/dynamic-forms-custom/hooks/useOneOf.js +0 -69
  231. package/build/esm/editor/dynamic-forms-custom/parser/detect.d.ts +0 -9
  232. package/build/esm/editor/dynamic-forms-custom/parser/detect.js +0 -32
  233. package/build/esm/editor/dynamic-forms-custom/parser/index.d.ts +0 -28
  234. package/build/esm/editor/dynamic-forms-custom/parser/index.js +0 -186
  235. package/build/esm/editor/dynamic-forms-custom/parser/types.d.ts +0 -29
  236. package/build/esm/editor/dynamic-forms-custom/parser/types.js +0 -1
  237. package/build/esm/editor/dynamic-forms-custom/parser/views.d.ts +0 -37
  238. package/build/esm/editor/dynamic-forms-custom/parser/views.js +0 -39
  239. package/build/esm/editor/hooks/useFormSpec.d.ts +0 -2
  240. package/build/esm/editor/hooks/useFormSpec.js +0 -9
  241. package/build/esm/schema/constants.d.ts +0 -908
  242. package/build/esm/schema/constants.js +0 -39
  243. /package/build/cjs/editor/{components → Components}/EditBlock/EditBlock.css +0 -0
  244. /package/build/esm/editor/{components → Components}/EditBlock/EditBlock.css +0 -0
@@ -1,908 +0,0 @@
1
- import { BlockType } from '../models';
2
- export declare const blockSchemas: Record<BlockType, object>;
3
- export declare const cardSchemas: {
4
- 'basic-card': {
5
- additionalProperties: boolean;
6
- required: never[];
7
- properties: {
8
- url: {
9
- type: string;
10
- };
11
- icon: {
12
- oneOf: ({
13
- type: string;
14
- properties: {
15
- when: {
16
- type: string;
17
- };
18
- };
19
- } | {
20
- type: string;
21
- pattern: string;
22
- optionName: string;
23
- })[];
24
- };
25
- target: {
26
- type: string;
27
- enum: string[];
28
- };
29
- title: {
30
- oneOf: ({
31
- type: string;
32
- contentType: string;
33
- optionName: string;
34
- } | {
35
- optionName: string;
36
- type: string;
37
- additionalProperties: boolean;
38
- required: string[];
39
- properties: {
40
- text: {
41
- type: string;
42
- contentType: string;
43
- };
44
- textSize: {
45
- type: string;
46
- enum: string[];
47
- };
48
- url: {
49
- type: string;
50
- };
51
- resetMargin: {
52
- type: string;
53
- };
54
- };
55
- contentType?: undefined;
56
- })[];
57
- };
58
- text: {
59
- type: string;
60
- contentType: string;
61
- inputType: string;
62
- };
63
- additionalInfo: {
64
- type: string;
65
- contentType: string;
66
- };
67
- links: {
68
- type: string;
69
- items: {
70
- type: string;
71
- properties: {
72
- when: {
73
- type: string;
74
- };
75
- };
76
- };
77
- };
78
- buttons: {
79
- type: string;
80
- items: {
81
- type: string;
82
- properties: {
83
- when: {
84
- type: string;
85
- };
86
- };
87
- };
88
- };
89
- border: {
90
- type: string;
91
- enum: string[];
92
- };
93
- type: {};
94
- when: {};
95
- };
96
- };
97
- quote: {
98
- additionalProperties: boolean;
99
- required: string[];
100
- properties: {
101
- text: {
102
- type: string;
103
- contentType: string;
104
- };
105
- image: {
106
- oneOf: (({
107
- oneOf: ({
108
- type: string;
109
- properties: {
110
- when: {
111
- type: string;
112
- };
113
- };
114
- } | {
115
- type: string;
116
- pattern: string;
117
- optionName: string;
118
- })[];
119
- } & {
120
- optionName: string;
121
- }) | {
122
- type: string;
123
- additionalProperties: boolean;
124
- required: import("../models").Theme[];
125
- properties: {};
126
- optionName: string;
127
- })[];
128
- };
129
- logo: {
130
- type: string;
131
- pattern: string;
132
- };
133
- color: {
134
- type: string;
135
- };
136
- url: {
137
- type: string;
138
- pattern: string;
139
- };
140
- buttonText: {
141
- type: string;
142
- };
143
- theme: {
144
- type: string;
145
- enum: string[];
146
- };
147
- author: {
148
- type: string;
149
- required: string[];
150
- properties: {
151
- firstName: {
152
- type: string;
153
- contentType: string;
154
- };
155
- secondName: {
156
- type: string;
157
- contentType: string;
158
- };
159
- avatar: {
160
- type: string;
161
- pattern: string;
162
- };
163
- description: {
164
- type: string;
165
- contentType: string;
166
- };
167
- };
168
- };
169
- type: {};
170
- when: {};
171
- };
172
- };
173
- 'background-card': {
174
- additionalProperties: boolean;
175
- required: string[];
176
- properties: {
177
- url: {
178
- type: string;
179
- };
180
- background: {
181
- oneOf: (({
182
- type: string;
183
- additionalProperties: boolean;
184
- required: string[];
185
- properties: {
186
- src: {
187
- type: string;
188
- pattern: string;
189
- };
190
- alt: {
191
- type: string;
192
- contentType: string;
193
- };
194
- disableCompress: {
195
- type: string;
196
- };
197
- };
198
- } & {
199
- optionName: string;
200
- }) | {
201
- type: string;
202
- additionalProperties: boolean;
203
- required: import("../models").Theme[];
204
- properties: {};
205
- optionName: string;
206
- })[];
207
- };
208
- backgroundColor: {
209
- type: string;
210
- };
211
- paddingBottom: {
212
- type: string;
213
- enum: string[];
214
- };
215
- title: {
216
- oneOf: ({
217
- type: string;
218
- contentType: string;
219
- optionName: string;
220
- } | {
221
- optionName: string;
222
- type: string;
223
- additionalProperties: boolean;
224
- required: string[];
225
- properties: {
226
- text: {
227
- type: string;
228
- contentType: string;
229
- };
230
- textSize: {
231
- type: string;
232
- enum: string[];
233
- };
234
- url: {
235
- type: string;
236
- };
237
- resetMargin: {
238
- type: string;
239
- };
240
- };
241
- contentType?: undefined;
242
- })[];
243
- };
244
- text: {
245
- type: string;
246
- contentType: string;
247
- inputType: string;
248
- };
249
- theme: {
250
- type: string;
251
- enum: string[];
252
- };
253
- additionalInfo: {
254
- type: string;
255
- contentType: string;
256
- };
257
- links: {
258
- type: string;
259
- items: {
260
- type: string;
261
- properties: {
262
- when: {
263
- type: string;
264
- };
265
- };
266
- };
267
- };
268
- buttons: {
269
- type: string;
270
- items: {
271
- type: string;
272
- properties: {
273
- when: {
274
- type: string;
275
- };
276
- };
277
- };
278
- };
279
- border: {
280
- type: string;
281
- enum: string[];
282
- };
283
- type: {};
284
- when: {};
285
- };
286
- };
287
- 'price-detailed': {
288
- additionalProperties: boolean;
289
- required: string[];
290
- properties: {
291
- items: {
292
- type: string;
293
- items: {
294
- type: string;
295
- properties: {
296
- when: {
297
- type: string;
298
- };
299
- };
300
- };
301
- };
302
- description: {
303
- additionalProperties: boolean;
304
- required: never[];
305
- properties: {
306
- titleSize: {
307
- type: string;
308
- enum: string[];
309
- };
310
- descriptionSize: {
311
- type: string;
312
- enum: string[];
313
- };
314
- titleColor: {
315
- type: string;
316
- enum: string[];
317
- };
318
- };
319
- };
320
- details: {
321
- additionalProperties: boolean;
322
- required: never[];
323
- properties: {
324
- titleSize: {
325
- type: string;
326
- enum: string[];
327
- };
328
- descriptionSize: {
329
- type: string;
330
- enum: string[];
331
- };
332
- };
333
- };
334
- priceType: {
335
- type: string;
336
- enum: string[];
337
- default: string;
338
- };
339
- numberGroupItems: {
340
- type: string;
341
- enum: number[];
342
- };
343
- isCombined: {
344
- type: string;
345
- };
346
- useMixedView: {
347
- type: string;
348
- };
349
- foldable: {
350
- additionalProperties: boolean;
351
- required: string[];
352
- properties: {
353
- title: {
354
- type: string;
355
- contentType: string;
356
- };
357
- size: {
358
- type: string;
359
- enum: string[];
360
- };
361
- titleColor: {
362
- type: string;
363
- enum: string[];
364
- };
365
- };
366
- };
367
- labelsDefaultText: {
368
- additionalProperties: boolean;
369
- required: never[];
370
- properties: {};
371
- };
372
- animated: {
373
- type: string;
374
- };
375
- type: {};
376
- when: {};
377
- };
378
- };
379
- 'banner-card': {
380
- additionalProperties: boolean;
381
- required: string[];
382
- properties: {
383
- title: {
384
- type: string;
385
- contentType: string;
386
- };
387
- subtitle: {
388
- type: string;
389
- contentType: string;
390
- };
391
- image: {
392
- oneOf: (({
393
- type: string;
394
- } & {
395
- optionName: string;
396
- }) | {
397
- type: string;
398
- additionalProperties: boolean;
399
- required: import("../models").Theme[];
400
- properties: {};
401
- optionName: string;
402
- })[];
403
- };
404
- disableCompress: {
405
- type: string;
406
- };
407
- color: {
408
- oneOf: (({
409
- type: string;
410
- } & {
411
- optionName: string;
412
- }) | {
413
- type: string;
414
- additionalProperties: boolean;
415
- required: import("../models").Theme[];
416
- properties: {};
417
- optionName: string;
418
- })[];
419
- };
420
- theme: {
421
- type: string;
422
- enum: string[];
423
- };
424
- width: {
425
- type: string;
426
- enum: string[];
427
- };
428
- button: {
429
- type: string;
430
- additionalProperties: boolean;
431
- properties: {
432
- text: {
433
- type: string;
434
- contentType: string;
435
- };
436
- url: {
437
- type: string;
438
- };
439
- primary: {
440
- type: string;
441
- };
442
- size: {
443
- type: string;
444
- enum: string[];
445
- };
446
- theme: {
447
- type: string;
448
- enum: string[];
449
- };
450
- img: {
451
- oneOf: ({
452
- type: string;
453
- optionName: string;
454
- additionalProperties?: undefined;
455
- required?: undefined;
456
- properties?: undefined;
457
- } | {
458
- type: string;
459
- additionalProperties: boolean;
460
- required: string[];
461
- properties: {
462
- data: {
463
- type: string;
464
- };
465
- position: {
466
- type: string;
467
- enum: string[];
468
- };
469
- alt: {
470
- type: string;
471
- contentType: string;
472
- };
473
- };
474
- optionName: string;
475
- })[];
476
- };
477
- metrikaGoals: {
478
- oneOf: ({
479
- type: string;
480
- optionName: string;
481
- items?: undefined;
482
- } | {
483
- type: string;
484
- items: {
485
- type: string;
486
- additionalProperties?: undefined;
487
- required?: undefined;
488
- properties?: undefined;
489
- };
490
- optionName: string;
491
- } | {
492
- type: string;
493
- items: {
494
- type: string;
495
- additionalProperties: boolean;
496
- required: string[];
497
- properties: {
498
- name: {
499
- type: string;
500
- };
501
- isCrossSite: {
502
- type: string;
503
- };
504
- };
505
- };
506
- optionName: string;
507
- })[];
508
- };
509
- pixelEvents: {
510
- type: string;
511
- items: {
512
- type: string;
513
- required: string[];
514
- additionalProperties: boolean;
515
- properties: {
516
- name: {
517
- type: string;
518
- enum: import("../models").PixelEventType[];
519
- };
520
- data: {};
521
- };
522
- select: {
523
- $data: string;
524
- };
525
- selectCases: {
526
- SubmitApplication: {
527
- additionalProperties: boolean;
528
- properties: {
529
- name: {};
530
- };
531
- };
532
- Contact: {
533
- additionalProperties: boolean;
534
- properties: {
535
- name: {};
536
- };
537
- };
538
- Lead: {
539
- additionalProperties: boolean;
540
- properties: {
541
- name: {};
542
- data: {
543
- type: string;
544
- additionalProperties: boolean;
545
- properties: {
546
- content_category: {
547
- type: string;
548
- };
549
- content_name: {
550
- type: string;
551
- };
552
- currency: {
553
- type: string;
554
- };
555
- value: {
556
- type: string;
557
- };
558
- };
559
- };
560
- };
561
- };
562
- };
563
- };
564
- };
565
- analyticsEvents: {
566
- oneOf: ({
567
- optionName: string;
568
- type: string;
569
- additionalProperties: {
570
- type: string;
571
- };
572
- required: string[];
573
- properties: {
574
- name: {
575
- type: string;
576
- };
577
- type: {
578
- type: string;
579
- };
580
- counters: {
581
- type: string;
582
- additionalProperties: boolean;
583
- required: never[];
584
- properties: {
585
- include: {
586
- type: string;
587
- items: {
588
- type: string;
589
- };
590
- };
591
- exclude: {
592
- type: string;
593
- items: {
594
- type: string;
595
- };
596
- };
597
- };
598
- };
599
- context: {
600
- type: string;
601
- };
602
- };
603
- items?: undefined;
604
- } | {
605
- type: string;
606
- items: {
607
- type: string;
608
- additionalProperties: {
609
- type: string;
610
- };
611
- required: string[];
612
- properties: {
613
- name: {
614
- type: string;
615
- };
616
- type: {
617
- type: string;
618
- };
619
- counters: {
620
- type: string;
621
- additionalProperties: boolean;
622
- required: never[];
623
- properties: {
624
- include: {
625
- type: string;
626
- items: {
627
- type: string;
628
- };
629
- };
630
- exclude: {
631
- type: string;
632
- items: {
633
- type: string;
634
- };
635
- };
636
- };
637
- };
638
- context: {
639
- type: string;
640
- };
641
- };
642
- };
643
- optionName: string;
644
- })[];
645
- };
646
- target: {
647
- type: string;
648
- enum: string[];
649
- };
650
- };
651
- if: {
652
- properties: {
653
- theme: {
654
- enum: string[];
655
- };
656
- };
657
- };
658
- then: {
659
- required: string[];
660
- };
661
- else: {
662
- required: string[];
663
- };
664
- };
665
- animated: {
666
- type: string;
667
- };
668
- type: {};
669
- when: {};
670
- };
671
- };
672
- 'media-card': {
673
- additionalProperties: boolean;
674
- required: never[];
675
- properties: {
676
- animated: {
677
- type: string;
678
- };
679
- color: {
680
- type: string;
681
- };
682
- image: {
683
- oneOf: ({
684
- optionName: string;
685
- oneOf: ({
686
- type: string;
687
- properties: {
688
- when: {
689
- type: string;
690
- };
691
- };
692
- } | {
693
- type: string;
694
- pattern: string;
695
- optionName: string;
696
- })[];
697
- type?: undefined;
698
- items?: undefined;
699
- } | {
700
- type: string;
701
- items: {
702
- oneOf: ({
703
- type: string;
704
- properties: {
705
- when: {
706
- type: string;
707
- };
708
- };
709
- } | {
710
- type: string;
711
- pattern: string;
712
- optionName: string;
713
- })[];
714
- };
715
- optionName: string;
716
- })[];
717
- };
718
- video: {
719
- type: string;
720
- additionalProperties: boolean;
721
- required: string[];
722
- properties: {
723
- src: {
724
- type: string;
725
- items: {
726
- type: string;
727
- };
728
- };
729
- loop: {
730
- oneOf: ({
731
- optionName: string;
732
- type: string;
733
- additionalProperties: boolean;
734
- required: string[];
735
- properties: {
736
- start: {
737
- type: string;
738
- };
739
- end: {
740
- type: string;
741
- };
742
- };
743
- } | {
744
- type: string;
745
- optionName: string;
746
- })[];
747
- };
748
- type: {
749
- type: string;
750
- enum: string[];
751
- };
752
- muted: {
753
- type: string;
754
- };
755
- autoplay: {
756
- type: string;
757
- };
758
- elapsedTime: {
759
- type: string;
760
- };
761
- playButton: {
762
- type: string;
763
- additionalProperties: boolean;
764
- properties: {
765
- type: {
766
- type: string;
767
- enum: string[];
768
- };
769
- theme: {
770
- type: string;
771
- enum: string[];
772
- };
773
- text: {
774
- type: string;
775
- contentType: string;
776
- };
777
- };
778
- };
779
- controls: {
780
- type: string;
781
- enum: string[];
782
- };
783
- };
784
- };
785
- youtube: {
786
- type: string;
787
- };
788
- parallax: {
789
- type: string;
790
- };
791
- height: {
792
- type: string;
793
- };
794
- previewImg: {
795
- type: string;
796
- };
797
- dataLens: {
798
- oneOf: ({
799
- type: string;
800
- optionName: string;
801
- } | {
802
- optionName: string;
803
- type: string;
804
- additionalProperties: boolean;
805
- required: string[];
806
- properties: {
807
- id: {
808
- type: string;
809
- };
810
- theme: {
811
- type: string;
812
- enum: string[];
813
- };
814
- };
815
- })[];
816
- };
817
- fullscreen: {
818
- type: string;
819
- };
820
- analyticsEvents: {
821
- anyOf: ({
822
- type: string;
823
- additionalProperties: {
824
- type: string;
825
- };
826
- required: string[];
827
- properties: {
828
- name: {
829
- type: string;
830
- };
831
- type: {
832
- type: string;
833
- };
834
- counters: {
835
- type: string;
836
- additionalProperties: boolean;
837
- required: never[];
838
- properties: {
839
- include: {
840
- type: string;
841
- items: {
842
- type: string;
843
- };
844
- };
845
- exclude: {
846
- type: string;
847
- items: {
848
- type: string;
849
- };
850
- };
851
- };
852
- };
853
- context: {
854
- type: string;
855
- };
856
- };
857
- } | {
858
- type: string;
859
- items: {
860
- type: string;
861
- additionalProperties: {
862
- type: string;
863
- };
864
- required: string[];
865
- properties: {
866
- name: {
867
- type: string;
868
- };
869
- type: {
870
- type: string;
871
- };
872
- counters: {
873
- type: string;
874
- additionalProperties: boolean;
875
- required: never[];
876
- properties: {
877
- include: {
878
- type: string;
879
- items: {
880
- type: string;
881
- };
882
- };
883
- exclude: {
884
- type: string;
885
- items: {
886
- type: string;
887
- };
888
- };
889
- };
890
- };
891
- context: {
892
- type: string;
893
- };
894
- };
895
- };
896
- })[];
897
- };
898
- border: {
899
- type: string;
900
- enum: string[];
901
- };
902
- type: {};
903
- when: {};
904
- };
905
- };
906
- };
907
- export declare const constructorBlockSchemaNames: string[];
908
- export declare const constructorCardSchemaNames: string[];