@gravity-ui/page-constructor 1.19.0 → 1.19.1
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 +7 -0
- package/build/cjs/blocks/Map/schema.d.ts +48 -34
- package/build/cjs/schema/validators/common.d.ts +60 -43
- package/build/cjs/schema/validators/common.js +25 -18
- package/build/esm/blocks/Map/schema.d.ts +48 -34
- package/build/esm/schema/validators/common.d.ts +60 -43
- package/build/esm/schema/validators/common.js +25 -18
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.19.1](https://github.com/gravity-ui/page-constructor/compare/v1.19.0...v1.19.1) (2023-03-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* fix map block scheme ([8db1923](https://github.com/gravity-ui/page-constructor/commit/8db1923b315c793d349da868f9299feb983408be))
|
|
9
|
+
|
|
3
10
|
## [1.19.0](https://github.com/gravity-ui/page-constructor/compare/v1.18.1...v1.19.0) (2023-02-28)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -22,29 +22,36 @@ export declare const Map: {
|
|
|
22
22
|
type: string;
|
|
23
23
|
items: {
|
|
24
24
|
type: {
|
|
25
|
+
type: string;
|
|
26
|
+
additionalProperties: boolean;
|
|
25
27
|
required: never[];
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
items: {
|
|
29
|
-
type: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
address: {
|
|
33
|
-
type: string;
|
|
34
|
-
};
|
|
35
|
-
label: {
|
|
36
|
-
required: never[];
|
|
37
|
-
iconCaption: {
|
|
38
|
-
type: string;
|
|
39
|
-
};
|
|
40
|
-
iconContent: {
|
|
28
|
+
properties: {
|
|
29
|
+
coordinate: {
|
|
41
30
|
type: string;
|
|
31
|
+
items: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
42
34
|
};
|
|
43
|
-
|
|
35
|
+
address: {
|
|
44
36
|
type: string;
|
|
45
37
|
};
|
|
46
|
-
|
|
38
|
+
label: {
|
|
47
39
|
type: string;
|
|
40
|
+
required: never[];
|
|
41
|
+
properties: {
|
|
42
|
+
iconCaption: {
|
|
43
|
+
type: string;
|
|
44
|
+
};
|
|
45
|
+
iconContent: {
|
|
46
|
+
type: string;
|
|
47
|
+
};
|
|
48
|
+
iconColor: {
|
|
49
|
+
type: string;
|
|
50
|
+
};
|
|
51
|
+
preset: {
|
|
52
|
+
type: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
48
55
|
};
|
|
49
56
|
};
|
|
50
57
|
};
|
|
@@ -81,29 +88,36 @@ export declare const MapBlock: {
|
|
|
81
88
|
type: string;
|
|
82
89
|
items: {
|
|
83
90
|
type: {
|
|
91
|
+
type: string;
|
|
92
|
+
additionalProperties: boolean;
|
|
84
93
|
required: never[];
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
items: {
|
|
88
|
-
type: string;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
address: {
|
|
92
|
-
type: string;
|
|
93
|
-
};
|
|
94
|
-
label: {
|
|
95
|
-
required: never[];
|
|
96
|
-
iconCaption: {
|
|
97
|
-
type: string;
|
|
98
|
-
};
|
|
99
|
-
iconContent: {
|
|
94
|
+
properties: {
|
|
95
|
+
coordinate: {
|
|
100
96
|
type: string;
|
|
97
|
+
items: {
|
|
98
|
+
type: string;
|
|
99
|
+
};
|
|
101
100
|
};
|
|
102
|
-
|
|
101
|
+
address: {
|
|
103
102
|
type: string;
|
|
104
103
|
};
|
|
105
|
-
|
|
104
|
+
label: {
|
|
106
105
|
type: string;
|
|
106
|
+
required: never[];
|
|
107
|
+
properties: {
|
|
108
|
+
iconCaption: {
|
|
109
|
+
type: string;
|
|
110
|
+
};
|
|
111
|
+
iconContent: {
|
|
112
|
+
type: string;
|
|
113
|
+
};
|
|
114
|
+
iconColor: {
|
|
115
|
+
type: string;
|
|
116
|
+
};
|
|
117
|
+
preset: {
|
|
118
|
+
type: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
107
121
|
};
|
|
108
122
|
};
|
|
109
123
|
};
|
|
@@ -864,33 +864,9 @@ export declare const MediaProps: {
|
|
|
864
864
|
};
|
|
865
865
|
};
|
|
866
866
|
export declare const YMapMarkerLabel: {
|
|
867
|
+
type: string;
|
|
867
868
|
required: never[];
|
|
868
|
-
|
|
869
|
-
type: string;
|
|
870
|
-
};
|
|
871
|
-
iconContent: {
|
|
872
|
-
type: string;
|
|
873
|
-
};
|
|
874
|
-
iconColor: {
|
|
875
|
-
type: string;
|
|
876
|
-
};
|
|
877
|
-
preset: {
|
|
878
|
-
type: string;
|
|
879
|
-
};
|
|
880
|
-
};
|
|
881
|
-
export declare const YMapMarker: {
|
|
882
|
-
required: never[];
|
|
883
|
-
coordinate: {
|
|
884
|
-
type: string;
|
|
885
|
-
items: {
|
|
886
|
-
type: string;
|
|
887
|
-
};
|
|
888
|
-
};
|
|
889
|
-
address: {
|
|
890
|
-
type: string;
|
|
891
|
-
};
|
|
892
|
-
label: {
|
|
893
|
-
required: never[];
|
|
869
|
+
properties: {
|
|
894
870
|
iconCaption: {
|
|
895
871
|
type: string;
|
|
896
872
|
};
|
|
@@ -905,6 +881,40 @@ export declare const YMapMarker: {
|
|
|
905
881
|
};
|
|
906
882
|
};
|
|
907
883
|
};
|
|
884
|
+
export declare const YMapMarker: {
|
|
885
|
+
type: string;
|
|
886
|
+
additionalProperties: boolean;
|
|
887
|
+
required: never[];
|
|
888
|
+
properties: {
|
|
889
|
+
coordinate: {
|
|
890
|
+
type: string;
|
|
891
|
+
items: {
|
|
892
|
+
type: string;
|
|
893
|
+
};
|
|
894
|
+
};
|
|
895
|
+
address: {
|
|
896
|
+
type: string;
|
|
897
|
+
};
|
|
898
|
+
label: {
|
|
899
|
+
type: string;
|
|
900
|
+
required: never[];
|
|
901
|
+
properties: {
|
|
902
|
+
iconCaption: {
|
|
903
|
+
type: string;
|
|
904
|
+
};
|
|
905
|
+
iconContent: {
|
|
906
|
+
type: string;
|
|
907
|
+
};
|
|
908
|
+
iconColor: {
|
|
909
|
+
type: string;
|
|
910
|
+
};
|
|
911
|
+
preset: {
|
|
912
|
+
type: string;
|
|
913
|
+
};
|
|
914
|
+
};
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
};
|
|
908
918
|
export declare const MapProps: {
|
|
909
919
|
zoom: {
|
|
910
920
|
type: string;
|
|
@@ -925,29 +935,36 @@ export declare const MapProps: {
|
|
|
925
935
|
type: string;
|
|
926
936
|
items: {
|
|
927
937
|
type: {
|
|
938
|
+
type: string;
|
|
939
|
+
additionalProperties: boolean;
|
|
928
940
|
required: never[];
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
items: {
|
|
932
|
-
type: string;
|
|
933
|
-
};
|
|
934
|
-
};
|
|
935
|
-
address: {
|
|
936
|
-
type: string;
|
|
937
|
-
};
|
|
938
|
-
label: {
|
|
939
|
-
required: never[];
|
|
940
|
-
iconCaption: {
|
|
941
|
-
type: string;
|
|
942
|
-
};
|
|
943
|
-
iconContent: {
|
|
941
|
+
properties: {
|
|
942
|
+
coordinate: {
|
|
944
943
|
type: string;
|
|
944
|
+
items: {
|
|
945
|
+
type: string;
|
|
946
|
+
};
|
|
945
947
|
};
|
|
946
|
-
|
|
948
|
+
address: {
|
|
947
949
|
type: string;
|
|
948
950
|
};
|
|
949
|
-
|
|
951
|
+
label: {
|
|
950
952
|
type: string;
|
|
953
|
+
required: never[];
|
|
954
|
+
properties: {
|
|
955
|
+
iconCaption: {
|
|
956
|
+
type: string;
|
|
957
|
+
};
|
|
958
|
+
iconContent: {
|
|
959
|
+
type: string;
|
|
960
|
+
};
|
|
961
|
+
iconColor: {
|
|
962
|
+
type: string;
|
|
963
|
+
};
|
|
964
|
+
preset: {
|
|
965
|
+
type: string;
|
|
966
|
+
};
|
|
967
|
+
};
|
|
951
968
|
};
|
|
952
969
|
};
|
|
953
970
|
};
|
|
@@ -443,30 +443,37 @@ exports.MediaProps = {
|
|
|
443
443
|
dataLens: exports.DataLensProps,
|
|
444
444
|
};
|
|
445
445
|
exports.YMapMarkerLabel = {
|
|
446
|
+
type: 'object',
|
|
446
447
|
required: [],
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
448
|
+
properties: {
|
|
449
|
+
iconCaption: {
|
|
450
|
+
type: 'string',
|
|
451
|
+
},
|
|
452
|
+
iconContent: {
|
|
453
|
+
type: 'string',
|
|
454
|
+
},
|
|
455
|
+
iconColor: {
|
|
456
|
+
type: 'string',
|
|
457
|
+
},
|
|
458
|
+
preset: {
|
|
459
|
+
type: 'string',
|
|
460
|
+
},
|
|
458
461
|
},
|
|
459
462
|
};
|
|
460
463
|
exports.YMapMarker = {
|
|
464
|
+
type: 'object',
|
|
465
|
+
additionalProperties: false,
|
|
461
466
|
required: [],
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
467
|
+
properties: {
|
|
468
|
+
coordinate: {
|
|
469
|
+
type: 'array',
|
|
470
|
+
items: { type: 'number' },
|
|
471
|
+
},
|
|
472
|
+
address: {
|
|
473
|
+
type: 'string',
|
|
474
|
+
},
|
|
475
|
+
label: exports.YMapMarkerLabel,
|
|
468
476
|
},
|
|
469
|
-
label: exports.YMapMarkerLabel,
|
|
470
477
|
};
|
|
471
478
|
exports.MapProps = {
|
|
472
479
|
zoom: {
|
|
@@ -22,29 +22,36 @@ export declare const Map: {
|
|
|
22
22
|
type: string;
|
|
23
23
|
items: {
|
|
24
24
|
type: {
|
|
25
|
+
type: string;
|
|
26
|
+
additionalProperties: boolean;
|
|
25
27
|
required: never[];
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
items: {
|
|
29
|
-
type: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
address: {
|
|
33
|
-
type: string;
|
|
34
|
-
};
|
|
35
|
-
label: {
|
|
36
|
-
required: never[];
|
|
37
|
-
iconCaption: {
|
|
38
|
-
type: string;
|
|
39
|
-
};
|
|
40
|
-
iconContent: {
|
|
28
|
+
properties: {
|
|
29
|
+
coordinate: {
|
|
41
30
|
type: string;
|
|
31
|
+
items: {
|
|
32
|
+
type: string;
|
|
33
|
+
};
|
|
42
34
|
};
|
|
43
|
-
|
|
35
|
+
address: {
|
|
44
36
|
type: string;
|
|
45
37
|
};
|
|
46
|
-
|
|
38
|
+
label: {
|
|
47
39
|
type: string;
|
|
40
|
+
required: never[];
|
|
41
|
+
properties: {
|
|
42
|
+
iconCaption: {
|
|
43
|
+
type: string;
|
|
44
|
+
};
|
|
45
|
+
iconContent: {
|
|
46
|
+
type: string;
|
|
47
|
+
};
|
|
48
|
+
iconColor: {
|
|
49
|
+
type: string;
|
|
50
|
+
};
|
|
51
|
+
preset: {
|
|
52
|
+
type: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
48
55
|
};
|
|
49
56
|
};
|
|
50
57
|
};
|
|
@@ -81,29 +88,36 @@ export declare const MapBlock: {
|
|
|
81
88
|
type: string;
|
|
82
89
|
items: {
|
|
83
90
|
type: {
|
|
91
|
+
type: string;
|
|
92
|
+
additionalProperties: boolean;
|
|
84
93
|
required: never[];
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
items: {
|
|
88
|
-
type: string;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
address: {
|
|
92
|
-
type: string;
|
|
93
|
-
};
|
|
94
|
-
label: {
|
|
95
|
-
required: never[];
|
|
96
|
-
iconCaption: {
|
|
97
|
-
type: string;
|
|
98
|
-
};
|
|
99
|
-
iconContent: {
|
|
94
|
+
properties: {
|
|
95
|
+
coordinate: {
|
|
100
96
|
type: string;
|
|
97
|
+
items: {
|
|
98
|
+
type: string;
|
|
99
|
+
};
|
|
101
100
|
};
|
|
102
|
-
|
|
101
|
+
address: {
|
|
103
102
|
type: string;
|
|
104
103
|
};
|
|
105
|
-
|
|
104
|
+
label: {
|
|
106
105
|
type: string;
|
|
106
|
+
required: never[];
|
|
107
|
+
properties: {
|
|
108
|
+
iconCaption: {
|
|
109
|
+
type: string;
|
|
110
|
+
};
|
|
111
|
+
iconContent: {
|
|
112
|
+
type: string;
|
|
113
|
+
};
|
|
114
|
+
iconColor: {
|
|
115
|
+
type: string;
|
|
116
|
+
};
|
|
117
|
+
preset: {
|
|
118
|
+
type: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
107
121
|
};
|
|
108
122
|
};
|
|
109
123
|
};
|
|
@@ -864,33 +864,9 @@ export declare const MediaProps: {
|
|
|
864
864
|
};
|
|
865
865
|
};
|
|
866
866
|
export declare const YMapMarkerLabel: {
|
|
867
|
+
type: string;
|
|
867
868
|
required: never[];
|
|
868
|
-
|
|
869
|
-
type: string;
|
|
870
|
-
};
|
|
871
|
-
iconContent: {
|
|
872
|
-
type: string;
|
|
873
|
-
};
|
|
874
|
-
iconColor: {
|
|
875
|
-
type: string;
|
|
876
|
-
};
|
|
877
|
-
preset: {
|
|
878
|
-
type: string;
|
|
879
|
-
};
|
|
880
|
-
};
|
|
881
|
-
export declare const YMapMarker: {
|
|
882
|
-
required: never[];
|
|
883
|
-
coordinate: {
|
|
884
|
-
type: string;
|
|
885
|
-
items: {
|
|
886
|
-
type: string;
|
|
887
|
-
};
|
|
888
|
-
};
|
|
889
|
-
address: {
|
|
890
|
-
type: string;
|
|
891
|
-
};
|
|
892
|
-
label: {
|
|
893
|
-
required: never[];
|
|
869
|
+
properties: {
|
|
894
870
|
iconCaption: {
|
|
895
871
|
type: string;
|
|
896
872
|
};
|
|
@@ -905,6 +881,40 @@ export declare const YMapMarker: {
|
|
|
905
881
|
};
|
|
906
882
|
};
|
|
907
883
|
};
|
|
884
|
+
export declare const YMapMarker: {
|
|
885
|
+
type: string;
|
|
886
|
+
additionalProperties: boolean;
|
|
887
|
+
required: never[];
|
|
888
|
+
properties: {
|
|
889
|
+
coordinate: {
|
|
890
|
+
type: string;
|
|
891
|
+
items: {
|
|
892
|
+
type: string;
|
|
893
|
+
};
|
|
894
|
+
};
|
|
895
|
+
address: {
|
|
896
|
+
type: string;
|
|
897
|
+
};
|
|
898
|
+
label: {
|
|
899
|
+
type: string;
|
|
900
|
+
required: never[];
|
|
901
|
+
properties: {
|
|
902
|
+
iconCaption: {
|
|
903
|
+
type: string;
|
|
904
|
+
};
|
|
905
|
+
iconContent: {
|
|
906
|
+
type: string;
|
|
907
|
+
};
|
|
908
|
+
iconColor: {
|
|
909
|
+
type: string;
|
|
910
|
+
};
|
|
911
|
+
preset: {
|
|
912
|
+
type: string;
|
|
913
|
+
};
|
|
914
|
+
};
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
};
|
|
908
918
|
export declare const MapProps: {
|
|
909
919
|
zoom: {
|
|
910
920
|
type: string;
|
|
@@ -925,29 +935,36 @@ export declare const MapProps: {
|
|
|
925
935
|
type: string;
|
|
926
936
|
items: {
|
|
927
937
|
type: {
|
|
938
|
+
type: string;
|
|
939
|
+
additionalProperties: boolean;
|
|
928
940
|
required: never[];
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
items: {
|
|
932
|
-
type: string;
|
|
933
|
-
};
|
|
934
|
-
};
|
|
935
|
-
address: {
|
|
936
|
-
type: string;
|
|
937
|
-
};
|
|
938
|
-
label: {
|
|
939
|
-
required: never[];
|
|
940
|
-
iconCaption: {
|
|
941
|
-
type: string;
|
|
942
|
-
};
|
|
943
|
-
iconContent: {
|
|
941
|
+
properties: {
|
|
942
|
+
coordinate: {
|
|
944
943
|
type: string;
|
|
944
|
+
items: {
|
|
945
|
+
type: string;
|
|
946
|
+
};
|
|
945
947
|
};
|
|
946
|
-
|
|
948
|
+
address: {
|
|
947
949
|
type: string;
|
|
948
950
|
};
|
|
949
|
-
|
|
951
|
+
label: {
|
|
950
952
|
type: string;
|
|
953
|
+
required: never[];
|
|
954
|
+
properties: {
|
|
955
|
+
iconCaption: {
|
|
956
|
+
type: string;
|
|
957
|
+
};
|
|
958
|
+
iconContent: {
|
|
959
|
+
type: string;
|
|
960
|
+
};
|
|
961
|
+
iconColor: {
|
|
962
|
+
type: string;
|
|
963
|
+
};
|
|
964
|
+
preset: {
|
|
965
|
+
type: string;
|
|
966
|
+
};
|
|
967
|
+
};
|
|
951
968
|
};
|
|
952
969
|
};
|
|
953
970
|
};
|
|
@@ -439,30 +439,37 @@ export const MediaProps = {
|
|
|
439
439
|
dataLens: DataLensProps,
|
|
440
440
|
};
|
|
441
441
|
export const YMapMarkerLabel = {
|
|
442
|
+
type: 'object',
|
|
442
443
|
required: [],
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
444
|
+
properties: {
|
|
445
|
+
iconCaption: {
|
|
446
|
+
type: 'string',
|
|
447
|
+
},
|
|
448
|
+
iconContent: {
|
|
449
|
+
type: 'string',
|
|
450
|
+
},
|
|
451
|
+
iconColor: {
|
|
452
|
+
type: 'string',
|
|
453
|
+
},
|
|
454
|
+
preset: {
|
|
455
|
+
type: 'string',
|
|
456
|
+
},
|
|
454
457
|
},
|
|
455
458
|
};
|
|
456
459
|
export const YMapMarker = {
|
|
460
|
+
type: 'object',
|
|
461
|
+
additionalProperties: false,
|
|
457
462
|
required: [],
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
463
|
+
properties: {
|
|
464
|
+
coordinate: {
|
|
465
|
+
type: 'array',
|
|
466
|
+
items: { type: 'number' },
|
|
467
|
+
},
|
|
468
|
+
address: {
|
|
469
|
+
type: 'string',
|
|
470
|
+
},
|
|
471
|
+
label: YMapMarkerLabel,
|
|
464
472
|
},
|
|
465
|
-
label: YMapMarkerLabel,
|
|
466
473
|
};
|
|
467
474
|
export const MapProps = {
|
|
468
475
|
zoom: {
|