beca-ui 2.0.19-beta.77 → 2.0.19-beta.79
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 +346 -300
- package/package.json +1 -1
package/dist/beca-ui.js
CHANGED
|
@@ -30321,7 +30321,7 @@ var sentinelStyle$1 = {
|
|
|
30321
30321
|
}));
|
|
30322
30322
|
});
|
|
30323
30323
|
process.env.NODE_ENV !== "production" && (Panel$2.displayName = "Panel");
|
|
30324
|
-
var Content$
|
|
30324
|
+
var Content$4 = /* @__PURE__ */ React$4.forwardRef(function(a, s) {
|
|
30325
30325
|
var c = a.prefixCls, u = a.title, d = a.style, f = a.className, p = a.visible, h = a.forceRender, m = a.destroyOnClose, g = a.motionName, y = a.ariaId, C = a.onVisibleChanged, x = a.mousePosition, _ = useRef(), E = React$4.useState(), R = _slicedToArray$1(E, 2), O = R[0], k = R[1], A = {};
|
|
30326
30326
|
O && (A.transformOrigin = O);
|
|
30327
30327
|
function I() {
|
|
@@ -30350,7 +30350,7 @@ var Content$3 = /* @__PURE__ */ React$4.forwardRef(function(a, s) {
|
|
|
30350
30350
|
}));
|
|
30351
30351
|
});
|
|
30352
30352
|
});
|
|
30353
|
-
Content$
|
|
30353
|
+
Content$4.displayName = "Content";
|
|
30354
30354
|
var Mask$2 = function(s) {
|
|
30355
30355
|
var c = s.prefixCls, u = s.style, d = s.visible, f = s.maskProps, p = s.motionName, h = s.className;
|
|
30356
30356
|
return /* @__PURE__ */ React$4.createElement(CSSMotion, {
|
|
@@ -30450,7 +30450,7 @@ var Mask$2 = function(s) {
|
|
|
30450
30450
|
ref: ge,
|
|
30451
30451
|
onClick: Ve,
|
|
30452
30452
|
style: pt
|
|
30453
|
-
}, _), /* @__PURE__ */ React$4.createElement(Content$
|
|
30453
|
+
}, _), /* @__PURE__ */ React$4.createElement(Content$4, _extends$j({}, s, {
|
|
30454
30454
|
onMouseDown: ft,
|
|
30455
30455
|
onMouseUp: It,
|
|
30456
30456
|
ref: Ne,
|
|
@@ -45142,299 +45142,297 @@ const getPath$1 = (a, s) => {
|
|
|
45142
45142
|
Breadcrumb$1.Item = BreadcrumbItem;
|
|
45143
45143
|
Breadcrumb$1.Separator = BreadcrumbSeparator;
|
|
45144
45144
|
process.env.NODE_ENV !== "production" && (Breadcrumb$1.displayName = "Breadcrumb");
|
|
45145
|
-
var dayjs_min = { exports: {} }
|
|
45146
|
-
function
|
|
45147
|
-
|
|
45148
|
-
|
|
45149
|
-
|
|
45150
|
-
})(
|
|
45151
|
-
var
|
|
45152
|
-
|
|
45153
|
-
|
|
45154
|
-
|
|
45155
|
-
|
|
45156
|
-
|
|
45157
|
-
|
|
45158
|
-
|
|
45159
|
-
|
|
45160
|
-
|
|
45161
|
-
|
|
45162
|
-
|
|
45163
|
-
|
|
45164
|
-
|
|
45165
|
-
|
|
45166
|
-
|
|
45167
|
-
|
|
45168
|
-
|
|
45169
|
-
|
|
45170
|
-
|
|
45171
|
-
|
|
45172
|
-
|
|
45173
|
-
|
|
45174
|
-
|
|
45175
|
-
|
|
45176
|
-
|
|
45177
|
-
|
|
45178
|
-
|
|
45179
|
-
|
|
45180
|
-
|
|
45181
|
-
|
|
45182
|
-
|
|
45183
|
-
|
|
45184
|
-
|
|
45185
|
-
|
|
45186
|
-
|
|
45187
|
-
|
|
45188
|
-
|
|
45189
|
-
|
|
45190
|
-
|
|
45191
|
-
|
|
45192
|
-
|
|
45193
|
-
|
|
45194
|
-
|
|
45195
|
-
|
|
45196
|
-
|
|
45197
|
-
|
|
45198
|
-
|
|
45199
|
-
|
|
45200
|
-
|
|
45201
|
-
|
|
45202
|
-
|
|
45203
|
-
|
|
45204
|
-
|
|
45205
|
-
|
|
45206
|
-
|
|
45207
|
-
|
|
45208
|
-
|
|
45209
|
-
|
|
45210
|
-
|
|
45211
|
-
if (Ne instanceof Date)
|
|
45212
|
-
return new Date(Ne);
|
|
45213
|
-
if (typeof Ne == "string" && !/Z$/i.test(Ne)) {
|
|
45214
|
-
var ye = Ne.match(O);
|
|
45215
|
-
if (ye) {
|
|
45216
|
-
var we = ye[2] - 1 || 0, se = (ye[7] || "0").substring(0, 3);
|
|
45217
|
-
return ve ? new Date(Date.UTC(ye[1], we, ye[3] || 1, ye[4] || 0, ye[5] || 0, ye[6] || 0, se)) : new Date(ye[1], we, ye[3] || 1, ye[4] || 0, ye[5] || 0, ye[6] || 0, se);
|
|
45218
|
-
}
|
|
45219
|
-
}
|
|
45145
|
+
var dayjs_min = { exports: {} };
|
|
45146
|
+
(function(a, s) {
|
|
45147
|
+
(function(c, u) {
|
|
45148
|
+
a.exports = u();
|
|
45149
|
+
})(commonjsGlobal, function() {
|
|
45150
|
+
var c = 1e3, u = 6e4, d = 36e5, f = "millisecond", p = "second", h = "minute", m = "hour", g = "day", y = "week", C = "month", x = "quarter", _ = "year", E = "date", R = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, k = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, A = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(ae) {
|
|
45151
|
+
var oe = ["th", "st", "nd", "rd"], ue = ae % 100;
|
|
45152
|
+
return "[" + ae + (oe[(ue - 20) % 10] || oe[ue] || oe[0]) + "]";
|
|
45153
|
+
} }, I = function(ae, oe, ue) {
|
|
45154
|
+
var ge = String(ae);
|
|
45155
|
+
return !ge || ge.length >= oe ? ae : "" + Array(oe + 1 - ge.length).join(ue) + ae;
|
|
45156
|
+
}, P = { s: I, z: function(ae) {
|
|
45157
|
+
var oe = -ae.utcOffset(), ue = Math.abs(oe), ge = Math.floor(ue / 60), Ne = ue % 60;
|
|
45158
|
+
return (oe <= 0 ? "+" : "-") + I(ge, 2, "0") + ":" + I(Ne, 2, "0");
|
|
45159
|
+
}, m: function ae(oe, ue) {
|
|
45160
|
+
if (oe.date() < ue.date())
|
|
45161
|
+
return -ae(ue, oe);
|
|
45162
|
+
var ge = 12 * (ue.year() - oe.year()) + (ue.month() - oe.month()), Ne = oe.clone().add(ge, C), ve = ue - Ne < 0, ye = oe.clone().add(ge + (ve ? -1 : 1), C);
|
|
45163
|
+
return +(-(ge + (ue - Ne) / (ve ? Ne - ye : ye - Ne)) || 0);
|
|
45164
|
+
}, a: function(ae) {
|
|
45165
|
+
return ae < 0 ? Math.ceil(ae) || 0 : Math.floor(ae);
|
|
45166
|
+
}, p: function(ae) {
|
|
45167
|
+
return { M: C, y: _, w: y, d: g, D: E, h: m, m: h, s: p, ms: f, Q: x }[ae] || String(ae || "").toLowerCase().replace(/s$/, "");
|
|
45168
|
+
}, u: function(ae) {
|
|
45169
|
+
return ae === void 0;
|
|
45170
|
+
} }, j = "en", F = {};
|
|
45171
|
+
F[j] = A;
|
|
45172
|
+
var H = "$isDayjsObject", W = function(ae) {
|
|
45173
|
+
return ae instanceof Z || !(!ae || !ae[H]);
|
|
45174
|
+
}, V = function ae(oe, ue, ge) {
|
|
45175
|
+
var Ne;
|
|
45176
|
+
if (!oe)
|
|
45177
|
+
return j;
|
|
45178
|
+
if (typeof oe == "string") {
|
|
45179
|
+
var ve = oe.toLowerCase();
|
|
45180
|
+
F[ve] && (Ne = ve), ue && (F[ve] = ue, Ne = ve);
|
|
45181
|
+
var ye = oe.split("-");
|
|
45182
|
+
if (!Ne && ye.length > 1)
|
|
45183
|
+
return ae(ye[0]);
|
|
45184
|
+
} else {
|
|
45185
|
+
var we = oe.name;
|
|
45186
|
+
F[we] = oe, Ne = we;
|
|
45187
|
+
}
|
|
45188
|
+
return !ge && Ne && (j = Ne), Ne || !ge && j;
|
|
45189
|
+
}, X = function(ae, oe) {
|
|
45190
|
+
if (W(ae))
|
|
45191
|
+
return ae.clone();
|
|
45192
|
+
var ue = typeof oe == "object" ? oe : {};
|
|
45193
|
+
return ue.date = ae, ue.args = arguments, new Z(ue);
|
|
45194
|
+
}, ee = P;
|
|
45195
|
+
ee.l = V, ee.i = W, ee.w = function(ae, oe) {
|
|
45196
|
+
return X(ae, { locale: oe.$L, utc: oe.$u, x: oe.$x, $offset: oe.$offset });
|
|
45197
|
+
};
|
|
45198
|
+
var Z = function() {
|
|
45199
|
+
function ae(ue) {
|
|
45200
|
+
this.$L = V(ue.locale, null, !0), this.parse(ue), this.$x = this.$x || ue.x || {}, this[H] = !0;
|
|
45201
|
+
}
|
|
45202
|
+
var oe = ae.prototype;
|
|
45203
|
+
return oe.parse = function(ue) {
|
|
45204
|
+
this.$d = function(ge) {
|
|
45205
|
+
var Ne = ge.date, ve = ge.utc;
|
|
45206
|
+
if (Ne === null)
|
|
45207
|
+
return /* @__PURE__ */ new Date(NaN);
|
|
45208
|
+
if (ee.u(Ne))
|
|
45209
|
+
return /* @__PURE__ */ new Date();
|
|
45210
|
+
if (Ne instanceof Date)
|
|
45220
45211
|
return new Date(Ne);
|
|
45221
|
-
|
|
45222
|
-
|
|
45223
|
-
|
|
45224
|
-
|
|
45225
|
-
|
|
45226
|
-
|
|
45227
|
-
|
|
45228
|
-
return
|
|
45229
|
-
},
|
|
45230
|
-
|
|
45231
|
-
|
|
45232
|
-
|
|
45233
|
-
|
|
45234
|
-
|
|
45235
|
-
|
|
45236
|
-
|
|
45237
|
-
|
|
45238
|
-
|
|
45239
|
-
|
|
45240
|
-
|
|
45241
|
-
|
|
45242
|
-
|
|
45243
|
-
|
|
45244
|
-
|
|
45245
|
-
|
|
45246
|
-
|
|
45247
|
-
|
|
45248
|
-
|
|
45249
|
-
|
|
45250
|
-
|
|
45251
|
-
|
|
45252
|
-
|
|
45253
|
-
|
|
45254
|
-
|
|
45255
|
-
|
|
45256
|
-
|
|
45257
|
-
|
|
45258
|
-
|
|
45259
|
-
|
|
45260
|
-
|
|
45261
|
-
|
|
45262
|
-
|
|
45263
|
-
|
|
45264
|
-
|
|
45265
|
-
|
|
45266
|
-
|
|
45267
|
-
|
|
45268
|
-
|
|
45269
|
-
|
|
45270
|
-
|
|
45271
|
-
|
|
45272
|
-
|
|
45273
|
-
|
|
45274
|
-
|
|
45275
|
-
|
|
45276
|
-
|
|
45277
|
-
|
|
45278
|
-
|
|
45279
|
-
|
|
45280
|
-
|
|
45281
|
-
|
|
45282
|
-
|
|
45283
|
-
|
|
45284
|
-
|
|
45285
|
-
|
|
45286
|
-
|
|
45287
|
-
|
|
45288
|
-
|
|
45289
|
-
|
|
45290
|
-
|
|
45291
|
-
|
|
45292
|
-
|
|
45293
|
-
|
|
45294
|
-
|
|
45295
|
-
|
|
45296
|
-
|
|
45297
|
-
return we(7);
|
|
45298
|
-
var se = (Ne = {}, Ne[h] = u, Ne[m] = d, Ne[p] = c, Ne)[ye] || 1, Se = this.$d.getTime() + ue * se;
|
|
45299
|
-
return ee.w(Se, this);
|
|
45300
|
-
}, oe.subtract = function(ue, ge) {
|
|
45301
|
-
return this.add(-1 * ue, ge);
|
|
45302
|
-
}, oe.format = function(ue) {
|
|
45303
|
-
var ge = this, Ne = this.$locale();
|
|
45304
|
-
if (!this.isValid())
|
|
45305
|
-
return Ne.invalidDate || R;
|
|
45306
|
-
var ve = ue || "YYYY-MM-DDTHH:mm:ssZ", ye = ee.z(this), we = this.$H, se = this.$m, Se = this.$M, be = Ne.weekdays, ze = Ne.months, je = Ne.meridiem, He = function(ft, It, Ve, ht) {
|
|
45307
|
-
return ft && (ft[It] || ft(ge, ve)) || Ve[It].slice(0, ht);
|
|
45308
|
-
}, We = function(ft) {
|
|
45309
|
-
return ee.s(we % 12 || 12, ft, "0");
|
|
45310
|
-
}, lt = je || function(ft, It, Ve) {
|
|
45311
|
-
var ht = ft < 12 ? "AM" : "PM";
|
|
45312
|
-
return Ve ? ht.toLowerCase() : ht;
|
|
45313
|
-
};
|
|
45314
|
-
return ve.replace(k, function(ft, It) {
|
|
45315
|
-
return It || function(Ve) {
|
|
45316
|
-
switch (Ve) {
|
|
45317
|
-
case "YY":
|
|
45318
|
-
return String(ge.$y).slice(-2);
|
|
45319
|
-
case "YYYY":
|
|
45320
|
-
return ee.s(ge.$y, 4, "0");
|
|
45321
|
-
case "M":
|
|
45322
|
-
return Se + 1;
|
|
45323
|
-
case "MM":
|
|
45324
|
-
return ee.s(Se + 1, 2, "0");
|
|
45325
|
-
case "MMM":
|
|
45326
|
-
return He(Ne.monthsShort, Se, ze, 3);
|
|
45327
|
-
case "MMMM":
|
|
45328
|
-
return He(ze, Se);
|
|
45329
|
-
case "D":
|
|
45330
|
-
return ge.$D;
|
|
45331
|
-
case "DD":
|
|
45332
|
-
return ee.s(ge.$D, 2, "0");
|
|
45333
|
-
case "d":
|
|
45334
|
-
return String(ge.$W);
|
|
45335
|
-
case "dd":
|
|
45336
|
-
return He(Ne.weekdaysMin, ge.$W, be, 2);
|
|
45337
|
-
case "ddd":
|
|
45338
|
-
return He(Ne.weekdaysShort, ge.$W, be, 3);
|
|
45339
|
-
case "dddd":
|
|
45340
|
-
return be[ge.$W];
|
|
45341
|
-
case "H":
|
|
45342
|
-
return String(we);
|
|
45343
|
-
case "HH":
|
|
45344
|
-
return ee.s(we, 2, "0");
|
|
45345
|
-
case "h":
|
|
45346
|
-
return We(1);
|
|
45347
|
-
case "hh":
|
|
45348
|
-
return We(2);
|
|
45349
|
-
case "a":
|
|
45350
|
-
return lt(we, se, !0);
|
|
45351
|
-
case "A":
|
|
45352
|
-
return lt(we, se, !1);
|
|
45353
|
-
case "m":
|
|
45354
|
-
return String(se);
|
|
45355
|
-
case "mm":
|
|
45356
|
-
return ee.s(se, 2, "0");
|
|
45357
|
-
case "s":
|
|
45358
|
-
return String(ge.$s);
|
|
45359
|
-
case "ss":
|
|
45360
|
-
return ee.s(ge.$s, 2, "0");
|
|
45361
|
-
case "SSS":
|
|
45362
|
-
return ee.s(ge.$ms, 3, "0");
|
|
45363
|
-
case "Z":
|
|
45364
|
-
return ye;
|
|
45365
|
-
}
|
|
45366
|
-
return null;
|
|
45367
|
-
}(ft) || ye.replace(":", "");
|
|
45368
|
-
});
|
|
45369
|
-
}, oe.utcOffset = function() {
|
|
45370
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
45371
|
-
}, oe.diff = function(ue, ge, Ne) {
|
|
45372
|
-
var ve, ye = this, we = ee.p(ge), se = X(ue), Se = (se.utcOffset() - this.utcOffset()) * u, be = this - se, ze = function() {
|
|
45373
|
-
return ee.m(ye, se);
|
|
45374
|
-
};
|
|
45375
|
-
switch (we) {
|
|
45376
|
-
case _:
|
|
45377
|
-
ve = ze() / 12;
|
|
45378
|
-
break;
|
|
45379
|
-
case C:
|
|
45380
|
-
ve = ze();
|
|
45381
|
-
break;
|
|
45382
|
-
case x:
|
|
45383
|
-
ve = ze() / 3;
|
|
45384
|
-
break;
|
|
45385
|
-
case y:
|
|
45386
|
-
ve = (be - Se) / 6048e5;
|
|
45387
|
-
break;
|
|
45388
|
-
case g:
|
|
45389
|
-
ve = (be - Se) / 864e5;
|
|
45390
|
-
break;
|
|
45391
|
-
case m:
|
|
45392
|
-
ve = be / d;
|
|
45393
|
-
break;
|
|
45394
|
-
case h:
|
|
45395
|
-
ve = be / u;
|
|
45396
|
-
break;
|
|
45397
|
-
case p:
|
|
45398
|
-
ve = be / c;
|
|
45399
|
-
break;
|
|
45400
|
-
default:
|
|
45401
|
-
ve = be;
|
|
45402
|
-
}
|
|
45403
|
-
return Ne ? ve : ee.a(ve);
|
|
45404
|
-
}, oe.daysInMonth = function() {
|
|
45405
|
-
return this.endOf(C).$D;
|
|
45406
|
-
}, oe.$locale = function() {
|
|
45407
|
-
return F[this.$L];
|
|
45408
|
-
}, oe.locale = function(ue, ge) {
|
|
45409
|
-
if (!ue)
|
|
45410
|
-
return this.$L;
|
|
45411
|
-
var Ne = this.clone(), ve = V(ue, ge, !0);
|
|
45412
|
-
return ve && (Ne.$L = ve), Ne;
|
|
45413
|
-
}, oe.clone = function() {
|
|
45414
|
-
return ee.w(this.$d, this);
|
|
45415
|
-
}, oe.toDate = function() {
|
|
45416
|
-
return new Date(this.valueOf());
|
|
45417
|
-
}, oe.toJSON = function() {
|
|
45418
|
-
return this.isValid() ? this.toISOString() : null;
|
|
45419
|
-
}, oe.toISOString = function() {
|
|
45420
|
-
return this.$d.toISOString();
|
|
45421
|
-
}, oe.toString = function() {
|
|
45422
|
-
return this.$d.toUTCString();
|
|
45423
|
-
}, ae;
|
|
45424
|
-
}(), re = Z.prototype;
|
|
45425
|
-
return X.prototype = re, [["$ms", f], ["$s", p], ["$m", h], ["$H", m], ["$W", g], ["$M", C], ["$y", _], ["$D", E]].forEach(function(ae) {
|
|
45426
|
-
re[ae[1]] = function(oe) {
|
|
45427
|
-
return this.$g(oe, ae[0], ae[1]);
|
|
45212
|
+
if (typeof Ne == "string" && !/Z$/i.test(Ne)) {
|
|
45213
|
+
var ye = Ne.match(O);
|
|
45214
|
+
if (ye) {
|
|
45215
|
+
var we = ye[2] - 1 || 0, se = (ye[7] || "0").substring(0, 3);
|
|
45216
|
+
return ve ? new Date(Date.UTC(ye[1], we, ye[3] || 1, ye[4] || 0, ye[5] || 0, ye[6] || 0, se)) : new Date(ye[1], we, ye[3] || 1, ye[4] || 0, ye[5] || 0, ye[6] || 0, se);
|
|
45217
|
+
}
|
|
45218
|
+
}
|
|
45219
|
+
return new Date(Ne);
|
|
45220
|
+
}(ue), this.init();
|
|
45221
|
+
}, oe.init = function() {
|
|
45222
|
+
var ue = this.$d;
|
|
45223
|
+
this.$y = ue.getFullYear(), this.$M = ue.getMonth(), this.$D = ue.getDate(), this.$W = ue.getDay(), this.$H = ue.getHours(), this.$m = ue.getMinutes(), this.$s = ue.getSeconds(), this.$ms = ue.getMilliseconds();
|
|
45224
|
+
}, oe.$utils = function() {
|
|
45225
|
+
return ee;
|
|
45226
|
+
}, oe.isValid = function() {
|
|
45227
|
+
return this.$d.toString() !== R;
|
|
45228
|
+
}, oe.isSame = function(ue, ge) {
|
|
45229
|
+
var Ne = X(ue);
|
|
45230
|
+
return this.startOf(ge) <= Ne && Ne <= this.endOf(ge);
|
|
45231
|
+
}, oe.isAfter = function(ue, ge) {
|
|
45232
|
+
return X(ue) < this.startOf(ge);
|
|
45233
|
+
}, oe.isBefore = function(ue, ge) {
|
|
45234
|
+
return this.endOf(ge) < X(ue);
|
|
45235
|
+
}, oe.$g = function(ue, ge, Ne) {
|
|
45236
|
+
return ee.u(ue) ? this[ge] : this.set(Ne, ue);
|
|
45237
|
+
}, oe.unix = function() {
|
|
45238
|
+
return Math.floor(this.valueOf() / 1e3);
|
|
45239
|
+
}, oe.valueOf = function() {
|
|
45240
|
+
return this.$d.getTime();
|
|
45241
|
+
}, oe.startOf = function(ue, ge) {
|
|
45242
|
+
var Ne = this, ve = !!ee.u(ge) || ge, ye = ee.p(ue), we = function(lt, ft) {
|
|
45243
|
+
var It = ee.w(Ne.$u ? Date.UTC(Ne.$y, ft, lt) : new Date(Ne.$y, ft, lt), Ne);
|
|
45244
|
+
return ve ? It : It.endOf(g);
|
|
45245
|
+
}, se = function(lt, ft) {
|
|
45246
|
+
return ee.w(Ne.toDate()[lt].apply(Ne.toDate("s"), (ve ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ft)), Ne);
|
|
45247
|
+
}, Se = this.$W, be = this.$M, ze = this.$D, je = "set" + (this.$u ? "UTC" : "");
|
|
45248
|
+
switch (ye) {
|
|
45249
|
+
case _:
|
|
45250
|
+
return ve ? we(1, 0) : we(31, 11);
|
|
45251
|
+
case C:
|
|
45252
|
+
return ve ? we(1, be) : we(0, be + 1);
|
|
45253
|
+
case y:
|
|
45254
|
+
var He = this.$locale().weekStart || 0, We = (Se < He ? Se + 7 : Se) - He;
|
|
45255
|
+
return we(ve ? ze - We : ze + (6 - We), be);
|
|
45256
|
+
case g:
|
|
45257
|
+
case E:
|
|
45258
|
+
return se(je + "Hours", 0);
|
|
45259
|
+
case m:
|
|
45260
|
+
return se(je + "Minutes", 1);
|
|
45261
|
+
case h:
|
|
45262
|
+
return se(je + "Seconds", 2);
|
|
45263
|
+
case p:
|
|
45264
|
+
return se(je + "Milliseconds", 3);
|
|
45265
|
+
default:
|
|
45266
|
+
return this.clone();
|
|
45267
|
+
}
|
|
45268
|
+
}, oe.endOf = function(ue) {
|
|
45269
|
+
return this.startOf(ue, !1);
|
|
45270
|
+
}, oe.$set = function(ue, ge) {
|
|
45271
|
+
var Ne, ve = ee.p(ue), ye = "set" + (this.$u ? "UTC" : ""), we = (Ne = {}, Ne[g] = ye + "Date", Ne[E] = ye + "Date", Ne[C] = ye + "Month", Ne[_] = ye + "FullYear", Ne[m] = ye + "Hours", Ne[h] = ye + "Minutes", Ne[p] = ye + "Seconds", Ne[f] = ye + "Milliseconds", Ne)[ve], se = ve === g ? this.$D + (ge - this.$W) : ge;
|
|
45272
|
+
if (ve === C || ve === _) {
|
|
45273
|
+
var Se = this.clone().set(E, 1);
|
|
45274
|
+
Se.$d[we](se), Se.init(), this.$d = Se.set(E, Math.min(this.$D, Se.daysInMonth())).$d;
|
|
45275
|
+
} else
|
|
45276
|
+
we && this.$d[we](se);
|
|
45277
|
+
return this.init(), this;
|
|
45278
|
+
}, oe.set = function(ue, ge) {
|
|
45279
|
+
return this.clone().$set(ue, ge);
|
|
45280
|
+
}, oe.get = function(ue) {
|
|
45281
|
+
return this[ee.p(ue)]();
|
|
45282
|
+
}, oe.add = function(ue, ge) {
|
|
45283
|
+
var Ne, ve = this;
|
|
45284
|
+
ue = Number(ue);
|
|
45285
|
+
var ye = ee.p(ge), we = function(be) {
|
|
45286
|
+
var ze = X(ve);
|
|
45287
|
+
return ee.w(ze.date(ze.date() + Math.round(be * ue)), ve);
|
|
45428
45288
|
};
|
|
45429
|
-
|
|
45430
|
-
|
|
45431
|
-
|
|
45432
|
-
|
|
45433
|
-
|
|
45434
|
-
|
|
45435
|
-
|
|
45436
|
-
|
|
45437
|
-
var
|
|
45289
|
+
if (ye === C)
|
|
45290
|
+
return this.set(C, this.$M + ue);
|
|
45291
|
+
if (ye === _)
|
|
45292
|
+
return this.set(_, this.$y + ue);
|
|
45293
|
+
if (ye === g)
|
|
45294
|
+
return we(1);
|
|
45295
|
+
if (ye === y)
|
|
45296
|
+
return we(7);
|
|
45297
|
+
var se = (Ne = {}, Ne[h] = u, Ne[m] = d, Ne[p] = c, Ne)[ye] || 1, Se = this.$d.getTime() + ue * se;
|
|
45298
|
+
return ee.w(Se, this);
|
|
45299
|
+
}, oe.subtract = function(ue, ge) {
|
|
45300
|
+
return this.add(-1 * ue, ge);
|
|
45301
|
+
}, oe.format = function(ue) {
|
|
45302
|
+
var ge = this, Ne = this.$locale();
|
|
45303
|
+
if (!this.isValid())
|
|
45304
|
+
return Ne.invalidDate || R;
|
|
45305
|
+
var ve = ue || "YYYY-MM-DDTHH:mm:ssZ", ye = ee.z(this), we = this.$H, se = this.$m, Se = this.$M, be = Ne.weekdays, ze = Ne.months, je = Ne.meridiem, He = function(ft, It, Ve, ht) {
|
|
45306
|
+
return ft && (ft[It] || ft(ge, ve)) || Ve[It].slice(0, ht);
|
|
45307
|
+
}, We = function(ft) {
|
|
45308
|
+
return ee.s(we % 12 || 12, ft, "0");
|
|
45309
|
+
}, lt = je || function(ft, It, Ve) {
|
|
45310
|
+
var ht = ft < 12 ? "AM" : "PM";
|
|
45311
|
+
return Ve ? ht.toLowerCase() : ht;
|
|
45312
|
+
};
|
|
45313
|
+
return ve.replace(k, function(ft, It) {
|
|
45314
|
+
return It || function(Ve) {
|
|
45315
|
+
switch (Ve) {
|
|
45316
|
+
case "YY":
|
|
45317
|
+
return String(ge.$y).slice(-2);
|
|
45318
|
+
case "YYYY":
|
|
45319
|
+
return ee.s(ge.$y, 4, "0");
|
|
45320
|
+
case "M":
|
|
45321
|
+
return Se + 1;
|
|
45322
|
+
case "MM":
|
|
45323
|
+
return ee.s(Se + 1, 2, "0");
|
|
45324
|
+
case "MMM":
|
|
45325
|
+
return He(Ne.monthsShort, Se, ze, 3);
|
|
45326
|
+
case "MMMM":
|
|
45327
|
+
return He(ze, Se);
|
|
45328
|
+
case "D":
|
|
45329
|
+
return ge.$D;
|
|
45330
|
+
case "DD":
|
|
45331
|
+
return ee.s(ge.$D, 2, "0");
|
|
45332
|
+
case "d":
|
|
45333
|
+
return String(ge.$W);
|
|
45334
|
+
case "dd":
|
|
45335
|
+
return He(Ne.weekdaysMin, ge.$W, be, 2);
|
|
45336
|
+
case "ddd":
|
|
45337
|
+
return He(Ne.weekdaysShort, ge.$W, be, 3);
|
|
45338
|
+
case "dddd":
|
|
45339
|
+
return be[ge.$W];
|
|
45340
|
+
case "H":
|
|
45341
|
+
return String(we);
|
|
45342
|
+
case "HH":
|
|
45343
|
+
return ee.s(we, 2, "0");
|
|
45344
|
+
case "h":
|
|
45345
|
+
return We(1);
|
|
45346
|
+
case "hh":
|
|
45347
|
+
return We(2);
|
|
45348
|
+
case "a":
|
|
45349
|
+
return lt(we, se, !0);
|
|
45350
|
+
case "A":
|
|
45351
|
+
return lt(we, se, !1);
|
|
45352
|
+
case "m":
|
|
45353
|
+
return String(se);
|
|
45354
|
+
case "mm":
|
|
45355
|
+
return ee.s(se, 2, "0");
|
|
45356
|
+
case "s":
|
|
45357
|
+
return String(ge.$s);
|
|
45358
|
+
case "ss":
|
|
45359
|
+
return ee.s(ge.$s, 2, "0");
|
|
45360
|
+
case "SSS":
|
|
45361
|
+
return ee.s(ge.$ms, 3, "0");
|
|
45362
|
+
case "Z":
|
|
45363
|
+
return ye;
|
|
45364
|
+
}
|
|
45365
|
+
return null;
|
|
45366
|
+
}(ft) || ye.replace(":", "");
|
|
45367
|
+
});
|
|
45368
|
+
}, oe.utcOffset = function() {
|
|
45369
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
45370
|
+
}, oe.diff = function(ue, ge, Ne) {
|
|
45371
|
+
var ve, ye = this, we = ee.p(ge), se = X(ue), Se = (se.utcOffset() - this.utcOffset()) * u, be = this - se, ze = function() {
|
|
45372
|
+
return ee.m(ye, se);
|
|
45373
|
+
};
|
|
45374
|
+
switch (we) {
|
|
45375
|
+
case _:
|
|
45376
|
+
ve = ze() / 12;
|
|
45377
|
+
break;
|
|
45378
|
+
case C:
|
|
45379
|
+
ve = ze();
|
|
45380
|
+
break;
|
|
45381
|
+
case x:
|
|
45382
|
+
ve = ze() / 3;
|
|
45383
|
+
break;
|
|
45384
|
+
case y:
|
|
45385
|
+
ve = (be - Se) / 6048e5;
|
|
45386
|
+
break;
|
|
45387
|
+
case g:
|
|
45388
|
+
ve = (be - Se) / 864e5;
|
|
45389
|
+
break;
|
|
45390
|
+
case m:
|
|
45391
|
+
ve = be / d;
|
|
45392
|
+
break;
|
|
45393
|
+
case h:
|
|
45394
|
+
ve = be / u;
|
|
45395
|
+
break;
|
|
45396
|
+
case p:
|
|
45397
|
+
ve = be / c;
|
|
45398
|
+
break;
|
|
45399
|
+
default:
|
|
45400
|
+
ve = be;
|
|
45401
|
+
}
|
|
45402
|
+
return Ne ? ve : ee.a(ve);
|
|
45403
|
+
}, oe.daysInMonth = function() {
|
|
45404
|
+
return this.endOf(C).$D;
|
|
45405
|
+
}, oe.$locale = function() {
|
|
45406
|
+
return F[this.$L];
|
|
45407
|
+
}, oe.locale = function(ue, ge) {
|
|
45408
|
+
if (!ue)
|
|
45409
|
+
return this.$L;
|
|
45410
|
+
var Ne = this.clone(), ve = V(ue, ge, !0);
|
|
45411
|
+
return ve && (Ne.$L = ve), Ne;
|
|
45412
|
+
}, oe.clone = function() {
|
|
45413
|
+
return ee.w(this.$d, this);
|
|
45414
|
+
}, oe.toDate = function() {
|
|
45415
|
+
return new Date(this.valueOf());
|
|
45416
|
+
}, oe.toJSON = function() {
|
|
45417
|
+
return this.isValid() ? this.toISOString() : null;
|
|
45418
|
+
}, oe.toISOString = function() {
|
|
45419
|
+
return this.$d.toISOString();
|
|
45420
|
+
}, oe.toString = function() {
|
|
45421
|
+
return this.$d.toUTCString();
|
|
45422
|
+
}, ae;
|
|
45423
|
+
}(), re = Z.prototype;
|
|
45424
|
+
return X.prototype = re, [["$ms", f], ["$s", p], ["$m", h], ["$H", m], ["$W", g], ["$M", C], ["$y", _], ["$D", E]].forEach(function(ae) {
|
|
45425
|
+
re[ae[1]] = function(oe) {
|
|
45426
|
+
return this.$g(oe, ae[0], ae[1]);
|
|
45427
|
+
};
|
|
45428
|
+
}), X.extend = function(ae, oe) {
|
|
45429
|
+
return ae.$i || (ae(oe, Z, X), ae.$i = !0), X;
|
|
45430
|
+
}, X.locale = V, X.isDayjs = W, X.unix = function(ae) {
|
|
45431
|
+
return X(1e3 * ae);
|
|
45432
|
+
}, X.en = F[j], X.Ls = F, X.p = {}, X;
|
|
45433
|
+
});
|
|
45434
|
+
})(dayjs_min);
|
|
45435
|
+
var dayjs_minExports = dayjs_min.exports;
|
|
45438
45436
|
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs$1(dayjs_minExports);
|
|
45439
45437
|
var weekday$1 = { exports: {} };
|
|
45440
45438
|
(function(a, s) {
|
|
@@ -62641,7 +62639,7 @@ const FloatButtonContent = (a) => {
|
|
|
62641
62639
|
}, s), c && /* @__PURE__ */ React__default$1.createElement("div", {
|
|
62642
62640
|
className: `${u}-description`
|
|
62643
62641
|
}, c)) : f);
|
|
62644
|
-
}, Content$
|
|
62642
|
+
}, Content$3 = /* @__PURE__ */ memo(FloatButtonContent), getOffset$2 = (a) => a === 0 ? 0 : a - Math.sqrt(Math.pow(a, 2) / 2), floatButtonGroupMotion = (a) => {
|
|
62645
62643
|
const {
|
|
62646
62644
|
componentCls: s,
|
|
62647
62645
|
floatButtonSize: c,
|
|
@@ -63175,7 +63173,7 @@ const floatButtonPrefixCls = "float-btn", InternalFloatButton = /* @__PURE__ */
|
|
|
63175
63173
|
}), [k, g, m, p]);
|
|
63176
63174
|
let Z = /* @__PURE__ */ React__default$1.createElement("div", {
|
|
63177
63175
|
className: `${k}-body`
|
|
63178
|
-
}, /* @__PURE__ */ React__default$1.createElement(Content$
|
|
63176
|
+
}, /* @__PURE__ */ React__default$1.createElement(Content$3, Object.assign({}, ee)));
|
|
63179
63177
|
if ("badge" in a && (Z = /* @__PURE__ */ React__default$1.createElement(Badge$1, Object.assign({}, X), Z)), "tooltip" in a && (Z = /* @__PURE__ */ React__default$1.createElement(Tooltip$1, {
|
|
63180
63178
|
title: y,
|
|
63181
63179
|
placement: R === "rtl" ? "right" : "left"
|
|
@@ -66001,14 +65999,14 @@ const Basic = /* @__PURE__ */ React$4.forwardRef((a, s) => {
|
|
|
66001
65999
|
suffixCls: "footer",
|
|
66002
66000
|
tagName: "footer",
|
|
66003
66001
|
displayName: "Footer"
|
|
66004
|
-
})(Basic), Content$
|
|
66002
|
+
})(Basic), Content$2 = generator({
|
|
66005
66003
|
suffixCls: "content",
|
|
66006
66004
|
tagName: "main",
|
|
66007
66005
|
displayName: "Content"
|
|
66008
66006
|
})(Basic), Layout = Layout$1;
|
|
66009
66007
|
Layout.Header = Header$4;
|
|
66010
66008
|
Layout.Footer = Footer$4;
|
|
66011
|
-
Layout.Content = Content$
|
|
66009
|
+
Layout.Content = Content$2;
|
|
66012
66010
|
Layout.Sider = Sider;
|
|
66013
66011
|
Layout._InternalSiderContext = SiderContext;
|
|
66014
66012
|
const extendsObject = function() {
|
|
@@ -84046,6 +84044,9 @@ const Button = (a) => {
|
|
|
84046
84044
|
break;
|
|
84047
84045
|
}
|
|
84048
84046
|
return y;
|
|
84047
|
+
}, Content$1 = (a) => {
|
|
84048
|
+
const { children: s, ...c } = a;
|
|
84049
|
+
return /* @__PURE__ */ jsx("div", { ...c, children: /* @__PURE__ */ jsx("div", { className: "content-wrap", children: /* @__PURE__ */ jsx("div", { className: "content", children: s }) }) });
|
|
84049
84050
|
}, APPLE_FONT = '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"', INTER_FONT = '"Inter", sans-serif;', BVP_FONT = '"BeVietnamPro", sans-serif;', mobileWidth = 992, SYSTEM_COLORS = {
|
|
84050
84051
|
colorPrimary: "#2174cd",
|
|
84051
84052
|
colorSuccess: "var(--success-color-5)",
|
|
@@ -84383,6 +84384,20 @@ function useTranslation$1(a) {
|
|
|
84383
84384
|
s.lng ? loadLanguages(f, s.lng, g, () => I()) : loadNamespaces(f, g, () => I());
|
|
84384
84385
|
});
|
|
84385
84386
|
}
|
|
84387
|
+
function I18nextProvider(a) {
|
|
84388
|
+
let {
|
|
84389
|
+
i18n: s,
|
|
84390
|
+
defaultNS: c,
|
|
84391
|
+
children: u
|
|
84392
|
+
} = a;
|
|
84393
|
+
const d = useMemo$1(() => ({
|
|
84394
|
+
i18n: s,
|
|
84395
|
+
defaultNS: c
|
|
84396
|
+
}), [s, c]);
|
|
84397
|
+
return createElement(I18nContext.Provider, {
|
|
84398
|
+
value: d
|
|
84399
|
+
}, u);
|
|
84400
|
+
}
|
|
84386
84401
|
const consoleLogger = {
|
|
84387
84402
|
type: "logger",
|
|
84388
84403
|
log(a) {
|
|
@@ -86031,7 +86046,38 @@ const AppContext = createContext$1({
|
|
|
86031
86046
|
const He = () => {
|
|
86032
86047
|
se(window.innerWidth);
|
|
86033
86048
|
};
|
|
86034
|
-
return /* @__PURE__ */ jsx(
|
|
86049
|
+
return /* @__PURE__ */ jsx(
|
|
86050
|
+
ConfigProvider,
|
|
86051
|
+
{
|
|
86052
|
+
language: W ?? "vi",
|
|
86053
|
+
theme: {
|
|
86054
|
+
...themeConfig,
|
|
86055
|
+
token: {
|
|
86056
|
+
...themeConfig.token,
|
|
86057
|
+
fontFamily: ze.fontFamily
|
|
86058
|
+
}
|
|
86059
|
+
},
|
|
86060
|
+
children: /* @__PURE__ */ jsx(
|
|
86061
|
+
AppContext.Provider,
|
|
86062
|
+
{
|
|
86063
|
+
value: {
|
|
86064
|
+
LinkComponent: P,
|
|
86065
|
+
mainLayoutConfig: ve,
|
|
86066
|
+
mainTheme: ue,
|
|
86067
|
+
userConfig: ye,
|
|
86068
|
+
isHomeApp: ge
|
|
86069
|
+
},
|
|
86070
|
+
children: /* @__PURE__ */ jsx(I18nextProvider, { i18n, children: /* @__PURE__ */ jsx(
|
|
86071
|
+
Content$1,
|
|
86072
|
+
{
|
|
86073
|
+
className: `beca-main-content${k ? " collapsed" : ""}`,
|
|
86074
|
+
children: c
|
|
86075
|
+
}
|
|
86076
|
+
) })
|
|
86077
|
+
}
|
|
86078
|
+
)
|
|
86079
|
+
}
|
|
86080
|
+
);
|
|
86035
86081
|
}, MainLayout = forwardRef(MainLayoutComponent), DEFAULT_MAIN_LAYOUT_CONFIG = {
|
|
86036
86082
|
header: {
|
|
86037
86083
|
theme: {
|
|
@@ -97937,7 +97983,7 @@ const queryString = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
97937
97983
|
var vi = { exports: {} };
|
|
97938
97984
|
(function(a, s) {
|
|
97939
97985
|
(function(c, u) {
|
|
97940
|
-
a.exports = u(
|
|
97986
|
+
a.exports = u(dayjs_minExports);
|
|
97941
97987
|
})(commonjsGlobal, function(c) {
|
|
97942
97988
|
function u(p) {
|
|
97943
97989
|
return p && typeof p == "object" && "default" in p ? p : { default: p };
|