@univerjs/design 0.10.1 → 0.10.2

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.
Files changed (67) hide show
  1. package/lib/cjs/index.js +78 -90
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +13694 -17413
  13. package/lib/es/locale/ca-ES.js +20 -449
  14. package/lib/es/locale/en-US.js +20 -169
  15. package/lib/es/locale/es-ES.js +20 -449
  16. package/lib/es/locale/fa-IR.js +20 -449
  17. package/lib/es/locale/fr-FR.js +20 -450
  18. package/lib/es/locale/ko-KR.js +20 -453
  19. package/lib/es/locale/ru-RU.js +20 -464
  20. package/lib/es/locale/vi-VN.js +20 -450
  21. package/lib/es/locale/zh-CN.js +20 -454
  22. package/lib/es/locale/zh-TW.js +20 -456
  23. package/lib/index.css +1 -1
  24. package/lib/index.js +13694 -17413
  25. package/lib/locale/ca-ES.js +20 -449
  26. package/lib/locale/en-US.js +20 -169
  27. package/lib/locale/es-ES.js +20 -449
  28. package/lib/locale/fa-IR.js +20 -449
  29. package/lib/locale/fr-FR.js +20 -450
  30. package/lib/locale/ko-KR.js +20 -453
  31. package/lib/locale/ru-RU.js +20 -464
  32. package/lib/locale/vi-VN.js +20 -450
  33. package/lib/locale/zh-CN.js +20 -454
  34. package/lib/locale/zh-TW.js +20 -456
  35. package/lib/types/components/button/Button.d.ts +1 -1
  36. package/lib/types/components/calendar/Calendar.d.ts +25 -0
  37. package/lib/types/components/calendar/Calendar.stories.d.ts +7 -0
  38. package/lib/types/components/config-provider/ConfigProvider.d.ts +1 -2
  39. package/lib/types/components/date-picker/DatePicker.d.ts +23 -6
  40. package/lib/types/components/date-range-picker/DateRangePicker.d.ts +23 -6
  41. package/lib/types/components/date-range-picker/index.d.ts +1 -1
  42. package/lib/types/components/{date-picker/index.d.ts → time-input/TimeInput.d.ts} +7 -2
  43. package/lib/types/index.d.ts +4 -3
  44. package/lib/types/locale/ca-ES.d.ts +2 -2
  45. package/lib/types/locale/en-US.d.ts +39 -2
  46. package/lib/types/locale/es-ES.d.ts +2 -2
  47. package/lib/types/locale/fa-IR.d.ts +2 -2
  48. package/lib/types/locale/fr-FR.d.ts +2 -2
  49. package/lib/types/locale/ko-KR.d.ts +2 -2
  50. package/lib/types/locale/ru-RU.d.ts +2 -2
  51. package/lib/types/locale/vi-VN.d.ts +2 -2
  52. package/lib/types/locale/zh-CN.d.ts +2 -2
  53. package/lib/types/locale/zh-TW.d.ts +2 -2
  54. package/lib/umd/index.js +77 -89
  55. package/lib/umd/locale/ca-ES.js +1 -1
  56. package/lib/umd/locale/en-US.js +1 -1
  57. package/lib/umd/locale/es-ES.js +1 -1
  58. package/lib/umd/locale/fa-IR.js +1 -1
  59. package/lib/umd/locale/fr-FR.js +1 -1
  60. package/lib/umd/locale/ko-KR.js +1 -1
  61. package/lib/umd/locale/ru-RU.js +1 -1
  62. package/lib/umd/locale/vi-VN.js +1 -1
  63. package/lib/umd/locale/zh-CN.js +1 -1
  64. package/lib/umd/locale/zh-TW.js +1 -1
  65. package/package.json +6 -7
  66. package/lib/types/components/date-picker/DatePanel.d.ts +0 -10
  67. package/lib/types/locale/interface.d.ts +0 -10
@@ -1,464 +1,30 @@
1
- function de(i) {
2
- return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
3
- }
4
- var W = { exports: {} }, Z = { exports: {} }, ve = Z.exports, re;
5
- function $e() {
6
- return re || (re = 1, function(i, m) {
7
- (function(d, a) {
8
- i.exports = a();
9
- })(ve, function() {
10
- var d = 1e3, a = 6e4, h = 36e5, p = "millisecond", c = "second", _ = "minute", x = "hour", Y = "day", N = "week", S = "month", G = "quarter", g = "year", k = "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+)?$/, ye = /\[([^\]]+)]|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, _e = { 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(o) {
11
- var r = ["th", "st", "nd", "rd"], e = o % 100;
12
- return "[" + o + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
13
- } }, I = function(o, r, e) {
14
- var n = String(o);
15
- return !n || n.length >= r ? o : "" + Array(r + 1 - n.length).join(e) + o;
16
- }, me = { s: I, z: function(o) {
17
- var r = -o.utcOffset(), e = Math.abs(r), n = Math.floor(e / 60), t = e % 60;
18
- return (r <= 0 ? "+" : "-") + I(n, 2, "0") + ":" + I(t, 2, "0");
19
- }, m: function o(r, e) {
20
- if (r.date() < e.date()) return -o(e, r);
21
- var n = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(n, S), s = e - t < 0, u = r.clone().add(n + (s ? -1 : 1), S);
22
- return +(-(n + (e - t) / (s ? t - u : u - t)) || 0);
23
- }, a: function(o) {
24
- return o < 0 ? Math.ceil(o) || 0 : Math.floor(o);
25
- }, p: function(o) {
26
- return { M: S, y: g, w: N, d: Y, D: k, h: x, m: _, s: c, ms: p, Q: G }[o] || String(o || "").toLowerCase().replace(/s$/, "");
27
- }, u: function(o) {
28
- return o === void 0;
29
- } }, C = "en", w = {};
30
- w[C] = _e;
31
- var ee = "$isDayjsObject", E = function(o) {
32
- return o instanceof A || !(!o || !o[ee]);
33
- }, z = function o(r, e, n) {
34
- var t;
35
- if (!r) return C;
36
- if (typeof r == "string") {
37
- var s = r.toLowerCase();
38
- w[s] && (t = s), e && (w[s] = e, t = s);
39
- var u = r.split("-");
40
- if (!t && u.length > 1) return o(u[0]);
41
- } else {
42
- var l = r.name;
43
- w[l] = r, t = l;
44
- }
45
- return !n && t && (C = t), t || !n && C;
46
- }, v = function(o, r) {
47
- if (E(o)) return o.clone();
48
- var e = typeof r == "object" ? r : {};
49
- return e.date = o, e.args = arguments, new A(e);
50
- }, f = me;
51
- f.l = z, f.i = E, f.w = function(o, r) {
52
- return v(o, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
53
- };
54
- var A = function() {
55
- function o(e) {
56
- this.$L = z(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[ee] = !0;
57
- }
58
- var r = o.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 u = t.match(he);
67
- if (u) {
68
- var l = u[2] - 1 || 0, y = (u[7] || "0").substring(0, 3);
69
- return s ? new Date(Date.UTC(u[1], l, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, y)) : new Date(u[1], l, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, y);
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, u = f.p(e), l = function(P, D) {
96
- var O = f.w(t.$u ? Date.UTC(t.$y, D, P) : new Date(t.$y, D, P), t);
97
- return s ? O : O.endOf(Y);
98
- }, y = function(P, D) {
99
- return f.w(t.toDate()[P].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(D)), t);
100
- }, $ = this.$W, M = this.$M, b = this.$D, q = "set" + (this.$u ? "UTC" : "");
101
- switch (u) {
102
- case g:
103
- return s ? l(1, 0) : l(31, 11);
104
- case S:
105
- return s ? l(1, M) : l(0, M + 1);
106
- case N:
107
- var j = this.$locale().weekStart || 0, L = ($ < j ? $ + 7 : $) - j;
108
- return l(s ? b - L : b + (6 - L), M);
109
- case Y:
110
- case k:
111
- return y(q + "Hours", 0);
112
- case x:
113
- return y(q + "Minutes", 1);
114
- case _:
115
- return y(q + "Seconds", 2);
116
- case c:
117
- return y(q + "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), u = "set" + (this.$u ? "UTC" : ""), l = (t = {}, t[Y] = u + "Date", t[k] = u + "Date", t[S] = u + "Month", t[g] = u + "FullYear", t[x] = u + "Hours", t[_] = u + "Minutes", t[c] = u + "Seconds", t[p] = u + "Milliseconds", t)[s], y = s === Y ? this.$D + (n - this.$W) : n;
125
- if (s === S || s === g) {
126
- var $ = this.clone().set(k, 1);
127
- $.$d[l](y), $.init(), this.$d = $.set(k, Math.min(this.$D, $.daysInMonth())).$d;
128
- } else l && this.$d[l](y);
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 u = f.p(n), l = function(M) {
138
- var b = v(s);
139
- return f.w(b.date(b.date() + Math.round(M * e)), s);
140
- };
141
- if (u === S) return this.set(S, this.$M + e);
142
- if (u === g) return this.set(g, this.$y + e);
143
- if (u === Y) return l(1);
144
- if (u === N) return l(7);
145
- var y = (t = {}, t[_] = a, t[x] = h, t[c] = d, t)[u] || 1, $ = this.$d.getTime() + e * y;
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", u = f.z(this), l = this.$H, y = this.$m, $ = this.$M, M = t.weekdays, b = t.months, q = t.meridiem, j = function(D, O, T, F) {
153
- return D && (D[O] || D(n, s)) || T[O].slice(0, F);
154
- }, L = function(D) {
155
- return f.s(l % 12 || 12, D, "0");
156
- }, P = q || function(D, O, T) {
157
- var F = D < 12 ? "AM" : "PM";
158
- return T ? F.toLowerCase() : F;
159
- };
160
- return s.replace(ye, function(D, O) {
161
- return O || function(T) {
162
- switch (T) {
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 j(t.monthsShort, $, b, 3);
173
- case "MMMM":
174
- return j(b, $);
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 j(t.weekdaysMin, n.$W, M, 2);
183
- case "ddd":
184
- return j(t.weekdaysShort, n.$W, M, 3);
185
- case "dddd":
186
- return M[n.$W];
187
- case "H":
188
- return String(l);
189
- case "HH":
190
- return f.s(l, 2, "0");
191
- case "h":
192
- return L(1);
193
- case "hh":
194
- return L(2);
195
- case "a":
196
- return P(l, y, !0);
197
- case "A":
198
- return P(l, y, !1);
199
- case "m":
200
- return String(y);
201
- case "mm":
202
- return f.s(y, 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 u;
211
- }
212
- return null;
213
- }(D) || u.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, u = this, l = f.p(n), y = v(e), $ = (y.utcOffset() - this.utcOffset()) * a, M = this - y, b = function() {
219
- return f.m(u, y);
220
- };
221
- switch (l) {
222
- case g:
223
- s = b() / 12;
224
- break;
225
- case S:
226
- s = b();
227
- break;
228
- case G:
229
- s = b() / 3;
230
- break;
231
- case N:
232
- s = (M - $) / 6048e5;
233
- break;
234
- case Y:
235
- s = (M - $) / 864e5;
236
- break;
237
- case x:
238
- s = M / h;
239
- break;
240
- case _:
241
- s = M / a;
242
- break;
243
- case c:
244
- s = M / d;
245
- break;
246
- default:
247
- s = M;
248
- }
249
- return t ? s : f.a(s);
250
- }, r.daysInMonth = function() {
251
- return this.endOf(S).$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 = z(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
- }, o;
269
- }(), te = A.prototype;
270
- return v.prototype = te, [["$ms", p], ["$s", c], ["$m", _], ["$H", x], ["$W", Y], ["$M", S], ["$y", g], ["$D", k]].forEach(function(o) {
271
- te[o[1]] = function(r) {
272
- return this.$g(r, o[0], o[1]);
273
- };
274
- }), v.extend = function(o, r) {
275
- return o.$i || (o(r, A, v), o.$i = !0), v;
276
- }, v.locale = z, v.isDayjs = E, v.unix = function(o) {
277
- return v(1e3 * o);
278
- }, v.en = w[C], v.Ls = w, v.p = {}, v;
279
- });
280
- }(Z)), Z.exports;
281
- }
282
- var Me = W.exports, ne;
283
- function xe() {
284
- return ne || (ne = 1, function(i, m) {
285
- (function(d, a) {
286
- i.exports = a($e());
287
- })(Me, function(d) {
288
- function a(c) {
289
- return c && typeof c == "object" && "default" in c ? c : { default: c };
290
- }
291
- var h = a(d), p = { name: "zh", weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"), weekdaysShort: "周日_周一_周二_周三_周四_周五_周六".split("_"), weekdaysMin: "日_一_二_三_四_五_六".split("_"), months: "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"), monthsShort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"), ordinal: function(c, _) {
292
- return _ === "W" ? c + "周" : c + "日";
293
- }, weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "YYYY/MM/DD", LL: "YYYY年M月D日", LLL: "YYYY年M月D日Ah点mm分", LLLL: "YYYY年M月D日ddddAh点mm分", l: "YYYY/M/D", ll: "YYYY年M月D日", lll: "YYYY年M月D日 HH:mm", llll: "YYYY年M月D日dddd HH:mm" }, relativeTime: { future: "%s后", past: "%s前", s: "几秒", m: "1 分钟", mm: "%d 分钟", h: "1 小时", hh: "%d 小时", d: "1 天", dd: "%d 天", M: "1 个月", MM: "%d 个月", y: "1 年", yy: "%d 年" }, meridiem: function(c, _) {
294
- var x = 100 * c + _;
295
- return x < 600 ? "凌晨" : x < 900 ? "早上" : x < 1100 ? "上午" : x < 1300 ? "中午" : x < 1800 ? "下午" : "晚上";
296
- } };
297
- return h.default.locale(p, null, !0), p;
298
- });
299
- }(W)), W.exports;
300
- }
301
- var De = xe();
302
- const be = /* @__PURE__ */ de(De);
303
- var H = {}, K = { exports: {} }, ie;
304
- function Se() {
305
- return ie || (ie = 1, function(i) {
306
- function m(d) {
307
- return d && d.__esModule ? d : {
308
- default: d
309
- };
310
- }
311
- i.exports = m, i.exports.__esModule = !0, i.exports.default = i.exports;
312
- }(K)), K.exports;
313
- }
314
- var U = { exports: {} }, J = { exports: {} }, B = { exports: {} }, V = { exports: {} }, oe;
315
- function pe() {
316
- return oe || (oe = 1, function(i) {
317
- function m(d) {
318
- "@babel/helpers - typeof";
319
- return i.exports = m = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(a) {
320
- return typeof a;
321
- } : function(a) {
322
- return a && typeof Symbol == "function" && a.constructor === Symbol && a !== Symbol.prototype ? "symbol" : typeof a;
323
- }, i.exports.__esModule = !0, i.exports.default = i.exports, m(d);
324
- }
325
- i.exports = m, i.exports.__esModule = !0, i.exports.default = i.exports;
326
- }(V)), V.exports;
327
- }
328
- var Q = { exports: {} }, se;
329
- function Ye() {
330
- return se || (se = 1, function(i) {
331
- var m = pe().default;
332
- function d(a, h) {
333
- if (m(a) != "object" || !a) return a;
334
- var p = a[Symbol.toPrimitive];
335
- if (p !== void 0) {
336
- var c = p.call(a, h || "default");
337
- if (m(c) != "object") return c;
338
- throw new TypeError("@@toPrimitive must return a primitive value.");
339
- }
340
- return (h === "string" ? String : Number)(a);
341
- }
342
- i.exports = d, i.exports.__esModule = !0, i.exports.default = i.exports;
343
- }(Q)), Q.exports;
344
- }
345
- var ue;
346
- function ge() {
347
- return ue || (ue = 1, function(i) {
348
- var m = pe().default, d = Ye();
349
- function a(h) {
350
- var p = d(h, "string");
351
- return m(p) == "symbol" ? p : p + "";
352
- }
353
- i.exports = a, i.exports.__esModule = !0, i.exports.default = i.exports;
354
- }(B)), B.exports;
355
- }
356
- var ae;
357
- function Oe() {
358
- return ae || (ae = 1, function(i) {
359
- var m = ge();
360
- function d(a, h, p) {
361
- return (h = m(h)) in a ? Object.defineProperty(a, h, {
362
- value: p,
363
- enumerable: !0,
364
- configurable: !0,
365
- writable: !0
366
- }) : a[h] = p, a;
367
- }
368
- i.exports = d, i.exports.__esModule = !0, i.exports.default = i.exports;
369
- }(J)), J.exports;
370
- }
371
- var ce;
372
- function we() {
373
- return ce || (ce = 1, function(i) {
374
- var m = Oe();
375
- function d(h, p) {
376
- var c = Object.keys(h);
377
- if (Object.getOwnPropertySymbols) {
378
- var _ = Object.getOwnPropertySymbols(h);
379
- p && (_ = _.filter(function(x) {
380
- return Object.getOwnPropertyDescriptor(h, x).enumerable;
381
- })), c.push.apply(c, _);
382
- }
383
- return c;
384
- }
385
- function a(h) {
386
- for (var p = 1; p < arguments.length; p++) {
387
- var c = arguments[p] != null ? arguments[p] : {};
388
- p % 2 ? d(Object(c), !0).forEach(function(_) {
389
- m(h, _, c[_]);
390
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(h, Object.getOwnPropertyDescriptors(c)) : d(Object(c)).forEach(function(_) {
391
- Object.defineProperty(h, _, Object.getOwnPropertyDescriptor(c, _));
392
- });
393
- }
394
- return h;
395
- }
396
- i.exports = a, i.exports.__esModule = !0, i.exports.default = i.exports;
397
- }(U)), U.exports;
398
- }
399
- var R = {}, fe;
400
- function je() {
401
- return fe || (fe = 1, Object.defineProperty(R, "__esModule", {
402
- value: !0
403
- }), R.commonLocale = void 0, R.commonLocale = {
404
- yearFormat: "YYYY",
405
- dayFormat: "D",
406
- cellMeridiemFormat: "A",
407
- monthBeforeYear: !0
408
- }), R;
409
- }
410
- var le;
411
- function Pe() {
412
- if (le) return H;
413
- le = 1;
414
- var i = Se().default;
415
- Object.defineProperty(H, "__esModule", {
416
- value: !0
417
- }), H.default = void 0;
418
- var m = i(we()), d = je(), a = (0, m.default)((0, m.default)({}, d.commonLocale), {}, {
419
- locale: "zh_CN",
420
- today: "今天",
421
- now: "此刻",
422
- backToToday: "返回今天",
423
- ok: "确定",
424
- timeSelect: "选择时间",
425
- dateSelect: "选择日期",
426
- weekSelect: "选择周",
427
- clear: "清除",
428
- week: "周",
429
- month: "月",
430
- year: "年",
431
- previousMonth: "上个月 (翻页上键)",
432
- nextMonth: "下个月 (翻页下键)",
433
- monthSelect: "选择月份",
434
- yearSelect: "选择年份",
435
- decadeSelect: "选择年代",
436
- previousYear: "上一年 (Control键加左方向键)",
437
- nextYear: "下一年 (Control键加右方向键)",
438
- previousDecade: "上一年代",
439
- nextDecade: "下一年代",
440
- previousCentury: "上一世纪",
441
- nextCentury: "下一世纪",
442
- yearFormat: "YYYY年",
443
- cellDateFormat: "D",
444
- monthBeforeYear: !1
445
- });
446
- return H.default = a, H;
447
- }
448
- var ke = Pe();
449
- const qe = /* @__PURE__ */ de(ke), Ce = {
1
+ const e = {
450
2
  design: {
451
3
  Confirm: {
452
4
  cancel: "取消",
453
5
  confirm: "确定"
454
6
  },
455
- Picker: {
456
- ...be,
457
- ...qe
458
- },
459
7
  CascaderList: {
460
8
  empty: "无"
461
9
  },
10
+ Calendar: {
11
+ year: "年",
12
+ weekDays: ["日", "一", "二", "三", "四", "五", "六"],
13
+ months: [
14
+ "一月",
15
+ "二月",
16
+ "三月",
17
+ "四月",
18
+ "五月",
19
+ "六月",
20
+ "七月",
21
+ "八月",
22
+ "九月",
23
+ "十月",
24
+ "十一月",
25
+ "十二月"
26
+ ]
27
+ },
462
28
  Select: {
463
29
  empty: "无"
464
30
  },
@@ -470,5 +36,5 @@ const qe = /* @__PURE__ */ de(ke), Ce = {
470
36
  }
471
37
  };
472
38
  export {
473
- Ce as default
39
+ e as default
474
40
  };