@producteca/producteca-ui-kit 1.74.0 → 1.74.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/producteca-ui-kit.es.js +275 -280
- package/dist/producteca-ui-kit.umd.js +31 -31
- package/package.json +1 -1
|
@@ -21040,293 +21040,287 @@ const VisibilityIcon = ({ showPassword, setShowPassword }) => {
|
|
|
21040
21040
|
return /* @__PURE__ */ jsx$1("div", { "data-testid": "visibility-toggle", onClick: () => setShowPassword(!showPassword), children: showPassword ? /* @__PURE__ */ jsx$1(Visibility, {}) : /* @__PURE__ */ jsx$1(VisibilityOff, {}) });
|
|
21041
21041
|
};
|
|
21042
21042
|
var dayjs_min = { exports: {} };
|
|
21043
|
-
|
|
21044
|
-
function
|
|
21045
|
-
|
|
21046
|
-
|
|
21047
|
-
|
|
21048
|
-
|
|
21049
|
-
|
|
21050
|
-
}
|
|
21051
|
-
var
|
|
21052
|
-
|
|
21053
|
-
|
|
21054
|
-
|
|
21055
|
-
|
|
21056
|
-
|
|
21057
|
-
|
|
21058
|
-
|
|
21059
|
-
|
|
21060
|
-
|
|
21061
|
-
|
|
21062
|
-
|
|
21063
|
-
|
|
21064
|
-
|
|
21065
|
-
|
|
21066
|
-
|
|
21067
|
-
|
|
21068
|
-
|
|
21069
|
-
|
|
21070
|
-
|
|
21071
|
-
|
|
21072
|
-
|
|
21073
|
-
|
|
21074
|
-
|
|
21075
|
-
|
|
21076
|
-
|
|
21077
|
-
if (
|
|
21078
|
-
|
|
21079
|
-
|
|
21080
|
-
|
|
21081
|
-
|
|
21082
|
-
|
|
21083
|
-
|
|
21084
|
-
|
|
21085
|
-
|
|
21086
|
-
|
|
21087
|
-
|
|
21088
|
-
|
|
21089
|
-
|
|
21090
|
-
|
|
21091
|
-
|
|
21092
|
-
|
|
21093
|
-
|
|
21094
|
-
}
|
|
21095
|
-
var
|
|
21096
|
-
|
|
21097
|
-
|
|
21098
|
-
|
|
21099
|
-
|
|
21100
|
-
|
|
21101
|
-
|
|
21102
|
-
|
|
21103
|
-
|
|
21104
|
-
if (
|
|
21105
|
-
|
|
21106
|
-
|
|
21107
|
-
var r3 = e2.match($);
|
|
21108
|
-
if (r3) {
|
|
21109
|
-
var i2 = r3[2] - 1 || 0, s2 = (r3[7] || "0").substring(0, 3);
|
|
21110
|
-
return n2 ? new Date(Date.UTC(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s2)) : new Date(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s2);
|
|
21111
|
-
}
|
|
21043
|
+
(function(module, exports) {
|
|
21044
|
+
!function(t, e) {
|
|
21045
|
+
module.exports = e();
|
|
21046
|
+
}(commonjsGlobal, function() {
|
|
21047
|
+
var t = 1e3, e = 6e4, n = 36e5, r2 = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", c = "month", f = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|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, M = { 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(t2) {
|
|
21048
|
+
var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
|
|
21049
|
+
return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
|
|
21050
|
+
} }, m = function(t2, e2, n2) {
|
|
21051
|
+
var r3 = String(t2);
|
|
21052
|
+
return !r3 || r3.length >= e2 ? t2 : "" + Array(e2 + 1 - r3.length).join(n2) + t2;
|
|
21053
|
+
}, v = { s: m, z: function(t2) {
|
|
21054
|
+
var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r3 = Math.floor(n2 / 60), i2 = n2 % 60;
|
|
21055
|
+
return (e2 <= 0 ? "+" : "-") + m(r3, 2, "0") + ":" + m(i2, 2, "0");
|
|
21056
|
+
}, m: function t2(e2, n2) {
|
|
21057
|
+
if (e2.date() < n2.date()) return -t2(n2, e2);
|
|
21058
|
+
var r3 = 12 * (n2.year() - e2.year()) + (n2.month() - e2.month()), i2 = e2.clone().add(r3, c), s2 = n2 - i2 < 0, u2 = e2.clone().add(r3 + (s2 ? -1 : 1), c);
|
|
21059
|
+
return +(-(r3 + (n2 - i2) / (s2 ? i2 - u2 : u2 - i2)) || 0);
|
|
21060
|
+
}, a: function(t2) {
|
|
21061
|
+
return t2 < 0 ? Math.ceil(t2) || 0 : Math.floor(t2);
|
|
21062
|
+
}, p: function(t2) {
|
|
21063
|
+
return { M: c, y: h, w: o, d: a, D: d, h: u, m: s, s: i, ms: r2, Q: f }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
|
|
21064
|
+
}, u: function(t2) {
|
|
21065
|
+
return void 0 === t2;
|
|
21066
|
+
} }, g = "en", D = {};
|
|
21067
|
+
D[g] = M;
|
|
21068
|
+
var p = "$isDayjsObject", S = function(t2) {
|
|
21069
|
+
return t2 instanceof _ || !(!t2 || !t2[p]);
|
|
21070
|
+
}, w2 = function t2(e2, n2, r3) {
|
|
21071
|
+
var i2;
|
|
21072
|
+
if (!e2) return g;
|
|
21073
|
+
if ("string" == typeof e2) {
|
|
21074
|
+
var s2 = e2.toLowerCase();
|
|
21075
|
+
D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
|
|
21076
|
+
var u2 = e2.split("-");
|
|
21077
|
+
if (!i2 && u2.length > 1) return t2(u2[0]);
|
|
21078
|
+
} else {
|
|
21079
|
+
var a2 = e2.name;
|
|
21080
|
+
D[a2] = e2, i2 = a2;
|
|
21081
|
+
}
|
|
21082
|
+
return !r3 && i2 && (g = i2), i2 || !r3 && g;
|
|
21083
|
+
}, O = function(t2, e2) {
|
|
21084
|
+
if (S(t2)) return t2.clone();
|
|
21085
|
+
var n2 = "object" == typeof e2 ? e2 : {};
|
|
21086
|
+
return n2.date = t2, n2.args = arguments, new _(n2);
|
|
21087
|
+
}, b = v;
|
|
21088
|
+
b.l = w2, b.i = S, b.w = function(t2, e2) {
|
|
21089
|
+
return O(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
|
|
21090
|
+
};
|
|
21091
|
+
var _ = function() {
|
|
21092
|
+
function M2(t2) {
|
|
21093
|
+
this.$L = w2(t2.locale, null, true), this.parse(t2), this.$x = this.$x || t2.x || {}, this[p] = true;
|
|
21094
|
+
}
|
|
21095
|
+
var m2 = M2.prototype;
|
|
21096
|
+
return m2.parse = function(t2) {
|
|
21097
|
+
this.$d = function(t3) {
|
|
21098
|
+
var e2 = t3.date, n2 = t3.utc;
|
|
21099
|
+
if (null === e2) return /* @__PURE__ */ new Date(NaN);
|
|
21100
|
+
if (b.u(e2)) return /* @__PURE__ */ new Date();
|
|
21101
|
+
if (e2 instanceof Date) return new Date(e2);
|
|
21102
|
+
if ("string" == typeof e2 && !/Z$/i.test(e2)) {
|
|
21103
|
+
var r3 = e2.match($);
|
|
21104
|
+
if (r3) {
|
|
21105
|
+
var i2 = r3[2] - 1 || 0, s2 = (r3[7] || "0").substring(0, 3);
|
|
21106
|
+
return n2 ? new Date(Date.UTC(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s2)) : new Date(r3[1], i2, r3[3] || 1, r3[4] || 0, r3[5] || 0, r3[6] || 0, s2);
|
|
21112
21107
|
}
|
|
21113
|
-
return new Date(e2);
|
|
21114
|
-
}(t2), this.init();
|
|
21115
|
-
}, m2.init = function() {
|
|
21116
|
-
var t2 = this.$d;
|
|
21117
|
-
this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
|
|
21118
|
-
}, m2.$utils = function() {
|
|
21119
|
-
return b;
|
|
21120
|
-
}, m2.isValid = function() {
|
|
21121
|
-
return !(this.$d.toString() === l);
|
|
21122
|
-
}, m2.isSame = function(t2, e2) {
|
|
21123
|
-
var n2 = O(t2);
|
|
21124
|
-
return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
|
|
21125
|
-
}, m2.isAfter = function(t2, e2) {
|
|
21126
|
-
return O(t2) < this.startOf(e2);
|
|
21127
|
-
}, m2.isBefore = function(t2, e2) {
|
|
21128
|
-
return this.endOf(e2) < O(t2);
|
|
21129
|
-
}, m2.$g = function(t2, e2, n2) {
|
|
21130
|
-
return b.u(t2) ? this[e2] : this.set(n2, t2);
|
|
21131
|
-
}, m2.unix = function() {
|
|
21132
|
-
return Math.floor(this.valueOf() / 1e3);
|
|
21133
|
-
}, m2.valueOf = function() {
|
|
21134
|
-
return this.$d.getTime();
|
|
21135
|
-
}, m2.startOf = function(t2, e2) {
|
|
21136
|
-
var n2 = this, r3 = !!b.u(e2) || e2, f2 = b.p(t2), l2 = function(t3, e3) {
|
|
21137
|
-
var i2 = b.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
|
|
21138
|
-
return r3 ? i2 : i2.endOf(a);
|
|
21139
|
-
}, $2 = function(t3, e3) {
|
|
21140
|
-
return b.w(n2.toDate()[t3].apply(n2.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
|
|
21141
|
-
}, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
|
|
21142
|
-
switch (f2) {
|
|
21143
|
-
case h:
|
|
21144
|
-
return r3 ? l2(1, 0) : l2(31, 11);
|
|
21145
|
-
case c:
|
|
21146
|
-
return r3 ? l2(1, M3) : l2(0, M3 + 1);
|
|
21147
|
-
case o:
|
|
21148
|
-
var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
|
|
21149
|
-
return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
|
|
21150
|
-
case a:
|
|
21151
|
-
case d:
|
|
21152
|
-
return $2(v2 + "Hours", 0);
|
|
21153
|
-
case u:
|
|
21154
|
-
return $2(v2 + "Minutes", 1);
|
|
21155
|
-
case s:
|
|
21156
|
-
return $2(v2 + "Seconds", 2);
|
|
21157
|
-
case i:
|
|
21158
|
-
return $2(v2 + "Milliseconds", 3);
|
|
21159
|
-
default:
|
|
21160
|
-
return this.clone();
|
|
21161
|
-
}
|
|
21162
|
-
}, m2.endOf = function(t2) {
|
|
21163
|
-
return this.startOf(t2, false);
|
|
21164
|
-
}, m2.$set = function(t2, e2) {
|
|
21165
|
-
var n2, o2 = b.p(t2), f2 = "set" + (this.$u ? "UTC" : ""), l2 = (n2 = {}, n2[a] = f2 + "Date", n2[d] = f2 + "Date", n2[c] = f2 + "Month", n2[h] = f2 + "FullYear", n2[u] = f2 + "Hours", n2[s] = f2 + "Minutes", n2[i] = f2 + "Seconds", n2[r2] = f2 + "Milliseconds", n2)[o2], $2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
|
|
21166
|
-
if (o2 === c || o2 === h) {
|
|
21167
|
-
var y2 = this.clone().set(d, 1);
|
|
21168
|
-
y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
|
|
21169
|
-
} else l2 && this.$d[l2]($2);
|
|
21170
|
-
return this.init(), this;
|
|
21171
|
-
}, m2.set = function(t2, e2) {
|
|
21172
|
-
return this.clone().$set(t2, e2);
|
|
21173
|
-
}, m2.get = function(t2) {
|
|
21174
|
-
return this[b.p(t2)]();
|
|
21175
|
-
}, m2.add = function(r3, f2) {
|
|
21176
|
-
var d2, l2 = this;
|
|
21177
|
-
r3 = Number(r3);
|
|
21178
|
-
var $2 = b.p(f2), y2 = function(t2) {
|
|
21179
|
-
var e2 = O(l2);
|
|
21180
|
-
return b.w(e2.date(e2.date() + Math.round(t2 * r3)), l2);
|
|
21181
|
-
};
|
|
21182
|
-
if ($2 === c) return this.set(c, this.$M + r3);
|
|
21183
|
-
if ($2 === h) return this.set(h, this.$y + r3);
|
|
21184
|
-
if ($2 === a) return y2(1);
|
|
21185
|
-
if ($2 === o) return y2(7);
|
|
21186
|
-
var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
|
|
21187
|
-
return b.w(m3, this);
|
|
21188
|
-
}, m2.subtract = function(t2, e2) {
|
|
21189
|
-
return this.add(-1 * t2, e2);
|
|
21190
|
-
}, m2.format = function(t2) {
|
|
21191
|
-
var e2 = this, n2 = this.$locale();
|
|
21192
|
-
if (!this.isValid()) return n2.invalidDate || l;
|
|
21193
|
-
var r3 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, c2 = n2.months, f2 = n2.meridiem, h2 = function(t3, n3, i3, s3) {
|
|
21194
|
-
return t3 && (t3[n3] || t3(e2, r3)) || i3[n3].slice(0, s3);
|
|
21195
|
-
}, d2 = function(t3) {
|
|
21196
|
-
return b.s(s2 % 12 || 12, t3, "0");
|
|
21197
|
-
}, $2 = f2 || function(t3, e3, n3) {
|
|
21198
|
-
var r4 = t3 < 12 ? "AM" : "PM";
|
|
21199
|
-
return n3 ? r4.toLowerCase() : r4;
|
|
21200
|
-
};
|
|
21201
|
-
return r3.replace(y, function(t3, r4) {
|
|
21202
|
-
return r4 || function(t4) {
|
|
21203
|
-
switch (t4) {
|
|
21204
|
-
case "YY":
|
|
21205
|
-
return String(e2.$y).slice(-2);
|
|
21206
|
-
case "YYYY":
|
|
21207
|
-
return b.s(e2.$y, 4, "0");
|
|
21208
|
-
case "M":
|
|
21209
|
-
return a2 + 1;
|
|
21210
|
-
case "MM":
|
|
21211
|
-
return b.s(a2 + 1, 2, "0");
|
|
21212
|
-
case "MMM":
|
|
21213
|
-
return h2(n2.monthsShort, a2, c2, 3);
|
|
21214
|
-
case "MMMM":
|
|
21215
|
-
return h2(c2, a2);
|
|
21216
|
-
case "D":
|
|
21217
|
-
return e2.$D;
|
|
21218
|
-
case "DD":
|
|
21219
|
-
return b.s(e2.$D, 2, "0");
|
|
21220
|
-
case "d":
|
|
21221
|
-
return String(e2.$W);
|
|
21222
|
-
case "dd":
|
|
21223
|
-
return h2(n2.weekdaysMin, e2.$W, o2, 2);
|
|
21224
|
-
case "ddd":
|
|
21225
|
-
return h2(n2.weekdaysShort, e2.$W, o2, 3);
|
|
21226
|
-
case "dddd":
|
|
21227
|
-
return o2[e2.$W];
|
|
21228
|
-
case "H":
|
|
21229
|
-
return String(s2);
|
|
21230
|
-
case "HH":
|
|
21231
|
-
return b.s(s2, 2, "0");
|
|
21232
|
-
case "h":
|
|
21233
|
-
return d2(1);
|
|
21234
|
-
case "hh":
|
|
21235
|
-
return d2(2);
|
|
21236
|
-
case "a":
|
|
21237
|
-
return $2(s2, u2, true);
|
|
21238
|
-
case "A":
|
|
21239
|
-
return $2(s2, u2, false);
|
|
21240
|
-
case "m":
|
|
21241
|
-
return String(u2);
|
|
21242
|
-
case "mm":
|
|
21243
|
-
return b.s(u2, 2, "0");
|
|
21244
|
-
case "s":
|
|
21245
|
-
return String(e2.$s);
|
|
21246
|
-
case "ss":
|
|
21247
|
-
return b.s(e2.$s, 2, "0");
|
|
21248
|
-
case "SSS":
|
|
21249
|
-
return b.s(e2.$ms, 3, "0");
|
|
21250
|
-
case "Z":
|
|
21251
|
-
return i2;
|
|
21252
|
-
}
|
|
21253
|
-
return null;
|
|
21254
|
-
}(t3) || i2.replace(":", "");
|
|
21255
|
-
});
|
|
21256
|
-
}, m2.utcOffset = function() {
|
|
21257
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
21258
|
-
}, m2.diff = function(r3, d2, l2) {
|
|
21259
|
-
var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e, g2 = this - m3, D2 = function() {
|
|
21260
|
-
return b.m(y2, m3);
|
|
21261
|
-
};
|
|
21262
|
-
switch (M3) {
|
|
21263
|
-
case h:
|
|
21264
|
-
$2 = D2() / 12;
|
|
21265
|
-
break;
|
|
21266
|
-
case c:
|
|
21267
|
-
$2 = D2();
|
|
21268
|
-
break;
|
|
21269
|
-
case f:
|
|
21270
|
-
$2 = D2() / 3;
|
|
21271
|
-
break;
|
|
21272
|
-
case o:
|
|
21273
|
-
$2 = (g2 - v2) / 6048e5;
|
|
21274
|
-
break;
|
|
21275
|
-
case a:
|
|
21276
|
-
$2 = (g2 - v2) / 864e5;
|
|
21277
|
-
break;
|
|
21278
|
-
case u:
|
|
21279
|
-
$2 = g2 / n;
|
|
21280
|
-
break;
|
|
21281
|
-
case s:
|
|
21282
|
-
$2 = g2 / e;
|
|
21283
|
-
break;
|
|
21284
|
-
case i:
|
|
21285
|
-
$2 = g2 / t;
|
|
21286
|
-
break;
|
|
21287
|
-
default:
|
|
21288
|
-
$2 = g2;
|
|
21289
21108
|
}
|
|
21290
|
-
return
|
|
21291
|
-
},
|
|
21292
|
-
|
|
21293
|
-
|
|
21294
|
-
|
|
21295
|
-
|
|
21296
|
-
|
|
21297
|
-
|
|
21298
|
-
|
|
21299
|
-
|
|
21300
|
-
|
|
21301
|
-
|
|
21302
|
-
|
|
21303
|
-
|
|
21304
|
-
|
|
21305
|
-
|
|
21306
|
-
|
|
21307
|
-
|
|
21308
|
-
|
|
21309
|
-
|
|
21310
|
-
}
|
|
21311
|
-
|
|
21312
|
-
|
|
21313
|
-
|
|
21109
|
+
return new Date(e2);
|
|
21110
|
+
}(t2), this.init();
|
|
21111
|
+
}, m2.init = function() {
|
|
21112
|
+
var t2 = this.$d;
|
|
21113
|
+
this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
|
|
21114
|
+
}, m2.$utils = function() {
|
|
21115
|
+
return b;
|
|
21116
|
+
}, m2.isValid = function() {
|
|
21117
|
+
return !(this.$d.toString() === l);
|
|
21118
|
+
}, m2.isSame = function(t2, e2) {
|
|
21119
|
+
var n2 = O(t2);
|
|
21120
|
+
return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
|
|
21121
|
+
}, m2.isAfter = function(t2, e2) {
|
|
21122
|
+
return O(t2) < this.startOf(e2);
|
|
21123
|
+
}, m2.isBefore = function(t2, e2) {
|
|
21124
|
+
return this.endOf(e2) < O(t2);
|
|
21125
|
+
}, m2.$g = function(t2, e2, n2) {
|
|
21126
|
+
return b.u(t2) ? this[e2] : this.set(n2, t2);
|
|
21127
|
+
}, m2.unix = function() {
|
|
21128
|
+
return Math.floor(this.valueOf() / 1e3);
|
|
21129
|
+
}, m2.valueOf = function() {
|
|
21130
|
+
return this.$d.getTime();
|
|
21131
|
+
}, m2.startOf = function(t2, e2) {
|
|
21132
|
+
var n2 = this, r3 = !!b.u(e2) || e2, f2 = b.p(t2), l2 = function(t3, e3) {
|
|
21133
|
+
var i2 = b.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
|
|
21134
|
+
return r3 ? i2 : i2.endOf(a);
|
|
21135
|
+
}, $2 = function(t3, e3) {
|
|
21136
|
+
return b.w(n2.toDate()[t3].apply(n2.toDate("s"), (r3 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
|
|
21137
|
+
}, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
|
|
21138
|
+
switch (f2) {
|
|
21139
|
+
case h:
|
|
21140
|
+
return r3 ? l2(1, 0) : l2(31, 11);
|
|
21141
|
+
case c:
|
|
21142
|
+
return r3 ? l2(1, M3) : l2(0, M3 + 1);
|
|
21143
|
+
case o:
|
|
21144
|
+
var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
|
|
21145
|
+
return l2(r3 ? m3 - D2 : m3 + (6 - D2), M3);
|
|
21146
|
+
case a:
|
|
21147
|
+
case d:
|
|
21148
|
+
return $2(v2 + "Hours", 0);
|
|
21149
|
+
case u:
|
|
21150
|
+
return $2(v2 + "Minutes", 1);
|
|
21151
|
+
case s:
|
|
21152
|
+
return $2(v2 + "Seconds", 2);
|
|
21153
|
+
case i:
|
|
21154
|
+
return $2(v2 + "Milliseconds", 3);
|
|
21155
|
+
default:
|
|
21156
|
+
return this.clone();
|
|
21157
|
+
}
|
|
21158
|
+
}, m2.endOf = function(t2) {
|
|
21159
|
+
return this.startOf(t2, false);
|
|
21160
|
+
}, m2.$set = function(t2, e2) {
|
|
21161
|
+
var n2, o2 = b.p(t2), f2 = "set" + (this.$u ? "UTC" : ""), l2 = (n2 = {}, n2[a] = f2 + "Date", n2[d] = f2 + "Date", n2[c] = f2 + "Month", n2[h] = f2 + "FullYear", n2[u] = f2 + "Hours", n2[s] = f2 + "Minutes", n2[i] = f2 + "Seconds", n2[r2] = f2 + "Milliseconds", n2)[o2], $2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
|
|
21162
|
+
if (o2 === c || o2 === h) {
|
|
21163
|
+
var y2 = this.clone().set(d, 1);
|
|
21164
|
+
y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
|
|
21165
|
+
} else l2 && this.$d[l2]($2);
|
|
21166
|
+
return this.init(), this;
|
|
21167
|
+
}, m2.set = function(t2, e2) {
|
|
21168
|
+
return this.clone().$set(t2, e2);
|
|
21169
|
+
}, m2.get = function(t2) {
|
|
21170
|
+
return this[b.p(t2)]();
|
|
21171
|
+
}, m2.add = function(r3, f2) {
|
|
21172
|
+
var d2, l2 = this;
|
|
21173
|
+
r3 = Number(r3);
|
|
21174
|
+
var $2 = b.p(f2), y2 = function(t2) {
|
|
21175
|
+
var e2 = O(l2);
|
|
21176
|
+
return b.w(e2.date(e2.date() + Math.round(t2 * r3)), l2);
|
|
21314
21177
|
};
|
|
21315
|
-
|
|
21316
|
-
|
|
21317
|
-
|
|
21318
|
-
|
|
21319
|
-
|
|
21320
|
-
|
|
21321
|
-
|
|
21322
|
-
|
|
21323
|
-
}
|
|
21324
|
-
var
|
|
21178
|
+
if ($2 === c) return this.set(c, this.$M + r3);
|
|
21179
|
+
if ($2 === h) return this.set(h, this.$y + r3);
|
|
21180
|
+
if ($2 === a) return y2(1);
|
|
21181
|
+
if ($2 === o) return y2(7);
|
|
21182
|
+
var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r3 * M3;
|
|
21183
|
+
return b.w(m3, this);
|
|
21184
|
+
}, m2.subtract = function(t2, e2) {
|
|
21185
|
+
return this.add(-1 * t2, e2);
|
|
21186
|
+
}, m2.format = function(t2) {
|
|
21187
|
+
var e2 = this, n2 = this.$locale();
|
|
21188
|
+
if (!this.isValid()) return n2.invalidDate || l;
|
|
21189
|
+
var r3 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, c2 = n2.months, f2 = n2.meridiem, h2 = function(t3, n3, i3, s3) {
|
|
21190
|
+
return t3 && (t3[n3] || t3(e2, r3)) || i3[n3].slice(0, s3);
|
|
21191
|
+
}, d2 = function(t3) {
|
|
21192
|
+
return b.s(s2 % 12 || 12, t3, "0");
|
|
21193
|
+
}, $2 = f2 || function(t3, e3, n3) {
|
|
21194
|
+
var r4 = t3 < 12 ? "AM" : "PM";
|
|
21195
|
+
return n3 ? r4.toLowerCase() : r4;
|
|
21196
|
+
};
|
|
21197
|
+
return r3.replace(y, function(t3, r4) {
|
|
21198
|
+
return r4 || function(t4) {
|
|
21199
|
+
switch (t4) {
|
|
21200
|
+
case "YY":
|
|
21201
|
+
return String(e2.$y).slice(-2);
|
|
21202
|
+
case "YYYY":
|
|
21203
|
+
return b.s(e2.$y, 4, "0");
|
|
21204
|
+
case "M":
|
|
21205
|
+
return a2 + 1;
|
|
21206
|
+
case "MM":
|
|
21207
|
+
return b.s(a2 + 1, 2, "0");
|
|
21208
|
+
case "MMM":
|
|
21209
|
+
return h2(n2.monthsShort, a2, c2, 3);
|
|
21210
|
+
case "MMMM":
|
|
21211
|
+
return h2(c2, a2);
|
|
21212
|
+
case "D":
|
|
21213
|
+
return e2.$D;
|
|
21214
|
+
case "DD":
|
|
21215
|
+
return b.s(e2.$D, 2, "0");
|
|
21216
|
+
case "d":
|
|
21217
|
+
return String(e2.$W);
|
|
21218
|
+
case "dd":
|
|
21219
|
+
return h2(n2.weekdaysMin, e2.$W, o2, 2);
|
|
21220
|
+
case "ddd":
|
|
21221
|
+
return h2(n2.weekdaysShort, e2.$W, o2, 3);
|
|
21222
|
+
case "dddd":
|
|
21223
|
+
return o2[e2.$W];
|
|
21224
|
+
case "H":
|
|
21225
|
+
return String(s2);
|
|
21226
|
+
case "HH":
|
|
21227
|
+
return b.s(s2, 2, "0");
|
|
21228
|
+
case "h":
|
|
21229
|
+
return d2(1);
|
|
21230
|
+
case "hh":
|
|
21231
|
+
return d2(2);
|
|
21232
|
+
case "a":
|
|
21233
|
+
return $2(s2, u2, true);
|
|
21234
|
+
case "A":
|
|
21235
|
+
return $2(s2, u2, false);
|
|
21236
|
+
case "m":
|
|
21237
|
+
return String(u2);
|
|
21238
|
+
case "mm":
|
|
21239
|
+
return b.s(u2, 2, "0");
|
|
21240
|
+
case "s":
|
|
21241
|
+
return String(e2.$s);
|
|
21242
|
+
case "ss":
|
|
21243
|
+
return b.s(e2.$s, 2, "0");
|
|
21244
|
+
case "SSS":
|
|
21245
|
+
return b.s(e2.$ms, 3, "0");
|
|
21246
|
+
case "Z":
|
|
21247
|
+
return i2;
|
|
21248
|
+
}
|
|
21249
|
+
return null;
|
|
21250
|
+
}(t3) || i2.replace(":", "");
|
|
21251
|
+
});
|
|
21252
|
+
}, m2.utcOffset = function() {
|
|
21253
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
21254
|
+
}, m2.diff = function(r3, d2, l2) {
|
|
21255
|
+
var $2, y2 = this, M3 = b.p(d2), m3 = O(r3), v2 = (m3.utcOffset() - this.utcOffset()) * e, g2 = this - m3, D2 = function() {
|
|
21256
|
+
return b.m(y2, m3);
|
|
21257
|
+
};
|
|
21258
|
+
switch (M3) {
|
|
21259
|
+
case h:
|
|
21260
|
+
$2 = D2() / 12;
|
|
21261
|
+
break;
|
|
21262
|
+
case c:
|
|
21263
|
+
$2 = D2();
|
|
21264
|
+
break;
|
|
21265
|
+
case f:
|
|
21266
|
+
$2 = D2() / 3;
|
|
21267
|
+
break;
|
|
21268
|
+
case o:
|
|
21269
|
+
$2 = (g2 - v2) / 6048e5;
|
|
21270
|
+
break;
|
|
21271
|
+
case a:
|
|
21272
|
+
$2 = (g2 - v2) / 864e5;
|
|
21273
|
+
break;
|
|
21274
|
+
case u:
|
|
21275
|
+
$2 = g2 / n;
|
|
21276
|
+
break;
|
|
21277
|
+
case s:
|
|
21278
|
+
$2 = g2 / e;
|
|
21279
|
+
break;
|
|
21280
|
+
case i:
|
|
21281
|
+
$2 = g2 / t;
|
|
21282
|
+
break;
|
|
21283
|
+
default:
|
|
21284
|
+
$2 = g2;
|
|
21285
|
+
}
|
|
21286
|
+
return l2 ? $2 : b.a($2);
|
|
21287
|
+
}, m2.daysInMonth = function() {
|
|
21288
|
+
return this.endOf(c).$D;
|
|
21289
|
+
}, m2.$locale = function() {
|
|
21290
|
+
return D[this.$L];
|
|
21291
|
+
}, m2.locale = function(t2, e2) {
|
|
21292
|
+
if (!t2) return this.$L;
|
|
21293
|
+
var n2 = this.clone(), r3 = w2(t2, e2, true);
|
|
21294
|
+
return r3 && (n2.$L = r3), n2;
|
|
21295
|
+
}, m2.clone = function() {
|
|
21296
|
+
return b.w(this.$d, this);
|
|
21297
|
+
}, m2.toDate = function() {
|
|
21298
|
+
return new Date(this.valueOf());
|
|
21299
|
+
}, m2.toJSON = function() {
|
|
21300
|
+
return this.isValid() ? this.toISOString() : null;
|
|
21301
|
+
}, m2.toISOString = function() {
|
|
21302
|
+
return this.$d.toISOString();
|
|
21303
|
+
}, m2.toString = function() {
|
|
21304
|
+
return this.$d.toUTCString();
|
|
21305
|
+
}, M2;
|
|
21306
|
+
}(), k = _.prototype;
|
|
21307
|
+
return O.prototype = k, [["$ms", r2], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t2) {
|
|
21308
|
+
k[t2[1]] = function(e2) {
|
|
21309
|
+
return this.$g(e2, t2[0], t2[1]);
|
|
21310
|
+
};
|
|
21311
|
+
}), O.extend = function(t2, e2) {
|
|
21312
|
+
return t2.$i || (t2(e2, _, O), t2.$i = true), O;
|
|
21313
|
+
}, O.locale = w2, O.isDayjs = S, O.unix = function(t2) {
|
|
21314
|
+
return O(1e3 * t2);
|
|
21315
|
+
}, O.en = D[g], O.Ls = D, O.p = {}, O;
|
|
21316
|
+
});
|
|
21317
|
+
})(dayjs_min);
|
|
21318
|
+
var dayjs_minExports = dayjs_min.exports;
|
|
21325
21319
|
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
|
|
21326
21320
|
var es$2 = { exports: {} };
|
|
21327
21321
|
(function(module, exports) {
|
|
21328
21322
|
!function(e, o) {
|
|
21329
|
-
module.exports = o(
|
|
21323
|
+
module.exports = o(dayjs_minExports);
|
|
21330
21324
|
}(commonjsGlobal, function(e) {
|
|
21331
21325
|
function o(e2) {
|
|
21332
21326
|
return e2 && "object" == typeof e2 && "default" in e2 ? e2 : { default: e2 };
|
|
@@ -68303,6 +68297,7 @@ const BreadcrumbItemComponent = ({ item: item2, index: index2, items }) => {
|
|
|
68303
68297
|
return item2?.onClick || item2?.href ? /* @__PURE__ */ jsx$1(
|
|
68304
68298
|
Link,
|
|
68305
68299
|
{
|
|
68300
|
+
size: "sm",
|
|
68306
68301
|
href: `${item2?.href}`,
|
|
68307
68302
|
onClick: item2?.onClick,
|
|
68308
68303
|
children: text2
|