@ankhorage/studio 0.0.16 → 0.0.17

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.
@@ -0,0 +1,6 @@
1
+ import type { StudioContextValue } from '../index';
2
+ export type { StudioAdminRoutePath, StudioPanelId, ThemeUpdates } from '../index';
3
+ export type StudioContextType = StudioContextValue;
4
+ export declare const StudioContext: import("react").Context<StudioContextValue | undefined>;
5
+ export declare const useStudio: () => StudioContextValue;
6
+ //# sourceMappingURL=StudioContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StudioContext.d.ts","sourceRoot":"","sources":["../../src/core/StudioContext.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,YAAY,EAAE,oBAAoB,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAClF,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AAEnD,eAAO,MAAM,aAAa,yDAA0D,CAAC;AAErF,eAAO,MAAM,SAAS,0BAMrB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { createContext, useContext } from 'react';
2
+ export const StudioContext = createContext(undefined);
3
+ export const useStudio = () => {
4
+ const context = useContext(StudioContext);
5
+ if (!context) {
6
+ throw new Error('useStudio must be used within a StudioProvider');
7
+ }
8
+ return context;
9
+ };
10
+ //# sourceMappingURL=StudioContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StudioContext.js","sourceRoot":"","sources":["../../src/core/StudioContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAOlD,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAgC,SAAS,CAAC,CAAC;AAErF,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,EAAE;IAC5B,MAAM,OAAO,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;IAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;IACpE,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React, { type ReactNode } from 'react';
2
+ import { type StudioContextValue, type StudioManifest } from '../index';
3
+ export interface StudioProviderProps {
4
+ children: ReactNode;
5
+ projectId: string;
6
+ initialManifest?: StudioManifest | null;
7
+ }
8
+ export declare const StudioProvider: ({ children, projectId, initialManifest, }: StudioProviderProps) => React.FunctionComponentElement<React.ProviderProps<StudioContextValue | undefined>>;
9
+ //# sourceMappingURL=StudioProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StudioProvider.d.ts","sourceRoot":"","sources":["../../src/core/StudioProvider.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAEjE,OAAO,EAKL,KAAK,kBAAkB,EACvB,KAAK,cAAc,EAOpB,MAAM,UAAU,CAAC;AAGlB,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;CACzC;AA4BD,eAAO,MAAM,cAAc,GAAI,2CAI5B,mBAAmB,wFAqFrB,CAAC"}
@@ -0,0 +1,92 @@
1
+ import React, { useMemo, useState } from 'react';
2
+ import { findNodeById, } from '../index';
3
+ import { StudioContext } from './StudioContext';
4
+ const noop = () => undefined;
5
+ const noopAsync = () => Promise.resolve();
6
+ const resolveActiveRootNode = (manifest, activeScreenId) => {
7
+ if (!manifest) {
8
+ return null;
9
+ }
10
+ const route = manifest.navigator.routes.find((candidate) => candidate.screenId === activeScreenId) ??
11
+ manifest.navigator.routes.find((candidate) => candidate.name === manifest.navigator.initialRouteName) ??
12
+ manifest.navigator.routes[0];
13
+ const screenId = activeScreenId ?? route?.screenId;
14
+ if (!screenId) {
15
+ return null;
16
+ }
17
+ return manifest.screens[screenId]?.root ?? null;
18
+ };
19
+ export const StudioProvider = ({ children, projectId, initialManifest = null, }) => {
20
+ const [manifest, setManifest] = useState(initialManifest);
21
+ const [activePanelId, setActivePanelId] = useState(null);
22
+ const [activeAdminRoutePath, setActiveAdminRoutePath] = useState('/');
23
+ const [activeCanvasDragNodeId, setActiveCanvasDragNodeId] = useState(null);
24
+ const [activeScreenId, setActiveScreenId] = useState(null);
25
+ const [selectedNodeId, selectNode] = useState(null);
26
+ const [studioMode, setStudioMode] = useState('dark');
27
+ const [previewMode, setPreviewMode] = useState(false);
28
+ const [activeLocale, setActiveLocale] = useState('en');
29
+ const rootNode = useMemo(() => resolveActiveRootNode(manifest, activeScreenId), [activeScreenId, manifest]);
30
+ const value = useMemo(() => ({
31
+ projectId,
32
+ activeLocale,
33
+ activeScreenId,
34
+ selectedNodeId,
35
+ activePanelId,
36
+ activeAdminRoutePath,
37
+ activeCanvasDragNodeId,
38
+ studioMode,
39
+ previewMode,
40
+ saveStatus: 'idle',
41
+ isLoading: false,
42
+ error: null,
43
+ manifest,
44
+ rootNode,
45
+ selectNode,
46
+ setActivePanelId,
47
+ setActiveAdminRoutePath,
48
+ setActiveCanvasDragNodeId,
49
+ updateNode: noop,
50
+ updateAppData: (data) => setManifest((current) => (current ? { ...current, data } : current)),
51
+ updateDataBindings: (dataBindings) => setManifest((current) => (current ? { ...current, dataBindings } : current)),
52
+ updateDataSources: (dataSources) => setManifest((current) => (current ? { ...current, dataSources } : current)),
53
+ deleteNode: noop,
54
+ insertFromCatalogEntry: (_entry) => false,
55
+ moveNodeToPlacement: (_nodeId, _placement) => false,
56
+ addScreen: noop,
57
+ deleteScreen: noop,
58
+ setNavigatorType: (_type) => undefined,
59
+ setNavigatorInitialRoute: noop,
60
+ addTheme: noop,
61
+ updateTheme: (_id, _updates) => undefined,
62
+ deleteTheme: noop,
63
+ setActiveThemeId: noop,
64
+ setActiveThemeMode: setStudioMode,
65
+ updateModuleConfig: (_moduleId, _config) => undefined,
66
+ updateOAuthProviders: (_providers) => undefined,
67
+ moveNode: noop,
68
+ reorderScreens: (_newRoutes) => undefined,
69
+ setActiveScreenId,
70
+ findNode: findNodeById,
71
+ setStudioMode,
72
+ togglePreviewMode: () => setPreviewMode((current) => !current),
73
+ t: (key) => key,
74
+ setActiveLocale,
75
+ reloadDictionaries: noopAsync,
76
+ refetchManifest: noopAsync,
77
+ }), [
78
+ activeAdminRoutePath,
79
+ activeCanvasDragNodeId,
80
+ activeLocale,
81
+ activePanelId,
82
+ activeScreenId,
83
+ manifest,
84
+ previewMode,
85
+ projectId,
86
+ rootNode,
87
+ selectedNodeId,
88
+ studioMode,
89
+ ]);
90
+ return React.createElement(StudioContext.Provider, { value }, children);
91
+ };
92
+ //# sourceMappingURL=StudioProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StudioProvider.js","sourceRoot":"","sources":["../../src/core/StudioProvider.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,EAAkB,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjE,OAAO,EACL,YAAY,GAYb,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQhD,MAAM,IAAI,GAAG,GAAG,EAAE,CAAC,SAAS,CAAC;AAC7B,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;AAE1C,MAAM,qBAAqB,GAAG,CAC5B,QAA+B,EAC/B,cAAqC,EACtB,EAAE;IACjB,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,KAAK,GACT,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,KAAK,cAAc,CAAC;QACpF,QAAQ,CAAC,SA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{"version":3,"file":"studioPackageBoundary.d.ts","sourceRoot":"","sources":["../../src/core/studioPackageBoundary.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B,EAAG,mBAA4B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export const STANDALONE_STUDIO_PACKAGE_NAME = '@ankhorage/studio';
2
+ //# sourceMappingURL=studioPackageBoundary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"studioPackageBoundary.js","sourceRoot":"","sources":["../../src/core/studioPackageBoundary.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,8BAA8B,GAAG,mBAA4B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export interface AnkhStudioProps {
3
+ children: React.ReactNode;
4
+ runtimeRegistry?: unknown;
5
+ runtimeConfig?: unknown;
6
+ }
7
+ export declare const AnkhStudio: ({ children }: AnkhStudioProps) => React.FunctionComponentElement<React.FragmentProps> | null;
8
+ //# sourceMappingURL=AnkhStudio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnkhStudio.d.ts","sourceRoot":"","sources":["../../src/ui/AnkhStudio.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,eAAO,MAAM,UAAU,GAAI,cAAc,eAAe,+DAYvD,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { useStudio } from '../core/StudioContext';
3
+ export const AnkhStudio = ({ children }) => {
4
+ const studio = useStudio();
5
+ if (studio.error) {
6
+ return React.createElement(React.Fragment, null, studio.error);
7
+ }
8
+ if (studio.isLoading || !studio.manifest) {
9
+ return null;
10
+ }
11
+ return React.createElement(React.Fragment, null, children);
12
+ };
13
+ //# sourceMappingURL=AnkhStudio.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnkhStudio.js","sourceRoot":"","sources":["../../src/ui/AnkhStudio.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAQlD,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,EAAE,QAAQ,EAAmB,EAAE,EAAE;IAC1D,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;QACjB,OAAO,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;IACjE,CAAC;IAED,IAAI,MAAM,CAAC,SAAS,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;QACzC,OAAO,IAAI,CAAC;IACd,CAAC;IAED,OAAO,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC7D,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type React from 'react';
2
+ export interface StudioAppBarAugmentation {
3
+ appMode?: unknown;
4
+ actions?: React.ReactNode;
5
+ overflow?: unknown;
6
+ overlay?: React.ReactNode;
7
+ }
8
+ export declare function useStudioAppBarAugmentation(): StudioAppBarAugmentation;
9
+ //# sourceMappingURL=useStudioAppBarAugmentation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useStudioAppBarAugmentation.d.ts","sourceRoot":"","sources":["../../src/ui/useStudioAppBarAugmentation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,wBAAwB;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,2BAA2B,IAAI,wBAAwB,CAEtE"}
@@ -0,0 +1,4 @@
1
+ export function useStudioAppBarAugmentation() {
2
+ return {};
3
+ }
4
+ //# sourceMappingURL=useStudioAppBarAugmentation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useStudioAppBarAugmentation.js","sourceRoot":"","sources":["../../src/ui/useStudioAppBarAugmentation.ts"],"names":[],"mappings":"AASA,MAAM,UAAU,2BAA2B;IACzC,OAAO,EAAE,CAAC;AACZ,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { addNodeToTree, cloneWithNewIds, findNodeById, moveNodeInTree, removeNodeFromTree, updateNodeInTree } from '../index';
2
+ export { addNodeToTree, cloneWithNewIds, findNodeById, moveNodeInTree, removeNodeFromTree, updateNodeInTree, };
3
+ //# sourceMappingURL=treeUtils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"treeUtils.d.ts","sourceRoot":"","sources":["../../src/utils/treeUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,eAAe,EACf,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,UAAU,CAAC;AAElB,OAAO,EACL,aAAa,EACb,eAAe,EACf,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,gBAAgB,GACjB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { addNodeToTree, cloneWithNewIds, findNodeById, moveNodeInTree, removeNodeFromTree, updateNodeInTree, } from '../index';
2
+ export { addNodeToTree, cloneWithNewIds, findNodeById, moveNodeInTree, removeNodeFromTree, updateNodeInTree, };
3
+ //# sourceMappingURL=treeUtils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"treeUtils.js","sourceRoot":"","sources":["../../src/utils/treeUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,eAAe,EACf,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,UAAU,CAAC;AAElB,OAAO,EACL,aAAa,EACb,eAAe,EACf,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,gBAAgB,GACjB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ankhorage/studio",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "Studio authoring package for Ankhorage apps",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/ankhorage/studio#readme",
@@ -36,6 +36,30 @@
36
36
  "types": "./dist/app/index.d.ts",
37
37
  "import": "./dist/app/index.js"
38
38
  },
39
+ "./core/StudioContext": {
40
+ "types": "./dist/core/StudioContext.d.ts",
41
+ "import": "./dist/core/StudioContext.js"
42
+ },
43
+ "./core/StudioProvider": {
44
+ "types": "./dist/core/StudioProvider.d.ts",
45
+ "import": "./dist/core/StudioProvider.js"
46
+ },
47
+ "./core/studioPackageBoundary": {
48
+ "types": "./dist/core/studioPackageBoundary.d.ts",
49
+ "import": "./dist/core/studioPackageBoundary.js"
50
+ },
51
+ "./ui/AnkhStudio": {
52
+ "types": "./dist/ui/AnkhStudio.d.ts",
53
+ "import": "./dist/ui/AnkhStudio.js"
54
+ },
55
+ "./ui/useStudioAppBarAugmentation": {
56
+ "types": "./dist/ui/useStudioAppBarAugmentation.d.ts",
57
+ "import": "./dist/ui/useStudioAppBarAugmentation.js"
58
+ },
59
+ "./utils/treeUtils": {
60
+ "types": "./dist/utils/treeUtils.d.ts",
61
+ "import": "./dist/utils/treeUtils.js"
62
+ },
39
63
  "./canvasDragModel": {
40
64
  "types": "./dist/canvasDragModel.d.ts",
41
65
  "import": "./dist/canvasDragModel.js"