@dxos/plugin-stack 0.8.3 → 0.8.4-main.1c7ec43d41

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 (117) hide show
  1. package/dist/lib/browser/StackPlugin-XXRZ2OJA.mjs +22 -0
  2. package/dist/lib/browser/StackPlugin-XXRZ2OJA.mjs.map +7 -0
  3. package/dist/lib/browser/index.mjs +19 -92
  4. package/dist/lib/browser/index.mjs.map +4 -4
  5. package/dist/lib/browser/meta.json +1 -1
  6. package/dist/lib/browser/translations.mjs +37 -0
  7. package/dist/lib/browser/translations.mjs.map +7 -0
  8. package/dist/lib/browser/types/index.mjs +21 -4
  9. package/dist/lib/browser/types/index.mjs.map +4 -4
  10. package/dist/lib/node-esm/StackPlugin-YCPQMVBH.mjs +24 -0
  11. package/dist/lib/node-esm/StackPlugin-YCPQMVBH.mjs.map +7 -0
  12. package/dist/lib/node-esm/index.mjs +19 -91
  13. package/dist/lib/node-esm/index.mjs.map +4 -4
  14. package/dist/lib/node-esm/meta.json +1 -1
  15. package/dist/lib/node-esm/translations.mjs +39 -0
  16. package/dist/lib/node-esm/translations.mjs.map +7 -0
  17. package/dist/lib/node-esm/types/index.mjs +22 -4
  18. package/dist/lib/node-esm/types/index.mjs.map +4 -4
  19. package/dist/types/src/StackPlugin.d.ts +3 -1
  20. package/dist/types/src/StackPlugin.d.ts.map +1 -1
  21. package/dist/types/src/capabilities/index.d.ts +2 -1
  22. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  23. package/dist/types/src/capabilities/react-surface.d.ts +3 -2
  24. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  25. package/dist/types/src/components/{StackContext.d.ts → StackContext/StackContext.d.ts} +2 -1
  26. package/dist/types/src/components/StackContext/StackContext.d.ts.map +1 -0
  27. package/dist/types/src/components/StackContext/index.d.ts +2 -0
  28. package/dist/types/src/components/StackContext/index.d.ts.map +1 -0
  29. package/dist/types/src/components/{CaretDownUp.d.ts → StackSection/CaretDownUp.d.ts} +1 -1
  30. package/dist/types/src/components/StackSection/CaretDownUp.d.ts.map +1 -0
  31. package/dist/types/src/components/{StackSection.d.ts → StackSection/StackSection.d.ts} +1 -1
  32. package/dist/types/src/components/StackSection/StackSection.d.ts.map +1 -0
  33. package/dist/types/src/components/StackSection/index.d.ts +2 -0
  34. package/dist/types/src/components/StackSection/index.d.ts.map +1 -0
  35. package/dist/types/src/components/{StackSettings.d.ts → StackSettings/StackSettings.d.ts} +1 -1
  36. package/dist/types/src/components/StackSettings/StackSettings.d.ts.map +1 -0
  37. package/dist/types/src/components/StackSettings/index.d.ts +2 -0
  38. package/dist/types/src/components/StackSettings/index.d.ts.map +1 -0
  39. package/dist/types/src/components/index.d.ts +2 -4
  40. package/dist/types/src/components/index.d.ts.map +1 -1
  41. package/dist/types/src/containers/StackContainer/StackContainer.d.ts +7 -0
  42. package/dist/types/src/containers/StackContainer/StackContainer.d.ts.map +1 -0
  43. package/dist/types/src/containers/StackContainer/index.d.ts +2 -0
  44. package/dist/types/src/containers/StackContainer/index.d.ts.map +1 -0
  45. package/dist/types/src/containers/index.d.ts +3 -0
  46. package/dist/types/src/containers/index.d.ts.map +1 -0
  47. package/dist/types/src/index.d.ts +2 -1
  48. package/dist/types/src/index.d.ts.map +1 -1
  49. package/dist/types/src/meta.d.ts +3 -4
  50. package/dist/types/src/meta.d.ts.map +1 -1
  51. package/dist/types/src/translations.d.ts +36 -35
  52. package/dist/types/src/translations.d.ts.map +1 -1
  53. package/dist/types/src/types/index.d.ts +1 -1
  54. package/dist/types/src/types/index.d.ts.map +1 -1
  55. package/dist/types/src/types/stack.d.ts +13 -14
  56. package/dist/types/src/types/stack.d.ts.map +1 -1
  57. package/dist/types/src/types/types.d.ts +7 -5
  58. package/dist/types/src/types/types.d.ts.map +1 -1
  59. package/dist/types/tsconfig.tsbuildinfo +1 -1
  60. package/package.json +60 -46
  61. package/src/StackPlugin.ts +14 -46
  62. package/src/capabilities/index.ts +2 -2
  63. package/src/capabilities/react-surface.tsx +20 -26
  64. package/src/components/{StackContext.tsx → StackContext/StackContext.tsx} +3 -1
  65. package/src/components/StackContext/index.ts +5 -0
  66. package/src/components/{StackSection.tsx → StackSection/StackSection.tsx} +30 -26
  67. package/src/components/StackSection/index.ts +5 -0
  68. package/src/components/StackSettings/StackSettings.tsx +28 -0
  69. package/src/components/StackSettings/index.ts +5 -0
  70. package/src/components/index.ts +2 -4
  71. package/src/containers/StackContainer/StackContainer.tsx +170 -0
  72. package/src/containers/StackContainer/index.ts +5 -0
  73. package/src/containers/index.ts +7 -0
  74. package/src/index.ts +6 -1
  75. package/src/meta.ts +9 -6
  76. package/src/translations.ts +27 -24
  77. package/src/types/index.ts +1 -1
  78. package/src/types/stack.ts +12 -8
  79. package/src/types/types.ts +4 -5
  80. package/dist/lib/browser/StackMain-VQUBQKYP.mjs +0 -298
  81. package/dist/lib/browser/StackMain-VQUBQKYP.mjs.map +0 -7
  82. package/dist/lib/browser/chunk-KBJKTX5V.mjs +0 -28
  83. package/dist/lib/browser/chunk-KBJKTX5V.mjs.map +0 -7
  84. package/dist/lib/browser/chunk-XHZTILS3.mjs +0 -19
  85. package/dist/lib/browser/chunk-XHZTILS3.mjs.map +0 -7
  86. package/dist/lib/browser/react-surface-7NC5QPP4.mjs +0 -46
  87. package/dist/lib/browser/react-surface-7NC5QPP4.mjs.map +0 -7
  88. package/dist/lib/node/StackMain-33HO2PMZ.cjs +0 -314
  89. package/dist/lib/node/StackMain-33HO2PMZ.cjs.map +0 -7
  90. package/dist/lib/node/chunk-F7ZNJ53O.cjs +0 -43
  91. package/dist/lib/node/chunk-F7ZNJ53O.cjs.map +0 -7
  92. package/dist/lib/node/chunk-R6Q5AF3V.cjs +0 -51
  93. package/dist/lib/node/chunk-R6Q5AF3V.cjs.map +0 -7
  94. package/dist/lib/node/index.cjs +0 -123
  95. package/dist/lib/node/index.cjs.map +0 -7
  96. package/dist/lib/node/meta.json +0 -1
  97. package/dist/lib/node/react-surface-BUYFGQTR.cjs +0 -64
  98. package/dist/lib/node/react-surface-BUYFGQTR.cjs.map +0 -7
  99. package/dist/lib/node/types/index.cjs +0 -31
  100. package/dist/lib/node/types/index.cjs.map +0 -7
  101. package/dist/lib/node-esm/StackMain-7L5JME2D.mjs +0 -299
  102. package/dist/lib/node-esm/StackMain-7L5JME2D.mjs.map +0 -7
  103. package/dist/lib/node-esm/chunk-KEWNJDTP.mjs +0 -30
  104. package/dist/lib/node-esm/chunk-KEWNJDTP.mjs.map +0 -7
  105. package/dist/lib/node-esm/chunk-YW7WYA4H.mjs +0 -21
  106. package/dist/lib/node-esm/chunk-YW7WYA4H.mjs.map +0 -7
  107. package/dist/lib/node-esm/react-surface-2ODZHHA7.mjs +0 -47
  108. package/dist/lib/node-esm/react-surface-2ODZHHA7.mjs.map +0 -7
  109. package/dist/types/src/components/CaretDownUp.d.ts.map +0 -1
  110. package/dist/types/src/components/StackContext.d.ts.map +0 -1
  111. package/dist/types/src/components/StackMain.d.ts +0 -9
  112. package/dist/types/src/components/StackMain.d.ts.map +0 -1
  113. package/dist/types/src/components/StackSection.d.ts.map +0 -1
  114. package/dist/types/src/components/StackSettings.d.ts.map +0 -1
  115. package/src/components/StackMain.tsx +0 -160
  116. package/src/components/StackSettings.tsx +0 -23
  117. /package/src/components/{CaretDownUp.tsx → StackSection/CaretDownUp.tsx} +0 -0
@@ -1,51 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_R6Q5AF3V_exports = {};
20
- __export(chunk_R6Q5AF3V_exports, {
21
- SectionSchema: () => SectionSchema,
22
- StackViewType: () => StackViewType
23
- });
24
- module.exports = __toCommonJS(chunk_R6Q5AF3V_exports);
25
- var import_effect = require("effect");
26
- var import_echo_schema = require("@dxos/echo-schema");
27
- var SectionSchema = import_effect.Schema.Struct({
28
- height: import_effect.Schema.optional(import_effect.Schema.Number),
29
- // Space for data that isn't stack-specific but is specific to this view instance.
30
- // e.g. cover/fill for an image
31
- custom: import_effect.Schema.optional(import_effect.Schema.Record({
32
- key: import_effect.Schema.String,
33
- value: import_effect.Schema.Any
34
- }))
35
- });
36
- var StackViewType = class extends (0, import_echo_schema.TypedObject)({
37
- typename: "dxos.org/type/StackView",
38
- version: "0.1.0"
39
- })({
40
- sections: import_effect.Schema.mutable(import_effect.Schema.Record({
41
- key: import_effect.Schema.String,
42
- value: SectionSchema
43
- }))
44
- }) {
45
- };
46
- // Annotate the CommonJS export names for ESM import in node:
47
- 0 && (module.exports = {
48
- SectionSchema,
49
- StackViewType
50
- });
51
- //# sourceMappingURL=chunk-R6Q5AF3V.cjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/types/stack.ts"],
4
- "sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { Schema } from 'effect';\n\nimport { TypedObject } from '@dxos/echo-schema';\n\n// All section metadata needs to be optional/have defaults.\n// Any objects added to the collection will start with the section defaults.\n// If an object is removed from the collection without removing the section metadata this is fine.\n// Stack components should clean-up the superfluous data on future edits.\n\nexport const SectionSchema = Schema.Struct({\n height: Schema.optional(Schema.Number),\n // Space for data that isn't stack-specific but is specific to this view instance.\n // e.g. cover/fill for an image\n custom: Schema.optional(Schema.Record({ key: Schema.String, value: Schema.Any })),\n});\n\n// TODO(wittjosiah): This needs a relation to be connected to a stack.\nexport class StackViewType extends TypedObject({\n typename: 'dxos.org/type/StackView',\n version: '0.1.0',\n})({\n sections: Schema.mutable(Schema.Record({ key: Schema.String, value: SectionSchema })),\n}) {}\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAIA,oBAAuB;AAEvB,yBAA4B;AAOrB,IAAMA,gBAAgBC,qBAAOC,OAAO;EACzCC,QAAQF,qBAAOG,SAASH,qBAAOI,MAAM;;;EAGrCC,QAAQL,qBAAOG,SAASH,qBAAOM,OAAO;IAAEC,KAAKP,qBAAOQ;IAAQC,OAAOT,qBAAOU;EAAI,CAAA,CAAA;AAChF,CAAA;AAGO,IAAMC,gBAAN,kBAA4BC,gCAAY;EAC7CC,UAAU;EACVC,SAAS;AACX,CAAA,EAAG;EACDC,UAAUf,qBAAOgB,QAAQhB,qBAAOM,OAAO;IAAEC,KAAKP,qBAAOQ;IAAQC,OAAOV;EAAc,CAAA,CAAA;AACpF,CAAA,EAAA;AAAI;",
6
- "names": ["SectionSchema", "Schema", "Struct", "height", "optional", "Number", "custom", "Record", "key", "String", "value", "Any", "StackViewType", "TypedObject", "typename", "version", "sections", "mutable"]
7
- }
@@ -1,123 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var node_exports = {};
30
- __export(node_exports, {
31
- SECTION_IDENTIFIER: () => import_chunk_F7ZNJ53O.SECTION_IDENTIFIER,
32
- STACK_PLUGIN: () => import_chunk_F7ZNJ53O.STACK_PLUGIN,
33
- StackPlugin: () => StackPlugin,
34
- meta: () => import_chunk_F7ZNJ53O.meta
35
- });
36
- module.exports = __toCommonJS(node_exports);
37
- var import_chunk_R6Q5AF3V = require("./chunk-R6Q5AF3V.cjs");
38
- var import_chunk_F7ZNJ53O = require("./chunk-F7ZNJ53O.cjs");
39
- var import_app_framework = require("@dxos/app-framework");
40
- var import_plugin_client = require("@dxos/plugin-client");
41
- var import_app_framework2 = require("@dxos/app-framework");
42
- var import_react_ui_stack = require("@dxos/react-ui-stack");
43
- var ReactSurface = (0, import_app_framework2.lazy)(() => import("./react-surface-BUYFGQTR.cjs"));
44
- var translations_default = [
45
- {
46
- "en-US": {
47
- [import_chunk_F7ZNJ53O.STACK_PLUGIN]: {
48
- "plugin name": "Stacks",
49
- "settings separation label": "Separate sections",
50
- "add section beforeAll dialog title": "Add a section to the start",
51
- "add section afterAll dialog title": "Add a section to the end",
52
- "add section before dialog title": "Add a section",
53
- "add section after dialog title": "Add a section",
54
- "add section input placeholder": "Find the type of section to add",
55
- "upload file label": "Add file",
56
- "add section label": "Add section",
57
- "empty stack message": "Drag items into the stack.",
58
- "remove section label": "Delete",
59
- "navigate to section label": "Navigate to item",
60
- "untitled section title": "Untitled section",
61
- "add section before label": "Add before",
62
- "add section after label": "Add after",
63
- "expand label": "Expand",
64
- "collapse label": "Collapse",
65
- "open chat thread label": "Open chat thread",
66
- "drag handle label": "Press space or enter to begin dragging this item."
67
- }
68
- }
69
- },
70
- ...import_react_ui_stack.translations
71
- ];
72
- var StackPlugin = () => (0, import_app_framework.definePlugin)(import_chunk_F7ZNJ53O.meta, [
73
- (0, import_app_framework.defineModule)({
74
- id: `${import_chunk_F7ZNJ53O.meta.id}/module/translations`,
75
- activatesOn: import_app_framework.Events.SetupTranslations,
76
- activate: () => (0, import_app_framework.contributes)(import_app_framework.Capabilities.Translations, translations_default)
77
- }),
78
- (0, import_app_framework.defineModule)({
79
- id: `${import_chunk_F7ZNJ53O.meta.id}/module/metadata`,
80
- activatesOn: import_app_framework.Events.SetupMetadata,
81
- activate: () => [
82
- (0, import_app_framework.contributes)(import_app_framework.Capabilities.Metadata, {
83
- id: import_chunk_F7ZNJ53O.SECTION_IDENTIFIER,
84
- metadata: {
85
- parse: (section, type) => {
86
- switch (type) {
87
- case "node":
88
- return {
89
- id: section.object.id,
90
- label: section.object.title,
91
- data: section.object
92
- };
93
- case "object":
94
- return section.object;
95
- case "view-object":
96
- return section;
97
- }
98
- }
99
- }
100
- })
101
- ]
102
- }),
103
- (0, import_app_framework.defineModule)({
104
- id: `${import_chunk_F7ZNJ53O.meta.id}/module/schema`,
105
- activatesOn: import_plugin_client.ClientEvents.SetupSchema,
106
- activate: () => (0, import_app_framework.contributes)(import_plugin_client.ClientCapabilities.Schema, [
107
- import_chunk_R6Q5AF3V.StackViewType
108
- ])
109
- }),
110
- (0, import_app_framework.defineModule)({
111
- id: `${import_chunk_F7ZNJ53O.meta.id}/module/react-surface`,
112
- activatesOn: import_app_framework.Events.SetupReactSurface,
113
- activate: ReactSurface
114
- })
115
- ]);
116
- // Annotate the CommonJS export names for ESM import in node:
117
- 0 && (module.exports = {
118
- SECTION_IDENTIFIER,
119
- STACK_PLUGIN,
120
- StackPlugin,
121
- meta
122
- });
123
- //# sourceMappingURL=index.cjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/StackPlugin.ts", "../../../src/capabilities/index.ts", "../../../src/translations.ts"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Capabilities, contributes, defineModule, definePlugin, Events } from '@dxos/app-framework';\nimport { type Obj } from '@dxos/echo';\nimport { ClientCapabilities, ClientEvents } from '@dxos/plugin-client';\n\nimport { ReactSurface } from './capabilities';\nimport { meta, SECTION_IDENTIFIER } from './meta';\nimport translations from './translations';\nimport { StackViewType } from './types';\n\nexport const StackPlugin = () =>\n definePlugin(meta, [\n defineModule({\n id: `${meta.id}/module/translations`,\n activatesOn: Events.SetupTranslations,\n activate: () => contributes(Capabilities.Translations, translations),\n }),\n defineModule({\n id: `${meta.id}/module/metadata`,\n activatesOn: Events.SetupMetadata,\n activate: () => [\n contributes(Capabilities.Metadata, {\n id: SECTION_IDENTIFIER,\n metadata: {\n parse: (section: { object: Obj.Any }, type: string) => {\n switch (type) {\n case 'node':\n return { id: section.object.id, label: (section.object as any).title, data: section.object };\n case 'object':\n return section.object;\n case 'view-object':\n return section;\n }\n },\n },\n }),\n ],\n }),\n defineModule({\n id: `${meta.id}/module/schema`,\n activatesOn: ClientEvents.SetupSchema,\n activate: () => contributes(ClientCapabilities.Schema, [StackViewType]),\n }),\n defineModule({\n id: `${meta.id}/module/react-surface`,\n activatesOn: Events.SetupReactSurface,\n activate: ReactSurface,\n }),\n ]);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { lazy } from '@dxos/app-framework';\n\nexport const ReactSurface = lazy(() => import('./react-surface'));\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { translations as stackTranslations } from '@dxos/react-ui-stack';\n\nimport { STACK_PLUGIN } from './meta';\n\nexport default [\n {\n 'en-US': {\n [STACK_PLUGIN]: {\n 'plugin name': 'Stacks',\n 'settings separation label': 'Separate sections',\n 'add section beforeAll dialog title': 'Add a section to the start',\n 'add section afterAll dialog title': 'Add a section to the end',\n 'add section before dialog title': 'Add a section',\n 'add section after dialog title': 'Add a section',\n 'add section input placeholder': 'Find the type of section to add',\n 'upload file label': 'Add file',\n 'add section label': 'Add section',\n 'empty stack message': 'Drag items into the stack.',\n 'remove section label': 'Delete',\n 'navigate to section label': 'Navigate to item',\n 'untitled section title': 'Untitled section',\n 'add section before label': 'Add before',\n 'add section after label': 'Add after',\n 'expand label': 'Expand',\n 'collapse label': 'Collapse',\n 'open chat thread label': 'Open chat thread',\n 'drag handle label': 'Press space or enter to begin dragging this item.',\n },\n },\n },\n ...stackTranslations,\n];\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,2BAA8E;AAE9E,2BAAiD;ACFjD,IAAAA,wBAAqB;ACArB,4BAAkD;ADE3C,IAAMC,mBAAeC,4BAAK,MAAM,OAAO,8BAAA,CAAA;ACE9C,IAAA,uBAAe;EACb;IACE,SAAS;MACP,CAACC,kCAAAA,GAAe;QACd,eAAe;QACf,6BAA6B;QAC7B,sCAAsC;QACtC,qCAAqC;QACrC,mCAAmC;QACnC,kCAAkC;QAClC,iCAAiC;QACjC,qBAAqB;QACrB,qBAAqB;QACrB,uBAAuB;QACvB,wBAAwB;QACxB,6BAA6B;QAC7B,0BAA0B;QAC1B,4BAA4B;QAC5B,2BAA2B;QAC3B,gBAAgB;QAChB,kBAAkB;QAClB,0BAA0B;QAC1B,qBAAqB;MACvB;IACF;EACF;KACGC,sBAAAA;;AFrBE,IAAMC,cAAc,UACzBC,mCAAaC,4BAAM;MACjBC,mCAAa;IACXC,IAAI,GAAGF,2BAAKE,EAAE;IACdC,aAAaC,4BAAOC;IACpBC,UAAU,UAAMC,kCAAYC,kCAAaC,cAAcC,oBAAAA;EACzD,CAAA;MACAT,mCAAa;IACXC,IAAI,GAAGF,2BAAKE,EAAE;IACdC,aAAaC,4BAAOO;IACpBL,UAAU,MAAM;UACdC,kCAAYC,kCAAaI,UAAU;QACjCV,IAAIW;QACJC,UAAU;UACRC,OAAO,CAACC,SAA8BC,SAAAA;AACpC,oBAAQA,MAAAA;cACN,KAAK;AACH,uBAAO;kBAAEf,IAAIc,QAAQE,OAAOhB;kBAAIiB,OAAQH,QAAQE,OAAeE;kBAAOC,MAAML,QAAQE;gBAAO;cAC7F,KAAK;AACH,uBAAOF,QAAQE;cACjB,KAAK;AACH,uBAAOF;YACX;UACF;QACF;MACF,CAAA;;EAEJ,CAAA;MACAf,mCAAa;IACXC,IAAI,GAAGF,2BAAKE,EAAE;IACdC,aAAamB,kCAAaC;IAC1BjB,UAAU,UAAMC,kCAAYiB,wCAAmBC,QAAQ;MAACC;KAAc;EACxE,CAAA;MACAzB,mCAAa;IACXC,IAAI,GAAGF,2BAAKE,EAAE;IACdC,aAAaC,4BAAOuB;IACpBrB,UAAUZ;EACZ,CAAA;CACD;",
6
- "names": ["import_app_framework", "ReactSurface", "lazy", "STACK_PLUGIN", "stackTranslations", "StackPlugin", "definePlugin", "meta", "defineModule", "id", "activatesOn", "Events", "SetupTranslations", "activate", "contributes", "Capabilities", "Translations", "translations", "SetupMetadata", "Metadata", "SECTION_IDENTIFIER", "metadata", "parse", "section", "type", "object", "label", "title", "data", "ClientEvents", "SetupSchema", "ClientCapabilities", "Schema", "StackViewType", "SetupReactSurface"]
7
- }
@@ -1 +0,0 @@
1
- {"inputs":{"packages/plugins/plugin-stack/src/meta.ts":{"bytes":2218,"imports":[],"format":"esm"},"packages/plugins/plugin-stack/src/components/StackSettings.tsx":{"bytes":2968,"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":"packages/plugins/plugin-stack/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-stack/src/components/StackContext.tsx":{"bytes":1847,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-stack/src/components/CaretDownUp.tsx":{"bytes":3241,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-stack/src/components/StackSection.tsx":{"bytes":17898,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@radix-ui/react-collapsible","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-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":"packages/plugins/plugin-stack/src/components/CaretDownUp.tsx","kind":"import-statement","original":"./CaretDownUp"},{"path":"packages/plugins/plugin-stack/src/components/StackContext.tsx","kind":"import-statement","original":"./StackContext"},{"path":"packages/plugins/plugin-stack/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-stack/src/components/StackMain.tsx":{"bytes":19148,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-stack/src/components/StackContext.tsx","kind":"import-statement","original":"./StackContext"},{"path":"packages/plugins/plugin-stack/src/components/StackSection.tsx","kind":"import-statement","original":"./StackSection"},{"path":"packages/plugins/plugin-stack/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-stack/src/components/index.ts":{"bytes":837,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-stack/src/components/StackSettings.tsx","kind":"import-statement","original":"./StackSettings"},{"path":"packages/plugins/plugin-stack/src/components/StackMain.tsx","kind":"dynamic-import","original":"./StackMain"}],"format":"esm"},"packages/plugins/plugin-stack/src/capabilities/react-surface.tsx":{"bytes":4554,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-stack/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-stack/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-stack/src/capabilities/index.ts":{"bytes":791,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-stack/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"packages/plugins/plugin-stack/src/translations.ts":{"bytes":4167,"imports":[{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-stack/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-stack/src/types/stack.ts":{"bytes":3638,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-stack/src/types/types.ts":{"bytes":2007,"imports":[],"format":"esm"},"packages/plugins/plugin-stack/src/types/index.ts":{"bytes":549,"imports":[{"path":"packages/plugins/plugin-stack/src/types/stack.ts","kind":"import-statement","original":"./stack"},{"path":"packages/plugins/plugin-stack/src/types/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-stack/src/StackPlugin.ts":{"bytes":6790,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-stack/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-stack/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-stack/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-stack/src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-stack/src/index.ts":{"bytes":560,"imports":[{"path":"packages/plugins/plugin-stack/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-stack/src/StackPlugin.ts","kind":"import-statement","original":"./StackPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-stack/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5282},"packages/plugins/plugin-stack/dist/lib/node/index.cjs":{"imports":[{"path":"packages/plugins/plugin-stack/dist/lib/node/chunk-R6Q5AF3V.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-stack/dist/lib/node/chunk-F7ZNJ53O.cjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-stack/dist/lib/node/react-surface-BUYFGQTR.cjs","kind":"dynamic-import"},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["SECTION_IDENTIFIER","STACK_PLUGIN","StackPlugin","meta"],"entryPoint":"packages/plugins/plugin-stack/src/index.ts","inputs":{"packages/plugins/plugin-stack/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-stack/src/StackPlugin.ts":{"bytesInOutput":1402},"packages/plugins/plugin-stack/src/capabilities/index.ts":{"bytesInOutput":115},"packages/plugins/plugin-stack/src/translations.ts":{"bytesInOutput":1230}},"bytes":3215},"packages/plugins/plugin-stack/dist/lib/node/types/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-stack/dist/lib/node/types/index.cjs":{"imports":[{"path":"packages/plugins/plugin-stack/dist/lib/node/chunk-R6Q5AF3V.cjs","kind":"import-statement"}],"exports":["SectionSchema","StackViewType"],"entryPoint":"packages/plugins/plugin-stack/src/types/index.ts","inputs":{},"bytes":154},"packages/plugins/plugin-stack/dist/lib/node/chunk-R6Q5AF3V.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1752},"packages/plugins/plugin-stack/dist/lib/node/chunk-R6Q5AF3V.cjs":{"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"exports":["SectionSchema","StackViewType"],"inputs":{"packages/plugins/plugin-stack/src/types/stack.ts":{"bytesInOutput":595},"packages/plugins/plugin-stack/src/types/index.ts":{"bytesInOutput":0}},"bytes":737},"packages/plugins/plugin-stack/dist/lib/node/StackMain-33HO2PMZ.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":21556},"packages/plugins/plugin-stack/dist/lib/node/StackMain-33HO2PMZ.cjs":{"imports":[{"path":"packages/plugins/plugin-stack/dist/lib/node/chunk-F7ZNJ53O.cjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@radix-ui/react-collapsible","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-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}],"exports":["default"],"entryPoint":"packages/plugins/plugin-stack/src/components/StackMain.tsx","inputs":{"packages/plugins/plugin-stack/src/components/StackMain.tsx":{"bytesInOutput":4483},"packages/plugins/plugin-stack/src/components/StackContext.tsx":{"bytesInOutput":265},"packages/plugins/plugin-stack/src/components/StackSection.tsx":{"bytesInOutput":5411},"packages/plugins/plugin-stack/src/components/CaretDownUp.tsx":{"bytesInOutput":972}},"bytes":11666},"packages/plugins/plugin-stack/dist/lib/node/react-surface-BUYFGQTR.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3549},"packages/plugins/plugin-stack/dist/lib/node/react-surface-BUYFGQTR.cjs":{"imports":[{"path":"packages/plugins/plugin-stack/dist/lib/node/chunk-F7ZNJ53O.cjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","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},{"path":"packages/plugins/plugin-stack/dist/lib/node/StackMain-33HO2PMZ.cjs","kind":"dynamic-import"}],"exports":["default"],"entryPoint":"packages/plugins/plugin-stack/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-stack/src/capabilities/react-surface.tsx":{"bytesInOutput":861},"packages/plugins/plugin-stack/src/components/index.ts":{"bytesInOutput":94},"packages/plugins/plugin-stack/src/components/StackSettings.tsx":{"bytesInOutput":248}},"bytes":1678},"packages/plugins/plugin-stack/dist/lib/node/chunk-F7ZNJ53O.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1034},"packages/plugins/plugin-stack/dist/lib/node/chunk-F7ZNJ53O.cjs":{"imports":[],"exports":["SECTION_IDENTIFIER","STACK_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-stack/src/meta.ts":{"bytesInOutput":557}},"bytes":704}}}
@@ -1,64 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var react_surface_BUYFGQTR_exports = {};
30
- __export(react_surface_BUYFGQTR_exports, {
31
- default: () => react_surface_default
32
- });
33
- module.exports = __toCommonJS(react_surface_BUYFGQTR_exports);
34
- var import_chunk_F7ZNJ53O = require("./chunk-F7ZNJ53O.cjs");
35
- var import_react = __toESM(require("react"));
36
- var import_app_framework = require("@dxos/app-framework");
37
- var import_echo = require("@dxos/echo");
38
- var import_echo2 = require("@dxos/react-client/echo");
39
- var import_schema = require("@dxos/schema");
40
- var import_react2 = require("react");
41
- var import_tracking = require("@preact-signals/safe-react/tracking");
42
- var import_react3 = __toESM(require("react"));
43
- var import_react_ui = require("@dxos/react-ui");
44
- var import_react_ui_form = require("@dxos/react-ui-form");
45
- var StackMain = (0, import_react2.lazy)(() => import("./StackMain-33HO2PMZ.cjs"));
46
- var react_surface_default = () => (0, import_app_framework.contributes)(import_app_framework.Capabilities.ReactSurface, (0, import_app_framework.createSurface)({
47
- id: `${import_chunk_F7ZNJ53O.STACK_PLUGIN}/article`,
48
- role: "article",
49
- filter: (data) => import_echo.Obj.instanceOf(import_schema.DataType.Collection, data.subject),
50
- component: ({ data }) => {
51
- const id = typeof data.id === "string" ? data.id : void 0;
52
- return /* @__PURE__ */ import_react.default.createElement("div", {
53
- role: "none",
54
- className: "overflow-auto",
55
- style: {
56
- contain: "layout"
57
- }
58
- }, /* @__PURE__ */ import_react.default.createElement(StackMain, {
59
- id: id ?? (0, import_echo2.fullyQualifiedId)(data.subject),
60
- collection: data.subject
61
- }));
62
- }
63
- }));
64
- //# sourceMappingURL=react-surface-BUYFGQTR.cjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/capabilities/react-surface.tsx", "../../../src/components/index.ts", "../../../src/components/StackSettings.tsx"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Capabilities, contributes, createSurface } from '@dxos/app-framework';\nimport { Obj } from '@dxos/echo';\nimport { fullyQualifiedId } from '@dxos/react-client/echo';\nimport { DataType } from '@dxos/schema';\n\nimport { StackMain } from '../components';\nimport { STACK_PLUGIN } from '../meta';\n\nexport default () =>\n contributes(\n Capabilities.ReactSurface,\n createSurface({\n id: `${STACK_PLUGIN}/article`,\n role: 'article',\n filter: (data): data is { id?: string; subject: DataType.Collection } =>\n Obj.instanceOf(DataType.Collection, data.subject),\n component: ({ data }) => {\n // This allows the id to be overridden by the surface for situations where the id of the collection\n // is not the same as the id of what is being represented (e.g., a space with a root collection).\n const id = typeof data.id === 'string' ? data.id : undefined;\n return (\n <div role='none' className='overflow-auto' style={{ contain: 'layout' }}>\n <StackMain id={id ?? fullyQualifiedId(data.subject)} collection={data.subject} />\n </div>\n );\n },\n }),\n );\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { lazy } from 'react';\n\nexport const StackMain = lazy(() => import('./StackMain'));\n\nexport * from './StackSettings';\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Input, useTranslation } from '@dxos/react-ui';\nimport { DeprecatedFormContainer, DeprecatedFormInput } from '@dxos/react-ui-form';\n\nimport { STACK_PLUGIN } from '../meta';\nimport { type StackSettingsProps } from '../types';\n\nexport const StackSettings = ({ settings }: { settings: StackSettingsProps }) => {\n const { t } = useTranslation(STACK_PLUGIN);\n\n return (\n <DeprecatedFormContainer>\n <DeprecatedFormInput label={t('settings separation label')}>\n <Input.Switch checked={settings.separation} onCheckedChange={(checked) => (settings.separation = !!checked)} />\n </DeprecatedFormInput>\n </DeprecatedFormContainer>\n );\n};\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,mBAAkB;AAElB,2BAAyD;AACzD,kBAAoB;AACpB,IAAAA,eAAiC;AACjC,oBAAyB;ACLzB,IAAAC,gBAAqB;;ACArB,IAAAA,gBAAkB;AAElB,sBAAsC;AACtC,2BAA6D;ADDtD,IAAMC,gBAAYC,oBAAK,MAAM,OAAO,0BAAA,CAAA;ADQ3C,IAAA,wBAAe,UACbC,kCACEC,kCAAaC,kBACbC,oCAAc;EACZC,IAAI,GAAGC,kCAAAA;EACPC,MAAM;EACNC,QAAQ,CAACC,SACPC,gBAAIC,WAAWC,uBAASC,YAAYJ,KAAKK,OAAO;EAClDC,WAAW,CAAC,EAAEN,KAAI,MAAE;AAGlB,UAAMJ,KAAK,OAAOI,KAAKJ,OAAO,WAAWI,KAAKJ,KAAKW;AACnD,WACEC,6BAAAA,QAAA,cAACC,OAAAA;MAAIX,MAAK;MAAOY,WAAU;MAAgBC,OAAO;QAAEC,SAAS;MAAS;OACpEJ,6BAAAA,QAAA,cAAClB,WAAAA;MAAUM,IAAIA,UAAMiB,+BAAiBb,KAAKK,OAAO;MAAGS,YAAYd,KAAKK;;EAG5E;AACF,CAAA,CAAA;",
6
- "names": ["import_echo", "import_react", "StackMain", "lazy", "contributes", "Capabilities", "ReactSurface", "createSurface", "id", "STACK_PLUGIN", "role", "filter", "data", "Obj", "instanceOf", "DataType", "Collection", "subject", "component", "undefined", "React", "div", "className", "style", "contain", "fullyQualifiedId", "collection"]
7
- }
@@ -1,31 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var types_exports = {};
20
- __export(types_exports, {
21
- SectionSchema: () => import_chunk_R6Q5AF3V.SectionSchema,
22
- StackViewType: () => import_chunk_R6Q5AF3V.StackViewType
23
- });
24
- module.exports = __toCommonJS(types_exports);
25
- var import_chunk_R6Q5AF3V = require("../chunk-R6Q5AF3V.cjs");
26
- // Annotate the CommonJS export names for ESM import in node:
27
- 0 && (module.exports = {
28
- SectionSchema,
29
- StackViewType
30
- });
31
- //# sourceMappingURL=index.cjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["index.cjs"],
4
- "sourcesContent": ["import {\n SectionSchema,\n StackViewType\n} from \"../chunk-R6Q5AF3V.cjs\";\nexport {\n SectionSchema,\n StackViewType\n};\n//# sourceMappingURL=index.cjs.map\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAGO;",
6
- "names": []
7
- }