@producteca/producteca-ui-kit 1.74.0 → 1.75.0
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/locales/es.d.ts +4 -0
- package/dist/producteca-ui-kit.es.js +282 -285
- package/dist/producteca-ui-kit.umd.js +31 -31
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/locales/es.d.ts
CHANGED
|
@@ -474,6 +474,10 @@ declare const _default: {
|
|
|
474
474
|
textColors: string;
|
|
475
475
|
borderColors: string;
|
|
476
476
|
borderRadius: string;
|
|
477
|
+
shadows: string;
|
|
478
|
+
shadowSm: string;
|
|
479
|
+
shadowMd: string;
|
|
480
|
+
shadowLg: string;
|
|
477
481
|
allVariables: string;
|
|
478
482
|
allVariablesDescription: string;
|
|
479
483
|
howToUse: string;
|
|
@@ -20412,6 +20412,10 @@ const es$3 = {
|
|
|
20412
20412
|
textColors: "Colores de texto",
|
|
20413
20413
|
borderColors: "Colores de borde",
|
|
20414
20414
|
borderRadius: "Radio de borde",
|
|
20415
|
+
shadows: "Sombras",
|
|
20416
|
+
shadowSm: "Sombra chica — usada en cards",
|
|
20417
|
+
shadowMd: "Sombra media — usada en dropdowns, date pickers y menús de acción",
|
|
20418
|
+
shadowLg: "Sombra grande — usada en modales",
|
|
20415
20419
|
allVariables: "Todas las variables CSS",
|
|
20416
20420
|
allVariablesDescription: "Referencia completa de todas las variables CSS disponibles en el UI Kit.",
|
|
20417
20421
|
howToUse: "Cómo usar las variables",
|
|
@@ -21040,293 +21044,287 @@ const VisibilityIcon = ({ showPassword, setShowPassword }) => {
|
|
|
21040
21044
|
return /* @__PURE__ */ jsx$1("div", { "data-testid": "visibility-toggle", onClick: () => setShowPassword(!showPassword), children: showPassword ? /* @__PURE__ */ jsx$1(Visibility, {}) : /* @__PURE__ */ jsx$1(VisibilityOff, {}) });
|
|
21041
21045
|
};
|
|
21042
21046
|
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
|
-
}
|
|
21047
|
+
(function(module, exports) {
|
|
21048
|
+
!function(t, e) {
|
|
21049
|
+
module.exports = e();
|
|
21050
|
+
}(commonjsGlobal, function() {
|
|
21051
|
+
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) {
|
|
21052
|
+
var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
|
|
21053
|
+
return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
|
|
21054
|
+
} }, m = function(t2, e2, n2) {
|
|
21055
|
+
var r3 = String(t2);
|
|
21056
|
+
return !r3 || r3.length >= e2 ? t2 : "" + Array(e2 + 1 - r3.length).join(n2) + t2;
|
|
21057
|
+
}, v = { s: m, z: function(t2) {
|
|
21058
|
+
var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r3 = Math.floor(n2 / 60), i2 = n2 % 60;
|
|
21059
|
+
return (e2 <= 0 ? "+" : "-") + m(r3, 2, "0") + ":" + m(i2, 2, "0");
|
|
21060
|
+
}, m: function t2(e2, n2) {
|
|
21061
|
+
if (e2.date() < n2.date()) return -t2(n2, e2);
|
|
21062
|
+
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);
|
|
21063
|
+
return +(-(r3 + (n2 - i2) / (s2 ? i2 - u2 : u2 - i2)) || 0);
|
|
21064
|
+
}, a: function(t2) {
|
|
21065
|
+
return t2 < 0 ? Math.ceil(t2) || 0 : Math.floor(t2);
|
|
21066
|
+
}, p: function(t2) {
|
|
21067
|
+
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$/, "");
|
|
21068
|
+
}, u: function(t2) {
|
|
21069
|
+
return void 0 === t2;
|
|
21070
|
+
} }, g = "en", D = {};
|
|
21071
|
+
D[g] = M;
|
|
21072
|
+
var p = "$isDayjsObject", S = function(t2) {
|
|
21073
|
+
return t2 instanceof _ || !(!t2 || !t2[p]);
|
|
21074
|
+
}, w2 = function t2(e2, n2, r3) {
|
|
21075
|
+
var i2;
|
|
21076
|
+
if (!e2) return g;
|
|
21077
|
+
if ("string" == typeof e2) {
|
|
21078
|
+
var s2 = e2.toLowerCase();
|
|
21079
|
+
D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
|
|
21080
|
+
var u2 = e2.split("-");
|
|
21081
|
+
if (!i2 && u2.length > 1) return t2(u2[0]);
|
|
21082
|
+
} else {
|
|
21083
|
+
var a2 = e2.name;
|
|
21084
|
+
D[a2] = e2, i2 = a2;
|
|
21085
|
+
}
|
|
21086
|
+
return !r3 && i2 && (g = i2), i2 || !r3 && g;
|
|
21087
|
+
}, O = function(t2, e2) {
|
|
21088
|
+
if (S(t2)) return t2.clone();
|
|
21089
|
+
var n2 = "object" == typeof e2 ? e2 : {};
|
|
21090
|
+
return n2.date = t2, n2.args = arguments, new _(n2);
|
|
21091
|
+
}, b = v;
|
|
21092
|
+
b.l = w2, b.i = S, b.w = function(t2, e2) {
|
|
21093
|
+
return O(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
|
|
21094
|
+
};
|
|
21095
|
+
var _ = function() {
|
|
21096
|
+
function M2(t2) {
|
|
21097
|
+
this.$L = w2(t2.locale, null, true), this.parse(t2), this.$x = this.$x || t2.x || {}, this[p] = true;
|
|
21098
|
+
}
|
|
21099
|
+
var m2 = M2.prototype;
|
|
21100
|
+
return m2.parse = function(t2) {
|
|
21101
|
+
this.$d = function(t3) {
|
|
21102
|
+
var e2 = t3.date, n2 = t3.utc;
|
|
21103
|
+
if (null === e2) return /* @__PURE__ */ new Date(NaN);
|
|
21104
|
+
if (b.u(e2)) return /* @__PURE__ */ new Date();
|
|
21105
|
+
if (e2 instanceof Date) return new Date(e2);
|
|
21106
|
+
if ("string" == typeof e2 && !/Z$/i.test(e2)) {
|
|
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);
|
|
21112
21111
|
}
|
|
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
21112
|
}
|
|
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
|
-
|
|
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);
|
|
21314
21181
|
};
|
|
21315
|
-
|
|
21316
|
-
|
|
21317
|
-
|
|
21318
|
-
|
|
21319
|
-
|
|
21320
|
-
|
|
21321
|
-
|
|
21322
|
-
|
|
21323
|
-
}
|
|
21324
|
-
var
|
|
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
|
+
}
|
|
21290
|
+
return l2 ? $2 : b.a($2);
|
|
21291
|
+
}, m2.daysInMonth = function() {
|
|
21292
|
+
return this.endOf(c).$D;
|
|
21293
|
+
}, m2.$locale = function() {
|
|
21294
|
+
return D[this.$L];
|
|
21295
|
+
}, m2.locale = function(t2, e2) {
|
|
21296
|
+
if (!t2) return this.$L;
|
|
21297
|
+
var n2 = this.clone(), r3 = w2(t2, e2, true);
|
|
21298
|
+
return r3 && (n2.$L = r3), n2;
|
|
21299
|
+
}, m2.clone = function() {
|
|
21300
|
+
return b.w(this.$d, this);
|
|
21301
|
+
}, m2.toDate = function() {
|
|
21302
|
+
return new Date(this.valueOf());
|
|
21303
|
+
}, m2.toJSON = function() {
|
|
21304
|
+
return this.isValid() ? this.toISOString() : null;
|
|
21305
|
+
}, m2.toISOString = function() {
|
|
21306
|
+
return this.$d.toISOString();
|
|
21307
|
+
}, m2.toString = function() {
|
|
21308
|
+
return this.$d.toUTCString();
|
|
21309
|
+
}, M2;
|
|
21310
|
+
}(), k = _.prototype;
|
|
21311
|
+
return O.prototype = k, [["$ms", r2], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t2) {
|
|
21312
|
+
k[t2[1]] = function(e2) {
|
|
21313
|
+
return this.$g(e2, t2[0], t2[1]);
|
|
21314
|
+
};
|
|
21315
|
+
}), O.extend = function(t2, e2) {
|
|
21316
|
+
return t2.$i || (t2(e2, _, O), t2.$i = true), O;
|
|
21317
|
+
}, O.locale = w2, O.isDayjs = S, O.unix = function(t2) {
|
|
21318
|
+
return O(1e3 * t2);
|
|
21319
|
+
}, O.en = D[g], O.Ls = D, O.p = {}, O;
|
|
21320
|
+
});
|
|
21321
|
+
})(dayjs_min);
|
|
21322
|
+
var dayjs_minExports = dayjs_min.exports;
|
|
21325
21323
|
const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
|
|
21326
21324
|
var es$2 = { exports: {} };
|
|
21327
21325
|
(function(module, exports) {
|
|
21328
21326
|
!function(e, o) {
|
|
21329
|
-
module.exports = o(
|
|
21327
|
+
module.exports = o(dayjs_minExports);
|
|
21330
21328
|
}(commonjsGlobal, function(e) {
|
|
21331
21329
|
function o(e2) {
|
|
21332
21330
|
return e2 && "object" == typeof e2 && "default" in e2 ? e2 : { default: e2 };
|
|
@@ -57685,7 +57683,7 @@ const datePickerYearStyles = {
|
|
|
57685
57683
|
};
|
|
57686
57684
|
const datePickerPopperStyles = {
|
|
57687
57685
|
"& .MuiPickerPopper-paper": {
|
|
57688
|
-
boxShadow: "var(--
|
|
57686
|
+
boxShadow: "var(--shadow-md)"
|
|
57689
57687
|
}
|
|
57690
57688
|
};
|
|
57691
57689
|
const lg$8 = "datePicker-module_lg_lvvw6";
|
|
@@ -68303,6 +68301,7 @@ const BreadcrumbItemComponent = ({ item: item2, index: index2, items }) => {
|
|
|
68303
68301
|
return item2?.onClick || item2?.href ? /* @__PURE__ */ jsx$1(
|
|
68304
68302
|
Link,
|
|
68305
68303
|
{
|
|
68304
|
+
size: "sm",
|
|
68306
68305
|
href: `${item2?.href}`,
|
|
68307
68306
|
onClick: item2?.onClick,
|
|
68308
68307
|
children: text2
|
|
@@ -68326,8 +68325,7 @@ const MoreVertIcon = createSvgIcon(/* @__PURE__ */ jsx$1("path", {
|
|
|
68326
68325
|
}), "MoreVert");
|
|
68327
68326
|
const menuPaperSx = (size2, maxItemsVisible) => ({
|
|
68328
68327
|
"& .MuiPopover-paper": {
|
|
68329
|
-
boxShadow: "var(--
|
|
68330
|
-
border: "1px solid var(--border-default)",
|
|
68328
|
+
boxShadow: "var(--shadow-md)",
|
|
68331
68329
|
maxHeight: `${maxHeight(size2, maxItemsVisible)}px`
|
|
68332
68330
|
}
|
|
68333
68331
|
});
|
|
@@ -72978,8 +72976,7 @@ const StyledMenu = styled(Menu$1, {
|
|
|
72978
72976
|
"& .MuiPaper-root": {
|
|
72979
72977
|
borderRadius: 4,
|
|
72980
72978
|
marginTop: 1,
|
|
72981
|
-
boxShadow: "var(--
|
|
72982
|
-
border: "1px solid var(--border-default)",
|
|
72979
|
+
boxShadow: "var(--shadow-md)",
|
|
72983
72980
|
"& .MuiMenu-list": {
|
|
72984
72981
|
padding: "4px 0"
|
|
72985
72982
|
},
|