@moul-dev/ui 2026.8.22 → 2026.8.25
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/moul-ui.js
CHANGED
|
@@ -9830,19 +9830,33 @@ var sa = () => /* @__PURE__ */ a("svg", {
|
|
|
9830
9830
|
}
|
|
9831
9831
|
});
|
|
9832
9832
|
}), Z = {
|
|
9833
|
+
wrapper: {
|
|
9834
|
+
kVAEAm: "x1n2onr6",
|
|
9835
|
+
kzqmXN: "xh8yej3",
|
|
9836
|
+
kXHlph: "xw2csxc",
|
|
9837
|
+
$$css: !0
|
|
9838
|
+
},
|
|
9833
9839
|
table: {
|
|
9834
9840
|
kLvRdT: "x1mwwwfo",
|
|
9835
9841
|
kzqmXN: "xh8yej3",
|
|
9836
9842
|
k9WMMc: "x1yc453h",
|
|
9837
9843
|
kMv6JI: "xiqomwy",
|
|
9838
|
-
kGuDYH: "
|
|
9839
|
-
kLWn49: "
|
|
9844
|
+
kGuDYH: "x1aeuc3u",
|
|
9845
|
+
kLWn49: "xgxba3f",
|
|
9840
9846
|
kMwMTN: "xg95tmc",
|
|
9841
9847
|
$$css: !0
|
|
9842
9848
|
},
|
|
9849
|
+
tableFixed: {
|
|
9850
|
+
kPzzVL: "x140o2bo",
|
|
9851
|
+
$$css: !0
|
|
9852
|
+
},
|
|
9853
|
+
tableAuto: {
|
|
9854
|
+
kPzzVL: "x1drmoe9",
|
|
9855
|
+
$$css: !0
|
|
9856
|
+
},
|
|
9843
9857
|
header: {
|
|
9844
9858
|
kWkggS: "x5fgr2n",
|
|
9845
|
-
kt9PQ7: "
|
|
9859
|
+
kt9PQ7: "xso031l",
|
|
9846
9860
|
kfdmCh: "x1q0q8m5",
|
|
9847
9861
|
kL6WhQ: "x1v18ukl",
|
|
9848
9862
|
$$css: !0
|
|
@@ -9850,43 +9864,103 @@ var sa = () => /* @__PURE__ */ a("svg", {
|
|
|
9850
9864
|
headerSticky: {
|
|
9851
9865
|
kVAEAm: "x7wzq59",
|
|
9852
9866
|
k87sOh: "x13vifvy",
|
|
9853
|
-
kY2c9j: "
|
|
9867
|
+
kY2c9j: "x1n327nk",
|
|
9854
9868
|
kWkggS: "x5fgr2n",
|
|
9855
9869
|
$$css: !0
|
|
9856
9870
|
},
|
|
9857
|
-
|
|
9871
|
+
footer: {
|
|
9872
|
+
kWkggS: "x5fgr2n",
|
|
9873
|
+
kEafiO: "x178xt8z",
|
|
9874
|
+
kPef9Z: "x13fuv20",
|
|
9875
|
+
kLZC3w: "x1fg0z98",
|
|
9876
|
+
k63SB2: "x1fzl42d",
|
|
9877
|
+
kMwMTN: "x1v7ry6v",
|
|
9878
|
+
$$css: !0
|
|
9879
|
+
},
|
|
9880
|
+
footerSticky: {
|
|
9881
|
+
kVAEAm: "x7wzq59",
|
|
9882
|
+
krVfgx: "x1ey2m1c",
|
|
9883
|
+
kY2c9j: "x1n327nk",
|
|
9884
|
+
kWkggS: "x5fgr2n",
|
|
9885
|
+
$$css: !0
|
|
9886
|
+
},
|
|
9887
|
+
body: {
|
|
9888
|
+
kI3sdo: "x1a2a7pz",
|
|
9889
|
+
$$css: !0
|
|
9890
|
+
},
|
|
9891
|
+
row: {
|
|
9892
|
+
kt9PQ7: "xso031l",
|
|
9893
|
+
kfdmCh: "x1q0q8m5",
|
|
9894
|
+
kL6WhQ: "x1brjula",
|
|
9895
|
+
kWkggS: "x1h5uz63",
|
|
9896
|
+
k1ekBW: "xs2xxs2",
|
|
9897
|
+
kIyJzY: "xx6bhzk",
|
|
9898
|
+
kAMwcw: "xz4gly6",
|
|
9899
|
+
kXHXEI: "x4wkmsb",
|
|
9900
|
+
$$css: !0
|
|
9901
|
+
},
|
|
9902
|
+
rowHoverable: {
|
|
9903
|
+
kGzVvX: "xbretxu",
|
|
9904
|
+
$$css: !0
|
|
9905
|
+
},
|
|
9906
|
+
rowStriped: {
|
|
9907
|
+
k4cmCr: "x1gljcq2",
|
|
9908
|
+
$$css: !0
|
|
9909
|
+
},
|
|
9910
|
+
rowSelected: {
|
|
9911
|
+
kWkggS: "xh331vc",
|
|
9912
|
+
kMwMTN: "x14iy5nl",
|
|
9913
|
+
$$css: !0
|
|
9914
|
+
},
|
|
9915
|
+
rowInteractive: {
|
|
9916
|
+
kkrTdU: "x1ypdohk",
|
|
9917
|
+
$$css: !0
|
|
9918
|
+
},
|
|
9919
|
+
head: {
|
|
9858
9920
|
k8WAf4: "x18gkwj5",
|
|
9859
9921
|
kg3NbH: "x1ljgv6d",
|
|
9860
9922
|
k63SB2: "x2exjl7",
|
|
9861
|
-
kMwMTN: "
|
|
9923
|
+
kMwMTN: "x1v7ry6v",
|
|
9862
9924
|
kt9PQ7: "xso031l",
|
|
9863
9925
|
kfdmCh: "x1q0q8m5",
|
|
9864
9926
|
kL6WhQ: "x1v18ukl",
|
|
9865
9927
|
k9WMMc: "x1yc453h",
|
|
9928
|
+
kXLuUW: "xxymvpz",
|
|
9866
9929
|
kI3sdo: "x1a2a7pz",
|
|
9867
|
-
k7shQP: "x9v5kkp",
|
|
9868
|
-
kPJHz1: "x784prv",
|
|
9869
|
-
kiEn40: "x1bqaal",
|
|
9870
|
-
kZs9gx: "xbuov7c",
|
|
9871
9930
|
$$css: !0
|
|
9872
9931
|
},
|
|
9873
|
-
|
|
9874
|
-
|
|
9875
|
-
|
|
9932
|
+
headDense: {
|
|
9933
|
+
k8WAf4: "xewxmz1",
|
|
9934
|
+
kg3NbH: "x16ef216",
|
|
9935
|
+
kGuDYH: "x1gkok5h",
|
|
9876
9936
|
$$css: !0
|
|
9877
9937
|
},
|
|
9878
|
-
|
|
9879
|
-
|
|
9938
|
+
headSortable: {
|
|
9939
|
+
kkrTdU: "x1ypdohk",
|
|
9940
|
+
kfSwDN: "x87ps6o",
|
|
9941
|
+
kDPRdz: "x1yh0sam",
|
|
9942
|
+
kGzVvX: "xbretxu",
|
|
9880
9943
|
$$css: !0
|
|
9881
9944
|
},
|
|
9882
|
-
|
|
9945
|
+
headContent: {
|
|
9883
9946
|
k1xSpc: "x3nfvp2",
|
|
9884
9947
|
kGNEyG: "x6s0dn4",
|
|
9885
|
-
kjj79g: "x1qughib",
|
|
9886
9948
|
kOIVth: "xaampsd",
|
|
9887
9949
|
kzqmXN: "xh8yej3",
|
|
9888
9950
|
$$css: !0
|
|
9889
9951
|
},
|
|
9952
|
+
headContentAlignLeft: {
|
|
9953
|
+
kjj79g: "x1nhvcw1",
|
|
9954
|
+
$$css: !0
|
|
9955
|
+
},
|
|
9956
|
+
headContentAlignCenter: {
|
|
9957
|
+
kjj79g: "xl56j7k",
|
|
9958
|
+
$$css: !0
|
|
9959
|
+
},
|
|
9960
|
+
headContentAlignRight: {
|
|
9961
|
+
kjj79g: "x13a6bvl",
|
|
9962
|
+
$$css: !0
|
|
9963
|
+
},
|
|
9890
9964
|
sortIndicator: {
|
|
9891
9965
|
k1xSpc: "x3nfvp2",
|
|
9892
9966
|
kGNEyG: "x6s0dn4",
|
|
@@ -9901,72 +9975,105 @@ var sa = () => /* @__PURE__ */ a("svg", {
|
|
|
9901
9975
|
kMwMTN: "x1u51xqy",
|
|
9902
9976
|
$$css: !0
|
|
9903
9977
|
},
|
|
9904
|
-
|
|
9978
|
+
cell: {
|
|
9979
|
+
k8WAf4: "x18gkwj5",
|
|
9980
|
+
kg3NbH: "x1ljgv6d",
|
|
9981
|
+
kMwMTN: "x1heor9g",
|
|
9982
|
+
kXLuUW: "xxymvpz",
|
|
9905
9983
|
kI3sdo: "x1a2a7pz",
|
|
9906
9984
|
$$css: !0
|
|
9907
9985
|
},
|
|
9908
|
-
|
|
9909
|
-
|
|
9910
|
-
|
|
9911
|
-
|
|
9986
|
+
cellDense: {
|
|
9987
|
+
k8WAf4: "xewxmz1",
|
|
9988
|
+
kg3NbH: "x16ef216",
|
|
9989
|
+
kGuDYH: "x1gkok5h",
|
|
9990
|
+
$$css: !0
|
|
9991
|
+
},
|
|
9992
|
+
cellTabular: {
|
|
9993
|
+
kcqcaj: "xss6m8b",
|
|
9994
|
+
$$css: !0
|
|
9995
|
+
},
|
|
9996
|
+
alignLeft: {
|
|
9997
|
+
k9WMMc: "x1yc453h",
|
|
9998
|
+
$$css: !0
|
|
9999
|
+
},
|
|
10000
|
+
alignCenter: {
|
|
10001
|
+
k9WMMc: "x2b8uid",
|
|
10002
|
+
$$css: !0
|
|
10003
|
+
},
|
|
10004
|
+
alignRight: {
|
|
10005
|
+
k9WMMc: "xp4054r",
|
|
10006
|
+
$$css: !0
|
|
10007
|
+
},
|
|
10008
|
+
alignNumeric: {
|
|
10009
|
+
k9WMMc: "xp4054r",
|
|
10010
|
+
kcqcaj: "xss6m8b",
|
|
10011
|
+
$$css: !0
|
|
10012
|
+
},
|
|
10013
|
+
pinnedLeft: {
|
|
10014
|
+
kVAEAm: "x7wzq59",
|
|
10015
|
+
kLqNvP: "x1o0tod",
|
|
10016
|
+
kY2c9j: "xhtitgo",
|
|
9912
10017
|
kWkggS: "x1h5uz63",
|
|
9913
|
-
kI3sdo: "x1a2a7pz",
|
|
9914
|
-
kkrTdU: "xt0e3qv",
|
|
9915
|
-
k1ekBW: "xs2xxs2",
|
|
9916
|
-
kIyJzY: "xx6bhzk",
|
|
9917
|
-
kAMwcw: "xz4gly6",
|
|
9918
|
-
kXHXEI: "x4wkmsb",
|
|
9919
10018
|
$$css: !0
|
|
9920
10019
|
},
|
|
9921
|
-
|
|
9922
|
-
|
|
10020
|
+
pinnedRight: {
|
|
10021
|
+
kVAEAm: "x7wzq59",
|
|
10022
|
+
kt4wiu: "xtijo5x",
|
|
10023
|
+
kY2c9j: "xhtitgo",
|
|
10024
|
+
kWkggS: "x1h5uz63",
|
|
10025
|
+
kGVxlE: "x15x4my2",
|
|
9923
10026
|
$$css: !0
|
|
9924
10027
|
},
|
|
9925
|
-
|
|
9926
|
-
|
|
9927
|
-
|
|
10028
|
+
pinnedLeftHead: {
|
|
10029
|
+
kVAEAm: "x7wzq59",
|
|
10030
|
+
kLqNvP: "x1o0tod",
|
|
10031
|
+
kY2c9j: "x1x85hfe",
|
|
10032
|
+
kWkggS: "x5fgr2n",
|
|
9928
10033
|
$$css: !0
|
|
9929
10034
|
},
|
|
9930
|
-
|
|
9931
|
-
|
|
9932
|
-
|
|
9933
|
-
|
|
9934
|
-
|
|
10035
|
+
pinnedRightHead: {
|
|
10036
|
+
kVAEAm: "x7wzq59",
|
|
10037
|
+
kt4wiu: "xtijo5x",
|
|
10038
|
+
kY2c9j: "x1x85hfe",
|
|
10039
|
+
kWkggS: "x5fgr2n",
|
|
10040
|
+
kGVxlE: "x15x4my2",
|
|
9935
10041
|
$$css: !0
|
|
9936
10042
|
},
|
|
9937
|
-
|
|
9938
|
-
k8WAf4: "
|
|
10043
|
+
caption: {
|
|
10044
|
+
k8WAf4: "xewxmz1",
|
|
9939
10045
|
kg3NbH: "x1ljgv6d",
|
|
9940
|
-
|
|
9941
|
-
|
|
9942
|
-
|
|
9943
|
-
|
|
9944
|
-
kiEn40: "x1bqaal",
|
|
9945
|
-
kZs9gx: "xbuov7c",
|
|
10046
|
+
kGuDYH: "x1gkok5h",
|
|
10047
|
+
kMwMTN: "x1v7ry6v",
|
|
10048
|
+
k9WMMc: "x1yc453h",
|
|
10049
|
+
kV37R7: "xhdg8po",
|
|
9946
10050
|
$$css: !0
|
|
9947
10051
|
},
|
|
9948
|
-
|
|
9949
|
-
|
|
9950
|
-
|
|
9951
|
-
|
|
9952
|
-
|
|
10052
|
+
captionTop: {
|
|
10053
|
+
kV37R7: "xvd3k3c",
|
|
10054
|
+
$$css: !0
|
|
10055
|
+
},
|
|
10056
|
+
emptyCell: {
|
|
9953
10057
|
k8WAf4: "xn1dw51",
|
|
9954
10058
|
kg3NbH: "x1ljgv6d",
|
|
9955
10059
|
k9WMMc: "x2b8uid",
|
|
9956
10060
|
kMwMTN: "x1v7ry6v",
|
|
9957
|
-
kzqmXN: "xh8yej3",
|
|
9958
10061
|
$$css: !0
|
|
9959
10062
|
},
|
|
9960
|
-
|
|
9961
|
-
|
|
9962
|
-
kGNEyG: "x6s0dn4",
|
|
9963
|
-
kjj79g: "xl56j7k",
|
|
9964
|
-
kOIVth: "x1ozcn3f",
|
|
9965
|
-
k8WAf4: "xn1dw51",
|
|
10063
|
+
skeletonCell: {
|
|
10064
|
+
k8WAf4: "x18gkwj5",
|
|
9966
10065
|
kg3NbH: "x1ljgv6d",
|
|
9967
|
-
|
|
9968
|
-
|
|
10066
|
+
$$css: !0
|
|
10067
|
+
},
|
|
10068
|
+
skeletonBar: {
|
|
10069
|
+
kZKoxP: "x1v9usgg",
|
|
9969
10070
|
kzqmXN: "xh8yej3",
|
|
10071
|
+
kaIpWk: "xad61ir",
|
|
10072
|
+
kWkggS: "x1ulkl4u",
|
|
10073
|
+
kKVMdj: "x1ob6hld",
|
|
10074
|
+
k44tkh: "x18hd8ej",
|
|
10075
|
+
ko0y90: "xa4qsjk",
|
|
10076
|
+
kyAemX: "x4hg4is",
|
|
9970
10077
|
$$css: !0
|
|
9971
10078
|
}
|
|
9972
10079
|
}, Oa = () => /* @__PURE__ */ a("svg", {
|
|
@@ -9978,6 +10085,7 @@ var sa = () => /* @__PURE__ */ a("svg", {
|
|
|
9978
10085
|
fill: "none",
|
|
9979
10086
|
strokeLinecap: "round",
|
|
9980
10087
|
strokeLinejoin: "round",
|
|
10088
|
+
"aria-hidden": "true",
|
|
9981
10089
|
children: /* @__PURE__ */ a("path", { d: "M12 19V5M5 12l7-7 7 7" })
|
|
9982
10090
|
}), ka = () => /* @__PURE__ */ a("svg", {
|
|
9983
10091
|
viewBox: "0 0 24 24",
|
|
@@ -9988,6 +10096,7 @@ var sa = () => /* @__PURE__ */ a("svg", {
|
|
|
9988
10096
|
fill: "none",
|
|
9989
10097
|
strokeLinecap: "round",
|
|
9990
10098
|
strokeLinejoin: "round",
|
|
10099
|
+
"aria-hidden": "true",
|
|
9991
10100
|
children: /* @__PURE__ */ a("path", { d: "M12 5v14M5 12l7 7 7-7" })
|
|
9992
10101
|
}), Aa = () => /* @__PURE__ */ a("svg", {
|
|
9993
10102
|
viewBox: "0 0 24 24",
|
|
@@ -9999,128 +10108,151 @@ var sa = () => /* @__PURE__ */ a("svg", {
|
|
|
9999
10108
|
strokeLinecap: "round",
|
|
10000
10109
|
strokeLinejoin: "round",
|
|
10001
10110
|
opacity: "0.4",
|
|
10111
|
+
"aria-hidden": "true",
|
|
10002
10112
|
children: /* @__PURE__ */ a("path", { d: "M7 15l5 5 5-5M7 9l5-5 5 5" })
|
|
10003
|
-
}), ja = n.createContext({}), Ma = n.forwardRef(function({ style: e, className: r,
|
|
10004
|
-
let
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
10008
|
-
|
|
10113
|
+
}), ja = n.createContext({}), Ma = n.forwardRef(function({ style: e, className: r, dense: i = !1, striped: o = !1, hoverable: s = !0, stickyHeader: c = !1, layout: l = "auto", wrapInContainer: u = !0, containerStyle: d, containerClassName: f, children: p, ...m }, h) {
|
|
10114
|
+
let g = n.useMemo(() => ({
|
|
10115
|
+
dense: i,
|
|
10116
|
+
striped: o,
|
|
10117
|
+
hoverable: s,
|
|
10118
|
+
stickyHeader: c
|
|
10009
10119
|
}), [
|
|
10010
10120
|
i,
|
|
10011
10121
|
o,
|
|
10012
10122
|
s,
|
|
10013
10123
|
c
|
|
10014
|
-
])
|
|
10015
|
-
|
|
10016
|
-
|
|
10017
|
-
|
|
10018
|
-
|
|
10019
|
-
|
|
10020
|
-
|
|
10021
|
-
|
|
10022
|
-
return [n, r].filter(Boolean).join(" ");
|
|
10023
|
-
},
|
|
10024
|
-
style: () => {
|
|
10025
|
-
let { style: n } = t.props(Z.table, e);
|
|
10026
|
-
return n || {};
|
|
10027
|
-
},
|
|
10028
|
-
children: l
|
|
10124
|
+
]), { className: _, style: v } = t.props(Z.table, l === "fixed" ? Z.tableFixed : Z.tableAuto, e), y = [_, r].filter(Boolean).join(" "), b = /* @__PURE__ */ a(ja.Provider, {
|
|
10125
|
+
value: g,
|
|
10126
|
+
children: /* @__PURE__ */ a("table", {
|
|
10127
|
+
...m,
|
|
10128
|
+
ref: h,
|
|
10129
|
+
className: y || void 0,
|
|
10130
|
+
style: v,
|
|
10131
|
+
children: p
|
|
10029
10132
|
})
|
|
10030
10133
|
});
|
|
10134
|
+
if (!u) return b;
|
|
10135
|
+
let { className: x, style: S } = t.props(Z.wrapper, d);
|
|
10136
|
+
return /* @__PURE__ */ a("div", {
|
|
10137
|
+
className: [x, f].filter(Boolean).join(" ") || void 0,
|
|
10138
|
+
style: S,
|
|
10139
|
+
"data-moul-table-wrapper": "",
|
|
10140
|
+
children: b
|
|
10141
|
+
});
|
|
10031
10142
|
}), Na = n.forwardRef(function({ style: e, className: r, sticky: i, children: o, ...s }, c) {
|
|
10032
|
-
let
|
|
10033
|
-
return /* @__PURE__ */ a(
|
|
10143
|
+
let l = n.useContext(ja), u = i ?? l.stickyHeader, { className: d, style: f } = t.props(Z.header, u && Z.headerSticky, e);
|
|
10144
|
+
return /* @__PURE__ */ a("thead", {
|
|
10034
10145
|
...s,
|
|
10035
10146
|
ref: c,
|
|
10036
|
-
className: ()
|
|
10037
|
-
|
|
10038
|
-
return [n, r].filter(Boolean).join(" ");
|
|
10039
|
-
},
|
|
10040
|
-
style: () => {
|
|
10041
|
-
let { style: n } = t.props(Z.header, u && Z.headerSticky, e);
|
|
10042
|
-
return n || {};
|
|
10043
|
-
},
|
|
10147
|
+
className: [d, r].filter(Boolean).join(" ") || void 0,
|
|
10148
|
+
style: f,
|
|
10044
10149
|
children: o
|
|
10045
10150
|
});
|
|
10046
|
-
}), Pa = n.forwardRef(function({ style: e, className: n,
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
ref: c,
|
|
10050
|
-
className: (r) => {
|
|
10051
|
-
let { className: i } = t.props(Z.column, r.allowsSorting && Z.columnSortable, r.isHovered && Z.columnHovered, e);
|
|
10052
|
-
return [i, typeof n == "function" ? n(r) : n].filter(Boolean).join(" ");
|
|
10053
|
-
},
|
|
10054
|
-
style: (n) => {
|
|
10055
|
-
let { style: r } = t.props(Z.column, n.allowsSorting && Z.columnSortable, e);
|
|
10056
|
-
return r || {};
|
|
10057
|
-
},
|
|
10058
|
-
children: (e) => {
|
|
10059
|
-
let n = typeof i == "function" ? i(e) : i;
|
|
10060
|
-
return !e.allowsSorting || !r ? n : /* @__PURE__ */ o("div", {
|
|
10061
|
-
...t.props(Z.columnContent),
|
|
10062
|
-
children: [/* @__PURE__ */ a("span", { children: n }), /* @__PURE__ */ a("span", {
|
|
10063
|
-
"aria-hidden": "true",
|
|
10064
|
-
...t.props(Z.sortIndicator, e.sortDirection && Z.sortIndicatorActive),
|
|
10065
|
-
children: e.sortDirection === "ascending" ? /* @__PURE__ */ a(Oa, {}) : e.sortDirection === "descending" ? /* @__PURE__ */ a(ka, {}) : /* @__PURE__ */ a(Aa, {})
|
|
10066
|
-
})]
|
|
10067
|
-
});
|
|
10068
|
-
}
|
|
10069
|
-
});
|
|
10070
|
-
}), Fa = n.forwardRef(function({ style: e, className: r, isLoading: s, loadingState: c, emptyState: l, renderEmptyState: u, children: d, ...f }, p) {
|
|
10071
|
-
let m = n.useContext(ja), h = s ?? m.isLoading, g = c ?? m.loadingState, _ = l ?? m.emptyState, v = u || (h || _ ? () => h ? /* @__PURE__ */ a("div", {
|
|
10072
|
-
...t.props(Z.loadingState),
|
|
10073
|
-
children: g || /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(pn, {
|
|
10074
|
-
size: "md",
|
|
10075
|
-
"aria-label": "Loading table data..."
|
|
10076
|
-
}), /* @__PURE__ */ a("span", { children: "Loading data..." })] })
|
|
10077
|
-
}) : _ ? /* @__PURE__ */ a("div", {
|
|
10078
|
-
...t.props(Z.emptyState),
|
|
10079
|
-
children: _
|
|
10080
|
-
}) : null : void 0);
|
|
10081
|
-
return /* @__PURE__ */ a(Le, {
|
|
10082
|
-
...f,
|
|
10083
|
-
ref: p,
|
|
10084
|
-
renderEmptyState: v,
|
|
10085
|
-
className: () => {
|
|
10086
|
-
let { className: n } = t.props(Z.body, e);
|
|
10087
|
-
return [n, r].filter(Boolean).join(" ");
|
|
10088
|
-
},
|
|
10089
|
-
style: () => {
|
|
10090
|
-
let { style: n } = t.props(Z.body, e);
|
|
10091
|
-
return n || {};
|
|
10092
|
-
},
|
|
10093
|
-
children: d
|
|
10094
|
-
});
|
|
10095
|
-
}), Ia = n.forwardRef(function({ style: e, className: n, children: r, ...i }, o) {
|
|
10096
|
-
return /* @__PURE__ */ a(be, {
|
|
10151
|
+
}), Pa = n.forwardRef(function({ style: e, className: n, children: r, ...i }, o) {
|
|
10152
|
+
let { className: s, style: c } = t.props(Z.body, e);
|
|
10153
|
+
return /* @__PURE__ */ a("tbody", {
|
|
10097
10154
|
...i,
|
|
10098
10155
|
ref: o,
|
|
10099
|
-
className: (
|
|
10100
|
-
|
|
10101
|
-
return [i, n].filter(Boolean).join(" ");
|
|
10102
|
-
},
|
|
10103
|
-
style: (n) => {
|
|
10104
|
-
let { style: r } = t.props(Z.row, n.isHovered && Z.rowHovered, n.isSelected && Z.rowSelected, n.isFocused && Z.rowFocused, e);
|
|
10105
|
-
return r || {};
|
|
10106
|
-
},
|
|
10156
|
+
className: [s, n].filter(Boolean).join(" ") || void 0,
|
|
10157
|
+
style: c,
|
|
10107
10158
|
children: r
|
|
10108
10159
|
});
|
|
10109
|
-
}),
|
|
10110
|
-
|
|
10111
|
-
|
|
10112
|
-
|
|
10113
|
-
|
|
10114
|
-
|
|
10115
|
-
|
|
10160
|
+
}), Fa = n.forwardRef(function({ style: e, className: n, sticky: r, children: i, ...o }, s) {
|
|
10161
|
+
let { className: c, style: l } = t.props(Z.footer, r && Z.footerSticky, e);
|
|
10162
|
+
return /* @__PURE__ */ a("tfoot", {
|
|
10163
|
+
...o,
|
|
10164
|
+
ref: s,
|
|
10165
|
+
className: [c, n].filter(Boolean).join(" ") || void 0,
|
|
10166
|
+
style: l,
|
|
10167
|
+
children: i
|
|
10168
|
+
});
|
|
10169
|
+
}), Ia = n.forwardRef(function({ style: e, className: r, selected: i = !1, hoverable: o, interactive: s = !1, children: c, ...l }, u) {
|
|
10170
|
+
let d = n.useContext(ja), f = o ?? d.hoverable, { className: p, style: m } = t.props(Z.row, f && Z.rowHoverable, d.striped && Z.rowStriped, i && Z.rowSelected, s && Z.rowInteractive, e);
|
|
10171
|
+
return /* @__PURE__ */ a("tr", {
|
|
10172
|
+
...l,
|
|
10173
|
+
ref: u,
|
|
10174
|
+
"aria-selected": i ? "true" : void 0,
|
|
10175
|
+
className: [p, r].filter(Boolean).join(" ") || void 0,
|
|
10176
|
+
style: m,
|
|
10177
|
+
children: c
|
|
10178
|
+
});
|
|
10179
|
+
}), La = n.forwardRef(function({ style: e, className: r, align: i = "left", pinned: s, pinOffset: c, width: l, minWidth: u, maxWidth: d, sortDirection: f, onSort: p, showSortIndicator: m = !0, sortIndicator: h, children: g, onClick: _, onKeyDown: v, ...y }, b) {
|
|
10180
|
+
let x = n.useContext(ja), S = !!(p || f != null), C = f === "asc" || f === "ascending", ee = f === "desc" || f === "descending", w = C || ee, T = C ? "ascending" : ee ? "descending" : S ? "none" : void 0, te = s === "left" || s === "start", ne = s === "right" || s === "end", { className: re, style: E } = t.props(Z.head, x.dense && Z.headDense, S && Z.headSortable, i === "center" ? Z.alignCenter : i === "right" || i === "numeric" ? Z.alignRight : Z.alignLeft, te && Z.pinnedLeftHead, ne && Z.pinnedRightHead, e), ie = {};
|
|
10181
|
+
te && c !== void 0 ? ie.insetInlineStart = typeof c == "number" ? `${c}px` : c : ne && c !== void 0 && (ie.insetInlineEnd = typeof c == "number" ? `${c}px` : c), l !== void 0 && (ie.width = typeof l == "number" ? `${l}px` : l), u !== void 0 && (ie.minWidth = typeof u == "number" ? `${u}px` : u), d !== void 0 && (ie.maxWidth = typeof d == "number" ? `${d}px` : d);
|
|
10182
|
+
let ae = (e) => {
|
|
10183
|
+
_?.(e), S && p && !e.defaultPrevented && p();
|
|
10184
|
+
}, oe = (e) => {
|
|
10185
|
+
v?.(e), S && p && !e.defaultPrevented && (e.key === "Enter" || e.key === " ") && (e.preventDefault(), p());
|
|
10186
|
+
};
|
|
10187
|
+
return /* @__PURE__ */ a("th", {
|
|
10188
|
+
...y,
|
|
10189
|
+
ref: b,
|
|
10190
|
+
scope: y.scope || "col",
|
|
10191
|
+
"aria-sort": T,
|
|
10192
|
+
tabIndex: S ? 0 : y.tabIndex,
|
|
10193
|
+
onClick: ae,
|
|
10194
|
+
onKeyDown: oe,
|
|
10195
|
+
className: [re, r].filter(Boolean).join(" ") || void 0,
|
|
10196
|
+
style: {
|
|
10197
|
+
...E,
|
|
10198
|
+
...ie
|
|
10116
10199
|
},
|
|
10117
|
-
|
|
10118
|
-
|
|
10119
|
-
|
|
10200
|
+
children: S && m ? /* @__PURE__ */ o("div", {
|
|
10201
|
+
...t.props(Z.headContent, i === "center" ? Z.headContentAlignCenter : i === "right" || i === "numeric" ? Z.headContentAlignRight : Z.headContentAlignLeft),
|
|
10202
|
+
children: [/* @__PURE__ */ a("span", { children: g }), /* @__PURE__ */ a("span", {
|
|
10203
|
+
"aria-hidden": "true",
|
|
10204
|
+
...t.props(Z.sortIndicator, w && Z.sortIndicatorActive),
|
|
10205
|
+
children: h || a(C ? Oa : ee ? ka : Aa, {})
|
|
10206
|
+
})]
|
|
10207
|
+
}) : g
|
|
10208
|
+
});
|
|
10209
|
+
}), Ra = n.forwardRef(function({ style: e, className: r, align: i = "left", pinned: o, pinOffset: s, width: c, minWidth: l, maxWidth: u, tabular: d = !1, children: f, ...p }, m) {
|
|
10210
|
+
let h = n.useContext(ja), g = o === "left" || o === "start", _ = o === "right" || o === "end", { className: v, style: y } = t.props(Z.cell, h.dense && Z.cellDense, (d || i === "numeric") && Z.cellTabular, i === "center" ? Z.alignCenter : i === "right" || i === "numeric" ? Z.alignRight : Z.alignLeft, g && Z.pinnedLeft, _ && Z.pinnedRight, e), b = {};
|
|
10211
|
+
return g && s !== void 0 ? b.insetInlineStart = typeof s == "number" ? `${s}px` : s : _ && s !== void 0 && (b.insetInlineEnd = typeof s == "number" ? `${s}px` : s), c !== void 0 && (b.width = typeof c == "number" ? `${c}px` : c), l !== void 0 && (b.minWidth = typeof l == "number" ? `${l}px` : l), u !== void 0 && (b.maxWidth = typeof u == "number" ? `${u}px` : u), /* @__PURE__ */ a("td", {
|
|
10212
|
+
...p,
|
|
10213
|
+
ref: m,
|
|
10214
|
+
className: [v, r].filter(Boolean).join(" ") || void 0,
|
|
10215
|
+
style: {
|
|
10216
|
+
...y,
|
|
10217
|
+
...b
|
|
10120
10218
|
},
|
|
10121
|
-
children:
|
|
10219
|
+
children: f
|
|
10122
10220
|
});
|
|
10123
|
-
}),
|
|
10221
|
+
}), za = n.forwardRef(function({ style: e, className: n, side: r = "bottom", children: i, ...o }, s) {
|
|
10222
|
+
let { className: c, style: l } = t.props(Z.caption, r === "top" && Z.captionTop, e);
|
|
10223
|
+
return /* @__PURE__ */ a("caption", {
|
|
10224
|
+
...o,
|
|
10225
|
+
ref: s,
|
|
10226
|
+
className: [c, n].filter(Boolean).join(" ") || void 0,
|
|
10227
|
+
style: l,
|
|
10228
|
+
children: i
|
|
10229
|
+
});
|
|
10230
|
+
}), Ba = n.forwardRef(function({ colSpan: e = 1, style: n, cellStyle: r, className: i, cellClassName: o, children: s, ...c }, l) {
|
|
10231
|
+
let { className: u, style: d } = t.props(Z.emptyCell, r);
|
|
10232
|
+
return /* @__PURE__ */ a(Ia, {
|
|
10233
|
+
...c,
|
|
10234
|
+
ref: l,
|
|
10235
|
+
hoverable: !1,
|
|
10236
|
+
style: n,
|
|
10237
|
+
className: i,
|
|
10238
|
+
children: /* @__PURE__ */ a("td", {
|
|
10239
|
+
colSpan: e,
|
|
10240
|
+
className: [u, o].filter(Boolean).join(" ") || void 0,
|
|
10241
|
+
style: d,
|
|
10242
|
+
children: s
|
|
10243
|
+
})
|
|
10244
|
+
});
|
|
10245
|
+
});
|
|
10246
|
+
function Va({ rows: e = 5, columns: n = 4, style: r }) {
|
|
10247
|
+
return /* @__PURE__ */ a(i, { children: Array.from({ length: e }).map((e, i) => /* @__PURE__ */ a(Ia, {
|
|
10248
|
+
hoverable: !1,
|
|
10249
|
+
style: r,
|
|
10250
|
+
children: Array.from({ length: n }).map((e, n) => /* @__PURE__ */ a(Ra, { children: /* @__PURE__ */ a("div", { ...t.props(Z.skeletonBar) }) }, `skeleton-cell-${i}-${n}`))
|
|
10251
|
+
}, `skeleton-row-${i}`)) });
|
|
10252
|
+
}
|
|
10253
|
+
//#endregion
|
|
10254
|
+
//#region src/components/Tabs/Tabs.styles.ts
|
|
10255
|
+
var Q = {
|
|
10124
10256
|
container: {
|
|
10125
10257
|
k1xSpc: "x78zum5",
|
|
10126
10258
|
kOIVth: "xaampsd",
|
|
@@ -10310,11 +10442,11 @@ var sa = () => /* @__PURE__ */ a("svg", {
|
|
|
10310
10442
|
kzqmXN: "xh8yej3",
|
|
10311
10443
|
$$css: !0
|
|
10312
10444
|
}
|
|
10313
|
-
},
|
|
10445
|
+
}, Ha = n.createContext({
|
|
10314
10446
|
variant: "primary",
|
|
10315
10447
|
orientation: "horizontal"
|
|
10316
|
-
}),
|
|
10317
|
-
return /* @__PURE__ */ a(
|
|
10448
|
+
}), Ua = n.forwardRef(function({ variant: e = "primary", orientation: n = "horizontal", style: r, className: i, children: o, ...s }, c) {
|
|
10449
|
+
return /* @__PURE__ */ a(Ha.Provider, {
|
|
10318
10450
|
value: {
|
|
10319
10451
|
variant: e,
|
|
10320
10452
|
orientation: n
|
|
@@ -10334,8 +10466,8 @@ var sa = () => /* @__PURE__ */ a("svg", {
|
|
|
10334
10466
|
children: o
|
|
10335
10467
|
})
|
|
10336
10468
|
});
|
|
10337
|
-
}),
|
|
10338
|
-
let { variant: c } = n.useContext(
|
|
10469
|
+
}), Wa = n.forwardRef(function({ style: e, className: r, children: i, ...o }, s) {
|
|
10470
|
+
let { variant: c } = n.useContext(Ha);
|
|
10339
10471
|
return /* @__PURE__ */ a(Ne, {
|
|
10340
10472
|
...o,
|
|
10341
10473
|
ref: s,
|
|
@@ -10349,8 +10481,8 @@ var sa = () => /* @__PURE__ */ a("svg", {
|
|
|
10349
10481
|
},
|
|
10350
10482
|
children: i
|
|
10351
10483
|
});
|
|
10352
|
-
}),
|
|
10353
|
-
let { variant: u, orientation: d } = n.useContext(
|
|
10484
|
+
}), Ga = n.forwardRef(function({ style: e, className: r, children: s, ...c }, l) {
|
|
10485
|
+
let { variant: u, orientation: d } = n.useContext(Ha);
|
|
10354
10486
|
return /* @__PURE__ */ a(Me, {
|
|
10355
10487
|
...c,
|
|
10356
10488
|
ref: l,
|
|
@@ -10370,8 +10502,8 @@ var sa = () => /* @__PURE__ */ a("svg", {
|
|
|
10370
10502
|
};
|
|
10371
10503
|
})() })] }))
|
|
10372
10504
|
});
|
|
10373
|
-
}),
|
|
10374
|
-
let { orientation: c } = n.useContext(
|
|
10505
|
+
}), Ka = n.forwardRef(function({ style: e, className: r, children: i, ...o }, s) {
|
|
10506
|
+
let { orientation: c } = n.useContext(Ha), { className: l, style: u } = t.props(Q.tabPanels, c === "vertical" && Q.tabPanelsFlex, e);
|
|
10375
10507
|
return /* @__PURE__ */ a(Fe, {
|
|
10376
10508
|
...o,
|
|
10377
10509
|
ref: s,
|
|
@@ -10383,7 +10515,7 @@ var sa = () => /* @__PURE__ */ a("svg", {
|
|
|
10383
10515
|
style: u || {},
|
|
10384
10516
|
children: i
|
|
10385
10517
|
});
|
|
10386
|
-
}),
|
|
10518
|
+
}), qa = n.forwardRef(function({ style: e, className: n, children: r, ...i }, o) {
|
|
10387
10519
|
return /* @__PURE__ */ a(Pe, {
|
|
10388
10520
|
...i,
|
|
10389
10521
|
ref: o,
|
|
@@ -10633,10 +10765,10 @@ var sa = () => /* @__PURE__ */ a("svg", {
|
|
|
10633
10765
|
keoZOQ: "x1b0q8jg",
|
|
10634
10766
|
$$css: !0
|
|
10635
10767
|
}
|
|
10636
|
-
},
|
|
10637
|
-
function
|
|
10768
|
+
}, Ja = n.createContext(null);
|
|
10769
|
+
function Ya({ label: e, description: n, errorMessage: r, isInvalid: i, isDisabled: s, size: c = "md", variant: l = "secondary", items: u, children: d, renderEmptyState: f, style: p, className: m, ...h }) {
|
|
10638
10770
|
let { className: g, style: _ } = t.props($.container, p);
|
|
10639
|
-
return /* @__PURE__ */ a(
|
|
10771
|
+
return /* @__PURE__ */ a(Ja.Provider, {
|
|
10640
10772
|
value: {
|
|
10641
10773
|
size: c,
|
|
10642
10774
|
variant: l,
|
|
@@ -10675,8 +10807,8 @@ function Ga({ label: e, description: n, errorMessage: r, isInvalid: i, isDisable
|
|
|
10675
10807
|
})
|
|
10676
10808
|
});
|
|
10677
10809
|
}
|
|
10678
|
-
var
|
|
10679
|
-
let m = n.useContext(
|
|
10810
|
+
var Xa = n.forwardRef(function({ style: e, className: r, children: s, isDisabled: c, size: u, variant: d, ...f }, p) {
|
|
10811
|
+
let m = n.useContext(Ja), h = u ?? m?.size ?? "md", g = d ?? m?.variant ?? "secondary", _ = c || m?.isDisabled;
|
|
10680
10812
|
return /* @__PURE__ */ a(Be, {
|
|
10681
10813
|
textValue: typeof s == "string" ? s : void 0,
|
|
10682
10814
|
isDisabled: _,
|
|
@@ -10759,7 +10891,7 @@ var Ka = n.forwardRef(function({ style: e, className: r, children: s, isDisabled
|
|
|
10759
10891
|
children: "✕"
|
|
10760
10892
|
})] })
|
|
10761
10893
|
});
|
|
10762
|
-
}),
|
|
10894
|
+
}), Za = {
|
|
10763
10895
|
container: {
|
|
10764
10896
|
k1xSpc: "x78zum5",
|
|
10765
10897
|
kXwgrk: "xdt5ytf",
|
|
@@ -10818,15 +10950,15 @@ var Ka = n.forwardRef(function({ style: e, className: r, children: s, isDisabled
|
|
|
10818
10950
|
kaVNsj: "x177mgz2",
|
|
10819
10951
|
$$css: !0
|
|
10820
10952
|
}
|
|
10821
|
-
},
|
|
10953
|
+
}, Qa = n.forwardRef(function({ variant: e = "primary", style: n, className: r, label: i, description: s, errorMessage: c, placeholder: l, rows: u, ...d }, f) {
|
|
10822
10954
|
return /* @__PURE__ */ o(Ge, {
|
|
10823
10955
|
...d,
|
|
10824
10956
|
className: (e) => {
|
|
10825
|
-
let { className: n } = t.props(
|
|
10957
|
+
let { className: n } = t.props(Za.container);
|
|
10826
10958
|
return [n, r].filter(Boolean).join(" ");
|
|
10827
10959
|
},
|
|
10828
10960
|
style: (e) => {
|
|
10829
|
-
let { style: n } = t.props(
|
|
10961
|
+
let { style: n } = t.props(Za.container);
|
|
10830
10962
|
return n;
|
|
10831
10963
|
},
|
|
10832
10964
|
children: [
|
|
@@ -10836,11 +10968,11 @@ var Ka = n.forwardRef(function({ style: e, className: r, children: s, isDisabled
|
|
|
10836
10968
|
placeholder: l,
|
|
10837
10969
|
rows: u,
|
|
10838
10970
|
className: (r) => {
|
|
10839
|
-
let { className: i } = t.props(
|
|
10971
|
+
let { className: i } = t.props(Za.textarea, Za[e], r.isInvalid && Za.textareaInvalid, r.isDisabled && Za.textareaDisabled, n);
|
|
10840
10972
|
return i || "";
|
|
10841
10973
|
},
|
|
10842
10974
|
style: (r) => {
|
|
10843
|
-
let { style: i } = t.props(
|
|
10975
|
+
let { style: i } = t.props(Za.textarea, Za[e], r.isInvalid && Za.textareaInvalid, r.isDisabled && Za.textareaDisabled, n);
|
|
10844
10976
|
return i || {};
|
|
10845
10977
|
}
|
|
10846
10978
|
}),
|
|
@@ -10848,7 +10980,7 @@ var Ka = n.forwardRef(function({ style: e, className: r, children: s, isDisabled
|
|
|
10848
10980
|
/* @__PURE__ */ a(yn, { errorMessage: c })
|
|
10849
10981
|
]
|
|
10850
10982
|
});
|
|
10851
|
-
}),
|
|
10983
|
+
}), $a = {
|
|
10852
10984
|
container: {
|
|
10853
10985
|
k1xSpc: "x78zum5",
|
|
10854
10986
|
kXwgrk: "xdt5ytf",
|
|
@@ -10927,15 +11059,15 @@ var Ka = n.forwardRef(function({ style: e, className: r, children: s, isDisabled
|
|
|
10927
11059
|
kaVNsj: "x177mgz2",
|
|
10928
11060
|
$$css: !0
|
|
10929
11061
|
}
|
|
10930
|
-
},
|
|
11062
|
+
}, eo = n.forwardRef(function({ variant: e = "primary", size: n = "md", style: r, className: i, label: s, description: c, errorMessage: l, placeholder: u, type: d = "text", ...f }, p) {
|
|
10931
11063
|
return /* @__PURE__ */ o(Ge, {
|
|
10932
11064
|
...f,
|
|
10933
11065
|
className: (e) => {
|
|
10934
|
-
let { className: n } = t.props(
|
|
11066
|
+
let { className: n } = t.props($a.container);
|
|
10935
11067
|
return [n, i].filter(Boolean).join(" ");
|
|
10936
11068
|
},
|
|
10937
11069
|
style: (e) => {
|
|
10938
|
-
let { style: n } = t.props(
|
|
11070
|
+
let { style: n } = t.props($a.container);
|
|
10939
11071
|
return n;
|
|
10940
11072
|
},
|
|
10941
11073
|
children: [
|
|
@@ -10945,11 +11077,11 @@ var Ka = n.forwardRef(function({ style: e, className: r, children: s, isDisabled
|
|
|
10945
11077
|
placeholder: u,
|
|
10946
11078
|
type: d,
|
|
10947
11079
|
className: (i) => {
|
|
10948
|
-
let { className: a } = t.props(
|
|
11080
|
+
let { className: a } = t.props($a.input, $a[e], $a[n], i.isInvalid && $a.inputInvalid, i.isDisabled && $a.inputDisabled, r);
|
|
10949
11081
|
return a || "";
|
|
10950
11082
|
},
|
|
10951
11083
|
style: (i) => {
|
|
10952
|
-
let { style: a } = t.props(
|
|
11084
|
+
let { style: a } = t.props($a.input, $a[e], $a[n], i.isInvalid && $a.inputInvalid, i.isDisabled && $a.inputDisabled, r);
|
|
10953
11085
|
return a || {};
|
|
10954
11086
|
}
|
|
10955
11087
|
}),
|
|
@@ -10957,7 +11089,7 @@ var Ka = n.forwardRef(function({ style: e, className: r, children: s, isDisabled
|
|
|
10957
11089
|
/* @__PURE__ */ a(yn, { errorMessage: l })
|
|
10958
11090
|
]
|
|
10959
11091
|
});
|
|
10960
|
-
}),
|
|
11092
|
+
}), to = {
|
|
10961
11093
|
region: {
|
|
10962
11094
|
kVAEAm: "xixxii4",
|
|
10963
11095
|
krVfgx: "x1g8k7az",
|
|
@@ -10985,60 +11117,60 @@ var Ka = n.forwardRef(function({ style: e, className: r, children: s, isDisabled
|
|
|
10985
11117
|
kkDQuc: "x1u6grsq",
|
|
10986
11118
|
$$css: !0
|
|
10987
11119
|
}
|
|
10988
|
-
},
|
|
10989
|
-
function
|
|
11120
|
+
}, no = new Qe({ maxVisibleToasts: 5 });
|
|
11121
|
+
function ro() {
|
|
10990
11122
|
return n.useMemo(() => ({
|
|
10991
|
-
show: (e, t) =>
|
|
11123
|
+
show: (e, t) => no.add({
|
|
10992
11124
|
title: e,
|
|
10993
11125
|
description: t?.description,
|
|
10994
11126
|
variant: t?.variant ?? "info"
|
|
10995
11127
|
}, { timeout: t?.timeout ?? 5e3 }),
|
|
10996
11128
|
close: (e) => {
|
|
10997
|
-
|
|
11129
|
+
no.close(e);
|
|
10998
11130
|
}
|
|
10999
11131
|
}), []);
|
|
11000
11132
|
}
|
|
11001
|
-
var
|
|
11133
|
+
var io = n.forwardRef(function({ toast: e, style: n, className: r, ...i }, o) {
|
|
11002
11134
|
let s = e.content.variant ?? "info";
|
|
11003
11135
|
return /* @__PURE__ */ a(Xe, {
|
|
11004
11136
|
...i,
|
|
11005
11137
|
ref: o,
|
|
11006
11138
|
toast: e,
|
|
11007
11139
|
className: (e) => {
|
|
11008
|
-
let { className: i } = t.props(
|
|
11140
|
+
let { className: i } = t.props(to.toast, n);
|
|
11009
11141
|
return [i, r].filter(Boolean).join(" ");
|
|
11010
11142
|
},
|
|
11011
11143
|
style: (e) => {
|
|
11012
|
-
let { style: r } = t.props(
|
|
11144
|
+
let { style: r } = t.props(to.toast, n);
|
|
11013
11145
|
return r ?? {};
|
|
11014
11146
|
},
|
|
11015
11147
|
children: /* @__PURE__ */ a(wt, {
|
|
11016
11148
|
variant: s,
|
|
11017
11149
|
title: e.content.title,
|
|
11018
11150
|
description: e.content.description,
|
|
11019
|
-
onClose: () =>
|
|
11151
|
+
onClose: () => no.close(e.key)
|
|
11020
11152
|
})
|
|
11021
11153
|
});
|
|
11022
|
-
}),
|
|
11154
|
+
}), ao = n.forwardRef(function({ style: e, className: n, ...r }, i) {
|
|
11023
11155
|
return /* @__PURE__ */ a($e, {
|
|
11024
11156
|
...r,
|
|
11025
11157
|
ref: i,
|
|
11026
|
-
queue:
|
|
11158
|
+
queue: no,
|
|
11027
11159
|
className: (r) => {
|
|
11028
|
-
let { className: i } = t.props(
|
|
11160
|
+
let { className: i } = t.props(to.region, e);
|
|
11029
11161
|
return [i, n].filter(Boolean).join(" ");
|
|
11030
11162
|
},
|
|
11031
11163
|
style: (n) => {
|
|
11032
|
-
let { style: r } = t.props(
|
|
11164
|
+
let { style: r } = t.props(to.region, e);
|
|
11033
11165
|
return r ?? {};
|
|
11034
11166
|
},
|
|
11035
11167
|
children: /* @__PURE__ */ a(Ze, {
|
|
11036
|
-
className: t.props(
|
|
11037
|
-
style: t.props(
|
|
11038
|
-
children: ({ toast: e }) => /* @__PURE__ */ a(
|
|
11168
|
+
className: t.props(to.list).className,
|
|
11169
|
+
style: t.props(to.list).style,
|
|
11170
|
+
children: ({ toast: e }) => /* @__PURE__ */ a(io, { toast: e })
|
|
11039
11171
|
})
|
|
11040
11172
|
});
|
|
11041
|
-
}),
|
|
11173
|
+
}), oo = {
|
|
11042
11174
|
container: {
|
|
11043
11175
|
kzqmXN: "xh8yej3",
|
|
11044
11176
|
k1xSpc: "x78zum5",
|
|
@@ -11085,8 +11217,8 @@ var eo = n.forwardRef(function({ toast: e, style: n, className: r, ...i }, o) {
|
|
|
11085
11217
|
k9WMMc: "xp4054r",
|
|
11086
11218
|
$$css: !0
|
|
11087
11219
|
}
|
|
11088
|
-
},
|
|
11089
|
-
let { className: h, style: g } = t.props(
|
|
11220
|
+
}, so = n.forwardRef(function({ data: r = [], maxValue: i, colors: s = At, barColor: c = e.colorChart1, multiColor: l = !1, valueFormatter: u, className: d, style: f, ...p }, m) {
|
|
11221
|
+
let { className: h, style: g } = t.props(oo.container, f), _ = n.useMemo(() => i === void 0 ? r.length === 0 ? 1 : Math.max(...r.map((e) => e.value)) : i, [r, i]);
|
|
11090
11222
|
return /* @__PURE__ */ a("div", {
|
|
11091
11223
|
...p,
|
|
11092
11224
|
ref: m,
|
|
@@ -11095,17 +11227,17 @@ var eo = n.forwardRef(function({ toast: e, style: n, className: r, ...i }, o) {
|
|
|
11095
11227
|
children: r.map((e, n) => {
|
|
11096
11228
|
let r = Math.min(100, Math.max(0, e.value / _ * 100)), i = l ? e.color || s[n % s.length] : c, d = u ? u(e.value) : e.value.toLocaleString();
|
|
11097
11229
|
return /* @__PURE__ */ o("div", {
|
|
11098
|
-
...t.props(
|
|
11230
|
+
...t.props(oo.row),
|
|
11099
11231
|
children: [
|
|
11100
11232
|
/* @__PURE__ */ a("span", {
|
|
11101
|
-
...t.props(
|
|
11233
|
+
...t.props(oo.label),
|
|
11102
11234
|
title: e.label,
|
|
11103
11235
|
children: e.label
|
|
11104
11236
|
}),
|
|
11105
11237
|
/* @__PURE__ */ a("div", {
|
|
11106
|
-
...t.props(
|
|
11238
|
+
...t.props(oo.track),
|
|
11107
11239
|
children: /* @__PURE__ */ a("div", {
|
|
11108
|
-
...t.props(
|
|
11240
|
+
...t.props(oo.bar),
|
|
11109
11241
|
style: {
|
|
11110
11242
|
width: `${r}%`,
|
|
11111
11243
|
backgroundColor: String(i)
|
|
@@ -11113,14 +11245,14 @@ var eo = n.forwardRef(function({ toast: e, style: n, className: r, ...i }, o) {
|
|
|
11113
11245
|
})
|
|
11114
11246
|
}),
|
|
11115
11247
|
/* @__PURE__ */ a("span", {
|
|
11116
|
-
...t.props(
|
|
11248
|
+
...t.props(oo.value),
|
|
11117
11249
|
children: d
|
|
11118
11250
|
})
|
|
11119
11251
|
]
|
|
11120
11252
|
}, n);
|
|
11121
11253
|
})
|
|
11122
11254
|
});
|
|
11123
|
-
}),
|
|
11255
|
+
}), co = {
|
|
11124
11256
|
base: {
|
|
11125
11257
|
kMv6JI: "xiqomwy",
|
|
11126
11258
|
kMwMTN: "xg95tmc",
|
|
@@ -11181,32 +11313,32 @@ var eo = n.forwardRef(function({ toast: e, style: n, className: r, ...i }, o) {
|
|
|
11181
11313
|
k63SB2: "x1fzl42d",
|
|
11182
11314
|
$$css: !0
|
|
11183
11315
|
}
|
|
11184
|
-
},
|
|
11185
|
-
return /* @__PURE__ */ a(
|
|
11316
|
+
}, lo = n.forwardRef(function({ as: e = "h2", ...t }, n) {
|
|
11317
|
+
return /* @__PURE__ */ a(mo, {
|
|
11186
11318
|
as: e,
|
|
11187
11319
|
ref: n,
|
|
11188
11320
|
...t
|
|
11189
11321
|
});
|
|
11190
|
-
}),
|
|
11191
|
-
return /* @__PURE__ */ a(
|
|
11322
|
+
}), uo = n.forwardRef(function(e, t) {
|
|
11323
|
+
return /* @__PURE__ */ a(mo, {
|
|
11192
11324
|
as: "p",
|
|
11193
11325
|
ref: t,
|
|
11194
11326
|
...e
|
|
11195
11327
|
});
|
|
11196
|
-
}),
|
|
11197
|
-
return /* @__PURE__ */ a(
|
|
11328
|
+
}), fo = n.forwardRef(function(e, t) {
|
|
11329
|
+
return /* @__PURE__ */ a(mo, {
|
|
11198
11330
|
as: "span",
|
|
11199
11331
|
ref: t,
|
|
11200
11332
|
...e
|
|
11201
11333
|
});
|
|
11202
|
-
}),
|
|
11203
|
-
return /* @__PURE__ */ a(
|
|
11334
|
+
}), po = n.forwardRef(function(e, t) {
|
|
11335
|
+
return /* @__PURE__ */ a(mo, {
|
|
11204
11336
|
as: "label",
|
|
11205
11337
|
ref: t,
|
|
11206
11338
|
...e
|
|
11207
11339
|
});
|
|
11208
|
-
}),
|
|
11209
|
-
let c = e, { className: l, style: u } = t.props(
|
|
11340
|
+
}), mo = n.forwardRef(function({ as: e = "span", style: n, className: r, children: i, ...o }, s) {
|
|
11341
|
+
let c = e, { className: l, style: u } = t.props(co.base, co[e], n);
|
|
11210
11342
|
return /* @__PURE__ */ a(c, {
|
|
11211
11343
|
...o,
|
|
11212
11344
|
ref: s,
|
|
@@ -11215,10 +11347,10 @@ var eo = n.forwardRef(function({ toast: e, style: n, className: r, ...i }, o) {
|
|
|
11215
11347
|
children: i
|
|
11216
11348
|
});
|
|
11217
11349
|
});
|
|
11218
|
-
|
|
11350
|
+
mo.Heading = lo, mo.Paragraph = uo, mo.Span = fo, mo.Label = po;
|
|
11219
11351
|
//#endregion
|
|
11220
11352
|
//#region src/theme/ThemeProvider.tsx
|
|
11221
|
-
var
|
|
11353
|
+
var ho = {
|
|
11222
11354
|
light: {
|
|
11223
11355
|
kQNsl9: "x19aimcq",
|
|
11224
11356
|
$$css: !0
|
|
@@ -11231,8 +11363,8 @@ var uo = {
|
|
|
11231
11363
|
kQNsl9: "x108lcm5",
|
|
11232
11364
|
$$css: !0
|
|
11233
11365
|
}
|
|
11234
|
-
},
|
|
11235
|
-
let { className: l, style: u } = t.props(
|
|
11366
|
+
}, go = n.forwardRef(function({ colorScheme: e = "light dark", theme: n, children: r, className: i, style: o, ...s }, c) {
|
|
11367
|
+
let { className: l, style: u } = t.props(ho[e], n), d = [l, i].filter(Boolean).join(" "), f = {
|
|
11236
11368
|
...u,
|
|
11237
11369
|
...o
|
|
11238
11370
|
};
|
|
@@ -11244,9 +11376,9 @@ var uo = {
|
|
|
11244
11376
|
children: r
|
|
11245
11377
|
});
|
|
11246
11378
|
});
|
|
11247
|
-
|
|
11379
|
+
go.displayName = "ThemeProvider";
|
|
11248
11380
|
//#endregion
|
|
11249
11381
|
//#region src/index.ts
|
|
11250
|
-
var
|
|
11382
|
+
var _o = "2026.08.25";
|
|
11251
11383
|
//#endregion
|
|
11252
|
-
export { wt as Alert, Et as AlertDialog, Ot as AlertDialogBody, kt as AlertDialogFooter, Dt as AlertDialogHeader, Pt as AreaChart, Bt as Avatar, Rt as AvatarGroup, Lt as AvatarGroupContext, Ht as Badge, Wt as BarChart, qt as BreadcrumbItem, Kt as Breadcrumbs, Yt as Button, Zt as ButtonGroup, nn as Calendar, en as CalendarCell, tn as CalendarGrid, cn as Card, ln as CardBody, un as CardFooter, dn as CardHeader,
|
|
11384
|
+
export { wt as Alert, Et as AlertDialog, Ot as AlertDialogBody, kt as AlertDialogFooter, Dt as AlertDialogHeader, Pt as AreaChart, Bt as Avatar, Rt as AvatarGroup, Lt as AvatarGroupContext, Ht as Badge, Wt as BarChart, qt as BreadcrumbItem, Kt as Breadcrumbs, Yt as Button, Zt as ButtonGroup, nn as Calendar, en as CalendarCell, tn as CalendarGrid, cn as Card, ln as CardBody, un as CardFooter, dn as CardHeader, mn as ChartContainer, gn as Checkbox, Sn as CheckboxGroup, En as ComboBox, wn as ComboBoxItem, Tn as ComboBoxSection, Nn as CommandPalette, Rn as CommandPaletteEmpty, zn as CommandPaletteFooter, Pn as CommandPaletteInput, Ln as CommandPaletteItem, Fn as CommandPaletteList, In as CommandPaletteSection, Hn as DateField, Vn as DateInput, Wn as DatePicker, Gn as DateRangePicker, Bn as DateSegment, P as Description, qn as DoughnutChart, $n as Drawer, ir as DrawerBody, rr as DrawerCloseButton, er as DrawerDialog, ar as DrawerFooter, tr as DrawerHeader, Qn as DrawerOverlay, nr as DrawerTitle, dr as EmptyState, ur as EmptyStateActions, lr as EmptyStateDescription, sr as EmptyStateIcon, cr as EmptyStateTitle, pr as ErrorMessage, yn as FieldError, hr as Form, ci as HighlightText, vr as InputOTP, yr as InputOTPGroup, xr as InputOTPSeparator, br as InputOTPSlot, On as Kbd, F as Label, Cr as LineChart, Tr as Link, si as LogAttributeChip, ai as LogLevelBadge, li as Logs, ui as LogsViewer, pi as Modal, gi as ModalBody, mi as ModalDialog, _i as ModalFooter, hi as ModalHeader, fi as ModalOverlay, vi as NumberField, Fi as Pagination, Ti as PaginationContent, Mi as PaginationEllipsis, Ai as PaginationFirst, Ei as PaginationItem, ji as PaginationLast, Di as PaginationLink, ki as PaginationNext, Pi as PaginationPageSize, Oi as PaginationPrevious, Ni as PaginationSummary, Li as PercentageBar, Ri as PercentageCircle, Hi as Popover, Vi as PopoverDialog, Bi as PopoverTrigger, Wi as ProgressBar, gt as REGEXP_ONLY_DIGITS, _t as REGEXP_ONLY_DIGITS_AND_CHARS, Ki as Radio, qi as RadioGroup, rn as RangeCalendar, Nr as SERVER_LOGS, Mr as SERVER_LOG_RAW, ei as SearchField, $i as Select, Zi as SelectItem, Xi as SelectPopover, Qi as SelectSection, Yi as SelectValue, ta as Separator, ua as Sidebar, ga as SidebarAside, ha as SidebarDivider, ma as SidebarFooter, fa as SidebarGroup, da as SidebarHeader, pa as SidebarItem, _a as SidebarMain, ya as Skeleton, Sa as Slider, ba as SliderThumb, xa as SliderTrack, pn as Spinner, Ta as Stat, Da as Switch, Ga as Tab, Wa as TabList, qa as TabPanel, Ka as TabPanels, Ma as Table, Pa as TableBody, za as TableCaption, Ra as TableCell, Ba as TableEmpty, Fa as TableFooter, La as TableHead, Na as TableHeader, Ia as TableRow, Va as TableSkeleton, Ua as Tabs, Xa as Tag, Ya as TagGroup, Qa as TextArea, eo as TextField, go as ThemeProvider, io as Toast, ao as ToastContainer, ni as ToggleButton, ii as ToggleButtonGroup, ia as Tooltip, ra as TooltipTrigger, so as TopList, mo as Typography, lo as TypographyHeading, po as TypographyLabel, uo as TypographyParagraph, fo as TypographySpan, yi as generatePagination, Dr as normalizeLogLevel, Or as parseAttributes, Ar as parseLogLine, jr as parseLogs, kr as stripAttributes, no as toastQueue, e as tokens, kn as useCommandPalette, jn as useCommandPaletteContext, ro as useToast, _o as version };
|