@tempots/beatui 1.7.4 → 1.9.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/dist/{ar-Wr6gMs-M.cjs → ar-CEzAem0F.cjs} +1 -1
- package/dist/{ar-fdUqbCvM.js → ar-CQieaqsq.js} +1 -1
- package/dist/auth/index.cjs.js +1 -1
- package/dist/auth/index.es.js +1 -1
- package/dist/auth-divider-B8yr-E_b.cjs +1 -0
- package/dist/{auth-divider-D9KnNeyF.js → auth-divider-Byh5BWLc.js} +91 -88
- package/dist/beatui.css +1 -0
- package/dist/beatui.tailwind.css +1 -0
- package/dist/better-auth/index.cjs.js +1 -1
- package/dist/better-auth/index.es.js +27 -26
- package/dist/card-BkA7Wvbh.cjs +1 -0
- package/dist/card-DX1DwGbL.js +62 -0
- package/dist/{colors-C2sgnzFH.js → colors-CyMhfbJi.js} +64 -58
- package/dist/{colors-DPCHjRMj.cjs → colors-IXZF9U-s.cjs} +1 -1
- package/dist/control-hqEuMzyI.js +343 -0
- package/dist/control-muup9GF1.cjs +1 -0
- package/dist/custom-validation-BA9iJWl_.cjs +1 -0
- package/dist/custom-validation-BOBoUwHY.js +181 -0
- package/dist/{de-C5-k5Eov.js → de-CBIwvkAH.js} +1 -1
- package/dist/{de-DZqdSEta.cjs → de-DdfxrlT3.cjs} +1 -1
- package/dist/deep-merge-8fwp1z4X.js +1346 -0
- package/dist/deep-merge-VDGE_HQD.cjs +1 -0
- package/dist/duration-input-DmsljXl3.cjs +1 -0
- package/dist/{duration-input-D4V_PHIg.js → duration-input-ZQlcqdXU.js} +32 -31
- package/dist/{editor-toolbar-group-FpOHrmtx.js → editor-toolbar-group-BNTBMJCe.js} +2 -2
- package/dist/{editor-toolbar-group-C_ft_T8D.cjs → editor-toolbar-group-DiMzqYgz.cjs} +1 -1
- package/dist/{es-h6jmoF4X.js → es--9HaEj2D.js} +1 -1
- package/dist/{es-CJgYfRap.cjs → es-DSdljxFJ.cjs} +1 -1
- package/dist/{fa-BuxK837l.js → fa-1Z-akcW7.js} +1 -1
- package/dist/{fa-BQ5PzwNY.cjs → fa-BolmeWRT.cjs} +1 -1
- package/dist/flyout-CuKFh_T7.js +151 -0
- package/dist/flyout-DC_tKaTG.cjs +1 -0
- package/dist/{fr-Bv3TG44U.cjs → fr-CODgUuoZ.cjs} +1 -1
- package/dist/{fr-BwILQ9G2.js → fr-DhHM9rou.js} +1 -1
- package/dist/{he-yC9Sc7JD.js → he-CBamXbGJ.js} +1 -1
- package/dist/{he-5LbvgMCC.cjs → he-Juw-dr28.cjs} +1 -1
- package/dist/{hi-Da7rcCpP.js → hi-DvvcX-Ra.js} +1 -1
- package/dist/{hi-YWhWcG_L.cjs → hi-R749jeg-.cjs} +1 -1
- package/dist/{index-CvU9E9wd.js → index-BfQaT5Jy.js} +104 -104
- package/dist/{index-XogEKwdt.cjs → index-Dv7nPuwA.cjs} +1 -1
- package/dist/index.cjs.js +4 -4
- package/dist/index.es.js +6713 -9831
- package/dist/{input-container-CyOgiiQD.cjs → input-container-BaWQLWB6.cjs} +1 -1
- package/dist/{input-container-8JFB11xN.js → input-container-DCS5oJ4S.js} +4 -4
- package/dist/{it-BxOIJE45.cjs → it-DT5oRZDH.cjs} +1 -1
- package/dist/{it-Yeklau78.js → it-aV6i8Qxz.js} +1 -1
- package/dist/{ja-Dxj9Q5Yd.js → ja-CuLhGnJX.js} +1 -1
- package/dist/{ja-CNhjK06P.cjs → ja-CwKaCYLB.cjs} +1 -1
- package/dist/json-schema/index.cjs.js +1 -1
- package/dist/json-schema/index.es.js +83 -79
- package/dist/json-schema-display/index.cjs.js +1 -1
- package/dist/json-schema-display/index.es.js +2 -2
- package/dist/json-structure/index.cjs.js +1 -1
- package/dist/json-structure/index.es.js +74 -72
- package/dist/{ko-DgkqcXTs.cjs → ko-Bucro9ID.cjs} +1 -1
- package/dist/{ko-gn_MsegK.js → ko-D-66BsEX.js} +1 -1
- package/dist/lexical/index.cjs.js +1 -1
- package/dist/lexical/index.es.js +5 -5
- package/dist/menu-BFLFKceF.cjs +1 -0
- package/dist/menu-BO6zqyfq.js +220 -0
- package/dist/modal-6Mq3vS5r.js +309 -0
- package/dist/modal-d77-TMc4.cjs +1 -0
- package/dist/{nl-vHNFtXXb.js → nl-CAny6wvm.js} +1 -1
- package/dist/{nl-Dy9lmbBO.cjs → nl-D7vHpehb.cjs} +1 -1
- package/dist/notice-BNGx86Yg.js +110 -0
- package/dist/notice-iF6zBMq9.cjs +1 -0
- package/dist/{oneof-branch-detection-Q_jxvJIA.js → oneof-branch-detection-Bm17RhC2.js} +27 -26
- package/dist/oneof-branch-detection-DZ4MrfBp.cjs +1 -0
- package/dist/openui/index.cjs.js +9 -0
- package/dist/openui/index.es.js +2174 -0
- package/dist/password-input-Bipt7Wsu.cjs +1 -0
- package/dist/password-input-mkRmrEPq.js +105 -0
- package/dist/{pl-BtYbtsmG.cjs → pl-CSiXoOKT.cjs} +1 -1
- package/dist/{pl-C0UdHla0.js → pl-rmZLgQ_V.js} +1 -1
- package/dist/prosemirror/index.cjs.js +1 -1
- package/dist/prosemirror/index.es.js +4 -4
- package/dist/{pt-CtNmqQ1X.cjs → pt-CJT-iq4y.cjs} +1 -1
- package/dist/{pt-DGKtfN0d.js → pt-DHnajqAi.js} +1 -1
- package/dist/{ru-CpXYLt-v.js → ru-C_E8OZNE.js} +1 -1
- package/dist/{ru-BaL_NPRU.cjs → ru-G3sr_ctV.cjs} +1 -1
- package/dist/slider-input-SLguFA0d.cjs +1 -0
- package/dist/slider-input-VYAMm7pE.js +285 -0
- package/dist/stepper-24p16Zsv.cjs +1 -0
- package/dist/stepper-TlzbfYWa.js +3222 -0
- package/dist/tailwind/preset.cjs.js +1 -1
- package/dist/tailwind/preset.es.js +38 -40
- package/dist/tailwind/vite-plugin.cjs.js +14 -12
- package/dist/tailwind/vite-plugin.es.js +317 -246
- package/dist/text-area-BdemKQ_w.cjs +1 -0
- package/dist/text-area-Br83-_PQ.js +431 -0
- package/dist/{text-input-NJypZSnE.js → text-input-ByuxdX8w.js} +5 -5
- package/dist/{text-input-DS5zlXb2.cjs → text-input-MjlUC_9u.cjs} +1 -1
- package/dist/{toolbar-BF2L6WKC.js → toolbar-CEBTTjHh.js} +1 -1
- package/dist/{toolbar-BBwfe8U9.cjs → toolbar-DWawYFFX.cjs} +1 -1
- package/dist/{tr-DwOd87oB.cjs → tr-DcxLHHTC.cjs} +1 -1
- package/dist/{tr-DIFZDFW_.js → tr-bVXwloKC.js} +1 -1
- package/dist/{translations-EwEmHe3v.cjs → translations-D3xqZUTA.cjs} +1 -1
- package/dist/{translations-BCMP-h52.js → translations-DU9wTV1y.js} +20 -19
- package/dist/{translations-5cXBrENb.js → translations-RT_UN8ny.js} +1 -1
- package/dist/{translations-BqWc0ZHz.cjs → translations-qljG2Chq.cjs} +1 -1
- package/dist/types/components/navigation/stepper.d.ts +4 -4
- package/dist/types/openui/index.d.ts +28 -0
- package/dist/types/openui/library/define-component.d.ts +15 -0
- package/dist/types/openui/library/library.d.ts +7 -0
- package/dist/types/openui/library/prompt-generator.d.ts +5 -0
- package/dist/types/openui/library/types.d.ts +33 -0
- package/dist/types/openui/parser/parser.d.ts +8 -0
- package/dist/types/openui/parser/streaming-parser.d.ts +14 -0
- package/dist/types/openui/parser/tokenizer.d.ts +9 -0
- package/dist/types/openui/parser/types.d.ts +46 -0
- package/dist/types/openui/registry/button.d.ts +148 -0
- package/dist/types/openui/registry/data.d.ts +177 -0
- package/dist/types/openui/registry/form.d.ts +65 -0
- package/dist/types/openui/registry/format.d.ts +67 -0
- package/dist/types/openui/registry/index.d.ts +9 -0
- package/dist/types/openui/registry/layout.d.ts +45 -0
- package/dist/types/openui/registry/navigation.d.ts +149 -0
- package/dist/types/openui/registry/overlay.d.ts +56 -0
- package/dist/types/openui/registry/typography.d.ts +17 -0
- package/dist/types/openui/renderer/action-context.d.ts +24 -0
- package/dist/types/openui/renderer/node-resolver.d.ts +9 -0
- package/dist/types/openui/renderer/openui-renderer.d.ts +32 -0
- package/dist/types/openui/renderer/skeleton.d.ts +2 -0
- package/dist/types/openui/streaming/from-fetch.d.ts +7 -0
- package/dist/types/openui/streaming/from-sse.d.ts +7 -0
- package/dist/types/openui/streaming/from-websocket.d.ts +10 -0
- package/dist/types/openui/streaming/types.d.ts +5 -0
- package/dist/types/tailwind/preset.d.ts +25 -4
- package/dist/types/tailwind/vite-plugin.d.ts +17 -5
- package/dist/types/tokens/colors.d.ts +87 -9
- package/dist/types/tokens/index.d.ts +7 -6
- package/dist/{ur-DBst-TXc.js → ur-Dls2qb4V.js} +1 -1
- package/dist/{ur-D9nLchps.cjs → ur-IRQoHh1E.cjs} +1 -1
- package/dist/use-form-BZ8vDYOv.cjs +2 -0
- package/dist/use-form-DsCzINfm.js +750 -0
- package/dist/utils-D3-NApSw.cjs +1 -0
- package/dist/utils-Nbh7yQ73.js +105 -0
- package/dist/{vi-Dg1aiMr5.cjs → vi-Bi9SvVCP.cjs} +1 -1
- package/dist/{vi-DQOJp32U.js → vi-C3mTzj50.js} +1 -1
- package/dist/widget-customization-BV6XB2v_.cjs +1 -0
- package/dist/widget-customization-Bso45ONQ.js +1198 -0
- package/dist/{zh-DPK4HXl2.js → zh-B4JRJBt2.js} +1 -1
- package/dist/{zh-tbwSTbmn.cjs → zh-BMU5rYu1.cjs} +1 -1
- package/package.json +31 -20
- package/dist/auth-divider-CjcrgXmq.cjs +0 -1
- package/dist/custom-validation-7por5nJN.js +0 -488
- package/dist/custom-validation-CLscGHY4.cjs +0 -1
- package/dist/deep-merge-D90SW1Ci.cjs +0 -1
- package/dist/deep-merge-DT2H9AGq.js +0 -1765
- package/dist/duration-input-4AQnQpyo.cjs +0 -1
- package/dist/menu-B60Q9j3-.cjs +0 -1
- package/dist/menu-BkqFGcXg.js +0 -366
- package/dist/notice-CQGJyZ8o.js +0 -211
- package/dist/notice-p2IqXS5-.cjs +0 -1
- package/dist/oneof-branch-detection-xDDDdYRk.cjs +0 -1
- package/dist/use-form-8NnZ-KHk.js +0 -1090
- package/dist/use-form-Dcra7GeE.cjs +0 -2
- package/dist/utils-DmEuG3Np.cjs +0 -1
- package/dist/utils-vUtP6iPG.js +0 -165
- package/dist/widget-customization-BIBva3f-.js +0 -1458
- package/dist/widget-customization-pqmtsraC.cjs +0 -1
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { html as p, attr as f, Empty as Z, MapSignal as B, Fragment as P, Value as x, computedOf as M, When as Ke, prop as Je, WithElement as Ze, OnDispose as He } from "@tempots/dom";
|
|
2
2
|
import { upperCaseFirst as H, humanize as Xe, objectEntries as Ye, Validation as re } from "@tempots/std";
|
|
3
|
-
import { c as b, b as ie, F as W
|
|
4
|
-
import {
|
|
5
|
-
import { T as
|
|
6
|
-
import { N as
|
|
7
|
-
import { B as
|
|
8
|
-
import {
|
|
3
|
+
import { c as b, b as ie, F as W } from "../control-hqEuMzyI.js";
|
|
4
|
+
import { b as X, c as de, U as Qe, N as et, a as tt, L as fe, e as nt, f as rt } from "../deep-merge-8fwp1z4X.js";
|
|
5
|
+
import { T as it } from "../text-input-ByuxdX8w.js";
|
|
6
|
+
import { N as st, a as me, T as at, b as ye, c as ut, G as ot, S as ct } from "../text-area-Br83-_PQ.js";
|
|
7
|
+
import { N as lt, B as pt, D as dt, a as ft, P as mt, b as yt, c as gt, d as ht, e as bt, F as vt } from "../duration-input-ZQlcqdXU.js";
|
|
8
|
+
import { B as U } from "../input-container-DCS5oJ4S.js";
|
|
9
|
+
import { L as ge, S as K, M as xt } from "../stack-BLMteGTn.js";
|
|
10
|
+
import { a as $t, O as se, A as G, b as Tt } from "../use-form-DsCzINfm.js";
|
|
9
11
|
function It(e) {
|
|
10
12
|
return e === "int64" || e === "int128" || e === "uint64" || e === "uint128";
|
|
11
13
|
}
|
|
@@ -24,7 +26,7 @@ function Q(e) {
|
|
|
24
26
|
function jt(e) {
|
|
25
27
|
return e === "string" || e === "boolean" || e === "null" || wt(e) || Q(e) || e === "uuid" || e === "uri" || e === "binary";
|
|
26
28
|
}
|
|
27
|
-
function
|
|
29
|
+
function tr(e) {
|
|
28
30
|
return e === "object" || e === "array" || e === "set" || e === "map" || e === "tuple" || e === "choice" || e === "any";
|
|
29
31
|
}
|
|
30
32
|
function O(e) {
|
|
@@ -109,7 +111,7 @@ function N(e, t) {
|
|
|
109
111
|
return;
|
|
110
112
|
}
|
|
111
113
|
}
|
|
112
|
-
function
|
|
114
|
+
function nr(e, t) {
|
|
113
115
|
return N(e.$ref, t);
|
|
114
116
|
}
|
|
115
117
|
class Rt {
|
|
@@ -460,7 +462,7 @@ function oe(e) {
|
|
|
460
462
|
function qt(e) {
|
|
461
463
|
return [...new Set(e)];
|
|
462
464
|
}
|
|
463
|
-
function
|
|
465
|
+
function rr(e) {
|
|
464
466
|
const t = te(e);
|
|
465
467
|
return {
|
|
466
468
|
resolve: (n) => (t.reset(), Te(n, e))
|
|
@@ -493,7 +495,7 @@ function Ie({
|
|
|
493
495
|
controller: t
|
|
494
496
|
}) {
|
|
495
497
|
const n = Et(e);
|
|
496
|
-
return b(
|
|
498
|
+
return b(it, {
|
|
497
499
|
...n,
|
|
498
500
|
controller: X(t)
|
|
499
501
|
});
|
|
@@ -517,7 +519,7 @@ function we({
|
|
|
517
519
|
return e.isNullable ? b(ie, {
|
|
518
520
|
...n,
|
|
519
521
|
controller: t,
|
|
520
|
-
after:
|
|
522
|
+
after: st(
|
|
521
523
|
t.signal,
|
|
522
524
|
t.disabled,
|
|
523
525
|
(s) => t.change(s)
|
|
@@ -582,10 +584,10 @@ function Se({
|
|
|
582
584
|
}) {
|
|
583
585
|
if (It(n)) {
|
|
584
586
|
const s = Bt(e, n);
|
|
585
|
-
return e.isNullable ? b(
|
|
587
|
+
return e.isNullable ? b(lt, {
|
|
586
588
|
...s,
|
|
587
589
|
controller: t
|
|
588
|
-
}) : b(
|
|
590
|
+
}) : b(pt, {
|
|
589
591
|
...s,
|
|
590
592
|
controller: t
|
|
591
593
|
});
|
|
@@ -594,7 +596,7 @@ function Se({
|
|
|
594
596
|
return e.isNullable ? b(de, {
|
|
595
597
|
...r,
|
|
596
598
|
controller: t
|
|
597
|
-
}) : b(
|
|
599
|
+
}) : b(me, {
|
|
598
600
|
...r,
|
|
599
601
|
controller: t
|
|
600
602
|
});
|
|
@@ -632,7 +634,7 @@ function De({
|
|
|
632
634
|
return e.isNullable ? b(de, {
|
|
633
635
|
...r,
|
|
634
636
|
controller: t
|
|
635
|
-
}) : b(
|
|
637
|
+
}) : b(me, {
|
|
636
638
|
...r,
|
|
637
639
|
controller: t
|
|
638
640
|
});
|
|
@@ -651,7 +653,7 @@ function Ae({
|
|
|
651
653
|
controller: t
|
|
652
654
|
}) {
|
|
653
655
|
const n = _t(e);
|
|
654
|
-
return b(
|
|
656
|
+
return b(Qe, {
|
|
655
657
|
...n,
|
|
656
658
|
controller: X(t)
|
|
657
659
|
});
|
|
@@ -672,34 +674,34 @@ function Oe({
|
|
|
672
674
|
const r = zt(e);
|
|
673
675
|
switch (n) {
|
|
674
676
|
case "date":
|
|
675
|
-
return e.isNullable ? b(
|
|
677
|
+
return e.isNullable ? b(ht, {
|
|
676
678
|
...r,
|
|
677
679
|
controller: t
|
|
678
|
-
}) : b(
|
|
680
|
+
}) : b(bt, {
|
|
679
681
|
...r,
|
|
680
682
|
controller: t
|
|
681
683
|
});
|
|
682
684
|
case "datetime":
|
|
683
|
-
return e.isNullable ? b(
|
|
685
|
+
return e.isNullable ? b(yt, {
|
|
684
686
|
...r,
|
|
685
687
|
controller: t
|
|
686
|
-
}) : b(
|
|
688
|
+
}) : b(gt, {
|
|
687
689
|
...r,
|
|
688
690
|
controller: t
|
|
689
691
|
});
|
|
690
692
|
case "time":
|
|
691
|
-
return e.isNullable ? b(
|
|
693
|
+
return e.isNullable ? b(ft, {
|
|
692
694
|
...r,
|
|
693
695
|
controller: t
|
|
694
|
-
}) : b(
|
|
696
|
+
}) : b(mt, {
|
|
695
697
|
...r,
|
|
696
698
|
controller: t
|
|
697
699
|
});
|
|
698
700
|
case "duration":
|
|
699
|
-
return e.isNullable ? b(
|
|
701
|
+
return e.isNullable ? b(et, {
|
|
700
702
|
...r,
|
|
701
703
|
controller: t
|
|
702
|
-
}) : b(
|
|
704
|
+
}) : b(dt, {
|
|
703
705
|
...r,
|
|
704
706
|
controller: t
|
|
705
707
|
});
|
|
@@ -721,7 +723,7 @@ function Ce({
|
|
|
721
723
|
controller: t
|
|
722
724
|
}) {
|
|
723
725
|
const n = Gt(e);
|
|
724
|
-
return b(
|
|
726
|
+
return b(tt, {
|
|
725
727
|
...n,
|
|
726
728
|
controller: X(t)
|
|
727
729
|
});
|
|
@@ -739,7 +741,7 @@ function Ne({
|
|
|
739
741
|
controller: t
|
|
740
742
|
}) {
|
|
741
743
|
const n = Kt(e);
|
|
742
|
-
return b(
|
|
744
|
+
return b(vt, {
|
|
743
745
|
...n,
|
|
744
746
|
controller: t
|
|
745
747
|
});
|
|
@@ -773,7 +775,7 @@ function J({
|
|
|
773
775
|
controller: t
|
|
774
776
|
}) {
|
|
775
777
|
const n = Jt(e);
|
|
776
|
-
return b(
|
|
778
|
+
return b(at, {
|
|
777
779
|
...n,
|
|
778
780
|
controller: Zt(t)
|
|
779
781
|
});
|
|
@@ -920,7 +922,7 @@ function ke({
|
|
|
920
922
|
if (n.type !== "array" || !("items" in n))
|
|
921
923
|
return console.warn("StructureArrayControl requires an ArrayTypeDefinition"), p.div("Invalid array definition");
|
|
922
924
|
const r = n.items, s = n.minItems ?? 0, a = n.maxItems ?? 1 / 0, u = M(t.signal)((o) => (o?.length ?? 0) < a), i = M(t.signal)((o) => (o?.length ?? 0) > s);
|
|
923
|
-
return
|
|
925
|
+
return fe({
|
|
924
926
|
...q(e),
|
|
925
927
|
controller: t,
|
|
926
928
|
createItem: () => R(r),
|
|
@@ -956,7 +958,7 @@ function Fe({
|
|
|
956
958
|
}
|
|
957
959
|
return y;
|
|
958
960
|
});
|
|
959
|
-
return
|
|
961
|
+
return fe({
|
|
960
962
|
...q(e),
|
|
961
963
|
controller: t,
|
|
962
964
|
createItem: () => R(r),
|
|
@@ -1265,7 +1267,7 @@ function Le({
|
|
|
1265
1267
|
s
|
|
1266
1268
|
);
|
|
1267
1269
|
t.change(w);
|
|
1268
|
-
}, I = new
|
|
1270
|
+
}, I = new $t(
|
|
1269
1271
|
[...t.path, x.get(m)],
|
|
1270
1272
|
T,
|
|
1271
1273
|
v,
|
|
@@ -1304,7 +1306,7 @@ function Ee({
|
|
|
1304
1306
|
controller: t
|
|
1305
1307
|
}) {
|
|
1306
1308
|
const n = rn(e);
|
|
1307
|
-
return
|
|
1309
|
+
return ut({
|
|
1308
1310
|
...n,
|
|
1309
1311
|
options: (e.enumValues ?? []).map((r) => ({
|
|
1310
1312
|
type: "value",
|
|
@@ -1322,7 +1324,7 @@ function Ve({
|
|
|
1322
1324
|
Ze(() => {
|
|
1323
1325
|
x.get(t.signal) !== e.constValue && t.change(e.constValue);
|
|
1324
1326
|
}),
|
|
1325
|
-
|
|
1327
|
+
ot(xt(e.label, ": "), ge(String(e.constValue)))
|
|
1326
1328
|
);
|
|
1327
1329
|
}
|
|
1328
1330
|
function sn(e) {
|
|
@@ -1512,7 +1514,7 @@ function dn({
|
|
|
1512
1514
|
s = r;
|
|
1513
1515
|
else
|
|
1514
1516
|
return console.warn("StructureUnionControl called with non-array type"), D({ ctx: e, controller: t });
|
|
1515
|
-
const a = s.includes("null"), u = ee(r), i = a && u.length > 0 ? u : s, o = cn(i), c = new
|
|
1517
|
+
const a = s.includes("null"), u = ee(r), i = a && u.length > 0 ? u : s, o = cn(i), c = new nt(
|
|
1516
1518
|
t.path,
|
|
1517
1519
|
t.change,
|
|
1518
1520
|
t.signal,
|
|
@@ -2029,7 +2031,7 @@ class gn {
|
|
|
2029
2031
|
), !0;
|
|
2030
2032
|
}
|
|
2031
2033
|
}
|
|
2032
|
-
function
|
|
2034
|
+
function ir(e, t, n) {
|
|
2033
2035
|
return Ue(e, n).validate(t);
|
|
2034
2036
|
}
|
|
2035
2037
|
function hn(e, t) {
|
|
@@ -2208,7 +2210,7 @@ function wn(e) {
|
|
|
2208
2210
|
const t = e.expected;
|
|
2209
2211
|
return t && t.length <= 5 ? `Must be one of: ${t.map((r) => JSON.stringify(r)).join(", ")}` : "Invalid value";
|
|
2210
2212
|
}
|
|
2211
|
-
function
|
|
2213
|
+
function sr(e) {
|
|
2212
2214
|
const t = /* @__PURE__ */ new Map();
|
|
2213
2215
|
for (const n of e) {
|
|
2214
2216
|
const r = t.get(n.path) ?? [];
|
|
@@ -2216,13 +2218,13 @@ function rr(e) {
|
|
|
2216
2218
|
}
|
|
2217
2219
|
return t;
|
|
2218
2220
|
}
|
|
2219
|
-
function
|
|
2221
|
+
function ar(e, t) {
|
|
2220
2222
|
return e.filter((n) => n.path === t);
|
|
2221
2223
|
}
|
|
2222
|
-
function
|
|
2224
|
+
function ur(e, t) {
|
|
2223
2225
|
return e.some((n) => n.path === t);
|
|
2224
2226
|
}
|
|
2225
|
-
function
|
|
2227
|
+
function or(e, t) {
|
|
2226
2228
|
const n = t === "" ? "/" : `${t}/`;
|
|
2227
2229
|
return e.filter((r) => r.path.startsWith(n));
|
|
2228
2230
|
}
|
|
@@ -2299,13 +2301,13 @@ let V = null;
|
|
|
2299
2301
|
function L() {
|
|
2300
2302
|
return V || (V = new z()), V;
|
|
2301
2303
|
}
|
|
2302
|
-
function
|
|
2304
|
+
function cr(e) {
|
|
2303
2305
|
V = e;
|
|
2304
2306
|
}
|
|
2305
|
-
function
|
|
2307
|
+
function lr(e) {
|
|
2306
2308
|
return new z(e);
|
|
2307
2309
|
}
|
|
2308
|
-
function
|
|
2310
|
+
function pr(e, t, n) {
|
|
2309
2311
|
return {
|
|
2310
2312
|
name: `type:${e}`,
|
|
2311
2313
|
registration: {
|
|
@@ -2318,7 +2320,7 @@ function cr(e, t, n) {
|
|
|
2318
2320
|
}
|
|
2319
2321
|
};
|
|
2320
2322
|
}
|
|
2321
|
-
function
|
|
2323
|
+
function dr(e, t, n) {
|
|
2322
2324
|
return {
|
|
2323
2325
|
name: `format:${e}`,
|
|
2324
2326
|
registration: {
|
|
@@ -2332,7 +2334,7 @@ function lr(e, t, n) {
|
|
|
2332
2334
|
}
|
|
2333
2335
|
};
|
|
2334
2336
|
}
|
|
2335
|
-
function
|
|
2337
|
+
function fr(e, t, n, r) {
|
|
2336
2338
|
return {
|
|
2337
2339
|
name: `type:${e}:format:${t}`,
|
|
2338
2340
|
registration: {
|
|
@@ -2347,7 +2349,7 @@ function pr(e, t, n, r) {
|
|
|
2347
2349
|
}
|
|
2348
2350
|
};
|
|
2349
2351
|
}
|
|
2350
|
-
function
|
|
2352
|
+
function mr(e, t, n, r) {
|
|
2351
2353
|
return {
|
|
2352
2354
|
name: e,
|
|
2353
2355
|
registration: {
|
|
@@ -2369,7 +2371,7 @@ function jn(e, t) {
|
|
|
2369
2371
|
}
|
|
2370
2372
|
return L().findBestWidget(e);
|
|
2371
2373
|
}
|
|
2372
|
-
function
|
|
2374
|
+
function yr(e) {
|
|
2373
2375
|
const t = e.definition, n = {};
|
|
2374
2376
|
if (typeof t == "object" && "x:ui" in t) {
|
|
2375
2377
|
const r = t["x:ui"];
|
|
@@ -2397,10 +2399,10 @@ function We(e) {
|
|
|
2397
2399
|
return n.type;
|
|
2398
2400
|
}
|
|
2399
2401
|
}
|
|
2400
|
-
function
|
|
2402
|
+
function gr(e) {
|
|
2401
2403
|
return We(e) !== void 0;
|
|
2402
2404
|
}
|
|
2403
|
-
function
|
|
2405
|
+
function hr(e, t) {
|
|
2404
2406
|
const n = We(e);
|
|
2405
2407
|
if (n) {
|
|
2406
2408
|
if (t) {
|
|
@@ -2418,7 +2420,7 @@ function yr(e, t) {
|
|
|
2418
2420
|
}
|
|
2419
2421
|
return jn(e, t);
|
|
2420
2422
|
}
|
|
2421
|
-
function
|
|
2423
|
+
function br(e, t, n) {
|
|
2422
2424
|
return {
|
|
2423
2425
|
...e,
|
|
2424
2426
|
...t,
|
|
@@ -2627,7 +2629,7 @@ function Mn(e = L()) {
|
|
|
2627
2629
|
function Sn(e = L()) {
|
|
2628
2630
|
return e.has("string") && e.has("object") && e.has("array");
|
|
2629
2631
|
}
|
|
2630
|
-
function
|
|
2632
|
+
function vr(e = L()) {
|
|
2631
2633
|
Sn(e) || Mn(e);
|
|
2632
2634
|
}
|
|
2633
2635
|
function Dn(e) {
|
|
@@ -2908,7 +2910,7 @@ function _n(e) {
|
|
|
2908
2910
|
}
|
|
2909
2911
|
return Object.keys(a).length > 0 && (s.dependencies = a), re.invalid(s);
|
|
2910
2912
|
}
|
|
2911
|
-
function
|
|
2913
|
+
function xr({
|
|
2912
2914
|
schema: e,
|
|
2913
2915
|
initialValue: t,
|
|
2914
2916
|
validationMode: n,
|
|
@@ -2922,7 +2924,7 @@ function br({
|
|
|
2922
2924
|
}, l) {
|
|
2923
2925
|
const y = t !== void 0 ? x.get(t) : void 0, g = Dn(e);
|
|
2924
2926
|
let d;
|
|
2925
|
-
t === void 0 ? d = g ?? {} : c ? d =
|
|
2927
|
+
t === void 0 ? d = g ?? {} : c ? d = rt(
|
|
2926
2928
|
g,
|
|
2927
2929
|
y
|
|
2928
2930
|
) : d = y;
|
|
@@ -2933,7 +2935,7 @@ function br({
|
|
|
2933
2935
|
o(E);
|
|
2934
2936
|
}
|
|
2935
2937
|
return _n(k);
|
|
2936
|
-
}, { controller: v, setStatus: T } =
|
|
2938
|
+
}, { controller: v, setStatus: T } = Tt({
|
|
2937
2939
|
initialValue: d,
|
|
2938
2940
|
validationMode: m,
|
|
2939
2941
|
validateDebounceMs: r,
|
|
@@ -2956,41 +2958,41 @@ function br({
|
|
|
2956
2958
|
export {
|
|
2957
2959
|
z as DefaultWidgetRegistry,
|
|
2958
2960
|
_ as INTEGER_BOUNDS,
|
|
2959
|
-
|
|
2961
|
+
xr as JSONStructureForm,
|
|
2960
2962
|
Rt as RefResolver,
|
|
2961
2963
|
ne as StructureContext,
|
|
2962
2964
|
fn as StructureControl,
|
|
2963
2965
|
D as StructureGenericControl,
|
|
2964
|
-
|
|
2966
|
+
rr as createExtendsResolver,
|
|
2965
2967
|
te as createRefResolver,
|
|
2966
2968
|
kt as createStructureContext,
|
|
2967
2969
|
Ue as createValidator,
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
+
lr as createWidgetRegistry,
|
|
2971
|
+
vr as ensureDefaultWidgets,
|
|
2970
2972
|
Dn as extractStructureDefaults,
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2973
|
+
dr as forFormat,
|
|
2974
|
+
mr as forMatcher,
|
|
2975
|
+
pr as forType,
|
|
2976
|
+
fr as forTypeAndFormat,
|
|
2975
2977
|
hn as formatValidationError,
|
|
2976
2978
|
Be as formatValidationErrors,
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
+
or as getChildErrors,
|
|
2980
|
+
ar as getErrorsForPath,
|
|
2979
2981
|
We as getExplicitWidgetName,
|
|
2980
2982
|
L as getGlobalWidgetRegistry,
|
|
2981
2983
|
ee as getNonNullTypes,
|
|
2982
2984
|
ae as getResolvedType,
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
+
yr as getWidgetOptions,
|
|
2986
|
+
sr as groupErrorsByPath,
|
|
2985
2987
|
At as hasConstValue,
|
|
2986
|
-
|
|
2988
|
+
gr as hasCustomWidget,
|
|
2987
2989
|
Sn as hasDefaultWidgets,
|
|
2988
2990
|
Dt as hasEnumValue,
|
|
2989
|
-
|
|
2991
|
+
ur as hasErrorsAtPath,
|
|
2990
2992
|
he as isArrayTypeDefinition,
|
|
2991
2993
|
It as isBigIntType,
|
|
2992
2994
|
$e as isChoiceTypeDefinition,
|
|
2993
|
-
|
|
2995
|
+
tr as isCompoundType,
|
|
2994
2996
|
Y as isFloatType,
|
|
2995
2997
|
F as isIntegerType,
|
|
2996
2998
|
ve as isMapTypeDefinition,
|
|
@@ -3004,14 +3006,14 @@ export {
|
|
|
3004
3006
|
xe as isTupleTypeDefinition,
|
|
3005
3007
|
St as isTypeDefinition,
|
|
3006
3008
|
O as isTypeReference,
|
|
3007
|
-
|
|
3009
|
+
br as mergeWidgetOptions,
|
|
3008
3010
|
Ct as parseRefPath,
|
|
3009
3011
|
Mn as registerDefaultWidgets,
|
|
3010
3012
|
Te as resolveExtends,
|
|
3011
3013
|
N as resolveRef,
|
|
3012
|
-
|
|
3014
|
+
nr as resolveTypeReference,
|
|
3013
3015
|
jn as resolveWidget,
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3016
|
+
hr as resolveWidgetWithOverride,
|
|
3017
|
+
cr as setGlobalWidgetRegistry,
|
|
3018
|
+
ir as validate
|
|
3017
3019
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./translations-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./translations-D3xqZUTA.cjs"),r={loadingExtended:"로딩 중입니다. 잠시만 기다려 주세요",loadingShort:"로딩 중...",locale:"지역",iconDescription:"아이콘",loadingIcon:"로딩 아이콘",failedToLoadIcon:"아이콘 로드 실패",editLabel:"편집",selectOne:"하나 선택",selectNone:"없음",selectMany:"여러 개 선택",noResults:"결과 없음",passwordPlaceholderText:"비밀번호",togglePasswordVisibility:"비밀번호 표시 전환",toggleMenu:"메뉴 전환",toggleAside:"사이드 패널 전환",mainNavigation:"메인 네비게이션",sidebar:"사이드바",closeDrawer:"드로어 닫기",closeModal:"모달 닫기",confirm:"확인",cancel:"취소",addLabel:"추가",removeItem:"항목 제거",currentLocale:"한국어",ar:"아랍어",de:"독일어",en:"영어",es:"스페인어",fr:"프랑스어",hi:"힌디어",it:"이탈리아어",ja:"일본어",ko:"한국어",nl:"네덜란드어",pl:"폴란드어",pt:"포르투갈어",ru:"러시아어",tr:"터키어",vi:"베트남어",zh:"중국어",he:"히브리어",fa:"페르시아어",ur:"우르두어",emailPlaceholderText:"이메일을 입력하세요",incrementValue:"값 증가",decrementValue:"값 감소",dropZoneInstructions:e=>e?"클릭하여 선택하거나 파일을 여기로 드래그하세요, 또는 Enter 또는 Space 키를 눌러 파일 선택기를 여세요":"파일을 여기로 드래그하세요",fileSizeUnits:["바이트","KB","MB","GB","TB"],removeFile:"파일 제거",clearAllFiles:"모든 파일 지우기",clearValue:"값 지우기",dateRangeStart:"Start",dateRangeEnd:"End",dateRangeNoLimit:"No limit",dateRangeSelectDate:"Select date",unknownType:"알 수 없는 형식",filesInputInstructions:(e,t,l)=>{let o=(e==null||e>1,"클릭하여 선택하거나 파일을 여기로 드래그하세요");if(e||t){const n=[];if(e!=null&&e>1&&n.push(`최대 ${e}개 파일`),t&&l){const a=i.formatFileSize(t,{units:l});n.push(`각각 최대 ${a}`)}n.length>0&&(o+=` (${n.join(", ")})`)}return o},paginationLabel:"페이지네이션",paginationRange:(e,t,l,o)=>o>l?`${o}개 중 ${l}개의 ${e}~${t}행`:`${l}개 중 ${e}~${t}행`,firstPage:"첫 페이지",previousPage:"이전 페이지",nextPage:"다음 페이지",lastPage:"마지막 페이지",breadcrumbs:"탐색 경로",commandPalette:"명령 팔레트",typeACommand:"명령어를 입력하세요...",noResultsFound:"결과를 찾을 수 없음",noMatchingCommands:"일치하는 명령어 없음",appearanceSystem:"시스템",appearanceLight:"라이트",appearanceDark:"다크",ok:"OK",changeTypeConfirmation:"유형을 변경하면 현재 값이 지워집니다. 계속하시겠습니까?",notifications:"알림",markAllAsRead:"모두 읽음으로 표시",noNotifications:"알림 없음",schemaConflictsDetected:"스키마 충돌 감지됨",schemaViolationsDetected:"스키마 위반 감지됨",properties:"속성",uploading:"업로드 중...",dropFilesOrBrowse:"파일을 여기에 놓거나 클릭하여 찾아보기",acceptedTypes:e=>`허용 형식: ${e}`,enterUrlPrompt:"URL 입력:",exceeded:"(초과)",pdfPreview:"PDF 미리보기",lexical:{fontFamily:"글꼴",fontSize:"글꼴 크기",lineHeight:"줄 높이",fontColor:"글꼴 색상",highlightColor:"강조 색상",backgroundColor:"배경 색상",bold:"굵게",italic:"기울임꼴",underline:"밑줄",strikethrough:"취소선",code:"코드",clearFormatting:"서식 지우기",normal:"본문",heading:e=>`제목 ${e}`,bulletList:"글머리 기호 목록",orderedList:"번호 매기기 목록",checkList:"체크리스트",indent:"들여쓰기",outdent:"내어쓰기",blockquote:"인용문",codeBlock:"코드 블록",horizontalRule:"가로줄",insertTable:"표 삽입",link:"링크",undo:"실행 취소",redo:"다시 실행",cut:"잘라내기",copy:"복사",paste:"붙여넣기",defaultOption:"기본값",slashCommands:"슬래시 명령어",noCommandsFound:"명령어를 찾을 수 없음",changeBlockType:"블록 유형 변경",blockTypes:"블록 유형",enterUrl:"URL 입력:",tableActions:"Table actions",insertRowAbove:"Insert row above",insertRowBelow:"Insert row below",insertColumnLeft:"Insert column left",insertColumnRight:"Insert column right",deleteRow:"Delete row",deleteColumn:"Delete column",deleteTable:"Delete table"},dataTable:{sortAscending:"오름차순 정렬",sortDescending:"내림차순 정렬",clearSort:"정렬 해제",filterPlaceholder:"필터...",clearFilter:"필터 해제",selectAll:"모두 선택",deselectAll:"모두 선택 해제",selectedCount:e=>`${e}개 선택됨`,resetAll:"모두 초기화",noResults:"결과를 찾을 수 없습니다",loading:"로딩 중...",filterPanelAddCondition:"조건 추가",filterPanelApply:"적용",filterPanelClear:"필터 지우기",filterPanelAnd:"그리고",filterPanelOr:"또는",filterPanelContains:"포함",filterPanelNotContains:"포함하지 않음",filterPanelEquals:"같음",filterPanelNotEquals:"같지 않음",filterPanelStartsWith:"시작 문자",filterPanelEndsWith:"끝 문자",filterPanelIsNull:"비어 있음",filterPanelIsNotNull:"비어 있지 않음",filterPanelGt:"보다 큼",filterPanelGte:"크거나 같음",filterPanelLt:"보다 작음",filterPanelLte:"작거나 같음",filterPanelBetween:"사이",filterPanelValuePlaceholder:"값...",sortMultiHint:"Shift를 누른 채로 여러 열 정렬",columnVisibility:"열",showAllColumns:"모두 표시",menuSortAsc:"오름차순 정렬",menuSortDesc:"내림차순 정렬",menuClearSort:"정렬 지우기",menuHideColumn:"열 숨기기",menuChooseColumns:"열 선택",menuResetColumns:"열 초기화",menuFilter:"필터",rowCount:(e,t)=>`행: ${e} 전체 행: ${t}`,filterTagsPlaceholder:"값 선택...",groupCount:e=>`${e}개 항목`,collapseGroup:"그룹 접기",expandGroup:"그룹 펼치기",describeFilter:{textContains:(e,t)=>`${e} "${t}" 포함`,textNotContains:(e,t)=>`${e} "${t}" 미포함`,textEquals:(e,t)=>`${e} "${t}"와 같음`,textNotEquals:(e,t)=>`${e} "${t}"와 다름`,textStartsWith:(e,t)=>`${e} "${t}"로 시작`,textEndsWith:(e,t)=>`${e} "${t}"로 끝남`,compareEq:(e,t)=>`${e} = ${t}`,compareNeq:(e,t)=>`${e} ≠ ${t}`,compareGt:(e,t)=>`${e} > ${t}`,compareGte:(e,t)=>`${e} ≥ ${t}`,compareLt:(e,t)=>`${e} < ${t}`,compareLte:(e,t)=>`${e} ≤ ${t}`,rangeBetween:(e,t,l)=>`${e} ${t} ~ ${l} 사이`,rangeGte:(e,t)=>`${e} ≥ ${t}`,rangeLte:(e,t)=>`${e} ≤ ${t}`,setIn:(e,t)=>`${e} [${t}] 중 포함`,setNotIn:(e,t)=>`${e} [${t}] 중 미포함`,booleanIs:(e,t)=>`${e} ${t}`,isNull:e=>`${e} 비어있음`,isNotNull:e=>`${e} 비어있지 않음`,compositeAnd:e=>e.join(" 그리고 "),compositeOr:e=>e.join(" 또는 ")}},prosemirror:{bold:"Bold",italic:"Italic",code:"Code",link:"Link",removeLink:"Remove Link",heading:e=>`Heading ${e}`,bulletList:"Bullet List",orderedList:"Ordered List",blockquote:"Blockquote",codeBlock:"Code Block",horizontalRule:"Horizontal Rule",linkUrlPlaceholder:"https://example.com"},carousel:{label:"캐러셀",previousSlide:"이전 슬라이드",nextSlide:"다음 슬라이드",slideNavigation:"슬라이드 탐색",slideOfTotal:(e,t)=>`슬라이드 ${e} / ${t}`,goToSlide:e=>`슬라이드 ${e}(으)로 이동`},datePicker:{label:"날짜 선택기",previousYear:"이전 연도",previousMonth:"이전 월",selectMonth:"월 선택",selectYear:"연도 선택",nextMonth:"다음 월",nextYear:"다음 연도",previousYears:e=>`이전 ${e}년`,nextYears:e=>`다음 ${e}년`,dateRangePickerLabel:"날짜 범위 선택기",monthNames:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],shortMonthNames:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayNames:["일","월","화","수","목","금","토"]},timePicker:{label:"시간 선택기",hoursLabel:"HH",minutesLabel:"MM",secondsLabel:"SS",selectHours:"시간 선택",selectMinutes:"분 선택",selectSeconds:"초 선택",selectPeriod:"오전/오후 선택",nowLabel:"지금"},timeSelectTime:"시간 선택",dateTimeSelectDateTime:"날짜와 시간 선택",colorPicker:{hue:"색조",saturation:"채도",lightness:"밝기",alpha:"알파",red:"빨강",green:"초록",blue:"파랑",hex:"Hex",whiteness:"백색도",blackness:"흑색도",chroma:"채도(C)"},spotlight:{placeholder:"검색...",noResults:"결과를 찾을 수 없습니다",recentItems:"최근",close:"닫기"},virtualList:{listLabel:"스크롤 가능한 목록"},stepper:{step:"단계",stepOfTotal:(e,t)=>`${t}단계 중 ${e}단계`,completed:"완료됨",next:"다음",previous:"이전",complete:"완료"},sortableList:{dragHandle:"드래그하여 재정렬"},transferList:{available:"사용 가능",selected:"선택됨",moveRight:"선택됨으로 이동",moveLeft:"사용 가능으로 이동",moveAllRight:"모두 선택됨으로 이동",moveAllLeft:"모두 사용 가능으로 이동",searchAvailable:"사용 가능한 항목 검색…",searchSelected:"선택된 항목 검색…"},copyButton:{copied:"복사됨!",copyToClipboard:"클립보드에 복사"},numberStepper:{increment:"증가",decrement:"감소",value:"값"},statCard:{trendUp:"상승 추세",trendDown:"하락 추세",trendFlat:"변동 없음"},otpInputLabel:"일회용 비밀번호 입력",otpDigitLabel:(e,t)=>`${t}자리 중 ${e}번째`,scrollableGridView:"스크롤 가능한 그리드 보기",onboardingTour:{label:"가이드 투어",stepIndicator:(e,t)=>`단계 ${e} / ${t}`,skip:"건너뛰기",previous:"이전",next:"다음",finish:"완료"},searchPlaceholder:"검색",pdfPageViewer:{loading:"PDF 로딩 중...",loadFailed:"PDF 로드 실패",invalidPdf:"유효하지 않은 PDF 파일",pageOutOfRange:(e,t)=>`페이지 ${e}이(가) 범위를 벗어났습니다 (1-${t})`,renderFailed:"PDF 페이지 렌더링 실패"}};exports.default=r;
|