@wix/form-public 0.181.0 → 0.182.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/dist/index.cjs CHANGED
@@ -747,7 +747,7 @@ var init_types_impl = __esm({
747
747
  });
748
748
 
749
749
  // ../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/common.enums.js
750
- var TextStyle_TextAlignment, Link_Target, PluginContainerData_Alignment;
750
+ var TextStyle_TextAlignment, Link_Target, PluginContainerData_Alignment, Gradient_Type;
751
751
  var init_common_enums = __esm({
752
752
  "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/common.enums.js"() {
753
753
  TextStyle_TextAlignment = /* @__PURE__ */ ((TextStyle_TextAlignment2) => {
@@ -774,6 +774,12 @@ var init_common_enums = __esm({
774
774
  PluginContainerData_Alignment2["UNRECOGNIZED"] = "UNRECOGNIZED";
775
775
  return PluginContainerData_Alignment2;
776
776
  })(PluginContainerData_Alignment || {});
777
+ Gradient_Type = /* @__PURE__ */ ((Gradient_Type2) => {
778
+ Gradient_Type2["LINEAR"] = "LINEAR";
779
+ Gradient_Type2["RADIAL"] = "RADIAL";
780
+ Gradient_Type2["UNRECOGNIZED"] = "UNRECOGNIZED";
781
+ return Gradient_Type2;
782
+ })(Gradient_Type || {});
777
783
  }
778
784
  });
779
785
  var init_common = __esm({
@@ -781,7 +787,10 @@ var init_common = __esm({
781
787
  init_common_enums();
782
788
  ({ textAlignment: TextStyle_TextAlignment.AUTO });
783
789
  ({ target: Link_Target.SELF });
784
- ({ alignment: PluginContainerData_Alignment.CENTER });
790
+ ({
791
+ alignment: PluginContainerData_Alignment.CENTER
792
+ });
793
+ ({ type: Gradient_Type.LINEAR });
785
794
  }
786
795
  });
787
796
 
@@ -852,6 +861,51 @@ var init_node_caption = __esm({
852
861
  }
853
862
  });
854
863
 
864
+ // ../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/node_card.enums.js
865
+ var CardData_ImageScaling_Scaling, CardData_ImagePosition_Position, CardData_Background_Type;
866
+ var init_node_card_enums = __esm({
867
+ "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/node_card.enums.js"() {
868
+ CardData_ImageScaling_Scaling = /* @__PURE__ */ ((CardData_ImageScaling_Scaling2) => {
869
+ CardData_ImageScaling_Scaling2["AUTO"] = "AUTO";
870
+ CardData_ImageScaling_Scaling2["CONTAIN"] = "CONTAIN";
871
+ CardData_ImageScaling_Scaling2["COVER"] = "COVER";
872
+ CardData_ImageScaling_Scaling2["UNRECOGNIZED"] = "UNRECOGNIZED";
873
+ return CardData_ImageScaling_Scaling2;
874
+ })(CardData_ImageScaling_Scaling || {});
875
+ CardData_ImagePosition_Position = /* @__PURE__ */ ((CardData_ImagePosition_Position2) => {
876
+ CardData_ImagePosition_Position2["CENTER"] = "CENTER";
877
+ CardData_ImagePosition_Position2["CENTER_LEFT"] = "CENTER_LEFT";
878
+ CardData_ImagePosition_Position2["CENTER_RIGHT"] = "CENTER_RIGHT";
879
+ CardData_ImagePosition_Position2["TOP"] = "TOP";
880
+ CardData_ImagePosition_Position2["TOP_LEFT"] = "TOP_LEFT";
881
+ CardData_ImagePosition_Position2["TOP_RIGHT"] = "TOP_RIGHT";
882
+ CardData_ImagePosition_Position2["BOTTOM"] = "BOTTOM";
883
+ CardData_ImagePosition_Position2["BOTTOM_LEFT"] = "BOTTOM_LEFT";
884
+ CardData_ImagePosition_Position2["BOTTOM_RIGHT"] = "BOTTOM_RIGHT";
885
+ CardData_ImagePosition_Position2["UNRECOGNIZED"] = "UNRECOGNIZED";
886
+ return CardData_ImagePosition_Position2;
887
+ })(CardData_ImagePosition_Position || {});
888
+ CardData_Background_Type = /* @__PURE__ */ ((CardData_Background_Type2) => {
889
+ CardData_Background_Type2["COLOR"] = "COLOR";
890
+ CardData_Background_Type2["GRADIENT"] = "GRADIENT";
891
+ CardData_Background_Type2["UNRECOGNIZED"] = "UNRECOGNIZED";
892
+ return CardData_Background_Type2;
893
+ })(CardData_Background_Type || {});
894
+ }
895
+ });
896
+ var init_node_card = __esm({
897
+ "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/node_card.js"() {
898
+ init_node_card_enums();
899
+ ({
900
+ scaling: CardData_ImageScaling_Scaling.AUTO,
901
+ position: CardData_ImagePosition_Position.CENTER
902
+ });
903
+ ({
904
+ type: CardData_Background_Type.COLOR
905
+ });
906
+ }
907
+ });
908
+
855
909
  // ../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/node_code_block.js
856
910
  var init_node_code_block = __esm({
857
911
  "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/node_code_block.js"() {
@@ -865,7 +919,7 @@ var init_node_heading = __esm({
865
919
  });
866
920
 
867
921
  // ../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/node_layout.enums.js
868
- var LayoutData_ImagePosition, LayoutData_ResponsivenessBehaviour, LayoutData_VerticalAlignment_Alignment, LayoutData_ImageScaling_Scaling;
922
+ var LayoutData_ImagePosition, LayoutData_ResponsivenessBehaviour, LayoutData_DesignTarget, LayoutData_VerticalAlignment_Alignment, LayoutData_ImageScaling_Scaling, LayoutData_Banner_Origin, LayoutData_Background_Type, LayoutData_Backdrop_Type;
869
923
  var init_node_layout_enums = __esm({
870
924
  "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/node_layout.enums.js"() {
871
925
  LayoutData_ImagePosition = /* @__PURE__ */ ((LayoutData_ImagePosition2) => {
@@ -887,6 +941,12 @@ var init_node_layout_enums = __esm({
887
941
  LayoutData_ResponsivenessBehaviour2["UNRECOGNIZED"] = "UNRECOGNIZED";
888
942
  return LayoutData_ResponsivenessBehaviour2;
889
943
  })(LayoutData_ResponsivenessBehaviour || {});
944
+ LayoutData_DesignTarget = /* @__PURE__ */ ((LayoutData_DesignTarget2) => {
945
+ LayoutData_DesignTarget2["LAYOUT"] = "LAYOUT";
946
+ LayoutData_DesignTarget2["CELL"] = "CELL";
947
+ LayoutData_DesignTarget2["UNRECOGNIZED"] = "UNRECOGNIZED";
948
+ return LayoutData_DesignTarget2;
949
+ })(LayoutData_DesignTarget || {});
890
950
  LayoutData_VerticalAlignment_Alignment = /* @__PURE__ */ ((LayoutData_VerticalAlignment_Alignment2) => {
891
951
  LayoutData_VerticalAlignment_Alignment2["TOP"] = "TOP";
892
952
  LayoutData_VerticalAlignment_Alignment2["MIDDLE"] = "MIDDLE";
@@ -901,6 +961,24 @@ var init_node_layout_enums = __esm({
901
961
  LayoutData_ImageScaling_Scaling2["UNRECOGNIZED"] = "UNRECOGNIZED";
902
962
  return LayoutData_ImageScaling_Scaling2;
903
963
  })(LayoutData_ImageScaling_Scaling || {});
964
+ LayoutData_Banner_Origin = /* @__PURE__ */ ((LayoutData_Banner_Origin2) => {
965
+ LayoutData_Banner_Origin2["IMAGE"] = "IMAGE";
966
+ LayoutData_Banner_Origin2["LAYOUT"] = "LAYOUT";
967
+ LayoutData_Banner_Origin2["UNRECOGNIZED"] = "UNRECOGNIZED";
968
+ return LayoutData_Banner_Origin2;
969
+ })(LayoutData_Banner_Origin || {});
970
+ LayoutData_Background_Type = /* @__PURE__ */ ((LayoutData_Background_Type2) => {
971
+ LayoutData_Background_Type2["COLOR"] = "COLOR";
972
+ LayoutData_Background_Type2["GRADIENT"] = "GRADIENT";
973
+ LayoutData_Background_Type2["UNRECOGNIZED"] = "UNRECOGNIZED";
974
+ return LayoutData_Background_Type2;
975
+ })(LayoutData_Background_Type || {});
976
+ LayoutData_Backdrop_Type = /* @__PURE__ */ ((LayoutData_Backdrop_Type2) => {
977
+ LayoutData_Backdrop_Type2["COLOR"] = "COLOR";
978
+ LayoutData_Backdrop_Type2["GRADIENT"] = "GRADIENT";
979
+ LayoutData_Backdrop_Type2["UNRECOGNIZED"] = "UNRECOGNIZED";
980
+ return LayoutData_Backdrop_Type2;
981
+ })(LayoutData_Backdrop_Type || {});
904
982
  }
905
983
  });
906
984
  var init_node_layout = __esm({
@@ -909,12 +987,22 @@ var init_node_layout = __esm({
909
987
  ({
910
988
  cellPadding: 0,
911
989
  cellVerticalAlignment: LayoutData_VerticalAlignment_Alignment.TOP,
912
- responsivenessBehaviour: LayoutData_ResponsivenessBehaviour.STACK
990
+ responsivenessBehaviour: LayoutData_ResponsivenessBehaviour.STACK,
991
+ designTarget: LayoutData_DesignTarget.LAYOUT
913
992
  });
914
993
  ({
915
994
  scaling: LayoutData_ImageScaling_Scaling.AUTO,
916
995
  position: LayoutData_ImagePosition.CENTER
917
996
  });
997
+ ({
998
+ origin: LayoutData_Banner_Origin.IMAGE
999
+ });
1000
+ ({
1001
+ type: LayoutData_Background_Type.COLOR
1002
+ });
1003
+ ({
1004
+ type: LayoutData_Backdrop_Type.COLOR
1005
+ });
918
1006
  }
919
1007
  });
920
1008
 
@@ -1020,7 +1108,7 @@ var init_plugin_audio = __esm({
1020
1108
  });
1021
1109
 
1022
1110
  // ../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/plugin_button.enums.js
1023
- var ButtonData_Type;
1111
+ var ButtonData_Type, ButtonData_Styles_Background_Type;
1024
1112
  var init_plugin_button_enums = __esm({
1025
1113
  "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/plugin_button.enums.js"() {
1026
1114
  ButtonData_Type = /* @__PURE__ */ ((ButtonData_Type2) => {
@@ -1029,12 +1117,21 @@ var init_plugin_button_enums = __esm({
1029
1117
  ButtonData_Type2["UNRECOGNIZED"] = "UNRECOGNIZED";
1030
1118
  return ButtonData_Type2;
1031
1119
  })(ButtonData_Type || {});
1120
+ ButtonData_Styles_Background_Type = /* @__PURE__ */ ((ButtonData_Styles_Background_Type2) => {
1121
+ ButtonData_Styles_Background_Type2["COLOR"] = "COLOR";
1122
+ ButtonData_Styles_Background_Type2["GRADIENT"] = "GRADIENT";
1123
+ ButtonData_Styles_Background_Type2["UNRECOGNIZED"] = "UNRECOGNIZED";
1124
+ return ButtonData_Styles_Background_Type2;
1125
+ })(ButtonData_Styles_Background_Type || {});
1032
1126
  }
1033
1127
  });
1034
1128
  var init_plugin_button = __esm({
1035
1129
  "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/plugin_button.js"() {
1036
1130
  init_plugin_button_enums();
1037
1131
  ({ type: ButtonData_Type.LINK });
1132
+ ({
1133
+ type: ButtonData_Styles_Background_Type.COLOR
1134
+ });
1038
1135
  }
1039
1136
  });
1040
1137
 
@@ -1128,7 +1225,9 @@ var init_plugin_file_enums = __esm({
1128
1225
  var init_plugin_file = __esm({
1129
1226
  "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/plugin_file.js"() {
1130
1227
  init_plugin_file_enums();
1131
- ({ viewMode: FileData_PDFSettings_ViewMode.NONE });
1228
+ ({
1229
+ viewMode: FileData_PDFSettings_ViewMode.NONE
1230
+ });
1132
1231
  }
1133
1232
  });
1134
1233
 
@@ -1180,7 +1279,9 @@ var init_plugin_gallery = __esm({
1180
1279
  type: GalleryOptions_Layout_Type.COLLAGE,
1181
1280
  orientation: GalleryOptions_Layout_Orientation.ROWS
1182
1281
  });
1183
- ({ crop: GalleryOptions_ItemStyle_Crop.FILL });
1282
+ ({
1283
+ crop: GalleryOptions_ItemStyle_Crop.FILL
1284
+ });
1184
1285
  ({
1185
1286
  placement: GalleryOptions_Thumbnails_Alignment.TOP
1186
1287
  });
@@ -1202,7 +1303,11 @@ var init_plugin_gif_enums = __esm({
1202
1303
  var init_plugin_gif = __esm({
1203
1304
  "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/plugin_gif.js"() {
1204
1305
  init_plugin_gif_enums();
1205
- ({ height: 0, width: 0, gifType: GIFData_GIFType.NORMAL });
1306
+ ({
1307
+ height: 0,
1308
+ width: 0,
1309
+ gifType: GIFData_GIFType.NORMAL
1310
+ });
1206
1311
  }
1207
1312
  });
1208
1313
 
@@ -1331,6 +1436,12 @@ var init_plugin_poll = __esm({
1331
1436
  }
1332
1437
  });
1333
1438
 
1439
+ // ../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/plugin_shape.js
1440
+ var init_plugin_shape = __esm({
1441
+ "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/plugin_shape.js"() {
1442
+ }
1443
+ });
1444
+
1334
1445
  // ../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/plugin_table.js
1335
1446
  var init_plugin_table = __esm({
1336
1447
  "../../node_modules/@wix/ricos/dist/es/ricos-schema/legacy/wix/rich_content/v1/plugin_table.js"() {
@@ -1403,6 +1514,8 @@ var init_rich_content_enums = __esm({
1403
1514
  Node_Type2["CAPTION"] = "CAPTION";
1404
1515
  Node_Type2["LAYOUT"] = "LAYOUT";
1405
1516
  Node_Type2["LAYOUT_CELL"] = "LAYOUT_CELL";
1517
+ Node_Type2["SHAPE"] = "SHAPE";
1518
+ Node_Type2["CARD"] = "CARD";
1406
1519
  Node_Type2["UNRECOGNIZED"] = "UNRECOGNIZED";
1407
1520
  return Node_Type2;
1408
1521
  })(Node_Type || {});
@@ -1461,6 +1574,8 @@ var init_v1 = __esm({
1461
1574
  init_decoration_spoiler();
1462
1575
  init_node_blockquote();
1463
1576
  init_node_caption();
1577
+ init_node_card_enums();
1578
+ init_node_card();
1464
1579
  init_node_code_block();
1465
1580
  init_node_heading();
1466
1581
  init_node_layout_enums();
@@ -1493,6 +1608,7 @@ var init_v1 = __esm({
1493
1608
  init_plugin_map();
1494
1609
  init_plugin_poll_enums();
1495
1610
  init_plugin_poll();
1611
+ init_plugin_shape();
1496
1612
  init_plugin_table();
1497
1613
  init_plugin_table_cell_enums();
1498
1614
  init_plugin_table_cell();