@chobantonov/jsonforms-react-shadcn-webcomponent 0.0.0-stage → 0.1.0
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/LICENSE +21 -0
- package/README.md +91 -2
- package/dist/JsonFormsShadcnElement.d.ts +29 -0
- package/dist/index.d.ts +3 -0
- package/dist/jsonforms-react-shadcn.js +1 -0
- package/dist/register.d.ts +2 -0
- package/dist/register.js +6 -0
- package/dist/register.js.map +1 -0
- package/dist/renderers.d.ts +2 -0
- package/dist/src-CLRAt7jc.mjs +9482 -0
- package/dist/src-CLRAt7jc.mjs.map +1 -0
- package/dist/standalone/AgGridControlRenderer.impl-BZS8_ocu-Dp2429lF.mjs +39184 -0
- package/dist/standalone/AgGridControlRenderer.impl-BZS8_ocu-Dp2429lF.mjs.map +1 -0
- package/dist/standalone/DynamicJSXRenderer-DyB3ZpZV-Dr83kPeb.mjs +14893 -0
- package/dist/standalone/DynamicJSXRenderer-DyB3ZpZV-Dr83kPeb.mjs.map +1 -0
- package/dist/standalone/FileArrayInput.esm-BG196JYM.mjs +760 -0
- package/dist/standalone/FileArrayInput.esm-BG196JYM.mjs.map +1 -0
- package/dist/standalone/MarkupLabelRenderer.impl-CWfdcUuH-BgJ-v1Ei.mjs +12 -0
- package/dist/standalone/MarkupLabelRenderer.impl-CWfdcUuH-BgJ-v1Ei.mjs.map +1 -0
- package/dist/standalone/MonacoControlRenderer.impl-CyjMHbOd-BP-CDX3S.mjs +773 -0
- package/dist/standalone/MonacoControlRenderer.impl-CyjMHbOd-BP-CDX3S.mjs.map +1 -0
- package/dist/standalone/RactiveTemplate-Cat7CxUp-BnyPMY_h.mjs +8028 -0
- package/dist/standalone/RactiveTemplate-Cat7CxUp-BnyPMY_h.mjs.map +1 -0
- package/dist/standalone/celTemplate-D_AGhaIL-ryXLzhcw.mjs +137 -0
- package/dist/standalone/celTemplate-D_AGhaIL-ryXLzhcw.mjs.map +1 -0
- package/dist/standalone/classPrivateFieldGet2-CAMXi-8L.mjs +22 -0
- package/dist/standalone/dynamicCel.esm-DrqwYtar.mjs +43 -0
- package/dist/standalone/dynamicCel.esm-DrqwYtar.mjs.map +1 -0
- package/dist/standalone/index.js +24493 -0
- package/dist/standalone/index.js.map +1 -0
- package/dist/standalone/jsonforms-react-extended.esm-CFwqhFcu.mjs +13760 -0
- package/dist/standalone/jsonforms-react-extended.esm-CFwqhFcu.mjs.map +1 -0
- package/dist/standalone/lib-DHN5bkVZ.mjs +3149 -0
- package/dist/standalone/lib-DHN5bkVZ.mjs.map +1 -0
- package/dist/standalone/markdown-C_y73Q0w-DE-0r4-5.mjs +3060 -0
- package/dist/standalone/markdown-C_y73Q0w-DE-0r4-5.mjs.map +1 -0
- package/dist/standalone/plainRecord.esm-D_l3rehZ.mjs +123 -0
- package/dist/standalone/plainRecord.esm-D_l3rehZ.mjs.map +1 -0
- package/dist/standalone/react-dom-DUZYP7tL.mjs +5644 -0
- package/dist/standalone/react-dom-DUZYP7tL.mjs.map +1 -0
- package/package.json +82 -3
- package/src/JsonFormsShadcnElement.tsx +208 -0
- package/src/components/ui/alert.tsx +65 -0
- package/src/components/ui/avatar.tsx +108 -0
- package/src/components/ui/breadcrumb.tsx +111 -0
- package/src/components/ui/button.tsx +64 -0
- package/src/components/ui/calendar.tsx +223 -0
- package/src/components/ui/card.tsx +91 -0
- package/src/components/ui/checkbox.tsx +31 -0
- package/src/components/ui/collapsible.tsx +21 -0
- package/src/components/ui/dialog.tsx +175 -0
- package/src/components/ui/index.ts +12 -0
- package/src/components/ui/input.tsx +22 -0
- package/src/components/ui/item.tsx +193 -0
- package/src/components/ui/pagination.tsx +132 -0
- package/src/components/ui/popover.tsx +88 -0
- package/src/components/ui/radio-group.tsx +44 -0
- package/src/components/ui/resizable.tsx +52 -0
- package/src/components/ui/scroll-area.tsx +57 -0
- package/src/components/ui/select.tsx +189 -0
- package/src/components/ui/separator.tsx +27 -0
- package/src/components/ui/slider.tsx +62 -0
- package/src/components/ui/switch.tsx +34 -0
- package/src/components/ui/tabs.tsx +90 -0
- package/src/components/ui/textarea.tsx +17 -0
- package/src/components/ui/tooltip.tsx +56 -0
- package/src/components/ui/utils.ts +5 -0
- package/src/index.tsx +4 -0
- package/src/register.ts +13 -0
- package/src/renderers.ts +14 -0
- package/src/styles.css +29 -0
- package/src/vite-env.d.ts +4 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
// \0rolldown/runtime.js
|
|
2
|
+
var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t, n) => () => {
|
|
3
|
+
if (n) throw n[0];
|
|
4
|
+
try {
|
|
5
|
+
return e && (t = e(e = 0)), t;
|
|
6
|
+
} catch (e) {
|
|
7
|
+
throw n = [e], e;
|
|
8
|
+
}
|
|
9
|
+
}, s = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), c = (e, n) => {
|
|
10
|
+
let r = {};
|
|
11
|
+
for (var i in e) t(r, i, {
|
|
12
|
+
get: e[i],
|
|
13
|
+
enumerable: !0
|
|
14
|
+
});
|
|
15
|
+
return n || t(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
16
|
+
}, l = (e, i, o, s) => {
|
|
17
|
+
if (i && typeof i == "object" || typeof i == "function") for (var c = r(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !a.call(e, d) && d !== o && t(e, d, {
|
|
18
|
+
get: ((e) => i[e]).bind(null, d),
|
|
19
|
+
enumerable: !(s = n(i, d)) || s.enumerable
|
|
20
|
+
});
|
|
21
|
+
return e;
|
|
22
|
+
}, u = (n, r, o) => (o = n == null ? {} : e(i(n)), l(r || !n || !n.__esModule || !a.call(n, "default") ? t(o, "default", {
|
|
23
|
+
value: n,
|
|
24
|
+
enumerable: !0
|
|
25
|
+
}) : o, n)), d = (e) => a.call(e, "module.exports") ? e["module.exports"] : l(t({}, "__esModule", { value: !0 }), e);
|
|
26
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/typeof.js
|
|
27
|
+
function f(e) {
|
|
28
|
+
"@babel/helpers - typeof";
|
|
29
|
+
return f = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
30
|
+
return typeof e;
|
|
31
|
+
} : function(e) {
|
|
32
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
33
|
+
}, f(e);
|
|
34
|
+
}
|
|
35
|
+
var p = o((() => {}));
|
|
36
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/toPrimitive.js
|
|
37
|
+
function m(e, t) {
|
|
38
|
+
if (f(e) != "object" || !e) return e;
|
|
39
|
+
var n = e[Symbol.toPrimitive];
|
|
40
|
+
if (n !== void 0) {
|
|
41
|
+
var r = n.call(e, t || "default");
|
|
42
|
+
if (f(r) != "object") return r;
|
|
43
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
44
|
+
}
|
|
45
|
+
return (t === "string" ? String : Number)(e);
|
|
46
|
+
}
|
|
47
|
+
var h = o((() => {
|
|
48
|
+
p();
|
|
49
|
+
}));
|
|
50
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/toPropertyKey.js
|
|
51
|
+
function g(e) {
|
|
52
|
+
var t = m(e, "string");
|
|
53
|
+
return f(t) == "symbol" ? t : t + "";
|
|
54
|
+
}
|
|
55
|
+
var _ = o((() => {
|
|
56
|
+
p(), h();
|
|
57
|
+
}));
|
|
58
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/defineProperty.js
|
|
59
|
+
function v(e, t, n) {
|
|
60
|
+
return (t = g(t)) in e ? Object.defineProperty(e, t, {
|
|
61
|
+
value: n,
|
|
62
|
+
enumerable: !0,
|
|
63
|
+
configurable: !0,
|
|
64
|
+
writable: !0
|
|
65
|
+
}) : e[t] = n, e;
|
|
66
|
+
}
|
|
67
|
+
var y = o((() => {
|
|
68
|
+
_();
|
|
69
|
+
}));
|
|
70
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/objectSpread2.js
|
|
71
|
+
function b(e, t) {
|
|
72
|
+
var n = Object.keys(e);
|
|
73
|
+
if (Object.getOwnPropertySymbols) {
|
|
74
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
75
|
+
t && (r = r.filter(function(t) {
|
|
76
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
77
|
+
})), n.push.apply(n, r);
|
|
78
|
+
}
|
|
79
|
+
return n;
|
|
80
|
+
}
|
|
81
|
+
function x(e) {
|
|
82
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
83
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
84
|
+
t % 2 ? b(Object(n), !0).forEach(function(t) {
|
|
85
|
+
v(e, t, n[t]);
|
|
86
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : b(Object(n)).forEach(function(t) {
|
|
87
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
return e;
|
|
91
|
+
}
|
|
92
|
+
var S = o((() => {
|
|
93
|
+
y();
|
|
94
|
+
}));
|
|
95
|
+
// \0@oxc-project+runtime@0.156.0/helpers/esm/asyncToGenerator.js
|
|
96
|
+
function C(e, t, n, r, i, a, o) {
|
|
97
|
+
try {
|
|
98
|
+
var s = e[a](o), c = s.value;
|
|
99
|
+
} catch (e) {
|
|
100
|
+
n(e);
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
s.done ? t(c) : Promise.resolve(c).then(r, i);
|
|
104
|
+
}
|
|
105
|
+
function w(e) {
|
|
106
|
+
return function() {
|
|
107
|
+
var t = this, n = arguments;
|
|
108
|
+
return new Promise(function(r, i) {
|
|
109
|
+
var a = e.apply(t, n);
|
|
110
|
+
function o(e) {
|
|
111
|
+
C(a, r, i, o, s, "next", e);
|
|
112
|
+
}
|
|
113
|
+
function s(e) {
|
|
114
|
+
C(a, r, i, o, s, "throw", e);
|
|
115
|
+
}
|
|
116
|
+
o(void 0);
|
|
117
|
+
});
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
var T = o((() => {})), E = (e) => typeof e == "object" && !!e && !Array.isArray(e) && (Object.getPrototypeOf(e) === Object.prototype || Object.getPrototypeOf(e) === null);
|
|
121
|
+
export { S as a, s as c, d, u as f, x as i, o as l, w as n, v as o, T as r, y as s, E as t, c as u };
|
|
122
|
+
|
|
123
|
+
//# sourceMappingURL=plainRecord.esm-D_l3rehZ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plainRecord.esm-D_l3rehZ.mjs","names":["__create","__defProp","__getOwnPropDesc","__getOwnPropNames","__getProtoOf","__hasOwnProp","__esmMin","err","fn","res","__commonJSMin","mod","cb","__exportAll","target","name","all","no_symbols","__copyProps","from","keys","i","n","key","to","except","k","desc","__toESM","isNodeMode","__toCommonJS","_typeof","o","init_typeof","toPrimitive","t","e","r","init_toPrimitive","toPropertyKey","init_toPropertyKey","_defineProperty","init_defineProperty","ownKeys","_objectSpread2","init_objectSpread2","asyncGeneratorStep","c","u","_asyncToGenerator","_next","_throw","init_asyncToGenerator"],"sources":["../../../jsonforms-react-renderer-common/lib/core/plainRecord.esm.js"],"sourcesContent":["// src/core/plainRecord.ts\nvar e = (e) => typeof e == \"object\" && !!e && !Array.isArray(e) && (Object.getPrototypeOf(e) === Object.prototype || Object.getPrototypeOf(e) === null);\nexport { e as isPlainRecord };\n\n//# sourceMappingURL=plainRecord.esm.js.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;A,uBACIoC,KAAK,MAAM,OAAO,KAAK,YAAY,CAAC,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,MAAM,OAAO,eAAe,CAAC,MAAM,OAAO,aAAa,OAAO,eAAe,CAAC,MAAM"}
|