@univerjs/design 0.4.1 → 0.4.2-nightly.202410301606
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/common-revTw4TU.mjs +14 -0
- package/lib/dayjs.min-DbZawy0E.mjs +286 -0
- package/lib/en_US-xNfwauaW.mjs +52 -0
- package/lib/es/index.js +631 -1475
- package/lib/index.css +1 -1
- package/lib/locale/en-US.js +25 -0
- package/lib/locale/fa-IR.js +25 -0
- package/lib/locale/interface.js +1 -0
- package/lib/locale/ru-RU.js +92 -0
- package/lib/locale/vi-VN.js +77 -0
- package/lib/locale/zh-CN.js +81 -0
- package/lib/locale/zh-TW.js +83 -0
- package/lib/objectSpread2-DViSHvK8.mjs +121 -0
- package/lib/types/components/form-layout/FormLayout.d.ts +2 -0
- package/lib/umd/index.js +25 -21
- package/lib/umd/locale/en-US.js +1 -0
- package/lib/umd/locale/fa-IR.js +1 -0
- package/lib/umd/locale/interface.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -0
- package/lib/umd/locale/vi-VN.js +1 -0
- package/lib/umd/locale/zh-CN.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -0
- package/package.json +21 -19
- package/LICENSE +0 -176
- package/lib/cjs/index.js +0 -59
- package/lib/locale/en-US.json +0 -71
- package/lib/locale/fa-IR.json +0 -71
- package/lib/locale/ru-RU.json +0 -93
- package/lib/locale/vi-VN.json +0 -131
- package/lib/locale/zh-CN.json +0 -131
- package/lib/locale/zh-TW.json +0 -131
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
var common = {};
|
|
2
|
+
Object.defineProperty(common, "__esModule", {
|
|
3
|
+
value: !0
|
|
4
|
+
});
|
|
5
|
+
common.commonLocale = void 0;
|
|
6
|
+
common.commonLocale = {
|
|
7
|
+
yearFormat: "YYYY",
|
|
8
|
+
dayFormat: "D",
|
|
9
|
+
cellMeridiemFormat: "A",
|
|
10
|
+
monthBeforeYear: !0
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
common as c
|
|
14
|
+
};
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
|
|
3
|
+
import { c as commonjsGlobal } from "./objectSpread2-DViSHvK8.mjs";
|
|
4
|
+
var dayjs_min = { exports: {} }, hasRequiredDayjs_min;
|
|
5
|
+
function requireDayjs_min() {
|
|
6
|
+
return hasRequiredDayjs_min || (hasRequiredDayjs_min = 1, function(module, exports) {
|
|
7
|
+
(function(t, e) {
|
|
8
|
+
module.exports = e();
|
|
9
|
+
})(commonjsGlobal, function() {
|
|
10
|
+
var t = 1e3, e = 6e4, n = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", c = "month", f = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|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, M = { 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: /* @__PURE__ */ __name(function(t2) {
|
|
11
|
+
var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
|
|
12
|
+
return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
|
|
13
|
+
}, "ordinal") }, m = /* @__PURE__ */ __name(function(t2, e2, n2) {
|
|
14
|
+
var r2 = String(t2);
|
|
15
|
+
return !r2 || r2.length >= e2 ? t2 : "" + Array(e2 + 1 - r2.length).join(n2) + t2;
|
|
16
|
+
}, "m"), v = { s: m, z: /* @__PURE__ */ __name(function(t2) {
|
|
17
|
+
var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r2 = Math.floor(n2 / 60), i2 = n2 % 60;
|
|
18
|
+
return (e2 <= 0 ? "+" : "-") + m(r2, 2, "0") + ":" + m(i2, 2, "0");
|
|
19
|
+
}, "z"), m: /* @__PURE__ */ __name(function t2(e2, n2) {
|
|
20
|
+
if (e2.date() < n2.date()) return -t2(n2, e2);
|
|
21
|
+
var r2 = 12 * (n2.year() - e2.year()) + (n2.month() - e2.month()), i2 = e2.clone().add(r2, c), s2 = n2 - i2 < 0, u2 = e2.clone().add(r2 + (s2 ? -1 : 1), c);
|
|
22
|
+
return +(-(r2 + (n2 - i2) / (s2 ? i2 - u2 : u2 - i2)) || 0);
|
|
23
|
+
}, "t"), a: /* @__PURE__ */ __name(function(t2) {
|
|
24
|
+
return t2 < 0 ? Math.ceil(t2) || 0 : Math.floor(t2);
|
|
25
|
+
}, "a"), p: /* @__PURE__ */ __name(function(t2) {
|
|
26
|
+
return { M: c, y: h, w: o, d: a, D: d, h: u, m: s, s: i, ms: r, Q: f }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
|
|
27
|
+
}, "p"), u: /* @__PURE__ */ __name(function(t2) {
|
|
28
|
+
return t2 === void 0;
|
|
29
|
+
}, "u") }, g = "en", D = {};
|
|
30
|
+
D[g] = M;
|
|
31
|
+
var p = "$isDayjsObject", S = /* @__PURE__ */ __name(function(t2) {
|
|
32
|
+
return t2 instanceof _ || !(!t2 || !t2[p]);
|
|
33
|
+
}, "S"), w = /* @__PURE__ */ __name(function t2(e2, n2, r2) {
|
|
34
|
+
var i2;
|
|
35
|
+
if (!e2) return g;
|
|
36
|
+
if (typeof e2 == "string") {
|
|
37
|
+
var s2 = e2.toLowerCase();
|
|
38
|
+
D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
|
|
39
|
+
var u2 = e2.split("-");
|
|
40
|
+
if (!i2 && u2.length > 1) return t2(u2[0]);
|
|
41
|
+
} else {
|
|
42
|
+
var a2 = e2.name;
|
|
43
|
+
D[a2] = e2, i2 = a2;
|
|
44
|
+
}
|
|
45
|
+
return !r2 && i2 && (g = i2), i2 || !r2 && g;
|
|
46
|
+
}, "t"), O = /* @__PURE__ */ __name(function(t2, e2) {
|
|
47
|
+
if (S(t2)) return t2.clone();
|
|
48
|
+
var n2 = typeof e2 == "object" ? e2 : {};
|
|
49
|
+
return n2.date = t2, n2.args = arguments, new _(n2);
|
|
50
|
+
}, "O"), b = v;
|
|
51
|
+
b.l = w, b.i = S, b.w = function(t2, e2) {
|
|
52
|
+
return O(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
|
|
53
|
+
};
|
|
54
|
+
var _ = function() {
|
|
55
|
+
function M2(t2) {
|
|
56
|
+
this.$L = w(t2.locale, null, !0), this.parse(t2), this.$x = this.$x || t2.x || {}, this[p] = !0;
|
|
57
|
+
}
|
|
58
|
+
__name(M2, "M");
|
|
59
|
+
var m2 = M2.prototype;
|
|
60
|
+
return m2.parse = function(t2) {
|
|
61
|
+
this.$d = function(t3) {
|
|
62
|
+
var e2 = t3.date, n2 = t3.utc;
|
|
63
|
+
if (e2 === null) return /* @__PURE__ */ new Date(NaN);
|
|
64
|
+
if (b.u(e2)) return /* @__PURE__ */ new Date();
|
|
65
|
+
if (e2 instanceof Date) return new Date(e2);
|
|
66
|
+
if (typeof e2 == "string" && !/Z$/i.test(e2)) {
|
|
67
|
+
var r2 = e2.match($);
|
|
68
|
+
if (r2) {
|
|
69
|
+
var i2 = r2[2] - 1 || 0, s2 = (r2[7] || "0").substring(0, 3);
|
|
70
|
+
return n2 ? new Date(Date.UTC(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2)) : new Date(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
return new Date(e2);
|
|
74
|
+
}(t2), this.init();
|
|
75
|
+
}, m2.init = function() {
|
|
76
|
+
var t2 = this.$d;
|
|
77
|
+
this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
|
|
78
|
+
}, m2.$utils = function() {
|
|
79
|
+
return b;
|
|
80
|
+
}, m2.isValid = function() {
|
|
81
|
+
return this.$d.toString() !== l;
|
|
82
|
+
}, m2.isSame = function(t2, e2) {
|
|
83
|
+
var n2 = O(t2);
|
|
84
|
+
return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
|
|
85
|
+
}, m2.isAfter = function(t2, e2) {
|
|
86
|
+
return O(t2) < this.startOf(e2);
|
|
87
|
+
}, m2.isBefore = function(t2, e2) {
|
|
88
|
+
return this.endOf(e2) < O(t2);
|
|
89
|
+
}, m2.$g = function(t2, e2, n2) {
|
|
90
|
+
return b.u(t2) ? this[e2] : this.set(n2, t2);
|
|
91
|
+
}, m2.unix = function() {
|
|
92
|
+
return Math.floor(this.valueOf() / 1e3);
|
|
93
|
+
}, m2.valueOf = function() {
|
|
94
|
+
return this.$d.getTime();
|
|
95
|
+
}, m2.startOf = function(t2, e2) {
|
|
96
|
+
var n2 = this, r2 = !!b.u(e2) || e2, f2 = b.p(t2), l2 = /* @__PURE__ */ __name(function(t3, e3) {
|
|
97
|
+
var i2 = b.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
|
|
98
|
+
return r2 ? i2 : i2.endOf(a);
|
|
99
|
+
}, "l"), $2 = /* @__PURE__ */ __name(function(t3, e3) {
|
|
100
|
+
return b.w(n2.toDate()[t3].apply(n2.toDate("s"), (r2 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
|
|
101
|
+
}, "$"), y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
|
|
102
|
+
switch (f2) {
|
|
103
|
+
case h:
|
|
104
|
+
return r2 ? l2(1, 0) : l2(31, 11);
|
|
105
|
+
case c:
|
|
106
|
+
return r2 ? l2(1, M3) : l2(0, M3 + 1);
|
|
107
|
+
case o:
|
|
108
|
+
var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
|
|
109
|
+
return l2(r2 ? m3 - D2 : m3 + (6 - D2), M3);
|
|
110
|
+
case a:
|
|
111
|
+
case d:
|
|
112
|
+
return $2(v2 + "Hours", 0);
|
|
113
|
+
case u:
|
|
114
|
+
return $2(v2 + "Minutes", 1);
|
|
115
|
+
case s:
|
|
116
|
+
return $2(v2 + "Seconds", 2);
|
|
117
|
+
case i:
|
|
118
|
+
return $2(v2 + "Milliseconds", 3);
|
|
119
|
+
default:
|
|
120
|
+
return this.clone();
|
|
121
|
+
}
|
|
122
|
+
}, m2.endOf = function(t2) {
|
|
123
|
+
return this.startOf(t2, !1);
|
|
124
|
+
}, m2.$set = function(t2, e2) {
|
|
125
|
+
var n2, o2 = b.p(t2), f2 = "set" + (this.$u ? "UTC" : ""), l2 = (n2 = {}, n2[a] = f2 + "Date", n2[d] = f2 + "Date", n2[c] = f2 + "Month", n2[h] = f2 + "FullYear", n2[u] = f2 + "Hours", n2[s] = f2 + "Minutes", n2[i] = f2 + "Seconds", n2[r] = f2 + "Milliseconds", n2)[o2], $2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
|
|
126
|
+
if (o2 === c || o2 === h) {
|
|
127
|
+
var y2 = this.clone().set(d, 1);
|
|
128
|
+
y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
|
|
129
|
+
} else l2 && this.$d[l2]($2);
|
|
130
|
+
return this.init(), this;
|
|
131
|
+
}, m2.set = function(t2, e2) {
|
|
132
|
+
return this.clone().$set(t2, e2);
|
|
133
|
+
}, m2.get = function(t2) {
|
|
134
|
+
return this[b.p(t2)]();
|
|
135
|
+
}, m2.add = function(r2, f2) {
|
|
136
|
+
var d2, l2 = this;
|
|
137
|
+
r2 = Number(r2);
|
|
138
|
+
var $2 = b.p(f2), y2 = /* @__PURE__ */ __name(function(t2) {
|
|
139
|
+
var e2 = O(l2);
|
|
140
|
+
return b.w(e2.date(e2.date() + Math.round(t2 * r2)), l2);
|
|
141
|
+
}, "y");
|
|
142
|
+
if ($2 === c) return this.set(c, this.$M + r2);
|
|
143
|
+
if ($2 === h) return this.set(h, this.$y + r2);
|
|
144
|
+
if ($2 === a) return y2(1);
|
|
145
|
+
if ($2 === o) return y2(7);
|
|
146
|
+
var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r2 * M3;
|
|
147
|
+
return b.w(m3, this);
|
|
148
|
+
}, m2.subtract = function(t2, e2) {
|
|
149
|
+
return this.add(-1 * t2, e2);
|
|
150
|
+
}, m2.format = function(t2) {
|
|
151
|
+
var e2 = this, n2 = this.$locale();
|
|
152
|
+
if (!this.isValid()) return n2.invalidDate || l;
|
|
153
|
+
var r2 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, c2 = n2.months, f2 = n2.meridiem, h2 = /* @__PURE__ */ __name(function(t3, n3, i3, s3) {
|
|
154
|
+
return t3 && (t3[n3] || t3(e2, r2)) || i3[n3].slice(0, s3);
|
|
155
|
+
}, "h"), d2 = /* @__PURE__ */ __name(function(t3) {
|
|
156
|
+
return b.s(s2 % 12 || 12, t3, "0");
|
|
157
|
+
}, "d"), $2 = f2 || function(t3, e3, n3) {
|
|
158
|
+
var r3 = t3 < 12 ? "AM" : "PM";
|
|
159
|
+
return n3 ? r3.toLowerCase() : r3;
|
|
160
|
+
};
|
|
161
|
+
return r2.replace(y, function(t3, r3) {
|
|
162
|
+
return r3 || function(t4) {
|
|
163
|
+
switch (t4) {
|
|
164
|
+
case "YY":
|
|
165
|
+
return String(e2.$y).slice(-2);
|
|
166
|
+
case "YYYY":
|
|
167
|
+
return b.s(e2.$y, 4, "0");
|
|
168
|
+
case "M":
|
|
169
|
+
return a2 + 1;
|
|
170
|
+
case "MM":
|
|
171
|
+
return b.s(a2 + 1, 2, "0");
|
|
172
|
+
case "MMM":
|
|
173
|
+
return h2(n2.monthsShort, a2, c2, 3);
|
|
174
|
+
case "MMMM":
|
|
175
|
+
return h2(c2, a2);
|
|
176
|
+
case "D":
|
|
177
|
+
return e2.$D;
|
|
178
|
+
case "DD":
|
|
179
|
+
return b.s(e2.$D, 2, "0");
|
|
180
|
+
case "d":
|
|
181
|
+
return String(e2.$W);
|
|
182
|
+
case "dd":
|
|
183
|
+
return h2(n2.weekdaysMin, e2.$W, o2, 2);
|
|
184
|
+
case "ddd":
|
|
185
|
+
return h2(n2.weekdaysShort, e2.$W, o2, 3);
|
|
186
|
+
case "dddd":
|
|
187
|
+
return o2[e2.$W];
|
|
188
|
+
case "H":
|
|
189
|
+
return String(s2);
|
|
190
|
+
case "HH":
|
|
191
|
+
return b.s(s2, 2, "0");
|
|
192
|
+
case "h":
|
|
193
|
+
return d2(1);
|
|
194
|
+
case "hh":
|
|
195
|
+
return d2(2);
|
|
196
|
+
case "a":
|
|
197
|
+
return $2(s2, u2, !0);
|
|
198
|
+
case "A":
|
|
199
|
+
return $2(s2, u2, !1);
|
|
200
|
+
case "m":
|
|
201
|
+
return String(u2);
|
|
202
|
+
case "mm":
|
|
203
|
+
return b.s(u2, 2, "0");
|
|
204
|
+
case "s":
|
|
205
|
+
return String(e2.$s);
|
|
206
|
+
case "ss":
|
|
207
|
+
return b.s(e2.$s, 2, "0");
|
|
208
|
+
case "SSS":
|
|
209
|
+
return b.s(e2.$ms, 3, "0");
|
|
210
|
+
case "Z":
|
|
211
|
+
return i2;
|
|
212
|
+
}
|
|
213
|
+
return null;
|
|
214
|
+
}(t3) || i2.replace(":", "");
|
|
215
|
+
});
|
|
216
|
+
}, m2.utcOffset = function() {
|
|
217
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
218
|
+
}, m2.diff = function(r2, d2, l2) {
|
|
219
|
+
var $2, y2 = this, M3 = b.p(d2), m3 = O(r2), v2 = (m3.utcOffset() - this.utcOffset()) * e, g2 = this - m3, D2 = /* @__PURE__ */ __name(function() {
|
|
220
|
+
return b.m(y2, m3);
|
|
221
|
+
}, "D");
|
|
222
|
+
switch (M3) {
|
|
223
|
+
case h:
|
|
224
|
+
$2 = D2() / 12;
|
|
225
|
+
break;
|
|
226
|
+
case c:
|
|
227
|
+
$2 = D2();
|
|
228
|
+
break;
|
|
229
|
+
case f:
|
|
230
|
+
$2 = D2() / 3;
|
|
231
|
+
break;
|
|
232
|
+
case o:
|
|
233
|
+
$2 = (g2 - v2) / 6048e5;
|
|
234
|
+
break;
|
|
235
|
+
case a:
|
|
236
|
+
$2 = (g2 - v2) / 864e5;
|
|
237
|
+
break;
|
|
238
|
+
case u:
|
|
239
|
+
$2 = g2 / n;
|
|
240
|
+
break;
|
|
241
|
+
case s:
|
|
242
|
+
$2 = g2 / e;
|
|
243
|
+
break;
|
|
244
|
+
case i:
|
|
245
|
+
$2 = g2 / t;
|
|
246
|
+
break;
|
|
247
|
+
default:
|
|
248
|
+
$2 = g2;
|
|
249
|
+
}
|
|
250
|
+
return l2 ? $2 : b.a($2);
|
|
251
|
+
}, m2.daysInMonth = function() {
|
|
252
|
+
return this.endOf(c).$D;
|
|
253
|
+
}, m2.$locale = function() {
|
|
254
|
+
return D[this.$L];
|
|
255
|
+
}, m2.locale = function(t2, e2) {
|
|
256
|
+
if (!t2) return this.$L;
|
|
257
|
+
var n2 = this.clone(), r2 = w(t2, e2, !0);
|
|
258
|
+
return r2 && (n2.$L = r2), n2;
|
|
259
|
+
}, m2.clone = function() {
|
|
260
|
+
return b.w(this.$d, this);
|
|
261
|
+
}, m2.toDate = function() {
|
|
262
|
+
return new Date(this.valueOf());
|
|
263
|
+
}, m2.toJSON = function() {
|
|
264
|
+
return this.isValid() ? this.toISOString() : null;
|
|
265
|
+
}, m2.toISOString = function() {
|
|
266
|
+
return this.$d.toISOString();
|
|
267
|
+
}, m2.toString = function() {
|
|
268
|
+
return this.$d.toUTCString();
|
|
269
|
+
}, M2;
|
|
270
|
+
}(), k = _.prototype;
|
|
271
|
+
return O.prototype = k, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t2) {
|
|
272
|
+
k[t2[1]] = function(e2) {
|
|
273
|
+
return this.$g(e2, t2[0], t2[1]);
|
|
274
|
+
};
|
|
275
|
+
}), O.extend = function(t2, e2) {
|
|
276
|
+
return t2.$i || (t2(e2, _, O), t2.$i = !0), O;
|
|
277
|
+
}, O.locale = w, O.isDayjs = S, O.unix = function(t2) {
|
|
278
|
+
return O(1e3 * t2);
|
|
279
|
+
}, O.en = D[g], O.Ls = D, O.p = {}, O;
|
|
280
|
+
});
|
|
281
|
+
}(dayjs_min)), dayjs_min.exports;
|
|
282
|
+
}
|
|
283
|
+
__name(requireDayjs_min, "requireDayjs_min");
|
|
284
|
+
export {
|
|
285
|
+
requireDayjs_min as r
|
|
286
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
|
|
3
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs, i as interopRequireDefaultExports, o as objectSpread2Exports } from "./objectSpread2-DViSHvK8.mjs";
|
|
4
|
+
import { c as common } from "./common-revTw4TU.mjs";
|
|
5
|
+
var en = { exports: {} };
|
|
6
|
+
(function(module, exports) {
|
|
7
|
+
(function(e, n) {
|
|
8
|
+
module.exports = n();
|
|
9
|
+
})(commonjsGlobal, function() {
|
|
10
|
+
return { 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: /* @__PURE__ */ __name(function(e) {
|
|
11
|
+
var n = ["th", "st", "nd", "rd"], t = e % 100;
|
|
12
|
+
return "[" + e + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
|
|
13
|
+
}, "ordinal") };
|
|
14
|
+
});
|
|
15
|
+
})(en);
|
|
16
|
+
var enExports = en.exports;
|
|
17
|
+
const dajsEnUS = /* @__PURE__ */ getDefaultExportFromCjs(enExports);
|
|
18
|
+
var en_US = {}, _interopRequireDefault = interopRequireDefaultExports.default;
|
|
19
|
+
Object.defineProperty(en_US, "__esModule", {
|
|
20
|
+
value: !0
|
|
21
|
+
});
|
|
22
|
+
var default_1 = en_US.default = void 0, _objectSpread2 = _interopRequireDefault(objectSpread2Exports), _common = common, locale = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, _common.commonLocale), {}, {
|
|
23
|
+
locale: "en_US",
|
|
24
|
+
today: "Today",
|
|
25
|
+
now: "Now",
|
|
26
|
+
backToToday: "Back to today",
|
|
27
|
+
ok: "OK",
|
|
28
|
+
clear: "Clear",
|
|
29
|
+
month: "Month",
|
|
30
|
+
year: "Year",
|
|
31
|
+
timeSelect: "select time",
|
|
32
|
+
dateSelect: "select date",
|
|
33
|
+
weekSelect: "Choose a week",
|
|
34
|
+
monthSelect: "Choose a month",
|
|
35
|
+
yearSelect: "Choose a year",
|
|
36
|
+
decadeSelect: "Choose a decade",
|
|
37
|
+
dateFormat: "M/D/YYYY",
|
|
38
|
+
dateTimeFormat: "M/D/YYYY HH:mm:ss",
|
|
39
|
+
previousMonth: "Previous month (PageUp)",
|
|
40
|
+
nextMonth: "Next month (PageDown)",
|
|
41
|
+
previousYear: "Last year (Control + left)",
|
|
42
|
+
nextYear: "Next year (Control + right)",
|
|
43
|
+
previousDecade: "Last decade",
|
|
44
|
+
nextDecade: "Next decade",
|
|
45
|
+
previousCentury: "Last century",
|
|
46
|
+
nextCentury: "Next century"
|
|
47
|
+
});
|
|
48
|
+
default_1 = en_US.default = locale;
|
|
49
|
+
export {
|
|
50
|
+
default_1 as a,
|
|
51
|
+
dajsEnUS as d
|
|
52
|
+
};
|