beca-ui 2.0.19-beta.99 → 2.0.20-beta.1
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 +371 -355
- package/dist/components/ScrollView/ScrollView.types.d.ts +3 -1
- package/dist/main.css +1 -1
- package/package.json +1 -1
package/dist/beca-ui.js
CHANGED
|
@@ -26146,299 +26146,297 @@ const getPath$1 = (a, s) => {
|
|
|
26146
26146
|
Breadcrumb$1.Item = BreadcrumbItem;
|
|
26147
26147
|
Breadcrumb$1.Separator = BreadcrumbSeparator;
|
|
26148
26148
|
process.env.NODE_ENV !== "production" && (Breadcrumb$1.displayName = "Breadcrumb");
|
|
26149
|
-
var dayjs_min = { exports: {} }
|
|
26150
|
-
function
|
|
26151
|
-
|
|
26152
|
-
|
|
26153
|
-
|
|
26154
|
-
})(
|
|
26155
|
-
var
|
|
26156
|
-
|
|
26157
|
-
|
|
26158
|
-
|
|
26159
|
-
|
|
26160
|
-
|
|
26161
|
-
|
|
26162
|
-
|
|
26163
|
-
|
|
26164
|
-
|
|
26165
|
-
|
|
26166
|
-
|
|
26167
|
-
|
|
26168
|
-
|
|
26169
|
-
|
|
26170
|
-
|
|
26171
|
-
|
|
26172
|
-
|
|
26173
|
-
|
|
26174
|
-
|
|
26175
|
-
|
|
26176
|
-
|
|
26177
|
-
|
|
26178
|
-
|
|
26179
|
-
|
|
26180
|
-
|
|
26181
|
-
|
|
26182
|
-
|
|
26183
|
-
|
|
26184
|
-
|
|
26185
|
-
|
|
26186
|
-
|
|
26187
|
-
|
|
26188
|
-
|
|
26189
|
-
|
|
26190
|
-
|
|
26191
|
-
|
|
26192
|
-
|
|
26193
|
-
|
|
26194
|
-
|
|
26195
|
-
|
|
26196
|
-
|
|
26197
|
-
|
|
26198
|
-
|
|
26199
|
-
|
|
26200
|
-
|
|
26201
|
-
|
|
26202
|
-
|
|
26203
|
-
|
|
26204
|
-
|
|
26205
|
-
|
|
26206
|
-
|
|
26207
|
-
|
|
26208
|
-
|
|
26209
|
-
|
|
26210
|
-
|
|
26211
|
-
|
|
26212
|
-
|
|
26213
|
-
|
|
26214
|
-
|
|
26215
|
-
if (se instanceof Date)
|
|
26216
|
-
return new Date(se);
|
|
26217
|
-
if (typeof se == "string" && !/Z$/i.test(se)) {
|
|
26218
|
-
var oe = se.match(R);
|
|
26219
|
-
if (oe) {
|
|
26220
|
-
var le = oe[2] - 1 || 0, Q = (oe[7] || "0").substring(0, 3);
|
|
26221
|
-
return ne ? new Date(Date.UTC(oe[1], le, oe[3] || 1, oe[4] || 0, oe[5] || 0, oe[6] || 0, Q)) : new Date(oe[1], le, oe[3] || 1, oe[4] || 0, oe[5] || 0, oe[6] || 0, Q);
|
|
26222
|
-
}
|
|
26223
|
-
}
|
|
26149
|
+
var dayjs_min = { exports: {} };
|
|
26150
|
+
(function(a, s) {
|
|
26151
|
+
(function(c, u) {
|
|
26152
|
+
a.exports = u();
|
|
26153
|
+
})(commonjsGlobal, function() {
|
|
26154
|
+
var c = 1e3, u = 6e4, d = 36e5, f = "millisecond", p = "second", h = "minute", m = "hour", g = "day", v = "week", b = "month", C = "quarter", S = "year", _ = "date", E = "Invalid Date", R = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, N = /\[([^\]]+)]|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(Y) {
|
|
26155
|
+
var J = ["th", "st", "nd", "rd"], K = Y % 100;
|
|
26156
|
+
return "[" + Y + (J[(K - 20) % 10] || J[K] || J[0]) + "]";
|
|
26157
|
+
} }, I = function(Y, J, K) {
|
|
26158
|
+
var Z = String(Y);
|
|
26159
|
+
return !Z || Z.length >= J ? Y : "" + Array(J + 1 - Z.length).join(K) + Y;
|
|
26160
|
+
}, M = { s: I, z: function(Y) {
|
|
26161
|
+
var J = -Y.utcOffset(), K = Math.abs(J), Z = Math.floor(K / 60), se = K % 60;
|
|
26162
|
+
return (J <= 0 ? "+" : "-") + I(Z, 2, "0") + ":" + I(se, 2, "0");
|
|
26163
|
+
}, m: function Y(J, K) {
|
|
26164
|
+
if (J.date() < K.date())
|
|
26165
|
+
return -Y(K, J);
|
|
26166
|
+
var Z = 12 * (K.year() - J.year()) + (K.month() - J.month()), se = J.clone().add(Z, b), ne = K - se < 0, oe = J.clone().add(Z + (ne ? -1 : 1), b);
|
|
26167
|
+
return +(-(Z + (K - se) / (ne ? se - oe : oe - se)) || 0);
|
|
26168
|
+
}, a: function(Y) {
|
|
26169
|
+
return Y < 0 ? Math.ceil(Y) || 0 : Math.floor(Y);
|
|
26170
|
+
}, p: function(Y) {
|
|
26171
|
+
return { M: b, y: S, w: v, d: g, D: _, h: m, m: h, s: p, ms: f, Q: C }[Y] || String(Y || "").toLowerCase().replace(/s$/, "");
|
|
26172
|
+
}, u: function(Y) {
|
|
26173
|
+
return Y === void 0;
|
|
26174
|
+
} }, k = "en", D = {};
|
|
26175
|
+
D[k] = A;
|
|
26176
|
+
var B = "$isDayjsObject", z = function(Y) {
|
|
26177
|
+
return Y instanceof G || !(!Y || !Y[B]);
|
|
26178
|
+
}, j = function Y(J, K, Z) {
|
|
26179
|
+
var se;
|
|
26180
|
+
if (!J)
|
|
26181
|
+
return k;
|
|
26182
|
+
if (typeof J == "string") {
|
|
26183
|
+
var ne = J.toLowerCase();
|
|
26184
|
+
D[ne] && (se = ne), K && (D[ne] = K, se = ne);
|
|
26185
|
+
var oe = J.split("-");
|
|
26186
|
+
if (!se && oe.length > 1)
|
|
26187
|
+
return Y(oe[0]);
|
|
26188
|
+
} else {
|
|
26189
|
+
var le = J.name;
|
|
26190
|
+
D[le] = J, se = le;
|
|
26191
|
+
}
|
|
26192
|
+
return !Z && se && (k = se), se || !Z && k;
|
|
26193
|
+
}, H = function(Y, J) {
|
|
26194
|
+
if (z(Y))
|
|
26195
|
+
return Y.clone();
|
|
26196
|
+
var K = typeof J == "object" ? J : {};
|
|
26197
|
+
return K.date = Y, K.args = arguments, new G(K);
|
|
26198
|
+
}, q = M;
|
|
26199
|
+
q.l = j, q.i = z, q.w = function(Y, J) {
|
|
26200
|
+
return H(Y, { locale: J.$L, utc: J.$u, x: J.$x, $offset: J.$offset });
|
|
26201
|
+
};
|
|
26202
|
+
var G = function() {
|
|
26203
|
+
function Y(K) {
|
|
26204
|
+
this.$L = j(K.locale, null, !0), this.parse(K), this.$x = this.$x || K.x || {}, this[B] = !0;
|
|
26205
|
+
}
|
|
26206
|
+
var J = Y.prototype;
|
|
26207
|
+
return J.parse = function(K) {
|
|
26208
|
+
this.$d = function(Z) {
|
|
26209
|
+
var se = Z.date, ne = Z.utc;
|
|
26210
|
+
if (se === null)
|
|
26211
|
+
return /* @__PURE__ */ new Date(NaN);
|
|
26212
|
+
if (q.u(se))
|
|
26213
|
+
return /* @__PURE__ */ new Date();
|
|
26214
|
+
if (se instanceof Date)
|
|
26224
26215
|
return new Date(se);
|
|
26225
|
-
|
|
26226
|
-
|
|
26227
|
-
|
|
26228
|
-
|
|
26229
|
-
|
|
26230
|
-
|
|
26231
|
-
|
|
26232
|
-
return
|
|
26233
|
-
},
|
|
26234
|
-
|
|
26235
|
-
|
|
26236
|
-
|
|
26237
|
-
|
|
26238
|
-
|
|
26239
|
-
|
|
26240
|
-
|
|
26241
|
-
|
|
26242
|
-
|
|
26243
|
-
|
|
26244
|
-
|
|
26245
|
-
|
|
26246
|
-
|
|
26247
|
-
|
|
26248
|
-
|
|
26249
|
-
|
|
26250
|
-
|
|
26251
|
-
|
|
26252
|
-
|
|
26253
|
-
|
|
26254
|
-
|
|
26255
|
-
|
|
26256
|
-
|
|
26257
|
-
|
|
26258
|
-
|
|
26259
|
-
|
|
26260
|
-
|
|
26261
|
-
|
|
26262
|
-
|
|
26263
|
-
|
|
26264
|
-
|
|
26265
|
-
|
|
26266
|
-
|
|
26267
|
-
|
|
26268
|
-
|
|
26269
|
-
|
|
26270
|
-
|
|
26271
|
-
|
|
26272
|
-
|
|
26273
|
-
|
|
26274
|
-
|
|
26275
|
-
|
|
26276
|
-
|
|
26277
|
-
|
|
26278
|
-
|
|
26279
|
-
|
|
26280
|
-
|
|
26281
|
-
|
|
26282
|
-
|
|
26283
|
-
|
|
26284
|
-
|
|
26285
|
-
|
|
26286
|
-
|
|
26287
|
-
|
|
26288
|
-
|
|
26289
|
-
|
|
26290
|
-
|
|
26291
|
-
|
|
26292
|
-
|
|
26293
|
-
|
|
26294
|
-
|
|
26295
|
-
|
|
26296
|
-
|
|
26297
|
-
|
|
26298
|
-
|
|
26299
|
-
|
|
26300
|
-
|
|
26301
|
-
return le(7);
|
|
26302
|
-
var Q = (se = {}, se[h] = u, se[m] = d, se[p] = c, se)[oe] || 1, re = this.$d.getTime() + K * Q;
|
|
26303
|
-
return q.w(re, this);
|
|
26304
|
-
}, J.subtract = function(K, Z) {
|
|
26305
|
-
return this.add(-1 * K, Z);
|
|
26306
|
-
}, J.format = function(K) {
|
|
26307
|
-
var Z = this, se = this.$locale();
|
|
26308
|
-
if (!this.isValid())
|
|
26309
|
-
return se.invalidDate || E;
|
|
26310
|
-
var ne = K || "YYYY-MM-DDTHH:mm:ssZ", oe = q.z(this), le = this.$H, Q = this.$m, re = this.$M, te = se.weekdays, de = se.months, ce = se.meridiem, fe = function(ve, ye, he, Ce) {
|
|
26311
|
-
return ve && (ve[ye] || ve(Z, ne)) || he[ye].slice(0, Ce);
|
|
26312
|
-
}, pe = function(ve) {
|
|
26313
|
-
return q.s(le % 12 || 12, ve, "0");
|
|
26314
|
-
}, ge = ce || function(ve, ye, he) {
|
|
26315
|
-
var Ce = ve < 12 ? "AM" : "PM";
|
|
26316
|
-
return he ? Ce.toLowerCase() : Ce;
|
|
26317
|
-
};
|
|
26318
|
-
return ne.replace(N, function(ve, ye) {
|
|
26319
|
-
return ye || function(he) {
|
|
26320
|
-
switch (he) {
|
|
26321
|
-
case "YY":
|
|
26322
|
-
return String(Z.$y).slice(-2);
|
|
26323
|
-
case "YYYY":
|
|
26324
|
-
return q.s(Z.$y, 4, "0");
|
|
26325
|
-
case "M":
|
|
26326
|
-
return re + 1;
|
|
26327
|
-
case "MM":
|
|
26328
|
-
return q.s(re + 1, 2, "0");
|
|
26329
|
-
case "MMM":
|
|
26330
|
-
return fe(se.monthsShort, re, de, 3);
|
|
26331
|
-
case "MMMM":
|
|
26332
|
-
return fe(de, re);
|
|
26333
|
-
case "D":
|
|
26334
|
-
return Z.$D;
|
|
26335
|
-
case "DD":
|
|
26336
|
-
return q.s(Z.$D, 2, "0");
|
|
26337
|
-
case "d":
|
|
26338
|
-
return String(Z.$W);
|
|
26339
|
-
case "dd":
|
|
26340
|
-
return fe(se.weekdaysMin, Z.$W, te, 2);
|
|
26341
|
-
case "ddd":
|
|
26342
|
-
return fe(se.weekdaysShort, Z.$W, te, 3);
|
|
26343
|
-
case "dddd":
|
|
26344
|
-
return te[Z.$W];
|
|
26345
|
-
case "H":
|
|
26346
|
-
return String(le);
|
|
26347
|
-
case "HH":
|
|
26348
|
-
return q.s(le, 2, "0");
|
|
26349
|
-
case "h":
|
|
26350
|
-
return pe(1);
|
|
26351
|
-
case "hh":
|
|
26352
|
-
return pe(2);
|
|
26353
|
-
case "a":
|
|
26354
|
-
return ge(le, Q, !0);
|
|
26355
|
-
case "A":
|
|
26356
|
-
return ge(le, Q, !1);
|
|
26357
|
-
case "m":
|
|
26358
|
-
return String(Q);
|
|
26359
|
-
case "mm":
|
|
26360
|
-
return q.s(Q, 2, "0");
|
|
26361
|
-
case "s":
|
|
26362
|
-
return String(Z.$s);
|
|
26363
|
-
case "ss":
|
|
26364
|
-
return q.s(Z.$s, 2, "0");
|
|
26365
|
-
case "SSS":
|
|
26366
|
-
return q.s(Z.$ms, 3, "0");
|
|
26367
|
-
case "Z":
|
|
26368
|
-
return oe;
|
|
26369
|
-
}
|
|
26370
|
-
return null;
|
|
26371
|
-
}(ve) || oe.replace(":", "");
|
|
26372
|
-
});
|
|
26373
|
-
}, J.utcOffset = function() {
|
|
26374
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
26375
|
-
}, J.diff = function(K, Z, se) {
|
|
26376
|
-
var ne, oe = this, le = q.p(Z), Q = H(K), re = (Q.utcOffset() - this.utcOffset()) * u, te = this - Q, de = function() {
|
|
26377
|
-
return q.m(oe, Q);
|
|
26378
|
-
};
|
|
26379
|
-
switch (le) {
|
|
26380
|
-
case S:
|
|
26381
|
-
ne = de() / 12;
|
|
26382
|
-
break;
|
|
26383
|
-
case b:
|
|
26384
|
-
ne = de();
|
|
26385
|
-
break;
|
|
26386
|
-
case C:
|
|
26387
|
-
ne = de() / 3;
|
|
26388
|
-
break;
|
|
26389
|
-
case v:
|
|
26390
|
-
ne = (te - re) / 6048e5;
|
|
26391
|
-
break;
|
|
26392
|
-
case g:
|
|
26393
|
-
ne = (te - re) / 864e5;
|
|
26394
|
-
break;
|
|
26395
|
-
case m:
|
|
26396
|
-
ne = te / d;
|
|
26397
|
-
break;
|
|
26398
|
-
case h:
|
|
26399
|
-
ne = te / u;
|
|
26400
|
-
break;
|
|
26401
|
-
case p:
|
|
26402
|
-
ne = te / c;
|
|
26403
|
-
break;
|
|
26404
|
-
default:
|
|
26405
|
-
ne = te;
|
|
26406
|
-
}
|
|
26407
|
-
return se ? ne : q.a(ne);
|
|
26408
|
-
}, J.daysInMonth = function() {
|
|
26409
|
-
return this.endOf(b).$D;
|
|
26410
|
-
}, J.$locale = function() {
|
|
26411
|
-
return D[this.$L];
|
|
26412
|
-
}, J.locale = function(K, Z) {
|
|
26413
|
-
if (!K)
|
|
26414
|
-
return this.$L;
|
|
26415
|
-
var se = this.clone(), ne = j(K, Z, !0);
|
|
26416
|
-
return ne && (se.$L = ne), se;
|
|
26417
|
-
}, J.clone = function() {
|
|
26418
|
-
return q.w(this.$d, this);
|
|
26419
|
-
}, J.toDate = function() {
|
|
26420
|
-
return new Date(this.valueOf());
|
|
26421
|
-
}, J.toJSON = function() {
|
|
26422
|
-
return this.isValid() ? this.toISOString() : null;
|
|
26423
|
-
}, J.toISOString = function() {
|
|
26424
|
-
return this.$d.toISOString();
|
|
26425
|
-
}, J.toString = function() {
|
|
26426
|
-
return this.$d.toUTCString();
|
|
26427
|
-
}, Y;
|
|
26428
|
-
}(), X = G.prototype;
|
|
26429
|
-
return H.prototype = X, [["$ms", f], ["$s", p], ["$m", h], ["$H", m], ["$W", g], ["$M", b], ["$y", S], ["$D", _]].forEach(function(Y) {
|
|
26430
|
-
X[Y[1]] = function(J) {
|
|
26431
|
-
return this.$g(J, Y[0], Y[1]);
|
|
26216
|
+
if (typeof se == "string" && !/Z$/i.test(se)) {
|
|
26217
|
+
var oe = se.match(R);
|
|
26218
|
+
if (oe) {
|
|
26219
|
+
var le = oe[2] - 1 || 0, Q = (oe[7] || "0").substring(0, 3);
|
|
26220
|
+
return ne ? new Date(Date.UTC(oe[1], le, oe[3] || 1, oe[4] || 0, oe[5] || 0, oe[6] || 0, Q)) : new Date(oe[1], le, oe[3] || 1, oe[4] || 0, oe[5] || 0, oe[6] || 0, Q);
|
|
26221
|
+
}
|
|
26222
|
+
}
|
|
26223
|
+
return new Date(se);
|
|
26224
|
+
}(K), this.init();
|
|
26225
|
+
}, J.init = function() {
|
|
26226
|
+
var K = this.$d;
|
|
26227
|
+
this.$y = K.getFullYear(), this.$M = K.getMonth(), this.$D = K.getDate(), this.$W = K.getDay(), this.$H = K.getHours(), this.$m = K.getMinutes(), this.$s = K.getSeconds(), this.$ms = K.getMilliseconds();
|
|
26228
|
+
}, J.$utils = function() {
|
|
26229
|
+
return q;
|
|
26230
|
+
}, J.isValid = function() {
|
|
26231
|
+
return this.$d.toString() !== E;
|
|
26232
|
+
}, J.isSame = function(K, Z) {
|
|
26233
|
+
var se = H(K);
|
|
26234
|
+
return this.startOf(Z) <= se && se <= this.endOf(Z);
|
|
26235
|
+
}, J.isAfter = function(K, Z) {
|
|
26236
|
+
return H(K) < this.startOf(Z);
|
|
26237
|
+
}, J.isBefore = function(K, Z) {
|
|
26238
|
+
return this.endOf(Z) < H(K);
|
|
26239
|
+
}, J.$g = function(K, Z, se) {
|
|
26240
|
+
return q.u(K) ? this[Z] : this.set(se, K);
|
|
26241
|
+
}, J.unix = function() {
|
|
26242
|
+
return Math.floor(this.valueOf() / 1e3);
|
|
26243
|
+
}, J.valueOf = function() {
|
|
26244
|
+
return this.$d.getTime();
|
|
26245
|
+
}, J.startOf = function(K, Z) {
|
|
26246
|
+
var se = this, ne = !!q.u(Z) || Z, oe = q.p(K), le = function(ge, ve) {
|
|
26247
|
+
var ye = q.w(se.$u ? Date.UTC(se.$y, ve, ge) : new Date(se.$y, ve, ge), se);
|
|
26248
|
+
return ne ? ye : ye.endOf(g);
|
|
26249
|
+
}, Q = function(ge, ve) {
|
|
26250
|
+
return q.w(se.toDate()[ge].apply(se.toDate("s"), (ne ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ve)), se);
|
|
26251
|
+
}, re = this.$W, te = this.$M, de = this.$D, ce = "set" + (this.$u ? "UTC" : "");
|
|
26252
|
+
switch (oe) {
|
|
26253
|
+
case S:
|
|
26254
|
+
return ne ? le(1, 0) : le(31, 11);
|
|
26255
|
+
case b:
|
|
26256
|
+
return ne ? le(1, te) : le(0, te + 1);
|
|
26257
|
+
case v:
|
|
26258
|
+
var fe = this.$locale().weekStart || 0, pe = (re < fe ? re + 7 : re) - fe;
|
|
26259
|
+
return le(ne ? de - pe : de + (6 - pe), te);
|
|
26260
|
+
case g:
|
|
26261
|
+
case _:
|
|
26262
|
+
return Q(ce + "Hours", 0);
|
|
26263
|
+
case m:
|
|
26264
|
+
return Q(ce + "Minutes", 1);
|
|
26265
|
+
case h:
|
|
26266
|
+
return Q(ce + "Seconds", 2);
|
|
26267
|
+
case p:
|
|
26268
|
+
return Q(ce + "Milliseconds", 3);
|
|
26269
|
+
default:
|
|
26270
|
+
return this.clone();
|
|
26271
|
+
}
|
|
26272
|
+
}, J.endOf = function(K) {
|
|
26273
|
+
return this.startOf(K, !1);
|
|
26274
|
+
}, J.$set = function(K, Z) {
|
|
26275
|
+
var se, ne = q.p(K), oe = "set" + (this.$u ? "UTC" : ""), le = (se = {}, se[g] = oe + "Date", se[_] = oe + "Date", se[b] = oe + "Month", se[S] = oe + "FullYear", se[m] = oe + "Hours", se[h] = oe + "Minutes", se[p] = oe + "Seconds", se[f] = oe + "Milliseconds", se)[ne], Q = ne === g ? this.$D + (Z - this.$W) : Z;
|
|
26276
|
+
if (ne === b || ne === S) {
|
|
26277
|
+
var re = this.clone().set(_, 1);
|
|
26278
|
+
re.$d[le](Q), re.init(), this.$d = re.set(_, Math.min(this.$D, re.daysInMonth())).$d;
|
|
26279
|
+
} else
|
|
26280
|
+
le && this.$d[le](Q);
|
|
26281
|
+
return this.init(), this;
|
|
26282
|
+
}, J.set = function(K, Z) {
|
|
26283
|
+
return this.clone().$set(K, Z);
|
|
26284
|
+
}, J.get = function(K) {
|
|
26285
|
+
return this[q.p(K)]();
|
|
26286
|
+
}, J.add = function(K, Z) {
|
|
26287
|
+
var se, ne = this;
|
|
26288
|
+
K = Number(K);
|
|
26289
|
+
var oe = q.p(Z), le = function(te) {
|
|
26290
|
+
var de = H(ne);
|
|
26291
|
+
return q.w(de.date(de.date() + Math.round(te * K)), ne);
|
|
26432
26292
|
};
|
|
26433
|
-
|
|
26434
|
-
|
|
26435
|
-
|
|
26436
|
-
|
|
26437
|
-
|
|
26438
|
-
|
|
26439
|
-
|
|
26440
|
-
|
|
26441
|
-
var
|
|
26293
|
+
if (oe === b)
|
|
26294
|
+
return this.set(b, this.$M + K);
|
|
26295
|
+
if (oe === S)
|
|
26296
|
+
return this.set(S, this.$y + K);
|
|
26297
|
+
if (oe === g)
|
|
26298
|
+
return le(1);
|
|
26299
|
+
if (oe === v)
|
|
26300
|
+
return le(7);
|
|
26301
|
+
var Q = (se = {}, se[h] = u, se[m] = d, se[p] = c, se)[oe] || 1, re = this.$d.getTime() + K * Q;
|
|
26302
|
+
return q.w(re, this);
|
|
26303
|
+
}, J.subtract = function(K, Z) {
|
|
26304
|
+
return this.add(-1 * K, Z);
|
|
26305
|
+
}, J.format = function(K) {
|
|
26306
|
+
var Z = this, se = this.$locale();
|
|
26307
|
+
if (!this.isValid())
|
|
26308
|
+
return se.invalidDate || E;
|
|
26309
|
+
var ne = K || "YYYY-MM-DDTHH:mm:ssZ", oe = q.z(this), le = this.$H, Q = this.$m, re = this.$M, te = se.weekdays, de = se.months, ce = se.meridiem, fe = function(ve, ye, he, Ce) {
|
|
26310
|
+
return ve && (ve[ye] || ve(Z, ne)) || he[ye].slice(0, Ce);
|
|
26311
|
+
}, pe = function(ve) {
|
|
26312
|
+
return q.s(le % 12 || 12, ve, "0");
|
|
26313
|
+
}, ge = ce || function(ve, ye, he) {
|
|
26314
|
+
var Ce = ve < 12 ? "AM" : "PM";
|
|
26315
|
+
return he ? Ce.toLowerCase() : Ce;
|
|
26316
|
+
};
|
|
26317
|
+
return ne.replace(N, function(ve, ye) {
|
|
26318
|
+
return ye || function(he) {
|
|
26319
|
+
switch (he) {
|
|
26320
|
+
case "YY":
|
|
26321
|
+
return String(Z.$y).slice(-2);
|
|
26322
|
+
case "YYYY":
|
|
26323
|
+
return q.s(Z.$y, 4, "0");
|
|
26324
|
+
case "M":
|
|
26325
|
+
return re + 1;
|
|
26326
|
+
case "MM":
|
|
26327
|
+
return q.s(re + 1, 2, "0");
|
|
26328
|
+
case "MMM":
|
|
26329
|
+
return fe(se.monthsShort, re, de, 3);
|
|
26330
|
+
case "MMMM":
|
|
26331
|
+
return fe(de, re);
|
|
26332
|
+
case "D":
|
|
26333
|
+
return Z.$D;
|
|
26334
|
+
case "DD":
|
|
26335
|
+
return q.s(Z.$D, 2, "0");
|
|
26336
|
+
case "d":
|
|
26337
|
+
return String(Z.$W);
|
|
26338
|
+
case "dd":
|
|
26339
|
+
return fe(se.weekdaysMin, Z.$W, te, 2);
|
|
26340
|
+
case "ddd":
|
|
26341
|
+
return fe(se.weekdaysShort, Z.$W, te, 3);
|
|
26342
|
+
case "dddd":
|
|
26343
|
+
return te[Z.$W];
|
|
26344
|
+
case "H":
|
|
26345
|
+
return String(le);
|
|
26346
|
+
case "HH":
|
|
26347
|
+
return q.s(le, 2, "0");
|
|
26348
|
+
case "h":
|
|
26349
|
+
return pe(1);
|
|
26350
|
+
case "hh":
|
|
26351
|
+
return pe(2);
|
|
26352
|
+
case "a":
|
|
26353
|
+
return ge(le, Q, !0);
|
|
26354
|
+
case "A":
|
|
26355
|
+
return ge(le, Q, !1);
|
|
26356
|
+
case "m":
|
|
26357
|
+
return String(Q);
|
|
26358
|
+
case "mm":
|
|
26359
|
+
return q.s(Q, 2, "0");
|
|
26360
|
+
case "s":
|
|
26361
|
+
return String(Z.$s);
|
|
26362
|
+
case "ss":
|
|
26363
|
+
return q.s(Z.$s, 2, "0");
|
|
26364
|
+
case "SSS":
|
|
26365
|
+
return q.s(Z.$ms, 3, "0");
|
|
26366
|
+
case "Z":
|
|
26367
|
+
return oe;
|
|
26368
|
+
}
|
|
26369
|
+
return null;
|
|
26370
|
+
}(ve) || oe.replace(":", "");
|
|
26371
|
+
});
|
|
26372
|
+
}, J.utcOffset = function() {
|
|
26373
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
26374
|
+
}, J.diff = function(K, Z, se) {
|
|
26375
|
+
var ne, oe = this, le = q.p(Z), Q = H(K), re = (Q.utcOffset() - this.utcOffset()) * u, te = this - Q, de = function() {
|
|
26376
|
+
return q.m(oe, Q);
|
|
26377
|
+
};
|
|
26378
|
+
switch (le) {
|
|
26379
|
+
case S:
|
|
26380
|
+
ne = de() / 12;
|
|
26381
|
+
break;
|
|
26382
|
+
case b:
|
|
26383
|
+
ne = de();
|
|
26384
|
+
break;
|
|
26385
|
+
case C:
|
|
26386
|
+
ne = de() / 3;
|
|
26387
|
+
break;
|
|
26388
|
+
case v:
|
|
26389
|
+
ne = (te - re) / 6048e5;
|
|
26390
|
+
break;
|
|
26391
|
+
case g:
|
|
26392
|
+
ne = (te - re) / 864e5;
|
|
26393
|
+
break;
|
|
26394
|
+
case m:
|
|
26395
|
+
ne = te / d;
|
|
26396
|
+
break;
|
|
26397
|
+
case h:
|
|
26398
|
+
ne = te / u;
|
|
26399
|
+
break;
|
|
26400
|
+
case p:
|
|
26401
|
+
ne = te / c;
|
|
26402
|
+
break;
|
|
26403
|
+
default:
|
|
26404
|
+
ne = te;
|
|
26405
|
+
}
|
|
26406
|
+
return se ? ne : q.a(ne);
|
|
26407
|
+
}, J.daysInMonth = function() {
|
|
26408
|
+
return this.endOf(b).$D;
|
|
26409
|
+
}, J.$locale = function() {
|
|
26410
|
+
return D[this.$L];
|
|
26411
|
+
}, J.locale = function(K, Z) {
|
|
26412
|
+
if (!K)
|
|
26413
|
+
return this.$L;
|
|
26414
|
+
var se = this.clone(), ne = j(K, Z, !0);
|
|
26415
|
+
return ne && (se.$L = ne), se;
|
|
26416
|
+
}, J.clone = function() {
|
|
26417
|
+
return q.w(this.$d, this);
|
|
26418
|
+
}, J.toDate = function() {
|
|
26419
|
+
return new Date(this.valueOf());
|
|
26420
|
+
}, J.toJSON = function() {
|
|
26421
|
+
return this.isValid() ? this.toISOString() : null;
|
|
26422
|
+
}, J.toISOString = function() {
|
|
26423
|
+
return this.$d.toISOString();
|
|
26424
|
+
}, J.toString = function() {
|
|
26425
|
+
return this.$d.toUTCString();
|
|
26426
|
+
}, Y;
|
|
26427
|
+
}(), X = G.prototype;
|
|
26428
|
+
return H.prototype = X, [["$ms", f], ["$s", p], ["$m", h], ["$H", m], ["$W", g], ["$M", b], ["$y", S], ["$D", _]].forEach(function(Y) {
|
|
26429
|
+
X[Y[1]] = function(J) {
|
|
26430
|
+
return this.$g(J, Y[0], Y[1]);
|
|
26431
|
+
};
|
|
26432
|
+
}), H.extend = function(Y, J) {
|
|
26433
|
+
return Y.$i || (Y(J, G, H), Y.$i = !0), H;
|
|
26434
|
+
}, H.locale = j, H.isDayjs = z, H.unix = function(Y) {
|
|
26435
|
+
return H(1e3 * Y);
|
|
26436
|
+
}, H.en = D[k], H.Ls = D, H.p = {}, H;
|
|
26437
|
+
});
|
|
26438
|
+
})(dayjs_min);
|
|
26439
|
+
var dayjs_minExports = dayjs_min.exports;
|
|
26442
26440
|
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs$1(dayjs_minExports);
|
|
26443
26441
|
var weekday$1 = { exports: {} };
|
|
26444
26442
|
(function(a, s) {
|
|
@@ -68276,7 +68274,7 @@ const queryString = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
68276
68274
|
var vi$1 = { exports: {} };
|
|
68277
68275
|
(function(a, s) {
|
|
68278
68276
|
(function(c, u) {
|
|
68279
|
-
a.exports = u(
|
|
68277
|
+
a.exports = u(dayjs_minExports);
|
|
68280
68278
|
})(commonjsGlobal, function(c) {
|
|
68281
68279
|
function u(p) {
|
|
68282
68280
|
return p && typeof p == "object" && "default" in p ? p : { default: p };
|
|
@@ -83834,7 +83832,7 @@ const bgImgUrl = "https://share.becawork.vn/files/theme/web/sidebar-bg-img.png",
|
|
|
83834
83832
|
color: "var(--primary-color-6)"
|
|
83835
83833
|
}
|
|
83836
83834
|
)
|
|
83837
|
-
] }, u) : s && !g ? h ? v ? /* @__PURE__ */ jsx(Fragment$1, {}) : /* @__PURE__ */ jsx("a", { href: p, className: "ant-menu-inline-collapsed-noicon", children: b }, u) : /* @__PURE__ */ jsx(
|
|
83835
|
+
] }, u) : s && !g ? h ? v ? /* @__PURE__ */ jsx(Fragment$1, {}) : /* @__PURE__ */ jsx("a", { href: p, className: "ant-menu-inline-collapsed-noicon", children: b }, u) : c && /* @__PURE__ */ jsx(
|
|
83838
83836
|
c,
|
|
83839
83837
|
{
|
|
83840
83838
|
to: p,
|
|
@@ -109557,7 +109555,7 @@ const AppContext = createContext$1({
|
|
|
109557
109555
|
const $e = document.querySelector(":root");
|
|
109558
109556
|
$e && $e.style.setProperty("--regular-font", xe == null ? void 0 : xe.fontFamily);
|
|
109559
109557
|
};
|
|
109560
|
-
return /* @__PURE__ */ jsx(
|
|
109558
|
+
return console.log(ge), /* @__PURE__ */ jsx(
|
|
109561
109559
|
ConfigProvider,
|
|
109562
109560
|
{
|
|
109563
109561
|
language: z ?? "vi",
|
|
@@ -109606,58 +109604,63 @@ const AppContext = createContext$1({
|
|
|
109606
109604
|
customSideBar: _
|
|
109607
109605
|
}
|
|
109608
109606
|
),
|
|
109609
|
-
/* @__PURE__ */
|
|
109610
|
-
|
|
109607
|
+
/* @__PURE__ */ jsx(
|
|
109608
|
+
ScrollView,
|
|
109611
109609
|
{
|
|
109612
|
-
className:
|
|
109613
|
-
|
|
109614
|
-
|
|
109615
|
-
|
|
109616
|
-
|
|
109617
|
-
|
|
109618
|
-
|
|
109619
|
-
|
|
109620
|
-
|
|
109621
|
-
|
|
109622
|
-
|
|
109623
|
-
|
|
109624
|
-
|
|
109625
|
-
|
|
109626
|
-
|
|
109627
|
-
|
|
109628
|
-
|
|
109629
|
-
|
|
109630
|
-
|
|
109631
|
-
|
|
109632
|
-
|
|
109633
|
-
|
|
109634
|
-
|
|
109635
|
-
|
|
109636
|
-
|
|
109637
|
-
|
|
109638
|
-
|
|
109639
|
-
|
|
109640
|
-
|
|
109641
|
-
|
|
109642
|
-
|
|
109643
|
-
|
|
109644
|
-
|
|
109645
|
-
|
|
109646
|
-
|
|
109647
|
-
|
|
109648
|
-
|
|
109649
|
-
|
|
109650
|
-
|
|
109651
|
-
|
|
109652
|
-
|
|
109653
|
-
|
|
109654
|
-
|
|
109655
|
-
|
|
109656
|
-
|
|
109657
|
-
|
|
109658
|
-
|
|
109659
|
-
|
|
109660
|
-
|
|
109610
|
+
className: "layout-content-wrapper",
|
|
109611
|
+
onScroll: he,
|
|
109612
|
+
children: /* @__PURE__ */ jsxs(
|
|
109613
|
+
Layout,
|
|
109614
|
+
{
|
|
109615
|
+
className: classNames$1(
|
|
109616
|
+
pe && "is-mobile",
|
|
109617
|
+
_ !== void 0 && "custom-sidebar-layout"
|
|
109618
|
+
),
|
|
109619
|
+
onClick: () => {
|
|
109620
|
+
!N && pe && E && E(!0);
|
|
109621
|
+
},
|
|
109622
|
+
children: [
|
|
109623
|
+
/* @__PURE__ */ jsx(
|
|
109624
|
+
Header$3,
|
|
109625
|
+
{
|
|
109626
|
+
ref: se,
|
|
109627
|
+
notification: k,
|
|
109628
|
+
collapsed: N,
|
|
109629
|
+
toggleCollapse: ye,
|
|
109630
|
+
avatarUrl: m,
|
|
109631
|
+
avatarThumbnailUrl: g,
|
|
109632
|
+
logoUrl: v,
|
|
109633
|
+
applicationsCardData: b,
|
|
109634
|
+
currentApp: C,
|
|
109635
|
+
isMobile: pe,
|
|
109636
|
+
isShowCollapseButton: fe.length > 0 || _ !== void 0,
|
|
109637
|
+
headerTitle: S,
|
|
109638
|
+
profileMenuItems: R,
|
|
109639
|
+
homePageUrl: A,
|
|
109640
|
+
customHeader: I,
|
|
109641
|
+
supportContactData: p,
|
|
109642
|
+
LinkComponent: M,
|
|
109643
|
+
isSwitchTheme: D,
|
|
109644
|
+
theme: B,
|
|
109645
|
+
onChangeLocale: j,
|
|
109646
|
+
lang: z,
|
|
109647
|
+
onSwitchedTheme: H,
|
|
109648
|
+
scrolled: re,
|
|
109649
|
+
onChangeTheme: (xe) => Ce(xe),
|
|
109650
|
+
personalProfile: G,
|
|
109651
|
+
config: ne
|
|
109652
|
+
}
|
|
109653
|
+
),
|
|
109654
|
+
/* @__PURE__ */ jsx(
|
|
109655
|
+
Content$1,
|
|
109656
|
+
{
|
|
109657
|
+
className: `beca-main-content${N ? " collapsed" : ""}`,
|
|
109658
|
+
children: c
|
|
109659
|
+
}
|
|
109660
|
+
)
|
|
109661
|
+
]
|
|
109662
|
+
}
|
|
109663
|
+
)
|
|
109661
109664
|
}
|
|
109662
109665
|
)
|
|
109663
109666
|
]
|
|
@@ -110246,7 +110249,20 @@ const getClassName$C = (a) => {
|
|
|
110246
110249
|
const { className: s } = a;
|
|
110247
110250
|
let c = "beca-scroll-view";
|
|
110248
110251
|
return s && (c += " " + s), c;
|
|
110249
|
-
}, ScrollView = (a) =>
|
|
110252
|
+
}, ScrollView = (a) => {
|
|
110253
|
+
const { onScroll: s, ...c } = a, u = useRef(null);
|
|
110254
|
+
return useEffect(() => {
|
|
110255
|
+
var d;
|
|
110256
|
+
if (s) {
|
|
110257
|
+
const f = (d = u.current.el) == null ? void 0 : d.querySelector(
|
|
110258
|
+
".simplebar-content-wrapper"
|
|
110259
|
+
);
|
|
110260
|
+
f && f.addEventListener("scroll", (p) => {
|
|
110261
|
+
s(p.target.scrollTop);
|
|
110262
|
+
});
|
|
110263
|
+
}
|
|
110264
|
+
}, []), /* @__PURE__ */ jsx(SimpleBar, { ...c, className: getClassName$C(a), ref: u });
|
|
110265
|
+
}, getClassName$B = (a) => {
|
|
110250
110266
|
const { className: s, fullHeight: c, scrollable: u = !0, isCardContent: d } = a;
|
|
110251
110267
|
let f = "beca-card";
|
|
110252
110268
|
return s && (f += " " + s), c && (f += " fullHeight"), u && (f += " card-scrollable"), d && (f += " card-content"), f;
|
|
@@ -116721,29 +116737,29 @@ const ResizableComponent = Resizable, ResizableTitle = (a) => {
|
|
|
116721
116737
|
type: "primary",
|
|
116722
116738
|
status: "default",
|
|
116723
116739
|
onClick: h,
|
|
116724
|
-
...u,
|
|
116725
116740
|
className: classNames$1(
|
|
116726
116741
|
"beca-modal__action-button modal-cancel-button",
|
|
116727
116742
|
u == null ? void 0 : u.className
|
|
116728
116743
|
),
|
|
116744
|
+
...u,
|
|
116729
116745
|
children: d
|
|
116730
116746
|
},
|
|
116731
116747
|
"modalOK"
|
|
116732
116748
|
),
|
|
116733
|
-
!(p != null && p.hidden) && /* @__PURE__ */
|
|
116749
|
+
!(p != null && p.hidden) && /* @__PURE__ */ jsx(
|
|
116734
116750
|
Button,
|
|
116735
116751
|
{
|
|
116736
|
-
...p,
|
|
116737
|
-
key: "modalCancel",
|
|
116738
116752
|
type: "primary",
|
|
116739
116753
|
status: "info",
|
|
116740
116754
|
onClick: m,
|
|
116741
116755
|
className: classNames$1(
|
|
116742
116756
|
"beca-modal__action-button modal-ok-button",
|
|
116743
116757
|
p == null ? void 0 : p.className
|
|
116744
|
-
)
|
|
116758
|
+
),
|
|
116759
|
+
...p,
|
|
116760
|
+
children: f
|
|
116745
116761
|
},
|
|
116746
|
-
|
|
116762
|
+
"modalCancel"
|
|
116747
116763
|
)
|
|
116748
116764
|
],
|
|
116749
116765
|
children: v
|
|
@@ -137628,7 +137644,7 @@ const getClassName$i = (a) => {
|
|
|
137628
137644
|
let c = "beca-picker";
|
|
137629
137645
|
return s && (c += " " + s), c;
|
|
137630
137646
|
}, getDropdownClassName$1 = (a) => {
|
|
137631
|
-
const {
|
|
137647
|
+
const { popupClassName: s } = a;
|
|
137632
137648
|
let c = "beca-picker-dropdown";
|
|
137633
137649
|
return s && (c += " " + s), c;
|
|
137634
137650
|
}, TimePicker = (a) => {
|
|
@@ -137657,7 +137673,7 @@ const getClassName$h = (a) => {
|
|
|
137657
137673
|
let c = "beca-select beca-tree-select";
|
|
137658
137674
|
return s && (c += " " + s), c;
|
|
137659
137675
|
}, getDropdownClassName = (a) => {
|
|
137660
|
-
const {
|
|
137676
|
+
const { popupClassName: s } = a;
|
|
137661
137677
|
let c = "beca-select-dropdown beca-tree-select-dropdown";
|
|
137662
137678
|
return s && (c += " " + s), c;
|
|
137663
137679
|
}, TreeSelect = (a) => {
|
|
@@ -137672,7 +137688,7 @@ const getClassName$h = (a) => {
|
|
|
137672
137688
|
{
|
|
137673
137689
|
...a,
|
|
137674
137690
|
className: getClassName$h(a),
|
|
137675
|
-
|
|
137691
|
+
popupClassName: getDropdownClassName(a),
|
|
137676
137692
|
suffixIcon: s ?? /* @__PURE__ */ jsx(SvgArrowDownOutlinedStyle, {}),
|
|
137677
137693
|
switcherIcon: c ?? /* @__PURE__ */ jsx(SvgArrowDownOutlinedStyle, {}),
|
|
137678
137694
|
removeIcon: /* @__PURE__ */ jsx(SvgCloseOutlinedStyle, {}),
|