@univerjs/design 0.5.0 → 0.5.1
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 +22 -22
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -0
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +13339 -13259
- package/lib/es/locale/en-US.js +161 -142
- package/lib/es/locale/fa-IR.js +161 -142
- package/lib/es/locale/fr-FR.js +467 -0
- package/lib/es/locale/ru-RU.js +350 -330
- package/lib/es/locale/vi-VN.js +293 -273
- package/lib/es/locale/zh-CN.js +331 -311
- package/lib/es/locale/zh-TW.js +334 -314
- package/lib/index.css +1 -1
- package/lib/types/components/input/Input.d.ts +1 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/locale/fr-FR.d.ts +3 -0
- package/lib/umd/index.js +22 -22
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -8
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1,62 +1,61 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
1
|
+
function lt(i) {
|
|
2
|
+
return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
|
|
4
3
|
}
|
|
5
|
-
var
|
|
6
|
-
function
|
|
7
|
-
return
|
|
8
|
-
(function(
|
|
9
|
-
|
|
10
|
-
})(
|
|
11
|
-
var
|
|
12
|
-
var r = ["th", "st", "nd", "rd"], t =
|
|
13
|
-
return "[" +
|
|
14
|
-
} },
|
|
15
|
-
var n = String(
|
|
16
|
-
return !n || n.length >= r ?
|
|
17
|
-
},
|
|
18
|
-
var r = -
|
|
19
|
-
return (r <= 0 ? "+" : "-") +
|
|
20
|
-
}, m: function
|
|
21
|
-
if (r.date() < t.date()) return -
|
|
22
|
-
var n = 12 * (t.year() - r.year()) + (t.month() - r.month()), e = r.clone().add(n,
|
|
23
|
-
return +(-(n + (t - e) / (s ? e -
|
|
24
|
-
}, a: function(
|
|
25
|
-
return
|
|
26
|
-
}, p: function(
|
|
27
|
-
return { M:
|
|
28
|
-
}, u: function(
|
|
29
|
-
return
|
|
30
|
-
} }, H = "en",
|
|
31
|
-
|
|
32
|
-
var
|
|
33
|
-
return
|
|
34
|
-
},
|
|
4
|
+
var W = { exports: {} }, A = { exports: {} }, _t = A.exports, rt;
|
|
5
|
+
function Mt() {
|
|
6
|
+
return rt || (rt = 1, function(i, m) {
|
|
7
|
+
(function(l, a) {
|
|
8
|
+
i.exports = a();
|
|
9
|
+
})(_t, function() {
|
|
10
|
+
var l = 1e3, a = 6e4, d = 36e5, p = "millisecond", f = "second", M = "minute", b = "hour", S = "day", V = "week", D = "month", Q = "quarter", Y = "year", P = "date", G = "Invalid Date", dt = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, yt = /\[([^\]]+)]|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, mt = { 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"], t = o % 100;
|
|
12
|
+
return "[" + o + (r[(t - 20) % 10] || r[t] || r[0]) + "]";
|
|
13
|
+
} }, I = function(o, r, t) {
|
|
14
|
+
var n = String(o);
|
|
15
|
+
return !n || n.length >= r ? o : "" + Array(r + 1 - n.length).join(t) + o;
|
|
16
|
+
}, vt = { s: I, z: function(o) {
|
|
17
|
+
var r = -o.utcOffset(), t = Math.abs(r), n = Math.floor(t / 60), e = t % 60;
|
|
18
|
+
return (r <= 0 ? "+" : "-") + I(n, 2, "0") + ":" + I(e, 2, "0");
|
|
19
|
+
}, m: function o(r, t) {
|
|
20
|
+
if (r.date() < t.date()) return -o(t, r);
|
|
21
|
+
var n = 12 * (t.year() - r.year()) + (t.month() - r.month()), e = r.clone().add(n, D), s = t - e < 0, u = r.clone().add(n + (s ? -1 : 1), D);
|
|
22
|
+
return +(-(n + (t - e) / (s ? e - u : u - e)) || 0);
|
|
23
|
+
}, a: function(o) {
|
|
24
|
+
return o < 0 ? Math.ceil(o) || 0 : Math.floor(o);
|
|
25
|
+
}, p: function(o) {
|
|
26
|
+
return { M: D, y: Y, w: V, d: S, D: P, h: b, m: M, s: f, ms: p, Q }[o] || String(o || "").toLowerCase().replace(/s$/, "");
|
|
27
|
+
}, u: function(o) {
|
|
28
|
+
return o === void 0;
|
|
29
|
+
} }, H = "en", O = {};
|
|
30
|
+
O[H] = mt;
|
|
31
|
+
var tt = "$isDayjsObject", E = function(o) {
|
|
32
|
+
return o instanceof F || !(!o || !o[tt]);
|
|
33
|
+
}, R = function o(r, t, n) {
|
|
35
34
|
var e;
|
|
36
35
|
if (!r) return H;
|
|
37
36
|
if (typeof r == "string") {
|
|
38
37
|
var s = r.toLowerCase();
|
|
39
|
-
|
|
40
|
-
var
|
|
41
|
-
if (!e &&
|
|
38
|
+
O[s] && (e = s), t && (O[s] = t, e = s);
|
|
39
|
+
var u = r.split("-");
|
|
40
|
+
if (!e && u.length > 1) return o(u[0]);
|
|
42
41
|
} else {
|
|
43
42
|
var h = r.name;
|
|
44
|
-
|
|
43
|
+
O[h] = r, e = h;
|
|
45
44
|
}
|
|
46
45
|
return !n && e && (H = e), e || !n && H;
|
|
47
|
-
},
|
|
48
|
-
if (
|
|
46
|
+
}, v = function(o, r) {
|
|
47
|
+
if (E(o)) return o.clone();
|
|
49
48
|
var t = typeof r == "object" ? r : {};
|
|
50
|
-
return t.date =
|
|
51
|
-
}, c =
|
|
52
|
-
c.l =
|
|
53
|
-
return
|
|
49
|
+
return t.date = o, t.args = arguments, new F(t);
|
|
50
|
+
}, c = vt;
|
|
51
|
+
c.l = R, c.i = E, c.w = function(o, r) {
|
|
52
|
+
return v(o, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
|
54
53
|
};
|
|
55
54
|
var F = function() {
|
|
56
|
-
function
|
|
57
|
-
this.$L =
|
|
55
|
+
function o(t) {
|
|
56
|
+
this.$L = R(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[tt] = !0;
|
|
58
57
|
}
|
|
59
|
-
var r =
|
|
58
|
+
var r = o.prototype;
|
|
60
59
|
return r.parse = function(t) {
|
|
61
60
|
this.$d = function(n) {
|
|
62
61
|
var e = n.date, s = n.utc;
|
|
@@ -64,10 +63,10 @@ function lt() {
|
|
|
64
63
|
if (c.u(e)) return /* @__PURE__ */ new Date();
|
|
65
64
|
if (e instanceof Date) return new Date(e);
|
|
66
65
|
if (typeof e == "string" && !/Z$/i.test(e)) {
|
|
67
|
-
var
|
|
68
|
-
if (
|
|
69
|
-
var h =
|
|
70
|
-
return s ? new Date(Date.UTC(
|
|
66
|
+
var u = e.match(dt);
|
|
67
|
+
if (u) {
|
|
68
|
+
var h = u[2] - 1 || 0, y = (u[7] || "0").substring(0, 3);
|
|
69
|
+
return s ? new Date(Date.UTC(u[1], h, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, y)) : new Date(u[1], h, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, y);
|
|
71
70
|
}
|
|
72
71
|
}
|
|
73
72
|
return new Date(e);
|
|
@@ -78,14 +77,14 @@ function lt() {
|
|
|
78
77
|
}, r.$utils = function() {
|
|
79
78
|
return c;
|
|
80
79
|
}, r.isValid = function() {
|
|
81
|
-
return this.$d.toString() !==
|
|
80
|
+
return this.$d.toString() !== G;
|
|
82
81
|
}, r.isSame = function(t, n) {
|
|
83
|
-
var e =
|
|
82
|
+
var e = v(t);
|
|
84
83
|
return this.startOf(n) <= e && e <= this.endOf(n);
|
|
85
84
|
}, r.isAfter = function(t, n) {
|
|
86
|
-
return
|
|
85
|
+
return v(t) < this.startOf(n);
|
|
87
86
|
}, r.isBefore = function(t, n) {
|
|
88
|
-
return this.endOf(n) <
|
|
87
|
+
return this.endOf(n) < v(t);
|
|
89
88
|
}, r.$g = function(t, n, e) {
|
|
90
89
|
return c.u(t) ? this[n] : this.set(e, t);
|
|
91
90
|
}, r.unix = function() {
|
|
@@ -93,24 +92,24 @@ function lt() {
|
|
|
93
92
|
}, r.valueOf = function() {
|
|
94
93
|
return this.$d.getTime();
|
|
95
94
|
}, r.startOf = function(t, n) {
|
|
96
|
-
var e = this, s = !!c.u(n) || n,
|
|
97
|
-
var T = c.w(e.$u ? Date.UTC(e.$y,
|
|
98
|
-
return s ? T : T.endOf(
|
|
99
|
-
}, y = function(j,
|
|
100
|
-
return c.w(e.toDate()[j].apply(e.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(
|
|
101
|
-
},
|
|
102
|
-
switch (
|
|
103
|
-
case S:
|
|
104
|
-
return s ? h(1, 0) : h(31, 11);
|
|
105
|
-
case x:
|
|
106
|
-
return s ? h(1, g) : h(0, g + 1);
|
|
107
|
-
case N:
|
|
108
|
-
var O = this.$locale().weekStart || 0, L = (v < O ? v + 7 : v) - O;
|
|
109
|
-
return h(s ? b - L : b + (6 - L), g);
|
|
95
|
+
var e = this, s = !!c.u(n) || n, u = c.p(t), h = function(j, g) {
|
|
96
|
+
var T = c.w(e.$u ? Date.UTC(e.$y, g, j) : new Date(e.$y, g, j), e);
|
|
97
|
+
return s ? T : T.endOf(S);
|
|
98
|
+
}, y = function(j, g) {
|
|
99
|
+
return c.w(e.toDate()[j].apply(e.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(g)), e);
|
|
100
|
+
}, _ = this.$W, $ = this.$M, x = this.$D, k = "set" + (this.$u ? "UTC" : "");
|
|
101
|
+
switch (u) {
|
|
110
102
|
case Y:
|
|
103
|
+
return s ? h(1, 0) : h(31, 11);
|
|
104
|
+
case D:
|
|
105
|
+
return s ? h(1, $) : h(0, $ + 1);
|
|
106
|
+
case V:
|
|
107
|
+
var w = this.$locale().weekStart || 0, q = (_ < w ? _ + 7 : _) - w;
|
|
108
|
+
return h(s ? x - q : x + (6 - q), $);
|
|
109
|
+
case S:
|
|
111
110
|
case P:
|
|
112
111
|
return y(k + "Hours", 0);
|
|
113
|
-
case
|
|
112
|
+
case b:
|
|
114
113
|
return y(k + "Minutes", 1);
|
|
115
114
|
case M:
|
|
116
115
|
return y(k + "Seconds", 2);
|
|
@@ -122,10 +121,10 @@ function lt() {
|
|
|
122
121
|
}, r.endOf = function(t) {
|
|
123
122
|
return this.startOf(t, !1);
|
|
124
123
|
}, r.$set = function(t, n) {
|
|
125
|
-
var e, s = c.p(t),
|
|
126
|
-
if (s ===
|
|
127
|
-
var
|
|
128
|
-
|
|
124
|
+
var e, s = c.p(t), u = "set" + (this.$u ? "UTC" : ""), h = (e = {}, e[S] = u + "Date", e[P] = u + "Date", e[D] = u + "Month", e[Y] = u + "FullYear", e[b] = u + "Hours", e[M] = u + "Minutes", e[f] = u + "Seconds", e[p] = u + "Milliseconds", e)[s], y = s === S ? this.$D + (n - this.$W) : n;
|
|
125
|
+
if (s === D || s === Y) {
|
|
126
|
+
var _ = this.clone().set(P, 1);
|
|
127
|
+
_.$d[h](y), _.init(), this.$d = _.set(P, Math.min(this.$D, _.daysInMonth())).$d;
|
|
129
128
|
} else h && this.$d[h](y);
|
|
130
129
|
return this.init(), this;
|
|
131
130
|
}, r.set = function(t, n) {
|
|
@@ -135,30 +134,30 @@ function lt() {
|
|
|
135
134
|
}, r.add = function(t, n) {
|
|
136
135
|
var e, s = this;
|
|
137
136
|
t = Number(t);
|
|
138
|
-
var
|
|
139
|
-
var
|
|
140
|
-
return c.w(
|
|
137
|
+
var u = c.p(n), h = function($) {
|
|
138
|
+
var x = v(s);
|
|
139
|
+
return c.w(x.date(x.date() + Math.round($ * t)), s);
|
|
141
140
|
};
|
|
142
|
-
if (
|
|
143
|
-
if (
|
|
144
|
-
if (
|
|
145
|
-
if (
|
|
146
|
-
var y = (e = {}, e[M] =
|
|
147
|
-
return c.w(
|
|
141
|
+
if (u === D) return this.set(D, this.$M + t);
|
|
142
|
+
if (u === Y) return this.set(Y, this.$y + t);
|
|
143
|
+
if (u === S) return h(1);
|
|
144
|
+
if (u === V) return h(7);
|
|
145
|
+
var y = (e = {}, e[M] = a, e[b] = d, e[f] = l, e)[u] || 1, _ = this.$d.getTime() + t * y;
|
|
146
|
+
return c.w(_, this);
|
|
148
147
|
}, r.subtract = function(t, n) {
|
|
149
148
|
return this.add(-1 * t, n);
|
|
150
149
|
}, r.format = function(t) {
|
|
151
150
|
var n = this, e = this.$locale();
|
|
152
|
-
if (!this.isValid()) return e.invalidDate ||
|
|
153
|
-
var s = t || "YYYY-MM-DDTHH:mm:ssZ",
|
|
154
|
-
return
|
|
155
|
-
},
|
|
156
|
-
return c.s(h % 12 || 12,
|
|
157
|
-
}, j = k || function(
|
|
158
|
-
var K =
|
|
151
|
+
if (!this.isValid()) return e.invalidDate || G;
|
|
152
|
+
var s = t || "YYYY-MM-DDTHH:mm:ssZ", u = c.z(this), h = this.$H, y = this.$m, _ = this.$M, $ = e.weekdays, x = e.months, k = e.meridiem, w = function(g, T, C, K) {
|
|
153
|
+
return g && (g[T] || g(n, s)) || C[T].slice(0, K);
|
|
154
|
+
}, q = function(g) {
|
|
155
|
+
return c.s(h % 12 || 12, g, "0");
|
|
156
|
+
}, j = k || function(g, T, C) {
|
|
157
|
+
var K = g < 12 ? "AM" : "PM";
|
|
159
158
|
return C ? K.toLowerCase() : K;
|
|
160
159
|
};
|
|
161
|
-
return s.replace(
|
|
160
|
+
return s.replace(yt, function(g, T) {
|
|
162
161
|
return T || function(C) {
|
|
163
162
|
switch (C) {
|
|
164
163
|
case "YY":
|
|
@@ -166,13 +165,13 @@ function lt() {
|
|
|
166
165
|
case "YYYY":
|
|
167
166
|
return c.s(n.$y, 4, "0");
|
|
168
167
|
case "M":
|
|
169
|
-
return
|
|
168
|
+
return _ + 1;
|
|
170
169
|
case "MM":
|
|
171
|
-
return c.s(
|
|
170
|
+
return c.s(_ + 1, 2, "0");
|
|
172
171
|
case "MMM":
|
|
173
|
-
return
|
|
172
|
+
return w(e.monthsShort, _, x, 3);
|
|
174
173
|
case "MMMM":
|
|
175
|
-
return
|
|
174
|
+
return w(x, _);
|
|
176
175
|
case "D":
|
|
177
176
|
return n.$D;
|
|
178
177
|
case "DD":
|
|
@@ -180,19 +179,19 @@ function lt() {
|
|
|
180
179
|
case "d":
|
|
181
180
|
return String(n.$W);
|
|
182
181
|
case "dd":
|
|
183
|
-
return
|
|
182
|
+
return w(e.weekdaysMin, n.$W, $, 2);
|
|
184
183
|
case "ddd":
|
|
185
|
-
return
|
|
184
|
+
return w(e.weekdaysShort, n.$W, $, 3);
|
|
186
185
|
case "dddd":
|
|
187
|
-
return
|
|
186
|
+
return $[n.$W];
|
|
188
187
|
case "H":
|
|
189
188
|
return String(h);
|
|
190
189
|
case "HH":
|
|
191
190
|
return c.s(h, 2, "0");
|
|
192
191
|
case "h":
|
|
193
|
-
return
|
|
192
|
+
return q(1);
|
|
194
193
|
case "hh":
|
|
195
|
-
return
|
|
194
|
+
return q(2);
|
|
196
195
|
case "a":
|
|
197
196
|
return j(h, y, !0);
|
|
198
197
|
case "A":
|
|
@@ -208,53 +207,53 @@ function lt() {
|
|
|
208
207
|
case "SSS":
|
|
209
208
|
return c.s(n.$ms, 3, "0");
|
|
210
209
|
case "Z":
|
|
211
|
-
return
|
|
210
|
+
return u;
|
|
212
211
|
}
|
|
213
212
|
return null;
|
|
214
|
-
}(
|
|
213
|
+
}(g) || u.replace(":", "");
|
|
215
214
|
});
|
|
216
215
|
}, r.utcOffset = function() {
|
|
217
216
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
218
217
|
}, r.diff = function(t, n, e) {
|
|
219
|
-
var s,
|
|
220
|
-
return c.m(
|
|
218
|
+
var s, u = this, h = c.p(n), y = v(t), _ = (y.utcOffset() - this.utcOffset()) * a, $ = this - y, x = function() {
|
|
219
|
+
return c.m(u, y);
|
|
221
220
|
};
|
|
222
221
|
switch (h) {
|
|
223
|
-
case
|
|
224
|
-
s =
|
|
222
|
+
case Y:
|
|
223
|
+
s = x() / 12;
|
|
225
224
|
break;
|
|
226
|
-
case
|
|
227
|
-
s =
|
|
225
|
+
case D:
|
|
226
|
+
s = x();
|
|
228
227
|
break;
|
|
229
|
-
case
|
|
230
|
-
s =
|
|
228
|
+
case Q:
|
|
229
|
+
s = x() / 3;
|
|
231
230
|
break;
|
|
232
|
-
case
|
|
233
|
-
s = (
|
|
231
|
+
case V:
|
|
232
|
+
s = ($ - _) / 6048e5;
|
|
234
233
|
break;
|
|
235
|
-
case
|
|
236
|
-
s = (
|
|
234
|
+
case S:
|
|
235
|
+
s = ($ - _) / 864e5;
|
|
237
236
|
break;
|
|
238
|
-
case
|
|
239
|
-
s =
|
|
237
|
+
case b:
|
|
238
|
+
s = $ / d;
|
|
240
239
|
break;
|
|
241
240
|
case M:
|
|
242
|
-
s =
|
|
241
|
+
s = $ / a;
|
|
243
242
|
break;
|
|
244
243
|
case f:
|
|
245
|
-
s =
|
|
244
|
+
s = $ / l;
|
|
246
245
|
break;
|
|
247
246
|
default:
|
|
248
|
-
s =
|
|
247
|
+
s = $;
|
|
249
248
|
}
|
|
250
249
|
return e ? s : c.a(s);
|
|
251
250
|
}, r.daysInMonth = function() {
|
|
252
|
-
return this.endOf(
|
|
251
|
+
return this.endOf(D).$D;
|
|
253
252
|
}, r.$locale = function() {
|
|
254
|
-
return
|
|
253
|
+
return O[this.$L];
|
|
255
254
|
}, r.locale = function(t, n) {
|
|
256
255
|
if (!t) return this.$L;
|
|
257
|
-
var e = this.clone(), s =
|
|
256
|
+
var e = this.clone(), s = R(t, n, !0);
|
|
258
257
|
return s && (e.$L = s), e;
|
|
259
258
|
}, r.clone = function() {
|
|
260
259
|
return c.w(this.$d, this);
|
|
@@ -266,162 +265,183 @@ function lt() {
|
|
|
266
265
|
return this.$d.toISOString();
|
|
267
266
|
}, r.toString = function() {
|
|
268
267
|
return this.$d.toUTCString();
|
|
269
|
-
},
|
|
270
|
-
}(),
|
|
271
|
-
return
|
|
272
|
-
|
|
273
|
-
return this.$g(r,
|
|
268
|
+
}, o;
|
|
269
|
+
}(), et = F.prototype;
|
|
270
|
+
return v.prototype = et, [["$ms", p], ["$s", f], ["$m", M], ["$H", b], ["$W", S], ["$M", D], ["$y", Y], ["$D", P]].forEach(function(o) {
|
|
271
|
+
et[o[1]] = function(r) {
|
|
272
|
+
return this.$g(r, o[0], o[1]);
|
|
274
273
|
};
|
|
275
|
-
}),
|
|
276
|
-
return
|
|
277
|
-
},
|
|
278
|
-
return
|
|
279
|
-
},
|
|
274
|
+
}), v.extend = function(o, r) {
|
|
275
|
+
return o.$i || (o(r, F, v), o.$i = !0), v;
|
|
276
|
+
}, v.locale = R, v.isDayjs = E, v.unix = function(o) {
|
|
277
|
+
return v(1e3 * o);
|
|
278
|
+
}, v.en = O[H], v.Ls = O, v.p = {}, v;
|
|
280
279
|
});
|
|
281
|
-
}(
|
|
280
|
+
}(A)), A.exports;
|
|
282
281
|
}
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
282
|
+
var $t = W.exports, nt;
|
|
283
|
+
function gt() {
|
|
284
|
+
return nt || (nt = 1, function(i, m) {
|
|
285
|
+
(function(l, a) {
|
|
286
|
+
i.exports = a(Mt());
|
|
287
|
+
})($t, function(l) {
|
|
288
|
+
function a(f) {
|
|
289
|
+
return f && typeof f == "object" && "default" in f ? f : { default: f };
|
|
290
|
+
}
|
|
291
|
+
var d = a(l), p = { name: "vi", weekdays: "chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"), months: "tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"), weekStart: 1, weekdaysShort: "CN_T2_T3_T4_T5_T6_T7".split("_"), monthsShort: "Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"), weekdaysMin: "CN_T2_T3_T4_T5_T6_T7".split("_"), ordinal: function(f) {
|
|
292
|
+
return f;
|
|
293
|
+
}, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM [năm] YYYY", LLL: "D MMMM [năm] YYYY HH:mm", LLLL: "dddd, D MMMM [năm] YYYY HH:mm", l: "DD/M/YYYY", ll: "D MMM YYYY", lll: "D MMM YYYY HH:mm", llll: "ddd, D MMM YYYY HH:mm" }, relativeTime: { future: "%s tới", past: "%s trước", s: "vài giây", m: "một phút", mm: "%d phút", h: "một giờ", hh: "%d giờ", d: "một ngày", dd: "%d ngày", M: "một tháng", MM: "%d tháng", y: "một năm", yy: "%d năm" } };
|
|
294
|
+
return d.default.locale(p, null, !0), p;
|
|
295
|
+
});
|
|
296
|
+
}(W)), W.exports;
|
|
297
|
+
}
|
|
298
|
+
var xt = gt();
|
|
299
|
+
const Dt = /* @__PURE__ */ lt(xt);
|
|
300
|
+
var L = {}, U = { exports: {} }, it;
|
|
301
|
+
function bt() {
|
|
302
|
+
return it || (it = 1, function(i) {
|
|
303
|
+
function m(l) {
|
|
304
|
+
return l && l.__esModule ? l : {
|
|
305
|
+
default: l
|
|
306
|
+
};
|
|
289
307
|
}
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
default
|
|
303
|
-
};
|
|
304
|
-
}
|
|
305
|
-
o.exports = _, o.exports.__esModule = !0, o.exports.default = o.exports;
|
|
306
|
-
})(Q);
|
|
307
|
-
var yt = Q.exports, tt = { exports: {} }, et = { exports: {} }, rt = { exports: {} }, nt = { exports: {} };
|
|
308
|
-
(function(o) {
|
|
309
|
-
function _(p) {
|
|
310
|
-
"@babel/helpers - typeof";
|
|
311
|
-
return o.exports = _ = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(u) {
|
|
312
|
-
return typeof u;
|
|
313
|
-
} : function(u) {
|
|
314
|
-
return u && typeof Symbol == "function" && u.constructor === Symbol && u !== Symbol.prototype ? "symbol" : typeof u;
|
|
315
|
-
}, o.exports.__esModule = !0, o.exports.default = o.exports, _(p);
|
|
316
|
-
}
|
|
317
|
-
o.exports = _, o.exports.__esModule = !0, o.exports.default = o.exports;
|
|
318
|
-
})(nt);
|
|
319
|
-
var it = nt.exports, ot = { exports: {} };
|
|
320
|
-
(function(o) {
|
|
321
|
-
var _ = it.default;
|
|
322
|
-
function p(u, d) {
|
|
323
|
-
if (_(u) != "object" || !u) return u;
|
|
324
|
-
var l = u[Symbol.toPrimitive];
|
|
325
|
-
if (l !== void 0) {
|
|
326
|
-
var f = l.call(u, d || "default");
|
|
327
|
-
if (_(f) != "object") return f;
|
|
328
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
308
|
+
i.exports = m, i.exports.__esModule = !0, i.exports.default = i.exports;
|
|
309
|
+
}(U)), U.exports;
|
|
310
|
+
}
|
|
311
|
+
var J = { exports: {} }, Z = { exports: {} }, z = { exports: {} }, B = { exports: {} }, ot;
|
|
312
|
+
function pt() {
|
|
313
|
+
return ot || (ot = 1, function(i) {
|
|
314
|
+
function m(l) {
|
|
315
|
+
"@babel/helpers - typeof";
|
|
316
|
+
return i.exports = m = 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, m(l);
|
|
329
321
|
}
|
|
330
|
-
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
(function(
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
function p(u, d, l) {
|
|
347
|
-
return (d = _(d)) in u ? Object.defineProperty(u, d, {
|
|
348
|
-
value: l,
|
|
349
|
-
enumerable: !0,
|
|
350
|
-
configurable: !0,
|
|
351
|
-
writable: !0
|
|
352
|
-
}) : u[d] = l, u;
|
|
353
|
-
}
|
|
354
|
-
o.exports = p, o.exports.__esModule = !0, o.exports.default = o.exports;
|
|
355
|
-
})(et);
|
|
356
|
-
var _t = et.exports;
|
|
357
|
-
(function(o) {
|
|
358
|
-
var _ = _t;
|
|
359
|
-
function p(d, l) {
|
|
360
|
-
var f = Object.keys(d);
|
|
361
|
-
if (Object.getOwnPropertySymbols) {
|
|
362
|
-
var M = Object.getOwnPropertySymbols(d);
|
|
363
|
-
l && (M = M.filter(function(D) {
|
|
364
|
-
return Object.getOwnPropertyDescriptor(d, D).enumerable;
|
|
365
|
-
})), f.push.apply(f, M);
|
|
322
|
+
i.exports = m, i.exports.__esModule = !0, i.exports.default = i.exports;
|
|
323
|
+
}(B)), B.exports;
|
|
324
|
+
}
|
|
325
|
+
var X = { exports: {} }, st;
|
|
326
|
+
function St() {
|
|
327
|
+
return st || (st = 1, function(i) {
|
|
328
|
+
var m = pt().default;
|
|
329
|
+
function l(a, d) {
|
|
330
|
+
if (m(a) != "object" || !a) return a;
|
|
331
|
+
var p = a[Symbol.toPrimitive];
|
|
332
|
+
if (p !== void 0) {
|
|
333
|
+
var f = p.call(a, d || "default");
|
|
334
|
+
if (m(f) != "object") return f;
|
|
335
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
336
|
+
}
|
|
337
|
+
return (d === "string" ? String : Number)(a);
|
|
366
338
|
}
|
|
367
|
-
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
339
|
+
i.exports = l, i.exports.__esModule = !0, i.exports.default = i.exports;
|
|
340
|
+
}(X)), X.exports;
|
|
341
|
+
}
|
|
342
|
+
var ut;
|
|
343
|
+
function Yt() {
|
|
344
|
+
return ut || (ut = 1, function(i) {
|
|
345
|
+
var m = pt().default, l = St();
|
|
346
|
+
function a(d) {
|
|
347
|
+
var p = l(d, "string");
|
|
348
|
+
return m(p) == "symbol" ? p : p + "";
|
|
377
349
|
}
|
|
378
|
-
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
});
|
|
423
|
-
|
|
424
|
-
|
|
350
|
+
i.exports = a, i.exports.__esModule = !0, i.exports.default = i.exports;
|
|
351
|
+
}(z)), z.exports;
|
|
352
|
+
}
|
|
353
|
+
var at;
|
|
354
|
+
function Tt() {
|
|
355
|
+
return at || (at = 1, function(i) {
|
|
356
|
+
var m = Yt();
|
|
357
|
+
function l(a, d, p) {
|
|
358
|
+
return (d = m(d)) in a ? Object.defineProperty(a, d, {
|
|
359
|
+
value: p,
|
|
360
|
+
enumerable: !0,
|
|
361
|
+
configurable: !0,
|
|
362
|
+
writable: !0
|
|
363
|
+
}) : a[d] = p, a;
|
|
364
|
+
}
|
|
365
|
+
i.exports = l, i.exports.__esModule = !0, i.exports.default = i.exports;
|
|
366
|
+
}(Z)), Z.exports;
|
|
367
|
+
}
|
|
368
|
+
var ct;
|
|
369
|
+
function Ot() {
|
|
370
|
+
return ct || (ct = 1, function(i) {
|
|
371
|
+
var m = Tt();
|
|
372
|
+
function l(d, p) {
|
|
373
|
+
var f = Object.keys(d);
|
|
374
|
+
if (Object.getOwnPropertySymbols) {
|
|
375
|
+
var M = Object.getOwnPropertySymbols(d);
|
|
376
|
+
p && (M = M.filter(function(b) {
|
|
377
|
+
return Object.getOwnPropertyDescriptor(d, b).enumerable;
|
|
378
|
+
})), f.push.apply(f, M);
|
|
379
|
+
}
|
|
380
|
+
return f;
|
|
381
|
+
}
|
|
382
|
+
function a(d) {
|
|
383
|
+
for (var p = 1; p < arguments.length; p++) {
|
|
384
|
+
var f = arguments[p] != null ? arguments[p] : {};
|
|
385
|
+
p % 2 ? l(Object(f), !0).forEach(function(M) {
|
|
386
|
+
m(d, M, f[M]);
|
|
387
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(f)) : l(Object(f)).forEach(function(M) {
|
|
388
|
+
Object.defineProperty(d, M, Object.getOwnPropertyDescriptor(f, M));
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
return d;
|
|
392
|
+
}
|
|
393
|
+
i.exports = a, i.exports.__esModule = !0, i.exports.default = i.exports;
|
|
394
|
+
}(J)), J.exports;
|
|
395
|
+
}
|
|
396
|
+
var N = {}, ft;
|
|
397
|
+
function wt() {
|
|
398
|
+
return ft || (ft = 1, Object.defineProperty(N, "__esModule", {
|
|
399
|
+
value: !0
|
|
400
|
+
}), N.commonLocale = void 0, N.commonLocale = {
|
|
401
|
+
yearFormat: "YYYY",
|
|
402
|
+
dayFormat: "D",
|
|
403
|
+
cellMeridiemFormat: "A",
|
|
404
|
+
monthBeforeYear: !0
|
|
405
|
+
}), N;
|
|
406
|
+
}
|
|
407
|
+
var ht;
|
|
408
|
+
function jt() {
|
|
409
|
+
if (ht) return L;
|
|
410
|
+
ht = 1;
|
|
411
|
+
var i = bt().default;
|
|
412
|
+
Object.defineProperty(L, "__esModule", {
|
|
413
|
+
value: !0
|
|
414
|
+
}), L.default = void 0;
|
|
415
|
+
var m = i(Ot()), l = wt(), a = (0, m.default)((0, m.default)({}, l.commonLocale), {}, {
|
|
416
|
+
locale: "vi_VN",
|
|
417
|
+
today: "Hôm nay",
|
|
418
|
+
now: "Bây giờ",
|
|
419
|
+
backToToday: "Trở về hôm nay",
|
|
420
|
+
ok: "OK",
|
|
421
|
+
clear: "Xóa",
|
|
422
|
+
month: "Tháng",
|
|
423
|
+
year: "Năm",
|
|
424
|
+
timeSelect: "Chọn thời gian",
|
|
425
|
+
dateSelect: "Chọn ngày",
|
|
426
|
+
weekSelect: "Chọn tuần",
|
|
427
|
+
monthSelect: "Chọn tháng",
|
|
428
|
+
yearSelect: "Chọn năm",
|
|
429
|
+
decadeSelect: "Chọn thập kỷ",
|
|
430
|
+
dateFormat: "D/M/YYYY",
|
|
431
|
+
dateTimeFormat: "D/M/YYYY HH:mm:ss",
|
|
432
|
+
previousMonth: "Tháng trước (PageUp)",
|
|
433
|
+
nextMonth: "Tháng sau (PageDown)",
|
|
434
|
+
previousYear: "Năm trước (Control + left)",
|
|
435
|
+
nextYear: "Năm sau (Control + right)",
|
|
436
|
+
previousDecade: "Thập kỷ trước",
|
|
437
|
+
nextDecade: "Thập kỷ sau",
|
|
438
|
+
previousCentury: "Thế kỷ trước",
|
|
439
|
+
nextCentury: "Thế kỷ sau"
|
|
440
|
+
});
|
|
441
|
+
return L.default = a, L;
|
|
442
|
+
}
|
|
443
|
+
var Pt = jt();
|
|
444
|
+
const kt = /* @__PURE__ */ lt(Pt), Ht = {
|
|
425
445
|
design: {
|
|
426
446
|
Confirm: {
|
|
427
447
|
cancel: "Hủy bỏ",
|
|
@@ -431,8 +451,8 @@ const xt = {
|
|
|
431
451
|
resetTo: "Khôi phục đến"
|
|
432
452
|
},
|
|
433
453
|
Picker: {
|
|
434
|
-
...
|
|
435
|
-
...
|
|
454
|
+
...Dt,
|
|
455
|
+
...kt
|
|
436
456
|
},
|
|
437
457
|
CascaderList: {
|
|
438
458
|
empty: "Không có"
|
|
@@ -443,5 +463,5 @@ const xt = {
|
|
|
443
463
|
}
|
|
444
464
|
};
|
|
445
465
|
export {
|
|
446
|
-
|
|
466
|
+
Ht as default
|
|
447
467
|
};
|