@reacteditor/core 0.0.9 → 0.0.10

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 (37) hide show
  1. package/dist/{Editor-KXEVJBNG.mjs → Editor-3COFH5WN.mjs} +3 -3
  2. package/dist/{actions-2L-1hQ7r.d.mts → actions-B8_EA7vy.d.mts} +1 -1
  3. package/dist/{actions-2L-1hQ7r.d.ts → actions-B8_EA7vy.d.ts} +1 -1
  4. package/dist/{chunk-DU757QEH.mjs → chunk-3IP22OOD.mjs} +307 -33
  5. package/dist/{chunk-AJWRDM22.mjs → chunk-BZ4BQZJR.mjs} +4 -4
  6. package/dist/{chunk-TI3KC54Y.mjs → chunk-PUDWMFBH.mjs} +46 -0
  7. package/dist/{full-ZFZZ626B.mjs → full-QT5KXRDP.mjs} +2 -2
  8. package/dist/{index-BNsSzMCj.d.ts → index-BrHy0cc_.d.ts} +1 -1
  9. package/dist/{index-BXuSeNez.d.mts → index-JoD48fK_.d.mts} +1 -1
  10. package/dist/index.css +84 -84
  11. package/dist/index.d.mts +110 -17
  12. package/dist/index.d.ts +110 -17
  13. package/dist/index.js +990 -663
  14. package/dist/index.mjs +27 -11
  15. package/dist/internal.d.mts +2 -2
  16. package/dist/internal.d.ts +2 -2
  17. package/dist/nextjs.d.mts +38 -0
  18. package/dist/nextjs.d.ts +38 -0
  19. package/dist/nextjs.js +65 -0
  20. package/dist/nextjs.mjs +30 -0
  21. package/dist/no-external.css +84 -84
  22. package/dist/no-external.d.mts +4 -4
  23. package/dist/no-external.d.ts +4 -4
  24. package/dist/no-external.js +990 -663
  25. package/dist/no-external.mjs +27 -11
  26. package/dist/remix.d.mts +33 -0
  27. package/dist/remix.d.ts +33 -0
  28. package/dist/remix.js +65 -0
  29. package/dist/remix.mjs +30 -0
  30. package/dist/rsc.d.mts +2 -2
  31. package/dist/rsc.d.ts +2 -2
  32. package/dist/rsc.js +48 -0
  33. package/dist/rsc.mjs +5 -1
  34. package/dist/{walk-tree-4C3ODO3X.d.mts → walk-tree-BR2XIZ0W.d.mts} +33 -2
  35. package/dist/{walk-tree-C9GrSWsR.d.ts → walk-tree-DpUJ9kDx.d.ts} +33 -2
  36. package/package.json +14 -3
  37. package/dist/{chunk-U7VW3V3W.mjs → chunk-BUR5T7IX.mjs} +3 -3
package/dist/index.mjs CHANGED
@@ -1,4 +1,6 @@
1
1
  import {
2
+ App,
3
+ AppProvider,
2
4
  AutoField,
3
5
  Button,
4
6
  ComponentList,
@@ -6,6 +8,7 @@ import {
6
8
  Editor,
7
9
  FieldLabel,
8
10
  Render,
11
+ appConfigContext,
9
12
  blocksPlugin,
10
13
  createUseEditor,
11
14
  fieldsPlugin,
@@ -16,17 +19,14 @@ import {
16
19
  registerOverlayPortal,
17
20
  renderContext,
18
21
  setDeep,
22
+ useApp,
19
23
  useEditor,
20
24
  useGetEditor,
21
- usePropsContext
22
- } from "./chunk-DU757QEH.mjs";
23
- import "./chunk-AJWRDM22.mjs";
24
- import {
25
- migrate,
26
- resolveAllData,
27
- transformProps
28
- } from "./chunk-TI3KC54Y.mjs";
29
- import "./chunk-6QJ2HF4O.mjs";
25
+ usePropsContext,
26
+ useRouteParams,
27
+ useStableValue
28
+ } from "./chunk-3IP22OOD.mjs";
29
+ import "./chunk-BZ4BQZJR.mjs";
30
30
  import {
31
31
  Action,
32
32
  ActionBar,
@@ -35,10 +35,18 @@ import {
35
35
  Label,
36
36
  RichTextMenu,
37
37
  Separator
38
- } from "./chunk-U7VW3V3W.mjs";
38
+ } from "./chunk-BUR5T7IX.mjs";
39
+ import "./chunk-FT6UFK7G.mjs";
40
+ import {
41
+ getRouteProps,
42
+ migrate,
43
+ resolveAllData,
44
+ resolveRouteFromString,
45
+ transformProps
46
+ } from "./chunk-PUDWMFBH.mjs";
47
+ import "./chunk-6QJ2HF4O.mjs";
39
48
  import "./chunk-OIFPBVSF.mjs";
40
49
  import "./chunk-AD7BMXAA.mjs";
41
- import "./chunk-FT6UFK7G.mjs";
42
50
  import "./chunk-LRFRIIKG.mjs";
43
51
  import "./chunk-M4JDRFYB.mjs";
44
52
  import "./chunk-IIRJMJFU.mjs";
@@ -55,6 +63,8 @@ init_react_import();
55
63
  export {
56
64
  Action,
57
65
  ActionBar,
66
+ App,
67
+ AppProvider,
58
68
  AutoField,
59
69
  Button,
60
70
  ComponentList,
@@ -67,9 +77,11 @@ export {
67
77
  Render,
68
78
  RichTextMenu,
69
79
  Separator,
80
+ appConfigContext,
70
81
  blocksPlugin,
71
82
  createUseEditor,
72
83
  fieldsPlugin,
84
+ getRouteProps,
73
85
  legacySideBarPlugin,
74
86
  migrate,
75
87
  outlinePlugin,
@@ -78,10 +90,14 @@ export {
78
90
  registerOverlayPortal,
79
91
  renderContext,
80
92
  resolveAllData,
93
+ resolveRouteFromString,
81
94
  setDeep,
82
95
  transformProps,
96
+ useApp,
83
97
  useEditor,
84
98
  useGetEditor,
85
99
  usePropsContext,
100
+ useRouteParams,
101
+ useStableValue,
86
102
  walkTree
87
103
  };
@@ -1,6 +1,6 @@
1
1
  import { Reducer } from 'react';
2
- import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, E as EditorAction } from './actions-2L-1hQ7r.mjs';
3
- import { A as AppStore } from './index-BXuSeNez.mjs';
2
+ import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, E as EditorAction } from './actions-B8_EA7vy.mjs';
3
+ import { A as AppStore } from './index-JoD48fK_.mjs';
4
4
  import '@tiptap/react';
5
5
  import '@tiptap/extension-blockquote';
6
6
  import '@tiptap/extension-bold';
@@ -1,6 +1,6 @@
1
1
  import { Reducer } from 'react';
2
- import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, E as EditorAction } from './actions-2L-1hQ7r.js';
3
- import { A as AppStore } from './index-BNsSzMCj.js';
2
+ import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, E as EditorAction } from './actions-B8_EA7vy.js';
3
+ import { A as AppStore } from './index-BrHy0cc_.js';
4
4
  import '@tiptap/react';
5
5
  import '@tiptap/extension-blockquote';
6
6
  import '@tiptap/extension-bold';
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Next.js helpers for `<App>`.
3
+ *
4
+ * Pure functions — no `next/*` imports — but namespaced under
5
+ * `@reacteditor/core/nextjs` so framework-specific helpers can be added
6
+ * later without breaking changes.
7
+ */
8
+ type NextRouteParams = {
9
+ /** The catch-all segment from `app/[[...pageParams]]/page.tsx`. */
10
+ pageParams?: string[];
11
+ };
12
+ type NextjsResolvedRoute = {
13
+ /** Full path including any editor prefix, e.g. "/editor/products/foo". */
14
+ route: string;
15
+ /** True when `route` starts with the editor prefix. */
16
+ isEditor: boolean;
17
+ /** Path with the editor prefix stripped — what schemas match against. */
18
+ matchRoute: string;
19
+ };
20
+ /**
21
+ * Resolve Next's catch-all params into a route descriptor for `<App>`.
22
+ *
23
+ * Mounted at `app/[[...pageParams]]/page.tsx`:
24
+ * - `/products/abc` → `{ route: "/products/abc", isEditor: false, matchRoute: "/products/abc" }`
25
+ * - `/editor/products/abc` → `{ route: "/editor/products/abc", isEditor: true, matchRoute: "/products/abc" }`
26
+ *
27
+ * `editorPath` defaults to "/editor" — same default as `<App>`. Pass `null`
28
+ * to skip editor-mode classification.
29
+ *
30
+ * Mounted at `app/shops/[shopId]/[[...pageParams]]/page.tsx`:
31
+ * the catch-all already excludes the basePath, so this returns the
32
+ * correct schema-relative route — no basePath argument needed.
33
+ */
34
+ declare const nextjsResolveRoute: (params: NextRouteParams, options?: {
35
+ editorPath?: string | null;
36
+ }) => NextjsResolvedRoute;
37
+
38
+ export { type NextRouteParams, type NextjsResolvedRoute, nextjsResolveRoute };
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Next.js helpers for `<App>`.
3
+ *
4
+ * Pure functions — no `next/*` imports — but namespaced under
5
+ * `@reacteditor/core/nextjs` so framework-specific helpers can be added
6
+ * later without breaking changes.
7
+ */
8
+ type NextRouteParams = {
9
+ /** The catch-all segment from `app/[[...pageParams]]/page.tsx`. */
10
+ pageParams?: string[];
11
+ };
12
+ type NextjsResolvedRoute = {
13
+ /** Full path including any editor prefix, e.g. "/editor/products/foo". */
14
+ route: string;
15
+ /** True when `route` starts with the editor prefix. */
16
+ isEditor: boolean;
17
+ /** Path with the editor prefix stripped — what schemas match against. */
18
+ matchRoute: string;
19
+ };
20
+ /**
21
+ * Resolve Next's catch-all params into a route descriptor for `<App>`.
22
+ *
23
+ * Mounted at `app/[[...pageParams]]/page.tsx`:
24
+ * - `/products/abc` → `{ route: "/products/abc", isEditor: false, matchRoute: "/products/abc" }`
25
+ * - `/editor/products/abc` → `{ route: "/editor/products/abc", isEditor: true, matchRoute: "/products/abc" }`
26
+ *
27
+ * `editorPath` defaults to "/editor" — same default as `<App>`. Pass `null`
28
+ * to skip editor-mode classification.
29
+ *
30
+ * Mounted at `app/shops/[shopId]/[[...pageParams]]/page.tsx`:
31
+ * the catch-all already excludes the basePath, so this returns the
32
+ * correct schema-relative route — no basePath argument needed.
33
+ */
34
+ declare const nextjsResolveRoute: (params: NextRouteParams, options?: {
35
+ editorPath?: string | null;
36
+ }) => NextjsResolvedRoute;
37
+
38
+ export { type NextRouteParams, type NextjsResolvedRoute, nextjsResolveRoute };
package/dist/nextjs.js ADDED
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // bundle/nextjs.ts
31
+ var nextjs_exports = {};
32
+ __export(nextjs_exports, {
33
+ nextjsResolveRoute: () => nextjsResolveRoute
34
+ });
35
+ module.exports = __toCommonJS(nextjs_exports);
36
+
37
+ // ../tsup-config/react-import.js
38
+ var import_react = __toESM(require("react"));
39
+
40
+ // bundle/nextjs.ts
41
+ var DEFAULT_EDITOR_PATH = "/editor";
42
+ var stripEditorPrefix = (route, editorPath) => {
43
+ if (!editorPath) return route;
44
+ if (route === editorPath) return "/";
45
+ if (!route.startsWith(`${editorPath}/`)) return route;
46
+ const rest = route.slice(editorPath.length);
47
+ return rest.startsWith("/") ? rest : `/${rest}`;
48
+ };
49
+ var buildRoute = (params) => {
50
+ var _a;
51
+ const segments = (_a = params == null ? void 0 : params.pageParams) != null ? _a : [];
52
+ if (segments.length === 0) return "/";
53
+ return "/" + segments.join("/");
54
+ };
55
+ var nextjsResolveRoute = (params, options) => {
56
+ const editorPath = (options == null ? void 0 : options.editorPath) === void 0 ? DEFAULT_EDITOR_PATH : options.editorPath;
57
+ const route = buildRoute(params);
58
+ const isEditor = editorPath !== null && (route === editorPath || route.startsWith(`${editorPath}/`));
59
+ const matchRoute = isEditor ? stripEditorPrefix(route, editorPath) : route;
60
+ return { route, isEditor, matchRoute };
61
+ };
62
+ // Annotate the CommonJS export names for ESM import in node:
63
+ 0 && (module.exports = {
64
+ nextjsResolveRoute
65
+ });
@@ -0,0 +1,30 @@
1
+ import {
2
+ init_react_import
3
+ } from "./chunk-M6W7YEVX.mjs";
4
+
5
+ // bundle/nextjs.ts
6
+ init_react_import();
7
+ var DEFAULT_EDITOR_PATH = "/editor";
8
+ var stripEditorPrefix = (route, editorPath) => {
9
+ if (!editorPath) return route;
10
+ if (route === editorPath) return "/";
11
+ if (!route.startsWith(`${editorPath}/`)) return route;
12
+ const rest = route.slice(editorPath.length);
13
+ return rest.startsWith("/") ? rest : `/${rest}`;
14
+ };
15
+ var buildRoute = (params) => {
16
+ var _a;
17
+ const segments = (_a = params == null ? void 0 : params.pageParams) != null ? _a : [];
18
+ if (segments.length === 0) return "/";
19
+ return "/" + segments.join("/");
20
+ };
21
+ var nextjsResolveRoute = (params, options) => {
22
+ const editorPath = (options == null ? void 0 : options.editorPath) === void 0 ? DEFAULT_EDITOR_PATH : options.editorPath;
23
+ const route = buildRoute(params);
24
+ const isEditor = editorPath !== null && (route === editorPath || route.startsWith(`${editorPath}/`));
25
+ const matchRoute = isEditor ? stripEditorPrefix(route, editorPath) : route;
26
+ return { route, isEditor, matchRoute };
27
+ };
28
+ export {
29
+ nextjsResolveRoute
30
+ };
@@ -1684,6 +1684,90 @@ textarea._Input-input_zwh6e_27 {
1684
1684
  padding: 14px 12px;
1685
1685
  }
1686
1686
 
1687
+ /* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Editor/components/Fields/styles.module.css/#css-module-data */
1688
+ ._EditorFields_3dnua_1 {
1689
+ position: relative;
1690
+ font-family: var(--editor-font-family);
1691
+ }
1692
+ ._EditorFields--isLoading_3dnua_6 {
1693
+ min-height: 48px;
1694
+ }
1695
+ ._EditorFields-loadingOverlay_3dnua_10 {
1696
+ background: var(--editor-surface-panel);
1697
+ display: flex;
1698
+ justify-content: flex-end;
1699
+ align-items: flex-start;
1700
+ height: 100%;
1701
+ width: 100%;
1702
+ top: 0px;
1703
+ position: absolute;
1704
+ z-index: 1;
1705
+ pointer-events: all;
1706
+ box-sizing: border-box;
1707
+ opacity: 0.8;
1708
+ }
1709
+ ._EditorFields-loadingOverlayInner_3dnua_25 {
1710
+ display: flex;
1711
+ padding: 16px;
1712
+ position: sticky;
1713
+ top: 0;
1714
+ }
1715
+ ._EditorFields-field_3dnua_32 * {
1716
+ box-sizing: border-box;
1717
+ }
1718
+ ._EditorFields--wrapFields_3dnua_36 ._EditorFields-field_3dnua_32 {
1719
+ color: var(--editor-text-secondary);
1720
+ padding: 14px 16px;
1721
+ display: block;
1722
+ }
1723
+ ._EditorFields--wrapFields_3dnua_36 ._EditorFields-field_3dnua_32 + ._EditorFields-field_3dnua_32 {
1724
+ border-top: 1px solid var(--editor-border-subtle);
1725
+ }
1726
+ ._EditorFields-syncButton_3dnua_46 {
1727
+ align-items: center;
1728
+ background: transparent;
1729
+ border: 1px solid var(--editor-color-global);
1730
+ border-radius: var(--editor-radius-md);
1731
+ color: var(--editor-color-global);
1732
+ cursor: pointer;
1733
+ display: flex;
1734
+ font: inherit;
1735
+ font-size: var(--editor-font-size-xxs);
1736
+ font-weight: 500;
1737
+ gap: 8px;
1738
+ justify-content: center;
1739
+ margin: 12px 16px;
1740
+ padding: 10px;
1741
+ transition:
1742
+ background-color var(--editor-motion-fast) var(--editor-ease),
1743
+ border-color var(--editor-motion-fast) var(--editor-ease),
1744
+ color var(--editor-motion-fast) var(--editor-ease);
1745
+ width: calc(100% - 32px);
1746
+ }
1747
+ @media (hover: hover) and (pointer: fine) {
1748
+ ._EditorFields-syncButton_3dnua_46:hover {
1749
+ background: var(--editor-color-global-soft);
1750
+ }
1751
+ }
1752
+ ._EditorFields-syncButton_3dnua_46:focus-visible {
1753
+ outline: none;
1754
+ box-shadow: var(--editor-ring);
1755
+ }
1756
+ ._EditorFields-syncButton--unlinked_3dnua_78 {
1757
+ border-color: var(--editor-border-default);
1758
+ color: var(--editor-text-secondary);
1759
+ }
1760
+ @media (hover: hover) and (pointer: fine) {
1761
+ ._EditorFields-syncButton--unlinked_3dnua_78:hover {
1762
+ background: var(--editor-surface-hover);
1763
+ border-color: var(--editor-border-strong);
1764
+ color: var(--editor-text-primary);
1765
+ }
1766
+ }
1767
+ ._EditorFields--wrapFields_3dnua_36 ._EditorFields-syncButton_3dnua_46 + ._EditorFields-field_3dnua_32 {
1768
+ border-top: none;
1769
+ }
1770
+
1687
1771
  /* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/ComponentList/styles.module.css/#css-module-data */
1688
1772
  ._ComponentList_1mlcu_1 {
1689
1773
  max-width: 100%;
@@ -2049,90 +2133,6 @@ body:has(._DropZone--isAnimating_1h108_70:empty) [data-editor-overlay] {
2049
2133
  display: none;
2050
2134
  }
2051
2135
 
2052
- /* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Editor/components/Fields/styles.module.css/#css-module-data */
2053
- ._EditorFields_3dnua_1 {
2054
- position: relative;
2055
- font-family: var(--editor-font-family);
2056
- }
2057
- ._EditorFields--isLoading_3dnua_6 {
2058
- min-height: 48px;
2059
- }
2060
- ._EditorFields-loadingOverlay_3dnua_10 {
2061
- background: var(--editor-surface-panel);
2062
- display: flex;
2063
- justify-content: flex-end;
2064
- align-items: flex-start;
2065
- height: 100%;
2066
- width: 100%;
2067
- top: 0px;
2068
- position: absolute;
2069
- z-index: 1;
2070
- pointer-events: all;
2071
- box-sizing: border-box;
2072
- opacity: 0.8;
2073
- }
2074
- ._EditorFields-loadingOverlayInner_3dnua_25 {
2075
- display: flex;
2076
- padding: 16px;
2077
- position: sticky;
2078
- top: 0;
2079
- }
2080
- ._EditorFields-field_3dnua_32 * {
2081
- box-sizing: border-box;
2082
- }
2083
- ._EditorFields--wrapFields_3dnua_36 ._EditorFields-field_3dnua_32 {
2084
- color: var(--editor-text-secondary);
2085
- padding: 14px 16px;
2086
- display: block;
2087
- }
2088
- ._EditorFields--wrapFields_3dnua_36 ._EditorFields-field_3dnua_32 + ._EditorFields-field_3dnua_32 {
2089
- border-top: 1px solid var(--editor-border-subtle);
2090
- }
2091
- ._EditorFields-syncButton_3dnua_46 {
2092
- align-items: center;
2093
- background: transparent;
2094
- border: 1px solid var(--editor-color-global);
2095
- border-radius: var(--editor-radius-md);
2096
- color: var(--editor-color-global);
2097
- cursor: pointer;
2098
- display: flex;
2099
- font: inherit;
2100
- font-size: var(--editor-font-size-xxs);
2101
- font-weight: 500;
2102
- gap: 8px;
2103
- justify-content: center;
2104
- margin: 12px 16px;
2105
- padding: 10px;
2106
- transition:
2107
- background-color var(--editor-motion-fast) var(--editor-ease),
2108
- border-color var(--editor-motion-fast) var(--editor-ease),
2109
- color var(--editor-motion-fast) var(--editor-ease);
2110
- width: calc(100% - 32px);
2111
- }
2112
- @media (hover: hover) and (pointer: fine) {
2113
- ._EditorFields-syncButton_3dnua_46:hover {
2114
- background: var(--editor-color-global-soft);
2115
- }
2116
- }
2117
- ._EditorFields-syncButton_3dnua_46:focus-visible {
2118
- outline: none;
2119
- box-shadow: var(--editor-ring);
2120
- }
2121
- ._EditorFields-syncButton--unlinked_3dnua_78 {
2122
- border-color: var(--editor-border-default);
2123
- color: var(--editor-text-secondary);
2124
- }
2125
- @media (hover: hover) and (pointer: fine) {
2126
- ._EditorFields-syncButton--unlinked_3dnua_78:hover {
2127
- background: var(--editor-surface-hover);
2128
- border-color: var(--editor-border-strong);
2129
- color: var(--editor-text-primary);
2130
- }
2131
- }
2132
- ._EditorFields--wrapFields_3dnua_36 ._EditorFields-syncButton_3dnua_46 + ._EditorFields-field_3dnua_32 {
2133
- border-top: none;
2134
- }
2135
-
2136
2136
  /* css-module:/Users/rami/Documents/apps/react-editor/packages/core/components/Editor/components/Components/styles.module.css/#css-module-data */
2137
2137
  ._Components-search_recer_1 {
2138
2138
  position: relative;
@@ -1,6 +1,6 @@
1
- export { t as Adaptor, A as AppState, u as ArrayField, v as ArrayState, w as AsFieldProps, B as BaseData, x as BaseField, y as CacheOpts, z as ColorField, l as ComponentConfig, G as ComponentConfigExtensions, J as ComponentConfigParams, b as ComponentData, K as ComponentDataMap, L as ComponentDataOptionalId, N as ComponentMetadata, C as Config, Q as ConfigParams, a as Content, S as CustomField, T as CustomFieldRender, D as Data, d as DefaultComponentProps, c as DefaultComponents, e as DefaultRootFieldProps, X as DefaultRootProps, Y as DefaultRootRenderProps, Z as Direction, _ as DragAxis, E as EditorAction, $ as EditorComponent, a0 as EditorContext, a1 as EditorMetadata, a2 as ExternalField, a3 as ExternalFieldWithAdaptor, a4 as ExtractConfigParams, a5 as ExtractField, o as Field, a6 as FieldMetadata, p as FieldProps, a7 as FieldRenderFunctions, a8 as FieldTransformFn, a9 as FieldTransformFnParams, m as FieldTransforms, F as Fields, H as History, I as IframeConfig, q as InitialHistory, aa as ItemWithId, ab as MappedItem, M as Metadata, ac as NumberField, ad as ObjectField, O as OnAction, ae as OverrideKey, j as Overrides, f as Permissions, i as Plugin, af as RadioField, h as ResolveDataTrigger, ag as RichText, n as RichtextField, ah as RootConfig, R as RootData, g as RootDataWithProps, ai as RootDataWithoutProps, aj as SelectField, ak as Slot, al as SlotComponent, am as SlotField, an as TextField, ao as TextareaField, k as UiState, U as UserGenerics, ap as Viewport, V as Viewports, aq as WithChildren, ar as WithEditorProps, W as WithId, as as WithSlotProps, at as overrideKeys } from './actions-2L-1hQ7r.mjs';
2
- export { Action, ActionBar, AutoField, Button, ComponentList, Drawer, Editor, EditorApi, EditorCommands, FieldLabel, GlobalsMap, Group, IconButton, InsertComponentArgs, Label, MoveDestination, PageMetadata, Parent, Render, RichTextMenu, Route, Separator, UseEditorData, blocksPlugin, createUseEditor, fieldsPlugin, legacySideBarPlugin, outlinePlugin, pageMetadata, registerOverlayPortal, renderContext, setDeep, useEditor, useGetEditor, usePropsContext } from './index.mjs';
3
- export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-4C3ODO3X.mjs';
1
+ export { t as Adaptor, A as AppState, u as ArrayField, v as ArrayState, w as AsFieldProps, B as BaseData, x as BaseField, y as CacheOpts, z as ColorField, g as ComponentConfig, G as ComponentConfigExtensions, J as ComponentConfigParams, b as ComponentData, K as ComponentDataMap, L as ComponentDataOptionalId, N as ComponentMetadata, C as Config, Q as ConfigParams, j as Content, S as CustomField, T as CustomFieldRender, D as Data, l as DefaultComponentProps, k as DefaultComponents, m as DefaultRootFieldProps, X as DefaultRootProps, Y as DefaultRootRenderProps, Z as Direction, _ as DragAxis, E as EditorAction, $ as EditorComponent, a0 as EditorContext, a1 as EditorMetadata, a2 as ExternalField, a3 as ExternalFieldWithAdaptor, a4 as ExtractConfigParams, a5 as ExtractField, o as Field, a6 as FieldMetadata, p as FieldProps, a7 as FieldRenderFunctions, a8 as FieldTransformFn, a9 as FieldTransformFnParams, h as FieldTransforms, F as Fields, H as History, I as IframeConfig, q as InitialHistory, aa as ItemWithId, ab as MappedItem, M as Metadata, ac as NumberField, ad as ObjectField, O as OnAction, ae as OverrideKey, e as Overrides, a as Permissions, d as Plugin, af as RadioField, c as ResolveDataTrigger, ag as RichText, i as RichtextField, ah as RootConfig, n as RootData, R as RootDataWithProps, ai as RootDataWithoutProps, aj as SelectField, ak as Slot, al as SlotComponent, am as SlotField, an as TextField, ao as TextareaField, f as UiState, U as UserGenerics, ap as Viewport, V as Viewports, aq as WithChildren, ar as WithEditorProps, W as WithId, as as WithSlotProps, at as overrideKeys } from './actions-B8_EA7vy.mjs';
2
+ export { Action, ActionBar, App, AppContextValue, AppMatched, AppProps, AppProvider, AppProviderProps, AppRouterVariant, AutoField, Button, ComponentList, Drawer, Editor, EditorApi, EditorCommands, FieldLabel, GlobalsMap, Group, IconButton, InsertComponentArgs, Label, MoveDestination, PageMetadata, Parent, Render, RichTextMenu, Route, RouteKey, Separator, UseEditorData, appConfigContext, blocksPlugin, createUseEditor, fieldsPlugin, legacySideBarPlugin, outlinePlugin, pageMetadata, registerOverlayPortal, renderContext, setDeep, useApp, useEditor, useGetEditor, usePropsContext, useRouteParams, useStableValue } from './index.mjs';
3
+ export { G as GetRoutePropsOptions, g as getRouteProps, m as migrate, r as resolveAllData, a as resolveRouteFromString, t as transformProps, w as walkTree } from './walk-tree-BR2XIZ0W.mjs';
4
4
  import 'react';
5
5
  import '@tiptap/react';
6
6
  import '@tiptap/extension-blockquote';
@@ -18,4 +18,4 @@ import '@tiptap/extension-strike';
18
18
  import '@tiptap/extension-text-align';
19
19
  import '@tiptap/extension-underline';
20
20
  import 'react/jsx-runtime';
21
- import './index-BXuSeNez.mjs';
21
+ import './index-JoD48fK_.mjs';
@@ -1,6 +1,6 @@
1
- export { t as Adaptor, A as AppState, u as ArrayField, v as ArrayState, w as AsFieldProps, B as BaseData, x as BaseField, y as CacheOpts, z as ColorField, l as ComponentConfig, G as ComponentConfigExtensions, J as ComponentConfigParams, b as ComponentData, K as ComponentDataMap, L as ComponentDataOptionalId, N as ComponentMetadata, C as Config, Q as ConfigParams, a as Content, S as CustomField, T as CustomFieldRender, D as Data, d as DefaultComponentProps, c as DefaultComponents, e as DefaultRootFieldProps, X as DefaultRootProps, Y as DefaultRootRenderProps, Z as Direction, _ as DragAxis, E as EditorAction, $ as EditorComponent, a0 as EditorContext, a1 as EditorMetadata, a2 as ExternalField, a3 as ExternalFieldWithAdaptor, a4 as ExtractConfigParams, a5 as ExtractField, o as Field, a6 as FieldMetadata, p as FieldProps, a7 as FieldRenderFunctions, a8 as FieldTransformFn, a9 as FieldTransformFnParams, m as FieldTransforms, F as Fields, H as History, I as IframeConfig, q as InitialHistory, aa as ItemWithId, ab as MappedItem, M as Metadata, ac as NumberField, ad as ObjectField, O as OnAction, ae as OverrideKey, j as Overrides, f as Permissions, i as Plugin, af as RadioField, h as ResolveDataTrigger, ag as RichText, n as RichtextField, ah as RootConfig, R as RootData, g as RootDataWithProps, ai as RootDataWithoutProps, aj as SelectField, ak as Slot, al as SlotComponent, am as SlotField, an as TextField, ao as TextareaField, k as UiState, U as UserGenerics, ap as Viewport, V as Viewports, aq as WithChildren, ar as WithEditorProps, W as WithId, as as WithSlotProps, at as overrideKeys } from './actions-2L-1hQ7r.js';
2
- export { Action, ActionBar, AutoField, Button, ComponentList, Drawer, Editor, EditorApi, EditorCommands, FieldLabel, GlobalsMap, Group, IconButton, InsertComponentArgs, Label, MoveDestination, PageMetadata, Parent, Render, RichTextMenu, Route, Separator, UseEditorData, blocksPlugin, createUseEditor, fieldsPlugin, legacySideBarPlugin, outlinePlugin, pageMetadata, registerOverlayPortal, renderContext, setDeep, useEditor, useGetEditor, usePropsContext } from './index.js';
3
- export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-C9GrSWsR.js';
1
+ export { t as Adaptor, A as AppState, u as ArrayField, v as ArrayState, w as AsFieldProps, B as BaseData, x as BaseField, y as CacheOpts, z as ColorField, g as ComponentConfig, G as ComponentConfigExtensions, J as ComponentConfigParams, b as ComponentData, K as ComponentDataMap, L as ComponentDataOptionalId, N as ComponentMetadata, C as Config, Q as ConfigParams, j as Content, S as CustomField, T as CustomFieldRender, D as Data, l as DefaultComponentProps, k as DefaultComponents, m as DefaultRootFieldProps, X as DefaultRootProps, Y as DefaultRootRenderProps, Z as Direction, _ as DragAxis, E as EditorAction, $ as EditorComponent, a0 as EditorContext, a1 as EditorMetadata, a2 as ExternalField, a3 as ExternalFieldWithAdaptor, a4 as ExtractConfigParams, a5 as ExtractField, o as Field, a6 as FieldMetadata, p as FieldProps, a7 as FieldRenderFunctions, a8 as FieldTransformFn, a9 as FieldTransformFnParams, h as FieldTransforms, F as Fields, H as History, I as IframeConfig, q as InitialHistory, aa as ItemWithId, ab as MappedItem, M as Metadata, ac as NumberField, ad as ObjectField, O as OnAction, ae as OverrideKey, e as Overrides, a as Permissions, d as Plugin, af as RadioField, c as ResolveDataTrigger, ag as RichText, i as RichtextField, ah as RootConfig, n as RootData, R as RootDataWithProps, ai as RootDataWithoutProps, aj as SelectField, ak as Slot, al as SlotComponent, am as SlotField, an as TextField, ao as TextareaField, f as UiState, U as UserGenerics, ap as Viewport, V as Viewports, aq as WithChildren, ar as WithEditorProps, W as WithId, as as WithSlotProps, at as overrideKeys } from './actions-B8_EA7vy.js';
2
+ export { Action, ActionBar, App, AppContextValue, AppMatched, AppProps, AppProvider, AppProviderProps, AppRouterVariant, AutoField, Button, ComponentList, Drawer, Editor, EditorApi, EditorCommands, FieldLabel, GlobalsMap, Group, IconButton, InsertComponentArgs, Label, MoveDestination, PageMetadata, Parent, Render, RichTextMenu, Route, RouteKey, Separator, UseEditorData, appConfigContext, blocksPlugin, createUseEditor, fieldsPlugin, legacySideBarPlugin, outlinePlugin, pageMetadata, registerOverlayPortal, renderContext, setDeep, useApp, useEditor, useGetEditor, usePropsContext, useRouteParams, useStableValue } from './index.js';
3
+ export { G as GetRoutePropsOptions, g as getRouteProps, m as migrate, r as resolveAllData, a as resolveRouteFromString, t as transformProps, w as walkTree } from './walk-tree-DpUJ9kDx.js';
4
4
  import 'react';
5
5
  import '@tiptap/react';
6
6
  import '@tiptap/extension-blockquote';
@@ -18,4 +18,4 @@ import '@tiptap/extension-strike';
18
18
  import '@tiptap/extension-text-align';
19
19
  import '@tiptap/extension-underline';
20
20
  import 'react/jsx-runtime';
21
- import './index-BNsSzMCj.js';
21
+ import './index-BrHy0cc_.js';