@makeswift/runtime 0.10.12 → 0.10.14

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 (101) hide show
  1. package/dist/Box.cjs.js +2 -2
  2. package/dist/Box.es.js +3 -3
  3. package/dist/Button.cjs.js +2 -2
  4. package/dist/Button.es.js +3 -3
  5. package/dist/Carousel.cjs.js +2 -2
  6. package/dist/Carousel.es.js +3 -3
  7. package/dist/Countdown.cjs.js +1 -1
  8. package/dist/Countdown.es.js +2 -2
  9. package/dist/Divider.cjs.js +2 -2
  10. package/dist/Divider.es.js +3 -3
  11. package/dist/Embed.es.js +1 -1
  12. package/dist/Form.cjs.js +1 -1
  13. package/dist/Form.es.js +2 -2
  14. package/dist/Image.cjs.js +1 -1
  15. package/dist/Image.es.js +2 -2
  16. package/dist/LiveProvider.cjs.js +2 -2
  17. package/dist/LiveProvider.es.js +3 -3
  18. package/dist/Navigation.cjs.js +2 -2
  19. package/dist/Navigation.es.js +3 -3
  20. package/dist/PreviewProvider.cjs.js +2 -2
  21. package/dist/PreviewProvider.es.js +3 -3
  22. package/dist/ReadOnlyText.cjs.js +1 -1
  23. package/dist/ReadOnlyText.es.js +2 -2
  24. package/dist/ReadOnlyTextV2.cjs.js +1 -1
  25. package/dist/ReadOnlyTextV2.es.js +2 -2
  26. package/dist/Root.cjs.js +1 -1
  27. package/dist/Root.es.js +2 -2
  28. package/dist/SocialLinks.cjs.js +2 -2
  29. package/dist/SocialLinks.es.js +3 -3
  30. package/dist/Video.es.js +1 -1
  31. package/dist/components.cjs.js +1 -1
  32. package/dist/components.es.js +1 -1
  33. package/dist/control-serialization.cjs.js +1 -1
  34. package/dist/control-serialization.es.js +2 -2
  35. package/dist/controls.cjs.js +13 -10
  36. package/dist/controls.cjs.js.map +1 -1
  37. package/dist/controls.es.js +2 -2
  38. package/dist/index.cjs.js +30 -11
  39. package/dist/index.cjs.js.map +1 -1
  40. package/dist/index.cjs2.js +37 -6
  41. package/dist/index.cjs2.js.map +1 -1
  42. package/dist/index.cjs8.js +1 -1
  43. package/dist/index.cjs9.js +1 -1
  44. package/dist/index.es.js +23 -4
  45. package/dist/index.es.js.map +1 -1
  46. package/dist/index.es2.js +38 -7
  47. package/dist/index.es2.js.map +1 -1
  48. package/dist/index.es4.js +1 -1
  49. package/dist/index.es5.js +1 -1
  50. package/dist/index.es6.js +1 -1
  51. package/dist/index.es8.js +2 -2
  52. package/dist/index.es9.js +2 -2
  53. package/dist/next.cjs.js +1 -1
  54. package/dist/next.es.js +1 -1
  55. package/dist/number.cjs.js +14 -0
  56. package/dist/number.cjs.js.map +1 -0
  57. package/dist/number.es.js +10 -0
  58. package/dist/number.es.js.map +1 -0
  59. package/dist/prop-controllers.cjs.js +2 -0
  60. package/dist/prop-controllers.cjs.js.map +1 -1
  61. package/dist/prop-controllers.es.js +1 -1
  62. package/dist/react-page.cjs.js +139 -53
  63. package/dist/react-page.cjs.js.map +1 -1
  64. package/dist/react-page.es.js +127 -51
  65. package/dist/react-page.es.js.map +1 -1
  66. package/dist/react.cjs.js +1 -1
  67. package/dist/react.es.js +1 -1
  68. package/dist/slate.cjs.js +1 -1
  69. package/dist/slate.es.js +2 -2
  70. package/dist/toText.es.js +1 -1
  71. package/dist/types/src/components/hooks/useBackgrounds.d.ts.map +1 -1
  72. package/dist/types/src/controls/control.d.ts +1 -0
  73. package/dist/types/src/controls/control.d.ts.map +1 -1
  74. package/dist/types/src/controls/list.d.ts +3 -0
  75. package/dist/types/src/controls/list.d.ts.map +1 -1
  76. package/dist/types/src/controls/shape.d.ts +3 -0
  77. package/dist/types/src/controls/shape.d.ts.map +1 -1
  78. package/dist/types/src/next/api-handler/handlers/translatable-data.d.ts +13 -0
  79. package/dist/types/src/next/api-handler/handlers/translatable-data.d.ts.map +1 -0
  80. package/dist/types/src/next/api-handler/index.d.ts +2 -1
  81. package/dist/types/src/next/api-handler/index.d.ts.map +1 -1
  82. package/dist/types/src/next/client.d.ts +2 -1
  83. package/dist/types/src/next/client.d.ts.map +1 -1
  84. package/dist/types/src/prop-controllers/copy/backgrounds.d.ts +2 -2
  85. package/dist/types/src/prop-controllers/copy/backgrounds.d.ts.map +1 -1
  86. package/dist/types/src/prop-controllers/copy/images.d.ts +2 -2
  87. package/dist/types/src/prop-controllers/copy/images.d.ts.map +1 -1
  88. package/dist/types/src/prop-controllers/descriptors.d.ts +38 -9
  89. package/dist/types/src/prop-controllers/descriptors.d.ts.map +1 -1
  90. package/dist/types/src/prop-controllers/index.d.ts +3 -1
  91. package/dist/types/src/prop-controllers/index.d.ts.map +1 -1
  92. package/dist/types/src/prop-controllers/introspection.d.ts.map +1 -1
  93. package/dist/types/src/runtimes/react/index.d.ts +2 -0
  94. package/dist/types/src/runtimes/react/index.d.ts.map +1 -1
  95. package/dist/types/src/state/react-page.d.ts +1 -0
  96. package/dist/types/src/state/react-page.d.ts.map +1 -1
  97. package/package.json +1 -1
  98. package/dist/text-input.cjs.js +0 -26
  99. package/dist/text-input.cjs.js.map +0 -1
  100. package/dist/text-input.es.js +0 -18
  101. package/dist/text-input.es.js.map +0 -1
@@ -566,7 +566,7 @@ const Types = {
566
566
  Style: StyleControlType
567
567
  };
568
568
  function Backgrounds(options = {}) {
569
- return { type: Types.Backgrounds, options };
569
+ return { type: Types.Backgrounds, version: 1, options };
570
570
  }
571
571
  const BorderPropControllerFormat = {
572
572
  ClassName: "makeswift::prop-controllers::border::format::class-name",
@@ -609,7 +609,7 @@ function Image$1(options = {}) {
609
609
  return { type: Types.Image, version: 1, options };
610
610
  }
611
611
  function Images(options = {}) {
612
- return { type: Types.Images, options };
612
+ return { type: Types.Images, version: 1, options };
613
613
  }
614
614
  function Link$1(options = {}) {
615
615
  return { type: Types.Link, options };
@@ -723,10 +723,10 @@ function TableFormFields(options = {}) {
723
723
  function Typeahead(options) {
724
724
  return { type: Types.Typeahead, options };
725
725
  }
726
- function TextArea(options = {}) {
726
+ function TextArea$1(options = {}) {
727
727
  return { type: Types.TextArea, options };
728
728
  }
729
- function TextInput(options = {}) {
729
+ function TextInput$1(options = {}) {
730
730
  return { type: Types.TextInput, options };
731
731
  }
732
732
  function TextStyle(options = {}) {
@@ -794,8 +794,8 @@ var descriptors = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePro
794
794
  Table,
795
795
  TableFormFields,
796
796
  Typeahead,
797
- TextArea,
798
- TextInput,
797
+ TextArea: TextArea$1,
798
+ TextInput: TextInput$1,
799
799
  TextStyle,
800
800
  Video,
801
801
  WidthPropControllerFormat,
@@ -1087,6 +1087,9 @@ function getListTypographyIds(definition2, value) {
1087
1087
  function getListPageIds(definition2, value) {
1088
1088
  return introspectListData(definition2, value, getPageIds);
1089
1089
  }
1090
+ function getListTranslatableData(definition2, data) {
1091
+ return Object.fromEntries(data.map((item) => [item.id, getTranslatableData(definition2.config.type, item.value)]));
1092
+ }
1090
1093
  const ShapeControlType = "makeswift::controls::shape";
1091
1094
  function Shape(config) {
1092
1095
  return { type: ShapeControlType, config };
@@ -1160,6 +1163,20 @@ function getShapePageIds(definition2, data) {
1160
1163
  function getShapeFileIds(definition2, data) {
1161
1164
  return introspectShapeData(definition2, data, getFileIds);
1162
1165
  }
1166
+ function getShapeTranslatableData(definition2, data) {
1167
+ return Object.fromEntries(Object.entries(definition2.config.type).map(([key, definition22]) => [
1168
+ key,
1169
+ getTranslatableData(definition22, data[key])
1170
+ ]));
1171
+ }
1172
+ const TextAreaControlType = "makeswift::controls::text-area";
1173
+ function TextArea(config = {}) {
1174
+ return { type: TextAreaControlType, config };
1175
+ }
1176
+ const TextInputControlType = "makeswift::controls::text-input";
1177
+ function TextInput(config = {}) {
1178
+ return { type: TextInputControlType, config };
1179
+ }
1163
1180
  const SlotControlType = "makeswift::controls::slot";
1164
1181
  function Slot() {
1165
1182
  return { type: SlotControlType };
@@ -1204,41 +1221,51 @@ function mergeSlotData(base = { columns: [], elements: [] }, override = { column
1204
1221
  });
1205
1222
  return { columns: mergedColumns, elements: mergedElements };
1206
1223
  }
1207
- function copy$e(value, context) {
1224
+ function copy$e(descriptor, value, context) {
1208
1225
  if (value == null)
1209
1226
  return value;
1210
1227
  return value.map((override) => __spreadProps(__spreadValues({}, override), {
1211
1228
  value: override.value.map((backgroundItem) => {
1212
- var _a, _b;
1213
- switch (backgroundItem.type) {
1214
- case "color":
1215
- return __spreadProps(__spreadValues({}, backgroundItem), {
1216
- payload: backgroundItem.payload === null ? null : __spreadProps(__spreadValues({}, backgroundItem.payload), {
1217
- swatchId: (_a = context.replacementContext.swatchIds.get(backgroundItem.payload.swatchId)) != null ? _a : backgroundItem.payload.swatchId
1218
- })
1219
- });
1220
- case "gradient":
1221
- return __spreadProps(__spreadValues({}, backgroundItem), {
1222
- payload: __spreadProps(__spreadValues({}, backgroundItem.payload), {
1223
- stops: backgroundItem.payload.stops.map((stop) => {
1224
- var _a2;
1225
- return __spreadProps(__spreadValues({}, stop), {
1226
- color: stop.color == null ? null : __spreadProps(__spreadValues({}, stop.color), {
1227
- swatchId: (_a2 = context.replacementContext.swatchIds.get(stop.color.swatchId)) != null ? _a2 : stop.color.swatchId
1228
- })
1229
- });
1230
- })
1229
+ return match([descriptor, backgroundItem]).with([P.any, { type: "color" }], ([, item]) => {
1230
+ var _a;
1231
+ return __spreadProps(__spreadValues({}, item), {
1232
+ payload: item.payload === null ? null : __spreadProps(__spreadValues({}, item.payload), {
1233
+ swatchId: (_a = context.replacementContext.swatchIds.get(item.payload.swatchId)) != null ? _a : item.payload.swatchId
1234
+ })
1235
+ });
1236
+ }).with([P.any, { type: "gradient" }], ([, item]) => {
1237
+ return __spreadProps(__spreadValues({}, item), {
1238
+ payload: __spreadProps(__spreadValues({}, item.payload), {
1239
+ stops: item.payload.stops.map((stop) => {
1240
+ var _a;
1241
+ return __spreadProps(__spreadValues({}, stop), {
1242
+ color: stop.color == null ? null : __spreadProps(__spreadValues({}, stop.color), {
1243
+ swatchId: (_a = context.replacementContext.swatchIds.get(stop.color.swatchId)) != null ? _a : stop.color.swatchId
1244
+ })
1245
+ });
1231
1246
  })
1232
- });
1233
- case "image":
1234
- return __spreadProps(__spreadValues({}, backgroundItem), {
1235
- payload: __spreadProps(__spreadValues({}, backgroundItem.payload), {
1236
- imageId: (_b = context.replacementContext.fileIds.get(backgroundItem.payload.imageId)) != null ? _b : backgroundItem.payload.imageId
1247
+ })
1248
+ });
1249
+ }).with([
1250
+ { version: 1 },
1251
+ { type: "image-v1", version: 1, payload: { image: { type: "makeswift-file" } } }
1252
+ ], ([, item]) => {
1253
+ var _a;
1254
+ return __spreadProps(__spreadValues({}, item), {
1255
+ payload: __spreadProps(__spreadValues({}, item.payload), {
1256
+ image: __spreadProps(__spreadValues({}, item.payload.image), {
1257
+ id: (_a = context.replacementContext.fileIds.get(item.payload.image.id)) != null ? _a : item.payload.image.id
1237
1258
  })
1238
- });
1239
- default:
1240
- return backgroundItem;
1241
- }
1259
+ })
1260
+ });
1261
+ }).with([P.any, { type: "image", payload: { imageId: P.string } }], ([, item]) => {
1262
+ var _a;
1263
+ return __spreadProps(__spreadValues({}, item), {
1264
+ payload: __spreadProps(__spreadValues({}, item.payload), {
1265
+ imageId: (_a = context.replacementContext.fileIds.get(item.payload.imageId)) != null ? _a : item.payload.imageId
1266
+ })
1267
+ });
1268
+ }).otherwise(() => backgroundItem);
1242
1269
  })
1243
1270
  }));
1244
1271
  }
@@ -1448,18 +1475,23 @@ if (import_meta.vitest) {
1448
1475
  });
1449
1476
  });
1450
1477
  }
1451
- function copy$8(value, context) {
1478
+ function copy$8(descriptor, value, context) {
1452
1479
  if (value == null)
1453
1480
  return value;
1454
1481
  return value.map(copyImagesPanelItem);
1455
1482
  function copyImagesPanelItem(imagesPanelItem) {
1456
- var _a;
1457
1483
  const { file } = imagesPanelItem.props;
1458
1484
  if (file == null)
1459
1485
  return imagesPanelItem;
1460
1486
  return __spreadProps(__spreadValues({}, imagesPanelItem), {
1461
1487
  props: __spreadProps(__spreadValues({}, imagesPanelItem.props), {
1462
- file: (_a = context.replacementContext.fileIds.get(file)) != null ? _a : file
1488
+ file: match([descriptor, file]).with([P.any, P.string], ([, f]) => {
1489
+ var _a;
1490
+ return (_a = context.replacementContext.fileIds.get(f)) != null ? _a : f;
1491
+ }).with([{ version: 1 }, { type: "makeswift-file", version: 1 }], ([, f]) => {
1492
+ var _a;
1493
+ return (_a = context.replacementContext.fileIds.get(f.id)) != null ? _a : f.id;
1494
+ }).otherwise(([, f]) => f)
1463
1495
  })
1464
1496
  });
1465
1497
  }
@@ -1495,9 +1527,8 @@ if (import_meta.vitest) {
1495
1527
  globalElementIds: /* @__PURE__ */ new Map(),
1496
1528
  globalElementData: /* @__PURE__ */ new Map()
1497
1529
  };
1498
- const result = copy$8(data, {
1499
- replacementContext,
1500
- copyElement: (node) => node
1530
+ const result = copy$8({ type: "Images", options: {} }, data, {
1531
+ replacementContext
1501
1532
  });
1502
1533
  expect(result).toMatchObject(expected);
1503
1534
  });
@@ -1926,7 +1957,7 @@ function copy$2(value, context) {
1926
1957
  function copy$1(descriptor, value, context) {
1927
1958
  switch (descriptor.type) {
1928
1959
  case "Backgrounds":
1929
- return copy$e(value, context);
1960
+ return copy$e(descriptor, value, context);
1930
1961
  case "Grid":
1931
1962
  return copy$d(value, context);
1932
1963
  case "NavigationLinks":
@@ -1938,7 +1969,7 @@ function copy$1(descriptor, value, context) {
1938
1969
  case "Image":
1939
1970
  return copy$9(descriptor, value, context);
1940
1971
  case "Images":
1941
- return copy$8(value, context);
1972
+ return copy$8(descriptor, value, context);
1942
1973
  case "ResponsiveColor":
1943
1974
  return copy$7(value, context);
1944
1975
  case "TableFormFields":
@@ -3989,6 +4020,21 @@ function merge(definition2, a, b = a, context) {
3989
4020
  return b;
3990
4021
  }
3991
4022
  }
4023
+ function getTranslatableData(definition2, data) {
4024
+ switch (definition2.type) {
4025
+ case Types.TextInput:
4026
+ case Types.TextArea:
4027
+ case TextInputControlType:
4028
+ case TextAreaControlType:
4029
+ return data;
4030
+ case ListControlType:
4031
+ return getListTranslatableData(definition2, data);
4032
+ case ShapeControlType:
4033
+ return getShapeTranslatableData(definition2, data);
4034
+ default:
4035
+ return null;
4036
+ }
4037
+ }
3992
4038
  const StyleV2ControlType = "makeswift::controls::style-v2";
3993
4039
  const unstable_useStyleV2ClassName = useStyle;
3994
4040
  function unstable_StyleV2(config) {
@@ -4307,12 +4353,9 @@ function getSwatchIds(descriptor, prop) {
4307
4353
  function getBackgroundsFileIds(value) {
4308
4354
  var _a;
4309
4355
  return (_a = value == null ? void 0 : value.flatMap((override) => override.value).flatMap((backgroundItem) => {
4310
- switch (backgroundItem.type) {
4311
- case "image":
4312
- return [backgroundItem.payload.imageId];
4313
- default:
4314
- return [];
4315
- }
4356
+ return match(backgroundItem).with({ type: "image-v1", payload: { image: { type: "makeswift-file" } } }, (item) => [
4357
+ item.payload.image.id
4358
+ ]).with({ type: "image", payload: { imageId: P.string } }, (item) => [item.payload.imageId]).otherwise(() => []);
4316
4359
  })) != null ? _a : [];
4317
4360
  }
4318
4361
  function getFileIds(descriptor, prop) {
@@ -4327,7 +4370,7 @@ function getFileIds(descriptor, prop) {
4327
4370
  }
4328
4371
  case Types.Images: {
4329
4372
  const value = prop;
4330
- return (_a = value == null ? void 0 : value.flatMap((item) => item.props.file == null ? [] : [item.props.file])) != null ? _a : [];
4373
+ return (_a = value == null ? void 0 : value.flatMap((item) => match(item.props.file).with(P.string, (f) => [f]).with({ type: "makeswift-file", version: 1 }, (f) => [f.id]).with({ type: "external-file", version: 1 }, () => []).with(P.nullish, () => []).otherwise(() => []))) != null ? _a : [];
4331
4374
  }
4332
4375
  case ImageControlType: {
4333
4376
  const value = prop;
@@ -4635,6 +4678,39 @@ function copyElementTree(state, elementTree, replacementContext) {
4635
4678
  const copy$12 = JSON.parse(JSON.stringify(elementTree));
4636
4679
  return copyElementTreeNode(state, createReplacementContext(replacementContext))(copy$12);
4637
4680
  }
4681
+ function* traverseElementTree(state, elementTree) {
4682
+ yield elementTree;
4683
+ if (isElementReference(elementTree))
4684
+ return;
4685
+ const descriptors2 = getComponentPropControllerDescriptors(state, elementTree.type);
4686
+ if (descriptors2 == null)
4687
+ return;
4688
+ for (const [propKey, descriptor] of Object.entries(descriptors2)) {
4689
+ const children = getElementChildren(descriptor, elementTree.props[propKey]);
4690
+ for (const child of children) {
4691
+ if (!isElementReference(child))
4692
+ yield* traverseElementTree(state, child);
4693
+ yield child;
4694
+ }
4695
+ }
4696
+ }
4697
+ function getElementTreeTranslatableData(state, elementTree) {
4698
+ const translatableData = {};
4699
+ for (const element of traverseElementTree(state, elementTree)) {
4700
+ if (isElementReference(element))
4701
+ continue;
4702
+ const descriptors2 = getComponentPropControllerDescriptors(state, element.type);
4703
+ if (descriptors2 == null)
4704
+ continue;
4705
+ Object.entries(descriptors2).forEach(([propName, descriptor]) => {
4706
+ const translatablePropData = getTranslatableData(descriptor, element.props[propName]);
4707
+ if (translatablePropData != null) {
4708
+ translatableData[`${element.key}:${propName}`] = translatablePropData;
4709
+ }
4710
+ });
4711
+ }
4712
+ return translatableData;
4713
+ }
4638
4714
  function getIsInBuilder(state) {
4639
4715
  return state.isInBuilder;
4640
4716
  }
@@ -4665,5 +4741,5 @@ function configureStore({
4665
4741
  locales: getInitialState(locales != null ? locales : preloadedState == null ? void 0 : preloadedState.locales)
4666
4742
  }), applyMiddleware(thunk));
4667
4743
  }
4668
- export { getBorderSwatchIds as $, TextStyle as A, Backgrounds as B, ComponentIcon as C, Date as D, ElementID as E, Font as F, GapY as G, ResponsiveLength as H, Images as I, TextArea as J, Table as K, Link$1 as L, Margin as M, Number as N, TableFormFields as O, Padding as P, Image$1 as Q, RichTextPropControllerMessageType as R, Shadows as S, TableFormFieldsMessageType as T, ResponsiveOpacity as U, NavigationLinks as V, Width as W, SocialLinks as X, RichText as Y, Video as Z, useStyle as _, copy$9 as a, ShapeControl as a$, getBoxShadowsSwatchIds as a0, getResponsiveColorSwatchIds as a1, StyleControlProperty as a2, ImageControlValueFormat as a3, isPropControllersHandle as a4, isRichTextV1Data as a5, isNonNullable as a6, TypographyControlType as a7, StyleControlType as a8, RichTextV2ControlType as a9, getReactComponent as aA, getBuilderEditMode as aB, getIsPreview as aC, getBackgroundsFileIds as aD, getBackgroundsSwatchIds as aE, Color as aF, copyColorData as aG, copy as aH, merge as aI, unstable_IconRadioGroupIcon as aJ, unstable_IconRadioGroup as aK, Image as aL, copyImageData as aM, Link as aN, copyLinkData as aO, List as aP, ListControlMessageType as aQ, ListControl as aR, copyListData as aS, getListElementChildren as aT, getListSwatchIds as aU, getListFileIds as aV, getListTypographyIds as aW, getListPageIds as aX, Select as aY, Shape as aZ, ShapeControlMessageType as a_, RichTextControlType as aa, SlotControlType as ab, StyleV2ControlType as ac, ListControlType as ad, ShapeControlType as ae, LinkControlType as af, ImageControlType as ag, IconRadioGroupControlType as ah, ColorControlType as ai, SelectControlType as aj, getComponentPropControllerDescriptors as ak, getPropControllers as al, Types as am, BorderPropControllerFormat as an, ShadowsPropControllerFormat as ao, BorderRadiusPropControllerFormat as ap, MarginPropControllerFormat as aq, PaddingPropControllerFormat as ar, WidthPropControllerFormat as as, configureStore as at, copyElementTree as au, getBreakpoints as av, parseLocalesInput as aw, getDocument as ax, getElementId as ay, getIsInBuilder as az, deepEqual as b, getComponentPropControllerDescriptors$1 as b$, copyShapeData as b0, getShapeElementChildren as b1, getShapeSwatchIds as b2, getShapeTypographyIds as b3, getShapePageIds as b4, getShapeFileIds as b5, Slot as b6, SlotControlMessageType as b7, SlotControl as b8, copySlotData as b9, TypographyActions as bA, TYPOGRAPHY_KEY as bB, withTypography as bC, TypographyPlugin as bD, BlockActions as bE, ListActions as bF, onKeyDown as bG, withBlock as bH, BlockPlugin as bI, withInlineMode as bJ, InlineModePlugin as bK, withTextAlign as bL, TextAlignPlugin as bM, RootBlockType as bN, BlockType as bO, InlineType as bP, BlockTextAlignment as bQ, withInline as bR, InlinePlugin as bS, ElementUtils as bT, onChange$1 as bU, getValue$3 as bV, isLinkElement as bW, getInitialState$7 as bX, reducer$8 as bY, getDocument$1 as bZ, getComponentsMeta as b_, mergeSlotData as ba, Style as bb, StyleControlMessageType as bc, StyleControl as bd, copyStyleData as be, unstable_useStyleV2ClassName as bf, unstable_StyleV2 as bg, StyleV2ControlMessageType as bh, StyleV2Control as bi, copyRichTextData as bj, ObjectType as bk, RichTextControlMessageType as bl, RichTextControl as bm, richTextDTOtoSelection as bn, richTextDTOtoDAO as bo, toSelectionDTO as bp, richTextDAOToDTO as bq, RichTextV2Mode as br, RichTextV2ControlMessageType as bs, RichTextV2Control as bt, richTextV2DataToDescendents as bu, richTextV2DescendentsToData as bv, createRichTextV2Plugin as bw, unstable_Typography as bx, getTypographySwatchIds as by, getTypographyTypographyIds as bz, createDocument as c, BuilderEditMode as c0, getDocumentKeysSortedByDepth as c1, getPropController as c2, getPropControllersHandle as c3, getElement as c4, getElementPropControllerDescriptors as c5, createPropController as c6, reducer$7 as c7, reducer$9 as c8, reducer$6 as c9, reducer$5 as ca, reducer$4 as cb, reducer$3 as cc, reducer$2 as cd, reducer$1 as ce, getInitialState$2 as cf, descriptors as d, createDocumentReference as e, isElementReference as f, getPropControllerDescriptors as g, getDefaultLocale as h, introspection as i, getLocales as j, getSwatchIds as k, getFileIds as l, getTypographyIds as m, getTableIds as n, getPageIds as o, getElementChildren as p, ResponsiveIconRadioGroup as q, Border as r, BorderRadius as s, GapX as t, ResponsiveSelect as u, ResponsiveNumber as v, Checkbox as w, Grid as x, TextInput as y, ResponsiveColor as z };
4744
+ export { Video as $, TextInput$1 as A, Backgrounds as B, ComponentIcon as C, ResponsiveColor as D, ElementID as E, TextStyle as F, GapY as G, Date as H, Images as I, Font as J, ResponsiveLength as K, Link$1 as L, Margin as M, Number as N, TextArea$1 as O, Padding as P, Table as Q, RichTextPropControllerMessageType as R, Shadows as S, TableFormFieldsMessageType as T, TableFormFields as U, Image$1 as V, Width as W, ResponsiveOpacity as X, NavigationLinks as Y, SocialLinks as Z, RichText as _, copy$9 as a, getListFileIds as a$, useStyle as a0, getBorderSwatchIds as a1, getBoxShadowsSwatchIds as a2, getResponsiveColorSwatchIds as a3, StyleControlProperty as a4, ImageControlValueFormat as a5, isPropControllersHandle as a6, isRichTextV1Data as a7, isNonNullable as a8, TypographyControlType as a9, getElementTreeTranslatableData as aA, parseLocalesInput as aB, getDocument as aC, getElementId as aD, getIsInBuilder as aE, getReactComponent as aF, getBuilderEditMode as aG, getIsPreview as aH, getBackgroundsFileIds as aI, getBackgroundsSwatchIds as aJ, Color as aK, copyColorData as aL, copy as aM, merge as aN, getTranslatableData as aO, unstable_IconRadioGroupIcon as aP, unstable_IconRadioGroup as aQ, Image as aR, copyImageData as aS, Link as aT, copyLinkData as aU, List as aV, ListControlMessageType as aW, ListControl as aX, copyListData as aY, getListElementChildren as aZ, getListSwatchIds as a_, StyleControlType as aa, RichTextV2ControlType as ab, RichTextControlType as ac, SlotControlType as ad, StyleV2ControlType as ae, ListControlType as af, ShapeControlType as ag, LinkControlType as ah, ImageControlType as ai, IconRadioGroupControlType as aj, ColorControlType as ak, SelectControlType as al, TextAreaControlType as am, TextInputControlType as an, getComponentPropControllerDescriptors as ao, getPropControllers as ap, Types as aq, BorderPropControllerFormat as ar, ShadowsPropControllerFormat as as, BorderRadiusPropControllerFormat as at, MarginPropControllerFormat as au, PaddingPropControllerFormat as av, WidthPropControllerFormat as aw, configureStore as ax, copyElementTree as ay, getBreakpoints as az, copy$8 as b, withInline as b$, getListTypographyIds as b0, getListPageIds as b1, getListTranslatableData as b2, Select as b3, Shape as b4, ShapeControlMessageType as b5, ShapeControl as b6, copyShapeData as b7, getShapeElementChildren as b8, getShapeSwatchIds as b9, richTextDAOToDTO as bA, RichTextV2Mode as bB, RichTextV2ControlMessageType as bC, RichTextV2Control as bD, richTextV2DataToDescendents as bE, richTextV2DescendentsToData as bF, createRichTextV2Plugin as bG, unstable_Typography as bH, getTypographySwatchIds as bI, getTypographyTypographyIds as bJ, TypographyActions as bK, TYPOGRAPHY_KEY as bL, withTypography as bM, TypographyPlugin as bN, BlockActions as bO, ListActions as bP, onKeyDown as bQ, withBlock as bR, BlockPlugin as bS, withInlineMode as bT, InlineModePlugin as bU, withTextAlign as bV, TextAlignPlugin as bW, RootBlockType as bX, BlockType as bY, InlineType as bZ, BlockTextAlignment as b_, getShapeTypographyIds as ba, getShapePageIds as bb, getShapeFileIds as bc, getShapeTranslatableData as bd, Slot as be, SlotControlMessageType as bf, SlotControl as bg, copySlotData as bh, mergeSlotData as bi, Style as bj, StyleControlMessageType as bk, StyleControl as bl, copyStyleData as bm, unstable_useStyleV2ClassName as bn, unstable_StyleV2 as bo, StyleV2ControlMessageType as bp, StyleV2Control as bq, TextArea as br, TextInput as bs, copyRichTextData as bt, ObjectType as bu, RichTextControlMessageType as bv, RichTextControl as bw, richTextDTOtoSelection as bx, richTextDTOtoDAO as by, toSelectionDTO as bz, createDocument as c, InlinePlugin as c0, ElementUtils as c1, onChange$1 as c2, getValue$3 as c3, isLinkElement as c4, getInitialState$7 as c5, reducer$8 as c6, getDocument$1 as c7, getComponentsMeta as c8, getComponentPropControllerDescriptors$1 as c9, BuilderEditMode as ca, getDocumentKeysSortedByDepth as cb, getPropController as cc, getPropControllersHandle as cd, getElement as ce, getElementPropControllerDescriptors as cf, createPropController as cg, reducer$7 as ch, reducer$9 as ci, reducer$6 as cj, reducer$5 as ck, reducer$4 as cl, reducer$3 as cm, reducer$2 as cn, reducer$1 as co, getInitialState$2 as cp, descriptors as d, copy$e as e, deepEqual as f, createDocumentReference as g, getPropControllerDescriptors as h, introspection as i, isElementReference as j, getDefaultLocale as k, getLocales as l, getSwatchIds as m, getFileIds as n, getTypographyIds as o, getTableIds as p, getPageIds as q, getElementChildren as r, ResponsiveIconRadioGroup as s, Border as t, BorderRadius as u, GapX as v, ResponsiveSelect as w, ResponsiveNumber as x, Checkbox as y, Grid as z };
4669
4745
  //# sourceMappingURL=react-page.es.js.map