@dxos/plugin-deck 0.8.4-main.dedc0f3 → 0.8.4-main.e8ec1fe
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.
- package/dist/lib/browser/{app-graph-builder-DVEKLXB4.mjs → app-graph-builder-D74NTOMK.mjs} +18 -42
- package/dist/lib/browser/app-graph-builder-D74NTOMK.mjs.map +7 -0
- package/dist/lib/browser/{check-app-scheme-3BQJXWEY.mjs → check-app-scheme-HIEVFAAX.mjs} +6 -6
- package/dist/lib/browser/check-app-scheme-HIEVFAAX.mjs.map +7 -0
- package/dist/lib/browser/chunk-5KMJPIQC.mjs +16 -0
- package/dist/lib/browser/chunk-5KMJPIQC.mjs.map +7 -0
- package/dist/lib/browser/{chunk-F5BQOOEG.mjs → chunk-F3VCCHVL.mjs} +8 -6
- package/dist/lib/browser/chunk-F3VCCHVL.mjs.map +7 -0
- package/dist/lib/browser/{chunk-WILMPGDV.mjs → chunk-QKCGZ45E.mjs} +18 -17
- package/dist/lib/browser/chunk-QKCGZ45E.mjs.map +7 -0
- package/dist/lib/browser/chunk-UXLU6CMW.mjs +16 -0
- package/dist/lib/browser/chunk-UXLU6CMW.mjs.map +7 -0
- package/dist/lib/browser/{chunk-NRCPV6AV.mjs → chunk-VBYJ664A.mjs} +12 -9
- package/dist/lib/browser/chunk-VBYJ664A.mjs.map +7 -0
- package/dist/lib/browser/{chunk-NU7H23SK.mjs → chunk-VUJ6UNIJ.mjs} +410 -355
- package/dist/lib/browser/chunk-VUJ6UNIJ.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +8 -9
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-2SUIIV6N.mjs → intent-resolver-UA4YQGAC.mjs} +20 -17
- package/dist/lib/browser/intent-resolver-UA4YQGAC.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-root-7PRVDLF7.mjs → react-root-JAMHKYWN.mjs} +13 -12
- package/dist/lib/browser/react-root-JAMHKYWN.mjs.map +7 -0
- package/dist/lib/browser/{react-surface-FNY2YC2F.mjs → react-surface-6LW337ZT.mjs} +13 -13
- package/dist/lib/browser/react-surface-6LW337ZT.mjs.map +7 -0
- package/dist/lib/browser/{settings-LUPQPZ27.mjs → settings-SDPTOCCM.mjs} +7 -6
- package/dist/lib/browser/{settings-LUPQPZ27.mjs.map → settings-SDPTOCCM.mjs.map} +3 -3
- package/dist/lib/browser/state-7IFAGZQO.mjs +12 -0
- package/dist/lib/browser/toolkit-L5CFXJCF.mjs +52 -0
- package/dist/lib/browser/toolkit-L5CFXJCF.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +2 -2
- package/dist/lib/browser/{url-handler-LROZYQ26.mjs → url-handler-QEYGYE2H.mjs} +6 -6
- package/dist/lib/browser/{url-handler-LROZYQ26.mjs.map → url-handler-QEYGYE2H.mjs.map} +1 -1
- package/dist/types/src/DeckPlugin.d.ts +1 -1
- package/dist/types/src/DeckPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-root.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts +3 -0
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/capabilities/toolkit.d.ts +23 -3
- package/dist/types/src/capabilities/toolkit.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts +2 -3
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/DeckLayout.stories.d.ts +74 -0
- package/dist/types/src/components/DeckLayout/DeckLayout.stories.d.ts.map +1 -0
- package/dist/types/src/components/DeckLayout/DeckMain.d.ts +3 -0
- package/dist/types/src/components/DeckLayout/DeckMain.d.ts.map +1 -0
- package/dist/types/src/components/DeckLayout/Popover.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Toast.d.ts +5 -0
- package/dist/types/src/components/DeckLayout/Toast.d.ts.map +1 -1
- package/dist/types/src/components/DeckSettings/DeckSettings.d.ts.map +1 -1
- package/dist/types/src/components/Plank/Plank.d.ts.map +1 -1
- package/dist/types/src/components/Plank/Plank.stories.d.ts +2 -1
- package/dist/types/src/components/Plank/Plank.stories.d.ts.map +1 -1
- package/dist/types/src/components/Plank/PlankControls.d.ts.map +1 -1
- package/dist/types/src/components/Plank/PlankHeading.d.ts.map +1 -1
- package/dist/types/src/components/Sidebar/ComplementarySidebar.d.ts.map +1 -1
- package/dist/types/src/components/Sidebar/SidebarButton.d.ts.map +1 -1
- package/dist/types/src/events.d.ts.map +1 -1
- package/dist/types/src/hooks/useDeckCompanions.d.ts.map +1 -1
- package/dist/types/src/hooks/useHoistStatusbar.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +0 -1
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +1 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/schema.d.ts +4 -3
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +44 -44
- package/src/DeckPlugin.ts +62 -63
- package/src/capabilities/app-graph-builder.ts +31 -30
- package/src/capabilities/capabilities.ts +3 -3
- package/src/capabilities/check-app-scheme.ts +2 -2
- package/src/capabilities/intent-resolver.ts +12 -10
- package/src/capabilities/react-root.tsx +4 -3
- package/src/capabilities/react-surface.tsx +4 -4
- package/src/capabilities/settings.ts +1 -0
- package/src/capabilities/state.ts +12 -4
- package/src/capabilities/toolkit.ts +28 -17
- package/src/capabilities/tools.ts +1 -1
- package/src/components/DeckLayout/ActiveNode.tsx +1 -1
- package/src/components/DeckLayout/Banner.tsx +3 -3
- package/src/components/DeckLayout/ContentEmpty.tsx +1 -1
- package/src/components/DeckLayout/DeckLayout.stories.tsx +63 -0
- package/src/components/DeckLayout/DeckLayout.tsx +8 -278
- package/src/components/DeckLayout/DeckMain.tsx +281 -0
- package/src/components/DeckLayout/Dialog.tsx +1 -1
- package/src/components/DeckLayout/Fallback.tsx +3 -3
- package/src/components/DeckLayout/Popover.tsx +4 -13
- package/src/components/DeckLayout/StatusBar.tsx +1 -1
- package/src/components/DeckLayout/Toast.tsx +28 -3
- package/src/components/DeckSettings/DeckSettings.tsx +9 -3
- package/src/components/Plank/Plank.stories.tsx +3 -5
- package/src/components/Plank/Plank.tsx +69 -37
- package/src/components/Plank/PlankControls.tsx +6 -5
- package/src/components/Plank/PlankError.tsx +2 -2
- package/src/components/Plank/PlankHeading.tsx +10 -9
- package/src/components/Sidebar/ComplementarySidebar.tsx +36 -16
- package/src/components/Sidebar/Sidebar.tsx +3 -3
- package/src/components/Sidebar/SidebarButton.tsx +14 -13
- package/src/events.ts +2 -2
- package/src/hooks/useCompanions.ts +1 -1
- package/src/hooks/useDeckCompanions.ts +2 -1
- package/src/hooks/useHoistStatusbar.ts +6 -4
- package/src/meta.ts +6 -3
- package/src/translations.ts +1 -0
- package/src/types/schema.ts +5 -3
- package/dist/lib/browser/app-graph-builder-DVEKLXB4.mjs.map +0 -7
- package/dist/lib/browser/check-app-scheme-3BQJXWEY.mjs.map +0 -7
- package/dist/lib/browser/chunk-F5BQOOEG.mjs.map +0 -7
- package/dist/lib/browser/chunk-M57WD3V6.mjs +0 -16
- package/dist/lib/browser/chunk-M57WD3V6.mjs.map +0 -7
- package/dist/lib/browser/chunk-NRCPV6AV.mjs.map +0 -7
- package/dist/lib/browser/chunk-NU7H23SK.mjs.map +0 -7
- package/dist/lib/browser/chunk-WILMPGDV.mjs.map +0 -7
- package/dist/lib/browser/chunk-Z5KITAZW.mjs +0 -13
- package/dist/lib/browser/chunk-Z5KITAZW.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-2SUIIV6N.mjs.map +0 -7
- package/dist/lib/browser/react-root-7PRVDLF7.mjs.map +0 -7
- package/dist/lib/browser/react-surface-FNY2YC2F.mjs.map +0 -7
- package/dist/lib/browser/state-CRXR7X63.mjs +0 -12
- package/dist/lib/browser/toolkit-XGJSBY67.mjs +0 -61
- package/dist/lib/browser/toolkit-XGJSBY67.mjs.map +0 -7
- /package/dist/lib/browser/{state-CRXR7X63.mjs.map → state-7IFAGZQO.mjs.map} +0 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/intent-resolver.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { batch } from '@preact/signals-core';\nimport * as Effect from 'effect/Effect';\nimport * as Function from 'effect/Function';\nimport * as Option from 'effect/Option';\nimport * as Schema from 'effect/Schema';\n\nimport {\n Capabilities,\n IntentAction,\n LayoutAction,\n type PluginContext,\n chain,\n contributes,\n createIntent,\n createResolver,\n} from '@dxos/app-framework';\nimport { Obj } from '@dxos/echo';\nimport { invariant } from '@dxos/invariant';\nimport { isLiveObject } from '@dxos/live-object';\nimport { log } from '@dxos/log';\nimport { AttentionCapabilities } from '@dxos/plugin-attention';\nimport { isActionLike } from '@dxos/plugin-graph';\nimport { ObservabilityAction } from '@dxos/plugin-observability/types';\nimport { byPosition, isNonNullable } from '@dxos/util';\n\nimport { closeEntry, createEntryId, incrementPlank, openEntry } from '../layout';\nimport { meta } from '../meta';\nimport {\n DeckAction,\n type DeckSettingsProps,\n type LayoutMode,\n PLANK_COMPANION_TYPE,\n defaultDeck,\n getMode,\n isLayoutMode,\n} from '../types';\nimport { setActive } from '../util';\n\nimport { DeckCapabilities } from './capabilities';\n\nexport default (context: PluginContext) =>\n contributes(Capabilities.IntentResolver, [\n createResolver({\n intent: IntentAction.ShowUndo,\n resolve: (data) => {\n const layout = context.getCapability(DeckCapabilities.MutableDeckState);\n const { undoPromise: undo } = context.getCapability(Capabilities.IntentDispatcher);\n\n // TODO(wittjosiah): Support undoing further back than the last action.\n if (layout.currentUndoId) {\n layout.toasts = layout.toasts.filter((toast) => toast.id !== layout.currentUndoId);\n }\n layout.currentUndoId = `${IntentAction.ShowUndo._tag}-${Date.now()}`;\n layout.toasts = [\n ...layout.toasts,\n {\n id: layout.currentUndoId,\n title: data.message ?? ['undo available label', { ns: meta.id }],\n duration: 10_000,\n actionLabel: ['undo action label', { ns: meta.id }],\n actionAlt: ['undo action alt', { ns: meta.id }],\n closeLabel: ['undo close label', { ns: meta.id }],\n onAction: () => undo(),\n },\n ];\n },\n }),\n createResolver({\n intent: LayoutAction.UpdateLayout,\n // TODO(wittjosiah): This should be able to just be `Schema.is(LayoutAction.UpdateSidebar.fields.input)`\n // but the filter is not being applied correctly.\n filter: (data): data is Schema.Schema.Type<typeof LayoutAction.UpdateSidebar.fields.input> =>\n Schema.is(LayoutAction.UpdateSidebar.fields.input)(data),\n resolve: ({ options }) => {\n const layout = context.getCapability(DeckCapabilities.MutableDeckState);\n const next = options?.state ?? layout.sidebarState;\n if (next !== layout.sidebarState) {\n layout.sidebarState = next;\n }\n },\n }),\n createResolver({\n intent: LayoutAction.UpdateLayout,\n // TODO(wittjosiah): This should be able to just be `Schema.is(LayoutAction.UpdateComplementary.fields.input)`\n // but the filter is not being applied correctly.\n filter: (data): data is Schema.Schema.Type<typeof LayoutAction.UpdateComplementary.fields.input> =>\n Schema.is(LayoutAction.UpdateComplementary.fields.input)(data),\n resolve: ({ subject, options }) => {\n const layout = context.getCapability(DeckCapabilities.MutableDeckState);\n if (layout.complementarySidebarPanel !== subject) {\n layout.complementarySidebarPanel = subject;\n }\n\n const next = subject ? 'expanded' : (options?.state ?? layout.complementarySidebarState);\n if (next !== layout.complementarySidebarState) {\n layout.complementarySidebarState = next;\n }\n },\n }),\n createResolver({\n intent: LayoutAction.UpdateLayout,\n // TODO(wittjosiah): This should be able to just be `Schema.is(LayoutAction.UpdateDialog.fields.input)`\n // but the filter is not being applied correctly.\n filter: (data): data is Schema.Schema.Type<typeof LayoutAction.UpdateDialog.fields.input> =>\n Schema.is(LayoutAction.UpdateDialog.fields.input)(data),\n resolve: ({ subject, options }) => {\n const layout = context.getCapability(DeckCapabilities.MutableDeckState);\n layout.dialogOpen = options.state ?? Boolean(subject);\n layout.dialogType = options.type ?? 'default';\n layout.dialogBlockAlign = options.blockAlign ?? 'center';\n layout.dialogOverlayClasses = options.overlayClasses;\n layout.dialogOverlayStyle = options.overlayStyle;\n layout.dialogContent = subject ? { component: subject, props: options.props } : null;\n },\n }),\n createResolver({\n intent: LayoutAction.UpdateLayout,\n // TODO(wittjosiah): This should be able to just be `Schema.is(LayoutAction.UpdatePopover.fields.input)`\n // but the filter is not being applied correctly.\n filter: (data): data is Schema.Schema.Type<typeof LayoutAction.UpdatePopover.fields.input> =>\n Schema.is(LayoutAction.UpdatePopover.fields.input)(data),\n resolve: ({ subject, options }) => {\n const layout = context.getCapability(DeckCapabilities.MutableDeckState);\n layout.popoverOpen = options.state ?? Boolean(subject);\n layout.popoverContent =\n typeof subject === 'string' ? { component: subject, props: options.props } : subject ? { subject } : null;\n layout.popoverSide = options.side;\n if (options.variant === 'virtual') {\n layout.popoverAnchor = options.anchor;\n } else {\n layout.popoverAnchorId = options.anchorId;\n }\n },\n }),\n createResolver({\n intent: LayoutAction.UpdateLayout,\n // TODO(wittjosiah): This should be able to just be `Schema.is(LayoutAction.AddToast.fields.input)`\n // but the filter is not being applied correctly.\n filter: (data): data is Schema.Schema.Type<typeof LayoutAction.AddToast.fields.input> =>\n Schema.is(LayoutAction.AddToast.fields.input)(data),\n resolve: ({ subject }) => {\n const layout = context.getCapability(DeckCapabilities.MutableDeckState);\n layout.toasts.push(subject);\n },\n }),\n createResolver({\n intent: LayoutAction.UpdateLayout,\n // TODO(wittjosiah): This should be able to just be `Schema.is(LayoutAction.SetLayoutMode.fields.input)`\n // but the filter is not being applied correctly.\n filter: (data): data is Schema.Schema.Type<typeof LayoutAction.SetLayoutMode.fields.input> => {\n if (!Schema.is(LayoutAction.SetLayoutMode.fields.input)(data)) {\n return false;\n }\n\n if ('mode' in data.options) {\n return isLayoutMode(data.options.mode);\n }\n\n return true;\n },\n resolve: ({ subject, options }) => {\n const state = context.getCapability(DeckCapabilities.MutableDeckState);\n\n const setMode = (mode: LayoutMode) => {\n const deck = state.deck;\n const current = deck.solo ? [deck.solo] : deck.active;\n // When un-soloing, the solo entry is added to the deck.\n const next = (\n mode !== 'deck' ? [subject ?? deck.solo ?? deck.active[0]] : [...deck.active, deck.solo]\n ).filter(isNonNullable);\n\n const removed = current.filter((id) => !next.includes(id));\n const closed = Array.from(new Set([...deck.inactive.filter((id) => !next.includes(id)), ...removed]));\n deck.inactive = closed;\n\n if (mode !== 'deck' && next[0]) {\n deck.solo = next[0];\n } else if (mode === 'deck' && deck.solo) {\n deck.solo = undefined;\n deck.initialized = true;\n }\n\n if (mode === 'solo--fullscreen') {\n deck.fullscreen = !deck.fullscreen;\n }\n };\n\n return batch(() => {\n if ('mode' in options) {\n const current = getMode(state.deck);\n if (current !== options.mode) {\n state.previousMode[state.activeDeck] = current;\n }\n setMode(options.mode as LayoutMode);\n } else if ('revert' in options) {\n const last = state.previousMode[state.activeDeck];\n setMode(last ?? 'solo');\n } else {\n log.warn('Invalid layout mode', options);\n }\n });\n },\n }),\n createResolver({\n intent: LayoutAction.UpdateLayout,\n filter: (data): data is Schema.Schema.Type<typeof LayoutAction.SwitchWorkspace.fields.input> =>\n Schema.is(LayoutAction.SwitchWorkspace.fields.input)(data),\n resolve: ({ subject }) => {\n const { graph } = context.getCapability(Capabilities.AppGraph);\n const state = context.getCapability(DeckCapabilities.MutableDeckState);\n batch(() => {\n // TODO(wittjosiah): This is a hack to prevent the previous deck from being set for pinned items.\n // Ideally this should be worked into the data model in a generic way.\n if (!state.activeDeck.startsWith('!')) {\n state.previousDeck = state.activeDeck;\n }\n state.activeDeck = subject;\n if (!state.decks[subject]) {\n state.decks[subject] = { ...defaultDeck };\n }\n });\n\n const first = state.deck.solo ? state.deck.solo : state.deck.active[0];\n if (first) {\n return {\n intents: [createIntent(LayoutAction.ScrollIntoView, { part: 'current', subject: first })],\n };\n } else {\n const [item] = graph\n .getConnections(subject)\n .filter((node) => !isActionLike(node) && !node.properties.disposition);\n if (item) {\n return {\n intents: [createIntent(LayoutAction.Open, { part: 'main', subject: [item.id] })],\n };\n }\n }\n },\n }),\n createResolver({\n intent: LayoutAction.UpdateLayout,\n filter: (data): data is Schema.Schema.Type<typeof LayoutAction.RevertWorkspace.fields.input> =>\n Schema.is(LayoutAction.RevertWorkspace.fields.input)(data),\n resolve: () => {\n const state = context.getCapability(DeckCapabilities.MutableDeckState);\n return {\n intents: [createIntent(LayoutAction.SwitchWorkspace, { part: 'workspace', subject: state.previousDeck })],\n };\n },\n }),\n createResolver({\n intent: LayoutAction.UpdateLayout,\n filter: (data): data is Schema.Schema.Type<typeof LayoutAction.Open.fields.input> =>\n Schema.is(LayoutAction.Open.fields.input)(data),\n resolve: ({ subject, options }) =>\n Effect.gen(function* () {\n const { graph } = context.getCapability(Capabilities.AppGraph);\n const state = context.getCapability(DeckCapabilities.MutableDeckState);\n const attention = context.getCapability(AttentionCapabilities.Attention);\n const settings = context\n .getCapabilities(Capabilities.SettingsStore)[0]\n ?.getStore<DeckSettingsProps>(meta.id)?.value;\n\n if (options?.workspace && state.activeDeck !== options?.workspace) {\n const { dispatch } = context.getCapability(Capabilities.IntentDispatcher);\n yield* dispatch(\n createIntent(LayoutAction.SwitchWorkspace, { part: 'workspace', subject: options.workspace }),\n );\n }\n\n const previouslyOpenIds = new Set<string>(state.deck.solo ? [state.deck.solo] : state.deck.active);\n batch(() => {\n const next = state.deck.solo\n ? (subject as string[]).map((id) => createEntryId(id, options?.variant))\n : subject.reduce(\n (acc, entryId) =>\n openEntry(acc, entryId, {\n key: options?.key,\n positioning: options?.positioning ?? settings?.newPlankPositioning,\n pivotId: options?.pivotId,\n variant: options?.variant,\n }),\n state.deck.active,\n );\n\n return setActive({ next, state, attention });\n });\n\n const ids = state.deck.solo ? [state.deck.solo] : state.deck.active;\n const newlyOpen = ids.filter((i) => !previouslyOpenIds.has(i));\n\n return {\n intents: [\n ...(options?.scrollIntoView !== false\n ? [createIntent(LayoutAction.ScrollIntoView, { part: 'current', subject: newlyOpen[0] ?? subject[0] })]\n : []),\n createIntent(LayoutAction.Expose, { part: 'navigation', subject: newlyOpen[0] ?? subject[0] }),\n ...newlyOpen.map((subjectId) => {\n const typename = Option.match(graph.getNode(subjectId), {\n onNone: () => undefined,\n onSome: (node) => {\n const active = node.data;\n return isLiveObject(active) ? Obj.getTypename(active) : undefined;\n },\n });\n return createIntent(ObservabilityAction.SendEvent, {\n name: 'navigation.activate',\n properties: {\n subjectId,\n typename,\n },\n });\n }),\n ],\n };\n }),\n }),\n createResolver({\n intent: LayoutAction.UpdateLayout,\n filter: (data): data is Schema.Schema.Type<typeof LayoutAction.Close.fields.input> =>\n Schema.is(LayoutAction.Close.fields.input)(data),\n resolve: ({ subject }) => {\n const state = context.getCapability(DeckCapabilities.MutableDeckState);\n const attention = context.getCapability(AttentionCapabilities.Attention);\n const active = state.deck.solo ? [state.deck.solo] : state.deck.active;\n const next = subject.reduce((acc, id) => closeEntry(acc, id), active);\n const toAttend = setActive({ next, state, attention });\n\n const clearCompanionIntents = subject\n .filter((id) => state.deck.activeCompanions && id in state.deck.activeCompanions)\n .map((primary) => createIntent(DeckAction.ChangeCompanion, { primary, companion: null }));\n\n return {\n intents: [\n ...clearCompanionIntents,\n ...(toAttend ? [createIntent(LayoutAction.ScrollIntoView, { part: 'current', subject: toAttend })] : []),\n ],\n };\n },\n }),\n createResolver({\n intent: LayoutAction.UpdateLayout,\n filter: (data): data is Schema.Schema.Type<typeof LayoutAction.Set.fields.input> =>\n Schema.is(LayoutAction.Set.fields.input)(data),\n resolve: ({ subject }) => {\n const state = context.getCapability(DeckCapabilities.MutableDeckState);\n const attention = context.getCapability(AttentionCapabilities.Attention);\n const toAttend = setActive({ next: subject as string[], state, attention });\n return {\n intents: toAttend ? [createIntent(LayoutAction.ScrollIntoView, { part: 'current', subject: toAttend })] : [],\n };\n },\n }),\n createResolver({\n intent: LayoutAction.UpdateLayout,\n filter: (data): data is Schema.Schema.Type<typeof LayoutAction.ScrollIntoView.fields.input> =>\n Schema.is(LayoutAction.ScrollIntoView.fields.input)(data),\n resolve: ({ subject }) => {\n const layout = context.getCapability(DeckCapabilities.MutableDeckState);\n layout.scrollIntoView = subject;\n },\n }),\n createResolver({\n intent: DeckAction.UpdatePlankSize,\n resolve: (data) => {\n const state = context.getCapability(DeckCapabilities.MutableDeckState);\n state.deck.plankSizing[data.id] = data.size;\n },\n }),\n createResolver({\n intent: DeckAction.ChangeCompanion,\n resolve: (data) => {\n const state = context.getCapability(DeckCapabilities.MutableDeckState);\n // TODO(thure): Reactivity only works when creating a lexically new `activeCompanions`… Are these not proxy objects?\n if (data.companion === null) {\n const { [data.primary]: _, ...nextActiveCompanions } = state.deck.activeCompanions ?? {};\n state.deck.activeCompanions = nextActiveCompanions;\n } else {\n invariant(data.companion !== data.primary);\n state.deck.activeCompanions = {\n ...state.deck.activeCompanions,\n [data.primary]: data.companion,\n };\n }\n },\n }),\n createResolver({\n intent: DeckAction.Adjust,\n resolve: (adjustment) => {\n const state = context.getCapability(DeckCapabilities.MutableDeckState);\n const attention = context.getCapability(AttentionCapabilities.Attention);\n const { graph } = context.getCapability(Capabilities.AppGraph);\n\n return batch(() => {\n if (adjustment.type === 'increment-end' || adjustment.type === 'increment-start') {\n setActive({\n next: incrementPlank(state.deck.active, adjustment),\n state,\n attention,\n });\n }\n\n if (adjustment.type === 'companion') {\n return Function.pipe(\n graph.getNode(adjustment.id),\n Option.map((node) =>\n graph\n .getConnections(node.id)\n .filter((n) => n.type === PLANK_COMPANION_TYPE)\n .toSorted((a, b) => byPosition(a.properties, b.properties)),\n ),\n Option.flatMap((companions) => (companions.length > 0 ? Option.some(companions[0]) : Option.none())),\n Option.match({\n onNone: () => ({}),\n onSome: (companion) => ({\n intents: [\n // TODO(wittjosiah): This should remember the previously selected companion.\n createIntent(DeckAction.ChangeCompanion, { primary: adjustment.id, companion: companion.id }),\n ],\n }),\n }),\n );\n }\n\n if (adjustment.type.startsWith('solo')) {\n const entryId = adjustment.id;\n if (!state.deck.solo) {\n // Solo the entry.\n return {\n intents: [\n createIntent(LayoutAction.SetLayoutMode, {\n part: 'mode',\n subject: entryId,\n options: { mode: adjustment.type },\n }),\n ],\n };\n } else {\n if (adjustment.type === 'solo--fullscreen') {\n // Toggle fullscreen on the current entry.\n return {\n intents: [\n createIntent(LayoutAction.SetLayoutMode, {\n part: 'mode',\n subject: entryId,\n options: { mode: 'solo--fullscreen' },\n }),\n ],\n };\n } else if (adjustment.type === 'solo') {\n // Un-solo the current entry.\n return {\n intents: [\n // NOTE: The order of these is important.\n Function.pipe(\n createIntent(LayoutAction.SetLayoutMode, { part: 'mode', options: { mode: 'deck' } }),\n chain(LayoutAction.Open, { part: 'main', subject: [entryId] }),\n ),\n ],\n };\n }\n }\n }\n });\n },\n }),\n ]);\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAIA,SAASA,aAAa;AACtB,YAAYC,YAAY;AACxB,YAAYC,cAAc;AAC1B,YAAYC,YAAY;AACxB,YAAYC,YAAY;AAExB,SACEC,cACAC,cACAC,cAEAC,OACAC,aACAC,cACAC,sBACK;AACP,SAASC,WAAW;AACpB,SAASC,iBAAiB;AAC1B,SAASC,oBAAoB;AAC7B,SAASC,WAAW;AACpB,SAASC,6BAA6B;AACtC,SAASC,oBAAoB;AAC7B,SAASC,2BAA2B;AACpC,SAASC,YAAYC,qBAAqB;;AAiB1C,IAAA,2BAAe,CAACC,YACdC,YAAYC,aAAaC,gBAAgB;EACvCC,eAAe;IACbC,QAAQC,aAAaC;IACrBC,SAAS,CAACC,SAAAA;AACR,YAAMC,SAASV,QAAQW,cAAcC,iBAAiBC,gBAAgB;AACtE,YAAM,EAAEC,aAAaC,KA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/F;UACF,CAAA,CAAA;QAEJ;AAEA,YAAI4J,WAAW7H,KAAKmD,WAAW,MAAA,GAAS;AACtC,gBAAMiC,UAAUyC,WAAW5J;AAC3B,cAAI,CAACqB,MAAMoC,KAAKE,MAAM;AAEpB,mBAAO;cACL4B,SAAS;gBACPC,aAAa3E,aAAawC,eAAe;kBACvCqC,MAAM;kBACNlE,SAAS2F;kBACThG,SAAS;oBAAEoC,MAAMqG,WAAW7H;kBAAK;gBACnC,CAAA;;YAEJ;UACF,OAAO;AACL,gBAAI6H,WAAW7H,SAAS,oBAAoB;AAE1C,qBAAO;gBACLwD,SAAS;kBACPC,aAAa3E,aAAawC,eAAe;oBACvCqC,MAAM;oBACNlE,SAAS2F;oBACThG,SAAS;sBAAEoC,MAAM;oBAAmB;kBACtC,CAAA;;cAEJ;YACF,WAAWqG,WAAW7H,SAAS,QAAQ;AAErC,qBAAO;gBACLwD,SAAS;;kBAEEuE,cACPtE,aAAa3E,aAAawC,eAAe;oBAAEqC,MAAM;oBAAQvE,SAAS;sBAAEoC,MAAM;oBAAO;kBAAE,CAAA,GACnFmH,MAAM7J,aAAaoF,MAAM;oBAAEP,MAAM;oBAAQlE,SAAS;sBAAC2F;;kBAAS,CAAA,CAAA;;cAGlE;YACF;UACF;QACF;MACF,CAAA;IACF;EACF,CAAA;CACD;",
|
|
6
|
+
"names": ["batch", "Effect", "Function", "Option", "Schema", "Capabilities", "IntentAction", "LayoutAction", "chain", "contributes", "createIntent", "createResolver", "Obj", "invariant", "isLiveObject", "log", "AttentionCapabilities", "isActionLike", "ObservabilityAction", "byPosition", "isNonNullable", "context", "contributes", "Capabilities", "IntentResolver", "createResolver", "intent", "IntentAction", "ShowUndo", "resolve", "data", "layout", "getCapability", "DeckCapabilities", "MutableDeckState", "undoPromise", "undo", "IntentDispatcher", "currentUndoId", "toasts", "filter", "toast", "id", "_tag", "Date", "now", "title", "message", "ns", "meta", "duration", "actionLabel", "actionAlt", "closeLabel", "onAction", "LayoutAction", "UpdateLayout", "is", "UpdateSidebar", "fields", "input", "options", "next", "state", "sidebarState", "UpdateComplementary", "subject", "complementarySidebarPanel", "complementarySidebarState", "UpdateDialog", "dialogOpen", "Boolean", "dialogType", "type", "dialogBlockAlign", "blockAlign", "dialogOverlayClasses", "overlayClasses", "dialogOverlayStyle", "overlayStyle", "dialogContent", "component", "props", "UpdatePopover", "popoverOpen", "popoverContent", "popoverSide", "side", "variant", "popoverAnchor", "anchor", "popoverAnchorId", "anchorId", "AddToast", "push", "SetLayoutMode", "isLayoutMode", "mode", "setMode", "deck", "current", "solo", "active", "isNonNullable", "removed", "includes", "closed", "Array", "from", "Set", "inactive", "undefined", "initialized", "fullscreen", "batch", "getMode", "previousMode", "activeDeck", "last", "log", "warn", "SwitchWorkspace", "graph", "AppGraph", "startsWith", "previousDeck", "decks", "defaultDeck", "first", "intents", "createIntent", "ScrollIntoView", "part", "item", "getConnections", "node", "isActionLike", "properties", "disposition", "Open", "RevertWorkspace", "gen", "attention", "AttentionCapabilities", "Attention", "settings", "getCapabilities", "SettingsStore", "getStore", "value", "workspace", "dispatch", "previouslyOpenIds", "map", "createEntryId", "reduce", "acc", "entryId", "openEntry", "key", "positioning", "newPlankPositioning", "pivotId", "setActive", "ids", "newlyOpen", "i", "has", "scrollIntoView", "Expose", "subjectId", "typename", "match", "getNode", "onNone", "onSome", "isLiveObject", "Obj", "getTypename", "ObservabilityAction", "SendEvent", "name", "Close", "closeEntry", "toAttend", "clearCompanionIntents", "activeCompanions", "primary", "DeckAction", "ChangeCompanion", "companion", "UpdatePlankSize", "plankSizing", "size", "_", "nextActiveCompanions", "invariant", "Adjust", "adjustment", "incrementPlank", "pipe", "n", "PLANK_COMPANION_TYPE", "toSorted", "a", "b", "byPosition", "flatMap", "companions", "length", "some", "none", "chain"]
|
|
7
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/meta.ts":{"bytes":1003,"imports":[],"format":"esm"},"src/capabilities/capabilities.ts":{"bytes":1729,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/schema.ts":{"bytes":21549,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true}],"format":"esm"},"src/types/index.ts":{"bytes":459,"imports":[{"path":"src/types/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/capabilities/state.ts":{"bytes":12461,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/app-graph-builder.ts":{"bytes":20209,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/check-app-scheme.ts":{"bytes":4638,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/settings.ts":{"bytes":2519,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/layout.ts":{"bytes":9821,"imports":[{"path":"immer","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true}],"format":"esm"},"src/util/layoutAppliesTopbar.ts":{"bytes":1251,"imports":[],"format":"esm"},"src/util/overscroll.ts":{"bytes":17423,"imports":[],"format":"esm"},"src/util/set-active.ts":{"bytes":5621,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true}],"format":"esm"},"src/util/index.ts":{"bytes":675,"imports":[{"path":"src/util/layoutAppliesTopbar.ts","kind":"import-statement","original":"./layoutAppliesTopbar"},{"path":"src/util/overscroll.ts","kind":"import-statement","original":"./overscroll"},{"path":"src/util/set-active.ts","kind":"import-statement","original":"./set-active"}],"format":"esm"},"src/capabilities/intent-resolver.ts":{"bytes":72148,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/layout.ts","kind":"import-statement","original":"../layout"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/components/DeckLayout/constants.ts":{"bytes":684,"imports":[],"format":"esm"},"src/hooks/useBreakpoints.ts":{"bytes":1275,"imports":[{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useCompanions.ts":{"bytes":2488,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/hooks/useDeckCompanions.ts":{"bytes":3481,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/hooks/useHoistStatusbar.ts":{"bytes":3209,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/hooks/useMainSize.ts":{"bytes":1503,"imports":[{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useNodeActionExpander.ts":{"bytes":1913,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/index.ts":{"bytes":1022,"imports":[{"path":"src/hooks/useBreakpoints.ts","kind":"import-statement","original":"./useBreakpoints"},{"path":"src/hooks/useCompanions.ts","kind":"import-statement","original":"./useCompanions"},{"path":"src/hooks/useDeckCompanions.ts","kind":"import-statement","original":"./useDeckCompanions"},{"path":"src/hooks/useHoistStatusbar.ts","kind":"import-statement","original":"./useHoistStatusbar"},{"path":"src/hooks/useMainSize.ts","kind":"import-statement","original":"./useMainSize"},{"path":"src/hooks/useNodeActionExpander.ts","kind":"import-statement","original":"./useNodeActionExpander"}],"format":"esm"},"src/components/fragments.ts":{"bytes":1866,"imports":[{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Plank/PlankControls.tsx":{"bytes":18584,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/components/Plank/PlankHeading.tsx":{"bytes":28066,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-text-tooltip","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/layout.ts","kind":"import-statement","original":"../../layout"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/fragments.ts","kind":"import-statement","original":"../fragments"},{"path":"src/components/Plank/PlankControls.tsx","kind":"import-statement","original":"./PlankControls"}],"format":"esm"},"src/components/Plank/PlankLoading.tsx":{"bytes":1394,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/Plank/PlankError.tsx":{"bytes":5257,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/Plank/PlankHeading.tsx","kind":"import-statement","original":"./PlankHeading"},{"path":"src/components/Plank/PlankLoading.tsx","kind":"import-statement","original":"./PlankLoading"}],"format":"esm"},"src/components/Plank/Plank.tsx":{"bytes":31687,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/layout.ts","kind":"import-statement","original":"../../layout"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/Plank/PlankError.tsx","kind":"import-statement","original":"./PlankError"},{"path":"src/components/Plank/PlankHeading.tsx","kind":"import-statement","original":"./PlankHeading"},{"path":"src/components/Plank/PlankLoading.tsx","kind":"import-statement","original":"./PlankLoading"}],"format":"esm"},"src/components/Plank/index.ts":{"bytes":860,"imports":[{"path":"src/components/Plank/Plank.tsx","kind":"import-statement","original":"./Plank"},{"path":"src/components/Plank/PlankControls.tsx","kind":"import-statement","original":"./PlankControls"},{"path":"src/components/Plank/PlankError.tsx","kind":"import-statement","original":"./PlankError"},{"path":"src/components/Plank/PlankHeading.tsx","kind":"import-statement","original":"./PlankHeading"},{"path":"src/components/Plank/PlankLoading.tsx","kind":"import-statement","original":"./PlankLoading"}],"format":"esm"},"src/components/Sidebar/SidebarButton.tsx":{"bytes":10428,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/Sidebar/ComplementarySidebar.tsx":{"bytes":24315,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/Plank/index.ts","kind":"import-statement","original":"../Plank"},{"path":"src/components/Sidebar/SidebarButton.tsx","kind":"import-statement","original":"./SidebarButton"}],"format":"esm"},"src/components/Sidebar/Sidebar.tsx":{"bytes":5525,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"}],"format":"esm"},"src/components/Sidebar/index.ts":{"bytes":694,"imports":[{"path":"src/components/Sidebar/ComplementarySidebar.tsx","kind":"import-statement","original":"./ComplementarySidebar"},{"path":"src/components/Sidebar/Sidebar.tsx","kind":"import-statement","original":"./Sidebar"},{"path":"src/components/Sidebar/SidebarButton.tsx","kind":"import-statement","original":"./SidebarButton"}],"format":"esm"},"src/components/DeckLayout/Banner.tsx":{"bytes":5383,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/Sidebar/index.ts","kind":"import-statement","original":"../Sidebar"}],"format":"esm"},"src/components/DeckLayout/ActiveNode.tsx":{"bytes":3315,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"src/components/DeckLayout/ContentEmpty.tsx":{"bytes":4099,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/fragments.ts","kind":"import-statement","original":"../fragments"},{"path":"src/components/Sidebar/index.ts","kind":"import-statement","original":"../Sidebar"}],"format":"esm"},"src/components/DeckLayout/Dialog.tsx":{"bytes":6045,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"src/components/Plank/index.ts","kind":"import-statement","original":"../Plank"}],"format":"esm"},"src/components/DeckLayout/Popover.tsx":{"bytes":12814,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"}],"format":"esm"},"src/components/DeckLayout/StatusBar.tsx":{"bytes":2624,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/DeckLayout/Toast.tsx":{"bytes":6609,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/DeckLayout/Topbar.tsx":{"bytes":1151,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"src/components/DeckLayout/Banner.tsx","kind":"import-statement","original":"./Banner"}],"format":"esm"},"src/components/DeckLayout/DeckLayout.tsx":{"bytes":39426,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/fragments.ts","kind":"import-statement","original":"../fragments"},{"path":"src/components/Plank/index.ts","kind":"import-statement","original":"../Plank"},{"path":"src/components/Sidebar/index.ts","kind":"import-statement","original":"../Sidebar"},{"path":"src/components/DeckLayout/ActiveNode.tsx","kind":"import-statement","original":"./ActiveNode"},{"path":"src/components/DeckLayout/ContentEmpty.tsx","kind":"import-statement","original":"./ContentEmpty"},{"path":"src/components/DeckLayout/Dialog.tsx","kind":"import-statement","original":"./Dialog"},{"path":"src/components/DeckLayout/Popover.tsx","kind":"import-statement","original":"./Popover"},{"path":"src/components/DeckLayout/StatusBar.tsx","kind":"import-statement","original":"./StatusBar"},{"path":"src/components/DeckLayout/Toast.tsx","kind":"import-statement","original":"./Toast"},{"path":"src/components/DeckLayout/Topbar.tsx","kind":"import-statement","original":"./Topbar"}],"format":"esm"},"src/components/DeckLayout/index.ts":{"bytes":707,"imports":[{"path":"src/components/DeckLayout/constants.ts","kind":"import-statement","original":"./constants"},{"path":"src/components/DeckLayout/Banner.tsx","kind":"import-statement","original":"./Banner"},{"path":"src/components/DeckLayout/DeckLayout.tsx","kind":"import-statement","original":"./DeckLayout"}],"format":"esm"},"src/components/DeckSettings/DeckSettings.tsx":{"bytes":12635,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/components/DeckSettings/index.ts":{"bytes":491,"imports":[{"path":"src/components/DeckSettings/DeckSettings.tsx","kind":"import-statement","original":"./DeckSettings"}],"format":"esm"},"src/components/index.ts":{"bytes":572,"imports":[{"path":"src/components/DeckLayout/index.ts","kind":"import-statement","original":"./DeckLayout"},{"path":"src/components/DeckSettings/index.ts","kind":"import-statement","original":"./DeckSettings"}],"format":"esm"},"src/capabilities/react-root.tsx":{"bytes":4509,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":3702,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/toolkit.ts":{"bytes":6782,"imports":[{"path":"@effect/ai","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/assistant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/url-handler.ts":{"bytes":8579,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-signals/core","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":3010,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/capabilities/state.ts","kind":"import-statement","original":"./state"},{"path":"src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"src/capabilities/check-app-scheme.ts","kind":"dynamic-import","original":"./check-app-scheme"},{"path":"src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"},{"path":"src/capabilities/state.ts","kind":"dynamic-import","original":"./state"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/react-root.tsx","kind":"dynamic-import","original":"./react-root"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"src/capabilities/toolkit.ts","kind":"dynamic-import","original":"./toolkit"},{"path":"src/capabilities/url-handler.ts","kind":"dynamic-import","original":"./url-handler"}],"format":"esm"},"src/events.ts":{"bytes":1167,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/translations.ts":{"bytes":9285,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/DeckPlugin.ts":{"bytes":10613,"imports":[{"path":"immer","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":1024,"imports":[{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/DeckPlugin.ts","kind":"import-statement","original":"./DeckPlugin"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"./hooks"}],"format":"esm"}},"outputs":{"dist/lib/browser/react-surface-FNY2YC2F.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1869},"dist/lib/browser/react-surface-FNY2YC2F.mjs":{"imports":[{"path":"dist/lib/browser/chunk-NU7H23SK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WILMPGDV.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-NRCPV6AV.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-CNTGBCMK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-M57WD3V6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F5BQOOEG.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-Z5KITAZW.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":769}},"bytes":1181},"dist/lib/browser/toolkit-XGJSBY67.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3422},"dist/lib/browser/toolkit-XGJSBY67.mjs":{"imports":[{"path":"dist/lib/browser/chunk-M57WD3V6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-Z5KITAZW.mjs","kind":"import-statement"},{"path":"@effect/ai","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/assistant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/toolkit.ts","inputs":{"src/capabilities/toolkit.ts":{"bytesInOutput":1560}},"bytes":1769},"dist/lib/browser/url-handler-LROZYQ26.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4328},"dist/lib/browser/url-handler-LROZYQ26.mjs":{"imports":[{"path":"dist/lib/browser/chunk-M57WD3V6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F5BQOOEG.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-Z5KITAZW.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-signals/core","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/url-handler.ts","inputs":{"src/capabilities/url-handler.ts":{"bytesInOutput":1915}},"bytes":2190},"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9499},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-WILMPGDV.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-NRCPV6AV.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-M57WD3V6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F5BQOOEG.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-Z5KITAZW.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"immer","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["DECK_PLUGIN","DeckCapabilities","DeckEvents","DeckPlugin","meta","useCompanions"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/events.ts":{"bytesInOutput":206},"src/DeckPlugin.ts":{"bytesInOutput":2232},"src/translations.ts":{"bytesInOutput":3009}},"bytes":6050},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-F5BQOOEG.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-Z5KITAZW.mjs","kind":"import-statement"}],"exports":["ATTENDABLE_PATH_SEPARATOR","DECK_COMPANION_TYPE","DeckAction","DeckPluginState","DeckSettingsSchema","DeckState","NewPlankPositions","OverscrollOptions","PLANK_COMPANION_TYPE","PlankSizing","defaultDeck","getMode","isLayoutMode"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":604},"dist/lib/browser/state-CRXR7X63.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/state-CRXR7X63.mjs":{"imports":[{"path":"dist/lib/browser/chunk-NRCPV6AV.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-M57WD3V6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F5BQOOEG.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-Z5KITAZW.mjs","kind":"import-statement"}],"exports":["DeckStateFactory","default"],"entryPoint":"src/capabilities/state.ts","inputs":{},"bytes":272},"dist/lib/browser/app-graph-builder-DVEKLXB4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9367},"dist/lib/browser/app-graph-builder-DVEKLXB4.mjs":{"imports":[{"path":"dist/lib/browser/chunk-M57WD3V6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-Z5KITAZW.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder.ts":{"bytesInOutput":4345}},"bytes":4607},"dist/lib/browser/check-app-scheme-3BQJXWEY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2522},"dist/lib/browser/check-app-scheme-3BQJXWEY.mjs":{"imports":[{"path":"dist/lib/browser/chunk-Z5KITAZW.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/check-app-scheme.ts","inputs":{"src/capabilities/check-app-scheme.ts":{"bytesInOutput":875}},"bytes":1075},"dist/lib/browser/settings-LUPQPZ27.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1313},"dist/lib/browser/settings-LUPQPZ27.mjs":{"imports":[{"path":"dist/lib/browser/chunk-F5BQOOEG.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-Z5KITAZW.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/settings.ts","inputs":{"src/capabilities/settings.ts":{"bytesInOutput":461}},"bytes":691},"dist/lib/browser/intent-resolver-2SUIIV6N.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":33732},"dist/lib/browser/intent-resolver-2SUIIV6N.mjs":{"imports":[{"path":"dist/lib/browser/chunk-CNTGBCMK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-M57WD3V6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F5BQOOEG.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-Z5KITAZW.mjs","kind":"import-statement"},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":17823}},"bytes":18312},"dist/lib/browser/react-root-7PRVDLF7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2231},"dist/lib/browser/react-root-7PRVDLF7.mjs":{"imports":[{"path":"dist/lib/browser/chunk-NU7H23SK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WILMPGDV.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-NRCPV6AV.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-CNTGBCMK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-M57WD3V6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F5BQOOEG.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-Z5KITAZW.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-root.tsx","inputs":{"src/capabilities/react-root.tsx":{"bytesInOutput":819}},"bytes":1238},"dist/lib/browser/chunk-NU7H23SK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":110499},"dist/lib/browser/chunk-NU7H23SK.mjs":{"imports":[{"path":"dist/lib/browser/chunk-WILMPGDV.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-CNTGBCMK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-M57WD3V6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F5BQOOEG.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-Z5KITAZW.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-text-tooltip","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["Banner","DeckLayout","DeckSettings"],"inputs":{"src/components/DeckLayout/Banner.tsx":{"bytesInOutput":1752},"src/components/Sidebar/ComplementarySidebar.tsx":{"bytesInOutput":6989},"src/components/Plank/Plank.tsx":{"bytesInOutput":6851},"src/components/Plank/PlankError.tsx":{"bytesInOutput":1466},"src/components/Plank/PlankHeading.tsx":{"bytesInOutput":7384},"src/components/fragments.ts":{"bytesInOutput":435},"src/components/Plank/PlankControls.tsx":{"bytesInOutput":5167},"src/components/Plank/PlankLoading.tsx":{"bytesInOutput":361},"src/components/Plank/index.ts":{"bytesInOutput":0},"src/components/Sidebar/SidebarButton.tsx":{"bytesInOutput":3026},"src/components/Sidebar/index.ts":{"bytesInOutput":0},"src/components/Sidebar/Sidebar.tsx":{"bytesInOutput":1379},"src/components/DeckLayout/DeckLayout.tsx":{"bytesInOutput":9711},"src/components/DeckLayout/ActiveNode.tsx":{"bytesInOutput":838},"src/components/DeckLayout/ContentEmpty.tsx":{"bytesInOutput":969},"src/components/DeckLayout/Dialog.tsx":{"bytesInOutput":1627},"src/components/DeckLayout/Popover.tsx":{"bytesInOutput":3436},"src/components/DeckLayout/StatusBar.tsx":{"bytesInOutput":834},"src/components/DeckLayout/Toast.tsx":{"bytesInOutput":1857},"src/components/DeckLayout/Topbar.tsx":{"bytesInOutput":303},"src/components/DeckSettings/DeckSettings.tsx":{"bytesInOutput":3676},"src/components/DeckLayout/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/DeckSettings/index.ts":{"bytesInOutput":0}},"bytes":59735},"dist/lib/browser/chunk-WILMPGDV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8379},"dist/lib/browser/chunk-WILMPGDV.mjs":{"imports":[{"path":"dist/lib/browser/chunk-F5BQOOEG.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-Z5KITAZW.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-DVEKLXB4.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/check-app-scheme-3BQJXWEY.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/settings-LUPQPZ27.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/state-CRXR7X63.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/intent-resolver-2SUIIV6N.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-root-7PRVDLF7.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-FNY2YC2F.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/toolkit-XGJSBY67.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/url-handler-LROZYQ26.mjs","kind":"dynamic-import"}],"exports":["AppGraphBuilder","CheckAppScheme","DeckSettings","DeckState","LayoutIntentResolver","ReactRoot","ReactSurface","Toolkit","UrlHandler","getCompanionId","useBreakpoints","useCompanions","useDeckCompanions","useHoistStatusbar","useMainSize","useNodeActionExpander"],"inputs":{"src/hooks/useCompanions.ts":{"bytesInOutput":487},"src/hooks/useBreakpoints.ts":{"bytesInOutput":236},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useDeckCompanions.ts":{"bytesInOutput":628},"src/hooks/useHoistStatusbar.ts":{"bytesInOutput":804},"src/hooks/useMainSize.ts":{"bytesInOutput":319},"src/hooks/useNodeActionExpander.ts":{"bytesInOutput":371},"src/capabilities/index.ts":{"bytesInOutput":668}},"bytes":4248},"dist/lib/browser/chunk-NRCPV6AV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6327},"dist/lib/browser/chunk-NRCPV6AV.mjs":{"imports":[{"path":"dist/lib/browser/chunk-M57WD3V6.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F5BQOOEG.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-Z5KITAZW.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true}],"exports":["DeckStateFactory","state_default"],"inputs":{"src/capabilities/state.ts":{"bytesInOutput":3064}},"bytes":3365},"dist/lib/browser/chunk-CNTGBCMK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":16063},"dist/lib/browser/chunk-CNTGBCMK.mjs":{"imports":[{"path":"immer","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true}],"exports":["calculateOverscroll","closeEntry","createEntryId","incrementPlank","layoutAppliesTopbar","openEntry","parseEntryId","setActive"],"inputs":{"src/layout.ts":{"bytesInOutput":2156},"src/util/set-active.ts":{"bytesInOutput":1130},"src/util/layoutAppliesTopbar.ts":{"bytesInOutput":188},"src/util/index.ts":{"bytesInOutput":0},"src/util/overscroll.ts":{"bytesInOutput":759}},"bytes":4533},"dist/lib/browser/chunk-M57WD3V6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":897},"dist/lib/browser/chunk-M57WD3V6.mjs":{"imports":[{"path":"dist/lib/browser/chunk-Z5KITAZW.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["DeckCapabilities"],"inputs":{"src/capabilities/capabilities.ts":{"bytesInOutput":335}},"bytes":502},"dist/lib/browser/chunk-F5BQOOEG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11319},"dist/lib/browser/chunk-F5BQOOEG.mjs":{"imports":[{"path":"dist/lib/browser/chunk-Z5KITAZW.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true}],"exports":["ATTENDABLE_PATH_SEPARATOR","DECK_COMPANION_TYPE","DeckAction","DeckPluginState","DeckSettingsSchema","DeckState","NewPlankPositions","OverscrollOptions","PLANK_COMPANION_TYPE","PlankSizing","defaultDeck","getMode","isLayoutMode"],"inputs":{"src/types/schema.ts":{"bytesInOutput":5091},"src/types/index.ts":{"bytesInOutput":0}},"bytes":5461},"dist/lib/browser/chunk-Z5KITAZW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":504},"dist/lib/browser/chunk-Z5KITAZW.mjs":{"imports":[],"exports":["DECK_PLUGIN","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":125}},"bytes":219}}}
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":1484,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/capabilities.ts":{"bytes":1722,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/schema.ts":{"bytes":21992,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true}],"format":"esm"},"src/types/index.ts":{"bytes":459,"imports":[{"path":"src/types/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/capabilities/state.ts":{"bytes":13108,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/app-graph-builder.ts":{"bytes":19901,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/check-app-scheme.ts":{"bytes":4623,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/settings.ts":{"bytes":2642,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/layout.ts":{"bytes":9821,"imports":[{"path":"immer","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true}],"format":"esm"},"src/util/layoutAppliesTopbar.ts":{"bytes":1251,"imports":[],"format":"esm"},"src/util/overscroll.ts":{"bytes":17423,"imports":[],"format":"esm"},"src/util/set-active.ts":{"bytes":5621,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true}],"format":"esm"},"src/util/index.ts":{"bytes":675,"imports":[{"path":"src/util/layoutAppliesTopbar.ts","kind":"import-statement","original":"./layoutAppliesTopbar"},{"path":"src/util/overscroll.ts","kind":"import-statement","original":"./overscroll"},{"path":"src/util/set-active.ts","kind":"import-statement","original":"./set-active"}],"format":"esm"},"src/capabilities/intent-resolver.ts":{"bytes":72553,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/layout.ts","kind":"import-statement","original":"../layout"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/components/DeckLayout/constants.ts":{"bytes":684,"imports":[],"format":"esm"},"src/hooks/useBreakpoints.ts":{"bytes":1275,"imports":[{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useCompanions.ts":{"bytes":2502,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/hooks/useDeckCompanions.ts":{"bytes":3543,"imports":[{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/hooks/useHoistStatusbar.ts":{"bytes":3315,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/hooks/useMainSize.ts":{"bytes":1503,"imports":[{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useNodeActionExpander.ts":{"bytes":1913,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/index.ts":{"bytes":1022,"imports":[{"path":"src/hooks/useBreakpoints.ts","kind":"import-statement","original":"./useBreakpoints"},{"path":"src/hooks/useCompanions.ts","kind":"import-statement","original":"./useCompanions"},{"path":"src/hooks/useDeckCompanions.ts","kind":"import-statement","original":"./useDeckCompanions"},{"path":"src/hooks/useHoistStatusbar.ts","kind":"import-statement","original":"./useHoistStatusbar"},{"path":"src/hooks/useMainSize.ts","kind":"import-statement","original":"./useMainSize"},{"path":"src/hooks/useNodeActionExpander.ts","kind":"import-statement","original":"./useNodeActionExpander"}],"format":"esm"},"src/components/fragments.ts":{"bytes":1866,"imports":[{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/Plank/PlankControls.tsx":{"bytes":18648,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/components/Plank/PlankHeading.tsx":{"bytes":28112,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-text-tooltip","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/layout.ts","kind":"import-statement","original":"../../layout"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/fragments.ts","kind":"import-statement","original":"../fragments"},{"path":"src/components/Plank/PlankControls.tsx","kind":"import-statement","original":"./PlankControls"}],"format":"esm"},"src/components/Plank/PlankLoading.tsx":{"bytes":1394,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/Plank/PlankError.tsx":{"bytes":5234,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/Plank/PlankHeading.tsx","kind":"import-statement","original":"./PlankHeading"},{"path":"src/components/Plank/PlankLoading.tsx","kind":"import-statement","original":"./PlankLoading"}],"format":"esm"},"src/components/Plank/Plank.tsx":{"bytes":34018,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@fluentui/react-tabster","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/layout.ts","kind":"import-statement","original":"../../layout"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/components/Plank/PlankError.tsx","kind":"import-statement","original":"./PlankError"},{"path":"src/components/Plank/PlankHeading.tsx","kind":"import-statement","original":"./PlankHeading"},{"path":"src/components/Plank/PlankLoading.tsx","kind":"import-statement","original":"./PlankLoading"}],"format":"esm"},"src/components/Plank/index.ts":{"bytes":860,"imports":[{"path":"src/components/Plank/Plank.tsx","kind":"import-statement","original":"./Plank"},{"path":"src/components/Plank/PlankControls.tsx","kind":"import-statement","original":"./PlankControls"},{"path":"src/components/Plank/PlankError.tsx","kind":"import-statement","original":"./PlankError"},{"path":"src/components/Plank/PlankHeading.tsx","kind":"import-statement","original":"./PlankHeading"},{"path":"src/components/Plank/PlankLoading.tsx","kind":"import-statement","original":"./PlankLoading"}],"format":"esm"},"src/components/Sidebar/SidebarButton.tsx":{"bytes":10693,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/Sidebar/ComplementarySidebar.tsx":{"bytes":26188,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/Plank/index.ts","kind":"import-statement","original":"../Plank"},{"path":"src/components/Sidebar/SidebarButton.tsx","kind":"import-statement","original":"./SidebarButton"}],"format":"esm"},"src/components/Sidebar/Sidebar.tsx":{"bytes":5528,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"}],"format":"esm"},"src/components/Sidebar/index.ts":{"bytes":694,"imports":[{"path":"src/components/Sidebar/ComplementarySidebar.tsx","kind":"import-statement","original":"./ComplementarySidebar"},{"path":"src/components/Sidebar/Sidebar.tsx","kind":"import-statement","original":"./Sidebar"},{"path":"src/components/Sidebar/SidebarButton.tsx","kind":"import-statement","original":"./SidebarButton"}],"format":"esm"},"src/components/DeckLayout/Banner.tsx":{"bytes":5386,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/Sidebar/index.ts","kind":"import-statement","original":"../Sidebar"}],"format":"esm"},"src/components/DeckLayout/ActiveNode.tsx":{"bytes":3329,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"src/components/DeckLayout/ContentEmpty.tsx":{"bytes":4113,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/fragments.ts","kind":"import-statement","original":"../fragments"},{"path":"src/components/Sidebar/index.ts","kind":"import-statement","original":"../Sidebar"}],"format":"esm"},"src/components/DeckLayout/StatusBar.tsx":{"bytes":2638,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/DeckLayout/Topbar.tsx":{"bytes":1151,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"src/components/DeckLayout/Banner.tsx","kind":"import-statement","original":"./Banner"}],"format":"esm"},"src/components/DeckLayout/DeckMain.tsx":{"bytes":37753,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/fragments.ts","kind":"import-statement","original":"../fragments"},{"path":"src/components/Plank/index.ts","kind":"import-statement","original":"../Plank"},{"path":"src/components/Sidebar/index.ts","kind":"import-statement","original":"../Sidebar"},{"path":"src/components/DeckLayout/ContentEmpty.tsx","kind":"import-statement","original":"./ContentEmpty"},{"path":"src/components/DeckLayout/StatusBar.tsx","kind":"import-statement","original":"./StatusBar"},{"path":"src/components/DeckLayout/Topbar.tsx","kind":"import-statement","original":"./Topbar"}],"format":"esm"},"src/components/DeckLayout/Dialog.tsx":{"bytes":6059,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"src/components/Plank/index.ts","kind":"import-statement","original":"../Plank"}],"format":"esm"},"src/components/DeckLayout/Popover.tsx":{"bytes":11728,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"}],"format":"esm"},"src/components/DeckLayout/Toast.tsx":{"bytes":8188,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/DeckLayout/DeckLayout.tsx":{"bytes":3489,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"src/components/DeckLayout/ActiveNode.tsx","kind":"import-statement","original":"./ActiveNode"},{"path":"src/components/DeckLayout/DeckMain.tsx","kind":"import-statement","original":"./DeckMain"},{"path":"src/components/DeckLayout/Dialog.tsx","kind":"import-statement","original":"./Dialog"},{"path":"src/components/DeckLayout/Popover.tsx","kind":"import-statement","original":"./Popover"},{"path":"src/components/DeckLayout/Toast.tsx","kind":"import-statement","original":"./Toast"}],"format":"esm"},"src/components/DeckLayout/index.ts":{"bytes":707,"imports":[{"path":"src/components/DeckLayout/constants.ts","kind":"import-statement","original":"./constants"},{"path":"src/components/DeckLayout/Banner.tsx","kind":"import-statement","original":"./Banner"},{"path":"src/components/DeckLayout/DeckLayout.tsx","kind":"import-statement","original":"./DeckLayout"}],"format":"esm"},"src/components/DeckSettings/DeckSettings.tsx":{"bytes":13560,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/components/DeckSettings/index.ts":{"bytes":491,"imports":[{"path":"src/components/DeckSettings/DeckSettings.tsx","kind":"import-statement","original":"./DeckSettings"}],"format":"esm"},"src/components/index.ts":{"bytes":572,"imports":[{"path":"src/components/DeckLayout/index.ts","kind":"import-statement","original":"./DeckLayout"},{"path":"src/components/DeckSettings/index.ts","kind":"import-statement","original":"./DeckSettings"}],"format":"esm"},"src/capabilities/react-root.tsx":{"bytes":4615,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":3695,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/toolkit.ts":{"bytes":7024,"imports":[{"path":"@effect/ai/Tool","kind":"import-statement","external":true},{"path":"@effect/ai/Toolkit","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/assistant","kind":"import-statement","external":true},{"path":"@dxos/assistant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/url-handler.ts":{"bytes":8579,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-signals/core","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":3010,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/capabilities/state.ts","kind":"import-statement","original":"./state"},{"path":"src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"src/capabilities/check-app-scheme.ts","kind":"dynamic-import","original":"./check-app-scheme"},{"path":"src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"},{"path":"src/capabilities/state.ts","kind":"dynamic-import","original":"./state"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/react-root.tsx","kind":"dynamic-import","original":"./react-root"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"src/capabilities/toolkit.ts","kind":"dynamic-import","original":"./toolkit"},{"path":"src/capabilities/url-handler.ts","kind":"dynamic-import","original":"./url-handler"}],"format":"esm"},"src/events.ts":{"bytes":1152,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/translations.ts":{"bytes":9474,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/DeckPlugin.ts":{"bytes":10445,"imports":[{"path":"immer","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":1024,"imports":[{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/DeckPlugin.ts","kind":"import-statement","original":"./DeckPlugin"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"./hooks"}],"format":"esm"}},"outputs":{"dist/lib/browser/react-surface-6LW337ZT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1859},"dist/lib/browser/react-surface-6LW337ZT.mjs":{"imports":[{"path":"dist/lib/browser/chunk-VUJ6UNIJ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QKCGZ45E.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VBYJ664A.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-CNTGBCMK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5KMJPIQC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F3VCCHVL.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-UXLU6CMW.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":759}},"bytes":1164},"dist/lib/browser/toolkit-L5CFXJCF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3616},"dist/lib/browser/toolkit-L5CFXJCF.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5KMJPIQC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-UXLU6CMW.mjs","kind":"import-statement"},{"path":"@effect/ai/Tool","kind":"import-statement","external":true},{"path":"@effect/ai/Toolkit","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/assistant","kind":"import-statement","external":true},{"path":"@dxos/assistant","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["DeckToolkit","default"],"entryPoint":"src/capabilities/toolkit.ts","inputs":{"src/capabilities/toolkit.ts":{"bytesInOutput":1486}},"bytes":1710},"dist/lib/browser/url-handler-QEYGYE2H.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4328},"dist/lib/browser/url-handler-QEYGYE2H.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5KMJPIQC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F3VCCHVL.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-UXLU6CMW.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-signals/core","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/url-handler.ts","inputs":{"src/capabilities/url-handler.ts":{"bytesInOutput":1917}},"bytes":2192},"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9447},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QKCGZ45E.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VBYJ664A.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5KMJPIQC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F3VCCHVL.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-UXLU6CMW.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"immer","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["DeckCapabilities","DeckEvents","DeckPlugin","meta","useCompanions"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/events.ts":{"bytesInOutput":202},"src/DeckPlugin.ts":{"bytesInOutput":2232},"src/translations.ts":{"bytesInOutput":3078}},"bytes":6085},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-F3VCCHVL.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-UXLU6CMW.mjs","kind":"import-statement"}],"exports":["ATTENDABLE_PATH_SEPARATOR","DECK_COMPANION_TYPE","DeckAction","DeckPluginState","DeckSettingsSchema","DeckState","NewPlankPositions","OverscrollOptions","PLANK_COMPANION_TYPE","PlankSizing","defaultDeck","getMode","isLayoutMode"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":604},"dist/lib/browser/state-7IFAGZQO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/state-7IFAGZQO.mjs":{"imports":[{"path":"dist/lib/browser/chunk-VBYJ664A.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5KMJPIQC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F3VCCHVL.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-UXLU6CMW.mjs","kind":"import-statement"}],"exports":["DeckStateFactory","default"],"entryPoint":"src/capabilities/state.ts","inputs":{},"bytes":272},"dist/lib/browser/app-graph-builder-D74NTOMK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9037},"dist/lib/browser/app-graph-builder-D74NTOMK.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5KMJPIQC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-UXLU6CMW.mjs","kind":"import-statement"},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder.ts":{"bytesInOutput":3720}},"bytes":3975},"dist/lib/browser/check-app-scheme-HIEVFAAX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2515},"dist/lib/browser/check-app-scheme-HIEVFAAX.mjs":{"imports":[{"path":"dist/lib/browser/chunk-UXLU6CMW.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/check-app-scheme.ts","inputs":{"src/capabilities/check-app-scheme.ts":{"bytesInOutput":873}},"bytes":1066},"dist/lib/browser/settings-SDPTOCCM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1381},"dist/lib/browser/settings-SDPTOCCM.mjs":{"imports":[{"path":"dist/lib/browser/chunk-F3VCCHVL.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-UXLU6CMW.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/settings.ts","inputs":{"src/capabilities/settings.ts":{"bytesInOutput":494}},"bytes":724},"dist/lib/browser/intent-resolver-UA4YQGAC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":33748},"dist/lib/browser/intent-resolver-UA4YQGAC.mjs":{"imports":[{"path":"dist/lib/browser/chunk-CNTGBCMK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5KMJPIQC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F3VCCHVL.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-UXLU6CMW.mjs","kind":"import-statement"},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":17936}},"bytes":18418},"dist/lib/browser/react-root-JAMHKYWN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2277},"dist/lib/browser/react-root-JAMHKYWN.mjs":{"imports":[{"path":"dist/lib/browser/chunk-VUJ6UNIJ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-QKCGZ45E.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-VBYJ664A.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-CNTGBCMK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5KMJPIQC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F3VCCHVL.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-UXLU6CMW.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-root.tsx","inputs":{"src/capabilities/react-root.tsx":{"bytesInOutput":861}},"bytes":1273},"dist/lib/browser/chunk-VUJ6UNIJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":114303},"dist/lib/browser/chunk-VUJ6UNIJ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-QKCGZ45E.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-CNTGBCMK.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5KMJPIQC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F3VCCHVL.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-UXLU6CMW.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@fluentui/react-tabster","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-text-tooltip","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["Banner","DeckLayout","DeckSettings"],"inputs":{"src/components/DeckLayout/Banner.tsx":{"bytesInOutput":1754},"src/components/Sidebar/ComplementarySidebar.tsx":{"bytesInOutput":7553},"src/components/Plank/Plank.tsx":{"bytesInOutput":7596},"src/components/Plank/PlankError.tsx":{"bytesInOutput":1462},"src/components/Plank/PlankHeading.tsx":{"bytesInOutput":7393},"src/components/fragments.ts":{"bytesInOutput":435},"src/components/Plank/PlankControls.tsx":{"bytesInOutput":5188},"src/components/Plank/PlankLoading.tsx":{"bytesInOutput":361},"src/components/Plank/index.ts":{"bytesInOutput":0},"src/components/Sidebar/SidebarButton.tsx":{"bytesInOutput":3090},"src/components/Sidebar/index.ts":{"bytesInOutput":0},"src/components/Sidebar/Sidebar.tsx":{"bytesInOutput":1381},"src/components/DeckLayout/DeckLayout.tsx":{"bytesInOutput":801},"src/components/DeckLayout/ActiveNode.tsx":{"bytesInOutput":844},"src/components/DeckLayout/DeckMain.tsx":{"bytesInOutput":9463},"src/components/DeckLayout/ContentEmpty.tsx":{"bytesInOutput":975},"src/components/DeckLayout/StatusBar.tsx":{"bytesInOutput":837},"src/components/DeckLayout/Topbar.tsx":{"bytesInOutput":303},"src/components/DeckLayout/Dialog.tsx":{"bytesInOutput":1633},"src/components/DeckLayout/Popover.tsx":{"bytesInOutput":3139},"src/components/DeckLayout/Toast.tsx":{"bytesInOutput":2285},"src/components/DeckSettings/DeckSettings.tsx":{"bytesInOutput":3976},"src/components/DeckLayout/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/DeckSettings/index.ts":{"bytesInOutput":0}},"bytes":62222},"dist/lib/browser/chunk-QKCGZ45E.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8482},"dist/lib/browser/chunk-QKCGZ45E.mjs":{"imports":[{"path":"dist/lib/browser/chunk-F3VCCHVL.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-UXLU6CMW.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-D74NTOMK.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/check-app-scheme-HIEVFAAX.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/settings-SDPTOCCM.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/state-7IFAGZQO.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/intent-resolver-UA4YQGAC.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-root-JAMHKYWN.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-6LW337ZT.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/toolkit-L5CFXJCF.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/url-handler-QEYGYE2H.mjs","kind":"dynamic-import"}],"exports":["AppGraphBuilder","CheckAppScheme","DeckSettings","DeckState","LayoutIntentResolver","ReactRoot","ReactSurface","Toolkit","UrlHandler","getCompanionId","useBreakpoints","useCompanions","useDeckCompanions","useHoistStatusbar","useMainSize","useNodeActionExpander"],"inputs":{"src/hooks/useCompanions.ts":{"bytesInOutput":493},"src/hooks/useBreakpoints.ts":{"bytesInOutput":236},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useDeckCompanions.ts":{"bytesInOutput":634},"src/hooks/useHoistStatusbar.ts":{"bytesInOutput":845},"src/hooks/useMainSize.ts":{"bytesInOutput":319},"src/hooks/useNodeActionExpander.ts":{"bytesInOutput":371},"src/capabilities/index.ts":{"bytesInOutput":668}},"bytes":4294},"dist/lib/browser/chunk-VBYJ664A.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6606},"dist/lib/browser/chunk-VBYJ664A.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5KMJPIQC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-F3VCCHVL.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-UXLU6CMW.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true}],"exports":["DeckStateFactory","state_default"],"inputs":{"src/capabilities/state.ts":{"bytesInOutput":3136}},"bytes":3430},"dist/lib/browser/chunk-CNTGBCMK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":16063},"dist/lib/browser/chunk-CNTGBCMK.mjs":{"imports":[{"path":"immer","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true}],"exports":["calculateOverscroll","closeEntry","createEntryId","incrementPlank","layoutAppliesTopbar","openEntry","parseEntryId","setActive"],"inputs":{"src/layout.ts":{"bytesInOutput":2156},"src/util/set-active.ts":{"bytesInOutput":1130},"src/util/layoutAppliesTopbar.ts":{"bytesInOutput":188},"src/util/index.ts":{"bytesInOutput":0},"src/util/overscroll.ts":{"bytesInOutput":759}},"bytes":4533},"dist/lib/browser/chunk-5KMJPIQC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":891},"dist/lib/browser/chunk-5KMJPIQC.mjs":{"imports":[{"path":"dist/lib/browser/chunk-UXLU6CMW.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["DeckCapabilities"],"inputs":{"src/capabilities/capabilities.ts":{"bytesInOutput":327}},"bytes":487},"dist/lib/browser/chunk-F3VCCHVL.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10896},"dist/lib/browser/chunk-F3VCCHVL.mjs":{"imports":[{"path":"dist/lib/browser/chunk-UXLU6CMW.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true}],"exports":["ATTENDABLE_PATH_SEPARATOR","DECK_COMPANION_TYPE","DeckAction","DeckPluginState","DeckSettingsSchema","DeckState","NewPlankPositions","OverscrollOptions","PLANK_COMPANION_TYPE","PlankSizing","defaultDeck","getMode","isLayoutMode"],"inputs":{"src/types/schema.ts":{"bytesInOutput":5202},"src/types/index.ts":{"bytesInOutput":0}},"bytes":5572},"dist/lib/browser/chunk-UXLU6CMW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":713},"dist/lib/browser/chunk-UXLU6CMW.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":321}},"bytes":400}}}
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeckLayout
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-VUJ6UNIJ.mjs";
|
|
4
|
+
import "./chunk-QKCGZ45E.mjs";
|
|
5
|
+
import "./chunk-VBYJ664A.mjs";
|
|
6
6
|
import "./chunk-CNTGBCMK.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DeckCapabilities
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-5KMJPIQC.mjs";
|
|
10
|
+
import "./chunk-F3VCCHVL.mjs";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
meta
|
|
13
|
+
} from "./chunk-UXLU6CMW.mjs";
|
|
14
14
|
|
|
15
15
|
// src/capabilities/react-root.tsx
|
|
16
16
|
import React, { useCallback } from "react";
|
|
17
|
-
import { Capabilities, contributes
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
import { Capabilities, contributes } from "@dxos/app-framework";
|
|
18
|
+
import { useCapability } from "@dxos/app-framework/react";
|
|
19
|
+
var react_root_default = (() => contributes(Capabilities.ReactRoot, {
|
|
20
|
+
id: meta.id,
|
|
20
21
|
root: () => {
|
|
21
22
|
const layout = useCapability(DeckCapabilities.MutableDeckState);
|
|
22
23
|
const handleDismissToast = useCallback((id) => {
|
|
@@ -36,8 +37,8 @@ var react_root_default = () => contributes(Capabilities.ReactRoot, {
|
|
|
36
37
|
onDismissToast: handleDismissToast
|
|
37
38
|
});
|
|
38
39
|
}
|
|
39
|
-
});
|
|
40
|
+
}));
|
|
40
41
|
export {
|
|
41
42
|
react_root_default as default
|
|
42
43
|
};
|
|
43
|
-
//# sourceMappingURL=react-root-
|
|
44
|
+
//# sourceMappingURL=react-root-JAMHKYWN.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/react-root.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React, { useCallback } from 'react';\n\nimport { Capabilities, contributes } from '@dxos/app-framework';\nimport { useCapability } from '@dxos/app-framework/react';\n\nimport { DeckLayout } from '../components';\nimport { meta } from '../meta';\n\nimport { DeckCapabilities } from './capabilities';\n\nexport default () =>\n contributes(Capabilities.ReactRoot, {\n id: meta.id,\n root: () => {\n const layout = useCapability(DeckCapabilities.MutableDeckState);\n\n const handleDismissToast = useCallback(\n (id: string) => {\n const index = layout.toasts.findIndex((toast) => toast.id === id);\n if (index !== -1) {\n // Allow time for the toast to animate out.\n // TODO(burdon): Factor out and unregister timeout.\n setTimeout(() => {\n if (layout.toasts[index].id === layout.currentUndoId) {\n layout.currentUndoId = undefined;\n }\n layout.toasts.splice(index, 1);\n }, 1_000);\n }\n },\n [layout.toasts],\n );\n\n return <DeckLayout onDismissToast={handleDismissToast} />;\n },\n });\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;AAIA,OAAOA,SAASC,mBAAmB;AAEnC,SAASC,cAAcC,mBAAmB;AAC1C,SAASC,qBAAqB;AAO9B,IAAA,sBAAe,MACbC,YAAYC,aAAaC,WAAW;EAClCC,IAAIC,KAAKD;EACTE,MAAM,MAAA;AACJ,UAAMC,SAASC,cAAcC,iBAAiBC,gBAAgB;AAE9D,UAAMC,qBAAqBC,YACzB,CAACR,OAAAA;AACC,YAAMS,QAAQN,OAAOO,OAAOC,UAAU,CAACC,UAAUA,MAAMZ,OAAOA,EAAAA;AAC9D,UAAIS,UAAU,IAAI;AAGhBI,mBAAW,MAAA;AACT,cAAIV,OAAOO,OAAOD,KAAAA,EAAOT,OAAOG,OAAOW,eAAe;AACpDX,mBAAOW,gBAAgBC;UACzB;AACAZ,iBAAOO,OAAOM,OAAOP,OAAO,CAAA;QAC9B,GAAG,GAAA;MACL;IACF,GACA;MAACN,OAAOO;KAAO;AAGjB,WAAO,sBAAA,cAACO,YAAAA;MAAWC,gBAAgBX;;EACrC;AACF,CAAA;",
|
|
6
|
+
"names": ["React", "useCallback", "Capabilities", "contributes", "useCapability", "contributes", "Capabilities", "ReactRoot", "id", "meta", "root", "layout", "useCapability", "DeckCapabilities", "MutableDeckState", "handleDismissToast", "useCallback", "index", "toasts", "findIndex", "toast", "setTimeout", "currentUndoId", "undefined", "splice", "DeckLayout", "onDismissToast"]
|
|
7
|
+
}
|