beca-ui 2.0.19-beta.77 → 2.0.19-beta.78

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.
Files changed (2) hide show
  1. package/dist/beca-ui.js +304 -293
  2. package/package.json +1 -1
package/dist/beca-ui.js CHANGED
@@ -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: {} }, hasRequiredDayjs_min;
45146
- function requireDayjs_min() {
45147
- return hasRequiredDayjs_min || (hasRequiredDayjs_min = 1, function(a, s) {
45148
- (function(c, u) {
45149
- a.exports = u();
45150
- })(commonjsGlobal, function() {
45151
- 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) {
45152
- var oe = ["th", "st", "nd", "rd"], ue = ae % 100;
45153
- return "[" + ae + (oe[(ue - 20) % 10] || oe[ue] || oe[0]) + "]";
45154
- } }, I = function(ae, oe, ue) {
45155
- var ge = String(ae);
45156
- return !ge || ge.length >= oe ? ae : "" + Array(oe + 1 - ge.length).join(ue) + ae;
45157
- }, P = { s: I, z: function(ae) {
45158
- var oe = -ae.utcOffset(), ue = Math.abs(oe), ge = Math.floor(ue / 60), Ne = ue % 60;
45159
- return (oe <= 0 ? "+" : "-") + I(ge, 2, "0") + ":" + I(Ne, 2, "0");
45160
- }, m: function ae(oe, ue) {
45161
- if (oe.date() < ue.date())
45162
- return -ae(ue, oe);
45163
- 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);
45164
- return +(-(ge + (ue - Ne) / (ve ? Ne - ye : ye - Ne)) || 0);
45165
- }, a: function(ae) {
45166
- return ae < 0 ? Math.ceil(ae) || 0 : Math.floor(ae);
45167
- }, p: function(ae) {
45168
- 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$/, "");
45169
- }, u: function(ae) {
45170
- return ae === void 0;
45171
- } }, j = "en", F = {};
45172
- F[j] = A;
45173
- var H = "$isDayjsObject", W = function(ae) {
45174
- return ae instanceof Z || !(!ae || !ae[H]);
45175
- }, V = function ae(oe, ue, ge) {
45176
- var Ne;
45177
- if (!oe)
45178
- return j;
45179
- if (typeof oe == "string") {
45180
- var ve = oe.toLowerCase();
45181
- F[ve] && (Ne = ve), ue && (F[ve] = ue, Ne = ve);
45182
- var ye = oe.split("-");
45183
- if (!Ne && ye.length > 1)
45184
- return ae(ye[0]);
45185
- } else {
45186
- var we = oe.name;
45187
- F[we] = oe, Ne = we;
45188
- }
45189
- return !ge && Ne && (j = Ne), Ne || !ge && j;
45190
- }, X = function(ae, oe) {
45191
- if (W(ae))
45192
- return ae.clone();
45193
- var ue = typeof oe == "object" ? oe : {};
45194
- return ue.date = ae, ue.args = arguments, new Z(ue);
45195
- }, ee = P;
45196
- ee.l = V, ee.i = W, ee.w = function(ae, oe) {
45197
- return X(ae, { locale: oe.$L, utc: oe.$u, x: oe.$x, $offset: oe.$offset });
45198
- };
45199
- var Z = function() {
45200
- function ae(ue) {
45201
- this.$L = V(ue.locale, null, !0), this.parse(ue), this.$x = this.$x || ue.x || {}, this[H] = !0;
45202
- }
45203
- var oe = ae.prototype;
45204
- return oe.parse = function(ue) {
45205
- this.$d = function(ge) {
45206
- var Ne = ge.date, ve = ge.utc;
45207
- if (Ne === null)
45208
- return /* @__PURE__ */ new Date(NaN);
45209
- if (ee.u(Ne))
45210
- return /* @__PURE__ */ new Date();
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
- }(ue), this.init();
45222
- }, oe.init = function() {
45223
- var ue = this.$d;
45224
- 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();
45225
- }, oe.$utils = function() {
45226
- return ee;
45227
- }, oe.isValid = function() {
45228
- return this.$d.toString() !== R;
45229
- }, oe.isSame = function(ue, ge) {
45230
- var Ne = X(ue);
45231
- return this.startOf(ge) <= Ne && Ne <= this.endOf(ge);
45232
- }, oe.isAfter = function(ue, ge) {
45233
- return X(ue) < this.startOf(ge);
45234
- }, oe.isBefore = function(ue, ge) {
45235
- return this.endOf(ge) < X(ue);
45236
- }, oe.$g = function(ue, ge, Ne) {
45237
- return ee.u(ue) ? this[ge] : this.set(Ne, ue);
45238
- }, oe.unix = function() {
45239
- return Math.floor(this.valueOf() / 1e3);
45240
- }, oe.valueOf = function() {
45241
- return this.$d.getTime();
45242
- }, oe.startOf = function(ue, ge) {
45243
- var Ne = this, ve = !!ee.u(ge) || ge, ye = ee.p(ue), we = function(lt, ft) {
45244
- var It = ee.w(Ne.$u ? Date.UTC(Ne.$y, ft, lt) : new Date(Ne.$y, ft, lt), Ne);
45245
- return ve ? It : It.endOf(g);
45246
- }, se = function(lt, ft) {
45247
- return ee.w(Ne.toDate()[lt].apply(Ne.toDate("s"), (ve ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ft)), Ne);
45248
- }, Se = this.$W, be = this.$M, ze = this.$D, je = "set" + (this.$u ? "UTC" : "");
45249
- switch (ye) {
45250
- case _:
45251
- return ve ? we(1, 0) : we(31, 11);
45252
- case C:
45253
- return ve ? we(1, be) : we(0, be + 1);
45254
- case y:
45255
- var He = this.$locale().weekStart || 0, We = (Se < He ? Se + 7 : Se) - He;
45256
- return we(ve ? ze - We : ze + (6 - We), be);
45257
- case g:
45258
- case E:
45259
- return se(je + "Hours", 0);
45260
- case m:
45261
- return se(je + "Minutes", 1);
45262
- case h:
45263
- return se(je + "Seconds", 2);
45264
- case p:
45265
- return se(je + "Milliseconds", 3);
45266
- default:
45267
- return this.clone();
45268
- }
45269
- }, oe.endOf = function(ue) {
45270
- return this.startOf(ue, !1);
45271
- }, oe.$set = function(ue, ge) {
45272
- 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;
45273
- if (ve === C || ve === _) {
45274
- var Se = this.clone().set(E, 1);
45275
- Se.$d[we](se), Se.init(), this.$d = Se.set(E, Math.min(this.$D, Se.daysInMonth())).$d;
45276
- } else
45277
- we && this.$d[we](se);
45278
- return this.init(), this;
45279
- }, oe.set = function(ue, ge) {
45280
- return this.clone().$set(ue, ge);
45281
- }, oe.get = function(ue) {
45282
- return this[ee.p(ue)]();
45283
- }, oe.add = function(ue, ge) {
45284
- var Ne, ve = this;
45285
- ue = Number(ue);
45286
- var ye = ee.p(ge), we = function(be) {
45287
- var ze = X(ve);
45288
- return ee.w(ze.date(ze.date() + Math.round(be * ue)), ve);
45289
- };
45290
- if (ye === C)
45291
- return this.set(C, this.$M + ue);
45292
- if (ye === _)
45293
- return this.set(_, this.$y + ue);
45294
- if (ye === g)
45295
- return we(1);
45296
- if (ye === y)
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
- }), X.extend = function(ae, oe) {
45430
- return ae.$i || (ae(oe, Z, X), ae.$i = !0), X;
45431
- }, X.locale = V, X.isDayjs = W, X.unix = function(ae) {
45432
- return X(1e3 * ae);
45433
- }, X.en = F[j], X.Ls = F, X.p = {}, X;
45434
- });
45435
- }(dayjs_min)), dayjs_min.exports;
45436
- }
45437
- var dayjs_minExports = requireDayjs_min();
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) {
@@ -86031,7 +86029,20 @@ const AppContext = createContext$1({
86031
86029
  const He = () => {
86032
86030
  se(window.innerWidth);
86033
86031
  };
86034
- return /* @__PURE__ */ jsx(Fragment$1, { children: c });
86032
+ return /* @__PURE__ */ jsx(
86033
+ ConfigProvider,
86034
+ {
86035
+ language: W ?? "vi",
86036
+ theme: {
86037
+ ...themeConfig,
86038
+ token: {
86039
+ ...themeConfig.token,
86040
+ fontFamily: ze.fontFamily
86041
+ }
86042
+ },
86043
+ children: c
86044
+ }
86045
+ );
86035
86046
  }, MainLayout = forwardRef(MainLayoutComponent), DEFAULT_MAIN_LAYOUT_CONFIG = {
86036
86047
  header: {
86037
86048
  theme: {
@@ -97937,7 +97948,7 @@ const queryString = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
97937
97948
  var vi = { exports: {} };
97938
97949
  (function(a, s) {
97939
97950
  (function(c, u) {
97940
- a.exports = u(requireDayjs_min());
97951
+ a.exports = u(dayjs_minExports);
97941
97952
  })(commonjsGlobal, function(c) {
97942
97953
  function u(p) {
97943
97954
  return p && typeof p == "object" && "default" in p ? p : { default: p };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beca-ui",
3
- "version": "2.0.19-beta.77",
3
+ "version": "2.0.19-beta.78",
4
4
  "description": "Becawork UI",
5
5
  "license": "MIT",
6
6
  "author": {