@univerjs/design 0.6.1 → 0.6.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 (59) hide show
  1. package/lib/cjs/index.js +156 -74
  2. package/lib/cjs/locale/en-US.js +1 -1
  3. package/lib/cjs/locale/fa-IR.js +1 -1
  4. package/lib/cjs/locale/fr-FR.js +1 -1
  5. package/lib/cjs/locale/ru-RU.js +1 -1
  6. package/lib/cjs/locale/vi-VN.js +1 -1
  7. package/lib/cjs/locale/zh-CN.js +1 -1
  8. package/lib/cjs/locale/zh-TW.js +1 -1
  9. package/lib/es/index.js +15220 -11356
  10. package/lib/es/locale/en-US.js +3 -6
  11. package/lib/es/locale/fa-IR.js +0 -3
  12. package/lib/es/locale/fr-FR.js +72 -75
  13. package/lib/es/locale/ru-RU.js +48 -51
  14. package/lib/es/locale/vi-VN.js +16 -19
  15. package/lib/es/locale/zh-CN.js +0 -3
  16. package/lib/es/locale/zh-TW.js +0 -3
  17. package/lib/index.css +1 -1
  18. package/lib/types/components/avatar/Avatar.d.ts +3 -3
  19. package/lib/types/components/button/Button.d.ts +4 -4
  20. package/lib/types/components/checkbox-group/CheckboxGroup.d.ts +3 -3
  21. package/lib/types/components/config-provider/ConfigProvider.d.ts +1 -1
  22. package/lib/types/components/dialog/Dialog.d.ts +5 -0
  23. package/lib/types/components/dropdown/Dropdown.d.ts +11 -0
  24. package/lib/types/components/dropdown/Dropdown.stories.d.ts +2 -2
  25. package/lib/types/components/dropdown/PopoverPrimitive.d.ts +7 -0
  26. package/lib/types/components/dropdown/index.d.ts +1 -3
  27. package/lib/types/components/dropdown-legacy/DropdownLegacy.d.ts +1 -0
  28. package/lib/types/components/dropdown-menu/DropdownMenu.d.ts +31 -0
  29. package/lib/types/components/dropdown-menu/DropdownMenuPrimitive.d.ts +25 -0
  30. package/lib/types/components/dropdown-menu/index.d.ts +16 -0
  31. package/lib/types/components/input/Input.d.ts +1 -0
  32. package/lib/types/components/message/Message.d.ts +16 -2
  33. package/lib/types/components/radio-group/RadioGroup.d.ts +3 -3
  34. package/lib/types/components/segmented/Segmented.d.ts +28 -4
  35. package/lib/types/components/segmented/index.d.ts +1 -1
  36. package/lib/types/components/select/Select.d.ts +6 -6
  37. package/lib/types/components/separator/Separator.d.ts +4 -0
  38. package/lib/types/components/{slider/__test__/index.spec.d.ts → separator/index.d.ts} +1 -1
  39. package/lib/types/components/tooltip/Tooltip.d.ts +2 -1
  40. package/lib/types/{components/slider/index.d.ts → helper/is-browser.d.ts} +1 -1
  41. package/lib/types/index.d.ts +6 -4
  42. package/lib/types/locale/interface.d.ts +0 -1
  43. package/lib/umd/index.js +155 -73
  44. package/lib/umd/locale/en-US.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +9 -11
  52. package/lib/types/components/dropdown/DropdownContext.d.ts +0 -11
  53. package/lib/types/components/dropdown/DropdownOverlay.d.ts +0 -14
  54. package/lib/types/components/dropdown/DropdownProvider.d.ts +0 -9
  55. package/lib/types/components/dropdown/DropdownTrigger.d.ts +0 -6
  56. package/lib/types/components/icon/Icon.stories.d.ts +0 -6
  57. package/lib/types/components/slider/Slider.d.ts +0 -47
  58. package/lib/types/components/slider/Slider.stories.d.ts +0 -7
  59. /package/lib/types/{utils/render.d.ts → helper/react-dom.d.ts} +0 -0
@@ -14,8 +14,8 @@ function Y() {
14
14
  });
15
15
  }(c)), c.exports;
16
16
  }
17
- var R = Y();
18
- const C = /* @__PURE__ */ g(R);
17
+ var C = Y();
18
+ const R = /* @__PURE__ */ g(C);
19
19
  var s = {}, f = { exports: {} }, b;
20
20
  function E() {
21
21
  return b || (b = 1, function(e) {
@@ -166,11 +166,8 @@ const A = /* @__PURE__ */ g(L), J = {
166
166
  cancel: "cancel",
167
167
  confirm: "ok"
168
168
  },
169
- Slider: {
170
- resetTo: "Reset to"
171
- },
172
169
  Picker: {
173
- ...C,
170
+ ...R,
174
171
  ...A
175
172
  },
176
173
  CascaderList: {
@@ -166,9 +166,6 @@ const A = /* @__PURE__ */ g(N), J = {
166
166
  cancel: "لغو",
167
167
  confirm: "باشه"
168
168
  },
169
- Slider: {
170
- resetTo: "بازنشانی به"
171
- },
172
169
  Picker: {
173
170
  ...R,
174
171
  ...A
@@ -7,58 +7,58 @@ function $e() {
7
7
  (function(l, a) {
8
8
  i.exports = a();
9
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(s) {
11
- var r = ["th", "st", "nd", "rd"], e = s % 100;
12
- return "[" + s + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
13
- } }, z = function(s, r, e) {
14
- var n = String(s);
15
- return !n || n.length >= r ? s : "" + Array(r + 1 - n.length).join(e) + s;
16
- }, ve = { s: z, z: function(s) {
17
- var r = -s.utcOffset(), e = Math.abs(r), n = Math.floor(e / 60), t = e % 60;
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
18
  return (r <= 0 ? "+" : "-") + z(n, 2, "0") + ":" + z(t, 2, "0");
19
- }, m: function s(r, e) {
20
- if (r.date() < e.date()) return -s(e, r);
21
- var n = 12 * (e.year() - r.year()) + (e.month() - r.month()), t = r.clone().add(n, b), u = e - t < 0, o = r.clone().add(n + (u ? -1 : 1), b);
22
- return +(-(n + (e - t) / (u ? t - o : o - t)) || 0);
23
- }, a: function(s) {
24
- return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
25
- }, p: function(s) {
26
- return { M: b, y: O, w: C, d: g, D: q, h: S, m: $, s: c, ms: p, Q: G }[s] || String(s || "").toLowerCase().replace(/s$/, "");
27
- }, u: function(s) {
28
- return s === void 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
29
  } }, L = "en", w = {};
30
30
  w[L] = ye;
31
- var ee = "$isDayjsObject", N = function(s) {
32
- return s instanceof W || !(!s || !s[ee]);
33
- }, A = function s(r, e, n) {
31
+ var ee = "$isDayjsObject", N = function(u) {
32
+ return u instanceof W || !(!u || !u[ee]);
33
+ }, A = function u(r, e, n) {
34
34
  var t;
35
35
  if (!r) return L;
36
36
  if (typeof r == "string") {
37
- var u = r.toLowerCase();
38
- w[u] && (t = u), e && (w[u] = e, t = u);
37
+ var s = r.toLowerCase();
38
+ w[s] && (t = s), e && (w[s] = e, t = s);
39
39
  var o = r.split("-");
40
- if (!t && o.length > 1) return s(o[0]);
40
+ if (!t && o.length > 1) return u(o[0]);
41
41
  } else {
42
42
  var d = r.name;
43
43
  w[d] = r, t = d;
44
44
  }
45
45
  return !n && t && (L = t), t || !n && L;
46
- }, v = function(s, r) {
47
- if (N(s)) return s.clone();
46
+ }, v = function(u, r) {
47
+ if (N(u)) return u.clone();
48
48
  var e = typeof r == "object" ? r : {};
49
- return e.date = s, e.args = arguments, new W(e);
49
+ return e.date = u, e.args = arguments, new W(e);
50
50
  }, f = ve;
51
- f.l = A, f.i = N, f.w = function(s, r) {
52
- return v(s, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
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
53
  };
54
54
  var W = function() {
55
- function s(e) {
55
+ function u(e) {
56
56
  this.$L = A(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[ee] = !0;
57
57
  }
58
- var r = s.prototype;
58
+ var r = u.prototype;
59
59
  return r.parse = function(e) {
60
60
  this.$d = function(n) {
61
- var t = n.date, u = n.utc;
61
+ var t = n.date, s = n.utc;
62
62
  if (t === null) return /* @__PURE__ */ new Date(NaN);
63
63
  if (f.u(t)) return /* @__PURE__ */ new Date();
64
64
  if (t instanceof Date) return new Date(t);
@@ -66,7 +66,7 @@ function $e() {
66
66
  var o = t.match(he);
67
67
  if (o) {
68
68
  var d = o[2] - 1 || 0, m = (o[7] || "0").substring(0, 3);
69
- return u ? 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);
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
70
  }
71
71
  }
72
72
  return new Date(t);
@@ -92,20 +92,20 @@ function $e() {
92
92
  }, r.valueOf = function() {
93
93
  return this.$d.getTime();
94
94
  }, r.startOf = function(e, n) {
95
- var t = this, u = !!f.u(n) || n, o = f.p(e), d = function(P, x) {
95
+ var t = this, s = !!f.u(n) || n, o = f.p(e), d = function(P, x) {
96
96
  var j = f.w(t.$u ? Date.UTC(t.$y, x, P) : new Date(t.$y, x, P), t);
97
- return u ? j : j.endOf(g);
97
+ return s ? j : j.endOf(g);
98
98
  }, m = function(P, x) {
99
- return f.w(t.toDate()[P].apply(t.toDate("s"), (u ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(x)), t);
99
+ return f.w(t.toDate()[P].apply(t.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(x)), t);
100
100
  }, _ = this.$W, M = this.$M, D = this.$D, k = "set" + (this.$u ? "UTC" : "");
101
101
  switch (o) {
102
102
  case O:
103
- return u ? d(1, 0) : d(31, 11);
103
+ return s ? d(1, 0) : d(31, 11);
104
104
  case b:
105
- return u ? d(1, M) : d(0, M + 1);
105
+ return s ? d(1, M) : d(0, M + 1);
106
106
  case C:
107
107
  var Y = this.$locale().weekStart || 0, F = (_ < Y ? _ + 7 : _) - Y;
108
- return d(u ? D - F : D + (6 - F), M);
108
+ return d(s ? D - F : D + (6 - F), M);
109
109
  case g:
110
110
  case q:
111
111
  return m(k + "Hours", 0);
@@ -121,8 +121,8 @@ function $e() {
121
121
  }, r.endOf = function(e) {
122
122
  return this.startOf(e, !1);
123
123
  }, r.$set = function(e, n) {
124
- var t, u = 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)[u], m = u === g ? this.$D + (n - this.$W) : n;
125
- if (u === b || u === O) {
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
126
  var _ = this.clone().set(q, 1);
127
127
  _.$d[d](m), _.init(), this.$d = _.set(q, Math.min(this.$D, _.daysInMonth())).$d;
128
128
  } else d && this.$d[d](m);
@@ -132,11 +132,11 @@ function $e() {
132
132
  }, r.get = function(e) {
133
133
  return this[f.p(e)]();
134
134
  }, r.add = function(e, n) {
135
- var t, u = this;
135
+ var t, s = this;
136
136
  e = Number(e);
137
137
  var o = f.p(n), d = function(M) {
138
- var D = v(u);
139
- return f.w(D.date(D.date() + Math.round(M * e)), u);
138
+ var D = v(s);
139
+ return f.w(D.date(D.date() + Math.round(M * e)), s);
140
140
  };
141
141
  if (o === b) return this.set(b, this.$M + e);
142
142
  if (o === O) return this.set(O, this.$y + e);
@@ -149,15 +149,15 @@ function $e() {
149
149
  }, r.format = function(e) {
150
150
  var n = this, t = this.$locale();
151
151
  if (!this.isValid()) return t.invalidDate || X;
152
- var u = 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, u)) || R[j].slice(0, I);
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
154
  }, F = function(x) {
155
155
  return f.s(d % 12 || 12, x, "0");
156
156
  }, P = k || function(x, j, R) {
157
157
  var I = x < 12 ? "AM" : "PM";
158
158
  return R ? I.toLowerCase() : I;
159
159
  };
160
- return u.replace(me, function(x, j) {
160
+ return s.replace(me, function(x, j) {
161
161
  return j || function(R) {
162
162
  switch (R) {
163
163
  case "YY":
@@ -215,46 +215,46 @@ function $e() {
215
215
  }, r.utcOffset = function() {
216
216
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
217
217
  }, r.diff = function(e, n, t) {
218
- var u, o = this, d = f.p(n), m = v(e), _ = (m.utcOffset() - this.utcOffset()) * a, M = this - m, D = function() {
218
+ var s, o = this, d = f.p(n), m = v(e), _ = (m.utcOffset() - this.utcOffset()) * a, M = this - m, D = function() {
219
219
  return f.m(o, m);
220
220
  };
221
221
  switch (d) {
222
222
  case O:
223
- u = D() / 12;
223
+ s = D() / 12;
224
224
  break;
225
225
  case b:
226
- u = D();
226
+ s = D();
227
227
  break;
228
228
  case G:
229
- u = D() / 3;
229
+ s = D() / 3;
230
230
  break;
231
231
  case C:
232
- u = (M - _) / 6048e5;
232
+ s = (M - _) / 6048e5;
233
233
  break;
234
234
  case g:
235
- u = (M - _) / 864e5;
235
+ s = (M - _) / 864e5;
236
236
  break;
237
237
  case S:
238
- u = M / h;
238
+ s = M / h;
239
239
  break;
240
240
  case $:
241
- u = M / a;
241
+ s = M / a;
242
242
  break;
243
243
  case c:
244
- u = M / l;
244
+ s = M / l;
245
245
  break;
246
246
  default:
247
- u = M;
247
+ s = M;
248
248
  }
249
- return t ? u : f.a(u);
249
+ return t ? s : f.a(s);
250
250
  }, r.daysInMonth = function() {
251
251
  return this.endOf(b).$D;
252
252
  }, r.$locale = function() {
253
253
  return w[this.$L];
254
254
  }, r.locale = function(e, n) {
255
255
  if (!e) return this.$L;
256
- var t = this.clone(), u = A(e, n, !0);
257
- return u && (t.$L = u), t;
256
+ var t = this.clone(), s = A(e, n, !0);
257
+ return s && (t.$L = s), t;
258
258
  }, r.clone = function() {
259
259
  return f.w(this.$d, this);
260
260
  }, r.toDate = function() {
@@ -265,16 +265,16 @@ function $e() {
265
265
  return this.$d.toISOString();
266
266
  }, r.toString = function() {
267
267
  return this.$d.toUTCString();
268
- }, s;
268
+ }, u;
269
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(s) {
271
- te[s[1]] = function(r) {
272
- return this.$g(r, s[0], s[1]);
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
273
  };
274
- }), v.extend = function(s, r) {
275
- return s.$i || (s(r, W, v), s.$i = !0), v;
276
- }, v.locale = A, v.isDayjs = N, v.unix = function(s) {
277
- return v(1e3 * s);
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
278
  }, v.en = w[L], v.Ls = w, v.p = {}, v;
279
279
  });
280
280
  }(K)), K.exports;
@@ -308,9 +308,9 @@ function Se() {
308
308
  i.exports = y, i.exports.__esModule = !0, i.exports.default = i.exports;
309
309
  }(U)), U.exports;
310
310
  }
311
- var J = { exports: {} }, Z = { exports: {} }, V = { exports: {} }, B = { exports: {} }, se;
311
+ var J = { exports: {} }, Z = { exports: {} }, V = { exports: {} }, B = { exports: {} }, ue;
312
312
  function pe() {
313
- return se || (se = 1, function(i) {
313
+ return ue || (ue = 1, function(i) {
314
314
  function y(l) {
315
315
  "@babel/helpers - typeof";
316
316
  return i.exports = y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(a) {
@@ -322,9 +322,9 @@ function pe() {
322
322
  i.exports = y, i.exports.__esModule = !0, i.exports.default = i.exports;
323
323
  }(B)), B.exports;
324
324
  }
325
- var Q = { exports: {} }, ue;
325
+ var Q = { exports: {} }, se;
326
326
  function ge() {
327
- return ue || (ue = 1, function(i) {
327
+ return se || (se = 1, function(i) {
328
328
  var y = pe().default;
329
329
  function l(a, h) {
330
330
  if (y(a) != "object" || !a) return a;
@@ -447,9 +447,6 @@ const ke = /* @__PURE__ */ le(qe), Le = {
447
447
  cancel: "annuler",
448
448
  confirm: "ok"
449
449
  },
450
- Slider: {
451
- resetTo: "Réinitialiser à"
452
- },
453
450
  Picker: {
454
451
  ...be,
455
452
  ...ke
@@ -4,10 +4,10 @@ function _e(i) {
4
4
  var Z = { exports: {} }, z = { exports: {} }, ve = z.exports, ue;
5
5
  function $e() {
6
6
  return ue || (ue = 1, function(i, m) {
7
- (function(p, a) {
7
+ (function(l, a) {
8
8
  i.exports = a();
9
9
  })(ve, function() {
10
- var p = 1e3, a = 6e4, h = 36e5, d = "millisecond", _ = "second", v = "minute", g = "hour", O = "day", w = "week", D = "month", T = "quarter", Y = "year", f = "date", j = "Invalid Date", E = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, P = /\[([^\]]+)]|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, H = { 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) {
10
+ var l = 1e3, a = 6e4, h = 36e5, d = "millisecond", _ = "second", v = "minute", g = "hour", O = "day", w = "week", D = "month", T = "quarter", Y = "year", f = "date", j = "Invalid Date", E = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, P = /\[([^\]]+)]|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, H = { 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
11
  var r = ["th", "st", "nd", "rd"], e = u % 100;
12
12
  return "[" + u + (r[(e - 20) % 10] || r[e] || r[0]) + "]";
13
13
  } }, V = function(u, r, e) {
@@ -39,8 +39,8 @@ function $e() {
39
39
  var s = r.split("-");
40
40
  if (!t && s.length > 1) return u(s[0]);
41
41
  } else {
42
- var l = r.name;
43
- q[l] = r, t = l;
42
+ var p = r.name;
43
+ q[p] = r, t = p;
44
44
  }
45
45
  return !n && t && (U = t), t || !n && U;
46
46
  }, $ = function(u, r) {
@@ -65,8 +65,8 @@ function $e() {
65
65
  if (typeof t == "string" && !/Z$/i.test(t)) {
66
66
  var s = t.match(E);
67
67
  if (s) {
68
- var l = s[2] - 1 || 0, y = (s[7] || "0").substring(0, 3);
69
- return o ? new Date(Date.UTC(s[1], l, s[3] || 1, s[4] || 0, s[5] || 0, s[6] || 0, y)) : new Date(s[1], l, s[3] || 1, s[4] || 0, s[5] || 0, s[6] || 0, y);
68
+ var p = s[2] - 1 || 0, y = (s[7] || "0").substring(0, 3);
69
+ return o ? new Date(Date.UTC(s[1], p, s[3] || 1, s[4] || 0, s[5] || 0, s[6] || 0, y)) : new Date(s[1], p, s[3] || 1, s[4] || 0, s[5] || 0, s[6] || 0, y);
70
70
  }
71
71
  }
72
72
  return new Date(t);
@@ -92,7 +92,7 @@ function $e() {
92
92
  }, r.valueOf = function() {
93
93
  return this.$d.getTime();
94
94
  }, r.startOf = function(e, n) {
95
- var t = this, o = !!c.u(n) || n, s = c.p(e), l = function(k, b) {
95
+ var t = this, o = !!c.u(n) || n, s = c.p(e), p = function(k, b) {
96
96
  var R = c.w(t.$u ? Date.UTC(t.$y, b, k) : new Date(t.$y, b, k), t);
97
97
  return o ? R : R.endOf(O);
98
98
  }, y = function(k, b) {
@@ -100,12 +100,12 @@ function $e() {
100
100
  }, M = this.$W, x = this.$M, S = this.$D, C = "set" + (this.$u ? "UTC" : "");
101
101
  switch (s) {
102
102
  case Y:
103
- return o ? l(1, 0) : l(31, 11);
103
+ return o ? p(1, 0) : p(31, 11);
104
104
  case D:
105
- return o ? l(1, x) : l(0, x + 1);
105
+ return o ? p(1, x) : p(0, x + 1);
106
106
  case w:
107
107
  var L = this.$locale().weekStart || 0, F = (M < L ? M + 7 : M) - L;
108
- return l(o ? S - F : S + (6 - F), x);
108
+ return p(o ? S - F : S + (6 - F), x);
109
109
  case O:
110
110
  case f:
111
111
  return y(C + "Hours", 0);
@@ -121,11 +121,11 @@ function $e() {
121
121
  }, r.endOf = function(e) {
122
122
  return this.startOf(e, !1);
123
123
  }, r.$set = function(e, n) {
124
- var t, o = c.p(e), s = "set" + (this.$u ? "UTC" : ""), l = (t = {}, t[O] = s + "Date", t[f] = s + "Date", t[D] = s + "Month", t[Y] = s + "FullYear", t[g] = s + "Hours", t[v] = s + "Minutes", t[_] = s + "Seconds", t[d] = s + "Milliseconds", t)[o], y = o === O ? this.$D + (n - this.$W) : n;
124
+ var t, o = c.p(e), s = "set" + (this.$u ? "UTC" : ""), p = (t = {}, t[O] = s + "Date", t[f] = s + "Date", t[D] = s + "Month", t[Y] = s + "FullYear", t[g] = s + "Hours", t[v] = s + "Minutes", t[_] = s + "Seconds", t[d] = s + "Milliseconds", t)[o], y = o === O ? this.$D + (n - this.$W) : n;
125
125
  if (o === D || o === Y) {
126
126
  var M = this.clone().set(f, 1);
127
- M.$d[l](y), M.init(), this.$d = M.set(f, Math.min(this.$D, M.daysInMonth())).$d;
128
- } else l && this.$d[l](y);
127
+ M.$d[p](y), M.init(), this.$d = M.set(f, Math.min(this.$D, M.daysInMonth())).$d;
128
+ } else p && this.$d[p](y);
129
129
  return this.init(), this;
130
130
  }, r.set = function(e, n) {
131
131
  return this.clone().$set(e, n);
@@ -134,25 +134,25 @@ function $e() {
134
134
  }, r.add = function(e, n) {
135
135
  var t, o = this;
136
136
  e = Number(e);
137
- var s = c.p(n), l = function(x) {
137
+ var s = c.p(n), p = function(x) {
138
138
  var S = $(o);
139
139
  return c.w(S.date(S.date() + Math.round(x * e)), o);
140
140
  };
141
141
  if (s === D) return this.set(D, this.$M + e);
142
142
  if (s === Y) return this.set(Y, this.$y + e);
143
- if (s === O) return l(1);
144
- if (s === w) return l(7);
145
- var y = (t = {}, t[v] = a, t[g] = h, t[_] = p, t)[s] || 1, M = this.$d.getTime() + e * y;
143
+ if (s === O) return p(1);
144
+ if (s === w) return p(7);
145
+ var y = (t = {}, t[v] = a, t[g] = h, t[_] = l, t)[s] || 1, M = this.$d.getTime() + e * y;
146
146
  return c.w(M, this);
147
147
  }, r.subtract = function(e, n) {
148
148
  return this.add(-1 * e, n);
149
149
  }, r.format = function(e) {
150
150
  var n = this, t = this.$locale();
151
151
  if (!this.isValid()) return t.invalidDate || j;
152
- var o = e || "YYYY-MM-DDTHH:mm:ssZ", s = c.z(this), l = this.$H, y = this.$m, M = this.$M, x = t.weekdays, S = t.months, C = t.meridiem, L = function(b, R, W, J) {
152
+ var o = e || "YYYY-MM-DDTHH:mm:ssZ", s = c.z(this), p = this.$H, y = this.$m, M = this.$M, x = t.weekdays, S = t.months, C = t.meridiem, L = function(b, R, W, J) {
153
153
  return b && (b[R] || b(n, o)) || W[R].slice(0, J);
154
154
  }, F = function(b) {
155
- return c.s(l % 12 || 12, b, "0");
155
+ return c.s(p % 12 || 12, b, "0");
156
156
  }, k = C || function(b, R, W) {
157
157
  var J = b < 12 ? "AM" : "PM";
158
158
  return W ? J.toLowerCase() : J;
@@ -185,17 +185,17 @@ function $e() {
185
185
  case "dddd":
186
186
  return x[n.$W];
187
187
  case "H":
188
- return String(l);
188
+ return String(p);
189
189
  case "HH":
190
- return c.s(l, 2, "0");
190
+ return c.s(p, 2, "0");
191
191
  case "h":
192
192
  return F(1);
193
193
  case "hh":
194
194
  return F(2);
195
195
  case "a":
196
- return k(l, y, !0);
196
+ return k(p, y, !0);
197
197
  case "A":
198
- return k(l, y, !1);
198
+ return k(p, y, !1);
199
199
  case "m":
200
200
  return String(y);
201
201
  case "mm":
@@ -215,10 +215,10 @@ function $e() {
215
215
  }, r.utcOffset = function() {
216
216
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
217
217
  }, r.diff = function(e, n, t) {
218
- var o, s = this, l = c.p(n), y = $(e), M = (y.utcOffset() - this.utcOffset()) * a, x = this - y, S = function() {
218
+ var o, s = this, p = c.p(n), y = $(e), M = (y.utcOffset() - this.utcOffset()) * a, x = this - y, S = function() {
219
219
  return c.m(s, y);
220
220
  };
221
- switch (l) {
221
+ switch (p) {
222
222
  case Y:
223
223
  o = S() / 12;
224
224
  break;
@@ -241,7 +241,7 @@ function $e() {
241
241
  o = x / a;
242
242
  break;
243
243
  case _:
244
- o = x / p;
244
+ o = x / l;
245
245
  break;
246
246
  default:
247
247
  o = x;
@@ -282,13 +282,13 @@ function $e() {
282
282
  var Me = Z.exports, oe;
283
283
  function xe() {
284
284
  return oe || (oe = 1, function(i, m) {
285
- (function(p, a) {
285
+ (function(l, a) {
286
286
  i.exports = a($e());
287
- })(Me, function(p) {
287
+ })(Me, function(l) {
288
288
  function a(f) {
289
289
  return f && typeof f == "object" && "default" in f ? f : { default: f };
290
290
  }
291
- var h = a(p), d = "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"), _ = "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"), v = "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"), g = "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"), O = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
291
+ var h = a(l), d = "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"), _ = "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"), v = "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"), g = "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"), O = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
292
292
  function w(f, j, E) {
293
293
  var P, H;
294
294
  return E === "m" ? j ? "минута" : "минуту" : f + " " + (P = +f, H = { mm: j ? "минута_минуты_минут" : "минуту_минуты_минут", hh: "час_часа_часов", dd: "день_дня_дней", MM: "месяц_месяца_месяцев", yy: "год_года_лет" }[E].split("_"), P % 10 == 1 && P % 100 != 11 ? H[0] : P % 10 >= 2 && P % 10 <= 4 && (P % 100 < 10 || P % 100 >= 20) ? H[1] : H[2]);
@@ -315,9 +315,9 @@ const be = /* @__PURE__ */ _e(De);
315
315
  var A = {}, Q = { exports: {} }, se;
316
316
  function Se() {
317
317
  return se || (se = 1, function(i) {
318
- function m(p) {
319
- return p && p.__esModule ? p : {
320
- default: p
318
+ function m(l) {
319
+ return l && l.__esModule ? l : {
320
+ default: l
321
321
  };
322
322
  }
323
323
  i.exports = m, i.exports.__esModule = !0, i.exports.default = i.exports;
@@ -326,13 +326,13 @@ function Se() {
326
326
  var G = { exports: {} }, X = { exports: {} }, ee = { exports: {} }, te = { exports: {} }, ae;
327
327
  function ye() {
328
328
  return ae || (ae = 1, function(i) {
329
- function m(p) {
329
+ function m(l) {
330
330
  "@babel/helpers - typeof";
331
331
  return i.exports = m = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(a) {
332
332
  return typeof a;
333
333
  } : function(a) {
334
334
  return a && typeof Symbol == "function" && a.constructor === Symbol && a !== Symbol.prototype ? "symbol" : typeof a;
335
- }, i.exports.__esModule = !0, i.exports.default = i.exports, m(p);
335
+ }, i.exports.__esModule = !0, i.exports.default = i.exports, m(l);
336
336
  }
337
337
  i.exports = m, i.exports.__esModule = !0, i.exports.default = i.exports;
338
338
  }(te)), te.exports;
@@ -341,7 +341,7 @@ var re = { exports: {} }, ce;
341
341
  function ge() {
342
342
  return ce || (ce = 1, function(i) {
343
343
  var m = ye().default;
344
- function p(a, h) {
344
+ function l(a, h) {
345
345
  if (m(a) != "object" || !a) return a;
346
346
  var d = a[Symbol.toPrimitive];
347
347
  if (d !== void 0) {
@@ -351,25 +351,25 @@ function ge() {
351
351
  }
352
352
  return (h === "string" ? String : Number)(a);
353
353
  }
354
- i.exports = p, i.exports.__esModule = !0, i.exports.default = i.exports;
354
+ i.exports = l, i.exports.__esModule = !0, i.exports.default = i.exports;
355
355
  }(re)), re.exports;
356
356
  }
357
357
  var fe;
358
358
  function Oe() {
359
359
  return fe || (fe = 1, function(i) {
360
- var m = ye().default, p = ge();
360
+ var m = ye().default, l = ge();
361
361
  function a(h) {
362
- var d = p(h, "string");
362
+ var d = l(h, "string");
363
363
  return m(d) == "symbol" ? d : d + "";
364
364
  }
365
365
  i.exports = a, i.exports.__esModule = !0, i.exports.default = i.exports;
366
366
  }(ee)), ee.exports;
367
367
  }
368
- var le;
368
+ var pe;
369
369
  function we() {
370
- return le || (le = 1, function(i) {
370
+ return pe || (pe = 1, function(i) {
371
371
  var m = Oe();
372
- function p(a, h, d) {
372
+ function l(a, h, d) {
373
373
  return (h = m(h)) in a ? Object.defineProperty(a, h, {
374
374
  value: d,
375
375
  enumerable: !0,
@@ -377,14 +377,14 @@ function we() {
377
377
  writable: !0
378
378
  }) : a[h] = d, a;
379
379
  }
380
- i.exports = p, i.exports.__esModule = !0, i.exports.default = i.exports;
380
+ i.exports = l, i.exports.__esModule = !0, i.exports.default = i.exports;
381
381
  }(X)), X.exports;
382
382
  }
383
- var pe;
383
+ var le;
384
384
  function Ye() {
385
- return pe || (pe = 1, function(i) {
385
+ return le || (le = 1, function(i) {
386
386
  var m = we();
387
- function p(h, d) {
387
+ function l(h, d) {
388
388
  var _ = Object.keys(h);
389
389
  if (Object.getOwnPropertySymbols) {
390
390
  var v = Object.getOwnPropertySymbols(h);
@@ -397,9 +397,9 @@ function Ye() {
397
397
  function a(h) {
398
398
  for (var d = 1; d < arguments.length; d++) {
399
399
  var _ = arguments[d] != null ? arguments[d] : {};
400
- d % 2 ? p(Object(_), !0).forEach(function(v) {
400
+ d % 2 ? l(Object(_), !0).forEach(function(v) {
401
401
  m(h, v, _[v]);
402
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(h, Object.getOwnPropertyDescriptors(_)) : p(Object(_)).forEach(function(v) {
402
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(h, Object.getOwnPropertyDescriptors(_)) : l(Object(_)).forEach(function(v) {
403
403
  Object.defineProperty(h, v, Object.getOwnPropertyDescriptor(_, v));
404
404
  });
405
405
  }
@@ -427,7 +427,7 @@ function Pe() {
427
427
  Object.defineProperty(A, "__esModule", {
428
428
  value: !0
429
429
  }), A.default = void 0;
430
- var m = i(Ye()), p = je(), a = (0, m.default)((0, m.default)({}, p.commonLocale), {}, {
430
+ var m = i(Ye()), l = je(), a = (0, m.default)((0, m.default)({}, l.commonLocale), {}, {
431
431
  locale: "ru_RU",
432
432
  today: "Сегодня",
433
433
  now: "Сейчас",
@@ -461,9 +461,6 @@ const qe = /* @__PURE__ */ _e(Re), Le = {
461
461
  cancel: "отмена",
462
462
  confirm: "ок"
463
463
  },
464
- Slider: {
465
- resetTo: "Сбросить до"
466
- },
467
464
  Picker: {
468
465
  ...be,
469
466
  ...qe