beca-ui 2.1.0-beta.1 → 2.1.0-beta.3
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/beca-ui.js
CHANGED
|
@@ -99940,9 +99940,7 @@ const TZe = NZe, MZe = (e) => {
|
|
|
99940
99940
|
} = e;
|
|
99941
99941
|
let m = "beca-table";
|
|
99942
99942
|
return n && (m += " " + n), t && (m += " transparent"), r && (m += " table-stripe"), o && (m += " table-box-shadow"), l && (m += " table-custom-pagination"), (!c || !c.x) && (m += " table-vertical-scroll"), s && (m += " table-body-card"), a || (m += " table-no-footer"), i || (m += " table-no-title"), f && (m += " table-responsive", d && (m += " table-responsive-bordered")), m;
|
|
99943
|
-
}
|
|
99944
|
-
go(RZe);
|
|
99945
|
-
const lSt = Dd.Summary, IZe = (e) => {
|
|
99943
|
+
}, lSt = go(RZe), sSt = Dd.Summary, IZe = (e) => {
|
|
99946
99944
|
const { className: t, footer: n } = e;
|
|
99947
99945
|
let r = "beca-modal";
|
|
99948
99946
|
return t && (r += " " + t), (n === null || n === !1) && (r += " modal-no-footer"), r;
|
|
@@ -100082,7 +100080,7 @@ V2.info = LZe;
|
|
|
100082
100080
|
V2.config = ka.config;
|
|
100083
100081
|
V2.destroyAll = ka.destroyAll;
|
|
100084
100082
|
V2.useModal = ka.useModal;
|
|
100085
|
-
const
|
|
100083
|
+
const cSt = (e) => {
|
|
100086
100084
|
const { headerRender: t, className: n } = e, r = ({
|
|
100087
100085
|
value: o,
|
|
100088
100086
|
onChange: i
|
|
@@ -100193,7 +100191,7 @@ np.TextArea = HZe;
|
|
|
100193
100191
|
np.Search = VZe;
|
|
100194
100192
|
np.Group = jZe;
|
|
100195
100193
|
np.Password = BZe;
|
|
100196
|
-
const
|
|
100194
|
+
const uSt = (e) => {
|
|
100197
100195
|
const { className: t, controls: n } = e;
|
|
100198
100196
|
return /* @__PURE__ */ A(
|
|
100199
100197
|
L$,
|
|
@@ -100322,7 +100320,7 @@ const eJe = (e) => {
|
|
|
100322
100320
|
const { className: t } = e;
|
|
100323
100321
|
let n = "beca-drawer";
|
|
100324
100322
|
return t && (n += " " + t), n;
|
|
100325
|
-
}, uH = (e) => /* @__PURE__ */ A(cz, { ...e, className: eJe(e) }),
|
|
100323
|
+
}, uH = (e) => /* @__PURE__ */ A(cz, { ...e, className: eJe(e) }), dSt = (e) => {
|
|
100326
100324
|
const { formItemProps: t, selectProps: n, isAutoComplete: r } = e, { label: o, labelCol: i, wrapperCol: a, ...l } = t ?? {}, s = bt(null), { isMobileApp: c } = lO(), [d, f] = gt(!1), m = () => {
|
|
100327
100325
|
f(!0);
|
|
100328
100326
|
}, g = () => {
|
|
@@ -122594,7 +122592,7 @@ function Est(e) {
|
|
|
122594
122592
|
function $st(e) {
|
|
122595
122593
|
return typeof e == "string" ? (Number(e.split("pt")[0]) * (96 / 72)).toFixed() + "px" : Number((e * (96 / 72)).toFixed());
|
|
122596
122594
|
}
|
|
122597
|
-
const
|
|
122595
|
+
const hSt = go(yst), Ost = (e) => {
|
|
122598
122596
|
const { className: t } = e;
|
|
122599
122597
|
let n = "beca-popover";
|
|
122600
122598
|
return t && (n += " " + t), n;
|
|
@@ -122612,7 +122610,7 @@ const pSt = go(yst), Ost = (e) => {
|
|
|
122612
122610
|
const { className: t } = e;
|
|
122613
122611
|
let n = "beca-tag";
|
|
122614
122612
|
return t && (n += " " + t), n;
|
|
122615
|
-
},
|
|
122613
|
+
}, mSt = (e) => /* @__PURE__ */ A(kz, { ...e, className: Nst(e) }), Tst = (e) => {
|
|
122616
122614
|
const { className: t } = e;
|
|
122617
122615
|
let n = "beca-avatar";
|
|
122618
122616
|
return t && (n += " " + t), n;
|
|
@@ -122622,7 +122620,7 @@ const Rst = (e) => {
|
|
|
122622
122620
|
const { className: t } = e;
|
|
122623
122621
|
let n = "beca-switch";
|
|
122624
122622
|
return t && (n += " " + t), n;
|
|
122625
|
-
},
|
|
122623
|
+
}, gSt = (e) => /* @__PURE__ */ A(Sz, { ...e, className: Rst(e) }), _st = (e) => {
|
|
122626
122624
|
const { className: t } = e;
|
|
122627
122625
|
let n = "";
|
|
122628
122626
|
return t && (n += " " + t), n;
|
|
@@ -122933,7 +122931,7 @@ const Yst = (e) => {
|
|
|
122933
122931
|
const { className: t } = e;
|
|
122934
122932
|
let n = "beca-statistic";
|
|
122935
122933
|
return t && (n += " " + t), n;
|
|
122936
|
-
},
|
|
122934
|
+
}, vSt = (e) => /* @__PURE__ */ A(A6, { ...e, className: Zst(e) });
|
|
122937
122935
|
var Jst = { exports: {} }, KI = { exports: {} }, PJ;
|
|
122938
122936
|
function Qst() {
|
|
122939
122937
|
return PJ || (PJ = 1, function(e, t) {
|
|
@@ -123467,7 +123465,7 @@ const lct = (e) => {
|
|
|
123467
123465
|
const { className: t } = e;
|
|
123468
123466
|
let n = "beca-slider";
|
|
123469
123467
|
return t && (n += " " + t), n;
|
|
123470
|
-
},
|
|
123468
|
+
}, ySt = (e) => /* @__PURE__ */ A(j3, { ...e, className: lct(e) }), sct = (e) => {
|
|
123471
123469
|
const { className: t } = e;
|
|
123472
123470
|
let n = "beca-list";
|
|
123473
123471
|
return t && (n += " " + t), n;
|
|
@@ -123497,7 +123495,7 @@ const gct = (e) => {
|
|
|
123497
123495
|
default:
|
|
123498
123496
|
return /* @__PURE__ */ A(iYe, {});
|
|
123499
123497
|
}
|
|
123500
|
-
},
|
|
123498
|
+
}, CSt = (e) => {
|
|
123501
123499
|
const { errorText: t, text: n, buttonProps: r, errorCode: o } = e, i = () => {
|
|
123502
123500
|
r != null && r.url ? window.location.replace(r.url) : r != null && r.onClick && r.onClick();
|
|
123503
123501
|
};
|
|
@@ -123530,7 +123528,7 @@ const bct = (e) => {
|
|
|
123530
123528
|
const { className: t } = e;
|
|
123531
123529
|
let n = "beca-segmented";
|
|
123532
123530
|
return t && (n += " " + t), n;
|
|
123533
|
-
},
|
|
123531
|
+
}, bSt = (e) => /* @__PURE__ */ A(ez, { ...e, className: bct(e) }), Sct = (e) => {
|
|
123534
123532
|
const { className: t } = e;
|
|
123535
123533
|
let n = "beca-player beca-audio-player";
|
|
123536
123534
|
return t && (n += " " + t), n;
|
|
@@ -123814,7 +123812,7 @@ const bct = (e) => {
|
|
|
123814
123812
|
] })
|
|
123815
123813
|
] })
|
|
123816
123814
|
] });
|
|
123817
|
-
},
|
|
123815
|
+
}, SSt = go(wct), xct = (e, t) => {
|
|
123818
123816
|
const {
|
|
123819
123817
|
url: n,
|
|
123820
123818
|
loop: r,
|
|
@@ -124099,13 +124097,13 @@ const bct = (e) => {
|
|
|
124099
124097
|
] })
|
|
124100
124098
|
] }) })
|
|
124101
124099
|
] });
|
|
124102
|
-
},
|
|
124100
|
+
}, wSt = go(xct);
|
|
124103
124101
|
Ose.config({ closeIcon: /* @__PURE__ */ A(W6, {}) });
|
|
124104
124102
|
const Ect = (e) => {
|
|
124105
124103
|
const { className: t } = e;
|
|
124106
124104
|
let n = "beca-rate";
|
|
124107
124105
|
return t && (n += " " + t), n;
|
|
124108
|
-
},
|
|
124106
|
+
}, xSt = (e) => /* @__PURE__ */ A(Kse, { ...e, className: Ect(e) }), jO = 0, gm = 1, q4 = 2, Ohe = 4;
|
|
124109
124107
|
function Nhe(e, t) {
|
|
124110
124108
|
return (n) => e(t(n));
|
|
124111
124109
|
}
|
|
@@ -127051,7 +127049,7 @@ const Zut = (e) => {
|
|
|
127051
127049
|
)
|
|
127052
127050
|
}
|
|
127053
127051
|
) });
|
|
127054
|
-
},
|
|
127052
|
+
}, ESt = go(Jut);
|
|
127055
127053
|
function Qut(e, t) {
|
|
127056
127054
|
var n = {};
|
|
127057
127055
|
for (var r in e)
|
|
@@ -127984,7 +127982,7 @@ const Pdt = edt(ane, "4.23.0") === -1 ? "visible" : "open", a3 = (e, t, n) => t
|
|
|
127984
127982
|
return w !== void 0 && (te.width = w), E !== void 0 && (te.okText = E), O !== void 0 && (te.cancelText = O), te;
|
|
127985
127983
|
}, [O, E, w]), Q = `${xf}-modal${b ? ` ${b}` : ""}`, ne = (typeof window > "u" ? "" : window.navigator.language) === "zh-CN", ie = C || (ne ? "编辑图片" : "Edit image"), J = s || (ne ? "重置" : "Reset");
|
|
127986
127984
|
return hn(Ic, { children: [q, F && A(ka, Object.assign({}, M, Y, { [Pdt]: !0 }, { title: ie, onCancel: K.current, onOk: X.current, wrapClassName: Q, maskClosable: !1, destroyOnClose: !0 }, { children: A(Rdt, { ref: z, cropperRef: t, zoomSlider: I, rotationSlider: L, aspectSlider: a, showReset: l, resetBtnText: J, modalImage: F, aspect: c, minZoom: d, maxZoom: f, cropShape: D, showGrid: V, cropperProps: y }) }))] });
|
|
127987
|
-
}),
|
|
127985
|
+
}), $St = (e) => /* @__PURE__ */ A(kdt, { ...e });
|
|
127988
127986
|
var mu = {}, ib = {}, Ldt = typeof bc == "object" && bc && bc.Object === Object && bc, ume = Ldt, Ddt = ume, Adt = typeof self == "object" && self && self.Object === Object && self, zdt = Ddt || Adt || Function("return this")(), Zf = zdt, Hdt = Zf, Fdt = Hdt.Symbol, ab = Fdt, gQ = ab, dme = Object.prototype, Bdt = dme.hasOwnProperty, jdt = dme.toString, MC = gQ ? gQ.toStringTag : void 0;
|
|
127989
127987
|
function Vdt(e) {
|
|
127990
127988
|
var t = Bdt.call(e, MC), n = e[MC];
|
|
@@ -131566,7 +131564,7 @@ s0e.defaultProps = {
|
|
|
131566
131564
|
direction: "horizontal",
|
|
131567
131565
|
pointer: vbt
|
|
131568
131566
|
};
|
|
131569
|
-
const
|
|
131567
|
+
const OSt = Hc(s0e);
|
|
131570
131568
|
function c0e(e, t) {
|
|
131571
131569
|
for (var n = -1, r = e == null ? 0 : e.length, o = Array(r); ++n < r; )
|
|
131572
131570
|
o[n] = t(e[n], n, e);
|
|
@@ -132074,7 +132072,7 @@ eB.defaultProps = {
|
|
|
132074
132072
|
triangle: "top",
|
|
132075
132073
|
styles: {}
|
|
132076
132074
|
};
|
|
132077
|
-
const
|
|
132075
|
+
const NSt = Hc(eB);
|
|
132078
132076
|
var p3 = { 100: "#ffcdd2", 300: "#e57373", 500: "#f44336", 700: "#d32f2f", 900: "#b71c1c" }, h3 = { 100: "#f8bbd0", 300: "#f06292", 500: "#e91e63", 700: "#c2185b", 900: "#880e4f" }, m3 = { 100: "#e1bee7", 300: "#ba68c8", 500: "#9c27b0", 700: "#7b1fa2", 900: "#4a148c" }, g3 = { 100: "#d1c4e9", 300: "#9575cd", 500: "#673ab7", 700: "#512da8", 900: "#311b92" }, v3 = { 100: "#c5cae9", 300: "#7986cb", 500: "#3f51b5", 700: "#303f9f", 900: "#1a237e" }, y3 = { 100: "#bbdefb", 300: "#64b5f6", 500: "#2196f3", 700: "#1976d2", 900: "#0d47a1" }, C3 = { 100: "#b3e5fc", 300: "#4fc3f7", 500: "#03a9f4", 700: "#0288d1", 900: "#01579b" }, b3 = { 100: "#b2ebf2", 300: "#4dd0e1", 500: "#00bcd4", 700: "#0097a7", 900: "#006064" }, S3 = { 100: "#b2dfdb", 300: "#4db6ac", 500: "#009688", 700: "#00796b", 900: "#004d40" }, KC = { 100: "#c8e6c9", 300: "#81c784", 500: "#4caf50", 700: "#388e3c" }, w3 = { 100: "#dcedc8", 300: "#aed581", 500: "#8bc34a", 700: "#689f38", 900: "#33691e" }, x3 = { 100: "#f0f4c3", 300: "#dce775", 500: "#cddc39", 700: "#afb42b", 900: "#827717" }, E3 = { 100: "#fff9c4", 300: "#fff176", 500: "#ffeb3b", 700: "#fbc02d", 900: "#f57f17" }, $3 = { 100: "#ffecb3", 300: "#ffd54f", 500: "#ffc107", 700: "#ffa000", 900: "#ff6f00" }, O3 = { 100: "#ffe0b2", 300: "#ffb74d", 500: "#ff9800", 700: "#f57c00", 900: "#e65100" }, N3 = { 100: "#ffccbc", 300: "#ff8a65", 500: "#ff5722", 700: "#e64a19", 900: "#bf360c" }, T3 = { 100: "#d7ccc8", 300: "#a1887f", 500: "#795548", 700: "#5d4037", 900: "#3e2723" }, M3 = { 100: "#cfd8dc", 300: "#90a4ae", 500: "#607d8b", 700: "#455a64", 900: "#263238" }, g0e = function(t) {
|
|
132079
132077
|
var n = t.color, r = t.onClick, o = t.onSwatchHover, i = t.hover, a = t.active, l = t.circleSize, s = t.circleSpacing, c = Ar({
|
|
132080
132078
|
default: {
|
|
@@ -132164,7 +132162,7 @@ tB.defaultProps = {
|
|
|
132164
132162
|
colors: [p3[500], h3[500], m3[500], g3[500], v3[500], y3[500], C3[500], b3[500], S3[500], KC[500], w3[500], x3[500], E3[500], $3[500], O3[500], N3[500], T3[500], M3[500]],
|
|
132165
132163
|
styles: {}
|
|
132166
132164
|
};
|
|
132167
|
-
const
|
|
132165
|
+
const TSt = Hc(tB);
|
|
132168
132166
|
function Hee(e) {
|
|
132169
132167
|
return e === void 0;
|
|
132170
132168
|
}
|
|
@@ -132658,7 +132656,7 @@ nB.defaultProps = {
|
|
|
132658
132656
|
disableAlpha: !1,
|
|
132659
132657
|
styles: {}
|
|
132660
132658
|
};
|
|
132661
|
-
const
|
|
132659
|
+
const MSt = Hc(nB);
|
|
132662
132660
|
var U7t = function(t) {
|
|
132663
132661
|
var n = t.color, r = t.onClick, o = r === void 0 ? function() {
|
|
132664
132662
|
} : r, i = t.onSwatchHover, a = t.active, l = Ar({
|
|
@@ -132865,7 +132863,7 @@ rB.defaultProps = {
|
|
|
132865
132863
|
colors: ["#4D4D4D", "#999999", "#FFFFFF", "#F44E3B", "#FE9200", "#FCDC00", "#DBDF00", "#A4DD00", "#68CCCA", "#73D8FF", "#AEA1FF", "#FDA1FF", "#333333", "#808080", "#cccccc", "#D33115", "#E27300", "#FCC400", "#B0BC00", "#68BC00", "#16A5A5", "#009CE0", "#7B64FF", "#FA28FF", "#000000", "#666666", "#B3B3B3", "#9F0500", "#C45100", "#FB9E00", "#808900", "#194D33", "#0C797D", "#0062B1", "#653294", "#AB149E"],
|
|
132866
132864
|
styles: {}
|
|
132867
132865
|
};
|
|
132868
|
-
const
|
|
132866
|
+
const RSt = Hc(rB);
|
|
132869
132867
|
var G7t = function(t) {
|
|
132870
132868
|
var n = t.hover, r = t.color, o = t.onClick, i = t.onSwatchHover, a = {
|
|
132871
132869
|
position: "relative",
|
|
@@ -133009,7 +133007,7 @@ oB.defaultProps = {
|
|
|
133009
133007
|
triangle: "top-left",
|
|
133010
133008
|
styles: {}
|
|
133011
133009
|
};
|
|
133012
|
-
const
|
|
133010
|
+
const _St = Hc(oB);
|
|
133013
133011
|
var X7t = function(t) {
|
|
133014
133012
|
var n = t.direction, r = Ar({
|
|
133015
133013
|
default: {
|
|
@@ -133072,7 +133070,7 @@ iB.defaultProps = {
|
|
|
133072
133070
|
pointer: X7t,
|
|
133073
133071
|
styles: {}
|
|
133074
133072
|
};
|
|
133075
|
-
const
|
|
133073
|
+
const ISt = Hc(iB);
|
|
133076
133074
|
var Z7t = function(t) {
|
|
133077
133075
|
var n = t.onChange, r = t.hex, o = t.rgb, i = t.styles, a = i === void 0 ? {} : i, l = t.className, s = l === void 0 ? "" : l, c = Ar(zc({
|
|
133078
133076
|
default: {
|
|
@@ -133199,7 +133197,7 @@ var Z7t = function(t) {
|
|
|
133199
133197
|
)
|
|
133200
133198
|
);
|
|
133201
133199
|
};
|
|
133202
|
-
const
|
|
133200
|
+
const PSt = Hc(Z7t);
|
|
133203
133201
|
var J7t = function(t) {
|
|
133204
133202
|
var n = t.onChange, r = t.rgb, o = t.hsv, i = t.hex, a = Ar({
|
|
133205
133203
|
default: {
|
|
@@ -133663,7 +133661,7 @@ aB.defaultProps = {
|
|
|
133663
133661
|
header: "Color Picker",
|
|
133664
133662
|
styles: {}
|
|
133665
133663
|
};
|
|
133666
|
-
const
|
|
133664
|
+
const kSt = Hc(aB);
|
|
133667
133665
|
var a8t = function(t) {
|
|
133668
133666
|
var n = t.onChange, r = t.rgb, o = t.hsl, i = t.hex, a = t.disableAlpha, l = Ar({
|
|
133669
133667
|
default: {
|
|
@@ -134005,7 +134003,7 @@ lB.defaultProps = {
|
|
|
134005
134003
|
styles: {},
|
|
134006
134004
|
presetColors: ["#D0021B", "#F5A623", "#F8E71C", "#8B572A", "#7ED321", "#417505", "#BD10E0", "#9013FE", "#4A90E2", "#50E3C2", "#B8E986", "#000000", "#4A4A4A", "#9B9B9B", "#FFFFFF"]
|
|
134007
134005
|
};
|
|
134008
|
-
const
|
|
134006
|
+
const LSt = Hc(lB);
|
|
134009
134007
|
var _C = function(t) {
|
|
134010
134008
|
var n = t.hsl, r = t.offset, o = t.onClick, i = o === void 0 ? function() {
|
|
134011
134009
|
} : o, a = t.active, l = t.first, s = t.last, c = Ar({
|
|
@@ -134168,7 +134166,7 @@ sB.defaultProps = {
|
|
|
134168
134166
|
pointer: u8t,
|
|
134169
134167
|
styles: {}
|
|
134170
134168
|
};
|
|
134171
|
-
const
|
|
134169
|
+
const DSt = Hc(sB);
|
|
134172
134170
|
var b0e = {};
|
|
134173
134171
|
Object.defineProperty(b0e, "__esModule", {
|
|
134174
134172
|
value: !0
|
|
@@ -134356,7 +134354,7 @@ cB.defaultProps = {
|
|
|
134356
134354
|
colors: [[p3[900], p3[700], p3[500], p3[300], p3[100]], [h3[900], h3[700], h3[500], h3[300], h3[100]], [m3[900], m3[700], m3[500], m3[300], m3[100]], [g3[900], g3[700], g3[500], g3[300], g3[100]], [v3[900], v3[700], v3[500], v3[300], v3[100]], [y3[900], y3[700], y3[500], y3[300], y3[100]], [C3[900], C3[700], C3[500], C3[300], C3[100]], [b3[900], b3[700], b3[500], b3[300], b3[100]], [S3[900], S3[700], S3[500], S3[300], S3[100]], ["#194D33", KC[700], KC[500], KC[300], KC[100]], [w3[900], w3[700], w3[500], w3[300], w3[100]], [x3[900], x3[700], x3[500], x3[300], x3[100]], [E3[900], E3[700], E3[500], E3[300], E3[100]], [$3[900], $3[700], $3[500], $3[300], $3[100]], [O3[900], O3[700], O3[500], O3[300], O3[100]], [N3[900], N3[700], N3[500], N3[300], N3[100]], [T3[900], T3[700], T3[500], T3[300], T3[100]], [M3[900], M3[700], M3[500], M3[300], M3[100]], ["#000000", "#525252", "#969696", "#D9D9D9", "#FFFFFF"]],
|
|
134357
134355
|
styles: {}
|
|
134358
134356
|
};
|
|
134359
|
-
const
|
|
134357
|
+
const ASt = Hc(cB);
|
|
134360
134358
|
var uB = function(t) {
|
|
134361
134359
|
var n = t.onChange, r = t.onSwatchHover, o = t.hex, i = t.colors, a = t.width, l = t.triangle, s = t.styles, c = s === void 0 ? {} : s, d = t.className, f = d === void 0 ? "" : d, m = Ar(zc({
|
|
134362
134360
|
default: {
|
|
@@ -134512,15 +134510,15 @@ uB.defaultProps = {
|
|
|
134512
134510
|
triangle: "top-left",
|
|
134513
134511
|
styles: {}
|
|
134514
134512
|
};
|
|
134515
|
-
const
|
|
134513
|
+
const zSt = Hc(uB), v8t = (e) => {
|
|
134516
134514
|
const { className: t } = e;
|
|
134517
134515
|
let n = "beca-anchor";
|
|
134518
134516
|
return t && (n += " " + t), n;
|
|
134519
|
-
},
|
|
134517
|
+
}, HSt = (e) => /* @__PURE__ */ A(Lne, { ...e, className: v8t(e) }), Kee = (e) => /* @__PURE__ */ A(Dle, { ...e }), FSt = (e) => /* @__PURE__ */ A(D$, { ...e }), BSt = (e) => /* @__PURE__ */ A(Wse, { ...e }), jSt = (e) => /* @__PURE__ */ A(Lz, { ...e }), y8t = (e) => {
|
|
134520
134518
|
const { className: t } = e;
|
|
134521
134519
|
let n = "beca-tree";
|
|
134522
134520
|
return t && (n += " " + t), n;
|
|
134523
|
-
},
|
|
134521
|
+
}, VSt = (e) => {
|
|
134524
134522
|
const { switcherIcon: t } = e;
|
|
134525
134523
|
return /* @__PURE__ */ A(
|
|
134526
134524
|
Q$,
|
|
@@ -134585,7 +134583,7 @@ const ASt = Hc(uB), v8t = (e) => {
|
|
|
134585
134583
|
w8t
|
|
134586
134584
|
), x8t = gp.TreeNode, E8t = (e) => /* @__PURE__ */ A(x8t, { ...e });
|
|
134587
134585
|
Jw.TreeNode = E8t;
|
|
134588
|
-
const
|
|
134586
|
+
const WSt = (e) => {
|
|
134589
134587
|
const { formItemProps: t, selectProps: n, isAutoComplete: r } = e, { label: o, labelCol: i, wrapperCol: a, ...l } = t ?? {}, s = bt(null), { isMobileApp: c } = lO(), [d, f] = gt(!1), m = () => {
|
|
134590
134588
|
f(!0);
|
|
134591
134589
|
}, g = () => {
|
|
@@ -134659,7 +134657,7 @@ const VSt = (e) => {
|
|
|
134659
134657
|
)
|
|
134660
134658
|
] }) : /* @__PURE__ */ A(Jw, { ...n });
|
|
134661
134659
|
};
|
|
134662
|
-
class
|
|
134660
|
+
class USt {
|
|
134663
134661
|
constructor(t, ...n) {
|
|
134664
134662
|
R0(this, "value");
|
|
134665
134663
|
R0(this, "errors");
|
|
@@ -134676,29 +134674,29 @@ class WSt {
|
|
|
134676
134674
|
export {
|
|
134677
134675
|
$x as APPLE_FONT,
|
|
134678
134676
|
C6e as Alert,
|
|
134679
|
-
|
|
134680
|
-
|
|
134677
|
+
OSt as AlphaPicker,
|
|
134678
|
+
HSt as Anchor,
|
|
134681
134679
|
ooe as App,
|
|
134682
134680
|
K6 as AppContext,
|
|
134683
134681
|
ZXe as ApplicationsCard,
|
|
134684
|
-
|
|
134682
|
+
SSt as AudioPlayer,
|
|
134685
134683
|
ux as AutoComplete,
|
|
134686
134684
|
Mst as Avatar,
|
|
134687
134685
|
J8t as BVP_FONT,
|
|
134688
134686
|
qz as Badge,
|
|
134689
|
-
|
|
134687
|
+
NSt as BlockPicker,
|
|
134690
134688
|
eYe as BodyCard,
|
|
134691
134689
|
act as Breadcrumb,
|
|
134692
134690
|
ur as Button,
|
|
134693
|
-
|
|
134691
|
+
cSt as Calendar,
|
|
134694
134692
|
Cct as Card,
|
|
134695
134693
|
b2 as Checkbox,
|
|
134696
|
-
|
|
134697
|
-
|
|
134694
|
+
MSt as ChromePicker,
|
|
134695
|
+
TSt as CirclePicker,
|
|
134698
134696
|
MY as Col,
|
|
134699
134697
|
Gst as Collapse,
|
|
134700
|
-
|
|
134701
|
-
|
|
134698
|
+
FSt as ColorPicker,
|
|
134699
|
+
RSt as CompactPicker,
|
|
134702
134700
|
oct as ConfigProvider,
|
|
134703
134701
|
oSt as Content,
|
|
134704
134702
|
tH as DEFAULT_MAIN_LAYOUT_CONFIG,
|
|
@@ -134711,69 +134709,69 @@ export {
|
|
|
134711
134709
|
uH as Drawer,
|
|
134712
134710
|
dd as Dropdown,
|
|
134713
134711
|
$f as Empty,
|
|
134714
|
-
|
|
134712
|
+
CSt as ErrorPage,
|
|
134715
134713
|
Kee as Flex,
|
|
134716
134714
|
dm as FloatButton,
|
|
134717
134715
|
bu as Form,
|
|
134718
|
-
|
|
134719
|
-
|
|
134716
|
+
_St as GithubPicker,
|
|
134717
|
+
ISt as HuePicker,
|
|
134720
134718
|
MGe as INTER_FONT,
|
|
134721
134719
|
xhe as Image,
|
|
134722
|
-
|
|
134720
|
+
$St as ImgCrop,
|
|
134723
134721
|
np as Input,
|
|
134724
|
-
|
|
134722
|
+
uSt as InputNumber,
|
|
134725
134723
|
H2 as Layout,
|
|
134726
134724
|
Ox as LayoutService,
|
|
134727
134725
|
C4 as List,
|
|
134728
134726
|
rSt as MainLayout,
|
|
134729
|
-
|
|
134727
|
+
PSt as MaterialPicker,
|
|
134730
134728
|
L6 as Mentions,
|
|
134731
134729
|
ul as Menu,
|
|
134732
134730
|
V2 as Modal,
|
|
134733
134731
|
mqe as NotificationService,
|
|
134734
134732
|
iSt as Pagination,
|
|
134735
134733
|
Wst as Paragraph,
|
|
134736
|
-
|
|
134734
|
+
kSt as PhotoshopPicker,
|
|
134737
134735
|
Pst as Popconfirm,
|
|
134738
134736
|
IJ as Popover,
|
|
134739
134737
|
Cz as Progress,
|
|
134740
|
-
|
|
134738
|
+
BSt as QRCode,
|
|
134741
134739
|
rJe as Radio,
|
|
134742
|
-
|
|
134743
|
-
|
|
134740
|
+
xSt as Rate,
|
|
134741
|
+
USt as Result,
|
|
134744
134742
|
AZe as Row,
|
|
134745
134743
|
dO as ScrollView,
|
|
134746
|
-
|
|
134744
|
+
bSt as Segmented,
|
|
134747
134745
|
Ec as Select,
|
|
134748
|
-
|
|
134746
|
+
dSt as SelectField,
|
|
134749
134747
|
Ou as Skeleton,
|
|
134750
|
-
|
|
134751
|
-
|
|
134752
|
-
|
|
134748
|
+
LSt as SketchPicker,
|
|
134749
|
+
ySt as Slider,
|
|
134750
|
+
DSt as SliderPicker,
|
|
134753
134751
|
hs as Space,
|
|
134754
134752
|
nH as Spin,
|
|
134755
|
-
|
|
134753
|
+
vSt as Statistic,
|
|
134756
134754
|
Xse as Steps,
|
|
134757
|
-
|
|
134758
|
-
|
|
134759
|
-
|
|
134760
|
-
|
|
134755
|
+
ASt as SwatchesPicker,
|
|
134756
|
+
gSt as Switch,
|
|
134757
|
+
lSt as Table,
|
|
134758
|
+
sSt as TableSummary,
|
|
134761
134759
|
Ehe as Tabs,
|
|
134762
|
-
|
|
134763
|
-
|
|
134760
|
+
mSt as Tag,
|
|
134761
|
+
hSt as TextEditor,
|
|
134764
134762
|
Fst as TimePicker,
|
|
134765
134763
|
Jce as Timeline,
|
|
134766
134764
|
nF as Tooltip,
|
|
134767
|
-
|
|
134768
|
-
|
|
134765
|
+
jSt as Tour,
|
|
134766
|
+
VSt as Tree,
|
|
134769
134767
|
E8t as TreeNode,
|
|
134770
134768
|
Jw as TreeSelect,
|
|
134771
|
-
|
|
134772
|
-
|
|
134769
|
+
WSt as TreeSelectField,
|
|
134770
|
+
zSt as TwitterPicker,
|
|
134773
134771
|
BO as Typography,
|
|
134774
134772
|
whe as Upload,
|
|
134775
|
-
|
|
134776
|
-
|
|
134773
|
+
wSt as VideoPlayer,
|
|
134774
|
+
ESt as VirtualList,
|
|
134777
134775
|
tSt as convertToTitleCase,
|
|
134778
134776
|
xse as message,
|
|
134779
134777
|
Aw as mobileWidth,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { TableProps, TableRef } from ".";
|
|
3
|
+
export declare const Table: React.ForwardRefExoticComponent<TableProps<unknown> & React.RefAttributes<TableRef>>;
|
|
2
4
|
export declare const TableSummary: typeof import("rc-table/lib/Footer/Summary").default;
|
|
3
|
-
export default AntTable;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TableProps as AntTableProps } from "antd";
|
|
2
|
-
import {
|
|
3
|
-
export interface TableProps<T = any> extends Omit<AntTableProps<T>, "rowSelection"> {
|
|
2
|
+
import { ColumnType as AntColumnType, TableRowSelection as AntTableRowSelection, ColumnTitle as AntColumnTitle, FilterDropdownProps, ColumnsType as AntColumnsType } from "antd/lib/table/interface";
|
|
3
|
+
export interface TableProps<T = any> extends Omit<AntTableProps<T>, "rowSelection" | "columns"> {
|
|
4
4
|
transparent?: boolean;
|
|
5
5
|
rowSelection?: TableRowSelection<any>;
|
|
6
6
|
onRowSelect?: (record: any) => void;
|
|
@@ -9,6 +9,7 @@ export interface TableProps<T = any> extends Omit<AntTableProps<T>, "rowSelectio
|
|
|
9
9
|
isResizable?: boolean;
|
|
10
10
|
isBodyCard?: boolean;
|
|
11
11
|
onResizeColumns?: (columns: ColumnsType) => void;
|
|
12
|
+
columns?: ColumnsType;
|
|
12
13
|
responsive?: {
|
|
13
14
|
breakpoint?: number;
|
|
14
15
|
dataLabel?: (column: any, record: any, rowIndex: number) => React.ReactNode | string;
|
|
@@ -24,7 +25,7 @@ export interface TableRef {
|
|
|
24
25
|
export interface TableRowSelection<T> extends Omit<AntTableRowSelection<T>, "onSelectAll"> {
|
|
25
26
|
onSelectAll?: (isSelectedAll: boolean, selectedRowKeys: any[], selectedRows?: any[]) => void;
|
|
26
27
|
}
|
|
27
|
-
export type ColumnsType<
|
|
28
|
+
export type ColumnsType<T = any> = AntColumnsType<T>;
|
|
28
29
|
export type ColumnType<RecordType = any> = AntColumnType<RecordType> & {
|
|
29
30
|
editable?: boolean;
|
|
30
31
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TableProps, ColumnsType, TableRef, TableRowSelection, ColumnType, ColumnTitle } from "./Table.types";
|
|
2
|
-
export {
|
|
2
|
+
export { Table, TableSummary } from "./Table";
|
|
3
3
|
export type { TableProps, ColumnsType, TableRef, TableRowSelection, ColumnType, ColumnTitle, };
|