@makeswift/runtime 0.10.16 → 0.11.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.
Files changed (63) hide show
  1. package/dist/Box.es.js +1 -1
  2. package/dist/Button.es.js +1 -1
  3. package/dist/Carousel.es.js +1 -1
  4. package/dist/Countdown.es.js +1 -1
  5. package/dist/Divider.es.js +1 -1
  6. package/dist/Embed.es.js +1 -1
  7. package/dist/Form.es.js +1 -1
  8. package/dist/Image.es.js +1 -1
  9. package/dist/LiveProvider.es.js +1 -1
  10. package/dist/Navigation.es.js +1 -1
  11. package/dist/PreviewProvider.cjs.js +8 -11
  12. package/dist/PreviewProvider.cjs.js.map +1 -1
  13. package/dist/PreviewProvider.es.js +10 -13
  14. package/dist/PreviewProvider.es.js.map +1 -1
  15. package/dist/ReadOnlyText.es.js +1 -1
  16. package/dist/ReadOnlyTextV2.es.js +1 -1
  17. package/dist/Root.es.js +1 -1
  18. package/dist/SocialLinks.es.js +1 -1
  19. package/dist/Video.es.js +1 -1
  20. package/dist/actions.cjs.js +8 -14
  21. package/dist/actions.cjs.js.map +1 -1
  22. package/dist/actions.es.js +8 -12
  23. package/dist/actions.es.js.map +1 -1
  24. package/dist/control-serialization.es.js +1 -1
  25. package/dist/controls.es.js +1 -1
  26. package/dist/index.cjs.js +18 -19
  27. package/dist/index.cjs.js.map +1 -1
  28. package/dist/index.es.js +20 -21
  29. package/dist/index.es.js.map +1 -1
  30. package/dist/index.es2.js +1 -1
  31. package/dist/index.es4.js +1 -1
  32. package/dist/index.es5.js +1 -1
  33. package/dist/index.es6.js +1 -1
  34. package/dist/index.es8.js +1 -1
  35. package/dist/index.es9.js +1 -1
  36. package/dist/main.cjs.js +1 -1
  37. package/dist/main.es.js +1 -1
  38. package/dist/react-page.cjs.js +42 -94
  39. package/dist/react-page.cjs.js.map +1 -1
  40. package/dist/react-page.es.js +35 -83
  41. package/dist/react-page.es.js.map +1 -1
  42. package/dist/slate.es.js +1 -1
  43. package/dist/toText.es.js +1 -1
  44. package/dist/types/src/api/react.d.ts +4 -1
  45. package/dist/types/src/api/react.d.ts.map +1 -1
  46. package/dist/types/src/controls/rich-text/translation.d.ts.map +1 -1
  47. package/dist/types/src/controls/rich-text-v2/translation.d.ts.map +1 -1
  48. package/dist/types/src/index.d.ts +1 -1
  49. package/dist/types/src/index.d.ts.map +1 -1
  50. package/dist/types/src/next/client.d.ts +3 -2
  51. package/dist/types/src/next/client.d.ts.map +1 -1
  52. package/dist/types/src/runtimes/react/index.d.ts +1 -3
  53. package/dist/types/src/runtimes/react/index.d.ts.map +1 -1
  54. package/dist/types/src/state/actions.d.ts +10 -14
  55. package/dist/types/src/state/actions.d.ts.map +1 -1
  56. package/dist/types/src/state/react-builder-preview.d.ts +1 -3
  57. package/dist/types/src/state/react-builder-preview.d.ts.map +1 -1
  58. package/dist/types/src/state/react-page.d.ts +1 -7
  59. package/dist/types/src/state/react-page.d.ts.map +1 -1
  60. package/dist/types/types/locale.d.ts +1 -1
  61. package/package.json +1 -1
  62. package/dist/types/src/state/modules/locales.d.ts +0 -15
  63. package/dist/types/src/state/modules/locales.d.ts.map +0 -1
package/dist/index.es2.js CHANGED
@@ -30,7 +30,7 @@ var __objRest = (source, exclude) => {
30
30
  return target;
31
31
  };
32
32
  import { useMemo, useState, useEffect, useCallback, useRef, forwardRef, createElement, Children } from "react";
33
- import { aI as getBackgroundsFileIds, aJ as getBackgroundsSwatchIds, a0 as useStyle } from "./react-page.es.js";
33
+ import { aF as getBackgroundsFileIds, aG as getBackgroundsSwatchIds, _ as useStyle } from "./react-page.es.js";
34
34
  import "use-sync-external-store/shim";
35
35
  import { B as isNonNullable, F as useFiles, G as useSwatches, v as useResponsiveGridItem, c as DEFAULT_BOX_ANIMATE_TYPE, f as DEFAULT_ITEM_ANIMATE_TYPE, e as DEFAULT_BOX_ANIMATE_DURATION, d as DEFAULT_BOX_ANIMATE_DELAY, i as DEFAULT_ITEM_STAGGER_DURATION, n as useResponsiveStyle, q as colorToString } from "./index.es.js";
36
36
  import "./actions.es.js";
package/dist/index.es4.js CHANGED
@@ -30,7 +30,7 @@ var __objRest = (source, exclude) => {
30
30
  return target;
31
31
  };
32
32
  import { cx } from "@emotion/css";
33
- import { a0 as useStyle } from "./react-page.es.js";
33
+ import { _ as useStyle } from "./react-page.es.js";
34
34
  import { n as useResponsiveStyle } from "./index.es.js";
35
35
  import { jsx } from "react/jsx-runtime";
36
36
  function GutterContainer(_a) {
package/dist/index.es5.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Node, Transforms, Text, Editor } from "slate";
2
2
  import { ReactEditor } from "slate-react";
3
- import { c1 as ElementUtils } from "./react-page.es.js";
3
+ import { b_ as ElementUtils } from "./react-page.es.js";
4
4
  function withBuilder(editor) {
5
5
  editor.resetValue = function(value) {
6
6
  var _a;
package/dist/index.es6.js CHANGED
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { c1 as ElementUtils, bG as createRichTextV2Plugin, aT as Link, c2 as onChange, c3 as getValue, c4 as isLinkElement, a0 as useStyle, bZ as InlineType } from "./react-page.es.js";
20
+ import { b_ as ElementUtils, bD as createRichTextV2Plugin, aQ as Link, b$ as onChange, c0 as getValue, c1 as isLinkElement, _ as useStyle, bW as InlineType } from "./react-page.es.js";
21
21
  import { L as Link$1 } from "./index.es3.js";
22
22
  import { cx } from "@emotion/css";
23
23
  import { jsx, Fragment } from "react/jsx-runtime";
package/dist/index.es8.js CHANGED
@@ -36,7 +36,7 @@ import { useCallback, useState, useEffect, forwardRef, useImperativeHandle, useM
36
36
  import { Range, createEditor } from "slate";
37
37
  import { ReactEditor, withReact, Slate, Editable } from "slate-react";
38
38
  import { n as useResponsiveStyle, L as useEnhancedTypography, N as useTypographyClassName, u as useIsInBuilder, O as useBuilderEditMode, Q as pollBoxModel } from "./index.es.js";
39
- import { a0 as useStyle, bY as BlockType, bZ as InlineType, by as richTextDTOtoDAO, bx as richTextDTOtoSelection, f as deepEqual, bR as withBlock, bM as withTypography, bQ as onKeyDown, ca as BuilderEditMode } from "./react-page.es.js";
39
+ import { _ as useStyle, bV as BlockType, bW as InlineType, bv as richTextDTOtoDAO, bu as richTextDTOtoSelection, f as deepEqual, bO as withBlock, bJ as withTypography, bN as onKeyDown, c7 as BuilderEditMode } from "./react-page.es.js";
40
40
  import "ts-pattern";
41
41
  import "uuid";
42
42
  import "escape-html";
package/dist/index.es9.js CHANGED
@@ -33,7 +33,7 @@ import { useEffect, useMemo, useState, useRef, useCallback } from "react";
33
33
  import { Range, createEditor } from "slate";
34
34
  import isHotkey from "is-hotkey";
35
35
  import { ReactEditor, withReact, Slate, Editable } from "slate-react";
36
- import { bE as richTextV2DataToDescendents, bY as BlockType, bB as RichTextV2Mode, bU as InlineModePlugin, bS as BlockPlugin, bN as TypographyPlugin, bW as TextAlignPlugin, c0 as InlinePlugin, ca as BuilderEditMode } from "./react-page.es.js";
36
+ import { bB as richTextV2DataToDescendents, bV as BlockType, by as RichTextV2Mode, bR as InlineModePlugin, bP as BlockPlugin, bK as TypographyPlugin, bT as TextAlignPlugin, bZ as InlinePlugin, c7 as BuilderEditMode } from "./react-page.es.js";
37
37
  import "ts-pattern";
38
38
  import "escape-html";
39
39
  import { T as ControlValue, u as useIsInBuilder, r as useBreakpoints, Q as pollBoxModel, O as useBuilderEditMode } from "./index.es.js";
package/dist/main.cjs.js CHANGED
@@ -33,7 +33,7 @@ exports.scrollDocumentElement = actions.scrollDocumentElement;
33
33
  exports.setBreakpoints = actions.setBreakpoints;
34
34
  exports.setBuilderEditMode = actions.setBuilderEditMode;
35
35
  exports.setLocale = actions.setLocale;
36
- exports.setLocales = actions.setLocales;
36
+ exports.setLocalizedResourceId = actions.setLocalizedResourceId;
37
37
  exports.unregisterDocument = actions.unregisterDocument;
38
38
  exports.ComponentIcon = reactPage.ComponentIcon;
39
39
  exports.createDocument = reactPage.createDocument;
package/dist/main.es.js CHANGED
@@ -1,4 +1,4 @@
1
- export { A as ActionTypes, h as builderPointerMove, d as changeApiResource, c as changeDocument, a as changeDocumentElementScrollTop, g as changePathname, b as cleanUp, e as evictApiResource, i as init, m as messageHostPropController, r as registerDocument, s as scrollDocumentElement, j as setBreakpoints, f as setBuilderEditMode, k as setLocale, l as setLocales, u as unregisterDocument } from "./actions.es.js";
1
+ export { A as ActionTypes, h as builderPointerMove, d as changeApiResource, c as changeDocument, a as changeDocumentElementScrollTop, g as changePathname, b as cleanUp, e as evictApiResource, i as init, m as messageHostPropController, r as registerDocument, s as scrollDocumentElement, j as setBreakpoints, f as setBuilderEditMode, k as setLocale, l as setLocalizedResourceId, u as unregisterDocument } from "./actions.es.js";
2
2
  export { C as ComponentIcon, c as createDocument } from "./react-page.es.js";
3
3
  export { M as MakeswiftComponentType } from "./constants.es.js";
4
4
  import "zod";
@@ -82,7 +82,7 @@ const ComponentIcon = {
82
82
  Users: "users",
83
83
  Video: "video"
84
84
  };
85
- function getInitialState$8({
85
+ function getInitialState$7({
86
86
  componentsMeta = /* @__PURE__ */ new Map()
87
87
  } = {}) {
88
88
  return componentsMeta;
@@ -90,7 +90,7 @@ function getInitialState$8({
90
90
  function getComponentsMeta(state) {
91
91
  return state;
92
92
  }
93
- function reducer$9(state = getInitialState$8(), action) {
93
+ function reducer$8(state = getInitialState$7(), action) {
94
94
  switch (action.type) {
95
95
  case actions.ActionTypes.REGISTER_COMPONENT:
96
96
  return new Map(state).set(action.payload.type, action.payload.meta);
@@ -112,7 +112,7 @@ function createDocumentReference(key) {
112
112
  function createDocument(key, rootElement) {
113
113
  return { key, rootElement };
114
114
  }
115
- function getInitialState$7({
115
+ function getInitialState$6({
116
116
  rootElements = /* @__PURE__ */ new Map()
117
117
  } = {}) {
118
118
  const initialState = /* @__PURE__ */ new Map();
@@ -128,7 +128,7 @@ function getDocument$1(state, documentKey) {
128
128
  var _a;
129
129
  return (_a = getDocuments(state).get(documentKey)) != null ? _a : null;
130
130
  }
131
- function reducer$8(state = getInitialState$7(), action) {
131
+ function reducer$7(state = getInitialState$6(), action) {
132
132
  switch (action.type) {
133
133
  case actions.ActionTypes.REGISTER_DOCUMENT:
134
134
  return new Map(state).set(action.payload.documentKey, action.payload.document);
@@ -141,7 +141,7 @@ function reducer$8(state = getInitialState$7(), action) {
141
141
  return state;
142
142
  }
143
143
  }
144
- function getInitialState$6({
144
+ function getInitialState$5({
145
145
  reactComponents = /* @__PURE__ */ new Map()
146
146
  } = {}) {
147
147
  return reactComponents;
@@ -153,7 +153,7 @@ function getReactComponent$1(state, type) {
153
153
  var _a;
154
154
  return (_a = getReactComponents(state).get(type)) != null ? _a : null;
155
155
  }
156
- function reducer$7(state = getInitialState$6(), action) {
156
+ function reducer$6(state = getInitialState$5(), action) {
157
157
  switch (action.type) {
158
158
  case actions.ActionTypes.REGISTER_REACT_COMPONENT:
159
159
  return new Map(state).set(action.payload.type, action.payload.component);
@@ -166,7 +166,7 @@ function reducer$7(state = getInitialState$6(), action) {
166
166
  return state;
167
167
  }
168
168
  }
169
- function getInitialState$5({
169
+ function getInitialState$4({
170
170
  propControllerDescriptors = /* @__PURE__ */ new Map()
171
171
  } = {}) {
172
172
  return propControllerDescriptors;
@@ -178,7 +178,7 @@ function getComponentPropControllerDescriptors$1(state, componentType) {
178
178
  var _a;
179
179
  return (_a = getPropControllerDescriptors$1(state).get(componentType)) != null ? _a : null;
180
180
  }
181
- function reducer$6(state = getInitialState$5(), action) {
181
+ function reducer$5(state = getInitialState$4(), action) {
182
182
  switch (action.type) {
183
183
  case actions.ActionTypes.REGISTER_COMPONENT:
184
184
  return new Map(state).set(action.payload.type, action.payload.propControllerDescriptors);
@@ -197,7 +197,7 @@ function isPropControllersHandle(value) {
197
197
  }
198
198
  return false;
199
199
  }
200
- function getInitialState$4() {
200
+ function getInitialState$3() {
201
201
  return { handles: /* @__PURE__ */ new Map(), instances: /* @__PURE__ */ new Map() };
202
202
  }
203
203
  function getPropControllersHandle(state, documentKey, elementKey) {
@@ -212,7 +212,7 @@ function getPropController(state, documentKey, elementKey, propName) {
212
212
  var _a, _b;
213
213
  return (_b = (_a = getPropControllers$1(state, documentKey, elementKey)) == null ? void 0 : _a[propName]) != null ? _b : null;
214
214
  }
215
- function reducer$5(state = getInitialState$4(), action) {
215
+ function reducer$4(state = getInitialState$3(), action) {
216
216
  var _a, _b, _c2, _d;
217
217
  switch (action.type) {
218
218
  case actions.ActionTypes.REGISTER_PROP_CONTROLLERS_HANDLE: {
@@ -243,10 +243,10 @@ function reducer$5(state = getInitialState$4(), action) {
243
243
  return state;
244
244
  }
245
245
  }
246
- function getInitialState$3() {
246
+ function getInitialState$2() {
247
247
  return false;
248
248
  }
249
- function reducer$4(state = getInitialState$3(), action) {
249
+ function reducer$3(state = getInitialState$2(), action) {
250
250
  switch (action.type) {
251
251
  case actions.ActionTypes.SET_IS_IN_BUILDER:
252
252
  return action.payload;
@@ -254,13 +254,13 @@ function reducer$4(state = getInitialState$3(), action) {
254
254
  return state;
255
255
  }
256
256
  }
257
- function getInitialState$2(isPreview = false) {
257
+ function getInitialState$1(isPreview = false) {
258
258
  return isPreview;
259
259
  }
260
260
  function getIsPreview$1(state) {
261
261
  return state;
262
262
  }
263
- function reducer$3(state = getInitialState$2(), action) {
263
+ function reducer$2(state = getInitialState$1(), action) {
264
264
  switch (action.type) {
265
265
  default:
266
266
  return state;
@@ -271,10 +271,10 @@ const BuilderEditMode = {
271
271
  CONTENT: "content",
272
272
  INTERACT: "interact"
273
273
  };
274
- function getInitialState$1() {
274
+ function getInitialState() {
275
275
  return null;
276
276
  }
277
- function reducer$2(state = getInitialState$1(), action) {
277
+ function reducer$1(state = getInitialState(), action) {
278
278
  switch (action.type) {
279
279
  case actions.ActionTypes.SET_BUILDER_EDIT_MODE:
280
280
  return action.payload.editMode;
@@ -282,47 +282,6 @@ function reducer$2(state = getInitialState$1(), action) {
282
282
  return state;
283
283
  }
284
284
  }
285
- function getInitialState(initialState) {
286
- var _a, _b, _c2;
287
- return {
288
- locales: (_a = initialState == null ? void 0 : initialState.locales) != null ? _a : [],
289
- locale: (_b = initialState == null ? void 0 : initialState.locale) != null ? _b : null,
290
- defaultLocale: (_c2 = initialState == null ? void 0 : initialState.defaultLocale) != null ? _c2 : null
291
- };
292
- }
293
- function reducer$1(state = getInitialState(), action) {
294
- switch (action.type) {
295
- case actions.ActionTypes.SET_LOCALES: {
296
- const locales = action.payload.locales;
297
- return __spreadProps(__spreadValues({}, state), { locales });
298
- }
299
- case actions.ActionTypes.SET_LOCALE: {
300
- if (action.payload.locale === state.locale)
301
- return state;
302
- return __spreadProps(__spreadValues({}, state), { locale: action.payload.locale });
303
- }
304
- case actions.ActionTypes.SET_DEFAULT_LOCALE: {
305
- if (action.payload.defaultLocale === state.defaultLocale)
306
- return state;
307
- return __spreadProps(__spreadValues({}, state), { defaultLocale: action.payload.defaultLocale });
308
- }
309
- default:
310
- return state;
311
- }
312
- }
313
- function parseLocalesInput(input) {
314
- if (input.locales == null) {
315
- throw new Error(`Locales cannot be null or undefined. Please provide the locales array.`);
316
- }
317
- if (input.locales.includes(input.defaultLocale) === false) {
318
- throw new Error(`Default locale "${input.defaultLocale}" is not included in locales: ${input.locales}. Please add the default locale to the locales array.`);
319
- }
320
- return {
321
- locales: input.locales.map((locale) => actions.localeStringSchema.parse(locale)),
322
- defaultLocale: actions.localeStringSchema.parse(input.defaultLocale),
323
- locale: null
324
- };
325
- }
326
285
  const ColorControlType = "makeswift::controls::color";
327
286
  function Color(config = {}) {
328
287
  return { type: ColorControlType, config };
@@ -2216,7 +2175,9 @@ function richTextDTOtoSelection(data) {
2216
2175
  }
2217
2176
  function richTextDTOtoDAO(data) {
2218
2177
  var _a, _b, _c2;
2219
- return (_c2 = (_b = (_a = data.document) == null ? void 0 : _a.nodes) == null ? void 0 : _b.flatMap(toNodeDAO)) != null ? _c2 : [];
2178
+ return (_c2 = (_b = (_a = data.document) == null ? void 0 : _a.nodes) == null ? void 0 : _b.flatMap(toNodeDAO)) != null ? _c2 : [
2179
+ { type: BlockType.Default, children: [{ text: "" }] }
2180
+ ];
2220
2181
  }
2221
2182
  function toInlineOrTextDTO(node) {
2222
2183
  var _a;
@@ -3905,7 +3866,7 @@ function isRichTextV1Data(value) {
3905
3866
  return value !== void 0 && typeof value === "object" && !Array.isArray(value) && "document" in value;
3906
3867
  }
3907
3868
  function richTextV2DataToDescendents(data) {
3908
- return data.descendants;
3869
+ return data.descendants.length === 0 ? [{ type: BlockType.Default, children: [{ text: "" }] }] : data.descendants;
3909
3870
  }
3910
3871
  function richTextV2DescendentsToData(descendants, key) {
3911
3872
  return {
@@ -4589,16 +4550,15 @@ var introspection = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
4589
4550
  getPageIds
4590
4551
  }, Symbol.toStringTag, { value: "Module" }));
4591
4552
  const reducer = redux.combineReducers({
4592
- documents: reducer$8,
4593
- reactComponents: reducer$7,
4594
- componentsMeta: reducer$9,
4595
- propControllers: reducer$6,
4596
- propControllerHandles: reducer$5,
4597
- isInBuilder: reducer$4,
4598
- isPreview: reducer$3,
4599
- builderEditMode: reducer$2,
4600
- breakpoints: state_breakpoints.reducer,
4601
- locales: reducer$1
4553
+ documents: reducer$7,
4554
+ reactComponents: reducer$6,
4555
+ componentsMeta: reducer$8,
4556
+ propControllers: reducer$5,
4557
+ propControllerHandles: reducer$4,
4558
+ isInBuilder: reducer$3,
4559
+ isPreview: reducer$2,
4560
+ builderEditMode: reducer$1,
4561
+ breakpoints: state_breakpoints.reducer
4602
4562
  });
4603
4563
  function getDocumentsStateSlice(state) {
4604
4564
  return state.documents;
@@ -4774,22 +4734,14 @@ function getBuilderEditMode(state) {
4774
4734
  function getBreakpoints(state) {
4775
4735
  return state.breakpoints;
4776
4736
  }
4777
- function getLocales(state) {
4778
- return state.locales.locales.map((locale) => new Intl.Locale(locale));
4779
- }
4780
- function getDefaultLocale(state) {
4781
- return state.locales.defaultLocale ? new Intl.Locale(state.locales.defaultLocale) : null;
4782
- }
4783
4737
  function configureStore({
4784
4738
  rootElements,
4785
4739
  preloadedState,
4786
- breakpoints,
4787
- locales
4740
+ breakpoints
4788
4741
  } = {}) {
4789
4742
  return redux.createStore(reducer, __spreadProps(__spreadValues({}, preloadedState), {
4790
- documents: getInitialState$7({ rootElements }),
4791
- breakpoints: state_breakpoints.getInitialState(breakpoints != null ? breakpoints : preloadedState == null ? void 0 : preloadedState.breakpoints),
4792
- locales: getInitialState(locales != null ? locales : preloadedState == null ? void 0 : preloadedState.locales)
4743
+ documents: getInitialState$6({ rootElements }),
4744
+ breakpoints: state_breakpoints.getInitialState(breakpoints != null ? breakpoints : preloadedState == null ? void 0 : preloadedState.breakpoints)
4793
4745
  }), redux.applyMiddleware(thunk__default["default"]));
4794
4746
  }
4795
4747
  exports.Backgrounds = Backgrounds;
@@ -4922,7 +4874,6 @@ exports.getBuilderEditMode = getBuilderEditMode;
4922
4874
  exports.getComponentPropControllerDescriptors = getComponentPropControllerDescriptors;
4923
4875
  exports.getComponentPropControllerDescriptors$1 = getComponentPropControllerDescriptors$1;
4924
4876
  exports.getComponentsMeta = getComponentsMeta;
4925
- exports.getDefaultLocale = getDefaultLocale;
4926
4877
  exports.getDocument = getDocument;
4927
4878
  exports.getDocument$1 = getDocument$1;
4928
4879
  exports.getDocumentKeysSortedByDepth = getDocumentKeysSortedByDepth;
@@ -4932,8 +4883,8 @@ exports.getElementId = getElementId;
4932
4883
  exports.getElementPropControllerDescriptors = getElementPropControllerDescriptors;
4933
4884
  exports.getElementTreeTranslatableData = getElementTreeTranslatableData;
4934
4885
  exports.getFileIds = getFileIds;
4935
- exports.getInitialState = getInitialState$7;
4936
- exports.getInitialState$1 = getInitialState$2;
4886
+ exports.getInitialState = getInitialState$6;
4887
+ exports.getInitialState$1 = getInitialState$1;
4937
4888
  exports.getIsInBuilder = getIsInBuilder;
4938
4889
  exports.getIsPreview = getIsPreview;
4939
4890
  exports.getListElementChildren = getListElementChildren;
@@ -4942,7 +4893,6 @@ exports.getListPageIds = getListPageIds;
4942
4893
  exports.getListSwatchIds = getListSwatchIds;
4943
4894
  exports.getListTranslatableData = getListTranslatableData;
4944
4895
  exports.getListTypographyIds = getListTypographyIds;
4945
- exports.getLocales = getLocales;
4946
4896
  exports.getPageIds = getPageIds;
4947
4897
  exports.getPropController = getPropController;
4948
4898
  exports.getPropControllerDescriptors = getPropControllerDescriptors;
@@ -4973,16 +4923,14 @@ exports.merge = merge;
4973
4923
  exports.mergeSlotData = mergeSlotData;
4974
4924
  exports.onChange = onChange$1;
4975
4925
  exports.onKeyDown = onKeyDown;
4976
- exports.parseLocalesInput = parseLocalesInput;
4977
- exports.reducer = reducer$8;
4978
- exports.reducer$1 = reducer$7;
4979
- exports.reducer$2 = reducer$9;
4980
- exports.reducer$3 = reducer$6;
4981
- exports.reducer$4 = reducer$5;
4982
- exports.reducer$5 = reducer$4;
4983
- exports.reducer$6 = reducer$3;
4984
- exports.reducer$7 = reducer$2;
4985
- exports.reducer$8 = reducer$1;
4926
+ exports.reducer = reducer$7;
4927
+ exports.reducer$1 = reducer$6;
4928
+ exports.reducer$2 = reducer$8;
4929
+ exports.reducer$3 = reducer$5;
4930
+ exports.reducer$4 = reducer$4;
4931
+ exports.reducer$5 = reducer$3;
4932
+ exports.reducer$6 = reducer$2;
4933
+ exports.reducer$7 = reducer$1;
4986
4934
  exports.richTextDAOToDTO = richTextDAOToDTO;
4987
4935
  exports.richTextDTOtoDAO = richTextDTOtoDAO;
4988
4936
  exports.richTextDTOtoSelection = richTextDTOtoSelection;