@dxos/plugin-template 0.8.4-main.bc674ce → 0.8.4-main.c351d160a8
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-TRYLFURO.mjs → chunk-N5OOI66W.mjs} +2 -2
- package/dist/lib/browser/{chunk-TRYLFURO.mjs.map → chunk-N5OOI66W.mjs.map} +1 -1
- package/dist/lib/browser/{chunk-HRH4SQLU.mjs → chunk-XGREGZYY.mjs} +6 -3
- package/dist/lib/browser/chunk-XGREGZYY.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +16 -13
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react-surface-DDBCC4VS.mjs +39 -0
- package/dist/lib/browser/react-surface-DDBCC4VS.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +1 -1
- package/dist/types/src/TemplatePlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface/index.d.ts +1 -1
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +2 -2
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -1
- 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/translations.d.ts +1 -0
- 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 +21 -20
- package/src/TemplatePlugin.tsx +10 -8
- package/src/capabilities/react-surface/react-surface.tsx +6 -5
- 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/meta.ts +1 -1
- package/src/translations.ts +1 -0
- package/src/types/schema.ts +6 -2
- package/dist/lib/browser/chunk-HRH4SQLU.mjs.map +0 -7
- package/dist/lib/browser/react-surface-FXQGYDUN.mjs +0 -39
- package/dist/lib/browser/react-surface-FXQGYDUN.mjs.map +0 -7
- package/dist/types/src/components/TemplateContainer.d.ts +0 -6
- package/dist/types/src/components/TemplateContainer.d.ts.map +0 -1
- package/src/components/TemplateContainer.tsx +0 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-template",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.c351d160a8",
|
|
4
4
|
"description": "Template for new plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -38,35 +38,36 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@radix-ui/react-context": "1.1.1",
|
|
41
|
-
"effect": "3.19.
|
|
42
|
-
"@dxos/app-framework": "0.8.4-main.
|
|
43
|
-
"@dxos/
|
|
44
|
-
"@dxos/
|
|
45
|
-
"@dxos/
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/plugin-
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/react-ui-stack": "0.8.4-main.
|
|
52
|
-
"@dxos/
|
|
41
|
+
"effect": "3.19.16",
|
|
42
|
+
"@dxos/app-framework": "0.8.4-main.c351d160a8",
|
|
43
|
+
"@dxos/app-toolkit": "0.8.4-main.c351d160a8",
|
|
44
|
+
"@dxos/async": "0.8.4-main.c351d160a8",
|
|
45
|
+
"@dxos/echo": "0.8.4-main.c351d160a8",
|
|
46
|
+
"@dxos/operation": "0.8.4-main.c351d160a8",
|
|
47
|
+
"@dxos/plugin-graph": "0.8.4-main.c351d160a8",
|
|
48
|
+
"@dxos/plugin-client": "0.8.4-main.c351d160a8",
|
|
49
|
+
"@dxos/plugin-space": "0.8.4-main.c351d160a8",
|
|
50
|
+
"@dxos/react-client": "0.8.4-main.c351d160a8",
|
|
51
|
+
"@dxos/react-ui-stack": "0.8.4-main.c351d160a8",
|
|
52
|
+
"@dxos/util": "0.8.4-main.c351d160a8",
|
|
53
|
+
"@dxos/react-ui-mosaic": "0.8.4-main.c351d160a8"
|
|
53
54
|
},
|
|
54
55
|
"devDependencies": {
|
|
55
56
|
"@types/react": "~19.2.7",
|
|
56
57
|
"@types/react-dom": "~19.2.3",
|
|
57
58
|
"react": "~19.2.3",
|
|
58
59
|
"react-dom": "~19.2.3",
|
|
59
|
-
"vite": "7.1.
|
|
60
|
-
"@dxos/storybook-utils": "0.8.4-main.
|
|
61
|
-
"@dxos/ui-theme": "0.8.4-main.
|
|
62
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
60
|
+
"vite": "^7.1.11",
|
|
61
|
+
"@dxos/storybook-utils": "0.8.4-main.c351d160a8",
|
|
62
|
+
"@dxos/ui-theme": "0.8.4-main.c351d160a8",
|
|
63
|
+
"@dxos/react-ui": "0.8.4-main.c351d160a8"
|
|
63
64
|
},
|
|
64
65
|
"peerDependencies": {
|
|
65
|
-
"effect": "3.19.
|
|
66
|
+
"effect": "3.19.16",
|
|
66
67
|
"react": "~19.2.3",
|
|
67
68
|
"react-dom": "~19.2.3",
|
|
68
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
69
|
-
"@dxos/ui-theme": "0.8.4-main.
|
|
69
|
+
"@dxos/react-ui": "0.8.4-main.c351d160a8",
|
|
70
|
+
"@dxos/ui-theme": "0.8.4-main.c351d160a8"
|
|
70
71
|
},
|
|
71
72
|
"publishConfig": {
|
|
72
73
|
"access": "public"
|
package/src/TemplatePlugin.tsx
CHANGED
|
@@ -3,8 +3,11 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
import * as Effect from 'effect/Effect';
|
|
6
|
+
import * as Option from 'effect/Option';
|
|
6
7
|
|
|
7
|
-
import {
|
|
8
|
+
import { Plugin } from '@dxos/app-framework';
|
|
9
|
+
import { AppPlugin } from '@dxos/app-toolkit';
|
|
10
|
+
import { Annotation } from '@dxos/echo';
|
|
8
11
|
import { type CreateObject } from '@dxos/plugin-space/types';
|
|
9
12
|
|
|
10
13
|
import { ReactSurface } from './capabilities';
|
|
@@ -13,19 +16,18 @@ import { translations } from './translations';
|
|
|
13
16
|
import { Template } from './types';
|
|
14
17
|
|
|
15
18
|
export const TemplatePlugin = Plugin.define(meta).pipe(
|
|
16
|
-
|
|
17
|
-
Common.Plugin.addMetadataModule({
|
|
19
|
+
AppPlugin.addMetadataModule({
|
|
18
20
|
metadata: {
|
|
19
21
|
id: Template.Data.typename,
|
|
20
22
|
metadata: {
|
|
21
|
-
icon:
|
|
22
|
-
iconHue: '
|
|
23
|
+
icon: Annotation.IconAnnotation.get(Template.Data).pipe(Option.getOrThrow).icon,
|
|
24
|
+
iconHue: Annotation.IconAnnotation.get(Template.Data).pipe(Option.getOrThrow).hue ?? 'white',
|
|
23
25
|
createObject: ((props) => Effect.sync(() => Template.make(props))) satisfies CreateObject,
|
|
24
|
-
addToCollectionOnCreate: true,
|
|
25
26
|
},
|
|
26
27
|
},
|
|
27
28
|
}),
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
AppPlugin.addSchemaModule({ schema: [Template.Data] }),
|
|
30
|
+
AppPlugin.addSurfaceModule({ activate: ReactSurface }),
|
|
31
|
+
AppPlugin.addTranslationsModule({ translations }),
|
|
30
32
|
Plugin.make,
|
|
31
33
|
);
|
|
@@ -5,23 +5,24 @@
|
|
|
5
5
|
import * as Effect from 'effect/Effect';
|
|
6
6
|
import React from 'react';
|
|
7
7
|
|
|
8
|
-
import {
|
|
8
|
+
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
9
|
+
import { Surface } from '@dxos/app-framework/ui';
|
|
9
10
|
import { Obj } from '@dxos/echo';
|
|
10
11
|
|
|
11
|
-
import {
|
|
12
|
+
import { TemplatePanel } from '../../components';
|
|
12
13
|
import { meta } from '../../meta';
|
|
13
14
|
import { Template } from '../../types';
|
|
14
15
|
|
|
15
16
|
export default Capability.makeModule(() =>
|
|
16
17
|
Effect.succeed(
|
|
17
18
|
Capability.contributes(
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
Capabilities.ReactSurface,
|
|
20
|
+
Surface.create({
|
|
20
21
|
id: meta.id,
|
|
21
22
|
role: 'article',
|
|
22
23
|
filter: (data): data is { subject: Obj.Unknown } => Obj.instanceOf(Template.Data, data.subject),
|
|
23
24
|
component: ({ data, role }: { data: { subject: Obj.Unknown }; role: string }) => (
|
|
24
|
-
<
|
|
25
|
+
<TemplatePanel role={role} subject={data.subject} />
|
|
25
26
|
),
|
|
26
27
|
}),
|
|
27
28
|
),
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2023 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import React from 'react';
|
|
6
|
+
|
|
7
|
+
import { type SurfaceComponentProps } from '@dxos/app-toolkit/ui';
|
|
8
|
+
import { Obj } from '@dxos/echo';
|
|
9
|
+
import { Panel } from '@dxos/react-ui';
|
|
10
|
+
|
|
11
|
+
export type TemplatePanelProps = SurfaceComponentProps<Obj.Unknown>;
|
|
12
|
+
|
|
13
|
+
export const TemplatePanel = ({ role, subject: object }: TemplatePanelProps) => {
|
|
14
|
+
return (
|
|
15
|
+
<Panel.Root role={role} className='dx-document'>
|
|
16
|
+
<Panel.Content>
|
|
17
|
+
<span>{Obj.getDXN(object).toString()}</span>
|
|
18
|
+
</Panel.Content>
|
|
19
|
+
</Panel.Root>
|
|
20
|
+
);
|
|
21
|
+
};
|
package/src/components/index.ts
CHANGED
package/src/meta.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { type Plugin } from '@dxos/app-framework';
|
|
|
6
6
|
import { trim } from '@dxos/util';
|
|
7
7
|
|
|
8
8
|
export const meta: Plugin.Meta = {
|
|
9
|
-
id: 'dxos.
|
|
9
|
+
id: 'org.dxos.plugin.template',
|
|
10
10
|
name: 'Template',
|
|
11
11
|
description: trim`
|
|
12
12
|
Create reusable templates for documents, tables, and other objects.
|
package/src/translations.ts
CHANGED
|
@@ -16,6 +16,7 @@ export const translations = [
|
|
|
16
16
|
'typename label_one': 'Template',
|
|
17
17
|
'typename label_other': 'Templates',
|
|
18
18
|
'object name placeholder': 'New template',
|
|
19
|
+
'add object label': 'Add template',
|
|
19
20
|
'rename object label': 'Rename template',
|
|
20
21
|
'delete object label': 'Delete template',
|
|
21
22
|
'object deleted label': 'Template deleted',
|
package/src/types/schema.ts
CHANGED
|
@@ -4,16 +4,20 @@
|
|
|
4
4
|
|
|
5
5
|
import * as Schema from 'effect/Schema';
|
|
6
6
|
|
|
7
|
-
import { Obj, Type } from '@dxos/echo';
|
|
7
|
+
import { Annotation, Obj, Type } from '@dxos/echo';
|
|
8
8
|
|
|
9
9
|
export namespace Template {
|
|
10
10
|
export const Data = Schema.Struct({
|
|
11
11
|
name: Schema.optional(Schema.String),
|
|
12
12
|
}).pipe(
|
|
13
13
|
Type.object({
|
|
14
|
-
typename: 'dxos.
|
|
14
|
+
typename: 'org.dxos.type.data',
|
|
15
15
|
version: '0.1.0',
|
|
16
16
|
}),
|
|
17
|
+
Annotation.IconAnnotation.set({
|
|
18
|
+
icon: 'ph--asterisk--regular',
|
|
19
|
+
hue: 'sky',
|
|
20
|
+
}),
|
|
17
21
|
);
|
|
18
22
|
|
|
19
23
|
export type Data = Schema.Schema.Type<typeof Data>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/types/schema.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { 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: 'dxos.org/type/Data',\n version: '0.1.0',\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,KAAKC,YAAY;UAETC,WAAAA;YACFC,OAAcC,cAAO;IAChCC,MAAaC,gBAAgBC,aAAM;EACrC,CAAA,EAAGC,KACDC,KAAKC,OAAO;IACVC,UAAU;IACVC,SAAS;EACX,CAAA,CAAA;YAKWC,OAAO,CAACC,UAAyBC,IAAIF,KAAIX,UAACC,MAAMW,KAAAA;AAC/D,GAbiBZ,aAAAA,WAAAA,CAAAA,EAAAA;;",
|
|
6
|
-
"names": ["Schema", "Obj", "Type", "Template", "Data", "Struct", "name", "optional", "String", "pipe", "Type", "object", "typename", "version", "make", "props", "Obj"]
|
|
7
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
meta
|
|
3
|
-
} from "./chunk-TRYLFURO.mjs";
|
|
4
|
-
import {
|
|
5
|
-
Template
|
|
6
|
-
} from "./chunk-HRH4SQLU.mjs";
|
|
7
|
-
|
|
8
|
-
// src/capabilities/react-surface/react-surface.tsx
|
|
9
|
-
import * as Effect from "effect/Effect";
|
|
10
|
-
import React2 from "react";
|
|
11
|
-
import { Capability, Common } from "@dxos/app-framework";
|
|
12
|
-
import { Obj as Obj2 } from "@dxos/echo";
|
|
13
|
-
|
|
14
|
-
// src/components/TemplateContainer.tsx
|
|
15
|
-
import React from "react";
|
|
16
|
-
import { Obj } from "@dxos/echo";
|
|
17
|
-
import { Layout } from "@dxos/react-ui-mosaic";
|
|
18
|
-
var TemplateContainer = ({ role, subject: object }) => {
|
|
19
|
-
return /* @__PURE__ */ React.createElement(Layout.Main, {
|
|
20
|
-
role
|
|
21
|
-
}, /* @__PURE__ */ React.createElement("pre", {
|
|
22
|
-
className: "m-4 p-2 ring"
|
|
23
|
-
}, /* @__PURE__ */ React.createElement("span", null, Obj.getDXN(object).toString())));
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
// src/capabilities/react-surface/react-surface.tsx
|
|
27
|
-
var react_surface_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Common.Capability.ReactSurface, Common.createSurface({
|
|
28
|
-
id: meta.id,
|
|
29
|
-
role: "article",
|
|
30
|
-
filter: (data) => Obj2.instanceOf(Template.Data, data.subject),
|
|
31
|
-
component: ({ data, role }) => /* @__PURE__ */ React2.createElement(TemplateContainer, {
|
|
32
|
-
role,
|
|
33
|
-
subject: data.subject
|
|
34
|
-
})
|
|
35
|
-
}))));
|
|
36
|
-
export {
|
|
37
|
-
react_surface_default as default
|
|
38
|
-
};
|
|
39
|
-
//# sourceMappingURL=react-surface-FXQGYDUN.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/react-surface/react-surface.tsx", "../../../src/components/TemplateContainer.tsx"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React from 'react';\n\nimport { Capability, Common } from '@dxos/app-framework';\nimport { Obj } from '@dxos/echo';\n\nimport { TemplateContainer } from '../../components';\nimport { meta } from '../../meta';\nimport { Template } from '../../types';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(\n Common.Capability.ReactSurface,\n Common.createSurface({\n id: meta.id,\n role: 'article',\n filter: (data): data is { subject: Obj.Unknown } => Obj.instanceOf(Template.Data, data.subject),\n component: ({ data, role }: { data: { subject: Obj.Unknown }; role: string }) => (\n <TemplateContainer role={role} subject={data.subject} />\n ),\n }),\n ),\n ),\n);\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nimport { type SurfaceComponentProps } from '@dxos/app-framework/react';\nimport { Obj } from '@dxos/echo';\nimport { Layout } from '@dxos/react-ui-mosaic';\n\nexport type TemplateContainerProps = SurfaceComponentProps<Obj.Unknown>;\n\nexport const TemplateContainer = ({ role, subject: object }: TemplateContainerProps) => {\n return (\n <Layout.Main role={role}>\n <pre className='m-4 p-2 ring'>\n <span>{Obj.getDXN(object).toString()}</span>\n </pre>\n </Layout.Main>\n );\n};\n"],
|
|
5
|
-
"mappings": ";;;;;;;;AAIA,YAAYA,YAAY;AACxB,OAAOC,YAAW;AAElB,SAASC,YAAYC,cAAc;AACnC,SAASC,OAAAA,YAAW;;;ACJpB,OAAOC,WAAW;AAGlB,SAASC,WAAW;AACpB,SAASC,cAAc;AAIhB,IAAMC,oBAAoB,CAAC,EAAEC,MAAMC,SAASC,OAAM,MAA0B;AACjF,SACE,sBAAA,cAACC,OAAOC,MAAI;IAACJ;KACX,sBAAA,cAACK,OAAAA;IAAIC,WAAU;KACb,sBAAA,cAACC,QAAAA,MAAMC,IAAIC,OAAOP,MAAAA,EAAQQ,SAAQ,CAAA,CAAA,CAAA;AAI1C;;;ADNA,IAAA,wBAAeC,WAAWC,WAAW,MAC5BC,eACLF,WAAWG,YACTC,OAAOJ,WAAWK,cAClBD,OAAOE,cAAc;EACnBC,IAAIC,KAAKD;EACTE,MAAM;EACNC,QAAQ,CAACC,SAA2CC,KAAIC,WAAWC,SAASC,MAAMJ,KAAKK,OAAO;EAC9FC,WAAW,CAAC,EAAEN,MAAMF,KAAI,MACtB,gBAAAS,OAAA,cAACC,mBAAAA;IAAkBV;IAAYO,SAASL,KAAKK;;AAEjD,CAAA,CAAA,CAAA,CAAA;",
|
|
6
|
-
"names": ["Effect", "React", "Capability", "Common", "Obj", "React", "Obj", "Layout", "TemplateContainer", "role", "subject", "object", "Layout", "Main", "pre", "className", "span", "Obj", "getDXN", "toString", "Capability", "makeModule", "succeed", "contributes", "Common", "ReactSurface", "createSurface", "id", "meta", "role", "filter", "data", "Obj", "instanceOf", "Template", "Data", "subject", "component", "React", "TemplateContainer"]
|
|
7
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type SurfaceComponentProps } from '@dxos/app-framework/react';
|
|
3
|
-
import { Obj } from '@dxos/echo';
|
|
4
|
-
export type TemplateContainerProps = SurfaceComponentProps<Obj.Unknown>;
|
|
5
|
-
export declare const TemplateContainer: ({ role, subject: object }: TemplateContainerProps) => React.JSX.Element;
|
|
6
|
-
//# sourceMappingURL=TemplateContainer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TemplateContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/TemplateContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAGjC,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAExE,eAAO,MAAM,iBAAiB,GAAI,2BAA2B,sBAAsB,sBAQlF,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Copyright 2023 DXOS.org
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
import React from 'react';
|
|
6
|
-
|
|
7
|
-
import { type SurfaceComponentProps } from '@dxos/app-framework/react';
|
|
8
|
-
import { Obj } from '@dxos/echo';
|
|
9
|
-
import { Layout } from '@dxos/react-ui-mosaic';
|
|
10
|
-
|
|
11
|
-
export type TemplateContainerProps = SurfaceComponentProps<Obj.Unknown>;
|
|
12
|
-
|
|
13
|
-
export const TemplateContainer = ({ role, subject: object }: TemplateContainerProps) => {
|
|
14
|
-
return (
|
|
15
|
-
<Layout.Main role={role}>
|
|
16
|
-
<pre className='m-4 p-2 ring'>
|
|
17
|
-
<span>{Obj.getDXN(object).toString()}</span>
|
|
18
|
-
</pre>
|
|
19
|
-
</Layout.Main>
|
|
20
|
-
);
|
|
21
|
-
};
|