@cgi-learning-hub/ui 0.0.1-dev.1709713063 → 0.0.1-dev.1709719281
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/{Box-DbTiG4H5.js → Box-CXP-5h9P.js} +3 -3
- package/dist/{ButtonBase-Cj0VAGSo.js → ButtonBase-DpD6huF3.js} +3 -3
- package/dist/{CircularProgress-BqQQW0l9.js → CircularProgress-C07SUcYf.js} +3 -3
- package/dist/{DefaultButton-DdQUbrXq.js → DefaultButton-_mrCx6TQ.js} +6 -6
- package/dist/{IconButton-BO0e0bGH.js → IconButton-BUJX1Kz7.js} +4 -4
- package/dist/{InputBase-D-C0U1Q3.js → InputBase-U35goXkW.js} +3 -3
- package/dist/LocalizationProvider-CEOwVRxT.js +903 -0
- package/dist/LocalizationProvider-DqwEOZOd.cjs +5 -0
- package/dist/{SearchInput-Ef9mtSE4.js → SearchInput-lqqR8CpF.js} +5 -5
- package/dist/{Tabs-DlViPyxj.js → Tabs-D8c80LIh.js} +7 -7
- package/dist/{TextInput-qJONVcHy.cjs → TextInput-Bnnhldff.cjs} +1 -1
- package/dist/{TextInput-BzLHXWGA.js → TextInput-Cg3iPUXm.js} +158 -158
- package/dist/{TimePicker-R9IvHk5c.js → TimePicker-C2DgLcWo.js} +15 -15
- package/dist/{TimePicker-BhAd6Y8r.cjs → TimePicker-w1u-gt1V.cjs} +1 -1
- package/dist/{Typography-gyI1N9sP.js → Typography-CMZpK-6k.js} +2 -2
- package/dist/components/Dropzone/Dropzone.es.js +5 -5
- package/dist/components/LocalizationProvider/LocalizationProvider.cjs.js +1 -1
- package/dist/components/LocalizationProvider/LocalizationProvider.es.js +2 -3
- package/dist/components/LocalizationProvider/index.cjs.js +1 -1
- package/dist/components/LocalizationProvider/index.es.js +1 -1
- package/dist/components/buttons/DefaultButton/DefaultButton.es.js +3 -3
- package/dist/components/buttons/DefaultButton/DefaultButtonIcon.es.js +2 -2
- package/dist/components/buttons/DefaultButton/index.es.js +1 -1
- package/dist/components/buttons/IconButton.stories.es.js +2 -2
- package/dist/components/buttons/PrimaryButton/PrimaryButton.es.js +2 -2
- package/dist/components/buttons/PrimaryButton/PrimaryButton.stories.es.js +1 -1
- package/dist/components/buttons/SecondaryButton/SecondaryButton.es.js +2 -2
- package/dist/components/buttons/SecondaryButton/SecondaryButton.stories.es.js +1 -1
- package/dist/components/buttons/index.es.js +1 -1
- package/dist/components/feedback/Alert/Alert.cjs.js +1 -0
- package/dist/components/feedback/Alert/Alert.d.ts +7 -0
- package/dist/components/feedback/Alert/Alert.es.js +32 -0
- package/dist/components/feedback/Alert/Alert.stories.cjs.js +1 -0
- package/dist/components/feedback/Alert/Alert.stories.es.js +17 -0
- package/dist/components/feedback/Alert/index.cjs.js +1 -0
- package/dist/components/feedback/Alert/index.d.ts +2 -0
- package/dist/components/feedback/Alert/index.es.js +4 -0
- package/dist/components/feedback/index.cjs.js +1 -0
- package/dist/components/feedback/index.d.ts +1 -0
- package/dist/components/feedback/index.es.js +4 -0
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.es.js +22 -22
- package/dist/components/inputs/SearchInput/SearchInput.es.js +3 -3
- package/dist/components/inputs/SearchInput/SearchInput.stories.es.js +1 -1
- package/dist/components/inputs/SearchInput/index.es.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.cjs.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.d.ts +0 -1
- package/dist/components/inputs/TextInput/TextInput.es.js +4 -3
- package/dist/components/inputs/TextInput/TextInput.stories.cjs.js +1 -1
- package/dist/components/inputs/TextInput/TextInput.stories.es.js +1 -1
- package/dist/components/inputs/TextInput/index.cjs.js +1 -1
- package/dist/components/inputs/TextInput/index.es.js +1 -1
- package/dist/components/inputs/index.cjs.js +1 -1
- package/dist/components/inputs/index.d.ts +0 -1
- package/dist/components/inputs/index.es.js +4 -6
- package/dist/components/lists/FileList/FileList.es.js +1 -1
- package/dist/components/lists/FileList/FileListItem.es.js +5 -5
- package/dist/components/lists/TabList.stories.es.js +3 -3
- package/dist/{createSvgIcon-D51qQ1iy.js → createSvgIcon-C2SxpGh8.js} +2 -2
- package/dist/{createSvgIcon-RcVfBE0a.js → createSvgIcon-CQqNddEV.js} +6 -6
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +20 -20
- package/dist/{refType-CRZJc9ll.js → refType-ONErEPrN.js} +1 -1
- package/dist/{styled-Cu97anhh.js → styled-CennO0rX.js} +1 -1
- package/dist/{useSlotProps-BE7y-efU.js → useSlotProps-BojAgRB1.js} +2 -2
- package/dist/{useTheme-zz1qDqSf.js → useTheme-Dnkg8lL1.js} +1 -1
- package/dist/{useThemeProps-HPaoKsTZ.js → useThemeProps-HgPikzOW.js} +5 -5
- package/package.json +1 -1
- package/dist/LocalizationProvider-BqhYrFIl.js +0 -573
- package/dist/LocalizationProvider-CAosaaEW.cjs +0 -5
- package/dist/components/inputs/PasswordInput/PasswordInput.cjs.js +0 -1
- package/dist/components/inputs/PasswordInput/PasswordInput.d.ts +0 -5
- package/dist/components/inputs/PasswordInput/PasswordInput.es.js +0 -43
- package/dist/components/inputs/PasswordInput/PasswordInput.stories.cjs.js +0 -1
- package/dist/components/inputs/PasswordInput/PasswordInput.stories.es.js +0 -16
- package/dist/components/inputs/PasswordInput/index.cjs.js +0 -1
- package/dist/components/inputs/PasswordInput/index.d.ts +0 -2
- package/dist/components/inputs/PasswordInput/index.es.js +0 -4
- package/dist/fr-BmGEYD_b.js +0 -335
- package/dist/fr-D4QyQkl7.cjs +0 -1
- /package/dist/components/{inputs/PasswordInput/PasswordInput.stories.d.ts → feedback/Alert/Alert.stories.d.ts} +0 -0
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { useState as l } from "react";
|
|
3
|
-
import { T as c } from "../../../TextInput-BzLHXWGA.js";
|
|
4
|
-
import "../../Dropzone/Dropzone.es.js";
|
|
5
|
-
import "../../../fr-BmGEYD_b.js";
|
|
6
|
-
import "../../../DefaultButton-DdQUbrXq.js";
|
|
7
|
-
import { I as d } from "../../../SearchInput-Ef9mtSE4.js";
|
|
8
|
-
import "../../lists/FileList/FileListItem.es.js";
|
|
9
|
-
import { I as p } from "../../../IconButton-BO0e0bGH.js";
|
|
10
|
-
import { c as r } from "../../../createSvgIcon-D51qQ1iy.js";
|
|
11
|
-
const m = r(/* @__PURE__ */ o("path", {
|
|
12
|
-
d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"
|
|
13
|
-
}), "Visibility"), f = r(/* @__PURE__ */ o("path", {
|
|
14
|
-
d: "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"
|
|
15
|
-
}), "VisibilityOff"), v = (s) => {
|
|
16
|
-
const [i, e] = l(!1), n = () => e((t) => !t), a = (t) => {
|
|
17
|
-
t.preventDefault();
|
|
18
|
-
};
|
|
19
|
-
return /* @__PURE__ */ o(
|
|
20
|
-
c,
|
|
21
|
-
{
|
|
22
|
-
...s,
|
|
23
|
-
variant: "outlined",
|
|
24
|
-
label: s.label,
|
|
25
|
-
type: i ? "text" : "password",
|
|
26
|
-
InputProps: {
|
|
27
|
-
endAdornment: /* @__PURE__ */ o(d, { position: "end", children: /* @__PURE__ */ o(
|
|
28
|
-
p,
|
|
29
|
-
{
|
|
30
|
-
"aria-label": "toggle password visibility",
|
|
31
|
-
onClick: n,
|
|
32
|
-
onMouseDown: a,
|
|
33
|
-
edge: "end",
|
|
34
|
-
children: i ? /* @__PURE__ */ o(f, {}) : /* @__PURE__ */ o(m, {})
|
|
35
|
-
}
|
|
36
|
-
) })
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
);
|
|
40
|
-
};
|
|
41
|
-
export {
|
|
42
|
-
v as default
|
|
43
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("react/jsx-runtime"),e=require("./PasswordInput.cjs.js"),n={title:"Components/Inputs/PasswordInput",component:e,argTypes:{}},r=s=>o.jsx(e,{...s}),t=r.bind({});t.args={label:"Password"};exports.Default=t;exports.default=n;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import s from "./PasswordInput.es.js";
|
|
3
|
-
const p = {
|
|
4
|
-
title: "Components/Inputs/PasswordInput",
|
|
5
|
-
component: s,
|
|
6
|
-
argTypes: {
|
|
7
|
-
// Définissez ici vos paramètres d'histoires spécifiques aux arguments (args).
|
|
8
|
-
}
|
|
9
|
-
}, e = (t) => /* @__PURE__ */ o(s, { ...t }), n = e.bind({});
|
|
10
|
-
n.args = {
|
|
11
|
-
label: "Password"
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
n as Default,
|
|
15
|
-
p as default
|
|
16
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PasswordInput.cjs.js");exports.PasswordInput=t;
|
package/dist/fr-BmGEYD_b.js
DELETED
|
@@ -1,335 +0,0 @@
|
|
|
1
|
-
import { j as I } from "./useThemeProps-HPaoKsTZ.js";
|
|
2
|
-
var z = { exports: {} }, G;
|
|
3
|
-
function P() {
|
|
4
|
-
return G || (G = 1, function(g, N) {
|
|
5
|
-
(function($, f) {
|
|
6
|
-
g.exports = f();
|
|
7
|
-
})(I, function() {
|
|
8
|
-
var $ = 1e3, f = 6e4, v = 36e5, p = "millisecond", c = "second", j = "minute", O = "hour", D = "day", A = "week", y = "month", Z = "quarter", S = "year", k = "date", V = "Invalid Date", Q = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, R = /\[([^\]]+)]|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, K = { 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(s) {
|
|
9
|
-
var n = ["th", "st", "nd", "rd"], t = s % 100;
|
|
10
|
-
return "[" + s + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
|
|
11
|
-
} }, q = function(s, n, t) {
|
|
12
|
-
var r = String(s);
|
|
13
|
-
return !r || r.length >= n ? s : "" + Array(n + 1 - r.length).join(t) + s;
|
|
14
|
-
}, X = { s: q, z: function(s) {
|
|
15
|
-
var n = -s.utcOffset(), t = Math.abs(n), r = Math.floor(t / 60), e = t % 60;
|
|
16
|
-
return (n <= 0 ? "+" : "-") + q(r, 2, "0") + ":" + q(e, 2, "0");
|
|
17
|
-
}, m: function s(n, t) {
|
|
18
|
-
if (n.date() < t.date())
|
|
19
|
-
return -s(t, n);
|
|
20
|
-
var r = 12 * (t.year() - n.year()) + (t.month() - n.month()), e = n.clone().add(r, y), i = t - e < 0, u = n.clone().add(r + (i ? -1 : 1), y);
|
|
21
|
-
return +(-(r + (t - e) / (i ? e - u : u - e)) || 0);
|
|
22
|
-
}, a: function(s) {
|
|
23
|
-
return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
|
|
24
|
-
}, p: function(s) {
|
|
25
|
-
return { M: y, y: S, w: A, d: D, D: k, h: O, m: j, s: c, ms: p, Q: Z }[s] || String(s || "").toLowerCase().replace(/s$/, "");
|
|
26
|
-
}, u: function(s) {
|
|
27
|
-
return s === void 0;
|
|
28
|
-
} }, x = "en", b = {};
|
|
29
|
-
b[x] = K;
|
|
30
|
-
var B = "$isDayjsObject", U = function(s) {
|
|
31
|
-
return s instanceof J || !(!s || !s[B]);
|
|
32
|
-
}, C = function s(n, t, r) {
|
|
33
|
-
var e;
|
|
34
|
-
if (!n)
|
|
35
|
-
return x;
|
|
36
|
-
if (typeof n == "string") {
|
|
37
|
-
var i = n.toLowerCase();
|
|
38
|
-
b[i] && (e = i), t && (b[i] = t, e = i);
|
|
39
|
-
var u = n.split("-");
|
|
40
|
-
if (!e && u.length > 1)
|
|
41
|
-
return s(u[0]);
|
|
42
|
-
} else {
|
|
43
|
-
var o = n.name;
|
|
44
|
-
b[o] = n, e = o;
|
|
45
|
-
}
|
|
46
|
-
return !r && e && (x = e), e || !r && x;
|
|
47
|
-
}, h = function(s, n) {
|
|
48
|
-
if (U(s))
|
|
49
|
-
return s.clone();
|
|
50
|
-
var t = typeof n == "object" ? n : {};
|
|
51
|
-
return t.date = s, t.args = arguments, new J(t);
|
|
52
|
-
}, a = X;
|
|
53
|
-
a.l = C, a.i = U, a.w = function(s, n) {
|
|
54
|
-
return h(s, { locale: n.$L, utc: n.$u, x: n.$x, $offset: n.$offset });
|
|
55
|
-
};
|
|
56
|
-
var J = function() {
|
|
57
|
-
function s(t) {
|
|
58
|
-
this.$L = C(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[B] = !0;
|
|
59
|
-
}
|
|
60
|
-
var n = s.prototype;
|
|
61
|
-
return n.parse = function(t) {
|
|
62
|
-
this.$d = function(r) {
|
|
63
|
-
var e = r.date, i = r.utc;
|
|
64
|
-
if (e === null)
|
|
65
|
-
return /* @__PURE__ */ new Date(NaN);
|
|
66
|
-
if (a.u(e))
|
|
67
|
-
return /* @__PURE__ */ new Date();
|
|
68
|
-
if (e instanceof Date)
|
|
69
|
-
return new Date(e);
|
|
70
|
-
if (typeof e == "string" && !/Z$/i.test(e)) {
|
|
71
|
-
var u = e.match(Q);
|
|
72
|
-
if (u) {
|
|
73
|
-
var o = u[2] - 1 || 0, d = (u[7] || "0").substring(0, 3);
|
|
74
|
-
return i ? new Date(Date.UTC(u[1], o, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, d)) : new Date(u[1], o, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, d);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
return new Date(e);
|
|
78
|
-
}(t), this.init();
|
|
79
|
-
}, n.init = function() {
|
|
80
|
-
var t = this.$d;
|
|
81
|
-
this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
|
|
82
|
-
}, n.$utils = function() {
|
|
83
|
-
return a;
|
|
84
|
-
}, n.isValid = function() {
|
|
85
|
-
return this.$d.toString() !== V;
|
|
86
|
-
}, n.isSame = function(t, r) {
|
|
87
|
-
var e = h(t);
|
|
88
|
-
return this.startOf(r) <= e && e <= this.endOf(r);
|
|
89
|
-
}, n.isAfter = function(t, r) {
|
|
90
|
-
return h(t) < this.startOf(r);
|
|
91
|
-
}, n.isBefore = function(t, r) {
|
|
92
|
-
return this.endOf(r) < h(t);
|
|
93
|
-
}, n.$g = function(t, r, e) {
|
|
94
|
-
return a.u(t) ? this[r] : this.set(e, t);
|
|
95
|
-
}, n.unix = function() {
|
|
96
|
-
return Math.floor(this.valueOf() / 1e3);
|
|
97
|
-
}, n.valueOf = function() {
|
|
98
|
-
return this.$d.getTime();
|
|
99
|
-
}, n.startOf = function(t, r) {
|
|
100
|
-
var e = this, i = !!a.u(r) || r, u = a.p(t), o = function(L, m) {
|
|
101
|
-
var Y = a.w(e.$u ? Date.UTC(e.$y, m, L) : new Date(e.$y, m, L), e);
|
|
102
|
-
return i ? Y : Y.endOf(D);
|
|
103
|
-
}, d = function(L, m) {
|
|
104
|
-
return a.w(e.toDate()[L].apply(e.toDate("s"), (i ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(m)), e);
|
|
105
|
-
}, _ = this.$W, l = this.$M, M = this.$D, H = "set" + (this.$u ? "UTC" : "");
|
|
106
|
-
switch (u) {
|
|
107
|
-
case S:
|
|
108
|
-
return i ? o(1, 0) : o(31, 11);
|
|
109
|
-
case y:
|
|
110
|
-
return i ? o(1, l) : o(0, l + 1);
|
|
111
|
-
case A:
|
|
112
|
-
var w = this.$locale().weekStart || 0, T = (_ < w ? _ + 7 : _) - w;
|
|
113
|
-
return o(i ? M - T : M + (6 - T), l);
|
|
114
|
-
case D:
|
|
115
|
-
case k:
|
|
116
|
-
return d(H + "Hours", 0);
|
|
117
|
-
case O:
|
|
118
|
-
return d(H + "Minutes", 1);
|
|
119
|
-
case j:
|
|
120
|
-
return d(H + "Seconds", 2);
|
|
121
|
-
case c:
|
|
122
|
-
return d(H + "Milliseconds", 3);
|
|
123
|
-
default:
|
|
124
|
-
return this.clone();
|
|
125
|
-
}
|
|
126
|
-
}, n.endOf = function(t) {
|
|
127
|
-
return this.startOf(t, !1);
|
|
128
|
-
}, n.$set = function(t, r) {
|
|
129
|
-
var e, i = a.p(t), u = "set" + (this.$u ? "UTC" : ""), o = (e = {}, e[D] = u + "Date", e[k] = u + "Date", e[y] = u + "Month", e[S] = u + "FullYear", e[O] = u + "Hours", e[j] = u + "Minutes", e[c] = u + "Seconds", e[p] = u + "Milliseconds", e)[i], d = i === D ? this.$D + (r - this.$W) : r;
|
|
130
|
-
if (i === y || i === S) {
|
|
131
|
-
var _ = this.clone().set(k, 1);
|
|
132
|
-
_.$d[o](d), _.init(), this.$d = _.set(k, Math.min(this.$D, _.daysInMonth())).$d;
|
|
133
|
-
} else
|
|
134
|
-
o && this.$d[o](d);
|
|
135
|
-
return this.init(), this;
|
|
136
|
-
}, n.set = function(t, r) {
|
|
137
|
-
return this.clone().$set(t, r);
|
|
138
|
-
}, n.get = function(t) {
|
|
139
|
-
return this[a.p(t)]();
|
|
140
|
-
}, n.add = function(t, r) {
|
|
141
|
-
var e, i = this;
|
|
142
|
-
t = Number(t);
|
|
143
|
-
var u = a.p(r), o = function(l) {
|
|
144
|
-
var M = h(i);
|
|
145
|
-
return a.w(M.date(M.date() + Math.round(l * t)), i);
|
|
146
|
-
};
|
|
147
|
-
if (u === y)
|
|
148
|
-
return this.set(y, this.$M + t);
|
|
149
|
-
if (u === S)
|
|
150
|
-
return this.set(S, this.$y + t);
|
|
151
|
-
if (u === D)
|
|
152
|
-
return o(1);
|
|
153
|
-
if (u === A)
|
|
154
|
-
return o(7);
|
|
155
|
-
var d = (e = {}, e[j] = f, e[O] = v, e[c] = $, e)[u] || 1, _ = this.$d.getTime() + t * d;
|
|
156
|
-
return a.w(_, this);
|
|
157
|
-
}, n.subtract = function(t, r) {
|
|
158
|
-
return this.add(-1 * t, r);
|
|
159
|
-
}, n.format = function(t) {
|
|
160
|
-
var r = this, e = this.$locale();
|
|
161
|
-
if (!this.isValid())
|
|
162
|
-
return e.invalidDate || V;
|
|
163
|
-
var i = t || "YYYY-MM-DDTHH:mm:ssZ", u = a.z(this), o = this.$H, d = this.$m, _ = this.$M, l = e.weekdays, M = e.months, H = e.meridiem, w = function(m, Y, W, F) {
|
|
164
|
-
return m && (m[Y] || m(r, i)) || W[Y].slice(0, F);
|
|
165
|
-
}, T = function(m) {
|
|
166
|
-
return a.s(o % 12 || 12, m, "0");
|
|
167
|
-
}, L = H || function(m, Y, W) {
|
|
168
|
-
var F = m < 12 ? "AM" : "PM";
|
|
169
|
-
return W ? F.toLowerCase() : F;
|
|
170
|
-
};
|
|
171
|
-
return i.replace(R, function(m, Y) {
|
|
172
|
-
return Y || function(W) {
|
|
173
|
-
switch (W) {
|
|
174
|
-
case "YY":
|
|
175
|
-
return String(r.$y).slice(-2);
|
|
176
|
-
case "YYYY":
|
|
177
|
-
return a.s(r.$y, 4, "0");
|
|
178
|
-
case "M":
|
|
179
|
-
return _ + 1;
|
|
180
|
-
case "MM":
|
|
181
|
-
return a.s(_ + 1, 2, "0");
|
|
182
|
-
case "MMM":
|
|
183
|
-
return w(e.monthsShort, _, M, 3);
|
|
184
|
-
case "MMMM":
|
|
185
|
-
return w(M, _);
|
|
186
|
-
case "D":
|
|
187
|
-
return r.$D;
|
|
188
|
-
case "DD":
|
|
189
|
-
return a.s(r.$D, 2, "0");
|
|
190
|
-
case "d":
|
|
191
|
-
return String(r.$W);
|
|
192
|
-
case "dd":
|
|
193
|
-
return w(e.weekdaysMin, r.$W, l, 2);
|
|
194
|
-
case "ddd":
|
|
195
|
-
return w(e.weekdaysShort, r.$W, l, 3);
|
|
196
|
-
case "dddd":
|
|
197
|
-
return l[r.$W];
|
|
198
|
-
case "H":
|
|
199
|
-
return String(o);
|
|
200
|
-
case "HH":
|
|
201
|
-
return a.s(o, 2, "0");
|
|
202
|
-
case "h":
|
|
203
|
-
return T(1);
|
|
204
|
-
case "hh":
|
|
205
|
-
return T(2);
|
|
206
|
-
case "a":
|
|
207
|
-
return L(o, d, !0);
|
|
208
|
-
case "A":
|
|
209
|
-
return L(o, d, !1);
|
|
210
|
-
case "m":
|
|
211
|
-
return String(d);
|
|
212
|
-
case "mm":
|
|
213
|
-
return a.s(d, 2, "0");
|
|
214
|
-
case "s":
|
|
215
|
-
return String(r.$s);
|
|
216
|
-
case "ss":
|
|
217
|
-
return a.s(r.$s, 2, "0");
|
|
218
|
-
case "SSS":
|
|
219
|
-
return a.s(r.$ms, 3, "0");
|
|
220
|
-
case "Z":
|
|
221
|
-
return u;
|
|
222
|
-
}
|
|
223
|
-
return null;
|
|
224
|
-
}(m) || u.replace(":", "");
|
|
225
|
-
});
|
|
226
|
-
}, n.utcOffset = function() {
|
|
227
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
228
|
-
}, n.diff = function(t, r, e) {
|
|
229
|
-
var i, u = this, o = a.p(r), d = h(t), _ = (d.utcOffset() - this.utcOffset()) * f, l = this - d, M = function() {
|
|
230
|
-
return a.m(u, d);
|
|
231
|
-
};
|
|
232
|
-
switch (o) {
|
|
233
|
-
case S:
|
|
234
|
-
i = M() / 12;
|
|
235
|
-
break;
|
|
236
|
-
case y:
|
|
237
|
-
i = M();
|
|
238
|
-
break;
|
|
239
|
-
case Z:
|
|
240
|
-
i = M() / 3;
|
|
241
|
-
break;
|
|
242
|
-
case A:
|
|
243
|
-
i = (l - _) / 6048e5;
|
|
244
|
-
break;
|
|
245
|
-
case D:
|
|
246
|
-
i = (l - _) / 864e5;
|
|
247
|
-
break;
|
|
248
|
-
case O:
|
|
249
|
-
i = l / v;
|
|
250
|
-
break;
|
|
251
|
-
case j:
|
|
252
|
-
i = l / f;
|
|
253
|
-
break;
|
|
254
|
-
case c:
|
|
255
|
-
i = l / $;
|
|
256
|
-
break;
|
|
257
|
-
default:
|
|
258
|
-
i = l;
|
|
259
|
-
}
|
|
260
|
-
return e ? i : a.a(i);
|
|
261
|
-
}, n.daysInMonth = function() {
|
|
262
|
-
return this.endOf(y).$D;
|
|
263
|
-
}, n.$locale = function() {
|
|
264
|
-
return b[this.$L];
|
|
265
|
-
}, n.locale = function(t, r) {
|
|
266
|
-
if (!t)
|
|
267
|
-
return this.$L;
|
|
268
|
-
var e = this.clone(), i = C(t, r, !0);
|
|
269
|
-
return i && (e.$L = i), e;
|
|
270
|
-
}, n.clone = function() {
|
|
271
|
-
return a.w(this.$d, this);
|
|
272
|
-
}, n.toDate = function() {
|
|
273
|
-
return new Date(this.valueOf());
|
|
274
|
-
}, n.toJSON = function() {
|
|
275
|
-
return this.isValid() ? this.toISOString() : null;
|
|
276
|
-
}, n.toISOString = function() {
|
|
277
|
-
return this.$d.toISOString();
|
|
278
|
-
}, n.toString = function() {
|
|
279
|
-
return this.$d.toUTCString();
|
|
280
|
-
}, s;
|
|
281
|
-
}(), E = J.prototype;
|
|
282
|
-
return h.prototype = E, [["$ms", p], ["$s", c], ["$m", j], ["$H", O], ["$W", D], ["$M", y], ["$y", S], ["$D", k]].forEach(function(s) {
|
|
283
|
-
E[s[1]] = function(n) {
|
|
284
|
-
return this.$g(n, s[0], s[1]);
|
|
285
|
-
};
|
|
286
|
-
}), h.extend = function(s, n) {
|
|
287
|
-
return s.$i || (s(n, J, h), s.$i = !0), h;
|
|
288
|
-
}, h.locale = C, h.isDayjs = U, h.unix = function(s) {
|
|
289
|
-
return h(1e3 * s);
|
|
290
|
-
}, h.en = b[x], h.Ls = b, h.p = {}, h;
|
|
291
|
-
});
|
|
292
|
-
}(z)), z.exports;
|
|
293
|
-
}
|
|
294
|
-
var tt = { exports: {} };
|
|
295
|
-
(function(g, N) {
|
|
296
|
-
(function($, f) {
|
|
297
|
-
g.exports = f();
|
|
298
|
-
})(I, function() {
|
|
299
|
-
return { 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($) {
|
|
300
|
-
var f = ["th", "st", "nd", "rd"], v = $ % 100;
|
|
301
|
-
return "[" + $ + (f[(v - 20) % 10] || f[v] || f[0]) + "]";
|
|
302
|
-
} };
|
|
303
|
-
});
|
|
304
|
-
})(tt);
|
|
305
|
-
var et = { exports: {} };
|
|
306
|
-
(function(g, N) {
|
|
307
|
-
(function($, f) {
|
|
308
|
-
g.exports = f(P());
|
|
309
|
-
})(I, function($) {
|
|
310
|
-
function f(c) {
|
|
311
|
-
return c && typeof c == "object" && "default" in c ? c : { default: c };
|
|
312
|
-
}
|
|
313
|
-
var v = f($), p = { name: "es", monthsShort: "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"), weekdays: "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"), weekdaysShort: "dom._lun._mar._mié._jue._vie._sáb.".split("_"), weekdaysMin: "do_lu_ma_mi_ju_vi_sá".split("_"), months: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"), weekStart: 1, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD/MM/YYYY", LL: "D [de] MMMM [de] YYYY", LLL: "D [de] MMMM [de] YYYY H:mm", LLLL: "dddd, D [de] MMMM [de] YYYY H:mm" }, relativeTime: { future: "en %s", past: "hace %s", s: "unos segundos", m: "un minuto", mm: "%d minutos", h: "una hora", hh: "%d horas", d: "un día", dd: "%d días", M: "un mes", MM: "%d meses", y: "un año", yy: "%d años" }, ordinal: function(c) {
|
|
314
|
-
return c + "º";
|
|
315
|
-
} };
|
|
316
|
-
return v.default.locale(p, null, !0), p;
|
|
317
|
-
});
|
|
318
|
-
})(et);
|
|
319
|
-
var nt = { exports: {} };
|
|
320
|
-
(function(g, N) {
|
|
321
|
-
(function($, f) {
|
|
322
|
-
g.exports = f(P());
|
|
323
|
-
})(I, function($) {
|
|
324
|
-
function f(c) {
|
|
325
|
-
return c && typeof c == "object" && "default" in c ? c : { default: c };
|
|
326
|
-
}
|
|
327
|
-
var v = f($), p = { name: "fr", weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"), monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"), weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, ordinal: function(c) {
|
|
328
|
-
return "" + c + (c === 1 ? "er" : "");
|
|
329
|
-
} };
|
|
330
|
-
return v.default.locale(p, null, !0), p;
|
|
331
|
-
});
|
|
332
|
-
})(nt);
|
|
333
|
-
export {
|
|
334
|
-
P as r
|
|
335
|
-
};
|
package/dist/fr-D4QyQkl7.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const F=require("./useThemeProps-BRWSvuZw.cjs");var z={exports:{}},E;function G(){return E||(E=1,function(Y,I){(function($,f){Y.exports=f()})(F.commonjsGlobal,function(){var $=1e3,f=6e4,v=36e5,p="millisecond",c="second",L="minute",O="hour",D="day",A="week",y="month",Z="quarter",S="year",k="date",V="Invalid Date",Q=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,R=/\[([^\]]+)]|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,K={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(s){var n=["th","st","nd","rd"],t=s%100;return"["+s+(n[(t-20)%10]||n[t]||n[0])+"]"}},N=function(s,n,t){var r=String(s);return!r||r.length>=n?s:""+Array(n+1-r.length).join(t)+s},X={s:N,z:function(s){var n=-s.utcOffset(),t=Math.abs(n),r=Math.floor(t/60),e=t%60;return(n<=0?"+":"-")+N(r,2,"0")+":"+N(e,2,"0")},m:function s(n,t){if(n.date()<t.date())return-s(t,n);var r=12*(t.year()-n.year())+(t.month()-n.month()),e=n.clone().add(r,y),i=t-e<0,u=n.clone().add(r+(i?-1:1),y);return+(-(r+(t-e)/(i?e-u:u-e))||0)},a:function(s){return s<0?Math.ceil(s)||0:Math.floor(s)},p:function(s){return{M:y,y:S,w:A,d:D,D:k,h:O,m:L,s:c,ms:p,Q:Z}[s]||String(s||"").toLowerCase().replace(/s$/,"")},u:function(s){return s===void 0}},x="en",g={};g[x]=K;var P="$isDayjsObject",U=function(s){return s instanceof q||!(!s||!s[P])},C=function s(n,t,r){var e;if(!n)return x;if(typeof n=="string"){var i=n.toLowerCase();g[i]&&(e=i),t&&(g[i]=t,e=i);var u=n.split("-");if(!e&&u.length>1)return s(u[0])}else{var o=n.name;g[o]=n,e=o}return!r&&e&&(x=e),e||!r&&x},h=function(s,n){if(U(s))return s.clone();var t=typeof n=="object"?n:{};return t.date=s,t.args=arguments,new q(t)},a=X;a.l=C,a.i=U,a.w=function(s,n){return h(s,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var q=function(){function s(t){this.$L=C(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[P]=!0}var n=s.prototype;return n.parse=function(t){this.$d=function(r){var e=r.date,i=r.utc;if(e===null)return new Date(NaN);if(a.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var u=e.match(Q);if(u){var o=u[2]-1||0,d=(u[7]||"0").substring(0,3);return i?new Date(Date.UTC(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,d)):new Date(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,d)}}return new Date(e)}(t),this.init()},n.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},n.$utils=function(){return a},n.isValid=function(){return this.$d.toString()!==V},n.isSame=function(t,r){var e=h(t);return this.startOf(r)<=e&&e<=this.endOf(r)},n.isAfter=function(t,r){return h(t)<this.startOf(r)},n.isBefore=function(t,r){return this.endOf(r)<h(t)},n.$g=function(t,r,e){return a.u(t)?this[r]:this.set(e,t)},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this.$d.getTime()},n.startOf=function(t,r){var e=this,i=!!a.u(r)||r,u=a.p(t),o=function(j,_){var b=a.w(e.$u?Date.UTC(e.$y,_,j):new Date(e.$y,_,j),e);return i?b:b.endOf(D)},d=function(j,_){return a.w(e.toDate()[j].apply(e.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(_)),e)},l=this.$W,m=this.$M,M=this.$D,H="set"+(this.$u?"UTC":"");switch(u){case S:return i?o(1,0):o(31,11);case y:return i?o(1,m):o(0,m+1);case A:var w=this.$locale().weekStart||0,T=(l<w?l+7:l)-w;return o(i?M-T:M+(6-T),m);case D:case k:return d(H+"Hours",0);case O:return d(H+"Minutes",1);case L:return d(H+"Seconds",2);case c:return d(H+"Milliseconds",3);default:return this.clone()}},n.endOf=function(t){return this.startOf(t,!1)},n.$set=function(t,r){var e,i=a.p(t),u="set"+(this.$u?"UTC":""),o=(e={},e[D]=u+"Date",e[k]=u+"Date",e[y]=u+"Month",e[S]=u+"FullYear",e[O]=u+"Hours",e[L]=u+"Minutes",e[c]=u+"Seconds",e[p]=u+"Milliseconds",e)[i],d=i===D?this.$D+(r-this.$W):r;if(i===y||i===S){var l=this.clone().set(k,1);l.$d[o](d),l.init(),this.$d=l.set(k,Math.min(this.$D,l.daysInMonth())).$d}else o&&this.$d[o](d);return this.init(),this},n.set=function(t,r){return this.clone().$set(t,r)},n.get=function(t){return this[a.p(t)]()},n.add=function(t,r){var e,i=this;t=Number(t);var u=a.p(r),o=function(m){var M=h(i);return a.w(M.date(M.date()+Math.round(m*t)),i)};if(u===y)return this.set(y,this.$M+t);if(u===S)return this.set(S,this.$y+t);if(u===D)return o(1);if(u===A)return o(7);var d=(e={},e[L]=f,e[O]=v,e[c]=$,e)[u]||1,l=this.$d.getTime()+t*d;return a.w(l,this)},n.subtract=function(t,r){return this.add(-1*t,r)},n.format=function(t){var r=this,e=this.$locale();if(!this.isValid())return e.invalidDate||V;var i=t||"YYYY-MM-DDTHH:mm:ssZ",u=a.z(this),o=this.$H,d=this.$m,l=this.$M,m=e.weekdays,M=e.months,H=e.meridiem,w=function(_,b,W,J){return _&&(_[b]||_(r,i))||W[b].slice(0,J)},T=function(_){return a.s(o%12||12,_,"0")},j=H||function(_,b,W){var J=_<12?"AM":"PM";return W?J.toLowerCase():J};return i.replace(R,function(_,b){return b||function(W){switch(W){case"YY":return String(r.$y).slice(-2);case"YYYY":return a.s(r.$y,4,"0");case"M":return l+1;case"MM":return a.s(l+1,2,"0");case"MMM":return w(e.monthsShort,l,M,3);case"MMMM":return w(M,l);case"D":return r.$D;case"DD":return a.s(r.$D,2,"0");case"d":return String(r.$W);case"dd":return w(e.weekdaysMin,r.$W,m,2);case"ddd":return w(e.weekdaysShort,r.$W,m,3);case"dddd":return m[r.$W];case"H":return String(o);case"HH":return a.s(o,2,"0");case"h":return T(1);case"hh":return T(2);case"a":return j(o,d,!0);case"A":return j(o,d,!1);case"m":return String(d);case"mm":return a.s(d,2,"0");case"s":return String(r.$s);case"ss":return a.s(r.$s,2,"0");case"SSS":return a.s(r.$ms,3,"0");case"Z":return u}return null}(_)||u.replace(":","")})},n.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},n.diff=function(t,r,e){var i,u=this,o=a.p(r),d=h(t),l=(d.utcOffset()-this.utcOffset())*f,m=this-d,M=function(){return a.m(u,d)};switch(o){case S:i=M()/12;break;case y:i=M();break;case Z:i=M()/3;break;case A:i=(m-l)/6048e5;break;case D:i=(m-l)/864e5;break;case O:i=m/v;break;case L:i=m/f;break;case c:i=m/$;break;default:i=m}return e?i:a.a(i)},n.daysInMonth=function(){return this.endOf(y).$D},n.$locale=function(){return g[this.$L]},n.locale=function(t,r){if(!t)return this.$L;var e=this.clone(),i=C(t,r,!0);return i&&(e.$L=i),e},n.clone=function(){return a.w(this.$d,this)},n.toDate=function(){return new Date(this.valueOf())},n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toISOString=function(){return this.$d.toISOString()},n.toString=function(){return this.$d.toUTCString()},s}(),B=q.prototype;return h.prototype=B,[["$ms",p],["$s",c],["$m",L],["$H",O],["$W",D],["$M",y],["$y",S],["$D",k]].forEach(function(s){B[s[1]]=function(n){return this.$g(n,s[0],s[1])}}),h.extend=function(s,n){return s.$i||(s(n,q,h),s.$i=!0),h},h.locale=C,h.isDayjs=U,h.unix=function(s){return h(1e3*s)},h.en=g[x],h.Ls=g,h.p={},h})}(z)),z.exports}var tt={exports:{}};(function(Y,I){(function($,f){Y.exports=f()})(F.commonjsGlobal,function(){return{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($){var f=["th","st","nd","rd"],v=$%100;return"["+$+(f[(v-20)%10]||f[v]||f[0])+"]"}}})})(tt);var et={exports:{}};(function(Y,I){(function($,f){Y.exports=f(G())})(F.commonjsGlobal,function($){function f(c){return c&&typeof c=="object"&&"default"in c?c:{default:c}}var v=f($),p={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(c){return c+"º"}};return v.default.locale(p,null,!0),p})})(et);var nt={exports:{}};(function(Y,I){(function($,f){Y.exports=f(G())})(F.commonjsGlobal,function($){function f(c){return c&&typeof c=="object"&&"default"in c?c:{default:c}}var v=f($),p={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(c){return""+c+(c===1?"er":"")}};return v.default.locale(p,null,!0),p})})(nt);exports.requireDayjs_min=G;
|
|
File without changes
|