@xyo-network/react-schema-plugin 2.82.0 → 2.83.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/index.d.ts +5 -3
- package/package.json +8 -24
- package/xy.config.ts +12 -0
- package/dist/browser/Details.d.cts +0 -5
- package/dist/browser/Details.d.cts.map +0 -1
- package/dist/browser/Details.d.mts +0 -5
- package/dist/browser/Details.d.mts.map +0 -1
- package/dist/browser/Details.d.ts +0 -5
- package/dist/browser/Details.d.ts.map +0 -1
- package/dist/browser/Plugin.d.cts +0 -3
- package/dist/browser/Plugin.d.cts.map +0 -1
- package/dist/browser/Plugin.d.mts +0 -3
- package/dist/browser/Plugin.d.mts.map +0 -1
- package/dist/browser/Plugin.d.ts +0 -3
- package/dist/browser/Plugin.d.ts.map +0 -1
- package/dist/browser/index.cjs +0 -60
- package/dist/browser/index.cjs.map +0 -1
- package/dist/browser/index.d.cts +0 -3
- package/dist/browser/index.d.cts.map +0 -1
- package/dist/browser/index.d.mts +0 -3
- package/dist/browser/index.d.mts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/neutral/Details.d.cts +0 -5
- package/dist/neutral/Details.d.cts.map +0 -1
- package/dist/neutral/Details.d.mts +0 -5
- package/dist/neutral/Details.d.mts.map +0 -1
- package/dist/neutral/Details.d.ts +0 -5
- package/dist/neutral/Details.d.ts.map +0 -1
- package/dist/neutral/Plugin.d.cts +0 -3
- package/dist/neutral/Plugin.d.cts.map +0 -1
- package/dist/neutral/Plugin.d.mts +0 -3
- package/dist/neutral/Plugin.d.mts.map +0 -1
- package/dist/neutral/Plugin.d.ts +0 -3
- package/dist/neutral/Plugin.d.ts.map +0 -1
- package/dist/neutral/index.cjs +0 -60
- package/dist/neutral/index.cjs.map +0 -1
- package/dist/neutral/index.d.cts +0 -3
- package/dist/neutral/index.d.cts.map +0 -1
- package/dist/neutral/index.d.mts +0 -3
- package/dist/neutral/index.d.mts.map +0 -1
- package/dist/neutral/index.d.ts +0 -3
- package/dist/neutral/index.d.ts.map +0 -1
- package/dist/neutral/index.mjs +0 -29
- package/dist/neutral/index.mjs.map +0 -1
- package/dist/node/Details.d.cts +0 -5
- package/dist/node/Details.d.cts.map +0 -1
- package/dist/node/Details.d.mts +0 -5
- package/dist/node/Details.d.mts.map +0 -1
- package/dist/node/Details.d.ts +0 -5
- package/dist/node/Details.d.ts.map +0 -1
- package/dist/node/Plugin.d.cts +0 -3
- package/dist/node/Plugin.d.cts.map +0 -1
- package/dist/node/Plugin.d.mts +0 -3
- package/dist/node/Plugin.d.mts.map +0 -1
- package/dist/node/Plugin.d.ts +0 -3
- package/dist/node/Plugin.d.ts.map +0 -1
- package/dist/node/index.cjs +0 -64
- package/dist/node/index.cjs.map +0 -1
- package/dist/node/index.d.cts +0 -3
- package/dist/node/index.d.cts.map +0 -1
- package/dist/node/index.d.mts +0 -3
- package/dist/node/index.d.mts.map +0 -1
- package/dist/node/index.d.ts +0 -3
- package/dist/node/index.d.ts.map +0 -1
- package/dist/node/index.mjs +0 -29
- package/dist/node/index.mjs.map +0 -1
package/dist/browser/index.d.ts
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
import { PayloadRenderPlugin } from '@xyo-network/react-payload-plugin';
|
2
|
+
|
3
|
+
declare const SchemaRenderPlugin: PayloadRenderPlugin;
|
4
|
+
|
5
|
+
export { SchemaRenderPlugin, SchemaRenderPlugin as default };
|
package/package.json
CHANGED
@@ -12,12 +12,12 @@
|
|
12
12
|
"dependencies": {
|
13
13
|
"@xylabs/react-flexbox": "^3.4.2",
|
14
14
|
"@xyo-network/payload-model": "^2.111.3",
|
15
|
-
"@xyo-network/react-payload-details": "^2.
|
16
|
-
"@xyo-network/react-payload-plugin": "^2.
|
15
|
+
"@xyo-network/react-payload-details": "^2.83.0",
|
16
|
+
"@xyo-network/react-payload-plugin": "^2.83.0",
|
17
17
|
"@xyo-network/schema-payload-plugin": "^2.111.3"
|
18
18
|
},
|
19
19
|
"devDependencies": {
|
20
|
-
"@xylabs/ts-scripts-yarn3": "^
|
20
|
+
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.7",
|
21
21
|
"typescript": "^5.5.4"
|
22
22
|
},
|
23
23
|
"peerDependencies": {
|
@@ -33,31 +33,15 @@
|
|
33
33
|
"docs": "dist/docs.json",
|
34
34
|
"exports": {
|
35
35
|
".": {
|
36
|
-
"
|
37
|
-
"
|
38
|
-
|
39
|
-
"default": "./dist/node/index.mjs"
|
40
|
-
},
|
41
|
-
"require": {
|
42
|
-
"types": "./dist/node/index.d.cts",
|
43
|
-
"default": "./dist/node/index.cjs"
|
44
|
-
}
|
45
|
-
},
|
46
|
-
"browser": {
|
47
|
-
"import": {
|
48
|
-
"types": "./dist/browser/index.d.mts",
|
49
|
-
"default": "./dist/browser/index.mjs"
|
50
|
-
},
|
51
|
-
"require": {
|
52
|
-
"types": "./dist/browser/index.d.cts",
|
53
|
-
"default": "./dist/browser/index.cjs"
|
54
|
-
}
|
36
|
+
"import": {
|
37
|
+
"types": "./dist/browser/index.d.ts",
|
38
|
+
"default": "./dist/browser/index.mjs"
|
55
39
|
},
|
40
|
+
"types": "./dist/browser/index.d.ts",
|
56
41
|
"default": "./dist/browser/index.mjs"
|
57
42
|
},
|
58
43
|
"./package.json": "./package.json"
|
59
44
|
},
|
60
|
-
"main": "dist/browser/index.cjs",
|
61
45
|
"module": "dist/browser/index.mjs",
|
62
46
|
"homepage": "https://xyo.network",
|
63
47
|
"keywords": [
|
@@ -80,6 +64,6 @@
|
|
80
64
|
},
|
81
65
|
"sideEffects": false,
|
82
66
|
"types": "dist/browser/index.d.ts",
|
83
|
-
"version": "2.
|
67
|
+
"version": "2.83.0",
|
84
68
|
"type": "module"
|
85
69
|
}
|
package/xy.config.ts
ADDED
@@ -1,5 +0,0 @@
|
|
1
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
2
|
-
import { PayloadRenderProps } from '@xyo-network/react-payload-plugin';
|
3
|
-
import React from 'react';
|
4
|
-
export declare const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps>;
|
5
|
-
//# sourceMappingURL=Details.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Details.d.ts","sourceRoot":"","sources":["../../src/Details.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,GAAG,YAAY,CAElE,CAAA"}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
2
|
-
import { PayloadRenderProps } from '@xyo-network/react-payload-plugin';
|
3
|
-
import React from 'react';
|
4
|
-
export declare const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps>;
|
5
|
-
//# sourceMappingURL=Details.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Details.d.ts","sourceRoot":"","sources":["../../src/Details.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,GAAG,YAAY,CAElE,CAAA"}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
2
|
-
import { PayloadRenderProps } from '@xyo-network/react-payload-plugin';
|
3
|
-
import React from 'react';
|
4
|
-
export declare const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps>;
|
5
|
-
//# sourceMappingURL=Details.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Details.d.ts","sourceRoot":"","sources":["../../src/Details.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,GAAG,YAAY,CAElE,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAA6B,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAKlG,eAAO,MAAM,kBAAkB,EAAE,mBAQ/B,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAA6B,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAKlG,eAAO,MAAM,kBAAkB,EAAE,mBAQ/B,CAAA"}
|
package/dist/browser/Plugin.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAA6B,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAKlG,eAAO,MAAM,kBAAkB,EAAE,mBAQ/B,CAAA"}
|
package/dist/browser/index.cjs
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __create = Object.create;
|
3
|
-
var __defProp = Object.defineProperty;
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
8
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
9
|
-
var __export = (target, all) => {
|
10
|
-
for (var name in all)
|
11
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
12
|
-
};
|
13
|
-
var __copyProps = (to, from, except, desc) => {
|
14
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
15
|
-
for (let key of __getOwnPropNames(from))
|
16
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
17
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
18
|
-
}
|
19
|
-
return to;
|
20
|
-
};
|
21
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
22
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
23
|
-
// file that has been converted to a CommonJS file using a Babel-
|
24
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
25
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
26
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
27
|
-
mod
|
28
|
-
));
|
29
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
30
|
-
|
31
|
-
// src/index.ts
|
32
|
-
var src_exports = {};
|
33
|
-
__export(src_exports, {
|
34
|
-
SchemaRenderPlugin: () => SchemaRenderPlugin,
|
35
|
-
default: () => SchemaRenderPlugin
|
36
|
-
});
|
37
|
-
module.exports = __toCommonJS(src_exports);
|
38
|
-
|
39
|
-
// src/Plugin.ts
|
40
|
-
var import_react_payload_plugin = require("@xyo-network/react-payload-plugin");
|
41
|
-
var import_schema_payload_plugin = require("@xyo-network/schema-payload-plugin");
|
42
|
-
|
43
|
-
// src/Details.tsx
|
44
|
-
var import_react_payload_details = require("@xyo-network/react-payload-details");
|
45
|
-
var import_react = __toESM(require("react"), 1);
|
46
|
-
var DetailsBox = /* @__PURE__ */ __name((props) => {
|
47
|
-
return /* @__PURE__ */ import_react.default.createElement(import_react_payload_details.PayloadDetails, props);
|
48
|
-
}, "DetailsBox");
|
49
|
-
|
50
|
-
// src/Plugin.ts
|
51
|
-
var SchemaRenderPlugin = (0, import_react_payload_plugin.createPayloadRenderPlugin)({
|
52
|
-
canRender: /* @__PURE__ */ __name((payload) => payload?.schema === import_schema_payload_plugin.SchemaSchema, "canRender"),
|
53
|
-
components: {
|
54
|
-
box: {
|
55
|
-
details: DetailsBox
|
56
|
-
}
|
57
|
-
},
|
58
|
-
name: "Schema"
|
59
|
-
});
|
60
|
-
//# sourceMappingURL=index.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Details.tsx"],"sourcesContent":["export * from './Plugin.ts'\nexport { SchemaRenderPlugin as default } from './Plugin.ts'\n","import { Payload } from '@xyo-network/payload-model'\nimport { createPayloadRenderPlugin, PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\n\nimport { DetailsBox } from './Details.tsx'\n\nexport const SchemaRenderPlugin: PayloadRenderPlugin = createPayloadRenderPlugin({\n canRender: (payload?: Payload) => payload?.schema === SchemaSchema,\n components: {\n box: {\n details: DetailsBox,\n },\n },\n name: 'Schema',\n})\n","import { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { PayloadDetails } from '@xyo-network/react-payload-details'\nimport { PayloadRenderProps } from '@xyo-network/react-payload-plugin'\nimport React from 'react'\n\nexport const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps> = (props) => {\n return <PayloadDetails {...props} />\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;ACCA,kCAA+D;AAC/D,mCAA6B;;;ACD7B,mCAA+B;AAE/B,mBAAkB;AAEX,IAAMA,aAA0D,wBAACC,UAAAA;AACtE,SAAO,6BAAAC,QAAA,cAACC,6CAAmBF,KAAAA;AAC7B,GAFuE;;;ADChE,IAAMG,yBAA0CC,uDAA0B;EAC/EC,WAAW,wBAACC,YAAsBA,SAASC,WAAWC,2CAA3C;EACXC,YAAY;IACVC,KAAK;MACHC,SAASC;IACX;EACF;EACAC,MAAM;AACR,CAAA;","names":["DetailsBox","props","React","PayloadDetails","SchemaRenderPlugin","createPayloadRenderPlugin","canRender","payload","schema","SchemaSchema","components","box","details","DetailsBox","name"]}
|
package/dist/browser/index.d.cts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,kBAAkB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA"}
|
package/dist/browser/index.d.mts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,kBAAkB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,kBAAkB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA"}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
2
|
-
import { PayloadRenderProps } from '@xyo-network/react-payload-plugin';
|
3
|
-
import React from 'react';
|
4
|
-
export declare const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps>;
|
5
|
-
//# sourceMappingURL=Details.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Details.d.ts","sourceRoot":"","sources":["../../src/Details.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,GAAG,YAAY,CAElE,CAAA"}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
2
|
-
import { PayloadRenderProps } from '@xyo-network/react-payload-plugin';
|
3
|
-
import React from 'react';
|
4
|
-
export declare const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps>;
|
5
|
-
//# sourceMappingURL=Details.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Details.d.ts","sourceRoot":"","sources":["../../src/Details.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,GAAG,YAAY,CAElE,CAAA"}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
2
|
-
import { PayloadRenderProps } from '@xyo-network/react-payload-plugin';
|
3
|
-
import React from 'react';
|
4
|
-
export declare const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps>;
|
5
|
-
//# sourceMappingURL=Details.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Details.d.ts","sourceRoot":"","sources":["../../src/Details.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,GAAG,YAAY,CAElE,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAA6B,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAKlG,eAAO,MAAM,kBAAkB,EAAE,mBAQ/B,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAA6B,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAKlG,eAAO,MAAM,kBAAkB,EAAE,mBAQ/B,CAAA"}
|
package/dist/neutral/Plugin.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAA6B,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAKlG,eAAO,MAAM,kBAAkB,EAAE,mBAQ/B,CAAA"}
|
package/dist/neutral/index.cjs
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __create = Object.create;
|
3
|
-
var __defProp = Object.defineProperty;
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
8
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
9
|
-
var __export = (target, all) => {
|
10
|
-
for (var name in all)
|
11
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
12
|
-
};
|
13
|
-
var __copyProps = (to, from, except, desc) => {
|
14
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
15
|
-
for (let key of __getOwnPropNames(from))
|
16
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
17
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
18
|
-
}
|
19
|
-
return to;
|
20
|
-
};
|
21
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
22
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
23
|
-
// file that has been converted to a CommonJS file using a Babel-
|
24
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
25
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
26
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
27
|
-
mod
|
28
|
-
));
|
29
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
30
|
-
|
31
|
-
// src/index.ts
|
32
|
-
var src_exports = {};
|
33
|
-
__export(src_exports, {
|
34
|
-
SchemaRenderPlugin: () => SchemaRenderPlugin,
|
35
|
-
default: () => SchemaRenderPlugin
|
36
|
-
});
|
37
|
-
module.exports = __toCommonJS(src_exports);
|
38
|
-
|
39
|
-
// src/Plugin.ts
|
40
|
-
var import_react_payload_plugin = require("@xyo-network/react-payload-plugin");
|
41
|
-
var import_schema_payload_plugin = require("@xyo-network/schema-payload-plugin");
|
42
|
-
|
43
|
-
// src/Details.tsx
|
44
|
-
var import_react_payload_details = require("@xyo-network/react-payload-details");
|
45
|
-
var import_react = __toESM(require("react"), 1);
|
46
|
-
var DetailsBox = /* @__PURE__ */ __name((props) => {
|
47
|
-
return /* @__PURE__ */ import_react.default.createElement(import_react_payload_details.PayloadDetails, props);
|
48
|
-
}, "DetailsBox");
|
49
|
-
|
50
|
-
// src/Plugin.ts
|
51
|
-
var SchemaRenderPlugin = (0, import_react_payload_plugin.createPayloadRenderPlugin)({
|
52
|
-
canRender: /* @__PURE__ */ __name((payload) => payload?.schema === import_schema_payload_plugin.SchemaSchema, "canRender"),
|
53
|
-
components: {
|
54
|
-
box: {
|
55
|
-
details: DetailsBox
|
56
|
-
}
|
57
|
-
},
|
58
|
-
name: "Schema"
|
59
|
-
});
|
60
|
-
//# sourceMappingURL=index.cjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Details.tsx"],"sourcesContent":["export * from './Plugin.ts'\nexport { SchemaRenderPlugin as default } from './Plugin.ts'\n","import { Payload } from '@xyo-network/payload-model'\nimport { createPayloadRenderPlugin, PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\n\nimport { DetailsBox } from './Details.tsx'\n\nexport const SchemaRenderPlugin: PayloadRenderPlugin = createPayloadRenderPlugin({\n canRender: (payload?: Payload) => payload?.schema === SchemaSchema,\n components: {\n box: {\n details: DetailsBox,\n },\n },\n name: 'Schema',\n})\n","import { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { PayloadDetails } from '@xyo-network/react-payload-details'\nimport { PayloadRenderProps } from '@xyo-network/react-payload-plugin'\nimport React from 'react'\n\nexport const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps> = (props) => {\n return <PayloadDetails {...props} />\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;ACCA,kCAA+D;AAC/D,mCAA6B;;;ACD7B,mCAA+B;AAE/B,mBAAkB;AAEX,IAAMA,aAA0D,wBAACC,UAAAA;AACtE,SAAO,6BAAAC,QAAA,cAACC,6CAAmBF,KAAAA;AAC7B,GAFuE;;;ADChE,IAAMG,yBAA0CC,uDAA0B;EAC/EC,WAAW,wBAACC,YAAsBA,SAASC,WAAWC,2CAA3C;EACXC,YAAY;IACVC,KAAK;MACHC,SAASC;IACX;EACF;EACAC,MAAM;AACR,CAAA;","names":["DetailsBox","props","React","PayloadDetails","SchemaRenderPlugin","createPayloadRenderPlugin","canRender","payload","schema","SchemaSchema","components","box","details","DetailsBox","name"]}
|
package/dist/neutral/index.d.cts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,kBAAkB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA"}
|
package/dist/neutral/index.d.mts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,kBAAkB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA"}
|
package/dist/neutral/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,kBAAkB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA"}
|
package/dist/neutral/index.mjs
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
var __defProp = Object.defineProperty;
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
3
|
-
|
4
|
-
// src/Plugin.ts
|
5
|
-
import { createPayloadRenderPlugin } from "@xyo-network/react-payload-plugin";
|
6
|
-
import { SchemaSchema } from "@xyo-network/schema-payload-plugin";
|
7
|
-
|
8
|
-
// src/Details.tsx
|
9
|
-
import { PayloadDetails } from "@xyo-network/react-payload-details";
|
10
|
-
import React from "react";
|
11
|
-
var DetailsBox = /* @__PURE__ */ __name((props) => {
|
12
|
-
return /* @__PURE__ */ React.createElement(PayloadDetails, props);
|
13
|
-
}, "DetailsBox");
|
14
|
-
|
15
|
-
// src/Plugin.ts
|
16
|
-
var SchemaRenderPlugin = createPayloadRenderPlugin({
|
17
|
-
canRender: /* @__PURE__ */ __name((payload) => payload?.schema === SchemaSchema, "canRender"),
|
18
|
-
components: {
|
19
|
-
box: {
|
20
|
-
details: DetailsBox
|
21
|
-
}
|
22
|
-
},
|
23
|
-
name: "Schema"
|
24
|
-
});
|
25
|
-
export {
|
26
|
-
SchemaRenderPlugin,
|
27
|
-
SchemaRenderPlugin as default
|
28
|
-
};
|
29
|
-
//# sourceMappingURL=index.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../src/Plugin.ts","../../src/Details.tsx"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\nimport { createPayloadRenderPlugin, PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\n\nimport { DetailsBox } from './Details.tsx'\n\nexport const SchemaRenderPlugin: PayloadRenderPlugin = createPayloadRenderPlugin({\n canRender: (payload?: Payload) => payload?.schema === SchemaSchema,\n components: {\n box: {\n details: DetailsBox,\n },\n },\n name: 'Schema',\n})\n","import { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { PayloadDetails } from '@xyo-network/react-payload-details'\nimport { PayloadRenderProps } from '@xyo-network/react-payload-plugin'\nimport React from 'react'\n\nexport const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps> = (props) => {\n return <PayloadDetails {...props} />\n}\n"],"mappings":";;;;AACA,SAASA,iCAAsD;AAC/D,SAASC,oBAAoB;;;ACD7B,SAASC,sBAAsB;AAE/B,OAAOC,WAAW;AAEX,IAAMC,aAA0D,wBAACC,UAAAA;AACtE,SAAO,sBAAA,cAACC,gBAAmBD,KAAAA;AAC7B,GAFuE;;;ADChE,IAAME,qBAA0CC,0BAA0B;EAC/EC,WAAW,wBAACC,YAAsBA,SAASC,WAAWC,cAA3C;EACXC,YAAY;IACVC,KAAK;MACHC,SAASC;IACX;EACF;EACAC,MAAM;AACR,CAAA;","names":["createPayloadRenderPlugin","SchemaSchema","PayloadDetails","React","DetailsBox","props","PayloadDetails","SchemaRenderPlugin","createPayloadRenderPlugin","canRender","payload","schema","SchemaSchema","components","box","details","DetailsBox","name"]}
|
package/dist/node/Details.d.cts
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
2
|
-
import { PayloadRenderProps } from '@xyo-network/react-payload-plugin';
|
3
|
-
import React from 'react';
|
4
|
-
export declare const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps>;
|
5
|
-
//# sourceMappingURL=Details.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Details.d.ts","sourceRoot":"","sources":["../../src/Details.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,GAAG,YAAY,CAElE,CAAA"}
|
package/dist/node/Details.d.mts
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
2
|
-
import { PayloadRenderProps } from '@xyo-network/react-payload-plugin';
|
3
|
-
import React from 'react';
|
4
|
-
export declare const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps>;
|
5
|
-
//# sourceMappingURL=Details.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Details.d.ts","sourceRoot":"","sources":["../../src/Details.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,GAAG,YAAY,CAElE,CAAA"}
|
package/dist/node/Details.d.ts
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
2
|
-
import { PayloadRenderProps } from '@xyo-network/react-payload-plugin';
|
3
|
-
import React from 'react';
|
4
|
-
export declare const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps>;
|
5
|
-
//# sourceMappingURL=Details.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Details.d.ts","sourceRoot":"","sources":["../../src/Details.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,GAAG,YAAY,CAElE,CAAA"}
|
package/dist/node/Plugin.d.cts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAA6B,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAKlG,eAAO,MAAM,kBAAkB,EAAE,mBAQ/B,CAAA"}
|
package/dist/node/Plugin.d.mts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAA6B,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAKlG,eAAO,MAAM,kBAAkB,EAAE,mBAQ/B,CAAA"}
|
package/dist/node/Plugin.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAA6B,mBAAmB,EAAE,MAAM,mCAAmC,CAAA;AAKlG,eAAO,MAAM,kBAAkB,EAAE,mBAQ/B,CAAA"}
|
package/dist/node/index.cjs
DELETED
@@ -1,64 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __create = Object.create;
|
3
|
-
var __defProp = Object.defineProperty;
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
8
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
9
|
-
var __export = (target, all) => {
|
10
|
-
for (var name in all)
|
11
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
12
|
-
};
|
13
|
-
var __copyProps = (to, from, except, desc) => {
|
14
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
15
|
-
for (let key of __getOwnPropNames(from))
|
16
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
17
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
18
|
-
}
|
19
|
-
return to;
|
20
|
-
};
|
21
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
22
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
23
|
-
// file that has been converted to a CommonJS file using a Babel-
|
24
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
25
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
26
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
27
|
-
mod
|
28
|
-
));
|
29
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
30
|
-
|
31
|
-
// src/index.ts
|
32
|
-
var src_exports = {};
|
33
|
-
__export(src_exports, {
|
34
|
-
SchemaRenderPlugin: () => SchemaRenderPlugin,
|
35
|
-
default: () => SchemaRenderPlugin
|
36
|
-
});
|
37
|
-
module.exports = __toCommonJS(src_exports);
|
38
|
-
|
39
|
-
// src/Plugin.ts
|
40
|
-
var import_react_payload_plugin = require("@xyo-network/react-payload-plugin");
|
41
|
-
var import_schema_payload_plugin = require("@xyo-network/schema-payload-plugin");
|
42
|
-
|
43
|
-
// src/Details.tsx
|
44
|
-
var import_react_payload_details = require("@xyo-network/react-payload-details");
|
45
|
-
var import_react = __toESM(require("react"), 1);
|
46
|
-
var DetailsBox = /* @__PURE__ */ __name((props) => {
|
47
|
-
return /* @__PURE__ */ import_react.default.createElement(import_react_payload_details.PayloadDetails, props);
|
48
|
-
}, "DetailsBox");
|
49
|
-
|
50
|
-
// src/Plugin.ts
|
51
|
-
var SchemaRenderPlugin = (0, import_react_payload_plugin.createPayloadRenderPlugin)({
|
52
|
-
canRender: /* @__PURE__ */ __name((payload) => (payload == null ? void 0 : payload.schema) === import_schema_payload_plugin.SchemaSchema, "canRender"),
|
53
|
-
components: {
|
54
|
-
box: {
|
55
|
-
details: DetailsBox
|
56
|
-
}
|
57
|
-
},
|
58
|
-
name: "Schema"
|
59
|
-
});
|
60
|
-
// Annotate the CommonJS export names for ESM import in node:
|
61
|
-
0 && (module.exports = {
|
62
|
-
SchemaRenderPlugin
|
63
|
-
});
|
64
|
-
//# sourceMappingURL=index.cjs.map
|
package/dist/node/index.cjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Details.tsx"],"sourcesContent":["export * from './Plugin.ts'\nexport { SchemaRenderPlugin as default } from './Plugin.ts'\n","import { Payload } from '@xyo-network/payload-model'\nimport { createPayloadRenderPlugin, PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\n\nimport { DetailsBox } from './Details.tsx'\n\nexport const SchemaRenderPlugin: PayloadRenderPlugin = createPayloadRenderPlugin({\n canRender: (payload?: Payload) => payload?.schema === SchemaSchema,\n components: {\n box: {\n details: DetailsBox,\n },\n },\n name: 'Schema',\n})\n","import { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { PayloadDetails } from '@xyo-network/react-payload-details'\nimport { PayloadRenderProps } from '@xyo-network/react-payload-plugin'\nimport React from 'react'\n\nexport const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps> = (props) => {\n return <PayloadDetails {...props} />\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;ACCA,kCAA+D;AAC/D,mCAA6B;;;ACD7B,mCAA+B;AAE/B,mBAAkB;AAEX,IAAMA,aAA0D,wBAACC,UAAAA;AACtE,SAAO,6BAAAC,QAAA,cAACC,6CAAmBF,KAAAA;AAC7B,GAFuE;;;ADChE,IAAMG,yBAA0CC,uDAA0B;EAC/EC,WAAW,wBAACC,aAAsBA,mCAASC,YAAWC,2CAA3C;EACXC,YAAY;IACVC,KAAK;MACHC,SAASC;IACX;EACF;EACAC,MAAM;AACR,CAAA;","names":["DetailsBox","props","React","PayloadDetails","SchemaRenderPlugin","createPayloadRenderPlugin","canRender","payload","schema","SchemaSchema","components","box","details","DetailsBox","name"]}
|
package/dist/node/index.d.cts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,kBAAkB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA"}
|
package/dist/node/index.d.mts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,kBAAkB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA"}
|
package/dist/node/index.d.ts
DELETED
package/dist/node/index.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,kBAAkB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA"}
|
package/dist/node/index.mjs
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
var __defProp = Object.defineProperty;
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
3
|
-
|
4
|
-
// src/Plugin.ts
|
5
|
-
import { createPayloadRenderPlugin } from "@xyo-network/react-payload-plugin";
|
6
|
-
import { SchemaSchema } from "@xyo-network/schema-payload-plugin";
|
7
|
-
|
8
|
-
// src/Details.tsx
|
9
|
-
import { PayloadDetails } from "@xyo-network/react-payload-details";
|
10
|
-
import React from "react";
|
11
|
-
var DetailsBox = /* @__PURE__ */ __name((props) => {
|
12
|
-
return /* @__PURE__ */ React.createElement(PayloadDetails, props);
|
13
|
-
}, "DetailsBox");
|
14
|
-
|
15
|
-
// src/Plugin.ts
|
16
|
-
var SchemaRenderPlugin = createPayloadRenderPlugin({
|
17
|
-
canRender: /* @__PURE__ */ __name((payload) => (payload == null ? void 0 : payload.schema) === SchemaSchema, "canRender"),
|
18
|
-
components: {
|
19
|
-
box: {
|
20
|
-
details: DetailsBox
|
21
|
-
}
|
22
|
-
},
|
23
|
-
name: "Schema"
|
24
|
-
});
|
25
|
-
export {
|
26
|
-
SchemaRenderPlugin,
|
27
|
-
SchemaRenderPlugin as default
|
28
|
-
};
|
29
|
-
//# sourceMappingURL=index.mjs.map
|
package/dist/node/index.mjs.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../src/Plugin.ts","../../src/Details.tsx"],"sourcesContent":["import { Payload } from '@xyo-network/payload-model'\nimport { createPayloadRenderPlugin, PayloadRenderPlugin } from '@xyo-network/react-payload-plugin'\nimport { SchemaSchema } from '@xyo-network/schema-payload-plugin'\n\nimport { DetailsBox } from './Details.tsx'\n\nexport const SchemaRenderPlugin: PayloadRenderPlugin = createPayloadRenderPlugin({\n canRender: (payload?: Payload) => payload?.schema === SchemaSchema,\n components: {\n box: {\n details: DetailsBox,\n },\n },\n name: 'Schema',\n})\n","import { FlexBoxProps } from '@xylabs/react-flexbox'\nimport { PayloadDetails } from '@xyo-network/react-payload-details'\nimport { PayloadRenderProps } from '@xyo-network/react-payload-plugin'\nimport React from 'react'\n\nexport const DetailsBox: React.FC<PayloadRenderProps & FlexBoxProps> = (props) => {\n return <PayloadDetails {...props} />\n}\n"],"mappings":";;;;AACA,SAASA,iCAAsD;AAC/D,SAASC,oBAAoB;;;ACD7B,SAASC,sBAAsB;AAE/B,OAAOC,WAAW;AAEX,IAAMC,aAA0D,wBAACC,UAAAA;AACtE,SAAO,sBAAA,cAACC,gBAAmBD,KAAAA;AAC7B,GAFuE;;;ADChE,IAAME,qBAA0CC,0BAA0B;EAC/EC,WAAW,wBAACC,aAAsBA,mCAASC,YAAWC,cAA3C;EACXC,YAAY;IACVC,KAAK;MACHC,SAASC;IACX;EACF;EACAC,MAAM;AACR,CAAA;","names":["createPayloadRenderPlugin","SchemaSchema","PayloadDetails","React","DetailsBox","props","PayloadDetails","SchemaRenderPlugin","createPayloadRenderPlugin","canRender","payload","schema","SchemaSchema","components","box","details","DetailsBox","name"]}
|