@univerjs/design 0.6.7 → 0.6.8
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/lib/cjs/index.js +62 -49
- package/lib/es/index.js +4967 -4853
- package/lib/index.css +1 -1
- package/lib/index.js +24852 -0
- package/lib/locale/en-US.js +183 -0
- package/lib/locale/fa-IR.js +183 -0
- package/lib/locale/fr-FR.js +464 -0
- package/lib/locale/ru-RU.js +478 -0
- package/lib/locale/vi-VN.js +464 -0
- package/lib/locale/zh-CN.js +468 -0
- package/lib/locale/zh-TW.js +470 -0
- package/lib/types/components/side-menu/index.d.ts +41 -0
- package/lib/types/components/side-menu/side-menu.stories.d.ts +16 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/umd/index.js +62 -49
- package/package.json +6 -6
|
@@ -0,0 +1,464 @@
|
|
|
1
|
+
function le(i) {
|
|
2
|
+
return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
|
|
3
|
+
}
|
|
4
|
+
var E = { exports: {} }, K = { exports: {} }, _e = K.exports, re;
|
|
5
|
+
function $e() {
|
|
6
|
+
return re || (re = 1, function(i, y) {
|
|
7
|
+
(function(l, a) {
|
|
8
|
+
i.exports = a();
|
|
9
|
+
})(_e, function() {
|
|
10
|
+
var l = 1e3, a = 6e4, h = 36e5, p = "millisecond", c = "second", $ = "minute", S = "hour", g = "day", C = "week", b = "month", G = "quarter", O = "year", q = "date", X = "Invalid Date", he = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, me = /\[([^\]]+)]|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, ye = { 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(u) {
|
|
11
|
+
var r = ["th", "st", "nd", "rd"], e = u % 100;
|
|
12
|
+
return "[" + u + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
|
|
13
|
+
} }, z = function(u, r, e) {
|
|
14
|
+
var n = String(u);
|
|
15
|
+
return !n || n.length >= r ? u : "" + Array(r + 1 - n.length).join(e) + u;
|
|
16
|
+
}, ve = { s: z, z: function(u) {
|
|
17
|
+
var r = -u.utcOffset(), e = Math.abs(r), n = Math.floor(e / 60), t = e % 60;
|
|
18
|
+
return (r <= 0 ? "+" : "-") + z(n, 2, "0") + ":" + z(t, 2, "0");
|
|
19
|
+
}, m: function u(r, e) {
|
|
20
|
+
if (r.date() < e.date()) return -u(e, r);
|
|
21
|
+
var n = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(n, b), s = e - t < 0, o = r.clone().add(n + (s ? -1 : 1), b);
|
|
22
|
+
return +(-(n + (e - t) / (s ? t - o : o - t)) || 0);
|
|
23
|
+
}, a: function(u) {
|
|
24
|
+
return u < 0 ? Math.ceil(u) || 0 : Math.floor(u);
|
|
25
|
+
}, p: function(u) {
|
|
26
|
+
return { M: b, y: O, w: C, d: g, D: q, h: S, m: $, s: c, ms: p, Q: G }[u] || String(u || "").toLowerCase().replace(/s$/, "");
|
|
27
|
+
}, u: function(u) {
|
|
28
|
+
return u === void 0;
|
|
29
|
+
} }, L = "en", w = {};
|
|
30
|
+
w[L] = ye;
|
|
31
|
+
var ee = "$isDayjsObject", N = function(u) {
|
|
32
|
+
return u instanceof W || !(!u || !u[ee]);
|
|
33
|
+
}, A = function u(r, e, n) {
|
|
34
|
+
var t;
|
|
35
|
+
if (!r) return L;
|
|
36
|
+
if (typeof r == "string") {
|
|
37
|
+
var s = r.toLowerCase();
|
|
38
|
+
w[s] && (t = s), e && (w[s] = e, t = s);
|
|
39
|
+
var o = r.split("-");
|
|
40
|
+
if (!t && o.length > 1) return u(o[0]);
|
|
41
|
+
} else {
|
|
42
|
+
var d = r.name;
|
|
43
|
+
w[d] = r, t = d;
|
|
44
|
+
}
|
|
45
|
+
return !n && t && (L = t), t || !n && L;
|
|
46
|
+
}, v = function(u, r) {
|
|
47
|
+
if (N(u)) return u.clone();
|
|
48
|
+
var e = typeof r == "object" ? r : {};
|
|
49
|
+
return e.date = u, e.args = arguments, new W(e);
|
|
50
|
+
}, f = ve;
|
|
51
|
+
f.l = A, f.i = N, f.w = function(u, r) {
|
|
52
|
+
return v(u, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
|
53
|
+
};
|
|
54
|
+
var W = function() {
|
|
55
|
+
function u(e) {
|
|
56
|
+
this.$L = A(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[ee] = !0;
|
|
57
|
+
}
|
|
58
|
+
var r = u.prototype;
|
|
59
|
+
return r.parse = function(e) {
|
|
60
|
+
this.$d = function(n) {
|
|
61
|
+
var t = n.date, s = n.utc;
|
|
62
|
+
if (t === null) return /* @__PURE__ */ new Date(NaN);
|
|
63
|
+
if (f.u(t)) return /* @__PURE__ */ new Date();
|
|
64
|
+
if (t instanceof Date) return new Date(t);
|
|
65
|
+
if (typeof t == "string" && !/Z$/i.test(t)) {
|
|
66
|
+
var o = t.match(he);
|
|
67
|
+
if (o) {
|
|
68
|
+
var d = o[2] - 1 || 0, m = (o[7] || "0").substring(0, 3);
|
|
69
|
+
return s ? new Date(Date.UTC(o[1], d, o[3] || 1, o[4] || 0, o[5] || 0, o[6] || 0, m)) : new Date(o[1], d, o[3] || 1, o[4] || 0, o[5] || 0, o[6] || 0, m);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return new Date(t);
|
|
73
|
+
}(e), this.init();
|
|
74
|
+
}, r.init = function() {
|
|
75
|
+
var e = this.$d;
|
|
76
|
+
this.$y = e.getFullYear(), this.$M = e.getMonth(), this.$D = e.getDate(), this.$W = e.getDay(), this.$H = e.getHours(), this.$m = e.getMinutes(), this.$s = e.getSeconds(), this.$ms = e.getMilliseconds();
|
|
77
|
+
}, r.$utils = function() {
|
|
78
|
+
return f;
|
|
79
|
+
}, r.isValid = function() {
|
|
80
|
+
return this.$d.toString() !== X;
|
|
81
|
+
}, r.isSame = function(e, n) {
|
|
82
|
+
var t = v(e);
|
|
83
|
+
return this.startOf(n) <= t && t <= this.endOf(n);
|
|
84
|
+
}, r.isAfter = function(e, n) {
|
|
85
|
+
return v(e) < this.startOf(n);
|
|
86
|
+
}, r.isBefore = function(e, n) {
|
|
87
|
+
return this.endOf(n) < v(e);
|
|
88
|
+
}, r.$g = function(e, n, t) {
|
|
89
|
+
return f.u(e) ? this[n] : this.set(t, e);
|
|
90
|
+
}, r.unix = function() {
|
|
91
|
+
return Math.floor(this.valueOf() / 1e3);
|
|
92
|
+
}, r.valueOf = function() {
|
|
93
|
+
return this.$d.getTime();
|
|
94
|
+
}, r.startOf = function(e, n) {
|
|
95
|
+
var t = this, s = !!f.u(n) || n, o = f.p(e), d = function(P, x) {
|
|
96
|
+
var j = f.w(t.$u ? Date.UTC(t.$y, x, P) : new Date(t.$y, x, P), t);
|
|
97
|
+
return s ? j : j.endOf(g);
|
|
98
|
+
}, m = function(P, x) {
|
|
99
|
+
return f.w(t.toDate()[P].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(x)), t);
|
|
100
|
+
}, _ = this.$W, M = this.$M, D = this.$D, k = "set" + (this.$u ? "UTC" : "");
|
|
101
|
+
switch (o) {
|
|
102
|
+
case O:
|
|
103
|
+
return s ? d(1, 0) : d(31, 11);
|
|
104
|
+
case b:
|
|
105
|
+
return s ? d(1, M) : d(0, M + 1);
|
|
106
|
+
case C:
|
|
107
|
+
var Y = this.$locale().weekStart || 0, F = (_ < Y ? _ + 7 : _) - Y;
|
|
108
|
+
return d(s ? D - F : D + (6 - F), M);
|
|
109
|
+
case g:
|
|
110
|
+
case q:
|
|
111
|
+
return m(k + "Hours", 0);
|
|
112
|
+
case S:
|
|
113
|
+
return m(k + "Minutes", 1);
|
|
114
|
+
case $:
|
|
115
|
+
return m(k + "Seconds", 2);
|
|
116
|
+
case c:
|
|
117
|
+
return m(k + "Milliseconds", 3);
|
|
118
|
+
default:
|
|
119
|
+
return this.clone();
|
|
120
|
+
}
|
|
121
|
+
}, r.endOf = function(e) {
|
|
122
|
+
return this.startOf(e, !1);
|
|
123
|
+
}, r.$set = function(e, n) {
|
|
124
|
+
var t, s = f.p(e), o = "set" + (this.$u ? "UTC" : ""), d = (t = {}, t[g] = o + "Date", t[q] = o + "Date", t[b] = o + "Month", t[O] = o + "FullYear", t[S] = o + "Hours", t[$] = o + "Minutes", t[c] = o + "Seconds", t[p] = o + "Milliseconds", t)[s], m = s === g ? this.$D + (n - this.$W) : n;
|
|
125
|
+
if (s === b || s === O) {
|
|
126
|
+
var _ = this.clone().set(q, 1);
|
|
127
|
+
_.$d[d](m), _.init(), this.$d = _.set(q, Math.min(this.$D, _.daysInMonth())).$d;
|
|
128
|
+
} else d && this.$d[d](m);
|
|
129
|
+
return this.init(), this;
|
|
130
|
+
}, r.set = function(e, n) {
|
|
131
|
+
return this.clone().$set(e, n);
|
|
132
|
+
}, r.get = function(e) {
|
|
133
|
+
return this[f.p(e)]();
|
|
134
|
+
}, r.add = function(e, n) {
|
|
135
|
+
var t, s = this;
|
|
136
|
+
e = Number(e);
|
|
137
|
+
var o = f.p(n), d = function(M) {
|
|
138
|
+
var D = v(s);
|
|
139
|
+
return f.w(D.date(D.date() + Math.round(M * e)), s);
|
|
140
|
+
};
|
|
141
|
+
if (o === b) return this.set(b, this.$M + e);
|
|
142
|
+
if (o === O) return this.set(O, this.$y + e);
|
|
143
|
+
if (o === g) return d(1);
|
|
144
|
+
if (o === C) return d(7);
|
|
145
|
+
var m = (t = {}, t[$] = a, t[S] = h, t[c] = l, t)[o] || 1, _ = this.$d.getTime() + e * m;
|
|
146
|
+
return f.w(_, this);
|
|
147
|
+
}, r.subtract = function(e, n) {
|
|
148
|
+
return this.add(-1 * e, n);
|
|
149
|
+
}, r.format = function(e) {
|
|
150
|
+
var n = this, t = this.$locale();
|
|
151
|
+
if (!this.isValid()) return t.invalidDate || X;
|
|
152
|
+
var s = e || "YYYY-MM-DDTHH:mm:ssZ", o = f.z(this), d = this.$H, m = this.$m, _ = this.$M, M = t.weekdays, D = t.months, k = t.meridiem, Y = function(x, j, R, I) {
|
|
153
|
+
return x && (x[j] || x(n, s)) || R[j].slice(0, I);
|
|
154
|
+
}, F = function(x) {
|
|
155
|
+
return f.s(d % 12 || 12, x, "0");
|
|
156
|
+
}, P = k || function(x, j, R) {
|
|
157
|
+
var I = x < 12 ? "AM" : "PM";
|
|
158
|
+
return R ? I.toLowerCase() : I;
|
|
159
|
+
};
|
|
160
|
+
return s.replace(me, function(x, j) {
|
|
161
|
+
return j || function(R) {
|
|
162
|
+
switch (R) {
|
|
163
|
+
case "YY":
|
|
164
|
+
return String(n.$y).slice(-2);
|
|
165
|
+
case "YYYY":
|
|
166
|
+
return f.s(n.$y, 4, "0");
|
|
167
|
+
case "M":
|
|
168
|
+
return _ + 1;
|
|
169
|
+
case "MM":
|
|
170
|
+
return f.s(_ + 1, 2, "0");
|
|
171
|
+
case "MMM":
|
|
172
|
+
return Y(t.monthsShort, _, D, 3);
|
|
173
|
+
case "MMMM":
|
|
174
|
+
return Y(D, _);
|
|
175
|
+
case "D":
|
|
176
|
+
return n.$D;
|
|
177
|
+
case "DD":
|
|
178
|
+
return f.s(n.$D, 2, "0");
|
|
179
|
+
case "d":
|
|
180
|
+
return String(n.$W);
|
|
181
|
+
case "dd":
|
|
182
|
+
return Y(t.weekdaysMin, n.$W, M, 2);
|
|
183
|
+
case "ddd":
|
|
184
|
+
return Y(t.weekdaysShort, n.$W, M, 3);
|
|
185
|
+
case "dddd":
|
|
186
|
+
return M[n.$W];
|
|
187
|
+
case "H":
|
|
188
|
+
return String(d);
|
|
189
|
+
case "HH":
|
|
190
|
+
return f.s(d, 2, "0");
|
|
191
|
+
case "h":
|
|
192
|
+
return F(1);
|
|
193
|
+
case "hh":
|
|
194
|
+
return F(2);
|
|
195
|
+
case "a":
|
|
196
|
+
return P(d, m, !0);
|
|
197
|
+
case "A":
|
|
198
|
+
return P(d, m, !1);
|
|
199
|
+
case "m":
|
|
200
|
+
return String(m);
|
|
201
|
+
case "mm":
|
|
202
|
+
return f.s(m, 2, "0");
|
|
203
|
+
case "s":
|
|
204
|
+
return String(n.$s);
|
|
205
|
+
case "ss":
|
|
206
|
+
return f.s(n.$s, 2, "0");
|
|
207
|
+
case "SSS":
|
|
208
|
+
return f.s(n.$ms, 3, "0");
|
|
209
|
+
case "Z":
|
|
210
|
+
return o;
|
|
211
|
+
}
|
|
212
|
+
return null;
|
|
213
|
+
}(x) || o.replace(":", "");
|
|
214
|
+
});
|
|
215
|
+
}, r.utcOffset = function() {
|
|
216
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
217
|
+
}, r.diff = function(e, n, t) {
|
|
218
|
+
var s, o = this, d = f.p(n), m = v(e), _ = (m.utcOffset() - this.utcOffset()) * a, M = this - m, D = function() {
|
|
219
|
+
return f.m(o, m);
|
|
220
|
+
};
|
|
221
|
+
switch (d) {
|
|
222
|
+
case O:
|
|
223
|
+
s = D() / 12;
|
|
224
|
+
break;
|
|
225
|
+
case b:
|
|
226
|
+
s = D();
|
|
227
|
+
break;
|
|
228
|
+
case G:
|
|
229
|
+
s = D() / 3;
|
|
230
|
+
break;
|
|
231
|
+
case C:
|
|
232
|
+
s = (M - _) / 6048e5;
|
|
233
|
+
break;
|
|
234
|
+
case g:
|
|
235
|
+
s = (M - _) / 864e5;
|
|
236
|
+
break;
|
|
237
|
+
case S:
|
|
238
|
+
s = M / h;
|
|
239
|
+
break;
|
|
240
|
+
case $:
|
|
241
|
+
s = M / a;
|
|
242
|
+
break;
|
|
243
|
+
case c:
|
|
244
|
+
s = M / l;
|
|
245
|
+
break;
|
|
246
|
+
default:
|
|
247
|
+
s = M;
|
|
248
|
+
}
|
|
249
|
+
return t ? s : f.a(s);
|
|
250
|
+
}, r.daysInMonth = function() {
|
|
251
|
+
return this.endOf(b).$D;
|
|
252
|
+
}, r.$locale = function() {
|
|
253
|
+
return w[this.$L];
|
|
254
|
+
}, r.locale = function(e, n) {
|
|
255
|
+
if (!e) return this.$L;
|
|
256
|
+
var t = this.clone(), s = A(e, n, !0);
|
|
257
|
+
return s && (t.$L = s), t;
|
|
258
|
+
}, r.clone = function() {
|
|
259
|
+
return f.w(this.$d, this);
|
|
260
|
+
}, r.toDate = function() {
|
|
261
|
+
return new Date(this.valueOf());
|
|
262
|
+
}, r.toJSON = function() {
|
|
263
|
+
return this.isValid() ? this.toISOString() : null;
|
|
264
|
+
}, r.toISOString = function() {
|
|
265
|
+
return this.$d.toISOString();
|
|
266
|
+
}, r.toString = function() {
|
|
267
|
+
return this.$d.toUTCString();
|
|
268
|
+
}, u;
|
|
269
|
+
}(), te = W.prototype;
|
|
270
|
+
return v.prototype = te, [["$ms", p], ["$s", c], ["$m", $], ["$H", S], ["$W", g], ["$M", b], ["$y", O], ["$D", q]].forEach(function(u) {
|
|
271
|
+
te[u[1]] = function(r) {
|
|
272
|
+
return this.$g(r, u[0], u[1]);
|
|
273
|
+
};
|
|
274
|
+
}), v.extend = function(u, r) {
|
|
275
|
+
return u.$i || (u(r, W, v), u.$i = !0), v;
|
|
276
|
+
}, v.locale = A, v.isDayjs = N, v.unix = function(u) {
|
|
277
|
+
return v(1e3 * u);
|
|
278
|
+
}, v.en = w[L], v.Ls = w, v.p = {}, v;
|
|
279
|
+
});
|
|
280
|
+
}(K)), K.exports;
|
|
281
|
+
}
|
|
282
|
+
var Me = E.exports, ne;
|
|
283
|
+
function xe() {
|
|
284
|
+
return ne || (ne = 1, function(i, y) {
|
|
285
|
+
(function(l, a) {
|
|
286
|
+
i.exports = a($e());
|
|
287
|
+
})(Me, function(l) {
|
|
288
|
+
function a(c) {
|
|
289
|
+
return c && typeof c == "object" && "default" in c ? c : { default: c };
|
|
290
|
+
}
|
|
291
|
+
var h = a(l), 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) {
|
|
292
|
+
return "" + c + (c === 1 ? "er" : "");
|
|
293
|
+
} };
|
|
294
|
+
return h.default.locale(p, null, !0), p;
|
|
295
|
+
});
|
|
296
|
+
}(E)), E.exports;
|
|
297
|
+
}
|
|
298
|
+
var De = xe();
|
|
299
|
+
const be = /* @__PURE__ */ le(De);
|
|
300
|
+
var T = {}, U = { exports: {} }, ie;
|
|
301
|
+
function Se() {
|
|
302
|
+
return ie || (ie = 1, function(i) {
|
|
303
|
+
function y(l) {
|
|
304
|
+
return l && l.__esModule ? l : {
|
|
305
|
+
default: l
|
|
306
|
+
};
|
|
307
|
+
}
|
|
308
|
+
i.exports = y, i.exports.__esModule = !0, i.exports.default = i.exports;
|
|
309
|
+
}(U)), U.exports;
|
|
310
|
+
}
|
|
311
|
+
var J = { exports: {} }, Z = { exports: {} }, V = { exports: {} }, B = { exports: {} }, ue;
|
|
312
|
+
function pe() {
|
|
313
|
+
return ue || (ue = 1, function(i) {
|
|
314
|
+
function y(l) {
|
|
315
|
+
"@babel/helpers - typeof";
|
|
316
|
+
return i.exports = y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(a) {
|
|
317
|
+
return typeof a;
|
|
318
|
+
} : function(a) {
|
|
319
|
+
return a && typeof Symbol == "function" && a.constructor === Symbol && a !== Symbol.prototype ? "symbol" : typeof a;
|
|
320
|
+
}, i.exports.__esModule = !0, i.exports.default = i.exports, y(l);
|
|
321
|
+
}
|
|
322
|
+
i.exports = y, i.exports.__esModule = !0, i.exports.default = i.exports;
|
|
323
|
+
}(B)), B.exports;
|
|
324
|
+
}
|
|
325
|
+
var Q = { exports: {} }, se;
|
|
326
|
+
function ge() {
|
|
327
|
+
return se || (se = 1, function(i) {
|
|
328
|
+
var y = pe().default;
|
|
329
|
+
function l(a, h) {
|
|
330
|
+
if (y(a) != "object" || !a) return a;
|
|
331
|
+
var p = a[Symbol.toPrimitive];
|
|
332
|
+
if (p !== void 0) {
|
|
333
|
+
var c = p.call(a, h || "default");
|
|
334
|
+
if (y(c) != "object") return c;
|
|
335
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
336
|
+
}
|
|
337
|
+
return (h === "string" ? String : Number)(a);
|
|
338
|
+
}
|
|
339
|
+
i.exports = l, i.exports.__esModule = !0, i.exports.default = i.exports;
|
|
340
|
+
}(Q)), Q.exports;
|
|
341
|
+
}
|
|
342
|
+
var oe;
|
|
343
|
+
function Oe() {
|
|
344
|
+
return oe || (oe = 1, function(i) {
|
|
345
|
+
var y = pe().default, l = ge();
|
|
346
|
+
function a(h) {
|
|
347
|
+
var p = l(h, "string");
|
|
348
|
+
return y(p) == "symbol" ? p : p + "";
|
|
349
|
+
}
|
|
350
|
+
i.exports = a, i.exports.__esModule = !0, i.exports.default = i.exports;
|
|
351
|
+
}(V)), V.exports;
|
|
352
|
+
}
|
|
353
|
+
var ae;
|
|
354
|
+
function je() {
|
|
355
|
+
return ae || (ae = 1, function(i) {
|
|
356
|
+
var y = Oe();
|
|
357
|
+
function l(a, h, p) {
|
|
358
|
+
return (h = y(h)) in a ? Object.defineProperty(a, h, {
|
|
359
|
+
value: p,
|
|
360
|
+
enumerable: !0,
|
|
361
|
+
configurable: !0,
|
|
362
|
+
writable: !0
|
|
363
|
+
}) : a[h] = p, a;
|
|
364
|
+
}
|
|
365
|
+
i.exports = l, i.exports.__esModule = !0, i.exports.default = i.exports;
|
|
366
|
+
}(Z)), Z.exports;
|
|
367
|
+
}
|
|
368
|
+
var ce;
|
|
369
|
+
function we() {
|
|
370
|
+
return ce || (ce = 1, function(i) {
|
|
371
|
+
var y = je();
|
|
372
|
+
function l(h, p) {
|
|
373
|
+
var c = Object.keys(h);
|
|
374
|
+
if (Object.getOwnPropertySymbols) {
|
|
375
|
+
var $ = Object.getOwnPropertySymbols(h);
|
|
376
|
+
p && ($ = $.filter(function(S) {
|
|
377
|
+
return Object.getOwnPropertyDescriptor(h, S).enumerable;
|
|
378
|
+
})), c.push.apply(c, $);
|
|
379
|
+
}
|
|
380
|
+
return c;
|
|
381
|
+
}
|
|
382
|
+
function a(h) {
|
|
383
|
+
for (var p = 1; p < arguments.length; p++) {
|
|
384
|
+
var c = arguments[p] != null ? arguments[p] : {};
|
|
385
|
+
p % 2 ? l(Object(c), !0).forEach(function($) {
|
|
386
|
+
y(h, $, c[$]);
|
|
387
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(h, Object.getOwnPropertyDescriptors(c)) : l(Object(c)).forEach(function($) {
|
|
388
|
+
Object.defineProperty(h, $, Object.getOwnPropertyDescriptor(c, $));
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
return h;
|
|
392
|
+
}
|
|
393
|
+
i.exports = a, i.exports.__esModule = !0, i.exports.default = i.exports;
|
|
394
|
+
}(J)), J.exports;
|
|
395
|
+
}
|
|
396
|
+
var H = {}, fe;
|
|
397
|
+
function Ye() {
|
|
398
|
+
return fe || (fe = 1, Object.defineProperty(H, "__esModule", {
|
|
399
|
+
value: !0
|
|
400
|
+
}), H.commonLocale = void 0, H.commonLocale = {
|
|
401
|
+
yearFormat: "YYYY",
|
|
402
|
+
dayFormat: "D",
|
|
403
|
+
cellMeridiemFormat: "A",
|
|
404
|
+
monthBeforeYear: !0
|
|
405
|
+
}), H;
|
|
406
|
+
}
|
|
407
|
+
var de;
|
|
408
|
+
function Pe() {
|
|
409
|
+
if (de) return T;
|
|
410
|
+
de = 1;
|
|
411
|
+
var i = Se().default;
|
|
412
|
+
Object.defineProperty(T, "__esModule", {
|
|
413
|
+
value: !0
|
|
414
|
+
}), T.default = void 0;
|
|
415
|
+
var y = i(we()), l = Ye(), a = (0, y.default)((0, y.default)({}, l.commonLocale), {}, {
|
|
416
|
+
locale: "fr_FR",
|
|
417
|
+
today: "Aujourd'hui",
|
|
418
|
+
now: "Maintenant",
|
|
419
|
+
backToToday: "Aujourd'hui",
|
|
420
|
+
ok: "OK",
|
|
421
|
+
clear: "Rétablir",
|
|
422
|
+
month: "Mois",
|
|
423
|
+
year: "Année",
|
|
424
|
+
timeSelect: "Sélectionner l'heure",
|
|
425
|
+
dateSelect: "Sélectionner la date",
|
|
426
|
+
monthSelect: "Choisissez un mois",
|
|
427
|
+
yearSelect: "Choisissez une année",
|
|
428
|
+
decadeSelect: "Choisissez une décennie",
|
|
429
|
+
dateFormat: "DD/MM/YYYY",
|
|
430
|
+
dayFormat: "DD",
|
|
431
|
+
dateTimeFormat: "DD/MM/YYYY HH:mm:ss",
|
|
432
|
+
previousMonth: "Mois précédent (PageUp)",
|
|
433
|
+
nextMonth: "Mois suivant (PageDown)",
|
|
434
|
+
previousYear: "Année précédente (Ctrl + gauche)",
|
|
435
|
+
nextYear: "Année prochaine (Ctrl + droite)",
|
|
436
|
+
previousDecade: "Décennie précédente",
|
|
437
|
+
nextDecade: "Décennie suivante",
|
|
438
|
+
previousCentury: "Siècle précédent",
|
|
439
|
+
nextCentury: "Siècle suivant"
|
|
440
|
+
});
|
|
441
|
+
return T.default = a, T;
|
|
442
|
+
}
|
|
443
|
+
var qe = Pe();
|
|
444
|
+
const ke = /* @__PURE__ */ le(qe), Le = {
|
|
445
|
+
design: {
|
|
446
|
+
Confirm: {
|
|
447
|
+
cancel: "annuler",
|
|
448
|
+
confirm: "ok"
|
|
449
|
+
},
|
|
450
|
+
Picker: {
|
|
451
|
+
...be,
|
|
452
|
+
...ke
|
|
453
|
+
},
|
|
454
|
+
CascaderList: {
|
|
455
|
+
empty: "Aucun"
|
|
456
|
+
},
|
|
457
|
+
Select: {
|
|
458
|
+
empty: "Aucun"
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
};
|
|
462
|
+
export {
|
|
463
|
+
Le as default
|
|
464
|
+
};
|