@dxos/plugin-template 0.8.4-main.1068cf700f → 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.
- package/dist/lib/browser/index.mjs +16 -54
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/translations.mjs +27 -0
- package/dist/lib/browser/translations.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +16 -3
- package/dist/lib/browser/types/index.mjs.map +4 -4
- 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 +8 -1
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts +5 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
- package/dist/types/src/components/TemplatePanel/TemplatePanel.d.ts +6 -0
- package/dist/types/src/components/TemplatePanel/TemplatePanel.d.ts.map +1 -0
- package/dist/types/src/components/TemplatePanel/index.d.ts +2 -0
- package/dist/types/src/components/TemplatePanel/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +1 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +2 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +22 -14
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/schema.d.ts +1 -1
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +36 -28
- package/src/TemplatePlugin.test.ts +26 -0
- package/src/TemplatePlugin.tsx +7 -18
- package/src/capabilities/create-object.ts +30 -0
- package/src/capabilities/index.ts +4 -1
- package/src/capabilities/react-surface.tsx +28 -0
- package/src/components/TemplatePanel/TemplatePanel.tsx +21 -0
- package/src/components/TemplatePanel/index.ts +5 -0
- package/src/components/index.ts +1 -1
- package/src/index.ts +6 -1
- package/src/meta.ts +1 -1
- package/src/translations.ts +12 -11
- package/src/types/schema.ts +6 -2
- package/dist/lib/browser/chunk-HRH4SQLU.mjs +0 -18
- package/dist/lib/browser/chunk-HRH4SQLU.mjs.map +0 -7
- package/dist/lib/browser/chunk-TRYLFURO.mjs +0 -18
- package/dist/lib/browser/chunk-TRYLFURO.mjs.map +0 -7
- package/dist/lib/browser/react-surface-MI664JPL.mjs +0 -40
- package/dist/lib/browser/react-surface-MI664JPL.mjs.map +0 -7
- package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +0 -5
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
- package/dist/types/src/components/TemplateContainer.d.ts +0 -6
- package/dist/types/src/components/TemplateContainer.d.ts.map +0 -1
- package/src/capabilities/react-surface/index.ts +0 -7
- package/src/capabilities/react-surface/react-surface.tsx +0 -30
- package/src/components/TemplateContainer.tsx +0 -21
|
@@ -1,60 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
meta
|
|
3
|
-
} from "./chunk-TRYLFURO.mjs";
|
|
4
|
-
import {
|
|
5
|
-
Template
|
|
6
|
-
} from "./chunk-HRH4SQLU.mjs";
|
|
7
|
-
|
|
8
|
-
// src/TemplatePlugin.tsx
|
|
9
|
-
import * as Effect from "effect/Effect";
|
|
1
|
+
// src/index.ts
|
|
10
2
|
import { Plugin } from "@dxos/app-framework";
|
|
11
|
-
import { AppPlugin } from "@dxos/app-toolkit";
|
|
12
3
|
|
|
13
|
-
// src/
|
|
14
|
-
import {
|
|
15
|
-
var
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"object name placeholder": "New template",
|
|
27
|
-
"rename object label": "Rename template",
|
|
28
|
-
"delete object label": "Delete template",
|
|
29
|
-
"object deleted label": "Template deleted"
|
|
30
|
-
},
|
|
31
|
-
[meta.id]: {
|
|
32
|
-
"plugin name": "Template"
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
];
|
|
4
|
+
// src/meta.ts
|
|
5
|
+
import { trim } from "@dxos/util";
|
|
6
|
+
var meta = {
|
|
7
|
+
id: "org.dxos.plugin.template",
|
|
8
|
+
name: "Template",
|
|
9
|
+
description: trim`
|
|
10
|
+
Create reusable templates for documents, tables, and other objects.
|
|
11
|
+
Define structured patterns that can be quickly instantiated with pre-configured content and settings.
|
|
12
|
+
`,
|
|
13
|
+
icon: "ph--asterisk--regular",
|
|
14
|
+
iconHue: "sky",
|
|
15
|
+
source: "https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-template"
|
|
16
|
+
};
|
|
37
17
|
|
|
38
|
-
// src/
|
|
39
|
-
var TemplatePlugin = Plugin.
|
|
40
|
-
metadata: {
|
|
41
|
-
id: Template.Data.typename,
|
|
42
|
-
metadata: {
|
|
43
|
-
icon: "ph--asterisk--regular",
|
|
44
|
-
iconHue: "sky",
|
|
45
|
-
createObject: (props) => Effect.sync(() => Template.make(props)),
|
|
46
|
-
addToCollectionOnCreate: true
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}), AppPlugin.addSchemaModule({
|
|
50
|
-
schema: [
|
|
51
|
-
Template.Data
|
|
52
|
-
]
|
|
53
|
-
}), AppPlugin.addSurfaceModule({
|
|
54
|
-
activate: ReactSurface
|
|
55
|
-
}), AppPlugin.addTranslationsModule({
|
|
56
|
-
translations
|
|
57
|
-
}), Plugin.make);
|
|
18
|
+
// src/index.ts
|
|
19
|
+
var TemplatePlugin = Plugin.lazy(meta, () => import("#plugin"));
|
|
58
20
|
export {
|
|
59
21
|
TemplatePlugin,
|
|
60
22
|
meta
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../../../src/
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": ["
|
|
3
|
+
"sources": ["../../../src/index.ts", "../../../src/meta.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport * from './meta';\n\nexport const TemplatePlugin = Plugin.lazy(meta, () => import('#plugin'));\n", "//\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": ";AAIA,SAASA,cAAc;;;ACCvB,SAASC,YAAY;AAEd,IAAMC,OAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaJ;;;;EAIbK,MAAM;EACNC,SAAS;EACTC,QAAQ;AACV;;;ADPO,IAAMC,iBAAiBC,OAAOC,KAAKC,MAAM,MAAM,OAAO,SAAA,CAAA;",
|
|
6
|
+
"names": ["Plugin", "trim", "meta", "id", "name", "description", "icon", "iconHue", "source", "TemplatePlugin", "Plugin", "lazy", "meta"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/meta.ts":{"bytes":
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":1749,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":945,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"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"},"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"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1253},"dist/lib/browser/index.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#plugin","kind":"dynamic-import","external":true}],"exports":["TemplatePlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":111},"src/meta.ts":{"bytesInOutput":444}},"bytes":676},"dist/lib/browser/translations.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1258},"dist/lib/browser/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/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1242},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["Template"],"entryPoint":"src/types/index.ts","inputs":{"src/types/schema.ts":{"bytesInOutput":478},"src/types/index.ts":{"bytesInOutput":0}},"bytes":559}}}
|
|
@@ -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,6 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
} from "
|
|
1
|
+
// src/types/schema.ts
|
|
2
|
+
import * as Schema from "effect/Schema";
|
|
3
|
+
import { Annotation, Obj, Type } from "@dxos/echo";
|
|
4
|
+
(function(Template2) {
|
|
5
|
+
Template2.Data = Schema.Struct({
|
|
6
|
+
name: Schema.optional(Schema.String)
|
|
7
|
+
}).pipe(Type.object({
|
|
8
|
+
typename: "org.dxos.type.data",
|
|
9
|
+
version: "0.1.0"
|
|
10
|
+
}), Annotation.IconAnnotation.set({
|
|
11
|
+
icon: "ph--asterisk--regular",
|
|
12
|
+
hue: "sky"
|
|
13
|
+
}));
|
|
14
|
+
Template2.make = (props) => Obj.make(Template2.Data, props);
|
|
15
|
+
})(Template || (Template = {}));
|
|
16
|
+
var Template;
|
|
4
17
|
export {
|
|
5
18
|
Template
|
|
6
19
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": [],
|
|
4
|
-
"sourcesContent": [],
|
|
5
|
-
"mappings": "",
|
|
6
|
-
"names": []
|
|
3
|
+
"sources": ["../../../../src/types/schema.ts"],
|
|
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,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
|
}
|
|
@@ -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/types';
|
|
4
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Readonly<{
|
|
5
|
+
id: string;
|
|
6
|
+
createObject: import("@dxos/plugin-space/types").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,0BAA0B,CAAC"}
|
|
@@ -1,2 +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/types").CreateObject;
|
|
5
|
+
inputSchema?: import("effect/Schema").Schema.AnyNoContext;
|
|
6
|
+
customPanel?: import("react").ComponentType<import("@dxos/plugin-space/types").SpaceCapabilities.CreateObjectCustomPanelProps>;
|
|
7
|
+
}>>>, Error>;
|
|
8
|
+
export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
|
|
2
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,
|
|
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"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=react-surface.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type AppSurface } from '@dxos/app-toolkit/ui';
|
|
3
|
+
import { Obj } from '@dxos/echo';
|
|
4
|
+
export type TemplatePanelProps = AppSurface.ObjectArticleProps<Obj.Unknown>;
|
|
5
|
+
export declare const TemplatePanel: ({ role, subject: object, attendableId: _attendableId }: TemplatePanelProps) => React.JSX.Element;
|
|
6
|
+
//# sourceMappingURL=TemplatePanel.d.ts.map
|
|
@@ -0,0 +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,2DAA4D,kBAAkB,sBAQvG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/TemplatePanel/index.ts"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './TemplatePanel';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,cAAc,QAAQ,CAAC;AAEvB,eAAO,MAAM,cAAc,4BAA6C,CAAC"}
|
|
@@ -1,19 +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
|
|
7
|
-
readonly 'typename
|
|
8
|
-
readonly 'typename
|
|
9
|
-
readonly 'typename
|
|
10
|
-
readonly 'object
|
|
11
|
-
readonly '
|
|
12
|
-
readonly '
|
|
13
|
-
readonly 'object
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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';
|
|
17
25
|
};
|
|
18
26
|
};
|
|
19
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"}
|
|
@@ -5,7 +5,7 @@ export declare namespace Template {
|
|
|
5
5
|
readonly name?: string | undefined;
|
|
6
6
|
}, Schema.Struct.Fields>;
|
|
7
7
|
type Data = Schema.Schema.Type<typeof Data>;
|
|
8
|
-
const make: (props: Partial<Data>) => Obj.
|
|
8
|
+
const make: (props: Partial<Data>) => Obj.OfShape<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
9
9
|
readonly name?: string | undefined;
|
|
10
10
|
}>;
|
|
11
11
|
}
|
|
@@ -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,
|
|
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"}
|