@dxos/plugin-template 0.8.2-main.fbd8ed0 → 0.8.2-staging.42af850
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/browser/{chunk-2HUYWR4F.mjs → chunk-3HYGWWDQ.mjs} +5 -5
- package/dist/lib/browser/{chunk-2HUYWR4F.mjs.map → chunk-3HYGWWDQ.mjs.map} +2 -2
- package/dist/lib/browser/index.mjs +3 -3
- package/dist/lib/browser/{intent-resolver-OHIRIASR.mjs → intent-resolver-LEEW7WF5.mjs} +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-DWZQKSMX.mjs → react-surface-QKHEP25U.mjs} +11 -5
- package/dist/lib/browser/{react-surface-DWZQKSMX.mjs.map → react-surface-QKHEP25U.mjs.map} +1 -1
- package/dist/lib/browser/types.mjs +1 -1
- package/package.json +17 -16
- package/src/meta.ts +1 -1
- /package/dist/lib/browser/{intent-resolver-OHIRIASR.mjs.map → intent-resolver-LEEW7WF5.mjs.map} +0 -0
|
@@ -9,11 +9,10 @@ var meta = {
|
|
|
9
9
|
id: TEMPLATE_PLUGIN,
|
|
10
10
|
name: "Template",
|
|
11
11
|
icon: "ph--asterisk--regular",
|
|
12
|
-
source: "https://github.com/dxos/dxos/tree/main/packages/plugins/
|
|
12
|
+
source: "https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-template"
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
// packages/plugins/plugin-template/src/types.ts
|
|
16
|
-
var TemplateAction;
|
|
17
16
|
(function(TemplateAction2) {
|
|
18
17
|
const TEMPLATE_ACTION = `${TEMPLATE_PLUGIN}/action`;
|
|
19
18
|
class Create extends Schema.TaggedClass()(`${TEMPLATE_ACTION}/create`, {
|
|
@@ -37,12 +36,13 @@ var TemplateType = class extends TypedObject({
|
|
|
37
36
|
name: Schema.optional(Schema.String)
|
|
38
37
|
}) {
|
|
39
38
|
};
|
|
39
|
+
var TemplateAction;
|
|
40
40
|
|
|
41
41
|
export {
|
|
42
42
|
TEMPLATE_PLUGIN,
|
|
43
43
|
meta,
|
|
44
|
-
TemplateAction,
|
|
45
44
|
isObject,
|
|
46
|
-
TemplateType
|
|
45
|
+
TemplateType,
|
|
46
|
+
TemplateAction
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=chunk-
|
|
48
|
+
//# sourceMappingURL=chunk-3HYGWWDQ.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/types.ts", "../../../src/meta.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Schema } from 'effect';\n\nimport { TypedObject } from '@dxos/echo-schema';\nimport { isEchoObject, ReactiveObjectSchema, type AnyLiveObject } from '@dxos/react-client/echo';\n\nimport { TEMPLATE_PLUGIN } from './meta';\n\nexport namespace TemplateAction {\n const TEMPLATE_ACTION = `${TEMPLATE_PLUGIN}/action`;\n\n export class Create extends Schema.TaggedClass<Create>()(`${TEMPLATE_ACTION}/create`, {\n input: Schema.Struct({\n name: Schema.optional(Schema.String),\n }),\n output: Schema.Struct({\n object: ReactiveObjectSchema,\n }),\n }) {}\n}\n\n// TODO(burdon): Warning: Encountered two children with the same key, `dxos.org/plugin/template`.\n// TODO(burdon): Better way to detect?\nexport const isObject = (object: unknown): object is AnyLiveObject<any> => {\n return isEchoObject(object) && object.type === 'template';\n};\n\nexport class TemplateType extends TypedObject({ typename: 'dxos.org/type/Template', version: '0.1.0' })({\n name: Schema.optional(Schema.String),\n}) {}\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type PluginMeta } from '@dxos/app-framework';\n\nexport const TEMPLATE_PLUGIN = 'dxos.org/plugin/template';\n\nexport const meta: PluginMeta = {\n id: TEMPLATE_PLUGIN,\n name: 'Template',\n icon: 'ph--asterisk--regular',\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/
|
|
5
|
-
"mappings": ";AAIA,SAASA,cAAc;AAEvB,SAASC,mBAAmB;AAC5B,SAASC,cAAcC,4BAAgD;;;ACDhE,IAAMC,kBAAkB;AAExB,IAAMC,OAAmB;EAC9BC,IAAIF;EACJG,MAAM;EACNC,MAAM;EACNC,QAAQ;AACV
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Schema } from 'effect';\n\nimport { TypedObject } from '@dxos/echo-schema';\nimport { isEchoObject, ReactiveObjectSchema, type AnyLiveObject } from '@dxos/react-client/echo';\n\nimport { TEMPLATE_PLUGIN } from './meta';\n\nexport namespace TemplateAction {\n const TEMPLATE_ACTION = `${TEMPLATE_PLUGIN}/action`;\n\n export class Create extends Schema.TaggedClass<Create>()(`${TEMPLATE_ACTION}/create`, {\n input: Schema.Struct({\n name: Schema.optional(Schema.String),\n }),\n output: Schema.Struct({\n object: ReactiveObjectSchema,\n }),\n }) {}\n}\n\n// TODO(burdon): Warning: Encountered two children with the same key, `dxos.org/plugin/template`.\n// TODO(burdon): Better way to detect?\nexport const isObject = (object: unknown): object is AnyLiveObject<any> => {\n return isEchoObject(object) && object.type === 'template';\n};\n\nexport class TemplateType extends TypedObject({ typename: 'dxos.org/type/Template', version: '0.1.0' })({\n name: Schema.optional(Schema.String),\n}) {}\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type PluginMeta } from '@dxos/app-framework';\n\nexport const TEMPLATE_PLUGIN = 'dxos.org/plugin/template';\n\nexport const meta: PluginMeta = {\n id: TEMPLATE_PLUGIN,\n name: 'Template',\n icon: 'ph--asterisk--regular',\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-template',\n};\n"],
|
|
5
|
+
"mappings": ";AAIA,SAASA,cAAc;AAEvB,SAASC,mBAAmB;AAC5B,SAASC,cAAcC,4BAAgD;;;ACDhE,IAAMC,kBAAkB;AAExB,IAAMC,OAAmB;EAC9BC,IAAIF;EACJG,MAAM;EACNC,MAAM;EACNC,QAAQ;AACV;;;UDFiBC,iBAAAA;AACf,QAAMC,kBAAkB,GAAGC,eAAAA;EAEpB,MAAMC,eAAeC,OAAOC,YAAW,EAAW,GAAGJ,eAAAA,WAA0B;IACpFK,OAAOF,OAAOG,OAAO;MACnBC,MAAMJ,OAAOK,SAASL,OAAOM,MAAM;IACrC,CAAA;IACAC,QAAQP,OAAOG,OAAO;MACpBK,QAAQC;IACV,CAAA;EACF,CAAA,EAAA;EAAI;kBAPSV,SAAAA;AAQf,GAXiBH,mBAAAA,iBAAAA,CAAAA,EAAAA;AAeV,IAAMc,WAAW,CAACF,WAAAA;AACvB,SAAOG,aAAaH,MAAAA,KAAWA,OAAOI,SAAS;AACjD;AAEO,IAAMC,eAAN,cAA2BC,YAAY;EAAEC,UAAU;EAA0BC,SAAS;AAAQ,CAAA,EAAG;EACtGZ,MAAMJ,OAAOK,SAASL,OAAOM,MAAM;AACrC,CAAA,EAAA;AAAI;;",
|
|
6
6
|
"names": ["Schema", "TypedObject", "isEchoObject", "ReactiveObjectSchema", "TEMPLATE_PLUGIN", "meta", "id", "name", "icon", "source", "TemplateAction", "TEMPLATE_ACTION", "TEMPLATE_PLUGIN", "Create", "Schema", "TaggedClass", "input", "Struct", "name", "optional", "String", "output", "object", "ReactiveObjectSchema", "isObject", "isEchoObject", "type", "TemplateType", "TypedObject", "typename", "version"]
|
|
7
7
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
TemplateAction,
|
|
4
4
|
TemplateType,
|
|
5
5
|
meta
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3HYGWWDQ.mjs";
|
|
7
7
|
|
|
8
8
|
// packages/plugins/plugin-template/src/TemplatePlugin.tsx
|
|
9
9
|
import { createIntent, Capabilities, contributes, Events, defineModule, definePlugin } from "@dxos/app-framework";
|
|
@@ -13,8 +13,8 @@ import { defineObjectForm } from "@dxos/plugin-space/types";
|
|
|
13
13
|
|
|
14
14
|
// packages/plugins/plugin-template/src/capabilities/index.ts
|
|
15
15
|
import { lazy } from "@dxos/app-framework";
|
|
16
|
-
var IntentResolver = lazy(() => import("./intent-resolver-
|
|
17
|
-
var ReactSurface = lazy(() => import("./react-surface-
|
|
16
|
+
var IntentResolver = lazy(() => import("./intent-resolver-LEEW7WF5.mjs"));
|
|
17
|
+
var ReactSurface = lazy(() => import("./react-surface-QKHEP25U.mjs"));
|
|
18
18
|
|
|
19
19
|
// packages/plugins/plugin-template/src/translations.ts
|
|
20
20
|
var translations_default = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TemplateAction,
|
|
3
3
|
TemplateType
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3HYGWWDQ.mjs";
|
|
5
5
|
|
|
6
6
|
// packages/plugins/plugin-template/src/capabilities/intent-resolver.ts
|
|
7
7
|
import { contributes, Capabilities, createResolver } from "@dxos/app-framework";
|
|
@@ -19,4 +19,4 @@ var intent_resolver_default = () => contributes(Capabilities.IntentResolver, cre
|
|
|
19
19
|
export {
|
|
20
20
|
intent_resolver_default as default
|
|
21
21
|
};
|
|
22
|
-
//# sourceMappingURL=intent-resolver-
|
|
22
|
+
//# sourceMappingURL=intent-resolver-LEEW7WF5.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-template/src/meta.ts":{"bytes":
|
|
1
|
+
{"inputs":{"packages/plugins/plugin-template/src/meta.ts":{"bytes":1283,"imports":[],"format":"esm"},"packages/plugins/plugin-template/src/types.ts":{"bytes":3984,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-template/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-template/src/capabilities/intent-resolver.ts":{"bytes":2138,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-template/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-template/src/components/TemplateContainer.tsx":{"bytes":2046,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-template/src/components/index.ts":{"bytes":508,"imports":[{"path":"packages/plugins/plugin-template/src/components/TemplateContainer.tsx","kind":"import-statement","original":"./TemplateContainer"}],"format":"esm"},"packages/plugins/plugin-template/src/capabilities/react-surface.tsx":{"bytes":2635,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-template/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-template/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-template/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-template/src/capabilities/index.ts":{"bytes":1051,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-template/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-template/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"packages/plugins/plugin-template/src/translations.ts":{"bytes":1774,"imports":[{"path":"packages/plugins/plugin-template/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-template/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-template/src/TemplatePlugin.tsx":{"bytes":7433,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-template/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-template/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-template/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-template/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-template/src/index.ts":{"bytes":570,"imports":[{"path":"packages/plugins/plugin-template/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-template/src/TemplatePlugin.tsx","kind":"import-statement","original":"./TemplatePlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-template/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4858},"packages/plugins/plugin-template/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-template/dist/lib/browser/chunk-3HYGWWDQ.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-template/dist/lib/browser/intent-resolver-LEEW7WF5.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-template/dist/lib/browser/react-surface-QKHEP25U.mjs","kind":"dynamic-import"}],"exports":["TEMPLATE_PLUGIN","TemplatePlugin","meta"],"entryPoint":"packages/plugins/plugin-template/src/index.ts","inputs":{"packages/plugins/plugin-template/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-template/src/TemplatePlugin.tsx":{"bytesInOutput":1561},"packages/plugins/plugin-template/src/capabilities/index.ts":{"bytesInOutput":190},"packages/plugins/plugin-template/src/translations.ts":{"bytesInOutput":301}},"bytes":2483},"packages/plugins/plugin-template/dist/lib/browser/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-template/dist/lib/browser/types.mjs":{"imports":[{"path":"packages/plugins/plugin-template/dist/lib/browser/chunk-3HYGWWDQ.mjs","kind":"import-statement"}],"exports":["TemplateAction","TemplateType","isObject"],"entryPoint":"packages/plugins/plugin-template/src/types.ts","inputs":{},"bytes":177},"packages/plugins/plugin-template/dist/lib/browser/intent-resolver-LEEW7WF5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1069},"packages/plugins/plugin-template/dist/lib/browser/intent-resolver-LEEW7WF5.mjs":{"imports":[{"path":"packages/plugins/plugin-template/dist/lib/browser/chunk-3HYGWWDQ.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-template/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-template/src/capabilities/intent-resolver.ts":{"bytesInOutput":369}},"bytes":618},"packages/plugins/plugin-template/dist/lib/browser/react-surface-QKHEP25U.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2262},"packages/plugins/plugin-template/dist/lib/browser/react-surface-QKHEP25U.mjs":{"imports":[{"path":"packages/plugins/plugin-template/dist/lib/browser/chunk-3HYGWWDQ.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-template/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-template/src/capabilities/react-surface.tsx":{"bytesInOutput":419},"packages/plugins/plugin-template/src/components/TemplateContainer.tsx":{"bytesInOutput":572},"packages/plugins/plugin-template/src/components/index.ts":{"bytesInOutput":0}},"bytes":1378},"packages/plugins/plugin-template/dist/lib/browser/chunk-3HYGWWDQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2605},"packages/plugins/plugin-template/dist/lib/browser/chunk-3HYGWWDQ.mjs":{"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["TEMPLATE_PLUGIN","TemplateAction","TemplateType","isObject","meta"],"inputs":{"packages/plugins/plugin-template/src/types.ts":{"bytesInOutput":827},"packages/plugins/plugin-template/src/meta.ts":{"bytesInOutput":226}},"bytes":1330}}}
|
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TEMPLATE_PLUGIN,
|
|
3
3
|
isObject
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3HYGWWDQ.mjs";
|
|
5
5
|
|
|
6
6
|
// packages/plugins/plugin-template/src/capabilities/react-surface.tsx
|
|
7
7
|
import React2 from "react";
|
|
8
8
|
import { Capabilities, contributes, createSurface } from "@dxos/app-framework";
|
|
9
9
|
|
|
10
10
|
// packages/plugins/plugin-template/src/components/TemplateContainer.tsx
|
|
11
|
+
import { useSignals as _useSignals } from "@preact-signals/safe-react/tracking";
|
|
11
12
|
import React from "react";
|
|
12
13
|
import { fullyQualifiedId } from "@dxos/react-client/echo";
|
|
13
14
|
import { StackItem } from "@dxos/react-ui-stack";
|
|
14
15
|
var TemplateContainer = ({ object }) => {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
var _effect = _useSignals();
|
|
17
|
+
try {
|
|
18
|
+
return /* @__PURE__ */ React.createElement(StackItem.Content, null, /* @__PURE__ */ React.createElement("pre", {
|
|
19
|
+
className: "m-4 p-2 ring"
|
|
20
|
+
}, /* @__PURE__ */ React.createElement("span", null, fullyQualifiedId(object))));
|
|
21
|
+
} finally {
|
|
22
|
+
_effect.f();
|
|
23
|
+
}
|
|
18
24
|
};
|
|
19
25
|
|
|
20
26
|
// packages/plugins/plugin-template/src/capabilities/react-surface.tsx
|
|
@@ -30,4 +36,4 @@ var react_surface_default = () => contributes(Capabilities.ReactSurface, createS
|
|
|
30
36
|
export {
|
|
31
37
|
react_surface_default as default
|
|
32
38
|
};
|
|
33
|
-
//# sourceMappingURL=react-surface-
|
|
39
|
+
//# sourceMappingURL=react-surface-QKHEP25U.mjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/capabilities/react-surface.tsx", "../../../src/components/TemplateContainer.tsx"],
|
|
4
4
|
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Capabilities, contributes, createSurface } from '@dxos/app-framework';\nimport { type AnyLiveObject } from '@dxos/react-client/echo';\n\nimport { TemplateContainer } from '../components';\nimport { TEMPLATE_PLUGIN } from '../meta';\nimport { isObject } from '../types';\n\nexport default () =>\n contributes(\n Capabilities.ReactSurface,\n createSurface({\n id: TEMPLATE_PLUGIN,\n role: 'article',\n filter: (data): data is { subject: AnyLiveObject<any> } => isObject(data.subject),\n component: ({ data, role }) => <TemplateContainer role={role} object={data.subject} />,\n }),\n );\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nimport { type AnyLiveObject, fullyQualifiedId } from '@dxos/react-client/echo';\nimport { StackItem } from '@dxos/react-ui-stack';\n\nexport const TemplateContainer = ({ object }: { object: AnyLiveObject<any>; role: string }) => {\n return (\n <StackItem.Content>\n <pre className='m-4 p-2 ring'>\n <span>{fullyQualifiedId(object)}</span>\n </pre>\n </StackItem.Content>\n );\n};\n"],
|
|
5
|
-
"mappings": ";;;;;;AAIA,OAAOA,YAAW;AAElB,SAASC,cAAcC,aAAaC,qBAAqB
|
|
5
|
+
"mappings": ";;;;;;AAIA,OAAOA,YAAW;AAElB,SAASC,cAAcC,aAAaC,qBAAqB;;;;ACFzD,OAAOC,WAAW;AAElB,SAA6BC,wBAAwB;AACrD,SAASC,iBAAiB;AAEnB,IAAMC,oBAAoB,CAAC,EAAEC,OAAM,MAAgD;;;AACxF,WACE,sBAAA,cAACC,UAAUC,SAAO,MAChB,sBAAA,cAACC,OAAAA;MAAIC,WAAU;OACb,sBAAA,cAACC,QAAAA,MAAMC,iBAAiBN,MAAAA,CAAAA,CAAAA,CAAAA;;;;AAIhC;;;ADJA,IAAA,wBAAe,MACbO,YACEC,aAAaC,cACbC,cAAc;EACZC,IAAIC;EACJC,MAAM;EACNC,QAAQ,CAACC,SAAkDC,SAASD,KAAKE,OAAO;EAChFC,WAAW,CAAC,EAAEH,MAAMF,KAAI,MAAO,gBAAAM,OAAA,cAACC,mBAAAA;IAAkBP;IAAYQ,QAAQN,KAAKE;;AAC7E,CAAA,CAAA;",
|
|
6
6
|
"names": ["React", "Capabilities", "contributes", "createSurface", "React", "fullyQualifiedId", "StackItem", "TemplateContainer", "object", "StackItem", "Content", "pre", "className", "span", "fullyQualifiedId", "contributes", "Capabilities", "ReactSurface", "createSurface", "id", "TEMPLATE_PLUGIN", "role", "filter", "data", "isObject", "subject", "component", "React", "TemplateContainer", "object"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-template",
|
|
3
|
-
"version": "0.8.2-
|
|
3
|
+
"version": "0.8.2-staging.42af850",
|
|
4
4
|
"description": "Template for new plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -31,17 +31,18 @@
|
|
|
31
31
|
"src"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@preact/
|
|
34
|
+
"@preact-signals/safe-react": "^0.9.0",
|
|
35
|
+
"@preact/signals-core": "^1.9.0",
|
|
35
36
|
"effect": "3.14.21",
|
|
36
|
-
"@dxos/app-framework": "0.8.2-
|
|
37
|
-
"@dxos/async": "0.8.2-
|
|
38
|
-
"@dxos/echo": "0.8.2-
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/plugin-graph": "0.8.2-
|
|
41
|
-
"@dxos/plugin-space": "0.8.2-
|
|
42
|
-
"@dxos/react-client": "0.8.2-
|
|
43
|
-
"@dxos/
|
|
44
|
-
"@dxos/
|
|
37
|
+
"@dxos/app-framework": "0.8.2-staging.42af850",
|
|
38
|
+
"@dxos/async": "0.8.2-staging.42af850",
|
|
39
|
+
"@dxos/echo-schema": "0.8.2-staging.42af850",
|
|
40
|
+
"@dxos/plugin-client": "0.8.2-staging.42af850",
|
|
41
|
+
"@dxos/plugin-graph": "0.8.2-staging.42af850",
|
|
42
|
+
"@dxos/plugin-space": "0.8.2-staging.42af850",
|
|
43
|
+
"@dxos/react-client": "0.8.2-staging.42af850",
|
|
44
|
+
"@dxos/echo": "0.8.2-staging.42af850",
|
|
45
|
+
"@dxos/react-ui-stack": "0.8.2-staging.42af850"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
48
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -50,17 +51,17 @@
|
|
|
50
51
|
"react": "~18.2.0",
|
|
51
52
|
"react-dom": "~18.2.0",
|
|
52
53
|
"vite": "5.4.7",
|
|
53
|
-
"@dxos/react-ui": "0.8.2-
|
|
54
|
-
"@dxos/
|
|
55
|
-
"@dxos/
|
|
54
|
+
"@dxos/react-ui": "0.8.2-staging.42af850",
|
|
55
|
+
"@dxos/storybook-utils": "0.8.2-staging.42af850",
|
|
56
|
+
"@dxos/react-ui-theme": "0.8.2-staging.42af850"
|
|
56
57
|
},
|
|
57
58
|
"peerDependencies": {
|
|
58
59
|
"@phosphor-icons/react": "^2.1.5",
|
|
59
60
|
"effect": "^3.13.3",
|
|
60
61
|
"react": "~18.2.0",
|
|
61
62
|
"react-dom": "~18.2.0",
|
|
62
|
-
"@dxos/react-ui": "0.8.2-
|
|
63
|
-
"@dxos/react-ui-theme": "0.8.2-
|
|
63
|
+
"@dxos/react-ui": "0.8.2-staging.42af850",
|
|
64
|
+
"@dxos/react-ui-theme": "0.8.2-staging.42af850"
|
|
64
65
|
},
|
|
65
66
|
"publishConfig": {
|
|
66
67
|
"access": "public"
|
package/src/meta.ts
CHANGED
|
@@ -10,5 +10,5 @@ export const meta: PluginMeta = {
|
|
|
10
10
|
id: TEMPLATE_PLUGIN,
|
|
11
11
|
name: 'Template',
|
|
12
12
|
icon: 'ph--asterisk--regular',
|
|
13
|
-
source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/
|
|
13
|
+
source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-template',
|
|
14
14
|
};
|
/package/dist/lib/browser/{intent-resolver-OHIRIASR.mjs.map → intent-resolver-LEEW7WF5.mjs.map}
RENAMED
|
File without changes
|