@dxos/plugin-simple-layout 0.8.4-main.422d1c7879 → 0.8.4-main.51f1e5ca51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/lib/browser/index.mjs +3 -35
  2. package/dist/lib/browser/index.mjs.map +4 -4
  3. package/dist/lib/browser/meta.json +1 -1
  4. package/dist/lib/browser/translations.mjs +34 -0
  5. package/dist/lib/browser/translations.mjs.map +7 -0
  6. package/dist/lib/node-esm/index.mjs +3 -35
  7. package/dist/lib/node-esm/index.mjs.map +4 -4
  8. package/dist/lib/node-esm/meta.json +1 -1
  9. package/dist/lib/node-esm/translations.mjs +36 -0
  10. package/dist/lib/node-esm/translations.mjs.map +7 -0
  11. package/dist/types/src/SimpleLayoutPlugin.d.ts.map +1 -1
  12. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  13. package/dist/types/src/capabilities/index.d.ts +2 -2
  14. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  15. package/dist/types/src/capabilities/operation-handler.d.ts +1 -1
  16. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -1
  17. package/dist/types/src/capabilities/react-root.d.ts.map +1 -1
  18. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  19. package/dist/types/src/capabilities/spotlight-dismiss.d.ts +1 -1
  20. package/dist/types/src/capabilities/spotlight-dismiss.d.ts.map +1 -1
  21. package/dist/types/src/capabilities/state.d.ts.map +1 -1
  22. package/dist/types/src/capabilities/url-handler.d.ts.map +1 -1
  23. package/dist/types/src/components/ContentError.stories.d.ts +21 -21
  24. package/dist/types/src/components/ContentError.stories.d.ts.map +1 -1
  25. package/dist/types/src/components/DebugOverlay/DebugOverlay.d.ts.map +1 -1
  26. package/dist/types/src/components/Home/Home.d.ts.map +1 -1
  27. package/dist/types/src/components/Loading/Loading.stories.d.ts.map +1 -1
  28. package/dist/types/src/components/MobileLayout/MobileLayout.d.ts +2 -2
  29. package/dist/types/src/components/MobileLayout/MobileLayout.d.ts.map +1 -1
  30. package/dist/types/src/components/MobileLayout/MobileLayout.stories.d.ts.map +1 -1
  31. package/dist/types/src/components/NavBranch/NavBranch.d.ts.map +1 -1
  32. package/dist/types/src/components/Popover/Popover.d.ts.map +1 -1
  33. package/dist/types/src/components/SimpleLayout/AppBar.d.ts +1 -1
  34. package/dist/types/src/components/SimpleLayout/AppBar.stories.d.ts +21 -21
  35. package/dist/types/src/components/SimpleLayout/AppBar.stories.d.ts.map +1 -1
  36. package/dist/types/src/components/SimpleLayout/Drawer.d.ts +4 -7
  37. package/dist/types/src/components/SimpleLayout/Drawer.d.ts.map +1 -1
  38. package/dist/types/src/components/SimpleLayout/Main.d.ts +4 -7
  39. package/dist/types/src/components/SimpleLayout/Main.d.ts.map +1 -1
  40. package/dist/types/src/components/SimpleLayout/NavBar.d.ts +1 -1
  41. package/dist/types/src/components/SimpleLayout/NavBar.stories.d.ts +22 -22
  42. package/dist/types/src/components/SimpleLayout/NavBar.stories.d.ts.map +1 -1
  43. package/dist/types/src/components/SimpleLayout/SimpleLayout.stories.d.ts +21 -21
  44. package/dist/types/src/components/SimpleLayout/SimpleLayout.stories.d.ts.map +1 -1
  45. package/dist/types/src/components/hooks.d.ts.map +1 -1
  46. package/dist/types/src/hooks/actions.d.ts +1 -1
  47. package/dist/types/src/hooks/actions.d.ts.map +1 -1
  48. package/dist/types/src/hooks/useAppBarProps.d.ts +1 -1
  49. package/dist/types/src/hooks/useAppBarProps.d.ts.map +1 -1
  50. package/dist/types/src/hooks/useCompanions.d.ts.map +1 -1
  51. package/dist/types/src/hooks/useDrawerActions.d.ts.map +1 -1
  52. package/dist/types/src/operations/close.d.ts +1 -1
  53. package/dist/types/src/operations/close.d.ts.map +1 -1
  54. package/dist/types/src/operations/index.d.ts +1 -1
  55. package/dist/types/src/operations/index.d.ts.map +1 -1
  56. package/dist/types/src/operations/open.d.ts +1 -1
  57. package/dist/types/src/operations/open.d.ts.map +1 -1
  58. package/dist/types/src/operations/revert-workspace.d.ts +1 -1
  59. package/dist/types/src/operations/revert-workspace.d.ts.map +1 -1
  60. package/dist/types/src/operations/set-layout-mode.d.ts +1 -1
  61. package/dist/types/src/operations/set-layout-mode.d.ts.map +1 -1
  62. package/dist/types/src/operations/set.d.ts +1 -1
  63. package/dist/types/src/operations/set.d.ts.map +1 -1
  64. package/dist/types/src/operations/switch-workspace.d.ts +1 -1
  65. package/dist/types/src/operations/switch-workspace.d.ts.map +1 -1
  66. package/dist/types/src/operations/update-complementary.d.ts +1 -1
  67. package/dist/types/src/operations/update-complementary.d.ts.map +1 -1
  68. package/dist/types/src/operations/update-dialog.d.ts +1 -1
  69. package/dist/types/src/operations/update-dialog.d.ts.map +1 -1
  70. package/dist/types/src/operations/update-popover.d.ts +1 -1
  71. package/dist/types/src/operations/update-popover.d.ts.map +1 -1
  72. package/dist/types/src/operations/update-sidebar.d.ts +1 -1
  73. package/dist/types/src/operations/update-sidebar.d.ts.map +1 -1
  74. package/dist/types/src/translations.d.ts +21 -22
  75. package/dist/types/src/translations.d.ts.map +1 -1
  76. package/dist/types/src/types/events.d.ts.map +1 -1
  77. package/dist/types/tsconfig.tsbuildinfo +1 -1
  78. package/package.json +37 -30
  79. package/src/SimpleLayoutPlugin.ts +1 -2
  80. package/src/capabilities/app-graph-builder.ts +1 -1
  81. package/src/capabilities/index.ts +1 -1
  82. package/src/capabilities/operation-handler.ts +1 -1
  83. package/src/capabilities/react-surface.tsx +1 -1
  84. package/src/components/ContentError.stories.tsx +1 -1
  85. package/src/components/NavBranch/NavBranch.tsx +1 -5
  86. package/src/components/SimpleLayout/AppBar.stories.tsx +2 -1
  87. package/src/components/SimpleLayout/NavBar.stories.tsx +2 -1
  88. package/src/components/SimpleLayout/SimpleLayout.stories.tsx +2 -2
  89. package/src/hooks/useAppBarProps.ts +0 -20
  90. package/src/meta.ts +1 -1
  91. package/src/operations/close.ts +1 -1
  92. package/src/operations/index.ts +1 -1
  93. package/src/operations/open.ts +1 -1
  94. package/src/operations/revert-workspace.ts +1 -1
  95. package/src/operations/set-layout-mode.ts +1 -1
  96. package/src/operations/set.ts +1 -1
  97. package/src/operations/switch-workspace.ts +1 -1
  98. package/src/operations/update-complementary.ts +1 -1
  99. package/src/operations/update-dialog.ts +1 -1
  100. package/src/operations/update-popover.ts +1 -1
  101. package/src/operations/update-sidebar.ts +1 -1
  102. package/src/translations.ts +1 -1
@@ -2,42 +2,10 @@
2
2
  import { ActivationEvent, ActivationEvents, Capability, Plugin } from "@dxos/app-framework";
3
3
  import { AppActivationEvents, AppPlugin } from "@dxos/app-toolkit";
4
4
  import { AppGraphBuilder, OperationHandler, ReactRoot, ReactSurface, SpotlightDismiss, State, UrlHandler } from "#capabilities";
5
- import { meta as meta2 } from "#meta";
6
- import { SimpleLayoutEvents } from "#types";
7
-
8
- // src/translations.ts
9
- import { translations as searchTranslations } from "@dxos/react-ui-search";
10
5
  import { meta } from "#meta";
11
- var translations = [
12
- ...searchTranslations,
13
- {
14
- "en-US": {
15
- [meta.id]: {
16
- "plugin.name": "Simple layout",
17
- "settings.title": "Simple layout settings",
18
- "workspaces.heading": "Workspaces",
19
- "settings.heading": "Settings",
20
- "back.label": "Back",
21
- "browse.label": "Browse",
22
- "notifications.label": "Notifications",
23
- "profile.label": "Profile",
24
- "app-menu.label": "App menu",
25
- "main-menu.label": "Main menu",
26
- "companions-menu.label": "Companions",
27
- "error-fallback.message": "An error occurred",
28
- "drawer.label": "Drawer",
29
- "close-drawer.label": "Close drawer",
30
- "expand-drawer.label": "Expand drawer",
31
- "collapse-drawer.label": "Collapse drawer",
32
- "actions-menu.label": "Actions",
33
- "done.label": "Done"
34
- }
35
- }
36
- }
37
- ];
38
-
39
- // src/SimpleLayoutPlugin.ts
40
- var SimpleLayoutPlugin = Plugin.define(meta2).pipe(AppPlugin.addAppGraphModule({
6
+ import { translations } from "#translations";
7
+ import { SimpleLayoutEvents } from "#types";
8
+ var SimpleLayoutPlugin = Plugin.define(meta).pipe(AppPlugin.addAppGraphModule({
41
9
  activate: AppGraphBuilder
42
10
  }), AppPlugin.addOperationHandlerModule({
43
11
  activate: OperationHandler
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/SimpleLayoutPlugin.ts", "../../../src/translations.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { ActivationEvent, ActivationEvents, Capability, Plugin } from '@dxos/app-framework';\nimport { AppActivationEvents, AppPlugin } from '@dxos/app-toolkit';\n\nimport {\n AppGraphBuilder,\n OperationHandler,\n ReactRoot,\n ReactSurface,\n SpotlightDismiss,\n State,\n UrlHandler,\n} from '#capabilities';\nimport { meta } from '#meta';\nimport { SimpleLayoutEvents } from '#types';\n\nimport { translations } from './translations';\n\nexport type SimpleLayoutPluginOptions = {\n /** Determines if running in popover window context (hides mobile-specific UI). */\n isPopover?: boolean;\n};\n\nexport const SimpleLayoutPlugin = Plugin.define<SimpleLayoutPluginOptions>(meta).pipe(\n AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),\n AppPlugin.addOperationHandlerModule({ activate: OperationHandler }),\n AppPlugin.addTranslationsModule({ translations }),\n Plugin.addModule(({ isPopover = false }) => ({\n id: Capability.getModuleTag(State),\n activatesOn: ActivationEvents.Startup,\n firesAfterActivation: [SimpleLayoutEvents.StateReady, AppActivationEvents.LayoutReady],\n activate: () => State({ initialState: { isPopover } }),\n })),\n Plugin.addModule(({ isPopover = false }) => ({\n id: Capability.getModuleTag(SpotlightDismiss),\n activatesOn: ActivationEvents.Startup,\n activate: () => SpotlightDismiss({ isPopover }),\n })),\n Plugin.addModule({\n id: Capability.getModuleTag(ReactRoot),\n activatesOn: ActivationEvents.Startup,\n activate: ReactRoot,\n }),\n Plugin.addModule({\n id: Capability.getModuleTag(ReactSurface),\n activatesOn: ActivationEvents.Startup,\n activate: ReactSurface,\n }),\n Plugin.addModule({\n id: Capability.getModuleTag(UrlHandler),\n activatesOn: ActivationEvent.allOf(ActivationEvents.OperationInvokerReady, SimpleLayoutEvents.StateReady),\n activate: UrlHandler,\n }),\n Plugin.make,\n);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\nimport { translations as searchTranslations } from '@dxos/react-ui-search';\n\nimport { meta } from '#meta';\n\nexport const translations = [\n ...searchTranslations,\n {\n 'en-US': {\n [meta.id]: {\n 'plugin.name': 'Simple layout',\n 'settings.title': 'Simple layout settings',\n 'workspaces.heading': 'Workspaces',\n 'settings.heading': 'Settings',\n 'back.label': 'Back',\n 'browse.label': 'Browse',\n 'notifications.label': 'Notifications',\n 'profile.label': 'Profile',\n 'app-menu.label': 'App menu',\n 'main-menu.label': 'Main menu',\n 'companions-menu.label': 'Companions',\n 'error-fallback.message': 'An error occurred',\n 'drawer.label': 'Drawer',\n 'close-drawer.label': 'Close drawer',\n 'expand-drawer.label': 'Expand drawer',\n 'collapse-drawer.label': 'Collapse drawer',\n 'actions-menu.label': 'Actions',\n 'done.label': 'Done',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
- "mappings": ";AAIA,SAASA,iBAAiBC,kBAAkBC,YAAYC,cAAc;AACtE,SAASC,qBAAqBC,iBAAiB;AAE/C,SACEC,iBACAC,kBACAC,WACAC,cACAC,kBACAC,OACAC,kBACK;AACP,SAASC,QAAAA,aAAY;AACrB,SAASC,0BAA0B;;;ACZnC,SAASC,gBAAgBC,0BAA0B;AAEnD,SAASC,YAAY;AAEd,IAAMC,eAAe;KACvBC;EACH;IACE,SAAS;MACP,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,kBAAkB;QAClB,sBAAsB;QACtB,oBAAoB;QACpB,cAAc;QACd,gBAAgB;QAChB,uBAAuB;QACvB,iBAAiB;QACjB,kBAAkB;QAClB,mBAAmB;QACnB,yBAAyB;QACzB,0BAA0B;QAC1B,gBAAgB;QAChB,sBAAsB;QACtB,uBAAuB;QACvB,yBAAyB;QACzB,sBAAsB;QACtB,cAAc;MAChB;IACF;EACF;;;;ADRK,IAAMC,qBAAqBC,OAAOC,OAAkCC,KAAAA,EAAMC,KAC/EC,UAAUC,kBAAkB;EAAEC,UAAUC;AAAgB,CAAA,GACxDH,UAAUI,0BAA0B;EAAEF,UAAUG;AAAiB,CAAA,GACjEL,UAAUM,sBAAsB;EAAEC;AAAa,CAAA,GAC/CX,OAAOY,UAAU,CAAC,EAAEC,YAAY,MAAK,OAAQ;EAC3CC,IAAIC,WAAWC,aAAaC,KAAAA;EAC5BC,aAAaC,iBAAiBC;EAC9BC,sBAAsB;IAACC,mBAAmBC;IAAYC,oBAAoBC;;EAC1EnB,UAAU,MAAMW,MAAM;IAAES,cAAc;MAAEb;IAAU;EAAE,CAAA;AACtD,EAAA,GACAb,OAAOY,UAAU,CAAC,EAAEC,YAAY,MAAK,OAAQ;EAC3CC,IAAIC,WAAWC,aAAaW,gBAAAA;EAC5BT,aAAaC,iBAAiBC;EAC9Bd,UAAU,MAAMqB,iBAAiB;IAAEd;EAAU,CAAA;AAC/C,EAAA,GACAb,OAAOY,UAAU;EACfE,IAAIC,WAAWC,aAAaY,SAAAA;EAC5BV,aAAaC,iBAAiBC;EAC9Bd,UAAUsB;AACZ,CAAA,GACA5B,OAAOY,UAAU;EACfE,IAAIC,WAAWC,aAAaa,YAAAA;EAC5BX,aAAaC,iBAAiBC;EAC9Bd,UAAUuB;AACZ,CAAA,GACA7B,OAAOY,UAAU;EACfE,IAAIC,WAAWC,aAAac,UAAAA;EAC5BZ,aAAaa,gBAAgBC,MAAMb,iBAAiBc,uBAAuBX,mBAAmBC,UAAU;EACxGjB,UAAUwB;AACZ,CAAA,GACA9B,OAAOkC,IAAI;",
6
- "names": ["ActivationEvent", "ActivationEvents", "Capability", "Plugin", "AppActivationEvents", "AppPlugin", "AppGraphBuilder", "OperationHandler", "ReactRoot", "ReactSurface", "SpotlightDismiss", "State", "UrlHandler", "meta", "SimpleLayoutEvents", "translations", "searchTranslations", "meta", "translations", "searchTranslations", "meta", "id", "SimpleLayoutPlugin", "Plugin", "define", "meta", "pipe", "AppPlugin", "addAppGraphModule", "activate", "AppGraphBuilder", "addOperationHandlerModule", "OperationHandler", "addTranslationsModule", "translations", "addModule", "isPopover", "id", "Capability", "getModuleTag", "State", "activatesOn", "ActivationEvents", "Startup", "firesAfterActivation", "SimpleLayoutEvents", "StateReady", "AppActivationEvents", "LayoutReady", "initialState", "SpotlightDismiss", "ReactRoot", "ReactSurface", "UrlHandler", "ActivationEvent", "allOf", "OperationInvokerReady", "make"]
3
+ "sources": ["../../../src/SimpleLayoutPlugin.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { ActivationEvent, ActivationEvents, Capability, Plugin } from '@dxos/app-framework';\nimport { AppActivationEvents, AppPlugin } from '@dxos/app-toolkit';\n\nimport {\n AppGraphBuilder,\n OperationHandler,\n ReactRoot,\n ReactSurface,\n SpotlightDismiss,\n State,\n UrlHandler,\n} from '#capabilities';\nimport { meta } from '#meta';\nimport { translations } from '#translations';\nimport { SimpleLayoutEvents } from '#types';\n\nexport type SimpleLayoutPluginOptions = {\n /** Determines if running in popover window context (hides mobile-specific UI). */\n isPopover?: boolean;\n};\n\nexport const SimpleLayoutPlugin = Plugin.define<SimpleLayoutPluginOptions>(meta).pipe(\n AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),\n AppPlugin.addOperationHandlerModule({ activate: OperationHandler }),\n AppPlugin.addTranslationsModule({ translations }),\n Plugin.addModule(({ isPopover = false }) => ({\n id: Capability.getModuleTag(State),\n activatesOn: ActivationEvents.Startup,\n firesAfterActivation: [SimpleLayoutEvents.StateReady, AppActivationEvents.LayoutReady],\n activate: () => State({ initialState: { isPopover } }),\n })),\n Plugin.addModule(({ isPopover = false }) => ({\n id: Capability.getModuleTag(SpotlightDismiss),\n activatesOn: ActivationEvents.Startup,\n activate: () => SpotlightDismiss({ isPopover }),\n })),\n Plugin.addModule({\n id: Capability.getModuleTag(ReactRoot),\n activatesOn: ActivationEvents.Startup,\n activate: ReactRoot,\n }),\n Plugin.addModule({\n id: Capability.getModuleTag(ReactSurface),\n activatesOn: ActivationEvents.Startup,\n activate: ReactSurface,\n }),\n Plugin.addModule({\n id: Capability.getModuleTag(UrlHandler),\n activatesOn: ActivationEvent.allOf(ActivationEvents.OperationInvokerReady, SimpleLayoutEvents.StateReady),\n activate: UrlHandler,\n }),\n Plugin.make,\n);\n"],
5
+ "mappings": ";AAIA,SAASA,iBAAiBC,kBAAkBC,YAAYC,cAAc;AACtE,SAASC,qBAAqBC,iBAAiB;AAE/C,SACEC,iBACAC,kBACAC,WACAC,cACAC,kBACAC,OACAC,kBACK;AACP,SAASC,YAAY;AACrB,SAASC,oBAAoB;AAC7B,SAASC,0BAA0B;AAO5B,IAAMC,qBAAqBb,OAAOc,OAAkCJ,IAAAA,EAAMK,KAC/Eb,UAAUc,kBAAkB;EAAEC,UAAUd;AAAgB,CAAA,GACxDD,UAAUgB,0BAA0B;EAAED,UAAUb;AAAiB,CAAA,GACjEF,UAAUiB,sBAAsB;EAAER;AAAa,CAAA,GAC/CX,OAAOoB,UAAU,CAAC,EAAEC,YAAY,MAAK,OAAQ;EAC3CC,IAAIvB,WAAWwB,aAAaf,KAAAA;EAC5BgB,aAAa1B,iBAAiB2B;EAC9BC,sBAAsB;IAACd,mBAAmBe;IAAY1B,oBAAoB2B;;EAC1EX,UAAU,MAAMT,MAAM;IAAEqB,cAAc;MAAER;IAAU;EAAE,CAAA;AACtD,EAAA,GACArB,OAAOoB,UAAU,CAAC,EAAEC,YAAY,MAAK,OAAQ;EAC3CC,IAAIvB,WAAWwB,aAAahB,gBAAAA;EAC5BiB,aAAa1B,iBAAiB2B;EAC9BR,UAAU,MAAMV,iBAAiB;IAAEc;EAAU,CAAA;AAC/C,EAAA,GACArB,OAAOoB,UAAU;EACfE,IAAIvB,WAAWwB,aAAalB,SAAAA;EAC5BmB,aAAa1B,iBAAiB2B;EAC9BR,UAAUZ;AACZ,CAAA,GACAL,OAAOoB,UAAU;EACfE,IAAIvB,WAAWwB,aAAajB,YAAAA;EAC5BkB,aAAa1B,iBAAiB2B;EAC9BR,UAAUX;AACZ,CAAA,GACAN,OAAOoB,UAAU;EACfE,IAAIvB,WAAWwB,aAAad,UAAAA;EAC5Be,aAAa3B,gBAAgBiC,MAAMhC,iBAAiBiC,uBAAuBnB,mBAAmBe,UAAU;EACxGV,UAAUR;AACZ,CAAA,GACAT,OAAOgC,IAAI;",
6
+ "names": ["ActivationEvent", "ActivationEvents", "Capability", "Plugin", "AppActivationEvents", "AppPlugin", "AppGraphBuilder", "OperationHandler", "ReactRoot", "ReactSurface", "SpotlightDismiss", "State", "UrlHandler", "meta", "translations", "SimpleLayoutEvents", "SimpleLayoutPlugin", "define", "pipe", "addAppGraphModule", "activate", "addOperationHandlerModule", "addTranslationsModule", "addModule", "isPopover", "id", "getModuleTag", "activatesOn", "Startup", "firesAfterActivation", "StateReady", "LayoutReady", "initialState", "allOf", "OperationInvokerReady", "make"]
7
7
  }
@@ -1 +1 @@
1
- {"inputs":{"src/translations.ts":{"bytes":3603,"imports":[{"path":"@dxos/react-ui-search","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/SimpleLayoutPlugin.ts":{"bytes":7142,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":490,"imports":[{"path":"src/SimpleLayoutPlugin.ts","kind":"import-statement","original":"./SimpleLayoutPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5526},"dist/lib/browser/index.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"@dxos/react-ui-search","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["SimpleLayoutPlugin"],"entryPoint":"src/index.ts","inputs":{"src/SimpleLayoutPlugin.ts":{"bytesInOutput":1589},"src/translations.ts":{"bytesInOutput":965},"src/index.ts":{"bytesInOutput":0}},"bytes":2705}}}
1
+ {"inputs":{"src/SimpleLayoutPlugin.ts":{"bytes":7032,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":402,"imports":[{"path":"src/SimpleLayoutPlugin.ts","kind":"import-statement","original":"./SimpleLayoutPlugin"}],"format":"esm"},"src/translations.ts":{"bytes":3537,"imports":[{"path":"@dxos/react-ui-search/translations","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3713},"dist/lib/browser/index.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["SimpleLayoutPlugin"],"entryPoint":"src/index.ts","inputs":{"src/SimpleLayoutPlugin.ts":{"bytesInOutput":1625},"src/index.ts":{"bytesInOutput":0}},"bytes":1722},"dist/lib/browser/translations.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1667},"dist/lib/browser/translations.mjs":{"imports":[{"path":"@dxos/react-ui-search/translations","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["translations"],"entryPoint":"src/translations.ts","inputs":{"src/translations.ts":{"bytesInOutput":978}},"bytes":1070}}}
@@ -0,0 +1,34 @@
1
+ // src/translations.ts
2
+ import { translations as searchTranslations } from "@dxos/react-ui-search/translations";
3
+ import { meta } from "#meta";
4
+ var translations = [
5
+ ...searchTranslations,
6
+ {
7
+ "en-US": {
8
+ [meta.id]: {
9
+ "plugin.name": "Simple layout",
10
+ "settings.title": "Simple layout settings",
11
+ "workspaces.heading": "Workspaces",
12
+ "settings.heading": "Settings",
13
+ "back.label": "Back",
14
+ "browse.label": "Browse",
15
+ "notifications.label": "Notifications",
16
+ "profile.label": "Profile",
17
+ "app-menu.label": "App menu",
18
+ "main-menu.label": "Main menu",
19
+ "companions-menu.label": "Companions",
20
+ "error-fallback.message": "An error occurred",
21
+ "drawer.label": "Drawer",
22
+ "close-drawer.label": "Close drawer",
23
+ "expand-drawer.label": "Expand drawer",
24
+ "collapse-drawer.label": "Collapse drawer",
25
+ "actions-menu.label": "Actions",
26
+ "done.label": "Done"
27
+ }
28
+ }
29
+ }
30
+ ];
31
+ export {
32
+ translations
33
+ };
34
+ //# sourceMappingURL=translations.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/translations.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\nimport { translations as searchTranslations } from '@dxos/react-ui-search/translations';\n\nimport { meta } from '#meta';\n\nexport const translations = [\n ...searchTranslations,\n {\n 'en-US': {\n [meta.id]: {\n 'plugin.name': 'Simple layout',\n 'settings.title': 'Simple layout settings',\n 'workspaces.heading': 'Workspaces',\n 'settings.heading': 'Settings',\n 'back.label': 'Back',\n 'browse.label': 'Browse',\n 'notifications.label': 'Notifications',\n 'profile.label': 'Profile',\n 'app-menu.label': 'App menu',\n 'main-menu.label': 'Main menu',\n 'companions-menu.label': 'Companions',\n 'error-fallback.message': 'An error occurred',\n 'drawer.label': 'Drawer',\n 'close-drawer.label': 'Close drawer',\n 'expand-drawer.label': 'Expand drawer',\n 'collapse-drawer.label': 'Collapse drawer',\n 'actions-menu.label': 'Actions',\n 'done.label': 'Done',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
+ "mappings": ";AAKA,SAASA,gBAAgBC,0BAA0B;AAEnD,SAASC,YAAY;AAEd,IAAMF,eAAe;KACvBC;EACH;IACE,SAAS;MACP,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,kBAAkB;QAClB,sBAAsB;QACtB,oBAAoB;QACpB,cAAc;QACd,gBAAgB;QAChB,uBAAuB;QACvB,iBAAiB;QACjB,kBAAkB;QAClB,mBAAmB;QACnB,yBAAyB;QACzB,0BAA0B;QAC1B,gBAAgB;QAChB,sBAAsB;QACtB,uBAAuB;QACvB,yBAAyB;QACzB,sBAAsB;QACtB,cAAc;MAChB;IACF;EACF;;",
6
+ "names": ["translations", "searchTranslations", "meta", "id"]
7
+ }
@@ -4,42 +4,10 @@ import { createRequire } from 'node:module';const require = createRequire(import
4
4
  import { ActivationEvent, ActivationEvents, Capability, Plugin } from "@dxos/app-framework";
5
5
  import { AppActivationEvents, AppPlugin } from "@dxos/app-toolkit";
6
6
  import { AppGraphBuilder, OperationHandler, ReactRoot, ReactSurface, SpotlightDismiss, State, UrlHandler } from "#capabilities";
7
- import { meta as meta2 } from "#meta";
8
- import { SimpleLayoutEvents } from "#types";
9
-
10
- // src/translations.ts
11
- import { translations as searchTranslations } from "@dxos/react-ui-search";
12
7
  import { meta } from "#meta";
13
- var translations = [
14
- ...searchTranslations,
15
- {
16
- "en-US": {
17
- [meta.id]: {
18
- "plugin.name": "Simple layout",
19
- "settings.title": "Simple layout settings",
20
- "workspaces.heading": "Workspaces",
21
- "settings.heading": "Settings",
22
- "back.label": "Back",
23
- "browse.label": "Browse",
24
- "notifications.label": "Notifications",
25
- "profile.label": "Profile",
26
- "app-menu.label": "App menu",
27
- "main-menu.label": "Main menu",
28
- "companions-menu.label": "Companions",
29
- "error-fallback.message": "An error occurred",
30
- "drawer.label": "Drawer",
31
- "close-drawer.label": "Close drawer",
32
- "expand-drawer.label": "Expand drawer",
33
- "collapse-drawer.label": "Collapse drawer",
34
- "actions-menu.label": "Actions",
35
- "done.label": "Done"
36
- }
37
- }
38
- }
39
- ];
40
-
41
- // src/SimpleLayoutPlugin.ts
42
- var SimpleLayoutPlugin = Plugin.define(meta2).pipe(AppPlugin.addAppGraphModule({
8
+ import { translations } from "#translations";
9
+ import { SimpleLayoutEvents } from "#types";
10
+ var SimpleLayoutPlugin = Plugin.define(meta).pipe(AppPlugin.addAppGraphModule({
43
11
  activate: AppGraphBuilder
44
12
  }), AppPlugin.addOperationHandlerModule({
45
13
  activate: OperationHandler
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/SimpleLayoutPlugin.ts", "../../../src/translations.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { ActivationEvent, ActivationEvents, Capability, Plugin } from '@dxos/app-framework';\nimport { AppActivationEvents, AppPlugin } from '@dxos/app-toolkit';\n\nimport {\n AppGraphBuilder,\n OperationHandler,\n ReactRoot,\n ReactSurface,\n SpotlightDismiss,\n State,\n UrlHandler,\n} from '#capabilities';\nimport { meta } from '#meta';\nimport { SimpleLayoutEvents } from '#types';\n\nimport { translations } from './translations';\n\nexport type SimpleLayoutPluginOptions = {\n /** Determines if running in popover window context (hides mobile-specific UI). */\n isPopover?: boolean;\n};\n\nexport const SimpleLayoutPlugin = Plugin.define<SimpleLayoutPluginOptions>(meta).pipe(\n AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),\n AppPlugin.addOperationHandlerModule({ activate: OperationHandler }),\n AppPlugin.addTranslationsModule({ translations }),\n Plugin.addModule(({ isPopover = false }) => ({\n id: Capability.getModuleTag(State),\n activatesOn: ActivationEvents.Startup,\n firesAfterActivation: [SimpleLayoutEvents.StateReady, AppActivationEvents.LayoutReady],\n activate: () => State({ initialState: { isPopover } }),\n })),\n Plugin.addModule(({ isPopover = false }) => ({\n id: Capability.getModuleTag(SpotlightDismiss),\n activatesOn: ActivationEvents.Startup,\n activate: () => SpotlightDismiss({ isPopover }),\n })),\n Plugin.addModule({\n id: Capability.getModuleTag(ReactRoot),\n activatesOn: ActivationEvents.Startup,\n activate: ReactRoot,\n }),\n Plugin.addModule({\n id: Capability.getModuleTag(ReactSurface),\n activatesOn: ActivationEvents.Startup,\n activate: ReactSurface,\n }),\n Plugin.addModule({\n id: Capability.getModuleTag(UrlHandler),\n activatesOn: ActivationEvent.allOf(ActivationEvents.OperationInvokerReady, SimpleLayoutEvents.StateReady),\n activate: UrlHandler,\n }),\n Plugin.make,\n);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\nimport { translations as searchTranslations } from '@dxos/react-ui-search';\n\nimport { meta } from '#meta';\n\nexport const translations = [\n ...searchTranslations,\n {\n 'en-US': {\n [meta.id]: {\n 'plugin.name': 'Simple layout',\n 'settings.title': 'Simple layout settings',\n 'workspaces.heading': 'Workspaces',\n 'settings.heading': 'Settings',\n 'back.label': 'Back',\n 'browse.label': 'Browse',\n 'notifications.label': 'Notifications',\n 'profile.label': 'Profile',\n 'app-menu.label': 'App menu',\n 'main-menu.label': 'Main menu',\n 'companions-menu.label': 'Companions',\n 'error-fallback.message': 'An error occurred',\n 'drawer.label': 'Drawer',\n 'close-drawer.label': 'Close drawer',\n 'expand-drawer.label': 'Expand drawer',\n 'collapse-drawer.label': 'Collapse drawer',\n 'actions-menu.label': 'Actions',\n 'done.label': 'Done',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
- "mappings": ";;;AAIA,SAASA,iBAAiBC,kBAAkBC,YAAYC,cAAc;AACtE,SAASC,qBAAqBC,iBAAiB;AAE/C,SACEC,iBACAC,kBACAC,WACAC,cACAC,kBACAC,OACAC,kBACK;AACP,SAASC,QAAAA,aAAY;AACrB,SAASC,0BAA0B;;;ACZnC,SAASC,gBAAgBC,0BAA0B;AAEnD,SAASC,YAAY;AAEd,IAAMC,eAAe;KACvBC;EACH;IACE,SAAS;MACP,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,kBAAkB;QAClB,sBAAsB;QACtB,oBAAoB;QACpB,cAAc;QACd,gBAAgB;QAChB,uBAAuB;QACvB,iBAAiB;QACjB,kBAAkB;QAClB,mBAAmB;QACnB,yBAAyB;QACzB,0BAA0B;QAC1B,gBAAgB;QAChB,sBAAsB;QACtB,uBAAuB;QACvB,yBAAyB;QACzB,sBAAsB;QACtB,cAAc;MAChB;IACF;EACF;;;;ADRK,IAAMC,qBAAqBC,OAAOC,OAAkCC,KAAAA,EAAMC,KAC/EC,UAAUC,kBAAkB;EAAEC,UAAUC;AAAgB,CAAA,GACxDH,UAAUI,0BAA0B;EAAEF,UAAUG;AAAiB,CAAA,GACjEL,UAAUM,sBAAsB;EAAEC;AAAa,CAAA,GAC/CX,OAAOY,UAAU,CAAC,EAAEC,YAAY,MAAK,OAAQ;EAC3CC,IAAIC,WAAWC,aAAaC,KAAAA;EAC5BC,aAAaC,iBAAiBC;EAC9BC,sBAAsB;IAACC,mBAAmBC;IAAYC,oBAAoBC;;EAC1EnB,UAAU,MAAMW,MAAM;IAAES,cAAc;MAAEb;IAAU;EAAE,CAAA;AACtD,EAAA,GACAb,OAAOY,UAAU,CAAC,EAAEC,YAAY,MAAK,OAAQ;EAC3CC,IAAIC,WAAWC,aAAaW,gBAAAA;EAC5BT,aAAaC,iBAAiBC;EAC9Bd,UAAU,MAAMqB,iBAAiB;IAAEd;EAAU,CAAA;AAC/C,EAAA,GACAb,OAAOY,UAAU;EACfE,IAAIC,WAAWC,aAAaY,SAAAA;EAC5BV,aAAaC,iBAAiBC;EAC9Bd,UAAUsB;AACZ,CAAA,GACA5B,OAAOY,UAAU;EACfE,IAAIC,WAAWC,aAAaa,YAAAA;EAC5BX,aAAaC,iBAAiBC;EAC9Bd,UAAUuB;AACZ,CAAA,GACA7B,OAAOY,UAAU;EACfE,IAAIC,WAAWC,aAAac,UAAAA;EAC5BZ,aAAaa,gBAAgBC,MAAMb,iBAAiBc,uBAAuBX,mBAAmBC,UAAU;EACxGjB,UAAUwB;AACZ,CAAA,GACA9B,OAAOkC,IAAI;",
6
- "names": ["ActivationEvent", "ActivationEvents", "Capability", "Plugin", "AppActivationEvents", "AppPlugin", "AppGraphBuilder", "OperationHandler", "ReactRoot", "ReactSurface", "SpotlightDismiss", "State", "UrlHandler", "meta", "SimpleLayoutEvents", "translations", "searchTranslations", "meta", "translations", "searchTranslations", "meta", "id", "SimpleLayoutPlugin", "Plugin", "define", "meta", "pipe", "AppPlugin", "addAppGraphModule", "activate", "AppGraphBuilder", "addOperationHandlerModule", "OperationHandler", "addTranslationsModule", "translations", "addModule", "isPopover", "id", "Capability", "getModuleTag", "State", "activatesOn", "ActivationEvents", "Startup", "firesAfterActivation", "SimpleLayoutEvents", "StateReady", "AppActivationEvents", "LayoutReady", "initialState", "SpotlightDismiss", "ReactRoot", "ReactSurface", "UrlHandler", "ActivationEvent", "allOf", "OperationInvokerReady", "make"]
3
+ "sources": ["../../../src/SimpleLayoutPlugin.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { ActivationEvent, ActivationEvents, Capability, Plugin } from '@dxos/app-framework';\nimport { AppActivationEvents, AppPlugin } from '@dxos/app-toolkit';\n\nimport {\n AppGraphBuilder,\n OperationHandler,\n ReactRoot,\n ReactSurface,\n SpotlightDismiss,\n State,\n UrlHandler,\n} from '#capabilities';\nimport { meta } from '#meta';\nimport { translations } from '#translations';\nimport { SimpleLayoutEvents } from '#types';\n\nexport type SimpleLayoutPluginOptions = {\n /** Determines if running in popover window context (hides mobile-specific UI). */\n isPopover?: boolean;\n};\n\nexport const SimpleLayoutPlugin = Plugin.define<SimpleLayoutPluginOptions>(meta).pipe(\n AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),\n AppPlugin.addOperationHandlerModule({ activate: OperationHandler }),\n AppPlugin.addTranslationsModule({ translations }),\n Plugin.addModule(({ isPopover = false }) => ({\n id: Capability.getModuleTag(State),\n activatesOn: ActivationEvents.Startup,\n firesAfterActivation: [SimpleLayoutEvents.StateReady, AppActivationEvents.LayoutReady],\n activate: () => State({ initialState: { isPopover } }),\n })),\n Plugin.addModule(({ isPopover = false }) => ({\n id: Capability.getModuleTag(SpotlightDismiss),\n activatesOn: ActivationEvents.Startup,\n activate: () => SpotlightDismiss({ isPopover }),\n })),\n Plugin.addModule({\n id: Capability.getModuleTag(ReactRoot),\n activatesOn: ActivationEvents.Startup,\n activate: ReactRoot,\n }),\n Plugin.addModule({\n id: Capability.getModuleTag(ReactSurface),\n activatesOn: ActivationEvents.Startup,\n activate: ReactSurface,\n }),\n Plugin.addModule({\n id: Capability.getModuleTag(UrlHandler),\n activatesOn: ActivationEvent.allOf(ActivationEvents.OperationInvokerReady, SimpleLayoutEvents.StateReady),\n activate: UrlHandler,\n }),\n Plugin.make,\n);\n"],
5
+ "mappings": ";;;AAIA,SAASA,iBAAiBC,kBAAkBC,YAAYC,cAAc;AACtE,SAASC,qBAAqBC,iBAAiB;AAE/C,SACEC,iBACAC,kBACAC,WACAC,cACAC,kBACAC,OACAC,kBACK;AACP,SAASC,YAAY;AACrB,SAASC,oBAAoB;AAC7B,SAASC,0BAA0B;AAO5B,IAAMC,qBAAqBb,OAAOc,OAAkCJ,IAAAA,EAAMK,KAC/Eb,UAAUc,kBAAkB;EAAEC,UAAUd;AAAgB,CAAA,GACxDD,UAAUgB,0BAA0B;EAAED,UAAUb;AAAiB,CAAA,GACjEF,UAAUiB,sBAAsB;EAAER;AAAa,CAAA,GAC/CX,OAAOoB,UAAU,CAAC,EAAEC,YAAY,MAAK,OAAQ;EAC3CC,IAAIvB,WAAWwB,aAAaf,KAAAA;EAC5BgB,aAAa1B,iBAAiB2B;EAC9BC,sBAAsB;IAACd,mBAAmBe;IAAY1B,oBAAoB2B;;EAC1EX,UAAU,MAAMT,MAAM;IAAEqB,cAAc;MAAER;IAAU;EAAE,CAAA;AACtD,EAAA,GACArB,OAAOoB,UAAU,CAAC,EAAEC,YAAY,MAAK,OAAQ;EAC3CC,IAAIvB,WAAWwB,aAAahB,gBAAAA;EAC5BiB,aAAa1B,iBAAiB2B;EAC9BR,UAAU,MAAMV,iBAAiB;IAAEc;EAAU,CAAA;AAC/C,EAAA,GACArB,OAAOoB,UAAU;EACfE,IAAIvB,WAAWwB,aAAalB,SAAAA;EAC5BmB,aAAa1B,iBAAiB2B;EAC9BR,UAAUZ;AACZ,CAAA,GACAL,OAAOoB,UAAU;EACfE,IAAIvB,WAAWwB,aAAajB,YAAAA;EAC5BkB,aAAa1B,iBAAiB2B;EAC9BR,UAAUX;AACZ,CAAA,GACAN,OAAOoB,UAAU;EACfE,IAAIvB,WAAWwB,aAAad,UAAAA;EAC5Be,aAAa3B,gBAAgBiC,MAAMhC,iBAAiBiC,uBAAuBnB,mBAAmBe,UAAU;EACxGV,UAAUR;AACZ,CAAA,GACAT,OAAOgC,IAAI;",
6
+ "names": ["ActivationEvent", "ActivationEvents", "Capability", "Plugin", "AppActivationEvents", "AppPlugin", "AppGraphBuilder", "OperationHandler", "ReactRoot", "ReactSurface", "SpotlightDismiss", "State", "UrlHandler", "meta", "translations", "SimpleLayoutEvents", "SimpleLayoutPlugin", "define", "pipe", "addAppGraphModule", "activate", "addOperationHandlerModule", "addTranslationsModule", "addModule", "isPopover", "id", "getModuleTag", "activatesOn", "Startup", "firesAfterActivation", "StateReady", "LayoutReady", "initialState", "allOf", "OperationInvokerReady", "make"]
7
7
  }
@@ -1 +1 @@
1
- {"inputs":{"src/translations.ts":{"bytes":3603,"imports":[{"path":"@dxos/react-ui-search","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/SimpleLayoutPlugin.ts":{"bytes":7142,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":490,"imports":[{"path":"src/SimpleLayoutPlugin.ts","kind":"import-statement","original":"./SimpleLayoutPlugin"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5528},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"@dxos/react-ui-search","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["SimpleLayoutPlugin"],"entryPoint":"src/index.ts","inputs":{"src/SimpleLayoutPlugin.ts":{"bytesInOutput":1589},"src/translations.ts":{"bytesInOutput":965},"src/index.ts":{"bytesInOutput":0}},"bytes":2798}}}
1
+ {"inputs":{"src/SimpleLayoutPlugin.ts":{"bytes":7032,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":402,"imports":[{"path":"src/SimpleLayoutPlugin.ts","kind":"import-statement","original":"./SimpleLayoutPlugin"}],"format":"esm"},"src/translations.ts":{"bytes":3537,"imports":[{"path":"@dxos/react-ui-search/translations","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3715},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["SimpleLayoutPlugin"],"entryPoint":"src/index.ts","inputs":{"src/SimpleLayoutPlugin.ts":{"bytesInOutput":1625},"src/index.ts":{"bytesInOutput":0}},"bytes":1815},"dist/lib/node-esm/translations.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1669},"dist/lib/node-esm/translations.mjs":{"imports":[{"path":"@dxos/react-ui-search/translations","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["translations"],"entryPoint":"src/translations.ts","inputs":{"src/translations.ts":{"bytesInOutput":978}},"bytes":1163}}}
@@ -0,0 +1,36 @@
1
+ import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
+
3
+ // src/translations.ts
4
+ import { translations as searchTranslations } from "@dxos/react-ui-search/translations";
5
+ import { meta } from "#meta";
6
+ var translations = [
7
+ ...searchTranslations,
8
+ {
9
+ "en-US": {
10
+ [meta.id]: {
11
+ "plugin.name": "Simple layout",
12
+ "settings.title": "Simple layout settings",
13
+ "workspaces.heading": "Workspaces",
14
+ "settings.heading": "Settings",
15
+ "back.label": "Back",
16
+ "browse.label": "Browse",
17
+ "notifications.label": "Notifications",
18
+ "profile.label": "Profile",
19
+ "app-menu.label": "App menu",
20
+ "main-menu.label": "Main menu",
21
+ "companions-menu.label": "Companions",
22
+ "error-fallback.message": "An error occurred",
23
+ "drawer.label": "Drawer",
24
+ "close-drawer.label": "Close drawer",
25
+ "expand-drawer.label": "Expand drawer",
26
+ "collapse-drawer.label": "Collapse drawer",
27
+ "actions-menu.label": "Actions",
28
+ "done.label": "Done"
29
+ }
30
+ }
31
+ }
32
+ ];
33
+ export {
34
+ translations
35
+ };
36
+ //# sourceMappingURL=translations.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/translations.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\nimport { translations as searchTranslations } from '@dxos/react-ui-search/translations';\n\nimport { meta } from '#meta';\n\nexport const translations = [\n ...searchTranslations,\n {\n 'en-US': {\n [meta.id]: {\n 'plugin.name': 'Simple layout',\n 'settings.title': 'Simple layout settings',\n 'workspaces.heading': 'Workspaces',\n 'settings.heading': 'Settings',\n 'back.label': 'Back',\n 'browse.label': 'Browse',\n 'notifications.label': 'Notifications',\n 'profile.label': 'Profile',\n 'app-menu.label': 'App menu',\n 'main-menu.label': 'Main menu',\n 'companions-menu.label': 'Companions',\n 'error-fallback.message': 'An error occurred',\n 'drawer.label': 'Drawer',\n 'close-drawer.label': 'Close drawer',\n 'expand-drawer.label': 'Expand drawer',\n 'collapse-drawer.label': 'Collapse drawer',\n 'actions-menu.label': 'Actions',\n 'done.label': 'Done',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
+ "mappings": ";;;AAKA,SAASA,gBAAgBC,0BAA0B;AAEnD,SAASC,YAAY;AAEd,IAAMF,eAAe;KACvBC;EACH;IACE,SAAS;MACP,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,kBAAkB;QAClB,sBAAsB;QACtB,oBAAoB;QACpB,cAAc;QACd,gBAAgB;QAChB,uBAAuB;QACvB,iBAAiB;QACjB,kBAAkB;QAClB,mBAAmB;QACnB,yBAAyB;QACzB,0BAA0B;QAC1B,gBAAgB;QAChB,sBAAsB;QACtB,uBAAuB;QACvB,yBAAyB;QACzB,sBAAsB;QACtB,cAAc;MAChB;IACF;EACF;;",
6
+ "names": ["translations", "searchTranslations", "meta", "id"]
7
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleLayoutPlugin.d.ts","sourceRoot":"","sources":["../../../src/SimpleLayoutPlugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiD,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAiB5F,MAAM,MAAM,yBAAyB,GAAG;IACtC,kFAAkF;IAClF,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,iDA+B9B,CAAC"}
1
+ {"version":3,"file":"SimpleLayoutPlugin.d.ts","sourceRoot":"","sources":["../../../src/SimpleLayoutPlugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiD,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAgB5F,MAAM,MAAM,yBAAyB,GAAG;IACtC,kFAAkF;IAClF,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,kBAAkB,iDA+B9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAe,MAAM,oBAAoB,CAAC;;AAE/D,wBAUE"}
1
+ {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAE,YAAY,EAAe,MAAM,oBAAoB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { Capability } from '@dxos/app-framework';
2
- import { OperationHandlerSet } from '@dxos/operation';
2
+ import { OperationHandlerSet } from '@dxos/compute';
3
3
  export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>, Error>;
4
4
  export declare const OperationHandler: Capability.LazyCapability<OperationHandlerSet.OperationHandlerSet, Capability.ModuleReturn, Error>;
5
5
  export declare const ReactRoot: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<Readonly<{
@@ -7,7 +7,7 @@ export declare const ReactRoot: Capability.LazyCapability<void, Capability.Capab
7
7
  root: import("react").FC<import("react").PropsWithChildren>;
8
8
  }>>>, Error>;
9
9
  export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
10
- export declare const SpotlightDismiss: Capability.LazyCapability<import("./spotlight-dismiss").SpotlightDismissOptions | undefined, [] | Capability.Capability<Capability.InterfaceDef<null>>, Error>;
10
+ export declare const SpotlightDismiss: Capability.LazyCapability<import("./spotlight-dismiss").SpotlightDismissOptions | undefined, Capability.Capability<Capability.InterfaceDef<null>> | [], Error>;
11
11
  export declare const State: Capability.LazyCapability<import("./state").SimpleLayoutStateOptions | undefined, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<import("../types").SimpleLayoutState, import("../types").SimpleLayoutState>>>, Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Atom<Readonly<{
12
12
  mode: string;
13
13
  dialogOpen: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,eAAO,MAAM,eAAe,qIAA0E,CAAC;AACvG,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,SAAS;;;YAA6D,CAAC;AACpF,eAAO,MAAM,YAAY,iJAAmE,CAAC;AAC7F,eAAO,MAAM,gBAAgB,gKAA2E,CAAC;AACzG,eAAO,MAAM,KAAK;;;;;;;;;cAAoD,CAAC;AACvE,eAAO,MAAM,UAAU,8FAA+D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,eAAO,MAAM,eAAe,qIAA0E,CAAC;AACvG,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,SAAS;;;YAA6D,CAAC;AACpF,eAAO,MAAM,YAAY,iJAAmE,CAAC;AAC7F,eAAO,MAAM,gBAAgB,gKAA2E,CAAC;AACzG,eAAO,MAAM,KAAK;;;;;;;;;cAAoD,CAAC;AACvE,eAAO,MAAM,UAAU,8FAA+D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as Effect from 'effect/Effect';
2
2
  import { Capability } from '@dxos/app-framework';
3
- import type { OperationHandlerSet } from '@dxos/operation';
3
+ import type { OperationHandlerSet } from '@dxos/compute';
4
4
  declare const _default: (props: OperationHandlerSet.OperationHandlerSet) => Effect.Effect<Capability.ModuleReturn, Error, Capability.Service>;
5
5
  export default _default;
6
6
  //# sourceMappingURL=operation-handler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"operation-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/operation-handler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;;AAI3D,wBAIE"}
1
+ {"version":3,"file":"operation-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/operation-handler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"react-root.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-root.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;;;;;AAK/D,wBASE"}
1
+ {"version":3,"file":"react-root.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-root.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAe/D,wBA2BE"}
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -9,6 +9,6 @@ export type SpotlightDismissOptions = {
9
9
  * When running in Tauri popover mode, listens for focus loss and Escape key
10
10
  * to dismiss the spotlight panel. Runs at startup before React renders.
11
11
  */
12
- declare const _default: (props: SpotlightDismissOptions | undefined) => Effect.Effect<[] | Capability.Capability<Capability.InterfaceDef<null>>, never, never>;
12
+ declare const _default: (props: SpotlightDismissOptions | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<null>> | [], never, never>;
13
13
  export default _default;
14
14
  //# sourceMappingURL=spotlight-dismiss.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"spotlight-dismiss.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/spotlight-dismiss.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAoB/D,MAAM,MAAM,uBAAuB,GAAG;IACpC,iDAAiD;IACjD,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;GAIG;;AACH,wBA8CE"}
1
+ {"version":3,"file":"spotlight-dismiss.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/spotlight-dismiss.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAoB/D,MAAM,MAAM,uBAAuB,GAAG;IACpC,iDAAiD;IACjD,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF;;;;GAIG"}
@@ -1 +1 @@
1
- {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAIjD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAahD,MAAM,MAAM,wBAAwB,GAAG;IACrC,YAAY,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;CAC3C,CAAC;;;;;;;;;;;AAEF,wBAuBE"}
1
+ {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAIjD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAahD,MAAM,MAAM,wBAAwB,GAAG;IACrC,YAAY,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;CAC3C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"url-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/url-handler.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAQ/D;;;;;;GAMG;;AACH,wBAsGE"}
1
+ {"version":3,"file":"url-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/url-handler.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAQ/D;;;;;;GAMG"}
@@ -8,31 +8,31 @@ declare const meta: {
8
8
  translations: [{
9
9
  readonly 'en-US': {
10
10
  readonly "@dxos/react-ui-search": {
11
- readonly "search.placeholder": "Search...";
12
- readonly "empty-results.message": "No matching objects";
11
+ readonly 'search.placeholder': 'Search...';
12
+ readonly 'empty-results.message': 'No matching objects';
13
13
  };
14
14
  };
15
15
  }, {
16
16
  readonly 'en-US': {
17
- readonly [meta.id]: {
18
- readonly 'plugin.name': "Simple layout";
19
- readonly 'settings.title': "Simple layout settings";
20
- readonly 'workspaces.heading': "Workspaces";
21
- readonly 'settings.heading': "Settings";
22
- readonly 'back.label': "Back";
23
- readonly 'browse.label': "Browse";
24
- readonly 'notifications.label': "Notifications";
25
- readonly 'profile.label': "Profile";
26
- readonly 'app-menu.label': "App menu";
27
- readonly 'main-menu.label': "Main menu";
28
- readonly 'companions-menu.label': "Companions";
29
- readonly 'error-fallback.message': "An error occurred";
30
- readonly 'drawer.label': "Drawer";
31
- readonly 'close-drawer.label': "Close drawer";
32
- readonly 'expand-drawer.label': "Expand drawer";
33
- readonly 'collapse-drawer.label': "Collapse drawer";
34
- readonly 'actions-menu.label': "Actions";
35
- readonly 'done.label': "Done";
17
+ readonly [x: string]: {
18
+ readonly 'plugin.name': 'Simple layout';
19
+ readonly 'settings.title': 'Simple layout settings';
20
+ readonly 'workspaces.heading': 'Workspaces';
21
+ readonly 'settings.heading': 'Settings';
22
+ readonly 'back.label': 'Back';
23
+ readonly 'browse.label': 'Browse';
24
+ readonly 'notifications.label': 'Notifications';
25
+ readonly 'profile.label': 'Profile';
26
+ readonly 'app-menu.label': 'App menu';
27
+ readonly 'main-menu.label': 'Main menu';
28
+ readonly 'companions-menu.label': 'Companions';
29
+ readonly 'error-fallback.message': 'An error occurred';
30
+ readonly 'drawer.label': 'Drawer';
31
+ readonly 'close-drawer.label': 'Close drawer';
32
+ readonly 'expand-drawer.label': 'Expand drawer';
33
+ readonly 'collapse-drawer.label': 'Collapse drawer';
34
+ readonly 'actions-menu.label': 'Actions';
35
+ readonly 'done.label': 'Done';
36
36
  };
37
37
  };
38
38
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"ContentError.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ContentError.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAOjE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;yBAAG,CACR,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;CAOyB,CAAC;AAEvC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAI3B,CAAC"}
1
+ {"version":3,"file":"ContentError.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ContentError.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAOjE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ4B,CAAC;eAExB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAI3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DebugOverlay.d.ts","sourceRoot":"","sources":["../../../../../src/components/DebugOverlay/DebugOverlay.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AAQ3E,KAAK,wBAAwB,GAAG;IAC9B,gEAAgE;IAChE,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5B,CAAC;AAGF,QAAA,MAA6B,WAAW,oDAEtC,CAAC;AAMH,KAAK,qBAAqB,GAAG,iBAAiB,CAAC;IAC7C;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAyDH,eAAO,MAAM,YAAY;4CA7C8C,qBAAqB;CA+C3F,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"DebugOverlay.d.ts","sourceRoot":"","sources":["../../../../../src/components/DebugOverlay/DebugOverlay.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AAQ3E,KAAK,wBAAwB,GAAG;IAC9B,gEAAgE;IAChE,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5B,CAAC;AAGF,QAAA,MAA6B,WAAW,oDAEtC,CAAC;AAMH,KAAK,qBAAqB,GAAG,iBAAiB,CAAC;IAC7C;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAyDH,eAAO,MAAM,YAAY;IACvB,IAAI,oCA9CiE,qBAAqB;CA+C3F,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../../../../src/components/Home/Home.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAiBvE,MAAM,MAAM,SAAS,GAAG,EAAE,CAAC;AAE3B;;GAEG;AACH,eAAO,MAAM,IAAI,GAAI,GAAG,SAAS,sBAoChC,CAAC"}
1
+ {"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../../../../src/components/Home/Home.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAiBvE,MAAM,MAAM,SAAS,GAAG,EAAE,CAAC;AAE3B;;GAEG;AACH,eAAO,MAAM,IAAI,MAAO,SAAS,sBAoChC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Loading.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Loading/Loading.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjE,QAAA,MAAM,IAAI;;;;;;;CAOsB,CAAC;AAEjC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
1
+ {"version":3,"file":"Loading.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Loading/Loading.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjE,QAAA,MAAM,IAAI;;;;;QAKN,MAAM;;CAEsB,CAAC;eAElB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -15,13 +15,13 @@ type MobileLayoutPanelProps = ThemedClassName<PropsWithChildren<{
15
15
  };
16
16
  }>>;
17
17
  export declare const MobileLayout: {
18
- Root: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<{
18
+ Root: React.ForwardRefExoticComponent<Omit<PropsWithChildren<{
19
19
  transition?: number;
20
20
  onKeyboardOpenChange?: (nextState: boolean) => void;
21
21
  }>, "className"> & {
22
22
  classNames?: import("@dxos/ui-types").ClassNameValue;
23
23
  } & React.RefAttributes<HTMLDivElement>>;
24
- Panel: React.ForwardRefExoticComponent<Omit<React.PropsWithChildren<{
24
+ Panel: React.ForwardRefExoticComponent<Omit<PropsWithChildren<{
25
25
  safe?: {
26
26
  top: boolean;
27
27
  bottom: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"MobileLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/MobileLayout/MobileLayout.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAoD,MAAM,OAAO,CAAC;AAIxG,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAatD,KAAK,wBAAwB,GAAG;IAC9B,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,QAAA,MAA6B,eAAe,oDAA+D,CAAC;AAM5G,KAAK,qBAAqB,GAAG,eAAe,CAC1C,iBAAiB,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oBAAoB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CACrD,CAAC,CACH,CAAC;AA2CF,KAAK,sBAAsB,GAAG,eAAe,CAC3C,iBAAiB,CAAC;IAChB,IAAI,CAAC,EAAE;QACL,GAAG,EAAE,OAAO,CAAC;QACb,MAAM,EAAE,OAAO,CAAC;KACjB,CAAC;CACH,CAAC,CACH,CAAC;AA8BF,eAAO,MAAM,YAAY;;qBAnFR,MAAM;+BACI,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI;;;;;eA+C5C;YACL,GAAG,EAAE,OAAO,CAAC;YACb,MAAM,EAAE,OAAO,CAAC;SACjB;;;;CAmCJ,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC;AAE3B,YAAY,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,CAAC"}
1
+ {"version":3,"file":"MobileLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/MobileLayout/MobileLayout.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAoD,MAAM,OAAO,CAAC;AAIxG,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAatD,KAAK,wBAAwB,GAAG;IAC9B,YAAY,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,QAAA,MAA6B,eAAe,oDAA+D,CAAC;AAM5G,KAAK,qBAAqB,GAAG,eAAe,CAC1C,iBAAiB,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,oBAAoB,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CACrD,CAAC,CACH,CAAC;AA2CF,KAAK,sBAAsB,GAAG,eAAe,CAC3C,iBAAiB,CAAC;IAChB,IAAI,CAAC,EAAE;QACL,GAAG,EAAE,OAAO,CAAC;QACb,MAAM,EAAE,OAAO,CAAC;KACjB,CAAC;CACH,CAAC,CACH,CAAC;AA8BF,eAAO,MAAM,YAAY;IACvB,IAAI;qBApFW,MAAM;+BACI,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI;;;;IAoFrD,KAAK;eArCI;YACL,GAAG,EAAE,OAAO,CAAC;YACb,MAAM,EAAE,OAAO,CAAC;SACjB;;;;CAmCJ,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC;AAE3B,YAAY,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MobileLayout.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/MobileLayout/MobileLayout.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,EAAgB,KAAK,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AA2G1E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,qBAAqB,CAQrC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,qBAAqB,CAAC,CAAC;AAE7C,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
1
+ {"version":3,"file":"MobileLayout.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/MobileLayout/MobileLayout.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,EAAgB,KAAK,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AA2G1E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,qBAAqB,CAQrC,CAAC;eAEa,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,qBAAqB,CAAC,CAAC;AAE7C,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NavBranch.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavBranch/NavBranch.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAgBvE,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,GAAI,QAAQ,cAAc,sBAuC/C,CAAC"}
1
+ {"version":3,"file":"NavBranch.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavBranch/NavBranch.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAgBvE,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,WAAY,cAAc,sBAmC/C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAqD,MAAM,OAAO,CAAC;AAkBzG,eAAO,MAAM,WAAW,GAAI,cAAc,iBAAiB,sBA+B1D,CAAC;AAEF,eAAO,MAAM,cAAc,yBAmE1B,CAAC"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAqD,MAAM,OAAO,CAAC;AAkBzG,eAAO,MAAM,WAAW,iBAAkB,iBAAiB,sBA+B1D,CAAC;AAEF,eAAO,MAAM,cAAc,yBAmE1B,CAAC"}
@@ -20,5 +20,5 @@ export type AppBarProps = {
20
20
  */
21
21
  export declare const AppBar: React.ForwardRefExoticComponent<Omit<AppBarProps, "className"> & {
22
22
  classNames?: import("@dxos/ui-types").ClassNameValue;
23
- } & Pick<React.HTMLAttributes<Element>, "children" | "style" | "className" | "role"> & React.RefAttributes<HTMLDivElement>>;
23
+ } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
24
24
  //# sourceMappingURL=AppBar.d.ts.map
@@ -14,31 +14,31 @@ declare const meta: {
14
14
  translations: [{
15
15
  readonly 'en-US': {
16
16
  readonly "@dxos/react-ui-search": {
17
- readonly "search.placeholder": "Search...";
18
- readonly "empty-results.message": "No matching objects";
17
+ readonly 'search.placeholder': 'Search...';
18
+ readonly 'empty-results.message': 'No matching objects';
19
19
  };
20
20
  };
21
21
  }, {
22
22
  readonly 'en-US': {
23
- readonly [meta.id]: {
24
- readonly 'plugin.name': "Simple layout";
25
- readonly 'settings.title': "Simple layout settings";
26
- readonly 'workspaces.heading': "Workspaces";
27
- readonly 'settings.heading': "Settings";
28
- readonly 'back.label': "Back";
29
- readonly 'browse.label': "Browse";
30
- readonly 'notifications.label': "Notifications";
31
- readonly 'profile.label': "Profile";
32
- readonly 'app-menu.label': "App menu";
33
- readonly 'main-menu.label': "Main menu";
34
- readonly 'companions-menu.label': "Companions";
35
- readonly 'error-fallback.message': "An error occurred";
36
- readonly 'drawer.label': "Drawer";
37
- readonly 'close-drawer.label': "Close drawer";
38
- readonly 'expand-drawer.label': "Expand drawer";
39
- readonly 'collapse-drawer.label': "Collapse drawer";
40
- readonly 'actions-menu.label': "Actions";
41
- readonly 'done.label': "Done";
23
+ readonly [x: string]: {
24
+ readonly 'plugin.name': 'Simple layout';
25
+ readonly 'settings.title': 'Simple layout settings';
26
+ readonly 'workspaces.heading': 'Workspaces';
27
+ readonly 'settings.heading': 'Settings';
28
+ readonly 'back.label': 'Back';
29
+ readonly 'browse.label': 'Browse';
30
+ readonly 'notifications.label': 'Notifications';
31
+ readonly 'profile.label': 'Profile';
32
+ readonly 'app-menu.label': 'App menu';
33
+ readonly 'main-menu.label': 'Main menu';
34
+ readonly 'companions-menu.label': 'Companions';
35
+ readonly 'error-fallback.message': 'An error occurred';
36
+ readonly 'drawer.label': 'Drawer';
37
+ readonly 'close-drawer.label': 'Close drawer';
38
+ readonly 'expand-drawer.label': 'Expand drawer';
39
+ readonly 'collapse-drawer.label': 'Collapse drawer';
40
+ readonly 'actions-menu.label': 'Actions';
41
+ readonly 'done.label': 'Done';
42
42
  };
43
43
  };
44
44
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"AppBar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SimpleLayout/AppBar.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,KAAK,gBAAgB,EAAoB,MAAM,qBAAqB,CAAC;AAM9E,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAyBpD,KAAK,iBAAiB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IACtD,OAAO,EAAE,gBAAgB,CAAC;CAC3B,CAAC;AAWF,QAAA,MAAM,IAAI;;iDATgD,iBAAiB;;;;;;;;;;;;;yBArCA,CAE3E,IAAG,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;CA2D8B,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAiCrB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAO1B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC"}
1
+ {"version":3,"file":"AppBar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SimpleLayout/AppBar.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,KAAK,gBAAgB,EAAoB,MAAM,qBAAqB,CAAC;AAO9E,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAyBpD,KAAK,iBAAiB,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,GAAG;IACtD,OAAO,EAAE,gBAAgB,CAAC;CAC3B,CAAC;AAWF,QAAA,MAAM,IAAI;;iDATgD,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBtC,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAiCrB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAO1B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAQvB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC"}