@dxos/plugin-template 0.8.4-main.422d1c7879 → 0.8.4-main.4f23b4e393
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/neutral/TemplatePlugin.mjs +24 -0
- package/dist/lib/neutral/TemplatePlugin.mjs.map +7 -0
- package/dist/lib/neutral/capabilities/index.mjs +9 -0
- package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
- package/dist/lib/{browser/types/index.mjs → neutral/chunk-3GJBJD5H.mjs} +2 -1
- package/dist/lib/{browser/types/index.mjs.map → neutral/chunk-3GJBJD5H.mjs.map} +3 -3
- package/dist/lib/neutral/chunk-PXZQRDPR.mjs +18 -0
- package/dist/lib/neutral/chunk-PXZQRDPR.mjs.map +7 -0
- package/dist/lib/neutral/components/index.mjs +14 -0
- package/dist/lib/neutral/components/index.mjs.map +7 -0
- package/dist/lib/neutral/create-object-YYTSDVP3.mjs +25 -0
- package/dist/lib/neutral/create-object-YYTSDVP3.mjs.map +7 -0
- package/dist/lib/neutral/index.mjs +11 -0
- package/dist/lib/neutral/index.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/neutral/meta.mjs +7 -0
- package/dist/lib/neutral/meta.mjs.map +7 -0
- package/dist/lib/neutral/plugin.mjs +11 -0
- package/dist/lib/neutral/plugin.mjs.map +7 -0
- package/dist/lib/neutral/react-surface-SYA2674P.mjs +21 -0
- package/dist/lib/neutral/react-surface-SYA2674P.mjs.map +7 -0
- package/dist/lib/neutral/translations.mjs +27 -0
- package/dist/lib/neutral/translations.mjs.map +7 -0
- package/dist/lib/neutral/types/index.mjs +7 -0
- package/dist/lib/neutral/types/index.mjs.map +7 -0
- package/dist/types/src/TemplatePlugin.d.ts +1 -0
- package/dist/types/src/TemplatePlugin.d.ts.map +1 -1
- package/dist/types/src/TemplatePlugin.test.d.ts +2 -0
- package/dist/types/src/TemplatePlugin.test.d.ts.map +1 -0
- package/dist/types/src/capabilities/create-object.d.ts +11 -0
- package/dist/types/src/capabilities/create-object.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +6 -0
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/TemplatePanel/TemplatePanel.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/plugin.d.ts +3 -0
- package/dist/types/src/plugin.d.ts.map +1 -0
- package/dist/types/src/translations.d.ts +22 -15
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +60 -28
- package/src/TemplatePlugin.test.ts +26 -0
- package/src/TemplatePlugin.tsx +5 -29
- package/src/capabilities/create-object.ts +30 -0
- package/src/capabilities/index.ts +1 -0
- package/src/index.ts +1 -1
- package/src/plugin.ts +9 -0
- package/dist/lib/browser/index.mjs +0 -82
- package/dist/lib/browser/index.mjs.map +0 -7
- package/dist/lib/browser/meta.json +0 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// src/TemplatePlugin.tsx
|
|
2
|
+
import { Plugin } from "@dxos/app-framework";
|
|
3
|
+
import { AppPlugin } from "@dxos/app-toolkit";
|
|
4
|
+
import { CreateObject, ReactSurface } from "#capabilities";
|
|
5
|
+
import { meta } from "#meta";
|
|
6
|
+
import { translations } from "#translations";
|
|
7
|
+
import { Template } from "#types";
|
|
8
|
+
var TemplatePlugin = Plugin.define(meta).pipe(AppPlugin.addCreateObjectModule({
|
|
9
|
+
activate: CreateObject
|
|
10
|
+
}), AppPlugin.addSchemaModule({
|
|
11
|
+
schema: [
|
|
12
|
+
Template.Data
|
|
13
|
+
]
|
|
14
|
+
}), AppPlugin.addSurfaceModule({
|
|
15
|
+
activate: ReactSurface
|
|
16
|
+
}), AppPlugin.addTranslationsModule({
|
|
17
|
+
translations
|
|
18
|
+
}), Plugin.make);
|
|
19
|
+
var TemplatePlugin_default = TemplatePlugin;
|
|
20
|
+
export {
|
|
21
|
+
TemplatePlugin,
|
|
22
|
+
TemplatePlugin_default as default
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=TemplatePlugin.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/TemplatePlugin.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\nimport { AppPlugin } from '@dxos/app-toolkit';\n\nimport { CreateObject, ReactSurface } from '#capabilities';\nimport { meta } from '#meta';\nimport { translations } from '#translations';\nimport { Template } from '#types';\n\nexport const TemplatePlugin = Plugin.define(meta).pipe(\n AppPlugin.addCreateObjectModule({ activate: CreateObject }),\n AppPlugin.addSchemaModule({ schema: [Template.Data] }),\n AppPlugin.addSurfaceModule({ activate: ReactSurface }),\n AppPlugin.addTranslationsModule({ translations }),\n Plugin.make,\n);\n\nexport default TemplatePlugin;\n"],
|
|
5
|
+
"mappings": ";AAIA,SAASA,cAAc;AACvB,SAASC,iBAAiB;AAE1B,SAASC,cAAcC,oBAAoB;AAC3C,SAASC,YAAY;AACrB,SAASC,oBAAoB;AAC7B,SAASC,gBAAgB;AAElB,IAAMC,iBAAiBP,OAAOQ,OAAOJ,IAAAA,EAAMK,KAChDR,UAAUS,sBAAsB;EAAEC,UAAUT;AAAa,CAAA,GACzDD,UAAUW,gBAAgB;EAAEC,QAAQ;IAACP,SAASQ;;AAAM,CAAA,GACpDb,UAAUc,iBAAiB;EAAEJ,UAAUR;AAAa,CAAA,GACpDF,UAAUe,sBAAsB;EAAEX;AAAa,CAAA,GAC/CL,OAAOiB,IAAI;AAGb,IAAA,yBAAeV;",
|
|
6
|
+
"names": ["Plugin", "AppPlugin", "CreateObject", "ReactSurface", "meta", "translations", "Template", "TemplatePlugin", "define", "pipe", "addCreateObjectModule", "activate", "addSchemaModule", "schema", "Data", "addSurfaceModule", "addTranslationsModule", "make"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// src/capabilities/index.ts
|
|
2
|
+
import { Capability } from "@dxos/app-framework";
|
|
3
|
+
var CreateObject = Capability.lazy("CreateObject", () => import("../create-object-YYTSDVP3.mjs"));
|
|
4
|
+
var ReactSurface = Capability.lazy("ReactSurface", () => import("../react-surface-SYA2674P.mjs"));
|
|
5
|
+
export {
|
|
6
|
+
CreateObject,
|
|
7
|
+
ReactSurface
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/capabilities/index.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capability } from '@dxos/app-framework';\n\nexport const CreateObject = Capability.lazy('CreateObject', () => import('./create-object'));\nexport const ReactSurface = Capability.lazy('ReactSurface', () => import('./react-surface'));\n"],
|
|
5
|
+
"mappings": ";AAIA,SAASA,kBAAkB;AAEpB,IAAMC,eAAeD,WAAWE,KAAK,gBAAgB,MAAM,OAAO,+BAAA,CAAA;AAClE,IAAMC,eAAeH,WAAWE,KAAK,gBAAgB,MAAM,OAAO,+BAAA,CAAA;",
|
|
6
|
+
"names": ["Capability", "CreateObject", "lazy", "ReactSurface"]
|
|
7
|
+
}
|
|
@@ -14,7 +14,8 @@ import { Annotation, Obj, Type } from "@dxos/echo";
|
|
|
14
14
|
Template2.make = (props) => Obj.make(Template2.Data, props);
|
|
15
15
|
})(Template || (Template = {}));
|
|
16
16
|
var Template;
|
|
17
|
+
|
|
17
18
|
export {
|
|
18
19
|
Template
|
|
19
20
|
};
|
|
20
|
-
//# sourceMappingURL=
|
|
21
|
+
//# sourceMappingURL=chunk-3GJBJD5H.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["
|
|
3
|
+
"sources": ["../../../src/types/schema.ts"],
|
|
4
4
|
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { Annotation, Obj, Type } from '@dxos/echo';\n\nexport namespace Template {\n export const Data = Schema.Struct({\n name: Schema.optional(Schema.String),\n }).pipe(\n Type.object({\n typename: 'org.dxos.type.data',\n version: '0.1.0',\n }),\n Annotation.IconAnnotation.set({\n icon: 'ph--asterisk--regular',\n hue: 'sky',\n }),\n );\n\n export type Data = Schema.Schema.Type<typeof Data>;\n\n export const make = (props: Partial<Data>) => Obj.make(Data, props);\n}\n"],
|
|
5
|
-
"mappings": ";AAIA,YAAYA,YAAY;AAExB,SAASC,YAAYC,KAAKC,YAAY;UAErBC,WAAAA;YACFC,OAAcC,cAAO;IAChCC,MAAaC,gBAAgBC,aAAM;EACrC,CAAA,EAAGC,
|
|
6
|
-
"names": ["Schema", "Annotation", "Obj", "Type", "Template", "Data", "Struct", "name", "optional", "String", "pipe", "
|
|
5
|
+
"mappings": ";AAIA,YAAYA,YAAY;AAExB,SAASC,YAAYC,KAAKC,YAAY;UAErBC,WAAAA;YACFC,OAAcC,cAAO;IAChCC,MAAaC,gBAAgBC,aAAM;EACrC,CAAA,EAAGC,KACDP,KAAKQ,OAAO;IACVC,UAAU;IACVC,SAAS;EACX,CAAA,GACAZ,WAAWa,eAAeC,IAAI;IAC5BC,MAAM;IACNC,KAAK;EACP,CAAA,CAAA;YAKWC,OAAO,CAACC,UAAyBjB,IAAIgB,KAAId,UAACC,MAAMc,KAAAA;AAC/D,GAjBiBf,aAAAA,WAAAA,CAAAA,EAAAA;;",
|
|
6
|
+
"names": ["Schema", "Annotation", "Obj", "Type", "Template", "Data", "Struct", "name", "optional", "String", "pipe", "object", "typename", "version", "IconAnnotation", "set", "icon", "hue", "make", "props"]
|
|
7
7
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// src/meta.ts
|
|
2
|
+
import { trim } from "@dxos/util";
|
|
3
|
+
var meta = {
|
|
4
|
+
id: "org.dxos.plugin.template",
|
|
5
|
+
name: "Template",
|
|
6
|
+
description: trim`
|
|
7
|
+
Create reusable templates for documents, tables, and other objects.
|
|
8
|
+
Define structured patterns that can be quickly instantiated with pre-configured content and settings.
|
|
9
|
+
`,
|
|
10
|
+
icon: "ph--asterisk--regular",
|
|
11
|
+
iconHue: "sky",
|
|
12
|
+
source: "https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-template"
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
meta
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=chunk-PXZQRDPR.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/meta.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'org.dxos.plugin.template',\n name: 'Template',\n description: trim`\n Create reusable templates for documents, tables, and other objects.\n Define structured patterns that can be quickly instantiated with pre-configured content and settings.\n `,\n icon: 'ph--asterisk--regular',\n iconHue: 'sky',\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-template',\n};\n"],
|
|
5
|
+
"mappings": ";AAKA,SAASA,YAAY;AAEd,IAAMC,OAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaJ;;;;EAIbK,MAAM;EACNC,SAAS;EACTC,QAAQ;AACV;",
|
|
6
|
+
"names": ["trim", "meta", "id", "name", "description", "icon", "iconHue", "source"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// src/components/TemplatePanel/TemplatePanel.tsx
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Obj } from "@dxos/echo";
|
|
4
|
+
import { Panel } from "@dxos/react-ui";
|
|
5
|
+
var TemplatePanel = ({ role, subject: object, attendableId: _attendableId }) => {
|
|
6
|
+
return /* @__PURE__ */ React.createElement(Panel.Root, {
|
|
7
|
+
role,
|
|
8
|
+
className: "dx-document"
|
|
9
|
+
}, /* @__PURE__ */ React.createElement(Panel.Content, null, /* @__PURE__ */ React.createElement("span", null, Obj.getDXN(object).toString())));
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
TemplatePanel
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/components/TemplatePanel/TemplatePanel.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nimport { type AppSurface } from '@dxos/app-toolkit/ui';\nimport { Obj } from '@dxos/echo';\nimport { Panel } from '@dxos/react-ui';\n\nexport type TemplatePanelProps = AppSurface.ObjectArticleProps<Obj.Unknown>;\n\nexport const TemplatePanel = ({ role, subject: object, attendableId: _attendableId }: TemplatePanelProps) => {\n return (\n <Panel.Root role={role} className='dx-document'>\n <Panel.Content>\n <span>{Obj.getDXN(object).toString()}</span>\n </Panel.Content>\n </Panel.Root>\n );\n};\n"],
|
|
5
|
+
"mappings": ";AAIA,OAAOA,WAAW;AAGlB,SAASC,WAAW;AACpB,SAASC,aAAa;AAIf,IAAMC,gBAAgB,CAAC,EAAEC,MAAMC,SAASC,QAAQC,cAAcC,cAAa,MAAsB;AACtG,SACE,sBAAA,cAACN,MAAMO,MAAI;IAACL;IAAYM,WAAU;KAChC,sBAAA,cAACR,MAAMS,SAAO,MACZ,sBAAA,cAACC,QAAAA,MAAMX,IAAIY,OAAOP,MAAAA,EAAQQ,SAAQ,CAAA,CAAA,CAAA;AAI1C;",
|
|
6
|
+
"names": ["React", "Obj", "Panel", "TemplatePanel", "role", "subject", "object", "attendableId", "_attendableId", "Root", "className", "Content", "span", "getDXN", "toString"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// src/capabilities/create-object.ts
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
|
+
import { Capability } from "@dxos/app-framework";
|
|
4
|
+
import { Operation } from "@dxos/compute";
|
|
5
|
+
import { SpaceOperation } from "@dxos/plugin-space";
|
|
6
|
+
import { SpaceCapabilities } from "@dxos/plugin-space";
|
|
7
|
+
import { Template } from "#types";
|
|
8
|
+
var create_object_default = Capability.makeModule(Effect.fnUntraced(function* () {
|
|
9
|
+
return Capability.contributes(SpaceCapabilities.CreateObjectEntry, {
|
|
10
|
+
id: Template.Data.typename,
|
|
11
|
+
createObject: (props, options) => Effect.gen(function* () {
|
|
12
|
+
const object = Template.make(props);
|
|
13
|
+
return yield* Operation.invoke(SpaceOperation.AddObject, {
|
|
14
|
+
object,
|
|
15
|
+
target: options.target,
|
|
16
|
+
hidden: true,
|
|
17
|
+
targetNodeId: options.targetNodeId
|
|
18
|
+
});
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
}));
|
|
22
|
+
export {
|
|
23
|
+
create_object_default as default
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=create-object-YYTSDVP3.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/create-object.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capability } from '@dxos/app-framework';\nimport { Operation } from '@dxos/compute';\nimport { SpaceOperation } from '@dxos/plugin-space';\nimport { SpaceCapabilities } from '@dxos/plugin-space';\n\nimport { Template } from '#types';\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n return Capability.contributes(SpaceCapabilities.CreateObjectEntry, {\n id: Template.Data.typename,\n createObject: (props, options) =>\n Effect.gen(function* () {\n const object = Template.make(props);\n return yield* Operation.invoke(SpaceOperation.AddObject, {\n object,\n target: options.target,\n hidden: true,\n targetNodeId: options.targetNodeId,\n });\n }),\n });\n }),\n);\n"],
|
|
5
|
+
"mappings": ";AAIA,YAAYA,YAAY;AAExB,SAASC,kBAAkB;AAC3B,SAASC,iBAAiB;AAC1B,SAASC,sBAAsB;AAC/B,SAASC,yBAAyB;AAElC,SAASC,gBAAgB;AAEzB,IAAA,wBAAeJ,WAAWK,WACjBC,kBAAW,aAAA;AAChB,SAAON,WAAWO,YAAYJ,kBAAkBK,mBAAmB;IACjEC,IAAIL,SAASM,KAAKC;IAClBC,cAAc,CAACC,OAAOC,YACbC,WAAI,aAAA;AACT,YAAMC,SAASZ,SAASa,KAAKJ,KAAAA;AAC7B,aAAO,OAAOZ,UAAUiB,OAAOhB,eAAeiB,WAAW;QACvDH;QACAI,QAAQN,QAAQM;QAChBC,QAAQ;QACRC,cAAcR,QAAQQ;MACxB,CAAA;IACF,CAAA;EACJ,CAAA;AACF,CAAA,CAAA;",
|
|
6
|
+
"names": ["Effect", "Capability", "Operation", "SpaceOperation", "SpaceCapabilities", "Template", "makeModule", "fnUntraced", "contributes", "CreateObjectEntry", "id", "Data", "typename", "createObject", "props", "options", "gen", "object", "make", "invoke", "AddObject", "target", "hidden", "targetNodeId"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":1749,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/types/schema.ts":{"bytes":2237,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"format":"esm"},"src/types/index.ts":{"bytes":370,"imports":[{"path":"src/types/schema.ts","kind":"import-statement","original":"./schema"}],"format":"esm"},"src/index.ts":{"bytes":449,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/TemplatePlugin.tsx":{"bytes":2666,"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/capabilities/create-object.ts":{"bytes":3362,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":3047,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"#components","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1130,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/create-object.ts","kind":"dynamic-import","original":"./create-object"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/components/TemplatePanel/TemplatePanel.tsx":{"bytes":2077,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/TemplatePanel/index.ts":{"bytes":389,"imports":[{"path":"src/components/TemplatePanel/TemplatePanel.tsx","kind":"import-statement","original":"./TemplatePanel"}],"format":"esm"},"src/components/index.ts":{"bytes":389,"imports":[{"path":"src/components/TemplatePanel/index.ts","kind":"import-statement","original":"./TemplatePanel"}],"format":"esm"},"src/plugin.ts":{"bytes":865,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"#plugin","kind":"dynamic-import","external":true}],"format":"esm"},"src/translations.ts":{"bytes":2590,"imports":[{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/lib/neutral/create-object-YYTSDVP3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1760},"dist/lib/neutral/create-object-YYTSDVP3.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/create-object.ts","inputs":{"src/capabilities/create-object.ts":{"bytesInOutput":777}},"bytes":913},"dist/lib/neutral/react-surface-SYA2674P.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1589},"dist/lib/neutral/react-surface-SYA2674P.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"#components","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":700}},"bytes":837},"dist/lib/neutral/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-PXZQRDPR.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-3GJBJD5H.mjs","kind":"import-statement"}],"exports":["Template","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":164},"dist/lib/neutral/TemplatePlugin.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1409},"dist/lib/neutral/TemplatePlugin.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":["TemplatePlugin","default"],"entryPoint":"src/TemplatePlugin.tsx","inputs":{"src/TemplatePlugin.tsx":{"bytesInOutput":609}},"bytes":745},"dist/lib/neutral/capabilities/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":600},"dist/lib/neutral/capabilities/index.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/neutral/create-object-YYTSDVP3.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/react-surface-SYA2674P.mjs","kind":"dynamic-import"}],"exports":["CreateObject","ReactSurface"],"entryPoint":"src/capabilities/index.ts","inputs":{"src/capabilities/index.ts":{"bytesInOutput":248}},"bytes":355},"dist/lib/neutral/components/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1184},"dist/lib/neutral/components/index.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["TemplatePanel"],"entryPoint":"src/components/index.ts","inputs":{"src/components/TemplatePanel/TemplatePanel.tsx":{"bytesInOutput":430},"src/components/TemplatePanel/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0}},"bytes":543},"dist/lib/neutral/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/meta.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-PXZQRDPR.mjs","kind":"import-statement"}],"exports":["meta"],"entryPoint":"src/meta.ts","inputs":{},"bytes":100},"dist/lib/neutral/plugin.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":445},"dist/lib/neutral/plugin.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-PXZQRDPR.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#plugin","kind":"dynamic-import","external":true}],"exports":["TemplatePlugin"],"entryPoint":"src/plugin.ts","inputs":{"src/plugin.ts":{"bytesInOutput":111}},"bytes":241},"dist/lib/neutral/chunk-PXZQRDPR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":870},"dist/lib/neutral/chunk-PXZQRDPR.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":444}},"bytes":523},"dist/lib/neutral/translations.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1258},"dist/lib/neutral/translations.mjs":{"imports":[{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["translations"],"entryPoint":"src/translations.ts","inputs":{"src/translations.ts":{"bytesInOutput":637}},"bytes":729},"dist/lib/neutral/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/types/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-3GJBJD5H.mjs","kind":"import-statement"}],"exports":["Template"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":110},"dist/lib/neutral/chunk-3GJBJD5H.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1239},"dist/lib/neutral/chunk-3GJBJD5H.mjs":{"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["Template"],"inputs":{"src/types/schema.ts":{"bytesInOutput":478},"src/types/index.ts":{"bytesInOutput":0}},"bytes":569}}}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/plugin.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport const TemplatePlugin = Plugin.lazy(meta, () => import('#plugin'));\n"],
|
|
5
|
+
"mappings": ";;;;;AAIA,SAASA,cAAc;AAIhB,IAAMC,iBAAiBC,OAAOC,KAAKC,MAAM,MAAM,OAAO,SAAA,CAAA;",
|
|
6
|
+
"names": ["Plugin", "TemplatePlugin", "Plugin", "lazy", "meta"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// src/capabilities/react-surface.tsx
|
|
2
|
+
import * as Effect from "effect/Effect";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { Capabilities, Capability } from "@dxos/app-framework";
|
|
5
|
+
import { Surface } from "@dxos/app-framework/ui";
|
|
6
|
+
import { AppSurface } from "@dxos/app-toolkit/ui";
|
|
7
|
+
import { TemplatePanel } from "#components";
|
|
8
|
+
import { Template } from "#types";
|
|
9
|
+
var react_surface_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Capabilities.ReactSurface, Surface.create({
|
|
10
|
+
id: "root",
|
|
11
|
+
filter: AppSurface.object(AppSurface.Article, Template.Data),
|
|
12
|
+
component: ({ data, role }) => /* @__PURE__ */ React.createElement(TemplatePanel, {
|
|
13
|
+
role,
|
|
14
|
+
subject: data.subject,
|
|
15
|
+
attendableId: data.attendableId
|
|
16
|
+
})
|
|
17
|
+
}))));
|
|
18
|
+
export {
|
|
19
|
+
react_surface_default as default
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=react-surface-SYA2674P.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/react-surface.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React from 'react';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Surface } from '@dxos/app-framework/ui';\nimport { AppSurface } from '@dxos/app-toolkit/ui';\n\nimport { TemplatePanel } from '#components';\nimport { Template } from '#types';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(\n Capabilities.ReactSurface,\n Surface.create({\n id: 'root',\n filter: AppSurface.object(AppSurface.Article, Template.Data),\n component: ({ data, role }) => (\n <TemplatePanel role={role} subject={data.subject} attendableId={data.attendableId} />\n ),\n }),\n ),\n ),\n);\n"],
|
|
5
|
+
"mappings": ";AAIA,YAAYA,YAAY;AACxB,OAAOC,WAAW;AAElB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,eAAe;AACxB,SAASC,kBAAkB;AAE3B,SAASC,qBAAqB;AAC9B,SAASC,gBAAgB;AAEzB,IAAA,wBAAeJ,WAAWK,WAAW,MAC5BC,eACLN,WAAWO,YACTR,aAAaS,cACbP,QAAQQ,OAAO;EACbC,IAAI;EACJC,QAAQT,WAAWU,OAAOV,WAAWW,SAAST,SAASU,IAAI;EAC3DC,WAAW,CAAC,EAAEC,MAAMC,KAAI,MACtB,sBAAA,cAACd,eAAAA;IAAcc;IAAYC,SAASF,KAAKE;IAASC,cAAcH,KAAKG;;AAEzE,CAAA,CAAA,CAAA,CAAA;",
|
|
6
|
+
"names": ["Effect", "React", "Capabilities", "Capability", "Surface", "AppSurface", "TemplatePanel", "Template", "makeModule", "succeed", "contributes", "ReactSurface", "create", "id", "filter", "object", "Article", "Data", "component", "data", "role", "subject", "attendableId"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// src/translations.ts
|
|
2
|
+
import { meta } from "#meta";
|
|
3
|
+
import { Template } from "#types";
|
|
4
|
+
var translations = [
|
|
5
|
+
{
|
|
6
|
+
"en-US": {
|
|
7
|
+
[Template.Data.typename]: {
|
|
8
|
+
"typename.label": "Template",
|
|
9
|
+
"typename.label_zero": "Templates",
|
|
10
|
+
"typename.label_one": "Template",
|
|
11
|
+
"typename.label_other": "Templates",
|
|
12
|
+
"object-name.placeholder": "New template",
|
|
13
|
+
"add-object.label": "Add template",
|
|
14
|
+
"rename-object.label": "Rename template",
|
|
15
|
+
"delete-object.label": "Delete template",
|
|
16
|
+
"object-deleted.label": "Template deleted"
|
|
17
|
+
},
|
|
18
|
+
[meta.id]: {
|
|
19
|
+
"plugin.name": "Template"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
];
|
|
24
|
+
export {
|
|
25
|
+
translations
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=translations.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/translations.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from '#meta';\nimport { Template } from '#types';\n\nexport const translations = [\n {\n 'en-US': {\n [Template.Data.typename]: {\n 'typename.label': 'Template',\n 'typename.label_zero': 'Templates',\n 'typename.label_one': 'Template',\n 'typename.label_other': 'Templates',\n 'object-name.placeholder': 'New template',\n 'add-object.label': 'Add template',\n 'rename-object.label': 'Rename template',\n 'delete-object.label': 'Delete template',\n 'object-deleted.label': 'Template deleted',\n },\n [meta.id]: {\n 'plugin.name': 'Template',\n },\n },\n },\n] as const satisfies Resource[];\n"],
|
|
5
|
+
"mappings": ";AAMA,SAASA,YAAY;AACrB,SAASC,gBAAgB;AAElB,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACD,SAASE,KAAKC,QAAQ,GAAG;QACxB,kBAAkB;QAClB,uBAAuB;QACvB,sBAAsB;QACtB,wBAAwB;QACxB,2BAA2B;QAC3B,oBAAoB;QACpB,uBAAuB;QACvB,uBAAuB;QACvB,wBAAwB;MAC1B;MACA,CAACJ,KAAKK,EAAE,GAAG;QACT,eAAe;MACjB;IACF;EACF;;",
|
|
6
|
+
"names": ["meta", "Template", "translations", "Data", "typename", "id"]
|
|
7
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TemplatePlugin.d.ts","sourceRoot":"","sources":["../../../src/TemplatePlugin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TemplatePlugin.d.ts","sourceRoot":"","sources":["../../../src/TemplatePlugin.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAQ7C,eAAO,MAAM,cAAc,4BAM1B,CAAC;eAEa,cAAc"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TemplatePlugin.test.d.ts","sourceRoot":"","sources":["../../../src/TemplatePlugin.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
import { SpaceCapabilities } from '@dxos/plugin-space';
|
|
4
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Readonly<{
|
|
5
|
+
id: string;
|
|
6
|
+
createObject: import("@dxos/plugin-space").CreateObject;
|
|
7
|
+
inputSchema?: import("effect/Schema").Schema.AnyNoContext;
|
|
8
|
+
customPanel?: import("react").ComponentType<SpaceCapabilities.CreateObjectCustomPanelProps>;
|
|
9
|
+
}>>>, never, never>;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=create-object.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-object.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/create-object.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import { Capability } from '@dxos/app-framework';
|
|
2
|
+
export declare const CreateObject: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<Readonly<{
|
|
3
|
+
id: string;
|
|
4
|
+
createObject: import("@dxos/plugin-space").CreateObject;
|
|
5
|
+
inputSchema?: import("effect/Schema").Schema.AnyNoContext;
|
|
6
|
+
customPanel?: import("react").ComponentType<import("@dxos/plugin-space").SpaceCapabilities.CreateObjectCustomPanelProps>;
|
|
7
|
+
}>>>, Error>;
|
|
2
8
|
export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
|
|
3
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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;AAEjD,eAAO,MAAM,YAAY,iJAAmE,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,YAAY;;;;;YAAmE,CAAC;AAC7F,eAAO,MAAM,YAAY,iJAAmE,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
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TemplatePanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/TemplatePanel/TemplatePanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAGjC,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAE5E,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"TemplatePanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/TemplatePanel/TemplatePanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAGjC,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,kBAAkB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAE5E,eAAO,MAAM,aAAa,2DAA4D,kBAAkB,sBAQvG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,eAAO,MAAM,cAAc,4BAA6C,CAAC"}
|
|
@@ -1,20 +1,27 @@
|
|
|
1
|
-
import { meta } from '#meta';
|
|
2
|
-
import { Template } from '#types';
|
|
3
1
|
export declare const translations: [{
|
|
4
2
|
readonly 'en-US': {
|
|
5
|
-
readonly [
|
|
6
|
-
readonly 'typename.label':
|
|
7
|
-
readonly 'typename.label_zero':
|
|
8
|
-
readonly 'typename.label_one':
|
|
9
|
-
readonly 'typename.label_other':
|
|
10
|
-
readonly 'object-name.placeholder':
|
|
11
|
-
readonly 'add-object.label':
|
|
12
|
-
readonly 'rename-object.label':
|
|
13
|
-
readonly 'delete-object.label':
|
|
14
|
-
readonly 'object-deleted.label':
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
readonly '
|
|
3
|
+
readonly [x: string]: {
|
|
4
|
+
readonly 'typename.label': 'Template';
|
|
5
|
+
readonly 'typename.label_zero': 'Templates';
|
|
6
|
+
readonly 'typename.label_one': 'Template';
|
|
7
|
+
readonly 'typename.label_other': 'Templates';
|
|
8
|
+
readonly 'object-name.placeholder': 'New template';
|
|
9
|
+
readonly 'add-object.label': 'Add template';
|
|
10
|
+
readonly 'rename-object.label': 'Rename template';
|
|
11
|
+
readonly 'delete-object.label': 'Delete template';
|
|
12
|
+
readonly 'object-deleted.label': 'Template deleted';
|
|
13
|
+
readonly 'plugin.name'?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
readonly 'typename.label'?: undefined;
|
|
16
|
+
readonly 'typename.label_zero'?: undefined;
|
|
17
|
+
readonly 'typename.label_one'?: undefined;
|
|
18
|
+
readonly 'typename.label_other'?: undefined;
|
|
19
|
+
readonly 'object-name.placeholder'?: undefined;
|
|
20
|
+
readonly 'add-object.label'?: undefined;
|
|
21
|
+
readonly 'rename-object.label'?: undefined;
|
|
22
|
+
readonly 'delete-object.label'?: undefined;
|
|
23
|
+
readonly 'object-deleted.label'?: undefined;
|
|
24
|
+
readonly 'plugin.name': 'Template';
|
|
18
25
|
};
|
|
19
26
|
};
|
|
20
27
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,YAAY;;;uCAIC,UAAU;4CACL,WAAW;2CACZ,UAAU;6CACR,WAAW;gDACR,cAAc;yCACrB,cAAc;4CACX,iBAAiB;4CACjB,iBAAiB;6CAChB,kBAAkB;;;;;;;;;;;;oCAG3B,UAAU;;;EAIF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAc,GAAG,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEnD,yBAAiB,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAc,GAAG,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEnD,yBAAiB,QAAQ,CAAC,CAAC;IAClB,MAAM,IAAI;;4BAWhB,CAAC;IAEF,KAAY,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC;IAE5C,MAAM,IAAI,UAAW,OAAO,CAAC,IAAI,CAAC;;MAA0B,CAAC;CACrE"}
|