@gravity-ui/page-constructor 8.19.0 → 8.20.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 (166) hide show
  1. package/build/cjs/blocks/Banner/schema.d.ts +3 -0
  2. package/build/cjs/blocks/CardLayout/schema.d.ts +529 -195
  3. package/build/cjs/blocks/CardLayout/schema.js +12 -13
  4. package/build/cjs/blocks/CardLayout/schema.js.map +1 -1
  5. package/build/cjs/blocks/Companies/schema.d.ts +88 -3
  6. package/build/cjs/blocks/Companies/schema.js +5 -20
  7. package/build/cjs/blocks/Companies/schema.js.map +1 -1
  8. package/build/cjs/blocks/ContentLayout/schema.d.ts +258 -194
  9. package/build/cjs/blocks/ContentLayout/schema.js +1 -1
  10. package/build/cjs/blocks/ContentLayout/schema.js.map +1 -1
  11. package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +311 -39
  12. package/build/cjs/blocks/ExtendedFeatures/schema.js +18 -19
  13. package/build/cjs/blocks/ExtendedFeatures/schema.js.map +1 -1
  14. package/build/cjs/blocks/Footer/schema.d.ts +3 -6
  15. package/build/cjs/blocks/Form/schema.d.ts +197 -15
  16. package/build/cjs/blocks/Form/schema.js +15 -3
  17. package/build/cjs/blocks/Form/schema.js.map +1 -1
  18. package/build/cjs/blocks/Header/schema.d.ts +461 -206
  19. package/build/cjs/blocks/Header/schema.js +18 -2
  20. package/build/cjs/blocks/Header/schema.js.map +1 -1
  21. package/build/cjs/blocks/HeaderSlider/schema.d.ts +150 -71
  22. package/build/cjs/blocks/Hero/schema.d.ts +19 -437
  23. package/build/cjs/blocks/Hero/schema.js +12 -3
  24. package/build/cjs/blocks/Hero/schema.js.map +1 -1
  25. package/build/cjs/blocks/Icons/Icons.js.map +1 -1
  26. package/build/cjs/blocks/Icons/schema.js +1 -1
  27. package/build/cjs/blocks/Icons/schema.js.map +1 -1
  28. package/build/cjs/blocks/Info/schema.d.ts +49 -1
  29. package/build/cjs/blocks/Info/schema.js +2 -2
  30. package/build/cjs/blocks/Info/schema.js.map +1 -1
  31. package/build/cjs/blocks/Map/schema.d.ts +7 -2
  32. package/build/cjs/blocks/Map/schema.js +1 -1
  33. package/build/cjs/blocks/Map/schema.js.map +1 -1
  34. package/build/cjs/blocks/Media/schema.d.ts +20 -9
  35. package/build/cjs/blocks/Media/schema.js +15 -2
  36. package/build/cjs/blocks/Media/schema.js.map +1 -1
  37. package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +2 -4
  38. package/build/cjs/blocks/Table/schema.d.ts +1 -0
  39. package/build/cjs/blocks/Table/schema.js +1 -0
  40. package/build/cjs/blocks/Table/schema.js.map +1 -1
  41. package/build/cjs/blocks/Tabs/schema.d.ts +7 -6
  42. package/build/cjs/blocks/Tabs/schema.js +1 -1
  43. package/build/cjs/blocks/Tabs/schema.js.map +1 -1
  44. package/build/cjs/components/Author/schema.d.ts +1 -2
  45. package/build/cjs/components/Image/schema.d.ts +33 -8
  46. package/build/cjs/components/Image/schema.js +22 -22
  47. package/build/cjs/components/Image/schema.js.map +1 -1
  48. package/build/cjs/models/constructor-items/blocks.d.ts +6 -5
  49. package/build/cjs/models/constructor-items/blocks.js.map +1 -1
  50. package/build/cjs/models/constructor-items/common.d.ts +1 -1
  51. package/build/cjs/models/constructor-items/common.js.map +1 -1
  52. package/build/cjs/navigation/schema.d.ts +1 -2
  53. package/build/cjs/navigation/schema.js +1 -0
  54. package/build/cjs/navigation/schema.js.map +1 -1
  55. package/build/cjs/schema/constants.d.ts +940 -29
  56. package/build/cjs/schema/constants.js +36 -40
  57. package/build/cjs/schema/constants.js.map +1 -1
  58. package/build/cjs/schema/validators/common.d.ts +11 -8
  59. package/build/cjs/schema/validators/common.js +10 -6
  60. package/build/cjs/schema/validators/common.js.map +1 -1
  61. package/build/cjs/sub-blocks/BasicCard/schema.d.ts +82 -2
  62. package/build/cjs/sub-blocks/BasicCard/schema.js +15 -1
  63. package/build/cjs/sub-blocks/BasicCard/schema.js.map +1 -1
  64. package/build/cjs/sub-blocks/Content/schema.d.ts +2 -5
  65. package/build/cjs/sub-blocks/Content/schema.js +1 -8
  66. package/build/cjs/sub-blocks/Content/schema.js.map +1 -1
  67. package/build/cjs/sub-blocks/ImageCard/schema.d.ts +33 -17
  68. package/build/cjs/sub-blocks/ImageCard/schema.js +8 -1
  69. package/build/cjs/sub-blocks/ImageCard/schema.js.map +1 -1
  70. package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +1023 -312
  71. package/build/cjs/sub-blocks/LayoutItem/schema.js +40 -9
  72. package/build/cjs/sub-blocks/LayoutItem/schema.js.map +1 -1
  73. package/build/cjs/sub-blocks/MediaCard/schema.d.ts +2 -4
  74. package/build/cjs/sub-blocks/PriceCard/schema.d.ts +5 -0
  75. package/build/cjs/sub-blocks/PriceDetailed/schema.js +1 -0
  76. package/build/cjs/sub-blocks/PriceDetailed/schema.js.map +1 -1
  77. package/build/cjs/sub-blocks/Quote/schema.d.ts +164 -6
  78. package/build/cjs/sub-blocks/Quote/schema.js +2 -0
  79. package/build/cjs/sub-blocks/Quote/schema.js.map +1 -1
  80. package/build/docs/blocks/Hero.md +15 -15
  81. package/build/docs/blocks/Icons.md +2 -2
  82. package/build/docs/blocks/Media.md +1 -1
  83. package/build/esm/blocks/Banner/schema.d.ts +3 -0
  84. package/build/esm/blocks/CardLayout/schema.d.ts +529 -195
  85. package/build/esm/blocks/CardLayout/schema.js +14 -15
  86. package/build/esm/blocks/CardLayout/schema.js.map +1 -1
  87. package/build/esm/blocks/Companies/schema.d.ts +88 -3
  88. package/build/esm/blocks/Companies/schema.js +5 -21
  89. package/build/esm/blocks/Companies/schema.js.map +1 -1
  90. package/build/esm/blocks/ContentLayout/schema.d.ts +258 -194
  91. package/build/esm/blocks/ContentLayout/schema.js +2 -2
  92. package/build/esm/blocks/ContentLayout/schema.js.map +1 -1
  93. package/build/esm/blocks/ExtendedFeatures/schema.d.ts +311 -39
  94. package/build/esm/blocks/ExtendedFeatures/schema.js +17 -18
  95. package/build/esm/blocks/ExtendedFeatures/schema.js.map +1 -1
  96. package/build/esm/blocks/Footer/schema.d.ts +3 -6
  97. package/build/esm/blocks/Form/schema.d.ts +197 -15
  98. package/build/esm/blocks/Form/schema.js +17 -5
  99. package/build/esm/blocks/Form/schema.js.map +1 -1
  100. package/build/esm/blocks/Header/schema.d.ts +446 -191
  101. package/build/esm/blocks/Header/schema.js +19 -3
  102. package/build/esm/blocks/Header/schema.js.map +1 -1
  103. package/build/esm/blocks/HeaderSlider/schema.d.ts +150 -71
  104. package/build/esm/blocks/Hero/schema.d.ts +19 -437
  105. package/build/esm/blocks/Hero/schema.js +12 -3
  106. package/build/esm/blocks/Hero/schema.js.map +1 -1
  107. package/build/esm/blocks/Icons/Icons.js.map +1 -1
  108. package/build/esm/blocks/Icons/schema.js +1 -1
  109. package/build/esm/blocks/Icons/schema.js.map +1 -1
  110. package/build/esm/blocks/Info/schema.d.ts +49 -1
  111. package/build/esm/blocks/Info/schema.js +3 -3
  112. package/build/esm/blocks/Info/schema.js.map +1 -1
  113. package/build/esm/blocks/Map/schema.d.ts +7 -2
  114. package/build/esm/blocks/Map/schema.js +1 -1
  115. package/build/esm/blocks/Map/schema.js.map +1 -1
  116. package/build/esm/blocks/Media/schema.d.ts +20 -9
  117. package/build/esm/blocks/Media/schema.js +16 -3
  118. package/build/esm/blocks/Media/schema.js.map +1 -1
  119. package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +2 -4
  120. package/build/esm/blocks/Table/schema.d.ts +1 -0
  121. package/build/esm/blocks/Table/schema.js +1 -0
  122. package/build/esm/blocks/Table/schema.js.map +1 -1
  123. package/build/esm/blocks/Tabs/schema.d.ts +7 -6
  124. package/build/esm/blocks/Tabs/schema.js +2 -2
  125. package/build/esm/blocks/Tabs/schema.js.map +1 -1
  126. package/build/esm/components/Author/schema.d.ts +1 -2
  127. package/build/esm/components/Image/schema.d.ts +33 -8
  128. package/build/esm/components/Image/schema.js +22 -22
  129. package/build/esm/components/Image/schema.js.map +1 -1
  130. package/build/esm/models/constructor-items/blocks.d.ts +6 -5
  131. package/build/esm/models/constructor-items/blocks.js.map +1 -1
  132. package/build/esm/models/constructor-items/common.d.ts +1 -1
  133. package/build/esm/models/constructor-items/common.js.map +1 -1
  134. package/build/esm/navigation/schema.d.ts +1 -2
  135. package/build/esm/navigation/schema.js +2 -1
  136. package/build/esm/navigation/schema.js.map +1 -1
  137. package/build/esm/schema/constants.d.ts +940 -29
  138. package/build/esm/schema/constants.js +37 -41
  139. package/build/esm/schema/constants.js.map +1 -1
  140. package/build/esm/schema/validators/common.d.ts +11 -8
  141. package/build/esm/schema/validators/common.js +8 -4
  142. package/build/esm/schema/validators/common.js.map +1 -1
  143. package/build/esm/sub-blocks/BasicCard/schema.d.ts +82 -2
  144. package/build/esm/sub-blocks/BasicCard/schema.js +16 -2
  145. package/build/esm/sub-blocks/BasicCard/schema.js.map +1 -1
  146. package/build/esm/sub-blocks/Content/schema.d.ts +2 -5
  147. package/build/esm/sub-blocks/Content/schema.js +1 -8
  148. package/build/esm/sub-blocks/Content/schema.js.map +1 -1
  149. package/build/esm/sub-blocks/ImageCard/schema.d.ts +33 -17
  150. package/build/esm/sub-blocks/ImageCard/schema.js +9 -2
  151. package/build/esm/sub-blocks/ImageCard/schema.js.map +1 -1
  152. package/build/esm/sub-blocks/LayoutItem/schema.d.ts +1023 -312
  153. package/build/esm/sub-blocks/LayoutItem/schema.js +37 -6
  154. package/build/esm/sub-blocks/LayoutItem/schema.js.map +1 -1
  155. package/build/esm/sub-blocks/MediaCard/schema.d.ts +2 -4
  156. package/build/esm/sub-blocks/PriceCard/schema.d.ts +5 -0
  157. package/build/esm/sub-blocks/PriceDetailed/schema.js +2 -1
  158. package/build/esm/sub-blocks/PriceDetailed/schema.js.map +1 -1
  159. package/build/esm/sub-blocks/Quote/schema.d.ts +164 -6
  160. package/build/esm/sub-blocks/Quote/schema.js +3 -1
  161. package/build/esm/sub-blocks/Quote/schema.js.map +1 -1
  162. package/package.json +1 -1
  163. package/schema/index.js +1 -1
  164. package/server/models/constructor-items/blocks.d.ts +6 -5
  165. package/server/models/constructor-items/common.d.ts +1 -1
  166. package/widget/index.js +1 -1
@@ -6,32 +6,44 @@ export declare const cardSchemas: {
6
6
  required: string[];
7
7
  properties: {
8
8
  image: {
9
- oneOf: ({
10
- type: string;
11
- properties: {
12
- when: {
13
- type: string;
14
- };
15
- };
16
- } | {
17
- type: string;
18
- pattern: string;
19
- optionName: string;
20
- items?: undefined;
21
- } | {
22
- type: string;
23
- items: {
9
+ oneOf: (({
10
+ oneOf: ({
24
11
  type: string;
25
12
  properties: {
26
13
  when: {
27
14
  type: string;
28
15
  };
29
16
  };
30
- };
17
+ } | {
18
+ optionName: string;
19
+ type: string;
20
+ pattern: string;
21
+ items?: undefined;
22
+ } | {
23
+ type: string;
24
+ items: {
25
+ type: string;
26
+ properties: {
27
+ when: {
28
+ type: string;
29
+ };
30
+ };
31
+ };
32
+ optionName: string;
33
+ })[];
34
+ } & {
35
+ optionName: string;
36
+ }) | {
37
+ type: string;
38
+ additionalProperties: boolean;
39
+ required: import("../models/index.js").Theme[];
40
+ properties: {};
31
41
  optionName: string;
32
- pattern?: undefined;
33
42
  })[];
34
43
  };
44
+ enableImageBorderRadius: {
45
+ type: string;
46
+ };
35
47
  direction: {
36
48
  type: string;
37
49
  enum: string[];
@@ -49,6 +61,10 @@ export declare const cardSchemas: {
49
61
  urlTitle: {
50
62
  type: string;
51
63
  };
64
+ target: {
65
+ type: string;
66
+ enum: string[];
67
+ };
52
68
  analyticsEvents: {
53
69
  oneOf: ({
54
70
  optionName: string;
@@ -476,6 +492,7 @@ export declare const cardSchemas: {
476
492
  theme: {
477
493
  enum: string[];
478
494
  };
495
+ required: string[];
479
496
  };
480
497
  };
481
498
  then: {
@@ -518,6 +535,10 @@ export declare const cardSchemas: {
518
535
  type: string;
519
536
  enum: string[];
520
537
  };
538
+ colorTheme: {
539
+ type: string;
540
+ enum: string[];
541
+ };
521
542
  analyticsEvents: {
522
543
  oneOf: ({
523
544
  optionName: string;
@@ -629,6 +650,659 @@ export declare const cardSchemas: {
629
650
  };
630
651
  };
631
652
  };
653
+ 'layout-item': {
654
+ type: string;
655
+ additionalProperties: boolean;
656
+ required: string[];
657
+ properties: {
658
+ media: {
659
+ type: string;
660
+ additionalProperties: boolean;
661
+ required: never[];
662
+ properties: {
663
+ color: {
664
+ type: string;
665
+ };
666
+ image: {
667
+ oneOf: ({
668
+ optionName: string;
669
+ oneOf: ({
670
+ type: string;
671
+ properties: {
672
+ when: {
673
+ type: string;
674
+ };
675
+ };
676
+ } | {
677
+ optionName: string;
678
+ type: string;
679
+ pattern: string;
680
+ items?: undefined;
681
+ } | {
682
+ type: string;
683
+ items: {
684
+ type: string;
685
+ properties: {
686
+ when: {
687
+ type: string;
688
+ };
689
+ };
690
+ };
691
+ optionName: string;
692
+ })[];
693
+ type?: undefined;
694
+ items?: undefined;
695
+ } | {
696
+ type: string;
697
+ items: {
698
+ oneOf: ({
699
+ type: string;
700
+ properties: {
701
+ when: {
702
+ type: string;
703
+ };
704
+ };
705
+ } | {
706
+ optionName: string;
707
+ type: string;
708
+ pattern: string;
709
+ items?: undefined;
710
+ } | {
711
+ type: string;
712
+ items: {
713
+ type: string;
714
+ properties: {
715
+ when: {
716
+ type: string;
717
+ };
718
+ };
719
+ };
720
+ optionName: string;
721
+ })[];
722
+ };
723
+ optionName: string;
724
+ })[];
725
+ };
726
+ disableImageSliderForArrayInput: {
727
+ type: string;
728
+ };
729
+ video: {
730
+ type: string;
731
+ additionalProperties: boolean;
732
+ required: string[];
733
+ properties: {
734
+ src: {
735
+ type: string;
736
+ items: {
737
+ type: string;
738
+ };
739
+ };
740
+ loop: {
741
+ oneOf: ({
742
+ optionName: string;
743
+ type: string;
744
+ additionalProperties: boolean;
745
+ required: string[];
746
+ properties: {
747
+ start: {
748
+ type: string;
749
+ };
750
+ end: {
751
+ type: string;
752
+ };
753
+ };
754
+ } | {
755
+ type: string;
756
+ optionName: string;
757
+ })[];
758
+ };
759
+ type: {
760
+ type: string;
761
+ enum: string[];
762
+ };
763
+ muted: {
764
+ type: string;
765
+ };
766
+ autoplay: {
767
+ type: string;
768
+ };
769
+ elapsedTime: {
770
+ type: string;
771
+ };
772
+ playButton: {
773
+ type: string;
774
+ additionalProperties: boolean;
775
+ properties: {
776
+ type: {
777
+ type: string;
778
+ enum: string[];
779
+ };
780
+ theme: {
781
+ type: string;
782
+ enum: string[];
783
+ };
784
+ text: {
785
+ type: string;
786
+ contentType: string;
787
+ };
788
+ };
789
+ };
790
+ controls: {
791
+ type: string;
792
+ enum: import("../models/index.js").MediaVideoControlsType[];
793
+ };
794
+ customControlsOptions: {
795
+ type: string;
796
+ additionalProperties: boolean;
797
+ properties: {
798
+ type: {
799
+ type: string;
800
+ enum: import("../models/index.js").CustomControlsType[];
801
+ };
802
+ muteButtonShown: {
803
+ type: string;
804
+ };
805
+ positioning: {
806
+ type: string;
807
+ enum: import("../models/index.js").CustomControlsButtonPositioning[];
808
+ };
809
+ };
810
+ };
811
+ ariaLabel: {
812
+ type: string;
813
+ };
814
+ contain: {
815
+ type: string;
816
+ };
817
+ };
818
+ };
819
+ youtube: {
820
+ type: string;
821
+ };
822
+ videoIframe: {
823
+ type: string;
824
+ };
825
+ autoplay: {
826
+ type: string;
827
+ };
828
+ parallax: {
829
+ type: string;
830
+ };
831
+ height: {
832
+ type: string;
833
+ };
834
+ previewImg: {
835
+ type: string;
836
+ };
837
+ dataLens: {
838
+ oneOf: ({
839
+ type: string;
840
+ optionName: string;
841
+ } | {
842
+ optionName: string;
843
+ type: string;
844
+ additionalProperties: boolean;
845
+ required: string[];
846
+ properties: {
847
+ id: {
848
+ type: string;
849
+ };
850
+ theme: {
851
+ type: string;
852
+ enum: string[];
853
+ };
854
+ };
855
+ })[];
856
+ };
857
+ fullscreen: {
858
+ type: string;
859
+ };
860
+ analyticsEvents: {
861
+ anyOf: ({
862
+ type: string;
863
+ additionalProperties: {
864
+ type: string;
865
+ };
866
+ required: string[];
867
+ properties: {
868
+ name: {
869
+ type: string;
870
+ };
871
+ type: {
872
+ type: string;
873
+ };
874
+ counters: {
875
+ type: string;
876
+ additionalProperties: boolean;
877
+ required: never[];
878
+ properties: {
879
+ include: {
880
+ type: string;
881
+ items: {
882
+ type: string;
883
+ };
884
+ };
885
+ exclude: {
886
+ type: string;
887
+ items: {
888
+ type: string;
889
+ };
890
+ };
891
+ };
892
+ };
893
+ context: {
894
+ type: string;
895
+ };
896
+ };
897
+ } | {
898
+ type: string;
899
+ items: {
900
+ type: string;
901
+ additionalProperties: {
902
+ type: string;
903
+ };
904
+ required: string[];
905
+ properties: {
906
+ name: {
907
+ type: string;
908
+ };
909
+ type: {
910
+ type: string;
911
+ };
912
+ counters: {
913
+ type: string;
914
+ additionalProperties: boolean;
915
+ required: never[];
916
+ properties: {
917
+ include: {
918
+ type: string;
919
+ items: {
920
+ type: string;
921
+ };
922
+ };
923
+ exclude: {
924
+ type: string;
925
+ items: {
926
+ type: string;
927
+ };
928
+ };
929
+ };
930
+ };
931
+ context: {
932
+ type: string;
933
+ };
934
+ };
935
+ };
936
+ })[];
937
+ };
938
+ ratio: {
939
+ type: string[];
940
+ pattern: string;
941
+ };
942
+ iframe: {
943
+ type: string;
944
+ additionalProperties: boolean;
945
+ required: string[];
946
+ properties: {
947
+ src: {
948
+ type: string;
949
+ };
950
+ name: {
951
+ type: string;
952
+ };
953
+ title: {
954
+ type: string;
955
+ };
956
+ height: {
957
+ type: string;
958
+ };
959
+ width: {
960
+ type: string;
961
+ };
962
+ };
963
+ };
964
+ margins: {
965
+ type: string;
966
+ };
967
+ };
968
+ };
969
+ content: {
970
+ type: string;
971
+ additionalProperties: boolean;
972
+ required: never[];
973
+ properties: {
974
+ title: {
975
+ oneOf: ({
976
+ type: string;
977
+ contentType: string;
978
+ optionName: string;
979
+ } | {
980
+ optionName: string;
981
+ type: string;
982
+ additionalProperties: boolean;
983
+ required: string[];
984
+ properties: {
985
+ text: {
986
+ type: string;
987
+ contentType: string;
988
+ };
989
+ textSize: {
990
+ type: string;
991
+ enum: string[];
992
+ };
993
+ url: {
994
+ type: string;
995
+ };
996
+ urlTitle: {
997
+ type: string;
998
+ };
999
+ resetMargin: {
1000
+ type: string;
1001
+ };
1002
+ analyticsEvents: {
1003
+ anyOf: ({
1004
+ type: string;
1005
+ additionalProperties: {
1006
+ type: string;
1007
+ };
1008
+ required: string[];
1009
+ properties: {
1010
+ name: {
1011
+ type: string;
1012
+ };
1013
+ type: {
1014
+ type: string;
1015
+ };
1016
+ counters: {
1017
+ type: string;
1018
+ additionalProperties: boolean;
1019
+ required: never[];
1020
+ properties: {
1021
+ include: {
1022
+ type: string;
1023
+ items: {
1024
+ type: string;
1025
+ };
1026
+ };
1027
+ exclude: {
1028
+ type: string;
1029
+ items: {
1030
+ type: string;
1031
+ };
1032
+ };
1033
+ };
1034
+ };
1035
+ context: {
1036
+ type: string;
1037
+ };
1038
+ };
1039
+ } | {
1040
+ type: string;
1041
+ items: {
1042
+ type: string;
1043
+ additionalProperties: {
1044
+ type: string;
1045
+ };
1046
+ required: string[];
1047
+ properties: {
1048
+ name: {
1049
+ type: string;
1050
+ };
1051
+ type: {
1052
+ type: string;
1053
+ };
1054
+ counters: {
1055
+ type: string;
1056
+ additionalProperties: boolean;
1057
+ required: never[];
1058
+ properties: {
1059
+ include: {
1060
+ type: string;
1061
+ items: {
1062
+ type: string;
1063
+ };
1064
+ };
1065
+ exclude: {
1066
+ type: string;
1067
+ items: {
1068
+ type: string;
1069
+ };
1070
+ };
1071
+ };
1072
+ };
1073
+ context: {
1074
+ type: string;
1075
+ };
1076
+ };
1077
+ };
1078
+ })[];
1079
+ };
1080
+ };
1081
+ contentType?: undefined;
1082
+ })[];
1083
+ };
1084
+ text: {
1085
+ type: string;
1086
+ contentType: string;
1087
+ inputType: string;
1088
+ };
1089
+ additionalInfo: {
1090
+ type: string;
1091
+ contentType: string;
1092
+ };
1093
+ size: {
1094
+ type: string;
1095
+ enum: string[];
1096
+ };
1097
+ links: {
1098
+ type: string;
1099
+ items: {
1100
+ type: string;
1101
+ properties: {
1102
+ when: {
1103
+ type: string;
1104
+ };
1105
+ };
1106
+ };
1107
+ };
1108
+ buttons: {
1109
+ type: string;
1110
+ items: {
1111
+ type: string;
1112
+ properties: {
1113
+ when: {
1114
+ type: string;
1115
+ };
1116
+ };
1117
+ };
1118
+ };
1119
+ theme: {
1120
+ type: string;
1121
+ enum: string[];
1122
+ };
1123
+ list: {
1124
+ type: string;
1125
+ items: {
1126
+ type: string;
1127
+ properties: {
1128
+ when: {
1129
+ type: string;
1130
+ };
1131
+ };
1132
+ };
1133
+ };
1134
+ controlPosition: {
1135
+ type: string;
1136
+ enum: string[];
1137
+ };
1138
+ };
1139
+ };
1140
+ contentMargin: {
1141
+ type: string;
1142
+ enum: string[];
1143
+ default: string;
1144
+ };
1145
+ metaInfo: {
1146
+ type: string;
1147
+ items: {
1148
+ type: string;
1149
+ contentType: string;
1150
+ };
1151
+ };
1152
+ border: {
1153
+ type: string;
1154
+ };
1155
+ fullscreen: {
1156
+ type: string;
1157
+ };
1158
+ icon: {
1159
+ oneOf: (({
1160
+ type: string;
1161
+ additionalProperties: boolean;
1162
+ required: string[];
1163
+ properties: {
1164
+ value: {
1165
+ oneOf: ({
1166
+ type: string;
1167
+ properties: {
1168
+ when: {
1169
+ type: string;
1170
+ };
1171
+ };
1172
+ } | {
1173
+ optionName: string;
1174
+ type: string;
1175
+ pattern: string;
1176
+ items?: undefined;
1177
+ } | {
1178
+ type: string;
1179
+ items: {
1180
+ type: string;
1181
+ properties: {
1182
+ when: {
1183
+ type: string;
1184
+ };
1185
+ };
1186
+ };
1187
+ optionName: string;
1188
+ })[];
1189
+ };
1190
+ position: {
1191
+ type: string;
1192
+ enum: import("../models/index.js").IconPosition[];
1193
+ };
1194
+ };
1195
+ } & {
1196
+ optionName: string;
1197
+ }) | {
1198
+ type: string;
1199
+ additionalProperties: boolean;
1200
+ required: import("../models/index.js").Theme[];
1201
+ properties: {};
1202
+ optionName: string;
1203
+ })[];
1204
+ };
1205
+ url: {
1206
+ type: string;
1207
+ };
1208
+ urlTitle: {
1209
+ type: string;
1210
+ };
1211
+ target: {
1212
+ type: string;
1213
+ enum: string[];
1214
+ };
1215
+ analyticsEvents: {
1216
+ oneOf: ({
1217
+ optionName: string;
1218
+ type: string;
1219
+ additionalProperties: {
1220
+ type: string;
1221
+ };
1222
+ required: string[];
1223
+ properties: {
1224
+ name: {
1225
+ type: string;
1226
+ };
1227
+ type: {
1228
+ type: string;
1229
+ };
1230
+ counters: {
1231
+ type: string;
1232
+ additionalProperties: boolean;
1233
+ required: never[];
1234
+ properties: {
1235
+ include: {
1236
+ type: string;
1237
+ items: {
1238
+ type: string;
1239
+ };
1240
+ };
1241
+ exclude: {
1242
+ type: string;
1243
+ items: {
1244
+ type: string;
1245
+ };
1246
+ };
1247
+ };
1248
+ };
1249
+ context: {
1250
+ type: string;
1251
+ };
1252
+ };
1253
+ items?: undefined;
1254
+ } | {
1255
+ type: string;
1256
+ items: {
1257
+ type: string;
1258
+ additionalProperties: {
1259
+ type: string;
1260
+ };
1261
+ required: string[];
1262
+ properties: {
1263
+ name: {
1264
+ type: string;
1265
+ };
1266
+ type: {
1267
+ type: string;
1268
+ };
1269
+ counters: {
1270
+ type: string;
1271
+ additionalProperties: boolean;
1272
+ required: never[];
1273
+ properties: {
1274
+ include: {
1275
+ type: string;
1276
+ items: {
1277
+ type: string;
1278
+ };
1279
+ };
1280
+ exclude: {
1281
+ type: string;
1282
+ items: {
1283
+ type: string;
1284
+ };
1285
+ };
1286
+ };
1287
+ };
1288
+ context: {
1289
+ type: string;
1290
+ };
1291
+ };
1292
+ };
1293
+ optionName: string;
1294
+ })[];
1295
+ };
1296
+ controlPosition: {
1297
+ type: string;
1298
+ enum: string[];
1299
+ };
1300
+ type: {};
1301
+ when: {
1302
+ type: string;
1303
+ };
1304
+ };
1305
+ };
632
1306
  'basic-card': {
633
1307
  additionalProperties: boolean;
634
1308
  required: never[];
@@ -648,9 +1322,9 @@ export declare const cardSchemas: {
648
1322
  };
649
1323
  };
650
1324
  } | {
1325
+ optionName: string;
651
1326
  type: string;
652
1327
  pattern: string;
653
- optionName: string;
654
1328
  items?: undefined;
655
1329
  } | {
656
1330
  type: string;
@@ -663,7 +1337,6 @@ export declare const cardSchemas: {
663
1337
  };
664
1338
  };
665
1339
  optionName: string;
666
- pattern?: undefined;
667
1340
  })[];
668
1341
  };
669
1342
  gravityIcon: {
@@ -702,6 +1375,87 @@ export declare const cardSchemas: {
702
1375
  hoverBackgroundColor: {
703
1376
  type: string;
704
1377
  };
1378
+ analyticsEvents: {
1379
+ oneOf: ({
1380
+ optionName: string;
1381
+ type: string;
1382
+ additionalProperties: {
1383
+ type: string;
1384
+ };
1385
+ required: string[];
1386
+ properties: {
1387
+ name: {
1388
+ type: string;
1389
+ };
1390
+ type: {
1391
+ type: string;
1392
+ };
1393
+ counters: {
1394
+ type: string;
1395
+ additionalProperties: boolean;
1396
+ required: never[];
1397
+ properties: {
1398
+ include: {
1399
+ type: string;
1400
+ items: {
1401
+ type: string;
1402
+ };
1403
+ };
1404
+ exclude: {
1405
+ type: string;
1406
+ items: {
1407
+ type: string;
1408
+ };
1409
+ };
1410
+ };
1411
+ };
1412
+ context: {
1413
+ type: string;
1414
+ };
1415
+ };
1416
+ items?: undefined;
1417
+ } | {
1418
+ type: string;
1419
+ items: {
1420
+ type: string;
1421
+ additionalProperties: {
1422
+ type: string;
1423
+ };
1424
+ required: string[];
1425
+ properties: {
1426
+ name: {
1427
+ type: string;
1428
+ };
1429
+ type: {
1430
+ type: string;
1431
+ };
1432
+ counters: {
1433
+ type: string;
1434
+ additionalProperties: boolean;
1435
+ required: never[];
1436
+ properties: {
1437
+ include: {
1438
+ type: string;
1439
+ items: {
1440
+ type: string;
1441
+ };
1442
+ };
1443
+ exclude: {
1444
+ type: string;
1445
+ items: {
1446
+ type: string;
1447
+ };
1448
+ };
1449
+ };
1450
+ };
1451
+ context: {
1452
+ type: string;
1453
+ };
1454
+ };
1455
+ };
1456
+ optionName: string;
1457
+ })[];
1458
+ };
705
1459
  title: {
706
1460
  oneOf: ({
707
1461
  type: string;
@@ -890,9 +1644,9 @@ export declare const cardSchemas: {
890
1644
  };
891
1645
  };
892
1646
  } | {
1647
+ optionName: string;
893
1648
  type: string;
894
1649
  pattern: string;
895
- optionName: string;
896
1650
  items?: undefined;
897
1651
  } | {
898
1652
  type: string;
@@ -905,7 +1659,6 @@ export declare const cardSchemas: {
905
1659
  };
906
1660
  };
907
1661
  optionName: string;
908
- pattern?: undefined;
909
1662
  })[];
910
1663
  } & {
911
1664
  optionName: string;
@@ -926,9 +1679,9 @@ export declare const cardSchemas: {
926
1679
  };
927
1680
  };
928
1681
  } | {
1682
+ optionName: string;
929
1683
  type: string;
930
1684
  pattern: string;
931
- optionName: string;
932
1685
  items?: undefined;
933
1686
  } | {
934
1687
  type: string;
@@ -941,7 +1694,6 @@ export declare const cardSchemas: {
941
1694
  };
942
1695
  };
943
1696
  optionName: string;
944
- pattern?: undefined;
945
1697
  })[];
946
1698
  };
947
1699
  color: {
@@ -956,6 +1708,163 @@ export declare const cardSchemas: {
956
1708
  buttonText: {
957
1709
  type: string;
958
1710
  };
1711
+ button: {
1712
+ type: string;
1713
+ additionalProperties: boolean;
1714
+ properties: {
1715
+ text: {
1716
+ type: string;
1717
+ contentType: string;
1718
+ };
1719
+ url: {
1720
+ type: string;
1721
+ };
1722
+ urlTitle: {
1723
+ type: string;
1724
+ };
1725
+ primary: {
1726
+ type: string;
1727
+ };
1728
+ size: {
1729
+ type: string;
1730
+ enum: string[];
1731
+ };
1732
+ theme: {
1733
+ type: string;
1734
+ enum: string[];
1735
+ };
1736
+ img: {
1737
+ oneOf: ({
1738
+ type: string;
1739
+ optionName: string;
1740
+ additionalProperties?: undefined;
1741
+ required?: undefined;
1742
+ properties?: undefined;
1743
+ } | {
1744
+ type: string;
1745
+ additionalProperties: boolean;
1746
+ required: string[];
1747
+ properties: {
1748
+ data: {
1749
+ type: string;
1750
+ };
1751
+ position: {
1752
+ type: string;
1753
+ enum: string[];
1754
+ };
1755
+ alt: {
1756
+ type: string;
1757
+ contentType: string;
1758
+ };
1759
+ };
1760
+ optionName: string;
1761
+ })[];
1762
+ };
1763
+ analyticsEvents: {
1764
+ oneOf: ({
1765
+ optionName: string;
1766
+ type: string;
1767
+ additionalProperties: {
1768
+ type: string;
1769
+ };
1770
+ required: string[];
1771
+ properties: {
1772
+ name: {
1773
+ type: string;
1774
+ };
1775
+ type: {
1776
+ type: string;
1777
+ };
1778
+ counters: {
1779
+ type: string;
1780
+ additionalProperties: boolean;
1781
+ required: never[];
1782
+ properties: {
1783
+ include: {
1784
+ type: string;
1785
+ items: {
1786
+ type: string;
1787
+ };
1788
+ };
1789
+ exclude: {
1790
+ type: string;
1791
+ items: {
1792
+ type: string;
1793
+ };
1794
+ };
1795
+ };
1796
+ };
1797
+ context: {
1798
+ type: string;
1799
+ };
1800
+ };
1801
+ items?: undefined;
1802
+ } | {
1803
+ type: string;
1804
+ items: {
1805
+ type: string;
1806
+ additionalProperties: {
1807
+ type: string;
1808
+ };
1809
+ required: string[];
1810
+ properties: {
1811
+ name: {
1812
+ type: string;
1813
+ };
1814
+ type: {
1815
+ type: string;
1816
+ };
1817
+ counters: {
1818
+ type: string;
1819
+ additionalProperties: boolean;
1820
+ required: never[];
1821
+ properties: {
1822
+ include: {
1823
+ type: string;
1824
+ items: {
1825
+ type: string;
1826
+ };
1827
+ };
1828
+ exclude: {
1829
+ type: string;
1830
+ items: {
1831
+ type: string;
1832
+ };
1833
+ };
1834
+ };
1835
+ };
1836
+ context: {
1837
+ type: string;
1838
+ };
1839
+ };
1840
+ };
1841
+ optionName: string;
1842
+ })[];
1843
+ };
1844
+ target: {
1845
+ type: string;
1846
+ enum: string[];
1847
+ };
1848
+ width: {
1849
+ type: string;
1850
+ enum: string[];
1851
+ };
1852
+ };
1853
+ if: {
1854
+ properties: {
1855
+ theme: {
1856
+ enum: string[];
1857
+ };
1858
+ required: string[];
1859
+ };
1860
+ };
1861
+ then: {
1862
+ required: string[];
1863
+ };
1864
+ else: {
1865
+ required: string[];
1866
+ };
1867
+ };
959
1868
  theme: {
960
1869
  type: string;
961
1870
  enum: string[];
@@ -981,9 +1890,9 @@ export declare const cardSchemas: {
981
1890
  };
982
1891
  };
983
1892
  } | {
1893
+ optionName: string;
984
1894
  type: string;
985
1895
  pattern: string;
986
- optionName: string;
987
1896
  items?: undefined;
988
1897
  } | {
989
1898
  type: string;
@@ -996,7 +1905,6 @@ export declare const cardSchemas: {
996
1905
  };
997
1906
  };
998
1907
  optionName: string;
999
- pattern?: undefined;
1000
1908
  })[];
1001
1909
  };
1002
1910
  description: {
@@ -1009,6 +1917,10 @@ export declare const cardSchemas: {
1009
1917
  type: string;
1010
1918
  enum: import("../models/index.js").QuoteType[];
1011
1919
  };
1920
+ border: {
1921
+ type: string;
1922
+ enum: string[];
1923
+ };
1012
1924
  type: {};
1013
1925
  when: {
1014
1926
  type: string;
@@ -1660,6 +2572,7 @@ export declare const cardSchemas: {
1660
2572
  theme: {
1661
2573
  enum: string[];
1662
2574
  };
2575
+ required: string[];
1663
2576
  };
1664
2577
  };
1665
2578
  then: {
@@ -1780,9 +2693,9 @@ export declare const cardSchemas: {
1780
2693
  };
1781
2694
  };
1782
2695
  } | {
2696
+ optionName: string;
1783
2697
  type: string;
1784
2698
  pattern: string;
1785
- optionName: string;
1786
2699
  items?: undefined;
1787
2700
  } | {
1788
2701
  type: string;
@@ -1795,7 +2708,6 @@ export declare const cardSchemas: {
1795
2708
  };
1796
2709
  };
1797
2710
  optionName: string;
1798
- pattern?: undefined;
1799
2711
  })[];
1800
2712
  type?: undefined;
1801
2713
  items?: undefined;
@@ -1810,9 +2722,9 @@ export declare const cardSchemas: {
1810
2722
  };
1811
2723
  };
1812
2724
  } | {
2725
+ optionName: string;
1813
2726
  type: string;
1814
2727
  pattern: string;
1815
- optionName: string;
1816
2728
  items?: undefined;
1817
2729
  } | {
1818
2730
  type: string;
@@ -1825,7 +2737,6 @@ export declare const cardSchemas: {
1825
2737
  };
1826
2738
  };
1827
2739
  optionName: string;
1828
- pattern?: undefined;
1829
2740
  })[];
1830
2741
  };
1831
2742
  optionName: string;