@dxos/plugin-navtree 0.8.4-main.5acf9ea → 0.8.4-main.5ea62a8

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 (68) hide show
  1. package/dist/lib/browser/{app-graph-builder-5J4LRWDX.mjs → app-graph-builder-6JDBQ25U.mjs} +3 -3
  2. package/dist/lib/browser/{app-graph-builder-5J4LRWDX.mjs.map → app-graph-builder-6JDBQ25U.mjs.map} +3 -3
  3. package/dist/lib/browser/{chunk-WEMCSQI7.mjs → chunk-ZKVY35IG.mjs} +54 -54
  4. package/dist/lib/browser/chunk-ZKVY35IG.mjs.map +7 -0
  5. package/dist/lib/browser/index.mjs +2 -4
  6. package/dist/lib/browser/index.mjs.map +3 -3
  7. package/dist/lib/browser/{intent-resolver-3XYN2CBU.mjs → intent-resolver-N35ZIHFD.mjs} +2 -2
  8. package/dist/lib/browser/{intent-resolver-3XYN2CBU.mjs.map → intent-resolver-N35ZIHFD.mjs.map} +3 -3
  9. package/dist/lib/browser/{keyboard-QRS6WOQH.mjs → keyboard-HMTMA33N.mjs} +1 -1
  10. package/dist/lib/browser/{keyboard-QRS6WOQH.mjs.map → keyboard-HMTMA33N.mjs.map} +2 -2
  11. package/dist/lib/browser/meta.json +1 -1
  12. package/dist/lib/browser/{react-surface-JSJ5SQX5.mjs → react-surface-5PZ4XJT7.mjs} +2 -2
  13. package/dist/lib/browser/{react-surface-JSJ5SQX5.mjs.map → react-surface-5PZ4XJT7.mjs.map} +1 -1
  14. package/dist/lib/browser/{state-54DY3DOY.mjs → state-P5DGL7KS.mjs} +1 -1
  15. package/dist/lib/browser/state-P5DGL7KS.mjs.map +7 -0
  16. package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -1
  17. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  18. package/dist/types/src/capabilities/index.d.ts +6 -6
  19. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  20. package/dist/types/src/capabilities/intent-resolver.d.ts +2 -2
  21. package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
  22. package/dist/types/src/capabilities/keyboard.d.ts +1 -1
  23. package/dist/types/src/capabilities/keyboard.d.ts.map +1 -1
  24. package/dist/types/src/capabilities/react-surface.d.ts +1 -1
  25. package/dist/types/src/capabilities/state.d.ts +2 -2
  26. package/dist/types/src/capabilities/state.d.ts.map +1 -1
  27. package/dist/types/src/components/NavTree/NavTree.stories.d.ts +25 -2
  28. package/dist/types/src/components/NavTree/NavTree.stories.d.ts.map +1 -1
  29. package/dist/types/src/components/NavTreeContainer.d.ts.map +1 -1
  30. package/dist/types/src/components/NavTreeItem/NavTreeItemAction.stories.d.ts +32 -3
  31. package/dist/types/src/components/NavTreeItem/NavTreeItemAction.stories.d.ts.map +1 -1
  32. package/dist/types/src/components/NavTreeItem/NavTreeItemColumns.d.ts.map +1 -1
  33. package/dist/types/src/components/Sidebar/L0Menu.d.ts.map +1 -1
  34. package/dist/types/src/components/Sidebar/L1Tabs.d.ts.map +1 -1
  35. package/dist/types/src/components/UserAccountAvatar/UserAccountAvatar.stories.d.ts +8 -4
  36. package/dist/types/src/components/UserAccountAvatar/UserAccountAvatar.stories.d.ts.map +1 -1
  37. package/dist/types/src/components/types.d.ts +2 -2
  38. package/dist/types/src/components/types.d.ts.map +1 -1
  39. package/dist/types/src/experimental/Tree.stories.d.ts +6 -2
  40. package/dist/types/src/experimental/Tree.stories.d.ts.map +1 -1
  41. package/dist/types/src/testing/app-graph-builder.d.ts.map +1 -1
  42. package/dist/types/src/util.d.ts +1 -2
  43. package/dist/types/src/util.d.ts.map +1 -1
  44. package/dist/types/tsconfig.tsbuildinfo +1 -1
  45. package/package.json +41 -41
  46. package/src/NavTreePlugin.tsx +5 -5
  47. package/src/capabilities/app-graph-builder.ts +2 -2
  48. package/src/capabilities/intent-resolver.ts +1 -1
  49. package/src/capabilities/keyboard.ts +2 -2
  50. package/src/capabilities/react-surface.tsx +1 -1
  51. package/src/capabilities/state.ts +3 -2
  52. package/src/components/CommandsDialog/CommandsDialog.tsx +2 -2
  53. package/src/components/CommandsDialog/CommandsTrigger.tsx +1 -1
  54. package/src/components/NavTree/NavTree.stories.tsx +5 -5
  55. package/src/components/NavTreeContainer.tsx +40 -14
  56. package/src/components/NavTreeItem/NavTreeItemAction.stories.tsx +2 -2
  57. package/src/components/NavTreeItem/NavTreeItemAction.tsx +2 -2
  58. package/src/components/NavTreeItem/NavTreeItemColumns.tsx +5 -4
  59. package/src/components/Sidebar/L0Menu.tsx +2 -2
  60. package/src/components/Sidebar/L1Panel.tsx +17 -19
  61. package/src/components/Sidebar/L1Tabs.tsx +1 -0
  62. package/src/components/UserAccountAvatar/UserAccountAvatar.stories.tsx +6 -4
  63. package/src/components/types.ts +3 -2
  64. package/src/experimental/Tree.stories.tsx +5 -3
  65. package/src/testing/app-graph-builder.ts +1 -1
  66. package/src/util.ts +2 -20
  67. package/dist/lib/browser/chunk-WEMCSQI7.mjs.map +0 -7
  68. package/dist/lib/browser/state-54DY3DOY.mjs.map +0 -7
@@ -1,7 +1,36 @@
1
1
  import '@dxos-theme';
2
- import { type Meta, type StoryObj } from '@storybook/react-vite';
3
- import { NavTreeItemAction } from './NavTreeItemAction';
4
- declare const meta: Meta<typeof NavTreeItemAction>;
2
+ import { type StoryObj } from '@storybook/react-vite';
3
+ import { type NavTreeItemActionMenuProps } from './NavTreeItemAction';
4
+ declare const meta: {
5
+ title: string;
6
+ component: ({ monolithic, menuActions, parent: node, ...props }: NavTreeItemActionMenuProps) => import("react").JSX.Element;
7
+ decorators: import("@storybook/react").Decorator[];
8
+ args: {
9
+ icon: string;
10
+ parent: {
11
+ id: string;
12
+ type: string;
13
+ data: null;
14
+ properties: {
15
+ label: string;
16
+ icon: string;
17
+ };
18
+ };
19
+ menuActions: {
20
+ id: string;
21
+ type: string;
22
+ data: () => void;
23
+ properties: {
24
+ label: string;
25
+ icon: string;
26
+ };
27
+ }[];
28
+ label: string;
29
+ };
30
+ parameters: {
31
+ layout: string;
32
+ };
33
+ };
5
34
  export default meta;
6
35
  type Story = StoryObj<typeof meta>;
7
36
  export declare const Default: Story;
@@ -1 +1 @@
1
- {"version":3,"file":"NavTreeItemAction.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemAction.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjE,OAAO,EAAE,iBAAiB,EAAmC,MAAM,qBAAqB,CAAC;AA6BzF,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAaxC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
1
+ {"version":3,"file":"NavTreeItemAction.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemAction.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjE,OAAO,EAAqB,KAAK,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AA6BzF,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAagC,CAAC;AAE3C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NavTreeItemColumns.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemColumns.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAyB,MAAM,OAAO,CAAC;AAU9C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,eAAO,MAAM,kBAAkB,4DAAiD,uBAAuB,uBAuDrG,CAAC"}
1
+ {"version":3,"file":"NavTreeItemColumns.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemColumns.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAyB,MAAM,OAAO,CAAC;AAS9C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAIxD,eAAO,MAAM,kBAAkB,4DAAiD,uBAAuB,uBAuDrG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"L0Menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L0Menu.tsx"],"names":[],"mappings":"AAaA,OAAO,KASN,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAA8B,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AA0RhF,MAAM,MAAM,WAAW,GAAG;IACxB,WAAW,EAAE,QAAQ,EAAE,CAAC;IACxB,aAAa,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IAC3B,WAAW,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IACzB,eAAe,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,4EAA4E,WAAW,sBA2F7G,CAAC"}
1
+ {"version":3,"file":"L0Menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L0Menu.tsx"],"names":[],"mappings":"AAaA,OAAO,KASN,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAAgB,KAAK,QAAQ,EAAgB,MAAM,qBAAqB,CAAC;AA0RhF,MAAM,MAAM,WAAW,GAAG;IACxB,WAAW,EAAE,QAAQ,EAAE,CAAC;IACxB,aAAa,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IAC3B,WAAW,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IACzB,eAAe,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,4EAA4E,WAAW,sBA2F7G,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"L1Tabs.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L1Tabs.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAK5C,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAEvD,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,eAAe,GAAG,QAAQ,CAAC,GAAG;IAClF,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,aAAa,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM,GAAI,qCAAqC,WAAW,sBAgBtE,CAAC"}
1
+ {"version":3,"file":"L1Tabs.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L1Tabs.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAM5C,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAEvD,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,eAAe,GAAG,QAAQ,CAAC,GAAG;IAClF,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,aAAa,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;CAC5B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM,GAAI,qCAAqC,WAAW,sBAgBtE,CAAC"}
@@ -1,7 +1,11 @@
1
1
  import '@dxos-theme';
2
- import { type Meta } from '@storybook/react-vite';
3
- import { UserAccountAvatar } from './UserAccountAvatar';
4
- declare const meta: Meta<typeof UserAccountAvatar>;
2
+ import { type StoryObj } from '@storybook/react-vite';
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ size, userId, hue, emoji, status }: import("./UserAccountAvatar").UserAccountAvatarProps) => import("react").JSX.Element;
6
+ decorators: import("@storybook/react").Decorator[];
7
+ };
5
8
  export default meta;
6
- export declare const Default: {};
9
+ type Story = StoryObj<typeof meta>;
10
+ export declare const Default: Story;
7
11
  //# sourceMappingURL=UserAccountAvatar.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UserAccountAvatar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/UserAccountAvatar/UserAccountAvatar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAIlD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,iBAAiB,CAIxC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,IAAK,CAAC"}
1
+ {"version":3,"file":"UserAccountAvatar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/UserAccountAvatar/UserAccountAvatar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjE,QAAA,MAAM,IAAI;;;;CAIgC,CAAC;AAE3C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -3,8 +3,8 @@ import type { Node } from '@dxos/app-graph';
3
3
  import type { Density } from '@dxos/react-ui';
4
4
  import type { TreeProps } from '@dxos/react-ui-list';
5
5
  import type { MaybePromise } from '@dxos/util';
6
- import type { L1PanelProps } from './Sidebar';
7
6
  import type { FlattenedActions, NavTreeItemGraphNode } from '../types';
7
+ import type { L1PanelProps } from './Sidebar';
8
8
  export type NavTreeContextValue = Pick<TreeProps<NavTreeItemGraphNode, {
9
9
  disposition?: string;
10
10
  sort?: boolean;
@@ -16,7 +16,7 @@ export type NavTreeContextValue = Pick<TreeProps<NavTreeItemGraphNode, {
16
16
  node: Node;
17
17
  open: boolean;
18
18
  }>;
19
- getActions: (node: Node) => FlattenedActions;
19
+ useActions: (node: Node) => FlattenedActions;
20
20
  loadDescendents?: (node: Node) => MaybePromise<void>;
21
21
  isAlternateTree?: (path: string[], item: NavTreeItemGraphNode) => boolean;
22
22
  setAlternateTree?: (path: string[], open: boolean) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB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AAO,KAAK,IAAI,CAAC;IAC3D,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;CACpD,CAAC;AAEJ,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC"}
@@ -1,8 +1,12 @@
1
1
  import '@dxos-theme';
2
- import { type Meta } from '@storybook/react-vite';
3
2
  import { type JSX } from 'react';
3
+ import { type TreeProps } from './Tree';
4
4
  export declare const Default: () => JSX.Element;
5
5
  export declare const Visitor: () => JSX.Element;
6
- declare const meta: Meta;
6
+ declare const meta: {
7
+ title: string;
8
+ component: ({ className, showRoot, ...props }: TreeProps) => JSX.Element;
9
+ decorators: import("@storybook/react").Decorator[];
10
+ };
7
11
  export default meta;
8
12
  //# sourceMappingURL=Tree.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tree.stories.d.ts","sourceRoot":"","sources":["../../../../src/experimental/Tree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAc,EAAE,KAAK,GAAG,EAA+C,MAAM,OAAO,CAAC;AAoGrF,eAAO,MAAM,OAAO,mBAEnB,CAAC;AAEF,eAAO,MAAM,OAAO,mBAenB,CAAC;AAmGF,QAAA,MAAM,IAAI,EAAE,IAIX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Tree.stories.d.ts","sourceRoot":"","sources":["../../../../src/experimental/Tree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,OAAc,EAAE,KAAK,GAAG,EAA+C,MAAM,OAAO,CAAC;AAOrF,OAAO,EAAyC,KAAK,SAAS,EAAuB,MAAM,QAAQ,CAAC;AA6FpG,eAAO,MAAM,OAAO,mBAEnB,CAAC;AAEF,eAAO,MAAM,OAAO,mBAenB,CAAC;AAmGF,QAAA,MAAM,IAAI;;;;CAImB,CAAC;AAE9B,eAAe,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/testing/app-graph-builder.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAA4B,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAGtF,eAAO,MAAM,sBAAsB,GAAI,SAAS,aAAa,KAAG,iBAiQ/D,CAAC"}
1
+ {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/testing/app-graph-builder.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,KAAK,iBAAiB,EAA4B,MAAM,oBAAoB,CAAC;AAGtF,eAAO,MAAM,sBAAsB,GAAI,SAAS,aAAa,KAAG,iBAiQ/D,CAAC"}
@@ -1,10 +1,9 @@
1
1
  import { type Action, type Node, type ReadableGraph } from '@dxos/app-graph';
2
- import { type FlattenedActions, type NavTreeItemGraphNode } from './types';
2
+ import { type NavTreeItemGraphNode } from './types';
3
3
  export declare const getParent: (graph: ReadableGraph, node: NavTreeItemGraphNode, path: string[]) => NavTreeItemGraphNode | undefined;
4
4
  export declare const getPersistenceParent: (graph: ReadableGraph, node: NavTreeItemGraphNode, path: string[], persistenceClass: string) => NavTreeItemGraphNode | null;
5
5
  export declare const resolveMigrationOperation: (graph: ReadableGraph, activeNode: NavTreeItemGraphNode, destinationPath: string[], destinationRelatedNode?: NavTreeItemGraphNode) => "transfer" | "copy" | "reject";
6
6
  export declare const sortActions: (actions: Action[]) => Action[];
7
7
  export declare const getChildren: (graph: ReadableGraph, node: NavTreeItemGraphNode, path?: readonly string[]) => NavTreeItemGraphNode[];
8
- export declare const getActions: (graph: ReadableGraph, node: Node) => FlattenedActions;
9
8
  export declare const l0ItemType: (item: Node<any>) => "link" | "tab" | "collection" | "action";
10
9
  //# sourceMappingURL=util.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/util.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,IAAI,EAAE,KAAK,aAAa,EAA0B,MAAM,iBAAiB,CAAC;AAGrG,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE3E,eAAO,MAAM,SAAS,GACpB,OAAO,aAAa,EACpB,MAAM,oBAAoB,EAC1B,MAAM,MAAM,EAAE,KACb,oBAAoB,GAAG,SAGzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,OAAO,aAAa,EACpB,MAAM,oBAAoB,EAC1B,MAAM,MAAM,EAAE,EACd,kBAAkB,MAAM,KACvB,oBAAoB,GAAG,IAOzB,CAAC;AAEF,eAAO,MAAM,yBAAyB,GACpC,OAAO,aAAa,EACpB,YAAY,oBAAoB,EAChC,iBAAiB,MAAM,EAAE,EACzB,yBAAyB,oBAAoB,KAC5C,UAAU,GAAG,MAAM,GAAG,QAsBxB,CAAC;AAGF,eAAO,MAAM,WAAW,GAAI,SAAS,MAAM,EAAE,KAAG,MAAM,EAWlD,CAAC;AAEL,eAAO,MAAM,WAAW,GACtB,OAAO,aAAa,EACpB,MAAM,oBAAoB,EAC1B,OAAM,SAAS,MAAM,EAAO,KAC3B,oBAAoB,EAStB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,aAAa,EAAE,MAAM,IAAI,KAAG,gBAgB7D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,MAAM,IAAI,CAAC,GAAG,CAAC,6CAUzC,CAAC"}
1
+ {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/util.ts"],"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