fina-react-ds 1.0.37 → 1.0.39
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/components/calendar.js +11 -12
- package/dist/components/data-loader.js +1 -1
- package/dist/components/date-picker.js +28 -28
- package/dist/components/file-uploader.js +46 -47
- package/dist/components/form-file-uploader.d.ts +2 -1
- package/dist/components/form-file-uploader.js +18 -16
- package/dist/components/form-image-uploader.d.ts +2 -1
- package/dist/components/form-image-uploader.js +23 -14
- package/dist/components/form-input.d.ts +2 -1
- package/dist/components/form-input.js +22 -20
- package/dist/components/form-select.d.ts +2 -1
- package/dist/components/form-select.js +31 -29
- package/dist/components/form-textarea.d.ts +2 -1
- package/dist/components/form-textarea.js +22 -20
- package/dist/components/form.js +14 -14
- package/dist/components/html-input.d.ts +1 -0
- package/dist/components/image-uploader.js +53 -54
- package/dist/components/index.d.ts +45 -0
- package/dist/components/index.js +200 -0
- package/dist/components/select.js +39 -39
- package/dist/components/sidebar.js +49 -49
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +4 -0
- package/dist/lib/index.d.ts +6 -0
- package/dist/lib/index.js +27 -0
- package/package.json +49 -36
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -12
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -21
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -36
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -18
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatDistance.js +0 -72
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.js +0 -33
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatRelative.js +0 -13
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.js +0 -123
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.js +0 -112
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr.js +0 -21
- package/dist/themes/base.css +0 -3396
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
var u = Object.defineProperty;
|
|
2
|
-
var t = (r, o) => u(r, "name", { value: o, configurable: !0 });
|
|
3
|
-
const a = {
|
|
4
|
-
lessThanXSeconds: {
|
|
5
|
-
one: "moins d’une seconde",
|
|
6
|
-
other: "moins de {{count}} secondes"
|
|
7
|
-
},
|
|
8
|
-
xSeconds: {
|
|
9
|
-
one: "1 seconde",
|
|
10
|
-
other: "{{count}} secondes"
|
|
11
|
-
},
|
|
12
|
-
halfAMinute: "30 secondes",
|
|
13
|
-
lessThanXMinutes: {
|
|
14
|
-
one: "moins d’une minute",
|
|
15
|
-
other: "moins de {{count}} minutes"
|
|
16
|
-
},
|
|
17
|
-
xMinutes: {
|
|
18
|
-
one: "1 minute",
|
|
19
|
-
other: "{{count}} minutes"
|
|
20
|
-
},
|
|
21
|
-
aboutXHours: {
|
|
22
|
-
one: "environ 1 heure",
|
|
23
|
-
other: "environ {{count}} heures"
|
|
24
|
-
},
|
|
25
|
-
xHours: {
|
|
26
|
-
one: "1 heure",
|
|
27
|
-
other: "{{count}} heures"
|
|
28
|
-
},
|
|
29
|
-
xDays: {
|
|
30
|
-
one: "1 jour",
|
|
31
|
-
other: "{{count}} jours"
|
|
32
|
-
},
|
|
33
|
-
aboutXWeeks: {
|
|
34
|
-
one: "environ 1 semaine",
|
|
35
|
-
other: "environ {{count}} semaines"
|
|
36
|
-
},
|
|
37
|
-
xWeeks: {
|
|
38
|
-
one: "1 semaine",
|
|
39
|
-
other: "{{count}} semaines"
|
|
40
|
-
},
|
|
41
|
-
aboutXMonths: {
|
|
42
|
-
one: "environ 1 mois",
|
|
43
|
-
other: "environ {{count}} mois"
|
|
44
|
-
},
|
|
45
|
-
xMonths: {
|
|
46
|
-
one: "1 mois",
|
|
47
|
-
other: "{{count}} mois"
|
|
48
|
-
},
|
|
49
|
-
aboutXYears: {
|
|
50
|
-
one: "environ 1 an",
|
|
51
|
-
other: "environ {{count}} ans"
|
|
52
|
-
},
|
|
53
|
-
xYears: {
|
|
54
|
-
one: "1 an",
|
|
55
|
-
other: "{{count}} ans"
|
|
56
|
-
},
|
|
57
|
-
overXYears: {
|
|
58
|
-
one: "plus d’un an",
|
|
59
|
-
other: "plus de {{count}} ans"
|
|
60
|
-
},
|
|
61
|
-
almostXYears: {
|
|
62
|
-
one: "presqu’un an",
|
|
63
|
-
other: "presque {{count}} ans"
|
|
64
|
-
}
|
|
65
|
-
}, c = /* @__PURE__ */ t((r, o, n) => {
|
|
66
|
-
let e;
|
|
67
|
-
const s = a[r];
|
|
68
|
-
return typeof s == "string" ? e = s : o === 1 ? e = s.one : e = s.other.replace("{{count}}", String(o)), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "dans " + e : "il y a " + e : e;
|
|
69
|
-
}, "formatDistance");
|
|
70
|
-
export {
|
|
71
|
-
c as formatDistance
|
|
72
|
-
};
|
package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/formatLong.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { buildFormatLongFn as t } from "../../_lib/buildFormatLongFn.js";
|
|
2
|
-
const m = {
|
|
3
|
-
full: "EEEE d MMMM y",
|
|
4
|
-
long: "d MMMM y",
|
|
5
|
-
medium: "d MMM y",
|
|
6
|
-
short: "dd/MM/y"
|
|
7
|
-
}, d = {
|
|
8
|
-
full: "HH:mm:ss zzzz",
|
|
9
|
-
long: "HH:mm:ss z",
|
|
10
|
-
medium: "HH:mm:ss",
|
|
11
|
-
short: "HH:mm"
|
|
12
|
-
}, e = {
|
|
13
|
-
full: "{{date}} 'à' {{time}}",
|
|
14
|
-
long: "{{date}} 'à' {{time}}",
|
|
15
|
-
medium: "{{date}}, {{time}}",
|
|
16
|
-
short: "{{date}}, {{time}}"
|
|
17
|
-
}, a = {
|
|
18
|
-
date: t({
|
|
19
|
-
formats: m,
|
|
20
|
-
defaultWidth: "full"
|
|
21
|
-
}),
|
|
22
|
-
time: t({
|
|
23
|
-
formats: d,
|
|
24
|
-
defaultWidth: "full"
|
|
25
|
-
}),
|
|
26
|
-
dateTime: t({
|
|
27
|
-
formats: e,
|
|
28
|
-
defaultWidth: "full"
|
|
29
|
-
})
|
|
30
|
-
};
|
|
31
|
-
export {
|
|
32
|
-
a as formatLong
|
|
33
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
var a = Object.defineProperty;
|
|
2
|
-
var o = (e, t) => a(e, "name", { value: t, configurable: !0 });
|
|
3
|
-
const r = {
|
|
4
|
-
lastWeek: "eeee 'dernier à' p",
|
|
5
|
-
yesterday: "'hier à' p",
|
|
6
|
-
today: "'aujourd’hui à' p",
|
|
7
|
-
tomorrow: "'demain à' p'",
|
|
8
|
-
nextWeek: "eeee 'prochain à' p",
|
|
9
|
-
other: "P"
|
|
10
|
-
}, d = /* @__PURE__ */ o((e, t, i, p) => r[e], "formatRelative");
|
|
11
|
-
export {
|
|
12
|
-
d as formatRelative
|
|
13
|
-
};
|
package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/localize.js
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
var o = Object.defineProperty;
|
|
2
|
-
var t = (n, e) => o(n, "name", { value: e, configurable: !0 });
|
|
3
|
-
import { buildLocalizeFn as r } from "../../_lib/buildLocalizeFn.js";
|
|
4
|
-
const u = {
|
|
5
|
-
narrow: ["av. J.-C", "ap. J.-C"],
|
|
6
|
-
abbreviated: ["av. J.-C", "ap. J.-C"],
|
|
7
|
-
wide: ["avant Jésus-Christ", "après Jésus-Christ"]
|
|
8
|
-
}, s = {
|
|
9
|
-
narrow: ["T1", "T2", "T3", "T4"],
|
|
10
|
-
abbreviated: ["1er trim.", "2ème trim.", "3ème trim.", "4ème trim."],
|
|
11
|
-
wide: ["1er trimestre", "2ème trimestre", "3ème trimestre", "4ème trimestre"]
|
|
12
|
-
}, l = {
|
|
13
|
-
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
14
|
-
abbreviated: [
|
|
15
|
-
"janv.",
|
|
16
|
-
"févr.",
|
|
17
|
-
"mars",
|
|
18
|
-
"avr.",
|
|
19
|
-
"mai",
|
|
20
|
-
"juin",
|
|
21
|
-
"juil.",
|
|
22
|
-
"août",
|
|
23
|
-
"sept.",
|
|
24
|
-
"oct.",
|
|
25
|
-
"nov.",
|
|
26
|
-
"déc."
|
|
27
|
-
],
|
|
28
|
-
wide: [
|
|
29
|
-
"janvier",
|
|
30
|
-
"février",
|
|
31
|
-
"mars",
|
|
32
|
-
"avril",
|
|
33
|
-
"mai",
|
|
34
|
-
"juin",
|
|
35
|
-
"juillet",
|
|
36
|
-
"août",
|
|
37
|
-
"septembre",
|
|
38
|
-
"octobre",
|
|
39
|
-
"novembre",
|
|
40
|
-
"décembre"
|
|
41
|
-
]
|
|
42
|
-
}, v = {
|
|
43
|
-
narrow: ["D", "L", "M", "M", "J", "V", "S"],
|
|
44
|
-
short: ["di", "lu", "ma", "me", "je", "ve", "sa"],
|
|
45
|
-
abbreviated: ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."],
|
|
46
|
-
wide: [
|
|
47
|
-
"dimanche",
|
|
48
|
-
"lundi",
|
|
49
|
-
"mardi",
|
|
50
|
-
"mercredi",
|
|
51
|
-
"jeudi",
|
|
52
|
-
"vendredi",
|
|
53
|
-
"samedi"
|
|
54
|
-
]
|
|
55
|
-
}, c = {
|
|
56
|
-
narrow: {
|
|
57
|
-
am: "AM",
|
|
58
|
-
pm: "PM",
|
|
59
|
-
midnight: "minuit",
|
|
60
|
-
noon: "midi",
|
|
61
|
-
morning: "mat.",
|
|
62
|
-
afternoon: "ap.m.",
|
|
63
|
-
evening: "soir",
|
|
64
|
-
night: "mat."
|
|
65
|
-
},
|
|
66
|
-
abbreviated: {
|
|
67
|
-
am: "AM",
|
|
68
|
-
pm: "PM",
|
|
69
|
-
midnight: "minuit",
|
|
70
|
-
noon: "midi",
|
|
71
|
-
morning: "matin",
|
|
72
|
-
afternoon: "après-midi",
|
|
73
|
-
evening: "soir",
|
|
74
|
-
night: "matin"
|
|
75
|
-
},
|
|
76
|
-
wide: {
|
|
77
|
-
am: "AM",
|
|
78
|
-
pm: "PM",
|
|
79
|
-
midnight: "minuit",
|
|
80
|
-
noon: "midi",
|
|
81
|
-
morning: "du matin",
|
|
82
|
-
afternoon: "de l’après-midi",
|
|
83
|
-
evening: "du soir",
|
|
84
|
-
night: "du matin"
|
|
85
|
-
}
|
|
86
|
-
}, h = /* @__PURE__ */ t((n, e) => {
|
|
87
|
-
const a = Number(n), i = e == null ? void 0 : e.unit;
|
|
88
|
-
if (a === 0) return "0";
|
|
89
|
-
const d = ["year", "week", "hour", "minute", "second"];
|
|
90
|
-
let m;
|
|
91
|
-
return a === 1 ? m = i && d.includes(i) ? "ère" : "er" : m = "ème", a + m;
|
|
92
|
-
}, "ordinalNumber"), M = ["MMM", "MMMM"], g = {
|
|
93
|
-
preprocessor: /* @__PURE__ */ t((n, e) => n.getDate() === 1 || !e.some(
|
|
94
|
-
(i) => i.isToken && M.includes(i.value)
|
|
95
|
-
) ? e : e.map(
|
|
96
|
-
(i) => i.isToken && i.value === "do" ? { isToken: !0, value: "d" } : i
|
|
97
|
-
), "preprocessor"),
|
|
98
|
-
ordinalNumber: h,
|
|
99
|
-
era: r({
|
|
100
|
-
values: u,
|
|
101
|
-
defaultWidth: "wide"
|
|
102
|
-
}),
|
|
103
|
-
quarter: r({
|
|
104
|
-
values: s,
|
|
105
|
-
defaultWidth: "wide",
|
|
106
|
-
argumentCallback: /* @__PURE__ */ t((n) => n - 1, "argumentCallback")
|
|
107
|
-
}),
|
|
108
|
-
month: r({
|
|
109
|
-
values: l,
|
|
110
|
-
defaultWidth: "wide"
|
|
111
|
-
}),
|
|
112
|
-
day: r({
|
|
113
|
-
values: v,
|
|
114
|
-
defaultWidth: "wide"
|
|
115
|
-
}),
|
|
116
|
-
dayPeriod: r({
|
|
117
|
-
values: c,
|
|
118
|
-
defaultWidth: "wide"
|
|
119
|
-
})
|
|
120
|
-
};
|
|
121
|
-
export {
|
|
122
|
-
g as localize
|
|
123
|
-
};
|
package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/locale/fr/_lib/match.js
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
var r = Object.defineProperty;
|
|
2
|
-
var t = (a, e) => r(a, "name", { value: e, configurable: !0 });
|
|
3
|
-
import { buildMatchFn as i } from "../../_lib/buildMatchFn.js";
|
|
4
|
-
import { buildMatchPatternFn as n } from "../../_lib/buildMatchPatternFn.js";
|
|
5
|
-
const s = /^(\d+)(ième|ère|ème|er|e)?/i, d = /\d+/i, m = {
|
|
6
|
-
narrow: /^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,
|
|
7
|
-
abbreviated: /^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,
|
|
8
|
-
wide: /^(avant Jésus-Christ|après Jésus-Christ)/i
|
|
9
|
-
}, o = {
|
|
10
|
-
any: [/^av/i, /^ap/i]
|
|
11
|
-
}, c = {
|
|
12
|
-
narrow: /^T?[1234]/i,
|
|
13
|
-
abbreviated: /^[1234](er|ème|e)? trim\.?/i,
|
|
14
|
-
wide: /^[1234](er|ème|e)? trimestre/i
|
|
15
|
-
}, u = {
|
|
16
|
-
any: [/1/i, /2/i, /3/i, /4/i]
|
|
17
|
-
}, h = {
|
|
18
|
-
narrow: /^[jfmasond]/i,
|
|
19
|
-
abbreviated: /^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,
|
|
20
|
-
wide: /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i
|
|
21
|
-
}, l = {
|
|
22
|
-
narrow: [
|
|
23
|
-
/^j/i,
|
|
24
|
-
/^f/i,
|
|
25
|
-
/^m/i,
|
|
26
|
-
/^a/i,
|
|
27
|
-
/^m/i,
|
|
28
|
-
/^j/i,
|
|
29
|
-
/^j/i,
|
|
30
|
-
/^a/i,
|
|
31
|
-
/^s/i,
|
|
32
|
-
/^o/i,
|
|
33
|
-
/^n/i,
|
|
34
|
-
/^d/i
|
|
35
|
-
],
|
|
36
|
-
any: [
|
|
37
|
-
/^ja/i,
|
|
38
|
-
/^f/i,
|
|
39
|
-
/^mar/i,
|
|
40
|
-
/^av/i,
|
|
41
|
-
/^ma/i,
|
|
42
|
-
/^juin/i,
|
|
43
|
-
/^juil/i,
|
|
44
|
-
/^ao/i,
|
|
45
|
-
/^s/i,
|
|
46
|
-
/^o/i,
|
|
47
|
-
/^n/i,
|
|
48
|
-
/^d/i
|
|
49
|
-
]
|
|
50
|
-
}, P = {
|
|
51
|
-
narrow: /^[lmjvsd]/i,
|
|
52
|
-
short: /^(di|lu|ma|me|je|ve|sa)/i,
|
|
53
|
-
abbreviated: /^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,
|
|
54
|
-
wide: /^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i
|
|
55
|
-
}, p = {
|
|
56
|
-
narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i],
|
|
57
|
-
any: [/^di/i, /^lu/i, /^ma/i, /^me/i, /^je/i, /^ve/i, /^sa/i]
|
|
58
|
-
}, v = {
|
|
59
|
-
narrow: /^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,
|
|
60
|
-
any: /^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i
|
|
61
|
-
}, j = {
|
|
62
|
-
any: {
|
|
63
|
-
am: /^a/i,
|
|
64
|
-
pm: /^p/i,
|
|
65
|
-
midnight: /^min/i,
|
|
66
|
-
noon: /^mid/i,
|
|
67
|
-
morning: /mat/i,
|
|
68
|
-
afternoon: /ap/i,
|
|
69
|
-
evening: /soir/i,
|
|
70
|
-
night: /nuit/i
|
|
71
|
-
}
|
|
72
|
-
}, w = {
|
|
73
|
-
ordinalNumber: n({
|
|
74
|
-
matchPattern: s,
|
|
75
|
-
parsePattern: d,
|
|
76
|
-
valueCallback: /* @__PURE__ */ t((a) => parseInt(a), "valueCallback")
|
|
77
|
-
}),
|
|
78
|
-
era: i({
|
|
79
|
-
matchPatterns: m,
|
|
80
|
-
defaultMatchWidth: "wide",
|
|
81
|
-
parsePatterns: o,
|
|
82
|
-
defaultParseWidth: "any"
|
|
83
|
-
}),
|
|
84
|
-
quarter: i({
|
|
85
|
-
matchPatterns: c,
|
|
86
|
-
defaultMatchWidth: "wide",
|
|
87
|
-
parsePatterns: u,
|
|
88
|
-
defaultParseWidth: "any",
|
|
89
|
-
valueCallback: /* @__PURE__ */ t((a) => a + 1, "valueCallback")
|
|
90
|
-
}),
|
|
91
|
-
month: i({
|
|
92
|
-
matchPatterns: h,
|
|
93
|
-
defaultMatchWidth: "wide",
|
|
94
|
-
parsePatterns: l,
|
|
95
|
-
defaultParseWidth: "any"
|
|
96
|
-
}),
|
|
97
|
-
day: i({
|
|
98
|
-
matchPatterns: P,
|
|
99
|
-
defaultMatchWidth: "wide",
|
|
100
|
-
parsePatterns: p,
|
|
101
|
-
defaultParseWidth: "any"
|
|
102
|
-
}),
|
|
103
|
-
dayPeriod: i({
|
|
104
|
-
matchPatterns: v,
|
|
105
|
-
defaultMatchWidth: "any",
|
|
106
|
-
parsePatterns: j,
|
|
107
|
-
defaultParseWidth: "any"
|
|
108
|
-
})
|
|
109
|
-
};
|
|
110
|
-
export {
|
|
111
|
-
w as match
|
|
112
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { formatDistance as o } from "./fr/_lib/formatDistance.js";
|
|
2
|
-
import { formatLong as t } from "./fr/_lib/formatLong.js";
|
|
3
|
-
import { formatRelative as r } from "./fr/_lib/formatRelative.js";
|
|
4
|
-
import { localize as a } from "./fr/_lib/localize.js";
|
|
5
|
-
import { match as m } from "./fr/_lib/match.js";
|
|
6
|
-
const s = {
|
|
7
|
-
code: "fr",
|
|
8
|
-
formatDistance: o,
|
|
9
|
-
formatLong: t,
|
|
10
|
-
formatRelative: r,
|
|
11
|
-
localize: a,
|
|
12
|
-
match: m,
|
|
13
|
-
options: {
|
|
14
|
-
weekStartsOn: 1,
|
|
15
|
-
firstWeekContainsDate: 4
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
s as default,
|
|
20
|
-
s as fr
|
|
21
|
-
};
|