beca-ui 2.0.19-beta.91 → 2.0.19-beta.92

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 +314 -315
  2. package/package.json +1 -1
package/dist/beca-ui.js CHANGED
@@ -25984,299 +25984,297 @@ const getPath$1 = (a, s) => {
25984
25984
  Breadcrumb$1.Item = BreadcrumbItem;
25985
25985
  Breadcrumb$1.Separator = BreadcrumbSeparator;
25986
25986
  process.env.NODE_ENV !== "production" && (Breadcrumb$1.displayName = "Breadcrumb");
25987
- var dayjs_min = { exports: {} }, hasRequiredDayjs_min;
25988
- function requireDayjs_min() {
25989
- return hasRequiredDayjs_min || (hasRequiredDayjs_min = 1, function(a, s) {
25990
- (function(c, u) {
25991
- a.exports = u();
25992
- })(commonjsGlobal, function() {
25993
- var c = 1e3, u = 6e4, d = 36e5, f = "millisecond", p = "second", h = "minute", m = "hour", g = "day", v = "week", y = "month", C = "quarter", x = "year", b = "date", S = "Invalid Date", _ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, w = /\[([^\]]+)]|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, R = { 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(B) {
25994
- var H = ["th", "st", "nd", "rd"], V = B % 100;
25995
- return "[" + B + (H[(V - 20) % 10] || H[V] || H[0]) + "]";
25996
- } }, E = function(B, H, V) {
25997
- var W = String(B);
25998
- return !W || W.length >= H ? B : "" + Array(H + 1 - W.length).join(V) + B;
25999
- }, T = { s: E, z: function(B) {
26000
- var H = -B.utcOffset(), V = Math.abs(H), W = Math.floor(V / 60), Z = V % 60;
26001
- return (H <= 0 ? "+" : "-") + E(W, 2, "0") + ":" + E(Z, 2, "0");
26002
- }, m: function B(H, V) {
26003
- if (H.date() < V.date())
26004
- return -B(V, H);
26005
- var W = 12 * (V.year() - H.year()) + (V.month() - H.month()), Z = H.clone().add(W, y), G = V - Z < 0, q = H.clone().add(W + (G ? -1 : 1), y);
26006
- return +(-(W + (V - Z) / (G ? Z - q : q - Z)) || 0);
26007
- }, a: function(B) {
26008
- return B < 0 ? Math.ceil(B) || 0 : Math.floor(B);
26009
- }, p: function(B) {
26010
- return { M: y, y: x, w: v, d: g, D: b, h: m, m: h, s: p, ms: f, Q: C }[B] || String(B || "").toLowerCase().replace(/s$/, "");
26011
- }, u: function(B) {
26012
- return B === void 0;
26013
- } }, I = "en", O = {};
26014
- O[I] = R;
26015
- var k = "$isDayjsObject", A = function(B) {
26016
- return B instanceof L || !(!B || !B[k]);
26017
- }, P = function B(H, V, W) {
26018
- var Z;
26019
- if (!H)
26020
- return I;
26021
- if (typeof H == "string") {
26022
- var G = H.toLowerCase();
26023
- O[G] && (Z = G), V && (O[G] = V, Z = G);
26024
- var q = H.split("-");
26025
- if (!Z && q.length > 1)
26026
- return B(q[0]);
26027
- } else {
26028
- var X = H.name;
26029
- O[X] = H, Z = X;
26030
- }
26031
- return !W && Z && (I = Z), Z || !W && I;
26032
- }, D = function(B, H) {
26033
- if (A(B))
26034
- return B.clone();
26035
- var V = typeof H == "object" ? H : {};
26036
- return V.date = B, V.args = arguments, new L(V);
26037
- }, F = T;
26038
- F.l = P, F.i = A, F.w = function(B, H) {
26039
- return D(B, { locale: H.$L, utc: H.$u, x: H.$x, $offset: H.$offset });
26040
- };
26041
- var L = function() {
26042
- function B(V) {
26043
- this.$L = P(V.locale, null, !0), this.parse(V), this.$x = this.$x || V.x || {}, this[k] = !0;
26044
- }
26045
- var H = B.prototype;
26046
- return H.parse = function(V) {
26047
- this.$d = function(W) {
26048
- var Z = W.date, G = W.utc;
26049
- if (Z === null)
26050
- return /* @__PURE__ */ new Date(NaN);
26051
- if (F.u(Z))
26052
- return /* @__PURE__ */ new Date();
26053
- if (Z instanceof Date)
26054
- return new Date(Z);
26055
- if (typeof Z == "string" && !/Z$/i.test(Z)) {
26056
- var q = Z.match(_);
26057
- if (q) {
26058
- var X = q[2] - 1 || 0, z = (q[7] || "0").substring(0, 3);
26059
- return G ? new Date(Date.UTC(q[1], X, q[3] || 1, q[4] || 0, q[5] || 0, q[6] || 0, z)) : new Date(q[1], X, q[3] || 1, q[4] || 0, q[5] || 0, q[6] || 0, z);
26060
- }
26061
- }
25987
+ var dayjs_min = { exports: {} };
25988
+ (function(a, s) {
25989
+ (function(c, u) {
25990
+ a.exports = u();
25991
+ })(commonjsGlobal, function() {
25992
+ var c = 1e3, u = 6e4, d = 36e5, f = "millisecond", p = "second", h = "minute", m = "hour", g = "day", v = "week", y = "month", C = "quarter", x = "year", b = "date", S = "Invalid Date", _ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, w = /\[([^\]]+)]|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, R = { 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(B) {
25993
+ var H = ["th", "st", "nd", "rd"], V = B % 100;
25994
+ return "[" + B + (H[(V - 20) % 10] || H[V] || H[0]) + "]";
25995
+ } }, E = function(B, H, V) {
25996
+ var W = String(B);
25997
+ return !W || W.length >= H ? B : "" + Array(H + 1 - W.length).join(V) + B;
25998
+ }, T = { s: E, z: function(B) {
25999
+ var H = -B.utcOffset(), V = Math.abs(H), W = Math.floor(V / 60), Z = V % 60;
26000
+ return (H <= 0 ? "+" : "-") + E(W, 2, "0") + ":" + E(Z, 2, "0");
26001
+ }, m: function B(H, V) {
26002
+ if (H.date() < V.date())
26003
+ return -B(V, H);
26004
+ var W = 12 * (V.year() - H.year()) + (V.month() - H.month()), Z = H.clone().add(W, y), G = V - Z < 0, q = H.clone().add(W + (G ? -1 : 1), y);
26005
+ return +(-(W + (V - Z) / (G ? Z - q : q - Z)) || 0);
26006
+ }, a: function(B) {
26007
+ return B < 0 ? Math.ceil(B) || 0 : Math.floor(B);
26008
+ }, p: function(B) {
26009
+ return { M: y, y: x, w: v, d: g, D: b, h: m, m: h, s: p, ms: f, Q: C }[B] || String(B || "").toLowerCase().replace(/s$/, "");
26010
+ }, u: function(B) {
26011
+ return B === void 0;
26012
+ } }, I = "en", O = {};
26013
+ O[I] = R;
26014
+ var k = "$isDayjsObject", A = function(B) {
26015
+ return B instanceof L || !(!B || !B[k]);
26016
+ }, P = function B(H, V, W) {
26017
+ var Z;
26018
+ if (!H)
26019
+ return I;
26020
+ if (typeof H == "string") {
26021
+ var G = H.toLowerCase();
26022
+ O[G] && (Z = G), V && (O[G] = V, Z = G);
26023
+ var q = H.split("-");
26024
+ if (!Z && q.length > 1)
26025
+ return B(q[0]);
26026
+ } else {
26027
+ var X = H.name;
26028
+ O[X] = H, Z = X;
26029
+ }
26030
+ return !W && Z && (I = Z), Z || !W && I;
26031
+ }, D = function(B, H) {
26032
+ if (A(B))
26033
+ return B.clone();
26034
+ var V = typeof H == "object" ? H : {};
26035
+ return V.date = B, V.args = arguments, new L(V);
26036
+ }, F = T;
26037
+ F.l = P, F.i = A, F.w = function(B, H) {
26038
+ return D(B, { locale: H.$L, utc: H.$u, x: H.$x, $offset: H.$offset });
26039
+ };
26040
+ var L = function() {
26041
+ function B(V) {
26042
+ this.$L = P(V.locale, null, !0), this.parse(V), this.$x = this.$x || V.x || {}, this[k] = !0;
26043
+ }
26044
+ var H = B.prototype;
26045
+ return H.parse = function(V) {
26046
+ this.$d = function(W) {
26047
+ var Z = W.date, G = W.utc;
26048
+ if (Z === null)
26049
+ return /* @__PURE__ */ new Date(NaN);
26050
+ if (F.u(Z))
26051
+ return /* @__PURE__ */ new Date();
26052
+ if (Z instanceof Date)
26062
26053
  return new Date(Z);
26063
- }(V), this.init();
26064
- }, H.init = function() {
26065
- var V = this.$d;
26066
- this.$y = V.getFullYear(), this.$M = V.getMonth(), this.$D = V.getDate(), this.$W = V.getDay(), this.$H = V.getHours(), this.$m = V.getMinutes(), this.$s = V.getSeconds(), this.$ms = V.getMilliseconds();
26067
- }, H.$utils = function() {
26068
- return F;
26069
- }, H.isValid = function() {
26070
- return this.$d.toString() !== S;
26071
- }, H.isSame = function(V, W) {
26072
- var Z = D(V);
26073
- return this.startOf(W) <= Z && Z <= this.endOf(W);
26074
- }, H.isAfter = function(V, W) {
26075
- return D(V) < this.startOf(W);
26076
- }, H.isBefore = function(V, W) {
26077
- return this.endOf(W) < D(V);
26078
- }, H.$g = function(V, W, Z) {
26079
- return F.u(V) ? this[W] : this.set(Z, V);
26080
- }, H.unix = function() {
26081
- return Math.floor(this.valueOf() / 1e3);
26082
- }, H.valueOf = function() {
26083
- return this.$d.getTime();
26084
- }, H.startOf = function(V, W) {
26085
- var Z = this, G = !!F.u(W) || W, q = F.p(V), X = function(ne, ae) {
26086
- var ce = F.w(Z.$u ? Date.UTC(Z.$y, ae, ne) : new Date(Z.$y, ae, ne), Z);
26087
- return G ? ce : ce.endOf(g);
26088
- }, z = function(ne, ae) {
26089
- return F.w(Z.toDate()[ne].apply(Z.toDate("s"), (G ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ae)), Z);
26090
- }, K = this.$W, U = this.$M, Q = this.$D, J = "set" + (this.$u ? "UTC" : "");
26091
- switch (q) {
26092
- case x:
26093
- return G ? X(1, 0) : X(31, 11);
26094
- case y:
26095
- return G ? X(1, U) : X(0, U + 1);
26096
- case v:
26097
- var ee = this.$locale().weekStart || 0, re = (K < ee ? K + 7 : K) - ee;
26098
- return X(G ? Q - re : Q + (6 - re), U);
26099
- case g:
26100
- case b:
26101
- return z(J + "Hours", 0);
26102
- case m:
26103
- return z(J + "Minutes", 1);
26104
- case h:
26105
- return z(J + "Seconds", 2);
26106
- case p:
26107
- return z(J + "Milliseconds", 3);
26108
- default:
26109
- return this.clone();
26110
- }
26111
- }, H.endOf = function(V) {
26112
- return this.startOf(V, !1);
26113
- }, H.$set = function(V, W) {
26114
- var Z, G = F.p(V), q = "set" + (this.$u ? "UTC" : ""), X = (Z = {}, Z[g] = q + "Date", Z[b] = q + "Date", Z[y] = q + "Month", Z[x] = q + "FullYear", Z[m] = q + "Hours", Z[h] = q + "Minutes", Z[p] = q + "Seconds", Z[f] = q + "Milliseconds", Z)[G], z = G === g ? this.$D + (W - this.$W) : W;
26115
- if (G === y || G === x) {
26116
- var K = this.clone().set(b, 1);
26117
- K.$d[X](z), K.init(), this.$d = K.set(b, Math.min(this.$D, K.daysInMonth())).$d;
26118
- } else
26119
- X && this.$d[X](z);
26120
- return this.init(), this;
26121
- }, H.set = function(V, W) {
26122
- return this.clone().$set(V, W);
26123
- }, H.get = function(V) {
26124
- return this[F.p(V)]();
26125
- }, H.add = function(V, W) {
26126
- var Z, G = this;
26127
- V = Number(V);
26128
- var q = F.p(W), X = function(U) {
26129
- var Q = D(G);
26130
- return F.w(Q.date(Q.date() + Math.round(U * V)), G);
26131
- };
26132
- if (q === y)
26133
- return this.set(y, this.$M + V);
26134
- if (q === x)
26135
- return this.set(x, this.$y + V);
26136
- if (q === g)
26137
- return X(1);
26138
- if (q === v)
26139
- return X(7);
26140
- var z = (Z = {}, Z[h] = u, Z[m] = d, Z[p] = c, Z)[q] || 1, K = this.$d.getTime() + V * z;
26141
- return F.w(K, this);
26142
- }, H.subtract = function(V, W) {
26143
- return this.add(-1 * V, W);
26144
- }, H.format = function(V) {
26145
- var W = this, Z = this.$locale();
26146
- if (!this.isValid())
26147
- return Z.invalidDate || S;
26148
- var G = V || "YYYY-MM-DDTHH:mm:ssZ", q = F.z(this), X = this.$H, z = this.$m, K = this.$M, U = Z.weekdays, Q = Z.months, J = Z.meridiem, ee = function(ae, ce, te, se) {
26149
- return ae && (ae[ce] || ae(W, G)) || te[ce].slice(0, se);
26150
- }, re = function(ae) {
26151
- return F.s(X % 12 || 12, ae, "0");
26152
- }, ne = J || function(ae, ce, te) {
26153
- var se = ae < 12 ? "AM" : "PM";
26154
- return te ? se.toLowerCase() : se;
26155
- };
26156
- return G.replace(w, function(ae, ce) {
26157
- return ce || function(te) {
26158
- switch (te) {
26159
- case "YY":
26160
- return String(W.$y).slice(-2);
26161
- case "YYYY":
26162
- return F.s(W.$y, 4, "0");
26163
- case "M":
26164
- return K + 1;
26165
- case "MM":
26166
- return F.s(K + 1, 2, "0");
26167
- case "MMM":
26168
- return ee(Z.monthsShort, K, Q, 3);
26169
- case "MMMM":
26170
- return ee(Q, K);
26171
- case "D":
26172
- return W.$D;
26173
- case "DD":
26174
- return F.s(W.$D, 2, "0");
26175
- case "d":
26176
- return String(W.$W);
26177
- case "dd":
26178
- return ee(Z.weekdaysMin, W.$W, U, 2);
26179
- case "ddd":
26180
- return ee(Z.weekdaysShort, W.$W, U, 3);
26181
- case "dddd":
26182
- return U[W.$W];
26183
- case "H":
26184
- return String(X);
26185
- case "HH":
26186
- return F.s(X, 2, "0");
26187
- case "h":
26188
- return re(1);
26189
- case "hh":
26190
- return re(2);
26191
- case "a":
26192
- return ne(X, z, !0);
26193
- case "A":
26194
- return ne(X, z, !1);
26195
- case "m":
26196
- return String(z);
26197
- case "mm":
26198
- return F.s(z, 2, "0");
26199
- case "s":
26200
- return String(W.$s);
26201
- case "ss":
26202
- return F.s(W.$s, 2, "0");
26203
- case "SSS":
26204
- return F.s(W.$ms, 3, "0");
26205
- case "Z":
26206
- return q;
26207
- }
26208
- return null;
26209
- }(ae) || q.replace(":", "");
26210
- });
26211
- }, H.utcOffset = function() {
26212
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
26213
- }, H.diff = function(V, W, Z) {
26214
- var G, q = this, X = F.p(W), z = D(V), K = (z.utcOffset() - this.utcOffset()) * u, U = this - z, Q = function() {
26215
- return F.m(q, z);
26216
- };
26217
- switch (X) {
26218
- case x:
26219
- G = Q() / 12;
26220
- break;
26221
- case y:
26222
- G = Q();
26223
- break;
26224
- case C:
26225
- G = Q() / 3;
26226
- break;
26227
- case v:
26228
- G = (U - K) / 6048e5;
26229
- break;
26230
- case g:
26231
- G = (U - K) / 864e5;
26232
- break;
26233
- case m:
26234
- G = U / d;
26235
- break;
26236
- case h:
26237
- G = U / u;
26238
- break;
26239
- case p:
26240
- G = U / c;
26241
- break;
26242
- default:
26243
- G = U;
26244
- }
26245
- return Z ? G : F.a(G);
26246
- }, H.daysInMonth = function() {
26247
- return this.endOf(y).$D;
26248
- }, H.$locale = function() {
26249
- return O[this.$L];
26250
- }, H.locale = function(V, W) {
26251
- if (!V)
26252
- return this.$L;
26253
- var Z = this.clone(), G = P(V, W, !0);
26254
- return G && (Z.$L = G), Z;
26255
- }, H.clone = function() {
26256
- return F.w(this.$d, this);
26257
- }, H.toDate = function() {
26258
- return new Date(this.valueOf());
26259
- }, H.toJSON = function() {
26260
- return this.isValid() ? this.toISOString() : null;
26261
- }, H.toISOString = function() {
26262
- return this.$d.toISOString();
26263
- }, H.toString = function() {
26264
- return this.$d.toUTCString();
26265
- }, B;
26266
- }(), j = L.prototype;
26267
- return D.prototype = j, [["$ms", f], ["$s", p], ["$m", h], ["$H", m], ["$W", g], ["$M", y], ["$y", x], ["$D", b]].forEach(function(B) {
26268
- j[B[1]] = function(H) {
26269
- return this.$g(H, B[0], B[1]);
26054
+ if (typeof Z == "string" && !/Z$/i.test(Z)) {
26055
+ var q = Z.match(_);
26056
+ if (q) {
26057
+ var X = q[2] - 1 || 0, z = (q[7] || "0").substring(0, 3);
26058
+ return G ? new Date(Date.UTC(q[1], X, q[3] || 1, q[4] || 0, q[5] || 0, q[6] || 0, z)) : new Date(q[1], X, q[3] || 1, q[4] || 0, q[5] || 0, q[6] || 0, z);
26059
+ }
26060
+ }
26061
+ return new Date(Z);
26062
+ }(V), this.init();
26063
+ }, H.init = function() {
26064
+ var V = this.$d;
26065
+ this.$y = V.getFullYear(), this.$M = V.getMonth(), this.$D = V.getDate(), this.$W = V.getDay(), this.$H = V.getHours(), this.$m = V.getMinutes(), this.$s = V.getSeconds(), this.$ms = V.getMilliseconds();
26066
+ }, H.$utils = function() {
26067
+ return F;
26068
+ }, H.isValid = function() {
26069
+ return this.$d.toString() !== S;
26070
+ }, H.isSame = function(V, W) {
26071
+ var Z = D(V);
26072
+ return this.startOf(W) <= Z && Z <= this.endOf(W);
26073
+ }, H.isAfter = function(V, W) {
26074
+ return D(V) < this.startOf(W);
26075
+ }, H.isBefore = function(V, W) {
26076
+ return this.endOf(W) < D(V);
26077
+ }, H.$g = function(V, W, Z) {
26078
+ return F.u(V) ? this[W] : this.set(Z, V);
26079
+ }, H.unix = function() {
26080
+ return Math.floor(this.valueOf() / 1e3);
26081
+ }, H.valueOf = function() {
26082
+ return this.$d.getTime();
26083
+ }, H.startOf = function(V, W) {
26084
+ var Z = this, G = !!F.u(W) || W, q = F.p(V), X = function(ne, ae) {
26085
+ var ce = F.w(Z.$u ? Date.UTC(Z.$y, ae, ne) : new Date(Z.$y, ae, ne), Z);
26086
+ return G ? ce : ce.endOf(g);
26087
+ }, z = function(ne, ae) {
26088
+ return F.w(Z.toDate()[ne].apply(Z.toDate("s"), (G ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ae)), Z);
26089
+ }, K = this.$W, U = this.$M, Q = this.$D, J = "set" + (this.$u ? "UTC" : "");
26090
+ switch (q) {
26091
+ case x:
26092
+ return G ? X(1, 0) : X(31, 11);
26093
+ case y:
26094
+ return G ? X(1, U) : X(0, U + 1);
26095
+ case v:
26096
+ var ee = this.$locale().weekStart || 0, re = (K < ee ? K + 7 : K) - ee;
26097
+ return X(G ? Q - re : Q + (6 - re), U);
26098
+ case g:
26099
+ case b:
26100
+ return z(J + "Hours", 0);
26101
+ case m:
26102
+ return z(J + "Minutes", 1);
26103
+ case h:
26104
+ return z(J + "Seconds", 2);
26105
+ case p:
26106
+ return z(J + "Milliseconds", 3);
26107
+ default:
26108
+ return this.clone();
26109
+ }
26110
+ }, H.endOf = function(V) {
26111
+ return this.startOf(V, !1);
26112
+ }, H.$set = function(V, W) {
26113
+ var Z, G = F.p(V), q = "set" + (this.$u ? "UTC" : ""), X = (Z = {}, Z[g] = q + "Date", Z[b] = q + "Date", Z[y] = q + "Month", Z[x] = q + "FullYear", Z[m] = q + "Hours", Z[h] = q + "Minutes", Z[p] = q + "Seconds", Z[f] = q + "Milliseconds", Z)[G], z = G === g ? this.$D + (W - this.$W) : W;
26114
+ if (G === y || G === x) {
26115
+ var K = this.clone().set(b, 1);
26116
+ K.$d[X](z), K.init(), this.$d = K.set(b, Math.min(this.$D, K.daysInMonth())).$d;
26117
+ } else
26118
+ X && this.$d[X](z);
26119
+ return this.init(), this;
26120
+ }, H.set = function(V, W) {
26121
+ return this.clone().$set(V, W);
26122
+ }, H.get = function(V) {
26123
+ return this[F.p(V)]();
26124
+ }, H.add = function(V, W) {
26125
+ var Z, G = this;
26126
+ V = Number(V);
26127
+ var q = F.p(W), X = function(U) {
26128
+ var Q = D(G);
26129
+ return F.w(Q.date(Q.date() + Math.round(U * V)), G);
26270
26130
  };
26271
- }), D.extend = function(B, H) {
26272
- return B.$i || (B(H, L, D), B.$i = !0), D;
26273
- }, D.locale = P, D.isDayjs = A, D.unix = function(B) {
26274
- return D(1e3 * B);
26275
- }, D.en = O[I], D.Ls = O, D.p = {}, D;
26276
- });
26277
- }(dayjs_min)), dayjs_min.exports;
26278
- }
26279
- var dayjs_minExports = requireDayjs_min();
26131
+ if (q === y)
26132
+ return this.set(y, this.$M + V);
26133
+ if (q === x)
26134
+ return this.set(x, this.$y + V);
26135
+ if (q === g)
26136
+ return X(1);
26137
+ if (q === v)
26138
+ return X(7);
26139
+ var z = (Z = {}, Z[h] = u, Z[m] = d, Z[p] = c, Z)[q] || 1, K = this.$d.getTime() + V * z;
26140
+ return F.w(K, this);
26141
+ }, H.subtract = function(V, W) {
26142
+ return this.add(-1 * V, W);
26143
+ }, H.format = function(V) {
26144
+ var W = this, Z = this.$locale();
26145
+ if (!this.isValid())
26146
+ return Z.invalidDate || S;
26147
+ var G = V || "YYYY-MM-DDTHH:mm:ssZ", q = F.z(this), X = this.$H, z = this.$m, K = this.$M, U = Z.weekdays, Q = Z.months, J = Z.meridiem, ee = function(ae, ce, te, se) {
26148
+ return ae && (ae[ce] || ae(W, G)) || te[ce].slice(0, se);
26149
+ }, re = function(ae) {
26150
+ return F.s(X % 12 || 12, ae, "0");
26151
+ }, ne = J || function(ae, ce, te) {
26152
+ var se = ae < 12 ? "AM" : "PM";
26153
+ return te ? se.toLowerCase() : se;
26154
+ };
26155
+ return G.replace(w, function(ae, ce) {
26156
+ return ce || function(te) {
26157
+ switch (te) {
26158
+ case "YY":
26159
+ return String(W.$y).slice(-2);
26160
+ case "YYYY":
26161
+ return F.s(W.$y, 4, "0");
26162
+ case "M":
26163
+ return K + 1;
26164
+ case "MM":
26165
+ return F.s(K + 1, 2, "0");
26166
+ case "MMM":
26167
+ return ee(Z.monthsShort, K, Q, 3);
26168
+ case "MMMM":
26169
+ return ee(Q, K);
26170
+ case "D":
26171
+ return W.$D;
26172
+ case "DD":
26173
+ return F.s(W.$D, 2, "0");
26174
+ case "d":
26175
+ return String(W.$W);
26176
+ case "dd":
26177
+ return ee(Z.weekdaysMin, W.$W, U, 2);
26178
+ case "ddd":
26179
+ return ee(Z.weekdaysShort, W.$W, U, 3);
26180
+ case "dddd":
26181
+ return U[W.$W];
26182
+ case "H":
26183
+ return String(X);
26184
+ case "HH":
26185
+ return F.s(X, 2, "0");
26186
+ case "h":
26187
+ return re(1);
26188
+ case "hh":
26189
+ return re(2);
26190
+ case "a":
26191
+ return ne(X, z, !0);
26192
+ case "A":
26193
+ return ne(X, z, !1);
26194
+ case "m":
26195
+ return String(z);
26196
+ case "mm":
26197
+ return F.s(z, 2, "0");
26198
+ case "s":
26199
+ return String(W.$s);
26200
+ case "ss":
26201
+ return F.s(W.$s, 2, "0");
26202
+ case "SSS":
26203
+ return F.s(W.$ms, 3, "0");
26204
+ case "Z":
26205
+ return q;
26206
+ }
26207
+ return null;
26208
+ }(ae) || q.replace(":", "");
26209
+ });
26210
+ }, H.utcOffset = function() {
26211
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
26212
+ }, H.diff = function(V, W, Z) {
26213
+ var G, q = this, X = F.p(W), z = D(V), K = (z.utcOffset() - this.utcOffset()) * u, U = this - z, Q = function() {
26214
+ return F.m(q, z);
26215
+ };
26216
+ switch (X) {
26217
+ case x:
26218
+ G = Q() / 12;
26219
+ break;
26220
+ case y:
26221
+ G = Q();
26222
+ break;
26223
+ case C:
26224
+ G = Q() / 3;
26225
+ break;
26226
+ case v:
26227
+ G = (U - K) / 6048e5;
26228
+ break;
26229
+ case g:
26230
+ G = (U - K) / 864e5;
26231
+ break;
26232
+ case m:
26233
+ G = U / d;
26234
+ break;
26235
+ case h:
26236
+ G = U / u;
26237
+ break;
26238
+ case p:
26239
+ G = U / c;
26240
+ break;
26241
+ default:
26242
+ G = U;
26243
+ }
26244
+ return Z ? G : F.a(G);
26245
+ }, H.daysInMonth = function() {
26246
+ return this.endOf(y).$D;
26247
+ }, H.$locale = function() {
26248
+ return O[this.$L];
26249
+ }, H.locale = function(V, W) {
26250
+ if (!V)
26251
+ return this.$L;
26252
+ var Z = this.clone(), G = P(V, W, !0);
26253
+ return G && (Z.$L = G), Z;
26254
+ }, H.clone = function() {
26255
+ return F.w(this.$d, this);
26256
+ }, H.toDate = function() {
26257
+ return new Date(this.valueOf());
26258
+ }, H.toJSON = function() {
26259
+ return this.isValid() ? this.toISOString() : null;
26260
+ }, H.toISOString = function() {
26261
+ return this.$d.toISOString();
26262
+ }, H.toString = function() {
26263
+ return this.$d.toUTCString();
26264
+ }, B;
26265
+ }(), j = L.prototype;
26266
+ return D.prototype = j, [["$ms", f], ["$s", p], ["$m", h], ["$H", m], ["$W", g], ["$M", y], ["$y", x], ["$D", b]].forEach(function(B) {
26267
+ j[B[1]] = function(H) {
26268
+ return this.$g(H, B[0], B[1]);
26269
+ };
26270
+ }), D.extend = function(B, H) {
26271
+ return B.$i || (B(H, L, D), B.$i = !0), D;
26272
+ }, D.locale = P, D.isDayjs = A, D.unix = function(B) {
26273
+ return D(1e3 * B);
26274
+ }, D.en = O[I], D.Ls = O, D.p = {}, D;
26275
+ });
26276
+ })(dayjs_min);
26277
+ var dayjs_minExports = dayjs_min.exports;
26280
26278
  const dayjs = /* @__PURE__ */ getDefaultExportFromCjs$1(dayjs_minExports);
26281
26279
  var weekday$1 = { exports: {} };
26282
26280
  (function(a, s) {
@@ -66840,7 +66838,7 @@ const queryString = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
66840
66838
  var vi$1 = { exports: {} };
66841
66839
  (function(a, s) {
66842
66840
  (function(c, u) {
66843
- a.exports = u(requireDayjs_min());
66841
+ a.exports = u(dayjs_minExports);
66844
66842
  })(commonjsGlobal, function(c) {
66845
66843
  function u(p) {
66846
66844
  return p && typeof p == "object" && "default" in p ? p : { default: p };
@@ -67006,13 +67004,13 @@ class NetworkService {
67006
67004
  static async requestJson(s) {
67007
67005
  var f, p;
67008
67006
  let c, u;
67009
- const d = axios.defaults.baseURL;
67007
+ const d = axios.defaults.baseURL ?? "";
67010
67008
  try {
67011
67009
  if (s.data) {
67012
- for (const [g, v] of Object.entries(s.data))
67013
- if (dayjs.isDayjs(v)) {
67014
- const y = dayjsToPost(v);
67015
- s.data[g] = y;
67010
+ for (const [m, g] of Object.entries(s.data))
67011
+ if (dayjs.isDayjs(g)) {
67012
+ const v = dayjsToPost(g);
67013
+ s.data[m] = v;
67016
67014
  }
67017
67015
  }
67018
67016
  let h;
@@ -67028,37 +67026,38 @@ class NetworkService {
67028
67026
  }, axios.defaults.headers.common.WorkflowType !== "Public") {
67029
67027
  if (s.method === "POST" || s.method === "PUT" || s.method === "DELETE") {
67030
67028
  if (!sessionStorage.getItem("X-XSRF-TOKEN")) {
67031
- const g = await fetch("/api/antiforgery/token", {
67029
+ const m = await fetch("/api/antiforgery/token", {
67032
67030
  method: "GET",
67033
67031
  headers: h.headers
67034
67032
  });
67035
- g.ok && sessionStorage.setItem("X-XSRF-TOKEN", await g.json());
67033
+ m.ok && sessionStorage.setItem("X-XSRF-TOKEN", await m.json());
67036
67034
  }
67037
67035
  h.headers = {
67038
67036
  ...h.headers,
67039
67037
  "X-XSRF-TOKEN": sessionStorage.getItem("X-XSRF-TOKEN")
67040
67038
  };
67041
67039
  }
67042
- } else
67040
+ } else {
67043
67041
  s.url = s.url.replace("/v2/", "/"), s.url = s.url.replace("/v1/", "/");
67044
- const m = s.url.split("/api/");
67045
- s.url = d + m[1];
67042
+ const m = s.url.split("/api/");
67043
+ s.url = d + m[1];
67044
+ }
67046
67045
  try {
67047
67046
  switch (s.method) {
67048
67047
  case "GET":
67049
- let g = localStorage.getItem("locale");
67050
- if (!g) {
67051
- g = "vi";
67052
- let v = d + "personalProfiles/GetLangOfAccount";
67053
- const C = await axios.get(v, {
67048
+ let m = localStorage.getItem("locale");
67049
+ if (!m) {
67050
+ m = "vi";
67051
+ let g = d + "personalProfiles/GetLangOfAccount";
67052
+ const y = await axios.get(g, {
67054
67053
  headers: void 0
67055
67054
  });
67056
- if (C.status === 200) {
67057
- const x = C.data;
67058
- localStorage.setItem("locale", x), g = x;
67055
+ if (y.status === 200) {
67056
+ const C = y.data;
67057
+ localStorage.setItem("locale", C), m = C;
67059
67058
  }
67060
67059
  }
67061
- s.url.includes("?") ? s.url += `&lang=${g}` : s.data ? s.data.lang = g : s.data = { lang: g }, c = await axios.get(processQuery(s.url, s.data), {
67060
+ s.url.includes("?") ? s.url += `&lang=${m}` : s.data ? s.data.lang = m : s.data = { lang: m }, c = await axios.get(processQuery(s.url, s.data), {
67062
67061
  method: "GET",
67063
67062
  headers: h.headers,
67064
67063
  signal: s.abortSignal && s.abortSignal()
@@ -67092,12 +67091,12 @@ class NetworkService {
67092
67091
  !s.fullResponse && ((f = c.data.value) == null ? void 0 : f.length) > 0 ? c.data.value : c.data,
67093
67092
  c.data.errors && c.data.errors.length > 0 ? [...c.data.errors] : void 0
67094
67093
  );
67095
- } catch (g) {
67096
- if (g.message !== "Network Error") {
67097
- if (g.message === "Request failed with status code 400" && ((p = g == null ? void 0 : g.response) != null && p.data) && g.response.data.type === "https://tools.ietf.org/html/rfc7231#section-6.5.1")
67094
+ } catch (m) {
67095
+ if (m.message !== "Network Error") {
67096
+ if (m.message === "Request failed with status code 400" && ((p = m == null ? void 0 : m.response) != null && p.data) && m.response.data.type === "https://tools.ietf.org/html/rfc7231#section-6.5.1")
67098
67097
  return sessionStorage.clear(), NetworkService.requestJson(s);
67099
67098
  }
67100
- u = new Result(void 0, g.response.data);
67099
+ u = new Result(void 0, m.response.data);
67101
67100
  }
67102
67101
  u.hasErrors && !s.isNotShowError && showErrors(...u.errors);
67103
67102
  } catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beca-ui",
3
- "version": "2.0.19-beta.91",
3
+ "version": "2.0.19-beta.92",
4
4
  "description": "Becawork UI",
5
5
  "license": "MIT",
6
6
  "author": {