@blueking/date-picker 0.0.23 → 0.0.25
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/README.md +6 -6
- package/dist/test.vue.d.ts +2 -0
- package/dist/vue2-full.css +1 -1
- package/dist/vue2-full.es.js +26704 -0
- package/dist/vue2-light.css +1 -1
- package/dist/vue2-light.es.js +26103 -0
- package/dist/vue3-full.css +1 -1
- package/dist/vue3-full.es.js +21756 -0
- package/dist/vue3-light.css +1 -1
- package/dist/vue3-light.es.js +3041 -0
- package/package.json +18 -15
- package/dist/vue2-full.js +0 -454
- package/dist/vue2-light.js +0 -454
- package/dist/vue3-full.js +0 -454
- package/dist/vue3-light.js +0 -1
|
@@ -0,0 +1,3041 @@
|
|
|
1
|
+
import A from "dayjs";
|
|
2
|
+
import { Dayjs as $i, default as Ni } from "dayjs";
|
|
3
|
+
import Ma from "dayjs/plugin/customParseFormat";
|
|
4
|
+
import Na from "dayjs/plugin/localizedFormat";
|
|
5
|
+
import Ea from "dayjs/plugin/timezone";
|
|
6
|
+
import za from "dayjs/plugin/utc";
|
|
7
|
+
import { provide as Ha, inject as Ra, defineComponent as G, openBlock as g, createElementBlock as S, createVNode as w, unref as t, withCtx as C, Fragment as $, renderList as R, createBlock as H, createTextVNode as K, toDisplayString as k, createCommentVNode as da, shallowRef as W, watch as ca, createElementVNode as s, normalizeClass as ea, withModifiers as Sa, ref as B, withDirectives as ia, withKeys as Aa, computed as Z, vShow as fa, KeepAlive as La, resolveDynamicComponent as Ka, onBeforeUnmount as qa, normalizeStyle as Ua } from "vue";
|
|
8
|
+
import aa from "bkui-vue/lib/popover";
|
|
9
|
+
import "bkui-vue/lib/popover/popover.less";
|
|
10
|
+
import { provideGlobalConfig as Fa } from "bkui-vue/lib/config-provider";
|
|
11
|
+
import { clickoutside as ua } from "bkui-vue/lib/directives";
|
|
12
|
+
import { AngleDoubleLeft as Ga, AngleLeft as Pa, AngleRight as Da, AngleDoubleRight as Oa, Close as Ja } from "bkui-vue/lib/icon";
|
|
13
|
+
import "bkui-vue/lib/styles/reset.css";
|
|
14
|
+
import Wa from "dayjs/locale/en";
|
|
15
|
+
import Za from "dayjs/locale/zh-cn";
|
|
16
|
+
import ma from "bkui-vue/lib/button";
|
|
17
|
+
import "bkui-vue/lib/button/button.less";
|
|
18
|
+
import Qa from "bkui-vue/lib/exception";
|
|
19
|
+
import "bkui-vue/lib/exception/exception.less";
|
|
20
|
+
import ga from "bkui-vue/lib/tab";
|
|
21
|
+
import "bkui-vue/lib/tab/tab.less";
|
|
22
|
+
import Xa from "bkui-vue/lib/checkbox";
|
|
23
|
+
import "bkui-vue/lib/checkbox/checkbox.less";
|
|
24
|
+
import Ca from "bkui-vue/lib/input";
|
|
25
|
+
import "bkui-vue/lib/input/input.less";
|
|
26
|
+
import U from "bkui-vue/lib/select";
|
|
27
|
+
import "bkui-vue/lib/select/select.less";
|
|
28
|
+
const ae = (i) => {
|
|
29
|
+
const e = document.cookie.match(new RegExp(`(^| )${i}=([^;]*)(;|$)`));
|
|
30
|
+
return e ? e[2] : "";
|
|
31
|
+
}, J = {
|
|
32
|
+
"option-上周": "Last week",
|
|
33
|
+
"option-上月": "Last month",
|
|
34
|
+
"option-今天": "Today",
|
|
35
|
+
"option-分钟": "minutes",
|
|
36
|
+
"option-前天": "now-2d/d",
|
|
37
|
+
"option-周": "weeks",
|
|
38
|
+
"option-天": "days",
|
|
39
|
+
"option-小时": "hours",
|
|
40
|
+
"option-年": "years",
|
|
41
|
+
"option-昨天": "Yesterday",
|
|
42
|
+
"option-月": "Months",
|
|
43
|
+
"option-本周": "This week",
|
|
44
|
+
"option-本月": "This month",
|
|
45
|
+
"option-秒": "Seconds",
|
|
46
|
+
上周: "now-1w/w",
|
|
47
|
+
上月: "now-1M/M",
|
|
48
|
+
今天: "now/d",
|
|
49
|
+
分钟: "m",
|
|
50
|
+
前: "Previous",
|
|
51
|
+
"前 N 周": "Previous N weeks",
|
|
52
|
+
"前 N 天": "Previous N days",
|
|
53
|
+
前天: "The day before yesterday",
|
|
54
|
+
周: "w",
|
|
55
|
+
天: "d",
|
|
56
|
+
将来: "Future",
|
|
57
|
+
小时: "h",
|
|
58
|
+
常用时间: "Common",
|
|
59
|
+
年: "y",
|
|
60
|
+
开始时间: "Start Time",
|
|
61
|
+
支持多种时间格式自动转换: "Support multiple time formats for automatic conversion",
|
|
62
|
+
整: "whole",
|
|
63
|
+
无匹配数据: "No matching data",
|
|
64
|
+
日期选择: "Time Range",
|
|
65
|
+
时区设置: "Timezone setting",
|
|
66
|
+
时间格式支持: "Time format support",
|
|
67
|
+
昨天: "now-1d/d",
|
|
68
|
+
暂无最近使用记录: "No recent records",
|
|
69
|
+
最近: "Last",
|
|
70
|
+
最近使用: "Recently",
|
|
71
|
+
月: "M",
|
|
72
|
+
未来: "Future",
|
|
73
|
+
本周: "now/w",
|
|
74
|
+
本月: "now/M",
|
|
75
|
+
查看支持格式: "View supported formats",
|
|
76
|
+
格式: "Format",
|
|
77
|
+
此刻: "now",
|
|
78
|
+
浏览器时间: "Browser time",
|
|
79
|
+
确定: "Confirm",
|
|
80
|
+
示例: "Example",
|
|
81
|
+
秒: "s",
|
|
82
|
+
结束时间: "End Time",
|
|
83
|
+
自然日期: "Natural",
|
|
84
|
+
至今: "so far",
|
|
85
|
+
请输入: "Please enter",
|
|
86
|
+
"请输入搜索(国家,城市,简称)": "Please enter search (country, city, abbreviation)",
|
|
87
|
+
近: "Last ",
|
|
88
|
+
"(至今)": "(so far)"
|
|
89
|
+
}, Q = Object.keys(J).reduce((i, e) => (i[J[e]] = e, i), {}), ta = ae("blueking_language") || "zh-cn", l = (i, e = !0) => {
|
|
90
|
+
if (J[i] || console.info(`[i18n] ${i}: ${J[i]}`), ta !== "en")
|
|
91
|
+
return i;
|
|
92
|
+
if (e) {
|
|
93
|
+
const a = J[`option-${i}`];
|
|
94
|
+
return a != null && a.includes("now") ? J[i] : a || J[i];
|
|
95
|
+
}
|
|
96
|
+
return J[i];
|
|
97
|
+
};
|
|
98
|
+
var D = /* @__PURE__ */ ((i) => (i.Date = "date", i.FUTURE = "now+", i.NATURAL = "natural", i.RECENT = "now-", i))(D || {});
|
|
99
|
+
const Va = [
|
|
100
|
+
{
|
|
101
|
+
id: "s",
|
|
102
|
+
name: l("秒")
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
id: "m",
|
|
106
|
+
name: l("分钟")
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
id: "h",
|
|
110
|
+
name: l("小时")
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
id: "d",
|
|
114
|
+
name: l("天")
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
id: "w",
|
|
118
|
+
name: l("周")
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
id: "M",
|
|
122
|
+
name: l("月")
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
id: "y",
|
|
126
|
+
name: l("年")
|
|
127
|
+
}
|
|
128
|
+
], oa = Va.map((i) => i.id).join("");
|
|
129
|
+
var X = /* @__PURE__ */ ((i) => (i.custom = "custom", i.default = "default", i.edit = "edit", i))(X || {});
|
|
130
|
+
const xa = [
|
|
131
|
+
{
|
|
132
|
+
id: "now/d",
|
|
133
|
+
name: l("今天", !0),
|
|
134
|
+
type: "default"
|
|
135
|
+
/* default */
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
id: "now-1d/d",
|
|
139
|
+
name: l("昨天", !0),
|
|
140
|
+
type: "default"
|
|
141
|
+
/* default */
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
id: "now-2d/d",
|
|
145
|
+
name: l("前天", !0),
|
|
146
|
+
type: "default"
|
|
147
|
+
/* default */
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
id: "now/w",
|
|
151
|
+
name: l("本周", !0),
|
|
152
|
+
type: "default"
|
|
153
|
+
/* default */
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
id: "now-1w/w",
|
|
157
|
+
name: l("上周", !0),
|
|
158
|
+
type: "default"
|
|
159
|
+
/* default */
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
id: "now/M",
|
|
163
|
+
name: l("本月", !0),
|
|
164
|
+
type: "default"
|
|
165
|
+
/* default */
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
id: "now-1M/M",
|
|
169
|
+
name: l("上月", !0),
|
|
170
|
+
type: "default"
|
|
171
|
+
/* default */
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
id: "now-nd/d",
|
|
175
|
+
name: l("前 N 天"),
|
|
176
|
+
prefix: l("前"),
|
|
177
|
+
suffix: l("天"),
|
|
178
|
+
type: "edit",
|
|
179
|
+
unit: "d"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
id: "now-nw/w",
|
|
183
|
+
name: l("前 N 周"),
|
|
184
|
+
prefix: l("前"),
|
|
185
|
+
suffix: l("周"),
|
|
186
|
+
type: "edit",
|
|
187
|
+
unit: "w"
|
|
188
|
+
}
|
|
189
|
+
];
|
|
190
|
+
var la = /* @__PURE__ */ ((i) => (i.ALL = "all", i.NOW = "now", i))(la || {});
|
|
191
|
+
const Ia = [
|
|
192
|
+
{
|
|
193
|
+
id: "all",
|
|
194
|
+
name: l("整")
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
id: "now",
|
|
198
|
+
name: l("至今")
|
|
199
|
+
}
|
|
200
|
+
], ee = [
|
|
201
|
+
{
|
|
202
|
+
id: "common",
|
|
203
|
+
name: l("常用时间")
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
id: "recent",
|
|
207
|
+
name: l("最近使用")
|
|
208
|
+
}
|
|
209
|
+
], ie = [
|
|
210
|
+
{
|
|
211
|
+
id: D.RECENT,
|
|
212
|
+
name: l("最近")
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
id: D.FUTURE,
|
|
216
|
+
name: l("未来")
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
id: D.NATURAL,
|
|
220
|
+
name: l("自然日期")
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
id: D.Date,
|
|
224
|
+
name: l("日期选择")
|
|
225
|
+
}
|
|
226
|
+
], te = "__bk_time_picker_store__", ne = (i = 1) => `${te}_${i}`, re = [
|
|
227
|
+
"YYYY-MM-DD HH:mm:ss",
|
|
228
|
+
"YYYY-MM-DD HH:mm:ss,SSS",
|
|
229
|
+
"YYYY-MM-DD HH:mm:ss.SSS",
|
|
230
|
+
"YYYY-MM-DD+HH:mm:ss",
|
|
231
|
+
"MM/DD/YYYY HH:mm:ss",
|
|
232
|
+
"YYYYMMDDHHmmss",
|
|
233
|
+
"YYYYMMDD HHmmss",
|
|
234
|
+
"YYYYMMDD HHmmss.SSS",
|
|
235
|
+
"DD/MMM/YYYY:HH:mm:ss",
|
|
236
|
+
"DD/MMM/YYYY:HH:mm:ssZ",
|
|
237
|
+
"DD/MMM/YYYY:HH:mm:ss Z",
|
|
238
|
+
"DD/MMM/YYYY:HH:mm:ssZZ",
|
|
239
|
+
"DD/MMM/YYYY:HH:mm:ss ZZ",
|
|
240
|
+
"YYYY-MM-DDTHH:mm:ss",
|
|
241
|
+
"YYYY-MM-DDTHH:mm:ss.SSS",
|
|
242
|
+
"YYYYMMDDTHHmmssZ",
|
|
243
|
+
"YYYYMMDDTHHmmss.SSSSSSZ",
|
|
244
|
+
"YYYY-MM-DDTHH:mm:ss.SSSZ",
|
|
245
|
+
"YYYY-MM-DDTHH:mm:ssZ",
|
|
246
|
+
"YYYY-MM-DDTHH:mm:ss.SSSSSSZ"
|
|
247
|
+
], na = new RegExp(`now[+-](\\d+)([${oa}]{1})`), q = new RegExp(`now[+-]?(\\d*)([${oa}]?)\\/([${oa}]?)`), Ta = Symbol("DATE_PICKER_PROVIDER_KEY"), le = (i) => {
|
|
248
|
+
Ha(Ta, i);
|
|
249
|
+
}, Ba = () => Ra(Ta), Ya = (i, e) => {
|
|
250
|
+
if (!sa(i))
|
|
251
|
+
return (i == null ? void 0 : i[0]) || "";
|
|
252
|
+
const [a, d] = i;
|
|
253
|
+
let c = A(a, e);
|
|
254
|
+
c = c.isValid() ? c : A(a);
|
|
255
|
+
let u = A(d, e);
|
|
256
|
+
if (u = u.isValid() ? u : A(d), c.isValid() || u.isValid()) {
|
|
257
|
+
let n = e;
|
|
258
|
+
if (d === "now")
|
|
259
|
+
return `${c.format(e)} ~ ${l("此刻")}`;
|
|
260
|
+
const h = ["Y", "M", "D", "H", "m", "s"].reduce(
|
|
261
|
+
(o, b, f, P) => (f < 1 || (e.indexOf(b) > e.indexOf(P[f - 1]) ? o.push(b) : o = []), o),
|
|
262
|
+
["Y"]
|
|
263
|
+
);
|
|
264
|
+
if (h.length > 1 && h.includes("D") && c.isSame(u, "year")) {
|
|
265
|
+
const [, o] = e.match(/(Y+)/);
|
|
266
|
+
let b = e.replace(o, c.format(o));
|
|
267
|
+
if (n = n.replace(/Y+[-/\\\s]/, ""), c.isSame(u, "month")) {
|
|
268
|
+
const [, f] = e.match(/(M+)/);
|
|
269
|
+
if (b = b.replace(f, c.format(f)), n = n.replace(/M+[-/\\\s]/, ""), c.isSame(u, "day")) {
|
|
270
|
+
const [, P] = e.match(/(d+|D+)/);
|
|
271
|
+
if (b = b.replace(P, c.format(P)), n = n.replace(/(d|D)+[-/\\\s]/, ""), c.isSame(u, "hour")) {
|
|
272
|
+
const [, j] = e.match(/(H+|h+)/);
|
|
273
|
+
if (b = b.replace(j, c.format(j)), n = n.replace(/[Hh]+[-/\\\s:]/, ""), c.isSame(u, "minute")) {
|
|
274
|
+
const [, N] = e.match(/(m+)/);
|
|
275
|
+
b = b.replace(N, c.format(N)), n = n.replace(/m+[-/\\\s:]/, "");
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
return b.replace(
|
|
281
|
+
n,
|
|
282
|
+
`(${c.format(n)} ~ ${u.format(n)})`
|
|
283
|
+
);
|
|
284
|
+
}
|
|
285
|
+
return `${c.format(e)} ~ ${u.format(e)}`;
|
|
286
|
+
}
|
|
287
|
+
if (!a.includes("/") && d === "now" || a === "now") {
|
|
288
|
+
const [, n, h] = (a === "now" ? d : a).match(na) || [];
|
|
289
|
+
return !n || !h ? "" : `${l(a === "now" ? "未来" : "近")}${n}${ta === "en" ? " " : ""}${l(
|
|
290
|
+
Q[h],
|
|
291
|
+
!0
|
|
292
|
+
)}`;
|
|
293
|
+
}
|
|
294
|
+
const _ = d !== "now" ? "" : l("(至今)");
|
|
295
|
+
if (Q[a])
|
|
296
|
+
return l(Q[a].replace("option-", ""), !0) + _;
|
|
297
|
+
const [, m, r] = a.match(q) || [];
|
|
298
|
+
return !m || !r ? "" : `${`${l("前")} ${m} ${l(Q[r], !0)}`}${_}`;
|
|
299
|
+
}, ha = (i) => {
|
|
300
|
+
if (!sa(i))
|
|
301
|
+
return D.RECENT;
|
|
302
|
+
const [e, a] = i, d = A(e), c = A(a);
|
|
303
|
+
return d.isValid() || c.isValid() ? D.Date : !e.includes("/") && a === "now" ? D.RECENT : e === "now" ? D.FUTURE : (e === a || a === "now") && q.test(e) || q.test(e) && q.test(a) ? D.NATURAL : D.Date;
|
|
304
|
+
}, ka = (i) => {
|
|
305
|
+
if (!sa(i))
|
|
306
|
+
return [];
|
|
307
|
+
const [e, a] = i, d = A(e), c = A(a);
|
|
308
|
+
if (d.isValid() || c.isValid())
|
|
309
|
+
return [d, a === "now" ? A() : c];
|
|
310
|
+
if (!e.includes("/") && a === "now") {
|
|
311
|
+
const [, b, f] = e.match(na) || [];
|
|
312
|
+
return !b || !f ? [] : [A().add(-b, f), A()];
|
|
313
|
+
}
|
|
314
|
+
if (e === "now") {
|
|
315
|
+
const [, b, f] = a.match(na) || [];
|
|
316
|
+
return !b || !f ? [] : [A(), A().add(+b, f)];
|
|
317
|
+
}
|
|
318
|
+
const [, u, _, m] = e.match(q) || [];
|
|
319
|
+
if ((!u || !_) && !m)
|
|
320
|
+
return [];
|
|
321
|
+
const r = _ || m, n = A().startOf(r).subtract(+u, _ || m);
|
|
322
|
+
if (a === "now")
|
|
323
|
+
return [n, A()];
|
|
324
|
+
if (e === a)
|
|
325
|
+
return [n, n.endOf(r)];
|
|
326
|
+
const [, h] = a.match(q) || [], o = A().subtract(+h, r).endOf(r);
|
|
327
|
+
return console.info(n.format(), o.format()), [n, o];
|
|
328
|
+
}, sa = (i) => {
|
|
329
|
+
if (!Array.isArray(i) || i.length < 2)
|
|
330
|
+
return !1;
|
|
331
|
+
const [e, a] = i, d = A(e), c = A(a);
|
|
332
|
+
if (d.isValid() || c.isValid())
|
|
333
|
+
return a === "now" ? d.isValid() : d.isValid() && c.isValid();
|
|
334
|
+
if (!e.includes("/") && a === "now" || e === "now") {
|
|
335
|
+
const u = e === "now" ? a : e;
|
|
336
|
+
return na.test(u);
|
|
337
|
+
}
|
|
338
|
+
return a === "now" || e === a ? q.test(e) : q.test(e) && q.test(a);
|
|
339
|
+
}, ce = (i) => {
|
|
340
|
+
const e = localStorage.getItem(i);
|
|
341
|
+
let a = [];
|
|
342
|
+
if (e)
|
|
343
|
+
try {
|
|
344
|
+
a = JSON.parse(e);
|
|
345
|
+
} catch {
|
|
346
|
+
a = [];
|
|
347
|
+
}
|
|
348
|
+
return Array.isArray(a) || (a = []), a;
|
|
349
|
+
}, se = (i, e) => {
|
|
350
|
+
if (!sa(i))
|
|
351
|
+
return;
|
|
352
|
+
let a = [];
|
|
353
|
+
const d = localStorage.getItem(e);
|
|
354
|
+
if (d)
|
|
355
|
+
try {
|
|
356
|
+
a = JSON.parse(d);
|
|
357
|
+
} catch {
|
|
358
|
+
a = [];
|
|
359
|
+
}
|
|
360
|
+
Array.isArray(a) || (a = []), !a.some((c) => c[0] === i[0] && c[1] === i[1]) && (a.unshift(i), localStorage.setItem(e, JSON.stringify(a.slice(0, 10))));
|
|
361
|
+
}, ue = { class: "common-panel-tab" }, _a = /* @__PURE__ */ G({
|
|
362
|
+
__name: "common-tab",
|
|
363
|
+
props: {
|
|
364
|
+
modelValue: {
|
|
365
|
+
required: !0,
|
|
366
|
+
type: String
|
|
367
|
+
},
|
|
368
|
+
/** panels */
|
|
369
|
+
panels: {
|
|
370
|
+
required: !0,
|
|
371
|
+
type: Array
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
setup(i) {
|
|
375
|
+
return (e, a) => (g(), S("div", ue, [
|
|
376
|
+
w(t(ga), {
|
|
377
|
+
active: i.modelValue,
|
|
378
|
+
type: "unborder-card",
|
|
379
|
+
"onUpdate:active": a[0] || (a[0] = (d) => e.$emit("update:modelValue", d))
|
|
380
|
+
}, {
|
|
381
|
+
default: C(() => [
|
|
382
|
+
(g(!0), S(
|
|
383
|
+
$,
|
|
384
|
+
null,
|
|
385
|
+
R(i.panels, (d) => (g(), H(t(ga).TabPanel, {
|
|
386
|
+
key: d.id,
|
|
387
|
+
name: d.id,
|
|
388
|
+
label: d.name
|
|
389
|
+
}, null, 8, ["name", "label"]))),
|
|
390
|
+
128
|
|
391
|
+
/* KEYED_FRAGMENT */
|
|
392
|
+
))
|
|
393
|
+
]),
|
|
394
|
+
_: 1
|
|
395
|
+
/* STABLE */
|
|
396
|
+
}, 8, ["active"])
|
|
397
|
+
]));
|
|
398
|
+
}
|
|
399
|
+
});
|
|
400
|
+
const ba = /* @__PURE__ */ G({
|
|
401
|
+
__name: "common-submit",
|
|
402
|
+
props: {
|
|
403
|
+
disabled: { type: Boolean }
|
|
404
|
+
},
|
|
405
|
+
emits: ["submit"],
|
|
406
|
+
setup(i) {
|
|
407
|
+
return (e, a) => (g(), S(
|
|
408
|
+
$,
|
|
409
|
+
null,
|
|
410
|
+
[
|
|
411
|
+
w(t(ma), {
|
|
412
|
+
class: "common-submit",
|
|
413
|
+
outline: !0,
|
|
414
|
+
theme: "primary",
|
|
415
|
+
disabled: e.disabled,
|
|
416
|
+
onClick: a[0] || (a[0] = (d) => e.$emit("submit"))
|
|
417
|
+
}, {
|
|
418
|
+
default: C(() => [
|
|
419
|
+
K(
|
|
420
|
+
k(t(l)("确定")),
|
|
421
|
+
1
|
|
422
|
+
/* TEXT */
|
|
423
|
+
)
|
|
424
|
+
]),
|
|
425
|
+
_: 1
|
|
426
|
+
/* STABLE */
|
|
427
|
+
}, 8, ["disabled"]),
|
|
428
|
+
da("v-if", !0)
|
|
429
|
+
],
|
|
430
|
+
64
|
|
431
|
+
/* STABLE_FRAGMENT */
|
|
432
|
+
));
|
|
433
|
+
}
|
|
434
|
+
});
|
|
435
|
+
const oe = { class: "date-panel" }, de = { class: "date-panel-title" }, me = { class: "date-panel-main" }, he = { class: "date-header" }, be = { class: "date-header-left" }, ve = { class: "date-header-center" }, pe = /* @__PURE__ */ s(
|
|
436
|
+
"span",
|
|
437
|
+
{ class: "date-split" },
|
|
438
|
+
null,
|
|
439
|
+
-1
|
|
440
|
+
/* HOISTED */
|
|
441
|
+
), Ae = { class: "date-header-right" }, fe = { class: "date-content" }, ge = { class: "date-grid" }, xe = ["onClick"], ya = 6, ra = 7, wa = /* @__PURE__ */ G({
|
|
442
|
+
__name: "date-panel",
|
|
443
|
+
props: {
|
|
444
|
+
format: { default: "YYYY-MM-DD HH:mm:ss" },
|
|
445
|
+
isNow: { type: Boolean },
|
|
446
|
+
minDate: {},
|
|
447
|
+
modelValue: {}
|
|
448
|
+
},
|
|
449
|
+
emits: ["update:isNow", "update:modelValue"],
|
|
450
|
+
setup(i, { emit: e }) {
|
|
451
|
+
const a = i, d = e, c = ta === "en" ? ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"] : ["日", "一", "二", "三", "四", "五", "六"], u = W([]), _ = A(), m = W(a.modelValue || _);
|
|
452
|
+
ca(m, () => {
|
|
453
|
+
const o = m.value.startOf("month").startOf("week"), b = [];
|
|
454
|
+
for (let f = 0; f < ya * ra; f++)
|
|
455
|
+
b.push(o.add(f, "day"));
|
|
456
|
+
u.value = b;
|
|
457
|
+
}, {
|
|
458
|
+
immediate: !0
|
|
459
|
+
});
|
|
460
|
+
const r = (o) => {
|
|
461
|
+
m.value = m.value.add(o, "month");
|
|
462
|
+
}, n = (o) => {
|
|
463
|
+
m.value = m.value.add(o, "year");
|
|
464
|
+
}, h = (o) => {
|
|
465
|
+
a.minDate && o.isBefore(a.minDate, "day") || d("update:modelValue", o);
|
|
466
|
+
};
|
|
467
|
+
return (o, b) => (g(), S("div", oe, [
|
|
468
|
+
s("div", de, [
|
|
469
|
+
K(
|
|
470
|
+
k(t(l)("结束时间")) + " ",
|
|
471
|
+
1
|
|
472
|
+
/* TEXT */
|
|
473
|
+
),
|
|
474
|
+
w(t(Xa), {
|
|
475
|
+
size: "small",
|
|
476
|
+
class: "title-check",
|
|
477
|
+
"model-value": a.isNow,
|
|
478
|
+
"onUpdate:modelValue": b[0] || (b[0] = (f) => o.$emit("update:isNow", !f))
|
|
479
|
+
}, {
|
|
480
|
+
default: C(() => [
|
|
481
|
+
K(" now ")
|
|
482
|
+
]),
|
|
483
|
+
_: 1
|
|
484
|
+
/* STABLE */
|
|
485
|
+
}, 8, ["model-value"])
|
|
486
|
+
]),
|
|
487
|
+
s("div", me, [
|
|
488
|
+
s("div", he, [
|
|
489
|
+
s("div", be, [
|
|
490
|
+
w(t(Ga), {
|
|
491
|
+
class: "hand-icon",
|
|
492
|
+
onClick: b[1] || (b[1] = (f) => n(-1))
|
|
493
|
+
}),
|
|
494
|
+
w(t(Pa), {
|
|
495
|
+
class: "hand-icon",
|
|
496
|
+
onClick: b[2] || (b[2] = (f) => r(-1))
|
|
497
|
+
})
|
|
498
|
+
]),
|
|
499
|
+
s("div", ve, [
|
|
500
|
+
K(
|
|
501
|
+
k(m.value.year()),
|
|
502
|
+
1
|
|
503
|
+
/* TEXT */
|
|
504
|
+
),
|
|
505
|
+
pe,
|
|
506
|
+
K(
|
|
507
|
+
k(m.value.month() + 1),
|
|
508
|
+
1
|
|
509
|
+
/* TEXT */
|
|
510
|
+
)
|
|
511
|
+
]),
|
|
512
|
+
s("div", Ae, [
|
|
513
|
+
w(t(Da), {
|
|
514
|
+
class: "hand-icon",
|
|
515
|
+
onClick: b[3] || (b[3] = (f) => r(1))
|
|
516
|
+
}),
|
|
517
|
+
w(t(Oa), {
|
|
518
|
+
class: "hand-icon",
|
|
519
|
+
onClick: b[4] || (b[4] = (f) => n(1))
|
|
520
|
+
})
|
|
521
|
+
])
|
|
522
|
+
]),
|
|
523
|
+
s("div", fe, [
|
|
524
|
+
s("ul", ge, [
|
|
525
|
+
(g(!0), S(
|
|
526
|
+
$,
|
|
527
|
+
null,
|
|
528
|
+
R(t(c), (f, P) => (g(), S(
|
|
529
|
+
"li",
|
|
530
|
+
{
|
|
531
|
+
class: "date-grid-item not-click",
|
|
532
|
+
key: P
|
|
533
|
+
},
|
|
534
|
+
k(f),
|
|
535
|
+
1
|
|
536
|
+
/* TEXT */
|
|
537
|
+
))),
|
|
538
|
+
128
|
|
539
|
+
/* KEYED_FRAGMENT */
|
|
540
|
+
))
|
|
541
|
+
]),
|
|
542
|
+
(g(), S(
|
|
543
|
+
$,
|
|
544
|
+
null,
|
|
545
|
+
R(ya, (f) => s("ul", {
|
|
546
|
+
class: "date-grid",
|
|
547
|
+
key: f
|
|
548
|
+
}, [
|
|
549
|
+
(g(!0), S(
|
|
550
|
+
$,
|
|
551
|
+
null,
|
|
552
|
+
R(u.value.slice((f - 1) * ra, (f - 1) * ra + ra), (P) => (g(), S("li", {
|
|
553
|
+
class: ea(["date-grid-item", {
|
|
554
|
+
"is-last-month": P.isBefore(m.value, "month"),
|
|
555
|
+
"is-next-month": P.isAfter(m.value, "month"),
|
|
556
|
+
"is-today": P.isSame(t(_), "day"),
|
|
557
|
+
"is-disabled": o.minDate && P.isBefore(o.minDate, "day"),
|
|
558
|
+
"is-selected": a.modelValue && P.isSame(a.modelValue, "day")
|
|
559
|
+
}]),
|
|
560
|
+
key: P.unix(),
|
|
561
|
+
onClick: Sa((j) => h(P), ["prevent"])
|
|
562
|
+
}, k(P.date()), 11, xe))),
|
|
563
|
+
128
|
|
564
|
+
/* KEYED_FRAGMENT */
|
|
565
|
+
))
|
|
566
|
+
])),
|
|
567
|
+
64
|
|
568
|
+
/* STABLE_FRAGMENT */
|
|
569
|
+
))
|
|
570
|
+
])
|
|
571
|
+
])
|
|
572
|
+
]));
|
|
573
|
+
}
|
|
574
|
+
});
|
|
575
|
+
const Ie = { class: "date-wrapper" }, ke = { class: "date-input" }, _e = { class: "date-picker" }, ye = /* @__PURE__ */ s(
|
|
576
|
+
"span",
|
|
577
|
+
{ class: "date-picker-icon" },
|
|
578
|
+
[
|
|
579
|
+
/* @__PURE__ */ s("svg", {
|
|
580
|
+
class: "date-content-icon",
|
|
581
|
+
viewBox: "0 0 1024 1024",
|
|
582
|
+
version: "1.1",
|
|
583
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
584
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
585
|
+
width: "14",
|
|
586
|
+
height: "14"
|
|
587
|
+
}, [
|
|
588
|
+
/* @__PURE__ */ s("path", {
|
|
589
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
590
|
+
d: "M558.933 465.067h-93.866v93.866h93.866v-93.866z m0 162.133h-93.866v93.867h93.866V627.2z m371.2-533.333h-93.866V21.333c0-12.8-8.534-21.333-21.334-21.333S793.6 8.533 793.6 21.333V89.6H234.667V21.333c0-12.8-12.8-21.333-25.6-21.333s-21.334 8.533-21.334 21.333V89.6H93.867C42.667 93.867 0 136.533 0 187.733V934.4c0 46.933 42.667 89.6 93.867 89.6h836.266c51.2 0 93.867-42.667 93.867-93.867v-742.4c0-51.2-42.667-93.866-93.867-93.866z m46.934 836.266c0 25.6-21.334 46.934-46.934 46.934H93.867c-25.6 0-46.934-21.334-46.934-46.934V371.2h930.134v558.933z m0-605.866H46.933V187.733c0-25.6 21.334-46.933 46.934-46.933h93.866v68.267c0 12.8 8.534 21.333 21.334 21.333s21.333-8.533 21.333-21.333V140.8h558.933v68.267c0 12.8 8.534 21.333 21.334 21.333S832 221.867 832 209.067V140.8h93.867c25.6 0 46.933 21.333 46.933 46.933v136.534h4.267zM789.333 627.2h-93.866v93.867h93.866V627.2z m0-162.133h-93.866v93.866h93.866v-93.866z m-230.4 324.266h-93.866V883.2h93.866v-93.867z m-234.666 0h-89.6V883.2h93.866v-93.867h-4.266z m0-324.266h-89.6v93.866h93.866v-93.866h-4.266z m0 162.133h-89.6v93.867h93.866V627.2h-4.266z",
|
|
591
|
+
fill: "#C4C6CC"
|
|
592
|
+
})
|
|
593
|
+
])
|
|
594
|
+
],
|
|
595
|
+
-1
|
|
596
|
+
/* HOISTED */
|
|
597
|
+
), we = ["placeholder", "value"], Me = /* @__PURE__ */ s(
|
|
598
|
+
"span",
|
|
599
|
+
{ class: "date-picker-split" },
|
|
600
|
+
"~",
|
|
601
|
+
-1
|
|
602
|
+
/* HOISTED */
|
|
603
|
+
), Ee = ["placeholder", "value"], ze = { class: "show-format" }, Se = { class: "date-format-wrapper" }, Pe = { class: "content-title" }, De = { class: "content-table" }, Ce = /* @__PURE__ */ G({
|
|
604
|
+
__name: "date-picker",
|
|
605
|
+
props: {
|
|
606
|
+
value: {}
|
|
607
|
+
},
|
|
608
|
+
emits: ["change"],
|
|
609
|
+
setup(i, { emit: e }) {
|
|
610
|
+
A.extend(Ma);
|
|
611
|
+
const a = i, d = e, c = B(null), u = B(null), _ = B(!1), m = B(!1), r = W(), n = W(), h = B(!1), { format: o } = Ba(), b = A();
|
|
612
|
+
ca(() => a.value, (x) => {
|
|
613
|
+
if (!Array.isArray(x) || x.length < 2)
|
|
614
|
+
return;
|
|
615
|
+
const [I, z] = x, Y = A(I), F = A(z);
|
|
616
|
+
if (!(!Y.isValid() && !F.isValid())) {
|
|
617
|
+
if (Y.isValid()) {
|
|
618
|
+
const O = A(I, o.value);
|
|
619
|
+
r.value = O.isValid() ? O : Y;
|
|
620
|
+
}
|
|
621
|
+
if (z === "now") {
|
|
622
|
+
h.value = !0, n.value = A();
|
|
623
|
+
return;
|
|
624
|
+
}
|
|
625
|
+
if (F.isValid()) {
|
|
626
|
+
const O = A(z, o.value);
|
|
627
|
+
n.value = O.isValid() ? O : F;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
}, {
|
|
631
|
+
immediate: !0
|
|
632
|
+
});
|
|
633
|
+
const f = async (x, I) => {
|
|
634
|
+
var O, va, pa;
|
|
635
|
+
const z = x.target.value.toString().trim();
|
|
636
|
+
if (!z || I === "end" && z === "now" && h.value)
|
|
637
|
+
return;
|
|
638
|
+
if (z === "now" && I === "end") {
|
|
639
|
+
h.value || (h.value = !0, p(A(), !1));
|
|
640
|
+
return;
|
|
641
|
+
}
|
|
642
|
+
const Y = I === "start" ? r.value : n.value, F = A(z);
|
|
643
|
+
F.isValid() && (Y != null && Y.isSame(F) || (I === "start" ? M(F) : (h.value = z === "now", p(F, !!((O = r.value) != null && O.isSame(F)))))), x.target.value = I === "start" ? ((va = r.value) == null ? void 0 : va.format(o.value)) || "" : ((pa = n.value) == null ? void 0 : pa.format(o.value)) || "";
|
|
644
|
+
}, P = () => {
|
|
645
|
+
_.value = !0;
|
|
646
|
+
}, j = () => {
|
|
647
|
+
m.value = !0;
|
|
648
|
+
}, N = (x = 32) => {
|
|
649
|
+
setTimeout(() => _.value = !1, x);
|
|
650
|
+
}, L = (x = 32) => {
|
|
651
|
+
setTimeout(() => m.value = !1, x);
|
|
652
|
+
}, M = (x) => {
|
|
653
|
+
var I;
|
|
654
|
+
r.value = x, n.value || ((I = u.value) == null || I.focus(), j()), N();
|
|
655
|
+
}, p = (x, I = !0) => {
|
|
656
|
+
var z;
|
|
657
|
+
n.value = I ? A(x.endOf("day")) : x, h.value = I ? !1 : h.value, r.value || ((z = c.value) == null || z.focus(), P()), L();
|
|
658
|
+
}, v = () => {
|
|
659
|
+
h.value = !h.value, p(A(), !1), r.value && (_.value = !1);
|
|
660
|
+
}, E = () => {
|
|
661
|
+
r.value = void 0, n.value = void 0, h.value = !1, N(), L();
|
|
662
|
+
}, y = () => {
|
|
663
|
+
var x, I;
|
|
664
|
+
r.value && n.value && d("change", [
|
|
665
|
+
((x = r.value) == null ? void 0 : x.format(o.value)) || "",
|
|
666
|
+
h.value ? "now" : ((I = n.value) == null ? void 0 : I.format(o.value)) || ""
|
|
667
|
+
]);
|
|
668
|
+
}, T = (x) => {
|
|
669
|
+
var I;
|
|
670
|
+
_.value && ((I = document.querySelector(".__date-picker-popover-start__")) != null && I.contains(x.target) || N());
|
|
671
|
+
}, V = (x) => {
|
|
672
|
+
var I;
|
|
673
|
+
m.value && ((I = document.querySelector(".__date-picker-popover-end__")) != null && I.contains(x.target) || L());
|
|
674
|
+
};
|
|
675
|
+
return (x, I) => (g(), S("div", Ie, [
|
|
676
|
+
s("div", ke, [
|
|
677
|
+
s("div", _e, [
|
|
678
|
+
ye,
|
|
679
|
+
w(t(aa), {
|
|
680
|
+
trigger: "manual",
|
|
681
|
+
theme: "light",
|
|
682
|
+
placement: "bottom-start",
|
|
683
|
+
boundary: "parent",
|
|
684
|
+
"ext-cls": "__bk-date-picker-popover__ __date-picker-popover-start__",
|
|
685
|
+
arrow: !1,
|
|
686
|
+
"is-show": _.value
|
|
687
|
+
}, {
|
|
688
|
+
content: C(() => [
|
|
689
|
+
w(wa, {
|
|
690
|
+
format: t(o),
|
|
691
|
+
"is-now": h.value,
|
|
692
|
+
key: "start",
|
|
693
|
+
"model-value": r.value,
|
|
694
|
+
"onUpdate:modelValue": M,
|
|
695
|
+
"onUpdate:isNow": v
|
|
696
|
+
}, null, 8, ["format", "is-now", "model-value"])
|
|
697
|
+
]),
|
|
698
|
+
default: C(() => {
|
|
699
|
+
var z;
|
|
700
|
+
return [
|
|
701
|
+
ia(s("input", {
|
|
702
|
+
ref_key: "startInput",
|
|
703
|
+
ref: c,
|
|
704
|
+
class: "date-picker-start",
|
|
705
|
+
spellcheck: "false",
|
|
706
|
+
placeholder: t(l)("开始时间"),
|
|
707
|
+
value: (z = r.value) == null ? void 0 : z.format(t(o)),
|
|
708
|
+
onClick: P,
|
|
709
|
+
onBlur: I[0] || (I[0] = (Y) => f(Y, "start")),
|
|
710
|
+
onKeypress: I[1] || (I[1] = Aa((Y) => f(Y, "start"), ["enter"]))
|
|
711
|
+
}, null, 40, we), [
|
|
712
|
+
[t(ua), T]
|
|
713
|
+
])
|
|
714
|
+
];
|
|
715
|
+
}),
|
|
716
|
+
_: 1
|
|
717
|
+
/* STABLE */
|
|
718
|
+
}, 8, ["is-show"]),
|
|
719
|
+
Me,
|
|
720
|
+
w(t(aa), {
|
|
721
|
+
trigger: "manual",
|
|
722
|
+
theme: "light",
|
|
723
|
+
placement: "bottom-start",
|
|
724
|
+
boundary: "parent",
|
|
725
|
+
"ext-cls": "__bk-date-picker-popover__ __date-picker-popover-end__",
|
|
726
|
+
arrow: !1,
|
|
727
|
+
"is-show": m.value
|
|
728
|
+
}, {
|
|
729
|
+
content: C(() => [
|
|
730
|
+
w(wa, {
|
|
731
|
+
format: t(o),
|
|
732
|
+
"is-now": h.value,
|
|
733
|
+
"min-date": r.value,
|
|
734
|
+
"model-value": n.value,
|
|
735
|
+
key: "end",
|
|
736
|
+
"onUpdate:modelValue": p,
|
|
737
|
+
"onUpdate:isNow": v
|
|
738
|
+
}, null, 8, ["format", "is-now", "min-date", "model-value"])
|
|
739
|
+
]),
|
|
740
|
+
default: C(() => {
|
|
741
|
+
var z;
|
|
742
|
+
return [
|
|
743
|
+
ia(s("input", {
|
|
744
|
+
ref_key: "endInput",
|
|
745
|
+
ref: u,
|
|
746
|
+
class: "date-picker-end",
|
|
747
|
+
placeholder: t(l)("结束时间"),
|
|
748
|
+
value: h.value ? "now" : (z = n.value) == null ? void 0 : z.format(t(o)),
|
|
749
|
+
onClick: j,
|
|
750
|
+
onBlur: I[2] || (I[2] = (Y) => f(Y, "end")),
|
|
751
|
+
onKeypress: I[3] || (I[3] = Aa((Y) => f(Y, "end"), ["enter"]))
|
|
752
|
+
}, null, 40, Ee), [
|
|
753
|
+
[t(ua), V]
|
|
754
|
+
])
|
|
755
|
+
];
|
|
756
|
+
}),
|
|
757
|
+
_: 1
|
|
758
|
+
/* STABLE */
|
|
759
|
+
}, 8, ["is-show"]),
|
|
760
|
+
r.value || n.value ? (g(), H(t(Ja), {
|
|
761
|
+
key: 0,
|
|
762
|
+
class: "date-picker-clear",
|
|
763
|
+
onClick: E
|
|
764
|
+
})) : da("v-if", !0)
|
|
765
|
+
]),
|
|
766
|
+
w(ba, {
|
|
767
|
+
disabled: !(r.value && n.value),
|
|
768
|
+
onSubmit: y
|
|
769
|
+
}, null, 8, ["disabled"])
|
|
770
|
+
]),
|
|
771
|
+
s("div", ze, [
|
|
772
|
+
K(
|
|
773
|
+
k(t(l)("支持多种时间格式自动转换")) + " ",
|
|
774
|
+
1
|
|
775
|
+
/* TEXT */
|
|
776
|
+
),
|
|
777
|
+
w(t(aa), {
|
|
778
|
+
trigger: "click",
|
|
779
|
+
placement: "bottom",
|
|
780
|
+
theme: "light"
|
|
781
|
+
}, {
|
|
782
|
+
content: C(() => [
|
|
783
|
+
s("div", Se, [
|
|
784
|
+
s(
|
|
785
|
+
"div",
|
|
786
|
+
Pe,
|
|
787
|
+
k(t(l)("时间格式支持")),
|
|
788
|
+
1
|
|
789
|
+
/* TEXT */
|
|
790
|
+
),
|
|
791
|
+
s("table", De, [
|
|
792
|
+
s("thead", null, [
|
|
793
|
+
s("tr", null, [
|
|
794
|
+
s(
|
|
795
|
+
"th",
|
|
796
|
+
null,
|
|
797
|
+
k(t(l)("格式")),
|
|
798
|
+
1
|
|
799
|
+
/* TEXT */
|
|
800
|
+
),
|
|
801
|
+
s(
|
|
802
|
+
"th",
|
|
803
|
+
null,
|
|
804
|
+
k(t(l)("示例")),
|
|
805
|
+
1
|
|
806
|
+
/* TEXT */
|
|
807
|
+
)
|
|
808
|
+
])
|
|
809
|
+
]),
|
|
810
|
+
s("tbody", null, [
|
|
811
|
+
(g(!0), S(
|
|
812
|
+
$,
|
|
813
|
+
null,
|
|
814
|
+
R(t(re), (z) => (g(), S("tr", { key: z }, [
|
|
815
|
+
s(
|
|
816
|
+
"td",
|
|
817
|
+
null,
|
|
818
|
+
k(z),
|
|
819
|
+
1
|
|
820
|
+
/* TEXT */
|
|
821
|
+
),
|
|
822
|
+
s(
|
|
823
|
+
"td",
|
|
824
|
+
null,
|
|
825
|
+
k(t(b).format(z)),
|
|
826
|
+
1
|
|
827
|
+
/* TEXT */
|
|
828
|
+
)
|
|
829
|
+
]))),
|
|
830
|
+
128
|
|
831
|
+
/* KEYED_FRAGMENT */
|
|
832
|
+
))
|
|
833
|
+
])
|
|
834
|
+
])
|
|
835
|
+
])
|
|
836
|
+
]),
|
|
837
|
+
default: C(() => [
|
|
838
|
+
w(t(ma), {
|
|
839
|
+
text: "",
|
|
840
|
+
theme: "primary",
|
|
841
|
+
class: "format-button"
|
|
842
|
+
}, {
|
|
843
|
+
default: C(() => [
|
|
844
|
+
K(
|
|
845
|
+
k(t(l)("查看支持格式")),
|
|
846
|
+
1
|
|
847
|
+
/* TEXT */
|
|
848
|
+
)
|
|
849
|
+
]),
|
|
850
|
+
_: 1
|
|
851
|
+
/* STABLE */
|
|
852
|
+
})
|
|
853
|
+
]),
|
|
854
|
+
_: 1
|
|
855
|
+
/* STABLE */
|
|
856
|
+
})
|
|
857
|
+
])
|
|
858
|
+
]));
|
|
859
|
+
}
|
|
860
|
+
});
|
|
861
|
+
const Ve = { class: "natural-picker" }, Te = ["onClick"], Be = "__", Ye = /* @__PURE__ */ G({
|
|
862
|
+
__name: "natural-picker",
|
|
863
|
+
props: {
|
|
864
|
+
value: {}
|
|
865
|
+
},
|
|
866
|
+
emits: ["change"],
|
|
867
|
+
setup(i, { emit: e }) {
|
|
868
|
+
const a = e, d = i, c = B(), u = W(xa.slice()), _ = B(Ia[0].id), m = B(""), r = B(), n = B(u.value[0]);
|
|
869
|
+
ca(() => d.value, (M) => {
|
|
870
|
+
if (![D.NATURAL].includes(ha(M)))
|
|
871
|
+
return;
|
|
872
|
+
const [p, v] = M;
|
|
873
|
+
_.value = v === "now" ? la.NOW : la.ALL;
|
|
874
|
+
const [, E, y, T] = p.match(q) || [];
|
|
875
|
+
if ((!E || !y) && !T)
|
|
876
|
+
return;
|
|
877
|
+
const V = xa.find((x) => x.id === p && x.type === X.default);
|
|
878
|
+
if (v !== "now" && p !== v && V || !V) {
|
|
879
|
+
const x = `${`${l("前")} ${E} ${l(Q[y], !0)}`}`;
|
|
880
|
+
u.value.unshift({
|
|
881
|
+
id: p,
|
|
882
|
+
name: x,
|
|
883
|
+
type: X.custom
|
|
884
|
+
}), [n.value] = u.value;
|
|
885
|
+
return;
|
|
886
|
+
}
|
|
887
|
+
V && (n.value = V);
|
|
888
|
+
}, {
|
|
889
|
+
immediate: !0
|
|
890
|
+
});
|
|
891
|
+
const h = (M) => `${M.id}${Be}${M.type}`, o = (M) => {
|
|
892
|
+
const p = M.id;
|
|
893
|
+
if (_.value === la.ALL) {
|
|
894
|
+
const [, v, E, y] = p.match(q) || [];
|
|
895
|
+
return +v > 1 ? +v == 2 && E === "d" ? [p, p] : [p, `now-1${E}/${y}`] : [p, p];
|
|
896
|
+
}
|
|
897
|
+
return [p, "now"];
|
|
898
|
+
}, b = (M) => {
|
|
899
|
+
var p;
|
|
900
|
+
if (M.type === X.edit) {
|
|
901
|
+
r.value = "", m.value = M.id, setTimeout(() => {
|
|
902
|
+
var v, E;
|
|
903
|
+
(E = (v = c.value) == null ? void 0 : v.inputRef) == null || E.focus();
|
|
904
|
+
}, 20);
|
|
905
|
+
return;
|
|
906
|
+
}
|
|
907
|
+
n.value = M, m.value = "", (p = c.value) == null || p.hidePopover();
|
|
908
|
+
}, f = (M) => {
|
|
909
|
+
_.value = M;
|
|
910
|
+
}, P = (M, p) => {
|
|
911
|
+
var y, T;
|
|
912
|
+
m.value = "";
|
|
913
|
+
const v = `now-${+M}${p.unit}/${p.unit}`, E = u.value.find((V) => V.id === v);
|
|
914
|
+
if (E) {
|
|
915
|
+
n.value = E, (y = c.value) == null || y.hidePopover();
|
|
916
|
+
return;
|
|
917
|
+
}
|
|
918
|
+
u.value.unshift({
|
|
919
|
+
id: v,
|
|
920
|
+
name: p.name.replace("N", M.toString()),
|
|
921
|
+
type: X.custom
|
|
922
|
+
}), [n.value] = u.value, (T = c.value) == null || T.hidePopover();
|
|
923
|
+
}, j = (M, p) => {
|
|
924
|
+
const v = M.target.value;
|
|
925
|
+
!v || !m.value || P(+v, p);
|
|
926
|
+
}, N = (M, p, v) => {
|
|
927
|
+
M.key !== "Enter" || !m.value || P(p, v);
|
|
928
|
+
}, L = () => {
|
|
929
|
+
a("change", o(n.value));
|
|
930
|
+
};
|
|
931
|
+
return (M, p) => (g(), S("div", Ve, [
|
|
932
|
+
w(t(U), {
|
|
933
|
+
ref_key: "naturalSelectRef",
|
|
934
|
+
ref: c,
|
|
935
|
+
"model-value": h(n.value),
|
|
936
|
+
filterable: "",
|
|
937
|
+
"input-search": !1,
|
|
938
|
+
prefix: t(l)("自然日期"),
|
|
939
|
+
clearable: !1,
|
|
940
|
+
"popover-options": { boundary: "parent" },
|
|
941
|
+
"search-placeholder": t(l)("请输入"),
|
|
942
|
+
"no-match-text": t(l)("无匹配数据")
|
|
943
|
+
}, {
|
|
944
|
+
default: C(() => [
|
|
945
|
+
(g(!0), S(
|
|
946
|
+
$,
|
|
947
|
+
null,
|
|
948
|
+
R(u.value, (v) => (g(), H(t(U).Option, {
|
|
949
|
+
id: h(v),
|
|
950
|
+
key: h(v),
|
|
951
|
+
name: v.name
|
|
952
|
+
}, {
|
|
953
|
+
default: C(() => [
|
|
954
|
+
s("div", {
|
|
955
|
+
onClick: p[1] || (p[1] = Sa(() => {
|
|
956
|
+
}, ["prevent", "stop"])),
|
|
957
|
+
style: { width: "100%", padding: "0 12px", margin: "0 -12px" }
|
|
958
|
+
}, [
|
|
959
|
+
m.value === v.id ? (g(), H(t(Ca), {
|
|
960
|
+
key: 0,
|
|
961
|
+
style: { width: "100%" },
|
|
962
|
+
type: "number",
|
|
963
|
+
size: "small",
|
|
964
|
+
prefix: v.prefix,
|
|
965
|
+
suffix: v.suffix,
|
|
966
|
+
clearable: !1,
|
|
967
|
+
autofocus: !0,
|
|
968
|
+
"show-control": !1,
|
|
969
|
+
placeholder: t(l)("请输入"),
|
|
970
|
+
modelValue: r.value,
|
|
971
|
+
"onUpdate:modelValue": p[0] || (p[0] = (E) => r.value = E),
|
|
972
|
+
onBlur: (E) => j(E, v),
|
|
973
|
+
onKeypress: (E, y) => N(y, E, v)
|
|
974
|
+
}, null, 8, ["prefix", "suffix", "placeholder", "modelValue", "onBlur", "onKeypress"])) : (g(), S("div", {
|
|
975
|
+
key: 1,
|
|
976
|
+
onClick: (E) => b(v),
|
|
977
|
+
style: { width: "100%" }
|
|
978
|
+
}, k(v.name), 9, Te))
|
|
979
|
+
])
|
|
980
|
+
]),
|
|
981
|
+
_: 2
|
|
982
|
+
/* DYNAMIC */
|
|
983
|
+
}, 1032, ["id", "name"]))),
|
|
984
|
+
128
|
|
985
|
+
/* KEYED_FRAGMENT */
|
|
986
|
+
))
|
|
987
|
+
]),
|
|
988
|
+
_: 1
|
|
989
|
+
/* STABLE */
|
|
990
|
+
}, 8, ["model-value", "prefix", "search-placeholder", "no-match-text"]),
|
|
991
|
+
w(t(U), {
|
|
992
|
+
class: "natural-unit",
|
|
993
|
+
"model-value": _.value,
|
|
994
|
+
clearable: !1,
|
|
995
|
+
"popover-options": { boundary: "parent" },
|
|
996
|
+
onChange: f
|
|
997
|
+
}, {
|
|
998
|
+
default: C(() => [
|
|
999
|
+
(g(!0), S(
|
|
1000
|
+
$,
|
|
1001
|
+
null,
|
|
1002
|
+
R(t(Ia), (v) => (g(), H(t(U).Option, {
|
|
1003
|
+
id: v.id,
|
|
1004
|
+
key: v.id,
|
|
1005
|
+
name: v.name
|
|
1006
|
+
}, null, 8, ["id", "name"]))),
|
|
1007
|
+
128
|
|
1008
|
+
/* KEYED_FRAGMENT */
|
|
1009
|
+
))
|
|
1010
|
+
]),
|
|
1011
|
+
_: 1
|
|
1012
|
+
/* STABLE */
|
|
1013
|
+
}, 8, ["model-value"]),
|
|
1014
|
+
w(ba, { onSubmit: L })
|
|
1015
|
+
]));
|
|
1016
|
+
}
|
|
1017
|
+
});
|
|
1018
|
+
const je = { class: "recent-picker" }, $e = /* @__PURE__ */ G({
|
|
1019
|
+
__name: "recent-picker",
|
|
1020
|
+
props: {
|
|
1021
|
+
type: { default: D.RECENT },
|
|
1022
|
+
value: {}
|
|
1023
|
+
},
|
|
1024
|
+
emits: ["change"],
|
|
1025
|
+
setup(i, { emit: e }) {
|
|
1026
|
+
const a = e, d = i, c = B("m"), u = B();
|
|
1027
|
+
ca(() => d.value, (r) => {
|
|
1028
|
+
if (![D.FUTURE, D.RECENT].includes(ha(r)))
|
|
1029
|
+
return;
|
|
1030
|
+
const [n, h] = r, o = d.type === D.FUTURE ? h : n, [, b, f] = o.match(na) || [];
|
|
1031
|
+
c.value = f || "m", u.value = Number(b) || void 0;
|
|
1032
|
+
}, {
|
|
1033
|
+
immediate: !0
|
|
1034
|
+
});
|
|
1035
|
+
const _ = Z(() => !!u.value && !!c.value), m = () => {
|
|
1036
|
+
if (u.value) {
|
|
1037
|
+
if (d.type === D.FUTURE) {
|
|
1038
|
+
a("change", ["now", `${D.FUTURE}${u.value}${c.value}`]);
|
|
1039
|
+
return;
|
|
1040
|
+
}
|
|
1041
|
+
a("change", [`${D.RECENT}${u.value}${c.value}`, "now"]);
|
|
1042
|
+
}
|
|
1043
|
+
};
|
|
1044
|
+
return (r, n) => (g(), S("div", je, [
|
|
1045
|
+
w(t(Ca), {
|
|
1046
|
+
modelValue: u.value,
|
|
1047
|
+
"onUpdate:modelValue": n[1] || (n[1] = (h) => u.value = h),
|
|
1048
|
+
type: "number",
|
|
1049
|
+
prefix: r.type === "now-" ? t(l)("最近") : t(l)("将来"),
|
|
1050
|
+
placeholder: t(l)("请输入")
|
|
1051
|
+
}, {
|
|
1052
|
+
suffix: C(() => [
|
|
1053
|
+
w(t(U), {
|
|
1054
|
+
class: "recent-unit",
|
|
1055
|
+
modelValue: c.value,
|
|
1056
|
+
"onUpdate:modelValue": n[0] || (n[0] = (h) => c.value = h),
|
|
1057
|
+
filterable: "",
|
|
1058
|
+
clearable: !1,
|
|
1059
|
+
"popover-options": { boundary: "parent" }
|
|
1060
|
+
}, {
|
|
1061
|
+
default: C(() => [
|
|
1062
|
+
(g(!0), S(
|
|
1063
|
+
$,
|
|
1064
|
+
null,
|
|
1065
|
+
R(t(Va), (h) => (g(), H(t(U).Option, {
|
|
1066
|
+
id: h.id,
|
|
1067
|
+
key: h.id,
|
|
1068
|
+
name: h.name
|
|
1069
|
+
}, null, 8, ["id", "name"]))),
|
|
1070
|
+
128
|
|
1071
|
+
/* KEYED_FRAGMENT */
|
|
1072
|
+
))
|
|
1073
|
+
]),
|
|
1074
|
+
_: 1
|
|
1075
|
+
/* STABLE */
|
|
1076
|
+
}, 8, ["modelValue"])
|
|
1077
|
+
]),
|
|
1078
|
+
_: 1
|
|
1079
|
+
/* STABLE */
|
|
1080
|
+
}, 8, ["modelValue", "prefix", "placeholder"]),
|
|
1081
|
+
w(ba, {
|
|
1082
|
+
disabled: !_.value,
|
|
1083
|
+
onSubmit: m
|
|
1084
|
+
}, null, 8, ["disabled"])
|
|
1085
|
+
]));
|
|
1086
|
+
}
|
|
1087
|
+
});
|
|
1088
|
+
A.extend(za);
|
|
1089
|
+
A.extend(Ea);
|
|
1090
|
+
const Ne = [
|
|
1091
|
+
// {
|
|
1092
|
+
// label: '',
|
|
1093
|
+
// options: [
|
|
1094
|
+
// { label: 'Browser Time', searchIndex: 'browser time|cst|utc+08:00|china|cn', value: 'browser' },
|
|
1095
|
+
// // { label: 'Coordinated Universal Time', searchIndex: 'coordinated universal time|utc, gmt|utc', value: 'utc' },
|
|
1096
|
+
// ],
|
|
1097
|
+
// },
|
|
1098
|
+
{
|
|
1099
|
+
label: "Africa",
|
|
1100
|
+
options: [
|
|
1101
|
+
{
|
|
1102
|
+
label: "Africa/Abidjan",
|
|
1103
|
+
searchIndex: "africa/abidjan|gmt|utc|burkina faso|bf|cote d'ivoire|ci|ghana|gh|gambia|gm|guinea|gn|iceland|is|mali|ml|mauritania|mr|saint helena|sh|sierra leone|sl|senegal|sn|togo|tg",
|
|
1104
|
+
value: "Africa/Abidjan"
|
|
1105
|
+
},
|
|
1106
|
+
{ label: "Africa/Accra", searchIndex: "africa/accra|gmt|utc|ghana|gh", value: "Africa/Accra" },
|
|
1107
|
+
{
|
|
1108
|
+
label: "Africa/Addis_Ababa",
|
|
1109
|
+
searchIndex: "africa/addis_ababa|eat|utc+03:00|ethiopia|et",
|
|
1110
|
+
value: "Africa/Addis_Ababa"
|
|
1111
|
+
},
|
|
1112
|
+
{ label: "Africa/Algiers", searchIndex: "africa/algiers|cet|utc+01:00|algeria|dz", value: "Africa/Algiers" },
|
|
1113
|
+
{ label: "Africa/Asmara", searchIndex: "africa/asmara|eat|utc+03:00|eritrea|er", value: "Africa/Asmara" },
|
|
1114
|
+
{ label: "Africa/Bamako", searchIndex: "africa/bamako|gmt|utc|mali|ml", value: "Africa/Bamako" },
|
|
1115
|
+
{
|
|
1116
|
+
label: "Africa/Bangui",
|
|
1117
|
+
searchIndex: "africa/bangui|wat|utc+01:00|central african republic|cf",
|
|
1118
|
+
value: "Africa/Bangui"
|
|
1119
|
+
},
|
|
1120
|
+
{ label: "Africa/Banjul", searchIndex: "africa/banjul|gmt|utc|gambia|gm", value: "Africa/Banjul" },
|
|
1121
|
+
{ label: "Africa/Bissau", searchIndex: "africa/bissau|gmt|utc|guinea-bissau|gw", value: "Africa/Bissau" },
|
|
1122
|
+
{ label: "Africa/Blantyre", searchIndex: "africa/blantyre|cat|utc+02:00|malawi|mw", value: "Africa/Blantyre" },
|
|
1123
|
+
{
|
|
1124
|
+
label: "Africa/Brazzaville",
|
|
1125
|
+
searchIndex: "africa/brazzaville|wat|utc+01:00|congo|cg",
|
|
1126
|
+
value: "Africa/Brazzaville"
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
label: "Africa/Bujumbura",
|
|
1130
|
+
searchIndex: "africa/bujumbura|cat|utc+02:00|burundi|bi",
|
|
1131
|
+
value: "Africa/Bujumbura"
|
|
1132
|
+
},
|
|
1133
|
+
{ label: "Africa/Cairo", searchIndex: "africa/cairo|eest|utc+03:00|egypt|eg", value: "Africa/Cairo" },
|
|
1134
|
+
{
|
|
1135
|
+
label: "Africa/Casablanca",
|
|
1136
|
+
searchIndex: "africa/casablanca||utc+01:00|morocco|ma",
|
|
1137
|
+
value: "Africa/Casablanca"
|
|
1138
|
+
},
|
|
1139
|
+
{ label: "Africa/Ceuta", searchIndex: "africa/ceuta|cest|utc+02:00|spain|es", value: "Africa/Ceuta" },
|
|
1140
|
+
{ label: "Africa/Conakry", searchIndex: "africa/conakry|gmt|utc|guinea|gn", value: "Africa/Conakry" },
|
|
1141
|
+
{ label: "Africa/Dakar", searchIndex: "africa/dakar|gmt|utc|senegal|sn", value: "Africa/Dakar" },
|
|
1142
|
+
{
|
|
1143
|
+
label: "Africa/Dar_es_Salaam",
|
|
1144
|
+
searchIndex: "africa/dar_es_salaam|eat|utc+03:00|tanzania|tz",
|
|
1145
|
+
value: "Africa/Dar_es_Salaam"
|
|
1146
|
+
},
|
|
1147
|
+
{ label: "Africa/Djibouti", searchIndex: "africa/djibouti|eat|utc+03:00|djibouti|dj", value: "Africa/Djibouti" },
|
|
1148
|
+
{ label: "Africa/Douala", searchIndex: "africa/douala|wat|utc+01:00|cameroon|cm", value: "Africa/Douala" },
|
|
1149
|
+
{
|
|
1150
|
+
label: "Africa/El_Aaiun",
|
|
1151
|
+
searchIndex: "africa/el_aaiun||utc+01:00|western sahara|eh",
|
|
1152
|
+
value: "Africa/El_Aaiun"
|
|
1153
|
+
},
|
|
1154
|
+
{ label: "Africa/Freetown", searchIndex: "africa/freetown|gmt|utc|sierra leone|sl", value: "Africa/Freetown" },
|
|
1155
|
+
{ label: "Africa/Gaborone", searchIndex: "africa/gaborone|cat|utc+02:00|botswana|bw", value: "Africa/Gaborone" },
|
|
1156
|
+
{ label: "Africa/Harare", searchIndex: "africa/harare|cat|utc+02:00|zimbabwe|zw", value: "Africa/Harare" },
|
|
1157
|
+
{
|
|
1158
|
+
label: "Africa/Johannesburg",
|
|
1159
|
+
searchIndex: "africa/johannesburg|sast|utc+02:00|lesotho|ls|swaziland|sz|south africa|za",
|
|
1160
|
+
value: "Africa/Johannesburg"
|
|
1161
|
+
},
|
|
1162
|
+
{ label: "Africa/Kampala", searchIndex: "africa/kampala|eat|utc+03:00|uganda|ug", value: "Africa/Kampala" },
|
|
1163
|
+
{ label: "Africa/Khartoum", searchIndex: "africa/khartoum|cat|utc+02:00|sudan|sd", value: "Africa/Khartoum" },
|
|
1164
|
+
{ label: "Africa/Kigali", searchIndex: "africa/kigali|cat|utc+02:00|rwanda|rw", value: "Africa/Kigali" },
|
|
1165
|
+
{
|
|
1166
|
+
label: "Africa/Kinshasa",
|
|
1167
|
+
searchIndex: "africa/kinshasa|wat|utc+01:00|congo, democratic republic|cd",
|
|
1168
|
+
value: "Africa/Kinshasa"
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
label: "Africa/Lagos",
|
|
1172
|
+
searchIndex: "africa/lagos|wat|utc+01:00|angola|ao|benin|bj|congo, democratic republic|cd|central african republic|cf|congo|cg|cameroon|cm|gabon|ga|equatorial guinea|gq|niger|ne|nigeria|ng",
|
|
1173
|
+
value: "Africa/Lagos"
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
label: "Africa/Libreville",
|
|
1177
|
+
searchIndex: "africa/libreville|wat|utc+01:00|gabon|ga",
|
|
1178
|
+
value: "Africa/Libreville"
|
|
1179
|
+
},
|
|
1180
|
+
{ label: "Africa/Lome", searchIndex: "africa/lome|gmt|utc|togo|tg", value: "Africa/Lome" },
|
|
1181
|
+
{ label: "Africa/Luanda", searchIndex: "africa/luanda|wat|utc+01:00|angola|ao", value: "Africa/Luanda" },
|
|
1182
|
+
{
|
|
1183
|
+
label: "Africa/Lubumbashi",
|
|
1184
|
+
searchIndex: "africa/lubumbashi|cat|utc+02:00|congo, democratic republic|cd",
|
|
1185
|
+
value: "Africa/Lubumbashi"
|
|
1186
|
+
},
|
|
1187
|
+
{ label: "Africa/Lusaka", searchIndex: "africa/lusaka|cat|utc+02:00|zambia|zm", value: "Africa/Lusaka" },
|
|
1188
|
+
{
|
|
1189
|
+
label: "Africa/Malabo",
|
|
1190
|
+
searchIndex: "africa/malabo|wat|utc+01:00|equatorial guinea|gq",
|
|
1191
|
+
value: "Africa/Malabo"
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
label: "Africa/Maputo",
|
|
1195
|
+
searchIndex: "africa/maputo|cat|utc+02:00|burundi|bi|botswana|bw|congo, democratic republic|cd|malawi|mw|mozambique|mz|rwanda|rw|zambia|zm|zimbabwe|zw",
|
|
1196
|
+
value: "Africa/Maputo"
|
|
1197
|
+
},
|
|
1198
|
+
{ label: "Africa/Maseru", searchIndex: "africa/maseru|sast|utc+02:00|lesotho|ls", value: "Africa/Maseru" },
|
|
1199
|
+
{ label: "Africa/Mbabane", searchIndex: "africa/mbabane|sast|utc+02:00|swaziland|sz", value: "Africa/Mbabane" },
|
|
1200
|
+
{
|
|
1201
|
+
label: "Africa/Mogadishu",
|
|
1202
|
+
searchIndex: "africa/mogadishu|eat|utc+03:00|somalia|so",
|
|
1203
|
+
value: "Africa/Mogadishu"
|
|
1204
|
+
},
|
|
1205
|
+
{ label: "Africa/Monrovia", searchIndex: "africa/monrovia|gmt|utc|liberia|lr", value: "Africa/Monrovia" },
|
|
1206
|
+
{
|
|
1207
|
+
label: "Africa/Nairobi",
|
|
1208
|
+
searchIndex: "africa/nairobi|eat|utc+03:00|djibouti|dj|eritrea|er|ethiopia|et|kenya|ke|comoros|km|madagascar|mg|somalia|so|tanzania|tz|uganda|ug|mayotte|yt",
|
|
1209
|
+
value: "Africa/Nairobi"
|
|
1210
|
+
},
|
|
1211
|
+
{ label: "Africa/Ndjamena", searchIndex: "africa/ndjamena|wat|utc+01:00|chad|td", value: "Africa/Ndjamena" },
|
|
1212
|
+
{ label: "Africa/Niamey", searchIndex: "africa/niamey|wat|utc+01:00|niger|ne", value: "Africa/Niamey" },
|
|
1213
|
+
{
|
|
1214
|
+
label: "Africa/Nouakchott",
|
|
1215
|
+
searchIndex: "africa/nouakchott|gmt|utc|mauritania|mr",
|
|
1216
|
+
value: "Africa/Nouakchott"
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
label: "Africa/Ouagadougou",
|
|
1220
|
+
searchIndex: "africa/ouagadougou|gmt|utc|burkina faso|bf",
|
|
1221
|
+
value: "Africa/Ouagadougou"
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
label: "Africa/Porto-Novo",
|
|
1225
|
+
searchIndex: "africa/porto-novo|wat|utc+01:00|benin|bj",
|
|
1226
|
+
value: "Africa/Porto-Novo"
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
label: "Africa/Sao_Tome",
|
|
1230
|
+
searchIndex: "africa/sao_tome|gmt|utc|sao tome and principe|st",
|
|
1231
|
+
value: "Africa/Sao_Tome"
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
label: "Africa/Tripoli",
|
|
1235
|
+
searchIndex: "africa/tripoli|eet|utc+02:00|libyan arab jamahiriya|ly",
|
|
1236
|
+
value: "Africa/Tripoli"
|
|
1237
|
+
},
|
|
1238
|
+
{ label: "Africa/Tunis", searchIndex: "africa/tunis|cet|utc+01:00|tunisia|tn", value: "Africa/Tunis" },
|
|
1239
|
+
{ label: "Africa/Windhoek", searchIndex: "africa/windhoek|cat|utc+02:00|namibia|na", value: "Africa/Windhoek" }
|
|
1240
|
+
]
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
label: "America",
|
|
1244
|
+
options: [
|
|
1245
|
+
{ label: "America/Adak", searchIndex: "america/adak|hdt|utc-09:00|united states|us", value: "America/Adak" },
|
|
1246
|
+
{
|
|
1247
|
+
label: "America/Anchorage",
|
|
1248
|
+
searchIndex: "america/anchorage|akdt|utc-08:00|united states|us",
|
|
1249
|
+
value: "America/Anchorage"
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
label: "America/Anguilla",
|
|
1253
|
+
searchIndex: "america/anguilla|ast|utc-04:00|anguilla|ai",
|
|
1254
|
+
value: "America/Anguilla"
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
label: "America/Antigua",
|
|
1258
|
+
searchIndex: "america/antigua|ast|utc-04:00|antigua and barbuda|ag",
|
|
1259
|
+
value: "America/Antigua"
|
|
1260
|
+
},
|
|
1261
|
+
{ label: "America/Araguaina", searchIndex: "america/araguaina||utc-03:00|brazil|br", value: "America/Araguaina" },
|
|
1262
|
+
{
|
|
1263
|
+
label: "America/Argentina/Buenos_Aires",
|
|
1264
|
+
searchIndex: "america/argentina/buenos_aires||utc-03:00|argentina|ar",
|
|
1265
|
+
value: "America/Argentina/Buenos_Aires"
|
|
1266
|
+
},
|
|
1267
|
+
{
|
|
1268
|
+
label: "America/Argentina/Catamarca",
|
|
1269
|
+
searchIndex: "america/argentina/catamarca||utc-03:00|argentina|ar",
|
|
1270
|
+
value: "America/Argentina/Catamarca"
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
label: "America/Argentina/Cordoba",
|
|
1274
|
+
searchIndex: "america/argentina/cordoba||utc-03:00|argentina|ar",
|
|
1275
|
+
value: "America/Argentina/Cordoba"
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
label: "America/Argentina/Jujuy",
|
|
1279
|
+
searchIndex: "america/argentina/jujuy||utc-03:00|argentina|ar",
|
|
1280
|
+
value: "America/Argentina/Jujuy"
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
label: "America/Argentina/La_Rioja",
|
|
1284
|
+
searchIndex: "america/argentina/la_rioja||utc-03:00|argentina|ar",
|
|
1285
|
+
value: "America/Argentina/La_Rioja"
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
label: "America/Argentina/Mendoza",
|
|
1289
|
+
searchIndex: "america/argentina/mendoza||utc-03:00|argentina|ar",
|
|
1290
|
+
value: "America/Argentina/Mendoza"
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
label: "America/Argentina/Rio_Gallegos",
|
|
1294
|
+
searchIndex: "america/argentina/rio_gallegos||utc-03:00|argentina|ar",
|
|
1295
|
+
value: "America/Argentina/Rio_Gallegos"
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
label: "America/Argentina/Salta",
|
|
1299
|
+
searchIndex: "america/argentina/salta||utc-03:00|argentina|ar",
|
|
1300
|
+
value: "America/Argentina/Salta"
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
label: "America/Argentina/San_Juan",
|
|
1304
|
+
searchIndex: "america/argentina/san_juan||utc-03:00|argentina|ar",
|
|
1305
|
+
value: "America/Argentina/San_Juan"
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
label: "America/Argentina/San_Luis",
|
|
1309
|
+
searchIndex: "america/argentina/san_luis||utc-03:00|argentina|ar",
|
|
1310
|
+
value: "America/Argentina/San_Luis"
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
label: "America/Argentina/Tucuman",
|
|
1314
|
+
searchIndex: "america/argentina/tucuman||utc-03:00|argentina|ar",
|
|
1315
|
+
value: "America/Argentina/Tucuman"
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
label: "America/Argentina/Ushuaia",
|
|
1319
|
+
searchIndex: "america/argentina/ushuaia||utc-03:00|argentina|ar",
|
|
1320
|
+
value: "America/Argentina/Ushuaia"
|
|
1321
|
+
},
|
|
1322
|
+
{ label: "America/Aruba", searchIndex: "america/aruba|ast|utc-04:00|aruba|aw", value: "America/Aruba" },
|
|
1323
|
+
{ label: "America/Asuncion", searchIndex: "america/asuncion||utc-03:00|paraguay|py", value: "America/Asuncion" },
|
|
1324
|
+
{ label: "America/Atikokan", searchIndex: "america/atikokan|est|utc-05:00|canada|ca", value: "America/Atikokan" },
|
|
1325
|
+
{ label: "America/Bahia", searchIndex: "america/bahia||utc-03:00|brazil|br", value: "America/Bahia" },
|
|
1326
|
+
{
|
|
1327
|
+
label: "America/Bahia_Banderas",
|
|
1328
|
+
searchIndex: "america/bahia_banderas|cst|utc-06:00|mexico|mx",
|
|
1329
|
+
value: "America/Bahia_Banderas"
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
label: "America/Barbados",
|
|
1333
|
+
searchIndex: "america/barbados|ast|utc-04:00|barbados|bb",
|
|
1334
|
+
value: "America/Barbados"
|
|
1335
|
+
},
|
|
1336
|
+
{ label: "America/Belem", searchIndex: "america/belem||utc-03:00|brazil|br", value: "America/Belem" },
|
|
1337
|
+
{ label: "America/Belize", searchIndex: "america/belize|cst|utc-06:00|belize|bz", value: "America/Belize" },
|
|
1338
|
+
{
|
|
1339
|
+
label: "America/Blanc-Sablon",
|
|
1340
|
+
searchIndex: "america/blanc-sablon|ast|utc-04:00|canada|ca",
|
|
1341
|
+
value: "America/Blanc-Sablon"
|
|
1342
|
+
},
|
|
1343
|
+
{ label: "America/Boa_Vista", searchIndex: "america/boa_vista||utc-04:00|brazil|br", value: "America/Boa_Vista" },
|
|
1344
|
+
{ label: "America/Bogota", searchIndex: "america/bogota||utc-05:00|colombia|co", value: "America/Bogota" },
|
|
1345
|
+
{ label: "America/Boise", searchIndex: "america/boise|mdt|utc-06:00|united states|us", value: "America/Boise" },
|
|
1346
|
+
{
|
|
1347
|
+
label: "America/Cambridge_Bay",
|
|
1348
|
+
searchIndex: "america/cambridge_bay|mdt|utc-06:00|canada|ca",
|
|
1349
|
+
value: "America/Cambridge_Bay"
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
label: "America/Campo_Grande",
|
|
1353
|
+
searchIndex: "america/campo_grande||utc-04:00|brazil|br",
|
|
1354
|
+
value: "America/Campo_Grande"
|
|
1355
|
+
},
|
|
1356
|
+
{ label: "America/Cancun", searchIndex: "america/cancun|est|utc-05:00|mexico|mx", value: "America/Cancun" },
|
|
1357
|
+
{ label: "America/Caracas", searchIndex: "america/caracas||utc-04:00|venezuela|ve", value: "America/Caracas" },
|
|
1358
|
+
{
|
|
1359
|
+
label: "America/Cayenne",
|
|
1360
|
+
searchIndex: "america/cayenne||utc-03:00|french guiana|gf",
|
|
1361
|
+
value: "America/Cayenne"
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
label: "America/Cayman",
|
|
1365
|
+
searchIndex: "america/cayman|est|utc-05:00|cayman islands|ky",
|
|
1366
|
+
value: "America/Cayman"
|
|
1367
|
+
},
|
|
1368
|
+
{
|
|
1369
|
+
label: "America/Chicago",
|
|
1370
|
+
searchIndex: "america/chicago|cdt|utc-05:00|united states|us",
|
|
1371
|
+
value: "America/Chicago"
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
label: "America/Chihuahua",
|
|
1375
|
+
searchIndex: "america/chihuahua|cst|utc-06:00|mexico|mx",
|
|
1376
|
+
value: "America/Chihuahua"
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
label: "America/Ciudad_Juarez",
|
|
1380
|
+
searchIndex: "america/ciudad_juarez|mdt|utc-06:00|mexico|mx",
|
|
1381
|
+
value: "America/Ciudad_Juarez"
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
label: "America/Costa_Rica",
|
|
1385
|
+
searchIndex: "america/costa_rica|cst|utc-06:00|costa rica|cr",
|
|
1386
|
+
value: "America/Costa_Rica"
|
|
1387
|
+
},
|
|
1388
|
+
{ label: "America/Creston", searchIndex: "america/creston|mst|utc-07:00|canada|ca", value: "America/Creston" },
|
|
1389
|
+
{ label: "America/Cuiaba", searchIndex: "america/cuiaba||utc-04:00|brazil|br", value: "America/Cuiaba" },
|
|
1390
|
+
{
|
|
1391
|
+
label: "America/Danmarkshavn",
|
|
1392
|
+
searchIndex: "america/danmarkshavn|gmt|utc|greenland|gl",
|
|
1393
|
+
value: "America/Danmarkshavn"
|
|
1394
|
+
},
|
|
1395
|
+
{ label: "America/Dawson", searchIndex: "america/dawson|mst|utc-07:00|canada|ca", value: "America/Dawson" },
|
|
1396
|
+
{
|
|
1397
|
+
label: "America/Dawson_Creek",
|
|
1398
|
+
searchIndex: "america/dawson_creek|mst|utc-07:00|canada|ca",
|
|
1399
|
+
value: "America/Dawson_Creek"
|
|
1400
|
+
},
|
|
1401
|
+
{
|
|
1402
|
+
label: "America/Denver",
|
|
1403
|
+
searchIndex: "america/denver|mdt|utc-06:00|united states|us",
|
|
1404
|
+
value: "America/Denver"
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
label: "America/Detroit",
|
|
1408
|
+
searchIndex: "america/detroit|edt|utc-04:00|united states|us",
|
|
1409
|
+
value: "America/Detroit"
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
label: "America/Dominica",
|
|
1413
|
+
searchIndex: "america/dominica|ast|utc-04:00|dominica|dm",
|
|
1414
|
+
value: "America/Dominica"
|
|
1415
|
+
},
|
|
1416
|
+
{ label: "America/Edmonton", searchIndex: "america/edmonton|mdt|utc-06:00|canada|ca", value: "America/Edmonton" },
|
|
1417
|
+
{ label: "America/Eirunepe", searchIndex: "america/eirunepe||utc-05:00|brazil|br", value: "America/Eirunepe" },
|
|
1418
|
+
{
|
|
1419
|
+
label: "America/El_Salvador",
|
|
1420
|
+
searchIndex: "america/el_salvador|cst|utc-06:00|el salvador|sv",
|
|
1421
|
+
value: "America/El_Salvador"
|
|
1422
|
+
},
|
|
1423
|
+
{
|
|
1424
|
+
label: "America/Fort_Nelson",
|
|
1425
|
+
searchIndex: "america/fort_nelson|mst|utc-07:00|canada|ca",
|
|
1426
|
+
value: "America/Fort_Nelson"
|
|
1427
|
+
},
|
|
1428
|
+
{ label: "America/Fortaleza", searchIndex: "america/fortaleza||utc-03:00|brazil|br", value: "America/Fortaleza" },
|
|
1429
|
+
{
|
|
1430
|
+
label: "America/Glace_Bay",
|
|
1431
|
+
searchIndex: "america/glace_bay|adt|utc-03:00|canada|ca",
|
|
1432
|
+
value: "America/Glace_Bay"
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
label: "America/Goose_Bay",
|
|
1436
|
+
searchIndex: "america/goose_bay|adt|utc-03:00|canada|ca",
|
|
1437
|
+
value: "America/Goose_Bay"
|
|
1438
|
+
},
|
|
1439
|
+
{
|
|
1440
|
+
label: "America/Grand_Turk",
|
|
1441
|
+
searchIndex: "america/grand_turk|edt|utc-04:00|turks and caicos islands|tc",
|
|
1442
|
+
value: "America/Grand_Turk"
|
|
1443
|
+
},
|
|
1444
|
+
{ label: "America/Grenada", searchIndex: "america/grenada|ast|utc-04:00|grenada|gd", value: "America/Grenada" },
|
|
1445
|
+
{
|
|
1446
|
+
label: "America/Guadeloupe",
|
|
1447
|
+
searchIndex: "america/guadeloupe|ast|utc-04:00|guadeloupe|gp",
|
|
1448
|
+
value: "America/Guadeloupe"
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
label: "America/Guatemala",
|
|
1452
|
+
searchIndex: "america/guatemala|cst|utc-06:00|guatemala|gt",
|
|
1453
|
+
value: "America/Guatemala"
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
label: "America/Guayaquil",
|
|
1457
|
+
searchIndex: "america/guayaquil||utc-05:00|ecuador|ec",
|
|
1458
|
+
value: "America/Guayaquil"
|
|
1459
|
+
},
|
|
1460
|
+
{ label: "America/Guyana", searchIndex: "america/guyana||utc-04:00|guyana|gy", value: "America/Guyana" },
|
|
1461
|
+
{ label: "America/Halifax", searchIndex: "america/halifax|adt|utc-03:00|canada|ca", value: "America/Halifax" },
|
|
1462
|
+
{ label: "America/Havana", searchIndex: "america/havana|cdt|utc-04:00|cuba|cu", value: "America/Havana" },
|
|
1463
|
+
{
|
|
1464
|
+
label: "America/Hermosillo",
|
|
1465
|
+
searchIndex: "america/hermosillo|mst|utc-07:00|mexico|mx",
|
|
1466
|
+
value: "America/Hermosillo"
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
label: "America/Indiana/Indianapolis",
|
|
1470
|
+
searchIndex: "america/indiana/indianapolis|edt|utc-04:00|united states|us",
|
|
1471
|
+
value: "America/Indiana/Indianapolis"
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
label: "America/Indiana/Knox",
|
|
1475
|
+
searchIndex: "america/indiana/knox|cdt|utc-05:00|united states|us",
|
|
1476
|
+
value: "America/Indiana/Knox"
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
label: "America/Indiana/Marengo",
|
|
1480
|
+
searchIndex: "america/indiana/marengo|edt|utc-04:00|united states|us",
|
|
1481
|
+
value: "America/Indiana/Marengo"
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
label: "America/Indiana/Petersburg",
|
|
1485
|
+
searchIndex: "america/indiana/petersburg|edt|utc-04:00|united states|us",
|
|
1486
|
+
value: "America/Indiana/Petersburg"
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
label: "America/Indiana/Tell_City",
|
|
1490
|
+
searchIndex: "america/indiana/tell_city|cdt|utc-05:00|united states|us",
|
|
1491
|
+
value: "America/Indiana/Tell_City"
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
label: "America/Indiana/Vevay",
|
|
1495
|
+
searchIndex: "america/indiana/vevay|edt|utc-04:00|united states|us",
|
|
1496
|
+
value: "America/Indiana/Vevay"
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
label: "America/Indiana/Vincennes",
|
|
1500
|
+
searchIndex: "america/indiana/vincennes|edt|utc-04:00|united states|us",
|
|
1501
|
+
value: "America/Indiana/Vincennes"
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
label: "America/Indiana/Winamac",
|
|
1505
|
+
searchIndex: "america/indiana/winamac|edt|utc-04:00|united states|us",
|
|
1506
|
+
value: "America/Indiana/Winamac"
|
|
1507
|
+
},
|
|
1508
|
+
{ label: "America/Inuvik", searchIndex: "america/inuvik|mdt|utc-06:00|canada|ca", value: "America/Inuvik" },
|
|
1509
|
+
{ label: "America/Iqaluit", searchIndex: "america/iqaluit|edt|utc-04:00|canada|ca", value: "America/Iqaluit" },
|
|
1510
|
+
{ label: "America/Jamaica", searchIndex: "america/jamaica|est|utc-05:00|jamaica|jm", value: "America/Jamaica" },
|
|
1511
|
+
{
|
|
1512
|
+
label: "America/Juneau",
|
|
1513
|
+
searchIndex: "america/juneau|akdt|utc-08:00|united states|us",
|
|
1514
|
+
value: "America/Juneau"
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
label: "America/Kentucky/Louisville",
|
|
1518
|
+
searchIndex: "america/kentucky/louisville|edt|utc-04:00|united states|us",
|
|
1519
|
+
value: "America/Kentucky/Louisville"
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
label: "America/Kentucky/Monticello",
|
|
1523
|
+
searchIndex: "america/kentucky/monticello|edt|utc-04:00|united states|us",
|
|
1524
|
+
value: "America/Kentucky/Monticello"
|
|
1525
|
+
},
|
|
1526
|
+
{ label: "America/La_Paz", searchIndex: "america/la_paz||utc-04:00|bolivia|bo", value: "America/La_Paz" },
|
|
1527
|
+
{ label: "America/Lima", searchIndex: "america/lima||utc-05:00|peru|pe", value: "America/Lima" },
|
|
1528
|
+
{
|
|
1529
|
+
label: "America/Los_Angeles",
|
|
1530
|
+
searchIndex: "america/los_angeles|pdt|utc-07:00|united states|us",
|
|
1531
|
+
value: "America/Los_Angeles"
|
|
1532
|
+
},
|
|
1533
|
+
{ label: "America/Maceio", searchIndex: "america/maceio||utc-03:00|brazil|br", value: "America/Maceio" },
|
|
1534
|
+
{ label: "America/Managua", searchIndex: "america/managua|cst|utc-06:00|nicaragua|ni", value: "America/Managua" },
|
|
1535
|
+
{ label: "America/Manaus", searchIndex: "america/manaus||utc-04:00|brazil|br", value: "America/Manaus" },
|
|
1536
|
+
{
|
|
1537
|
+
label: "America/Marigot",
|
|
1538
|
+
searchIndex: "america/marigot|ast|utc-04:00|saint martin|mf",
|
|
1539
|
+
value: "America/Marigot"
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
label: "America/Martinique",
|
|
1543
|
+
searchIndex: "america/martinique|ast|utc-04:00|martinique|mq",
|
|
1544
|
+
value: "America/Martinique"
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
label: "America/Matamoros",
|
|
1548
|
+
searchIndex: "america/matamoros|cdt|utc-05:00|mexico|mx",
|
|
1549
|
+
value: "America/Matamoros"
|
|
1550
|
+
},
|
|
1551
|
+
{ label: "America/Mazatlan", searchIndex: "america/mazatlan|mst|utc-07:00|mexico|mx", value: "America/Mazatlan" },
|
|
1552
|
+
{
|
|
1553
|
+
label: "America/Menominee",
|
|
1554
|
+
searchIndex: "america/menominee|cdt|utc-05:00|united states|us",
|
|
1555
|
+
value: "America/Menominee"
|
|
1556
|
+
},
|
|
1557
|
+
{ label: "America/Merida", searchIndex: "america/merida|cst|utc-06:00|mexico|mx", value: "America/Merida" },
|
|
1558
|
+
{
|
|
1559
|
+
label: "America/Metlakatla",
|
|
1560
|
+
searchIndex: "america/metlakatla|akdt|utc-08:00|united states|us",
|
|
1561
|
+
value: "America/Metlakatla"
|
|
1562
|
+
},
|
|
1563
|
+
{
|
|
1564
|
+
label: "America/Mexico_City",
|
|
1565
|
+
searchIndex: "america/mexico_city|cst|utc-06:00|mexico|mx",
|
|
1566
|
+
value: "America/Mexico_City"
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
label: "America/Miquelon",
|
|
1570
|
+
searchIndex: "america/miquelon||utc-02:00|saint pierre and miquelon|pm",
|
|
1571
|
+
value: "America/Miquelon"
|
|
1572
|
+
},
|
|
1573
|
+
{ label: "America/Moncton", searchIndex: "america/moncton|adt|utc-03:00|canada|ca", value: "America/Moncton" },
|
|
1574
|
+
{
|
|
1575
|
+
label: "America/Monterrey",
|
|
1576
|
+
searchIndex: "america/monterrey|cst|utc-06:00|mexico|mx",
|
|
1577
|
+
value: "America/Monterrey"
|
|
1578
|
+
},
|
|
1579
|
+
{
|
|
1580
|
+
label: "America/Montevideo",
|
|
1581
|
+
searchIndex: "america/montevideo||utc-03:00|uruguay|uy",
|
|
1582
|
+
value: "America/Montevideo"
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
label: "America/Montserrat",
|
|
1586
|
+
searchIndex: "america/montserrat|ast|utc-04:00|montserrat|ms",
|
|
1587
|
+
value: "America/Montserrat"
|
|
1588
|
+
},
|
|
1589
|
+
{ label: "America/Nassau", searchIndex: "america/nassau|edt|utc-04:00|bahamas|bs", value: "America/Nassau" },
|
|
1590
|
+
{
|
|
1591
|
+
label: "America/New_York",
|
|
1592
|
+
searchIndex: "america/new_york|edt|utc-04:00|united states|us",
|
|
1593
|
+
value: "America/New_York"
|
|
1594
|
+
},
|
|
1595
|
+
{ label: "America/Nome", searchIndex: "america/nome|akdt|utc-08:00|united states|us", value: "America/Nome" },
|
|
1596
|
+
{ label: "America/Noronha", searchIndex: "america/noronha||utc-02:00|brazil|br", value: "America/Noronha" },
|
|
1597
|
+
{
|
|
1598
|
+
label: "America/North_Dakota/Beulah",
|
|
1599
|
+
searchIndex: "america/north_dakota/beulah|cdt|utc-05:00|united states|us",
|
|
1600
|
+
value: "America/North_Dakota/Beulah"
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
label: "America/North_Dakota/Center",
|
|
1604
|
+
searchIndex: "america/north_dakota/center|cdt|utc-05:00|united states|us",
|
|
1605
|
+
value: "America/North_Dakota/Center"
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
label: "America/North_Dakota/New_Salem",
|
|
1609
|
+
searchIndex: "america/north_dakota/new_salem|cdt|utc-05:00|united states|us",
|
|
1610
|
+
value: "America/North_Dakota/New_Salem"
|
|
1611
|
+
},
|
|
1612
|
+
{ label: "America/Nuuk", searchIndex: "america/nuuk||utc-02:00|greenland|gl", value: "America/Nuuk" },
|
|
1613
|
+
{ label: "America/Ojinaga", searchIndex: "america/ojinaga|cdt|utc-05:00|mexico|mx", value: "America/Ojinaga" },
|
|
1614
|
+
{
|
|
1615
|
+
label: "America/Panama",
|
|
1616
|
+
searchIndex: "america/panama|est|utc-05:00|canada|ca|cayman islands|ky|panama|pa",
|
|
1617
|
+
value: "America/Panama"
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
label: "America/Paramaribo",
|
|
1621
|
+
searchIndex: "america/paramaribo||utc-03:00|suriname|sr",
|
|
1622
|
+
value: "America/Paramaribo"
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
label: "America/Phoenix",
|
|
1626
|
+
searchIndex: "america/phoenix|mst|utc-07:00|canada|ca|united states|us",
|
|
1627
|
+
value: "America/Phoenix"
|
|
1628
|
+
},
|
|
1629
|
+
{
|
|
1630
|
+
label: "America/Port-au-Prince",
|
|
1631
|
+
searchIndex: "america/port-au-prince|edt|utc-04:00|haiti|ht",
|
|
1632
|
+
value: "America/Port-au-Prince"
|
|
1633
|
+
},
|
|
1634
|
+
{
|
|
1635
|
+
label: "America/Port_of_Spain",
|
|
1636
|
+
searchIndex: "america/port_of_spain|ast|utc-04:00|trinidad and tobago|tt",
|
|
1637
|
+
value: "America/Port_of_Spain"
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
label: "America/Porto_Velho",
|
|
1641
|
+
searchIndex: "america/porto_velho||utc-04:00|brazil|br",
|
|
1642
|
+
value: "America/Porto_Velho"
|
|
1643
|
+
},
|
|
1644
|
+
{
|
|
1645
|
+
label: "America/Puerto_Rico",
|
|
1646
|
+
searchIndex: "america/puerto_rico|ast|utc-04:00|antigua and barbuda|ag|anguilla|ai|aruba|aw|saint barthelemy|bl|canada|ca|dominica|dm|grenada|gd|guadeloupe|gp|saint kitts and nevis|kn|saint lucia|lc|saint martin|mf|montserrat|ms|puerto rico|pr|trinidad and tobago|tt|saint vincent and grenadines|vc|virgin islands, british|vg|virgin islands, u.s.|vi",
|
|
1647
|
+
value: "America/Puerto_Rico"
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
label: "America/Punta_Arenas",
|
|
1651
|
+
searchIndex: "america/punta_arenas||utc-03:00|chile|cl",
|
|
1652
|
+
value: "America/Punta_Arenas"
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
label: "America/Rankin_Inlet",
|
|
1656
|
+
searchIndex: "america/rankin_inlet|cdt|utc-05:00|canada|ca",
|
|
1657
|
+
value: "America/Rankin_Inlet"
|
|
1658
|
+
},
|
|
1659
|
+
{ label: "America/Recife", searchIndex: "america/recife||utc-03:00|brazil|br", value: "America/Recife" },
|
|
1660
|
+
{ label: "America/Regina", searchIndex: "america/regina|cst|utc-06:00|canada|ca", value: "America/Regina" },
|
|
1661
|
+
{ label: "America/Resolute", searchIndex: "america/resolute|cdt|utc-05:00|canada|ca", value: "America/Resolute" },
|
|
1662
|
+
{
|
|
1663
|
+
label: "America/Rio_Branco",
|
|
1664
|
+
searchIndex: "america/rio_branco||utc-05:00|brazil|br",
|
|
1665
|
+
value: "America/Rio_Branco"
|
|
1666
|
+
},
|
|
1667
|
+
{ label: "America/Santarem", searchIndex: "america/santarem||utc-03:00|brazil|br", value: "America/Santarem" },
|
|
1668
|
+
{ label: "America/Santiago", searchIndex: "america/santiago||utc-03:00|chile|cl", value: "America/Santiago" },
|
|
1669
|
+
{
|
|
1670
|
+
label: "America/Santo_Domingo",
|
|
1671
|
+
searchIndex: "america/santo_domingo|ast|utc-04:00|dominican republic|do",
|
|
1672
|
+
value: "America/Santo_Domingo"
|
|
1673
|
+
},
|
|
1674
|
+
{ label: "America/Sao_Paulo", searchIndex: "america/sao_paulo||utc-03:00|brazil|br", value: "America/Sao_Paulo" },
|
|
1675
|
+
{
|
|
1676
|
+
label: "America/Scoresbysund",
|
|
1677
|
+
searchIndex: "america/scoresbysund||utc|greenland|gl",
|
|
1678
|
+
value: "America/Scoresbysund"
|
|
1679
|
+
},
|
|
1680
|
+
{ label: "America/Sitka", searchIndex: "america/sitka|akdt|utc-08:00|united states|us", value: "America/Sitka" },
|
|
1681
|
+
{
|
|
1682
|
+
label: "America/St_Barthelemy",
|
|
1683
|
+
searchIndex: "america/st_barthelemy|ast|utc-04:00|saint barthelemy|bl",
|
|
1684
|
+
value: "America/St_Barthelemy"
|
|
1685
|
+
},
|
|
1686
|
+
{ label: "America/St_Johns", searchIndex: "america/st_johns|ndt|utc-02:30|canada|ca", value: "America/St_Johns" },
|
|
1687
|
+
{
|
|
1688
|
+
label: "America/St_Kitts",
|
|
1689
|
+
searchIndex: "america/st_kitts|ast|utc-04:00|saint kitts and nevis|kn",
|
|
1690
|
+
value: "America/St_Kitts"
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
label: "America/St_Lucia",
|
|
1694
|
+
searchIndex: "america/st_lucia|ast|utc-04:00|saint lucia|lc",
|
|
1695
|
+
value: "America/St_Lucia"
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
label: "America/St_Thomas",
|
|
1699
|
+
searchIndex: "america/st_thomas|ast|utc-04:00|virgin islands, u.s.|vi",
|
|
1700
|
+
value: "America/St_Thomas"
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
label: "America/St_Vincent",
|
|
1704
|
+
searchIndex: "america/st_vincent|ast|utc-04:00|saint vincent and grenadines|vc",
|
|
1705
|
+
value: "America/St_Vincent"
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
label: "America/Swift_Current",
|
|
1709
|
+
searchIndex: "america/swift_current|cst|utc-06:00|canada|ca",
|
|
1710
|
+
value: "America/Swift_Current"
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
label: "America/Tegucigalpa",
|
|
1714
|
+
searchIndex: "america/tegucigalpa|cst|utc-06:00|honduras|hn",
|
|
1715
|
+
value: "America/Tegucigalpa"
|
|
1716
|
+
},
|
|
1717
|
+
{ label: "America/Thule", searchIndex: "america/thule|adt|utc-03:00|greenland|gl", value: "America/Thule" },
|
|
1718
|
+
{ label: "America/Tijuana", searchIndex: "america/tijuana|pdt|utc-07:00|mexico|mx", value: "America/Tijuana" },
|
|
1719
|
+
{
|
|
1720
|
+
label: "America/Toronto",
|
|
1721
|
+
searchIndex: "america/toronto|edt|utc-04:00|bahamas|bs|canada|ca",
|
|
1722
|
+
value: "America/Toronto"
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
label: "America/Tortola",
|
|
1726
|
+
searchIndex: "america/tortola|ast|utc-04:00|virgin islands, british|vg",
|
|
1727
|
+
value: "America/Tortola"
|
|
1728
|
+
},
|
|
1729
|
+
{
|
|
1730
|
+
label: "America/Vancouver",
|
|
1731
|
+
searchIndex: "america/vancouver|pdt|utc-07:00|canada|ca",
|
|
1732
|
+
value: "America/Vancouver"
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
label: "America/Whitehorse",
|
|
1736
|
+
searchIndex: "america/whitehorse|mst|utc-07:00|canada|ca",
|
|
1737
|
+
value: "America/Whitehorse"
|
|
1738
|
+
},
|
|
1739
|
+
{ label: "America/Winnipeg", searchIndex: "america/winnipeg|cdt|utc-05:00|canada|ca", value: "America/Winnipeg" },
|
|
1740
|
+
{
|
|
1741
|
+
label: "America/Yakutat",
|
|
1742
|
+
searchIndex: "america/yakutat|akdt|utc-08:00|united states|us",
|
|
1743
|
+
value: "America/Yakutat"
|
|
1744
|
+
}
|
|
1745
|
+
]
|
|
1746
|
+
},
|
|
1747
|
+
{
|
|
1748
|
+
label: "Antarctica",
|
|
1749
|
+
options: [
|
|
1750
|
+
{
|
|
1751
|
+
label: "Antarctica/Casey",
|
|
1752
|
+
searchIndex: "antarctica/casey||utc+11:00|antarctica|aq",
|
|
1753
|
+
value: "Antarctica/Casey"
|
|
1754
|
+
},
|
|
1755
|
+
{
|
|
1756
|
+
label: "Antarctica/Davis",
|
|
1757
|
+
searchIndex: "antarctica/davis||utc+07:00|antarctica|aq",
|
|
1758
|
+
value: "Antarctica/Davis"
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
label: "Antarctica/DumontDUrville",
|
|
1762
|
+
searchIndex: "antarctica/dumontdurville||utc+10:00|antarctica|aq",
|
|
1763
|
+
value: "Antarctica/DumontDUrville"
|
|
1764
|
+
},
|
|
1765
|
+
{
|
|
1766
|
+
label: "Antarctica/Macquarie",
|
|
1767
|
+
searchIndex: "antarctica/macquarie|aedt|utc+11:00|australia|au",
|
|
1768
|
+
value: "Antarctica/Macquarie"
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
label: "Antarctica/Mawson",
|
|
1772
|
+
searchIndex: "antarctica/mawson||utc+05:00|antarctica|aq",
|
|
1773
|
+
value: "Antarctica/Mawson"
|
|
1774
|
+
},
|
|
1775
|
+
{
|
|
1776
|
+
label: "Antarctica/McMurdo",
|
|
1777
|
+
searchIndex: "antarctica/mcmurdo|nzdt|utc+13:00|antarctica|aq",
|
|
1778
|
+
value: "Antarctica/McMurdo"
|
|
1779
|
+
},
|
|
1780
|
+
{
|
|
1781
|
+
label: "Antarctica/Palmer",
|
|
1782
|
+
searchIndex: "antarctica/palmer||utc-03:00|antarctica|aq",
|
|
1783
|
+
value: "Antarctica/Palmer"
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
label: "Antarctica/Rothera",
|
|
1787
|
+
searchIndex: "antarctica/rothera||utc-03:00|antarctica|aq",
|
|
1788
|
+
value: "Antarctica/Rothera"
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
label: "Antarctica/Syowa",
|
|
1792
|
+
searchIndex: "antarctica/syowa||utc+03:00|antarctica|aq",
|
|
1793
|
+
value: "Antarctica/Syowa"
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
label: "Antarctica/Troll",
|
|
1797
|
+
searchIndex: "antarctica/troll||utc+02:00|antarctica|aq",
|
|
1798
|
+
value: "Antarctica/Troll"
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
label: "Antarctica/Vostok",
|
|
1802
|
+
searchIndex: "antarctica/vostok||utc+06:00|antarctica|aq",
|
|
1803
|
+
value: "Antarctica/Vostok"
|
|
1804
|
+
}
|
|
1805
|
+
]
|
|
1806
|
+
},
|
|
1807
|
+
{
|
|
1808
|
+
label: "Arctic",
|
|
1809
|
+
options: [
|
|
1810
|
+
{
|
|
1811
|
+
label: "Arctic/Longyearbyen",
|
|
1812
|
+
searchIndex: "arctic/longyearbyen|cest|utc+02:00|svalbard and jan mayen|sj",
|
|
1813
|
+
value: "Arctic/Longyearbyen"
|
|
1814
|
+
}
|
|
1815
|
+
]
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
label: "Asia",
|
|
1819
|
+
options: [
|
|
1820
|
+
{ label: "Asia/Aden", searchIndex: "asia/aden||utc+03:00|yemen|ye", value: "Asia/Aden" },
|
|
1821
|
+
{ label: "Asia/Almaty", searchIndex: "asia/almaty||utc+06:00|kazakhstan|kz", value: "Asia/Almaty" },
|
|
1822
|
+
{ label: "Asia/Amman", searchIndex: "asia/amman||utc+03:00|jordan|jo", value: "Asia/Amman" },
|
|
1823
|
+
{ label: "Asia/Anadyr", searchIndex: "asia/anadyr||utc+12:00|russian federation|ru", value: "Asia/Anadyr" },
|
|
1824
|
+
{ label: "Asia/Aqtau", searchIndex: "asia/aqtau||utc+05:00|kazakhstan|kz", value: "Asia/Aqtau" },
|
|
1825
|
+
{ label: "Asia/Aqtobe", searchIndex: "asia/aqtobe||utc+05:00|kazakhstan|kz", value: "Asia/Aqtobe" },
|
|
1826
|
+
{ label: "Asia/Ashgabat", searchIndex: "asia/ashgabat||utc+05:00|turkmenistan|tm", value: "Asia/Ashgabat" },
|
|
1827
|
+
{ label: "Asia/Atyrau", searchIndex: "asia/atyrau||utc+05:00|kazakhstan|kz", value: "Asia/Atyrau" },
|
|
1828
|
+
{ label: "Asia/Baghdad", searchIndex: "asia/baghdad||utc+03:00|iraq|iq", value: "Asia/Baghdad" },
|
|
1829
|
+
{ label: "Asia/Bahrain", searchIndex: "asia/bahrain||utc+03:00|bahrain|bh", value: "Asia/Bahrain" },
|
|
1830
|
+
{ label: "Asia/Baku", searchIndex: "asia/baku||utc+04:00|azerbaijan|az", value: "Asia/Baku" },
|
|
1831
|
+
{
|
|
1832
|
+
label: "Asia/Bangkok",
|
|
1833
|
+
searchIndex: "asia/bangkok||utc+07:00|christmas island|cx|cambodia|kh|lao people's democratic republic|la|thailand|th|viet nam|vn",
|
|
1834
|
+
value: "Asia/Bangkok"
|
|
1835
|
+
},
|
|
1836
|
+
{ label: "Asia/Barnaul", searchIndex: "asia/barnaul||utc+07:00|russian federation|ru", value: "Asia/Barnaul" },
|
|
1837
|
+
{ label: "Asia/Beirut", searchIndex: "asia/beirut|eest|utc+03:00|lebanon|lb", value: "Asia/Beirut" },
|
|
1838
|
+
{ label: "Asia/Bishkek", searchIndex: "asia/bishkek||utc+06:00|kyrgyzstan|kg", value: "Asia/Bishkek" },
|
|
1839
|
+
{ label: "Asia/Brunei", searchIndex: "asia/brunei||utc+08:00|brunei darussalam|bn", value: "Asia/Brunei" },
|
|
1840
|
+
{ label: "Asia/Chita", searchIndex: "asia/chita||utc+09:00|russian federation|ru", value: "Asia/Chita" },
|
|
1841
|
+
{ label: "Asia/Choibalsan", searchIndex: "asia/choibalsan||utc+08:00|mongolia|mn", value: "Asia/Choibalsan" },
|
|
1842
|
+
{ label: "Asia/Colombo", searchIndex: "asia/colombo||utc+05:30|sri lanka|lk", value: "Asia/Colombo" },
|
|
1843
|
+
{
|
|
1844
|
+
label: "Asia/Damascus",
|
|
1845
|
+
searchIndex: "asia/damascus||utc+03:00|syrian arab republic|sy",
|
|
1846
|
+
value: "Asia/Damascus"
|
|
1847
|
+
},
|
|
1848
|
+
{ label: "Asia/Dhaka", searchIndex: "asia/dhaka||utc+06:00|bangladesh|bd", value: "Asia/Dhaka" },
|
|
1849
|
+
{ label: "Asia/Dili", searchIndex: "asia/dili||utc+09:00|timor-leste|tl", value: "Asia/Dili" },
|
|
1850
|
+
{
|
|
1851
|
+
label: "Asia/Dubai",
|
|
1852
|
+
searchIndex: "asia/dubai||utc+04:00|united arab emirates|ae|oman|om|reunion|re|seychelles|sc|french southern territories|tf",
|
|
1853
|
+
value: "Asia/Dubai"
|
|
1854
|
+
},
|
|
1855
|
+
{ label: "Asia/Dushanbe", searchIndex: "asia/dushanbe||utc+05:00|tajikistan|tj", value: "Asia/Dushanbe" },
|
|
1856
|
+
{ label: "Asia/Famagusta", searchIndex: "asia/famagusta|eest|utc+03:00|cyprus|cy", value: "Asia/Famagusta" },
|
|
1857
|
+
{ label: "Asia/Gaza", searchIndex: "asia/gaza|eest|utc+03:00|palestine, state of|ps", value: "Asia/Gaza" },
|
|
1858
|
+
{ label: "Asia/Hebron", searchIndex: "asia/hebron|eest|utc+03:00|palestine, state of|ps", value: "Asia/Hebron" },
|
|
1859
|
+
{ label: "Asia/Ho_Chi_Minh", searchIndex: "asia/ho_chi_minh||utc+07:00|viet nam|vn", value: "Asia/Ho_Chi_Minh" },
|
|
1860
|
+
{ label: "Asia/Hong_Kong", searchIndex: "asia/hong_kong|hkt|utc+08:00|hong kong|hk", value: "Asia/Hong_Kong" },
|
|
1861
|
+
{ label: "Asia/Hovd", searchIndex: "asia/hovd||utc+07:00|mongolia|mn", value: "Asia/Hovd" },
|
|
1862
|
+
{ label: "Asia/Irkutsk", searchIndex: "asia/irkutsk||utc+08:00|russian federation|ru", value: "Asia/Irkutsk" },
|
|
1863
|
+
{ label: "Asia/Jakarta", searchIndex: "asia/jakarta|wib|utc+07:00|indonesia|id", value: "Asia/Jakarta" },
|
|
1864
|
+
{ label: "Asia/Jayapura", searchIndex: "asia/jayapura|wit|utc+09:00|indonesia|id", value: "Asia/Jayapura" },
|
|
1865
|
+
{ label: "Asia/Jerusalem", searchIndex: "asia/jerusalem|idt|utc+03:00|israel|il", value: "Asia/Jerusalem" },
|
|
1866
|
+
{ label: "Asia/Kabul", searchIndex: "asia/kabul||utc+04:30|afghanistan|af", value: "Asia/Kabul" },
|
|
1867
|
+
{
|
|
1868
|
+
label: "Asia/Kamchatka",
|
|
1869
|
+
searchIndex: "asia/kamchatka||utc+12:00|russian federation|ru",
|
|
1870
|
+
value: "Asia/Kamchatka"
|
|
1871
|
+
},
|
|
1872
|
+
{ label: "Asia/Karachi", searchIndex: "asia/karachi|pkt|utc+05:00|pakistan|pk", value: "Asia/Karachi" },
|
|
1873
|
+
{ label: "Asia/Kathmandu", searchIndex: "asia/kathmandu||utc+05:45|nepal|np", value: "Asia/Kathmandu" },
|
|
1874
|
+
{ label: "Asia/Khandyga", searchIndex: "asia/khandyga||utc+09:00|russian federation|ru", value: "Asia/Khandyga" },
|
|
1875
|
+
{ label: "Asia/Kolkata", searchIndex: "asia/kolkata|ist|utc+05:30|india|in", value: "Asia/Kolkata" },
|
|
1876
|
+
{
|
|
1877
|
+
label: "Asia/Krasnoyarsk",
|
|
1878
|
+
searchIndex: "asia/krasnoyarsk||utc+07:00|russian federation|ru",
|
|
1879
|
+
value: "Asia/Krasnoyarsk"
|
|
1880
|
+
},
|
|
1881
|
+
{
|
|
1882
|
+
label: "Asia/Kuala_Lumpur",
|
|
1883
|
+
searchIndex: "asia/kuala_lumpur||utc+08:00|malaysia|my",
|
|
1884
|
+
value: "Asia/Kuala_Lumpur"
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
label: "Asia/Kuching",
|
|
1888
|
+
searchIndex: "asia/kuching||utc+08:00|brunei darussalam|bn|malaysia|my",
|
|
1889
|
+
value: "Asia/Kuching"
|
|
1890
|
+
},
|
|
1891
|
+
{ label: "Asia/Kuwait", searchIndex: "asia/kuwait||utc+03:00|kuwait|kw", value: "Asia/Kuwait" },
|
|
1892
|
+
{ label: "Asia/Macau", searchIndex: "asia/macau|cst|utc+08:00|macao|mo", value: "Asia/Macau" },
|
|
1893
|
+
{ label: "Asia/Magadan", searchIndex: "asia/magadan||utc+11:00|russian federation|ru", value: "Asia/Magadan" },
|
|
1894
|
+
{ label: "Asia/Makassar", searchIndex: "asia/makassar|wita|utc+08:00|indonesia|id", value: "Asia/Makassar" },
|
|
1895
|
+
{ label: "Asia/Manila", searchIndex: "asia/manila|pst|utc+08:00|philippines|ph", value: "Asia/Manila" },
|
|
1896
|
+
{ label: "Asia/Muscat", searchIndex: "asia/muscat||utc+04:00|oman|om", value: "Asia/Muscat" },
|
|
1897
|
+
{ label: "Asia/Nicosia", searchIndex: "asia/nicosia|eest|utc+03:00|cyprus|cy", value: "Asia/Nicosia" },
|
|
1898
|
+
{
|
|
1899
|
+
label: "Asia/Novokuznetsk",
|
|
1900
|
+
searchIndex: "asia/novokuznetsk||utc+07:00|russian federation|ru",
|
|
1901
|
+
value: "Asia/Novokuznetsk"
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
label: "Asia/Novosibirsk",
|
|
1905
|
+
searchIndex: "asia/novosibirsk||utc+07:00|russian federation|ru",
|
|
1906
|
+
value: "Asia/Novosibirsk"
|
|
1907
|
+
},
|
|
1908
|
+
{ label: "Asia/Omsk", searchIndex: "asia/omsk||utc+06:00|russian federation|ru", value: "Asia/Omsk" },
|
|
1909
|
+
{ label: "Asia/Oral", searchIndex: "asia/oral||utc+05:00|kazakhstan|kz", value: "Asia/Oral" },
|
|
1910
|
+
{ label: "Asia/Phnom_Penh", searchIndex: "asia/phnom_penh||utc+07:00|cambodia|kh", value: "Asia/Phnom_Penh" },
|
|
1911
|
+
{ label: "Asia/Pontianak", searchIndex: "asia/pontianak|wib|utc+07:00|indonesia|id", value: "Asia/Pontianak" },
|
|
1912
|
+
{ label: "Asia/Qatar", searchIndex: "asia/qatar||utc+03:00|bahrain|bh|qatar|qa", value: "Asia/Qatar" },
|
|
1913
|
+
{ label: "Asia/Qostanay", searchIndex: "asia/qostanay||utc+06:00|kazakhstan|kz", value: "Asia/Qostanay" },
|
|
1914
|
+
{ label: "Asia/Qyzylorda", searchIndex: "asia/qyzylorda||utc+05:00|kazakhstan|kz", value: "Asia/Qyzylorda" },
|
|
1915
|
+
{
|
|
1916
|
+
label: "Asia/Riyadh",
|
|
1917
|
+
searchIndex: "asia/riyadh||utc+03:00|antarctica|aq|kuwait|kw|saudi arabia|sa|yemen|ye",
|
|
1918
|
+
value: "Asia/Riyadh"
|
|
1919
|
+
},
|
|
1920
|
+
{ label: "Asia/Sakhalin", searchIndex: "asia/sakhalin||utc+11:00|russian federation|ru", value: "Asia/Sakhalin" },
|
|
1921
|
+
{ label: "Asia/Samarkand", searchIndex: "asia/samarkand||utc+05:00|uzbekistan|uz", value: "Asia/Samarkand" },
|
|
1922
|
+
{ label: "Asia/Seoul", searchIndex: "asia/seoul|kst|utc+09:00|korea|kr", value: "Asia/Seoul" },
|
|
1923
|
+
{ label: "Asia/Shanghai", searchIndex: "asia/shanghai|cst|utc+08:00|china|cn", value: "Asia/Shanghai" },
|
|
1924
|
+
{
|
|
1925
|
+
label: "Asia/Singapore",
|
|
1926
|
+
searchIndex: "asia/singapore||utc+08:00|malaysia|my|singapore|sg",
|
|
1927
|
+
value: "Asia/Singapore"
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
label: "Asia/Srednekolymsk",
|
|
1931
|
+
searchIndex: "asia/srednekolymsk||utc+11:00|russian federation|ru",
|
|
1932
|
+
value: "Asia/Srednekolymsk"
|
|
1933
|
+
},
|
|
1934
|
+
{ label: "Asia/Taipei", searchIndex: "asia/taipei|cst|utc+08:00|taiwan|tw", value: "Asia/Taipei" },
|
|
1935
|
+
{ label: "Asia/Tashkent", searchIndex: "asia/tashkent||utc+05:00|uzbekistan|uz", value: "Asia/Tashkent" },
|
|
1936
|
+
{ label: "Asia/Tbilisi", searchIndex: "asia/tbilisi||utc+04:00|georgia|ge", value: "Asia/Tbilisi" },
|
|
1937
|
+
{
|
|
1938
|
+
label: "Asia/Tehran",
|
|
1939
|
+
searchIndex: "asia/tehran||utc+03:30|iran (islamic republic of)|ir",
|
|
1940
|
+
value: "Asia/Tehran"
|
|
1941
|
+
},
|
|
1942
|
+
{ label: "Asia/Thimphu", searchIndex: "asia/thimphu||utc+06:00|bhutan|bt", value: "Asia/Thimphu" },
|
|
1943
|
+
{ label: "Asia/Tokyo", searchIndex: "asia/tokyo|jst|utc+09:00|japan|jp", value: "Asia/Tokyo" },
|
|
1944
|
+
{ label: "Asia/Tomsk", searchIndex: "asia/tomsk||utc+07:00|russian federation|ru", value: "Asia/Tomsk" },
|
|
1945
|
+
{ label: "Asia/Ulaanbaatar", searchIndex: "asia/ulaanbaatar||utc+08:00|mongolia|mn", value: "Asia/Ulaanbaatar" },
|
|
1946
|
+
{ label: "Asia/Urumqi", searchIndex: "asia/urumqi||utc+06:00|antarctica|aq|china|cn", value: "Asia/Urumqi" },
|
|
1947
|
+
{ label: "Asia/Ust-Nera", searchIndex: "asia/ust-nera||utc+10:00|russian federation|ru", value: "Asia/Ust-Nera" },
|
|
1948
|
+
{
|
|
1949
|
+
label: "Asia/Vientiane",
|
|
1950
|
+
searchIndex: "asia/vientiane||utc+07:00|lao people's democratic republic|la",
|
|
1951
|
+
value: "Asia/Vientiane"
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
label: "Asia/Vladivostok",
|
|
1955
|
+
searchIndex: "asia/vladivostok||utc+10:00|russian federation|ru",
|
|
1956
|
+
value: "Asia/Vladivostok"
|
|
1957
|
+
},
|
|
1958
|
+
{ label: "Asia/Yakutsk", searchIndex: "asia/yakutsk||utc+09:00|russian federation|ru", value: "Asia/Yakutsk" },
|
|
1959
|
+
{
|
|
1960
|
+
label: "Asia/Yangon",
|
|
1961
|
+
searchIndex: "asia/yangon||utc+06:30|cocos (keeling) islands|cc|myanmar|mm",
|
|
1962
|
+
value: "Asia/Yangon"
|
|
1963
|
+
},
|
|
1964
|
+
{
|
|
1965
|
+
label: "Asia/Yekaterinburg",
|
|
1966
|
+
searchIndex: "asia/yekaterinburg||utc+05:00|russian federation|ru",
|
|
1967
|
+
value: "Asia/Yekaterinburg"
|
|
1968
|
+
},
|
|
1969
|
+
{ label: "Asia/Yerevan", searchIndex: "asia/yerevan||utc+04:00|armenia|am", value: "Asia/Yerevan" }
|
|
1970
|
+
]
|
|
1971
|
+
},
|
|
1972
|
+
{
|
|
1973
|
+
label: "Atlantic",
|
|
1974
|
+
options: [
|
|
1975
|
+
{ label: "Atlantic/Azores", searchIndex: "atlantic/azores||utc|portugal|pt", value: "Atlantic/Azores" },
|
|
1976
|
+
{
|
|
1977
|
+
label: "Atlantic/Bermuda",
|
|
1978
|
+
searchIndex: "atlantic/bermuda|adt|utc-03:00|bermuda|bm",
|
|
1979
|
+
value: "Atlantic/Bermuda"
|
|
1980
|
+
},
|
|
1981
|
+
{ label: "Atlantic/Canary", searchIndex: "atlantic/canary|west|utc+01:00|spain|es", value: "Atlantic/Canary" },
|
|
1982
|
+
{
|
|
1983
|
+
label: "Atlantic/Cape_Verde",
|
|
1984
|
+
searchIndex: "atlantic/cape_verde||utc-01:00|cape verde|cv",
|
|
1985
|
+
value: "Atlantic/Cape_Verde"
|
|
1986
|
+
},
|
|
1987
|
+
{
|
|
1988
|
+
label: "Atlantic/Faroe",
|
|
1989
|
+
searchIndex: "atlantic/faroe|west|utc+01:00|faroe islands|fo",
|
|
1990
|
+
value: "Atlantic/Faroe"
|
|
1991
|
+
},
|
|
1992
|
+
{
|
|
1993
|
+
label: "Atlantic/Madeira",
|
|
1994
|
+
searchIndex: "atlantic/madeira|west|utc+01:00|portugal|pt",
|
|
1995
|
+
value: "Atlantic/Madeira"
|
|
1996
|
+
},
|
|
1997
|
+
{
|
|
1998
|
+
label: "Atlantic/Reykjavik",
|
|
1999
|
+
searchIndex: "atlantic/reykjavik|gmt|utc|iceland|is",
|
|
2000
|
+
value: "Atlantic/Reykjavik"
|
|
2001
|
+
},
|
|
2002
|
+
{
|
|
2003
|
+
label: "Atlantic/South_Georgia",
|
|
2004
|
+
searchIndex: "atlantic/south_georgia||utc-02:00|south georgia and sandwich isl.|gs",
|
|
2005
|
+
value: "Atlantic/South_Georgia"
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
label: "Atlantic/St_Helena",
|
|
2009
|
+
searchIndex: "atlantic/st_helena|gmt|utc|saint helena|sh",
|
|
2010
|
+
value: "Atlantic/St_Helena"
|
|
2011
|
+
},
|
|
2012
|
+
{
|
|
2013
|
+
label: "Atlantic/Stanley",
|
|
2014
|
+
searchIndex: "atlantic/stanley||utc-03:00|falkland islands (malvinas)|fk",
|
|
2015
|
+
value: "Atlantic/Stanley"
|
|
2016
|
+
}
|
|
2017
|
+
]
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
label: "Australia",
|
|
2021
|
+
options: [
|
|
2022
|
+
{
|
|
2023
|
+
label: "Australia/Adelaide",
|
|
2024
|
+
searchIndex: "australia/adelaide|acdt|utc+10:30|australia|au",
|
|
2025
|
+
value: "Australia/Adelaide"
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
label: "Australia/Brisbane",
|
|
2029
|
+
searchIndex: "australia/brisbane|aest|utc+10:00|australia|au",
|
|
2030
|
+
value: "Australia/Brisbane"
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
label: "Australia/Broken_Hill",
|
|
2034
|
+
searchIndex: "australia/broken_hill|acdt|utc+10:30|australia|au",
|
|
2035
|
+
value: "Australia/Broken_Hill"
|
|
2036
|
+
},
|
|
2037
|
+
{
|
|
2038
|
+
label: "Australia/Darwin",
|
|
2039
|
+
searchIndex: "australia/darwin|acst|utc+09:30|australia|au",
|
|
2040
|
+
value: "Australia/Darwin"
|
|
2041
|
+
},
|
|
2042
|
+
{ label: "Australia/Eucla", searchIndex: "australia/eucla||utc+08:45|australia|au", value: "Australia/Eucla" },
|
|
2043
|
+
{
|
|
2044
|
+
label: "Australia/Hobart",
|
|
2045
|
+
searchIndex: "australia/hobart|aedt|utc+11:00|australia|au",
|
|
2046
|
+
value: "Australia/Hobart"
|
|
2047
|
+
},
|
|
2048
|
+
{
|
|
2049
|
+
label: "Australia/Lindeman",
|
|
2050
|
+
searchIndex: "australia/lindeman|aest|utc+10:00|australia|au",
|
|
2051
|
+
value: "Australia/Lindeman"
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
label: "Australia/Lord_Howe",
|
|
2055
|
+
searchIndex: "australia/lord_howe||utc+11:00|australia|au",
|
|
2056
|
+
value: "Australia/Lord_Howe"
|
|
2057
|
+
},
|
|
2058
|
+
{
|
|
2059
|
+
label: "Australia/Melbourne",
|
|
2060
|
+
searchIndex: "australia/melbourne|aedt|utc+11:00|australia|au",
|
|
2061
|
+
value: "Australia/Melbourne"
|
|
2062
|
+
},
|
|
2063
|
+
{
|
|
2064
|
+
label: "Australia/Perth",
|
|
2065
|
+
searchIndex: "australia/perth|awst|utc+08:00|australia|au",
|
|
2066
|
+
value: "Australia/Perth"
|
|
2067
|
+
},
|
|
2068
|
+
{
|
|
2069
|
+
label: "Australia/Sydney",
|
|
2070
|
+
searchIndex: "australia/sydney|aedt|utc+11:00|australia|au",
|
|
2071
|
+
value: "Australia/Sydney"
|
|
2072
|
+
}
|
|
2073
|
+
]
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
label: "Europe",
|
|
2077
|
+
options: [
|
|
2078
|
+
{
|
|
2079
|
+
label: "Europe/Amsterdam",
|
|
2080
|
+
searchIndex: "europe/amsterdam|cest|utc+02:00|netherlands|nl",
|
|
2081
|
+
value: "Europe/Amsterdam"
|
|
2082
|
+
},
|
|
2083
|
+
{ label: "Europe/Andorra", searchIndex: "europe/andorra|cest|utc+02:00|andorra|ad", value: "Europe/Andorra" },
|
|
2084
|
+
{
|
|
2085
|
+
label: "Europe/Astrakhan",
|
|
2086
|
+
searchIndex: "europe/astrakhan||utc+04:00|russian federation|ru",
|
|
2087
|
+
value: "Europe/Astrakhan"
|
|
2088
|
+
},
|
|
2089
|
+
{ label: "Europe/Athens", searchIndex: "europe/athens|eest|utc+03:00|greece|gr", value: "Europe/Athens" },
|
|
2090
|
+
{
|
|
2091
|
+
label: "Europe/Belgrade",
|
|
2092
|
+
searchIndex: "europe/belgrade|cest|utc+02:00|bosnia and herzegovina|ba|croatia|hr|montenegro|me|macedonia|mk|serbia|rs|slovenia|si",
|
|
2093
|
+
value: "Europe/Belgrade"
|
|
2094
|
+
},
|
|
2095
|
+
{
|
|
2096
|
+
label: "Europe/Berlin",
|
|
2097
|
+
searchIndex: "europe/berlin|cest|utc+02:00|germany|de|denmark|dk|norway|no|sweden|se|svalbard and jan mayen|sj",
|
|
2098
|
+
value: "Europe/Berlin"
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
label: "Europe/Bratislava",
|
|
2102
|
+
searchIndex: "europe/bratislava|cest|utc+02:00|slovakia|sk",
|
|
2103
|
+
value: "Europe/Bratislava"
|
|
2104
|
+
},
|
|
2105
|
+
{
|
|
2106
|
+
label: "Europe/Brussels",
|
|
2107
|
+
searchIndex: "europe/brussels|cest|utc+02:00|belgium|be|luxembourg|lu|netherlands|nl",
|
|
2108
|
+
value: "Europe/Brussels"
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
label: "Europe/Bucharest",
|
|
2112
|
+
searchIndex: "europe/bucharest|eest|utc+03:00|romania|ro",
|
|
2113
|
+
value: "Europe/Bucharest"
|
|
2114
|
+
},
|
|
2115
|
+
{ label: "Europe/Budapest", searchIndex: "europe/budapest|cest|utc+02:00|hungary|hu", value: "Europe/Budapest" },
|
|
2116
|
+
{ label: "Europe/Busingen", searchIndex: "europe/busingen|cest|utc+02:00|germany|de", value: "Europe/Busingen" },
|
|
2117
|
+
{ label: "Europe/Chisinau", searchIndex: "europe/chisinau|eest|utc+03:00|moldova|md", value: "Europe/Chisinau" },
|
|
2118
|
+
{
|
|
2119
|
+
label: "Europe/Copenhagen",
|
|
2120
|
+
searchIndex: "europe/copenhagen|cest|utc+02:00|denmark|dk",
|
|
2121
|
+
value: "Europe/Copenhagen"
|
|
2122
|
+
},
|
|
2123
|
+
{ label: "Europe/Dublin", searchIndex: "europe/dublin|ist|utc+01:00|ireland|ie", value: "Europe/Dublin" },
|
|
2124
|
+
{
|
|
2125
|
+
label: "Europe/Gibraltar",
|
|
2126
|
+
searchIndex: "europe/gibraltar|cest|utc+02:00|gibraltar|gi",
|
|
2127
|
+
value: "Europe/Gibraltar"
|
|
2128
|
+
},
|
|
2129
|
+
{ label: "Europe/Guernsey", searchIndex: "europe/guernsey|bst|utc+01:00|guernsey|gg", value: "Europe/Guernsey" },
|
|
2130
|
+
{
|
|
2131
|
+
label: "Europe/Helsinki",
|
|
2132
|
+
searchIndex: "europe/helsinki|eest|utc+03:00|aland islands|ax|finland|fi",
|
|
2133
|
+
value: "Europe/Helsinki"
|
|
2134
|
+
},
|
|
2135
|
+
{
|
|
2136
|
+
label: "Europe/Isle_of_Man",
|
|
2137
|
+
searchIndex: "europe/isle_of_man|bst|utc+01:00|isle of man|im",
|
|
2138
|
+
value: "Europe/Isle_of_Man"
|
|
2139
|
+
},
|
|
2140
|
+
{ label: "Europe/Istanbul", searchIndex: "europe/istanbul||utc+03:00|turkey|tr", value: "Europe/Istanbul" },
|
|
2141
|
+
{ label: "Europe/Jersey", searchIndex: "europe/jersey|bst|utc+01:00|jersey|je", value: "Europe/Jersey" },
|
|
2142
|
+
{
|
|
2143
|
+
label: "Europe/Kaliningrad",
|
|
2144
|
+
searchIndex: "europe/kaliningrad|eet|utc+02:00|russian federation|ru",
|
|
2145
|
+
value: "Europe/Kaliningrad"
|
|
2146
|
+
},
|
|
2147
|
+
{ label: "Europe/Kirov", searchIndex: "europe/kirov|msk|utc+03:00|russian federation|ru", value: "Europe/Kirov" },
|
|
2148
|
+
{ label: "Europe/Kyiv", searchIndex: "europe/kyiv|eest|utc+03:00|ukraine|ua", value: "Europe/Kyiv" },
|
|
2149
|
+
{ label: "Europe/Lisbon", searchIndex: "europe/lisbon|west|utc+01:00|portugal|pt", value: "Europe/Lisbon" },
|
|
2150
|
+
{
|
|
2151
|
+
label: "Europe/Ljubljana",
|
|
2152
|
+
searchIndex: "europe/ljubljana|cest|utc+02:00|slovenia|si",
|
|
2153
|
+
value: "Europe/Ljubljana"
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
label: "Europe/London",
|
|
2157
|
+
searchIndex: "europe/london|bst|utc+01:00|united kingdom|gb|guernsey|gg|isle of man|im|jersey|je",
|
|
2158
|
+
value: "Europe/London"
|
|
2159
|
+
},
|
|
2160
|
+
{
|
|
2161
|
+
label: "Europe/Luxembourg",
|
|
2162
|
+
searchIndex: "europe/luxembourg|cest|utc+02:00|luxembourg|lu",
|
|
2163
|
+
value: "Europe/Luxembourg"
|
|
2164
|
+
},
|
|
2165
|
+
{ label: "Europe/Madrid", searchIndex: "europe/madrid|cest|utc+02:00|spain|es", value: "Europe/Madrid" },
|
|
2166
|
+
{ label: "Europe/Malta", searchIndex: "europe/malta|cest|utc+02:00|malta|mt", value: "Europe/Malta" },
|
|
2167
|
+
{
|
|
2168
|
+
label: "Europe/Mariehamn",
|
|
2169
|
+
searchIndex: "europe/mariehamn|eest|utc+03:00|aland islands|ax",
|
|
2170
|
+
value: "Europe/Mariehamn"
|
|
2171
|
+
},
|
|
2172
|
+
{ label: "Europe/Minsk", searchIndex: "europe/minsk||utc+03:00|belarus|by", value: "Europe/Minsk" },
|
|
2173
|
+
{ label: "Europe/Monaco", searchIndex: "europe/monaco|cest|utc+02:00|monaco|mc", value: "Europe/Monaco" },
|
|
2174
|
+
{
|
|
2175
|
+
label: "Europe/Moscow",
|
|
2176
|
+
searchIndex: "europe/moscow|msk|utc+03:00|russian federation|ru",
|
|
2177
|
+
value: "Europe/Moscow"
|
|
2178
|
+
},
|
|
2179
|
+
{ label: "Europe/Oslo", searchIndex: "europe/oslo|cest|utc+02:00|norway|no", value: "Europe/Oslo" },
|
|
2180
|
+
{ label: "Europe/Paris", searchIndex: "europe/paris|cest|utc+02:00|france|fr|monaco|mc", value: "Europe/Paris" },
|
|
2181
|
+
{
|
|
2182
|
+
label: "Europe/Podgorica",
|
|
2183
|
+
searchIndex: "europe/podgorica|cest|utc+02:00|montenegro|me",
|
|
2184
|
+
value: "Europe/Podgorica"
|
|
2185
|
+
},
|
|
2186
|
+
{
|
|
2187
|
+
label: "Europe/Prague",
|
|
2188
|
+
searchIndex: "europe/prague|cest|utc+02:00|czech republic|cz|slovakia|sk",
|
|
2189
|
+
value: "Europe/Prague"
|
|
2190
|
+
},
|
|
2191
|
+
{ label: "Europe/Riga", searchIndex: "europe/riga|eest|utc+03:00|latvia|lv", value: "Europe/Riga" },
|
|
2192
|
+
{
|
|
2193
|
+
label: "Europe/Rome",
|
|
2194
|
+
searchIndex: "europe/rome|cest|utc+02:00|italy|it|san marino|sm|holy see (vatican city state)|va",
|
|
2195
|
+
value: "Europe/Rome"
|
|
2196
|
+
},
|
|
2197
|
+
{ label: "Europe/Samara", searchIndex: "europe/samara||utc+04:00|russian federation|ru", value: "Europe/Samara" },
|
|
2198
|
+
{
|
|
2199
|
+
label: "Europe/San_Marino",
|
|
2200
|
+
searchIndex: "europe/san_marino|cest|utc+02:00|san marino|sm",
|
|
2201
|
+
value: "Europe/San_Marino"
|
|
2202
|
+
},
|
|
2203
|
+
{
|
|
2204
|
+
label: "Europe/Sarajevo",
|
|
2205
|
+
searchIndex: "europe/sarajevo|cest|utc+02:00|bosnia and herzegovina|ba",
|
|
2206
|
+
value: "Europe/Sarajevo"
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
label: "Europe/Saratov",
|
|
2210
|
+
searchIndex: "europe/saratov||utc+04:00|russian federation|ru",
|
|
2211
|
+
value: "Europe/Saratov"
|
|
2212
|
+
},
|
|
2213
|
+
{
|
|
2214
|
+
label: "Europe/Simferopol",
|
|
2215
|
+
searchIndex: "europe/simferopol|msk|utc+03:00|russian federation|ru|ukraine|ua",
|
|
2216
|
+
value: "Europe/Simferopol"
|
|
2217
|
+
},
|
|
2218
|
+
{ label: "Europe/Skopje", searchIndex: "europe/skopje|cest|utc+02:00|macedonia|mk", value: "Europe/Skopje" },
|
|
2219
|
+
{ label: "Europe/Sofia", searchIndex: "europe/sofia|eest|utc+03:00|bulgaria|bg", value: "Europe/Sofia" },
|
|
2220
|
+
{
|
|
2221
|
+
label: "Europe/Stockholm",
|
|
2222
|
+
searchIndex: "europe/stockholm|cest|utc+02:00|sweden|se",
|
|
2223
|
+
value: "Europe/Stockholm"
|
|
2224
|
+
},
|
|
2225
|
+
{ label: "Europe/Tallinn", searchIndex: "europe/tallinn|eest|utc+03:00|estonia|ee", value: "Europe/Tallinn" },
|
|
2226
|
+
{ label: "Europe/Tirane", searchIndex: "europe/tirane|cest|utc+02:00|albania|al", value: "Europe/Tirane" },
|
|
2227
|
+
{
|
|
2228
|
+
label: "Europe/Ulyanovsk",
|
|
2229
|
+
searchIndex: "europe/ulyanovsk||utc+04:00|russian federation|ru",
|
|
2230
|
+
value: "Europe/Ulyanovsk"
|
|
2231
|
+
},
|
|
2232
|
+
{ label: "Europe/Vaduz", searchIndex: "europe/vaduz|cest|utc+02:00|liechtenstein|li", value: "Europe/Vaduz" },
|
|
2233
|
+
{
|
|
2234
|
+
label: "Europe/Vatican",
|
|
2235
|
+
searchIndex: "europe/vatican|cest|utc+02:00|holy see (vatican city state)|va",
|
|
2236
|
+
value: "Europe/Vatican"
|
|
2237
|
+
},
|
|
2238
|
+
{ label: "Europe/Vienna", searchIndex: "europe/vienna|cest|utc+02:00|austria|at", value: "Europe/Vienna" },
|
|
2239
|
+
{ label: "Europe/Vilnius", searchIndex: "europe/vilnius|eest|utc+03:00|lithuania|lt", value: "Europe/Vilnius" },
|
|
2240
|
+
{
|
|
2241
|
+
label: "Europe/Volgograd",
|
|
2242
|
+
searchIndex: "europe/volgograd|msk|utc+03:00|russian federation|ru",
|
|
2243
|
+
value: "Europe/Volgograd"
|
|
2244
|
+
},
|
|
2245
|
+
{ label: "Europe/Warsaw", searchIndex: "europe/warsaw|cest|utc+02:00|poland|pl", value: "Europe/Warsaw" },
|
|
2246
|
+
{ label: "Europe/Zagreb", searchIndex: "europe/zagreb|cest|utc+02:00|croatia|hr", value: "Europe/Zagreb" },
|
|
2247
|
+
{
|
|
2248
|
+
label: "Europe/Zurich",
|
|
2249
|
+
searchIndex: "europe/zurich|cest|utc+02:00|switzerland|ch|germany|de|liechtenstein|li",
|
|
2250
|
+
value: "Europe/Zurich"
|
|
2251
|
+
}
|
|
2252
|
+
]
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
label: "Indian",
|
|
2256
|
+
options: [
|
|
2257
|
+
{
|
|
2258
|
+
label: "Indian/Antananarivo",
|
|
2259
|
+
searchIndex: "indian/antananarivo|eat|utc+03:00|madagascar|mg",
|
|
2260
|
+
value: "Indian/Antananarivo"
|
|
2261
|
+
},
|
|
2262
|
+
{
|
|
2263
|
+
label: "Indian/Chagos",
|
|
2264
|
+
searchIndex: "indian/chagos||utc+06:00|british indian ocean territory|io",
|
|
2265
|
+
value: "Indian/Chagos"
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
label: "Indian/Christmas",
|
|
2269
|
+
searchIndex: "indian/christmas||utc+07:00|christmas island|cx",
|
|
2270
|
+
value: "Indian/Christmas"
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
label: "Indian/Cocos",
|
|
2274
|
+
searchIndex: "indian/cocos||utc+06:30|cocos (keeling) islands|cc",
|
|
2275
|
+
value: "Indian/Cocos"
|
|
2276
|
+
},
|
|
2277
|
+
{ label: "Indian/Comoro", searchIndex: "indian/comoro|eat|utc+03:00|comoros|km", value: "Indian/Comoro" },
|
|
2278
|
+
{
|
|
2279
|
+
label: "Indian/Kerguelen",
|
|
2280
|
+
searchIndex: "indian/kerguelen||utc+05:00|french southern territories|tf",
|
|
2281
|
+
value: "Indian/Kerguelen"
|
|
2282
|
+
},
|
|
2283
|
+
{ label: "Indian/Mahe", searchIndex: "indian/mahe||utc+04:00|seychelles|sc", value: "Indian/Mahe" },
|
|
2284
|
+
{
|
|
2285
|
+
label: "Indian/Maldives",
|
|
2286
|
+
searchIndex: "indian/maldives||utc+05:00|maldives|mv|french southern territories|tf",
|
|
2287
|
+
value: "Indian/Maldives"
|
|
2288
|
+
},
|
|
2289
|
+
{ label: "Indian/Mauritius", searchIndex: "indian/mauritius||utc+04:00|mauritius|mu", value: "Indian/Mauritius" },
|
|
2290
|
+
{ label: "Indian/Mayotte", searchIndex: "indian/mayotte|eat|utc+03:00|mayotte|yt", value: "Indian/Mayotte" },
|
|
2291
|
+
{ label: "Indian/Reunion", searchIndex: "indian/reunion||utc+04:00|reunion|re", value: "Indian/Reunion" }
|
|
2292
|
+
]
|
|
2293
|
+
},
|
|
2294
|
+
{
|
|
2295
|
+
label: "Pacific",
|
|
2296
|
+
options: [
|
|
2297
|
+
{ label: "Pacific/Apia", searchIndex: "pacific/apia||utc+13:00|samoa|ws", value: "Pacific/Apia" },
|
|
2298
|
+
{
|
|
2299
|
+
label: "Pacific/Auckland",
|
|
2300
|
+
searchIndex: "pacific/auckland|nzdt|utc+13:00|antarctica|aq|new zealand|nz",
|
|
2301
|
+
value: "Pacific/Auckland"
|
|
2302
|
+
},
|
|
2303
|
+
{
|
|
2304
|
+
label: "Pacific/Bougainville",
|
|
2305
|
+
searchIndex: "pacific/bougainville||utc+11:00|papua new guinea|pg",
|
|
2306
|
+
value: "Pacific/Bougainville"
|
|
2307
|
+
},
|
|
2308
|
+
{ label: "Pacific/Chatham", searchIndex: "pacific/chatham||utc+13:45|new zealand|nz", value: "Pacific/Chatham" },
|
|
2309
|
+
{
|
|
2310
|
+
label: "Pacific/Chuuk",
|
|
2311
|
+
searchIndex: "pacific/chuuk||utc+10:00|micronesia (federated states of)|fm",
|
|
2312
|
+
value: "Pacific/Chuuk"
|
|
2313
|
+
},
|
|
2314
|
+
{ label: "Pacific/Easter", searchIndex: "pacific/easter||utc-05:00|chile|cl", value: "Pacific/Easter" },
|
|
2315
|
+
{ label: "Pacific/Efate", searchIndex: "pacific/efate||utc+11:00|vanuatu|vu", value: "Pacific/Efate" },
|
|
2316
|
+
{ label: "Pacific/Fakaofo", searchIndex: "pacific/fakaofo||utc+13:00|tokelau|tk", value: "Pacific/Fakaofo" },
|
|
2317
|
+
{ label: "Pacific/Fiji", searchIndex: "pacific/fiji||utc+12:00|fiji|fj", value: "Pacific/Fiji" },
|
|
2318
|
+
{ label: "Pacific/Funafuti", searchIndex: "pacific/funafuti||utc+12:00|tuvalu|tv", value: "Pacific/Funafuti" },
|
|
2319
|
+
{
|
|
2320
|
+
label: "Pacific/Galapagos",
|
|
2321
|
+
searchIndex: "pacific/galapagos||utc-06:00|ecuador|ec",
|
|
2322
|
+
value: "Pacific/Galapagos"
|
|
2323
|
+
},
|
|
2324
|
+
{
|
|
2325
|
+
label: "Pacific/Gambier",
|
|
2326
|
+
searchIndex: "pacific/gambier||utc-09:00|french polynesia|pf",
|
|
2327
|
+
value: "Pacific/Gambier"
|
|
2328
|
+
},
|
|
2329
|
+
{
|
|
2330
|
+
label: "Pacific/Guadalcanal",
|
|
2331
|
+
searchIndex: "pacific/guadalcanal||utc+11:00|micronesia (federated states of)|fm|solomon islands|sb",
|
|
2332
|
+
value: "Pacific/Guadalcanal"
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
label: "Pacific/Guam",
|
|
2336
|
+
searchIndex: "pacific/guam|chst|utc+10:00|guam|gu|northern mariana islands|mp",
|
|
2337
|
+
value: "Pacific/Guam"
|
|
2338
|
+
},
|
|
2339
|
+
{
|
|
2340
|
+
label: "Pacific/Honolulu",
|
|
2341
|
+
searchIndex: "pacific/honolulu|hst|utc-10:00|united states|us",
|
|
2342
|
+
value: "Pacific/Honolulu"
|
|
2343
|
+
},
|
|
2344
|
+
{ label: "Pacific/Kanton", searchIndex: "pacific/kanton||utc+13:00|kiribati|ki", value: "Pacific/Kanton" },
|
|
2345
|
+
{
|
|
2346
|
+
label: "Pacific/Kiritimati",
|
|
2347
|
+
searchIndex: "pacific/kiritimati||utc+14:00|kiribati|ki",
|
|
2348
|
+
value: "Pacific/Kiritimati"
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
label: "Pacific/Kosrae",
|
|
2352
|
+
searchIndex: "pacific/kosrae||utc+11:00|micronesia (federated states of)|fm",
|
|
2353
|
+
value: "Pacific/Kosrae"
|
|
2354
|
+
},
|
|
2355
|
+
{
|
|
2356
|
+
label: "Pacific/Kwajalein",
|
|
2357
|
+
searchIndex: "pacific/kwajalein||utc+12:00|marshall islands|mh",
|
|
2358
|
+
value: "Pacific/Kwajalein"
|
|
2359
|
+
},
|
|
2360
|
+
{
|
|
2361
|
+
label: "Pacific/Majuro",
|
|
2362
|
+
searchIndex: "pacific/majuro||utc+12:00|marshall islands|mh",
|
|
2363
|
+
value: "Pacific/Majuro"
|
|
2364
|
+
},
|
|
2365
|
+
{
|
|
2366
|
+
label: "Pacific/Marquesas",
|
|
2367
|
+
searchIndex: "pacific/marquesas||utc-09:30|french polynesia|pf",
|
|
2368
|
+
value: "Pacific/Marquesas"
|
|
2369
|
+
},
|
|
2370
|
+
{
|
|
2371
|
+
label: "Pacific/Midway",
|
|
2372
|
+
searchIndex: "pacific/midway|sst|utc-11:00|united states outlying islands|um",
|
|
2373
|
+
value: "Pacific/Midway"
|
|
2374
|
+
},
|
|
2375
|
+
{ label: "Pacific/Nauru", searchIndex: "pacific/nauru||utc+12:00|nauru|nr", value: "Pacific/Nauru" },
|
|
2376
|
+
{ label: "Pacific/Niue", searchIndex: "pacific/niue||utc-11:00|niue|nu", value: "Pacific/Niue" },
|
|
2377
|
+
{
|
|
2378
|
+
label: "Pacific/Norfolk",
|
|
2379
|
+
searchIndex: "pacific/norfolk||utc+12:00|norfolk island|nf",
|
|
2380
|
+
value: "Pacific/Norfolk"
|
|
2381
|
+
},
|
|
2382
|
+
{ label: "Pacific/Noumea", searchIndex: "pacific/noumea||utc+11:00|new caledonia|nc", value: "Pacific/Noumea" },
|
|
2383
|
+
{
|
|
2384
|
+
label: "Pacific/Pago_Pago",
|
|
2385
|
+
searchIndex: "pacific/pago_pago|sst|utc-11:00|american samoa|as|united states outlying islands|um",
|
|
2386
|
+
value: "Pacific/Pago_Pago"
|
|
2387
|
+
},
|
|
2388
|
+
{ label: "Pacific/Palau", searchIndex: "pacific/palau||utc+09:00|palau|pw", value: "Pacific/Palau" },
|
|
2389
|
+
{ label: "Pacific/Pitcairn", searchIndex: "pacific/pitcairn||utc-08:00|pitcairn|pn", value: "Pacific/Pitcairn" },
|
|
2390
|
+
{
|
|
2391
|
+
label: "Pacific/Pohnpei",
|
|
2392
|
+
searchIndex: "pacific/pohnpei||utc+11:00|micronesia (federated states of)|fm",
|
|
2393
|
+
value: "Pacific/Pohnpei"
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
label: "Pacific/Port_Moresby",
|
|
2397
|
+
searchIndex: "pacific/port_moresby||utc+10:00|antarctica|aq|micronesia (federated states of)|fm|papua new guinea|pg",
|
|
2398
|
+
value: "Pacific/Port_Moresby"
|
|
2399
|
+
},
|
|
2400
|
+
{
|
|
2401
|
+
label: "Pacific/Rarotonga",
|
|
2402
|
+
searchIndex: "pacific/rarotonga||utc-10:00|cook islands|ck",
|
|
2403
|
+
value: "Pacific/Rarotonga"
|
|
2404
|
+
},
|
|
2405
|
+
{
|
|
2406
|
+
label: "Pacific/Saipan",
|
|
2407
|
+
searchIndex: "pacific/saipan|chst|utc+10:00|northern mariana islands|mp",
|
|
2408
|
+
value: "Pacific/Saipan"
|
|
2409
|
+
},
|
|
2410
|
+
{
|
|
2411
|
+
label: "Pacific/Tahiti",
|
|
2412
|
+
searchIndex: "pacific/tahiti||utc-10:00|french polynesia|pf",
|
|
2413
|
+
value: "Pacific/Tahiti"
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
label: "Pacific/Tarawa",
|
|
2417
|
+
searchIndex: "pacific/tarawa||utc+12:00|kiribati|ki|marshall islands|mh|tuvalu|tv|united states outlying islands|um|wallis and futuna|wf",
|
|
2418
|
+
value: "Pacific/Tarawa"
|
|
2419
|
+
},
|
|
2420
|
+
{ label: "Pacific/Tongatapu", searchIndex: "pacific/tongatapu||utc+13:00|tonga|to", value: "Pacific/Tongatapu" },
|
|
2421
|
+
{
|
|
2422
|
+
label: "Pacific/Wake",
|
|
2423
|
+
searchIndex: "pacific/wake||utc+12:00|united states outlying islands|um",
|
|
2424
|
+
value: "Pacific/Wake"
|
|
2425
|
+
},
|
|
2426
|
+
{
|
|
2427
|
+
label: "Pacific/Wallis",
|
|
2428
|
+
searchIndex: "pacific/wallis||utc+12:00|wallis and futuna|wf",
|
|
2429
|
+
value: "Pacific/Wallis"
|
|
2430
|
+
}
|
|
2431
|
+
]
|
|
2432
|
+
}
|
|
2433
|
+
], He = () => {
|
|
2434
|
+
const i = A.tz.guess(), e = [], a = Ne.map((d) => ({
|
|
2435
|
+
label: d.label,
|
|
2436
|
+
options: d.options.map((c) => {
|
|
2437
|
+
const u = {
|
|
2438
|
+
...c,
|
|
2439
|
+
...Re(c.searchIndex)
|
|
2440
|
+
};
|
|
2441
|
+
return c.value === i && e.push({
|
|
2442
|
+
...c,
|
|
2443
|
+
...u,
|
|
2444
|
+
label: u.label
|
|
2445
|
+
}), u;
|
|
2446
|
+
})
|
|
2447
|
+
}));
|
|
2448
|
+
return a.unshift({
|
|
2449
|
+
label: "",
|
|
2450
|
+
options: e
|
|
2451
|
+
}), a;
|
|
2452
|
+
}, Re = (i) => {
|
|
2453
|
+
const e = i.split("|");
|
|
2454
|
+
return {
|
|
2455
|
+
abbreviation: e[1].toLocaleUpperCase(),
|
|
2456
|
+
country: (e[3] || "").replace(/(\b\w)/g, (a) => a.toLocaleUpperCase()),
|
|
2457
|
+
countryCode: e[4] || "",
|
|
2458
|
+
utc: e[2].toLocaleUpperCase()
|
|
2459
|
+
};
|
|
2460
|
+
}, ja = He(), $a = (i) => ja.reduce((e, a) => (e == null ? void 0 : e.label) === i ? e : a.options.find((d) => d.label === i), {}), Le = { class: "option-name" }, Ke = { class: "option-country" }, qe = { class: "option-utc" }, Ue = { class: "option-name" }, Fe = { class: "option-country" }, Ge = { class: "option-utc" }, Oe = /* @__PURE__ */ G({
|
|
2461
|
+
__name: "timezone-picker",
|
|
2462
|
+
props: {
|
|
2463
|
+
value: {}
|
|
2464
|
+
},
|
|
2465
|
+
emits: ["change"],
|
|
2466
|
+
setup(i, { emit: e }) {
|
|
2467
|
+
const a = e, d = W(ja), c = (u) => {
|
|
2468
|
+
const _ = $a(u);
|
|
2469
|
+
a("change", u, _);
|
|
2470
|
+
};
|
|
2471
|
+
return (u, _) => (g(), H(t(U), {
|
|
2472
|
+
"model-value": u.value,
|
|
2473
|
+
class: "timezone-picker",
|
|
2474
|
+
filterable: "",
|
|
2475
|
+
"input-search": "",
|
|
2476
|
+
clearable: !1,
|
|
2477
|
+
placeholder: t(l)("请输入搜索(国家,城市,简称)"),
|
|
2478
|
+
"no-match-text": t(l)("无匹配数据"),
|
|
2479
|
+
"popover-options": { "ext-cls": "__bk-date-picker-popover__" },
|
|
2480
|
+
onChange: c
|
|
2481
|
+
}, {
|
|
2482
|
+
default: C(() => [
|
|
2483
|
+
(g(!0), S(
|
|
2484
|
+
$,
|
|
2485
|
+
null,
|
|
2486
|
+
R(d.value, (m) => (g(), S(
|
|
2487
|
+
$,
|
|
2488
|
+
null,
|
|
2489
|
+
[
|
|
2490
|
+
m.label.length < 1 ? (g(!0), S(
|
|
2491
|
+
$,
|
|
2492
|
+
{ key: 0 },
|
|
2493
|
+
R(m.options, (r) => (g(), H(t(U).Option, {
|
|
2494
|
+
id: r.label,
|
|
2495
|
+
name: r.label,
|
|
2496
|
+
key: r.label
|
|
2497
|
+
}, {
|
|
2498
|
+
default: C(() => [
|
|
2499
|
+
s(
|
|
2500
|
+
"div",
|
|
2501
|
+
{
|
|
2502
|
+
class: ea({
|
|
2503
|
+
"timezone-picker-option": !0,
|
|
2504
|
+
"is-selected": r.label === u.value
|
|
2505
|
+
})
|
|
2506
|
+
},
|
|
2507
|
+
[
|
|
2508
|
+
s(
|
|
2509
|
+
"span",
|
|
2510
|
+
Le,
|
|
2511
|
+
k(t(l)("浏览器时间")) + " " + k(r.label),
|
|
2512
|
+
1
|
|
2513
|
+
/* TEXT */
|
|
2514
|
+
),
|
|
2515
|
+
s(
|
|
2516
|
+
"span",
|
|
2517
|
+
Ke,
|
|
2518
|
+
k(r.country) + ", " + k(r.abbreviation),
|
|
2519
|
+
1
|
|
2520
|
+
/* TEXT */
|
|
2521
|
+
),
|
|
2522
|
+
s(
|
|
2523
|
+
"span",
|
|
2524
|
+
qe,
|
|
2525
|
+
k(r.utc),
|
|
2526
|
+
1
|
|
2527
|
+
/* TEXT */
|
|
2528
|
+
)
|
|
2529
|
+
],
|
|
2530
|
+
2
|
|
2531
|
+
/* CLASS */
|
|
2532
|
+
)
|
|
2533
|
+
]),
|
|
2534
|
+
_: 2
|
|
2535
|
+
/* DYNAMIC */
|
|
2536
|
+
}, 1032, ["id", "name"]))),
|
|
2537
|
+
128
|
|
2538
|
+
/* KEYED_FRAGMENT */
|
|
2539
|
+
)) : (g(), S(
|
|
2540
|
+
$,
|
|
2541
|
+
{ key: 1 },
|
|
2542
|
+
[
|
|
2543
|
+
m.options.length ? (g(), H(t(U).Group, {
|
|
2544
|
+
key: m.label,
|
|
2545
|
+
label: m.label
|
|
2546
|
+
}, {
|
|
2547
|
+
default: C(() => [
|
|
2548
|
+
(g(!0), S(
|
|
2549
|
+
$,
|
|
2550
|
+
null,
|
|
2551
|
+
R(m.options, (r) => (g(), H(t(U).Option, {
|
|
2552
|
+
id: r.label,
|
|
2553
|
+
name: r.label,
|
|
2554
|
+
key: r.label
|
|
2555
|
+
}, {
|
|
2556
|
+
default: C(() => [
|
|
2557
|
+
s(
|
|
2558
|
+
"div",
|
|
2559
|
+
{
|
|
2560
|
+
class: ea({
|
|
2561
|
+
"timezone-picker-option": !0,
|
|
2562
|
+
"is-selected": r.label === u.value
|
|
2563
|
+
})
|
|
2564
|
+
},
|
|
2565
|
+
[
|
|
2566
|
+
s(
|
|
2567
|
+
"span",
|
|
2568
|
+
Ue,
|
|
2569
|
+
k(r.label),
|
|
2570
|
+
1
|
|
2571
|
+
/* TEXT */
|
|
2572
|
+
),
|
|
2573
|
+
s(
|
|
2574
|
+
"span",
|
|
2575
|
+
Fe,
|
|
2576
|
+
k(r.country) + ", " + k(r.abbreviation),
|
|
2577
|
+
1
|
|
2578
|
+
/* TEXT */
|
|
2579
|
+
),
|
|
2580
|
+
s(
|
|
2581
|
+
"span",
|
|
2582
|
+
Ge,
|
|
2583
|
+
k(r.utc),
|
|
2584
|
+
1
|
|
2585
|
+
/* TEXT */
|
|
2586
|
+
)
|
|
2587
|
+
],
|
|
2588
|
+
2
|
|
2589
|
+
/* CLASS */
|
|
2590
|
+
)
|
|
2591
|
+
]),
|
|
2592
|
+
_: 2
|
|
2593
|
+
/* DYNAMIC */
|
|
2594
|
+
}, 1032, ["id", "name"]))),
|
|
2595
|
+
128
|
|
2596
|
+
/* KEYED_FRAGMENT */
|
|
2597
|
+
))
|
|
2598
|
+
]),
|
|
2599
|
+
_: 2
|
|
2600
|
+
/* DYNAMIC */
|
|
2601
|
+
}, 1032, ["label"])) : da("v-if", !0)
|
|
2602
|
+
],
|
|
2603
|
+
64
|
|
2604
|
+
/* STABLE_FRAGMENT */
|
|
2605
|
+
))
|
|
2606
|
+
],
|
|
2607
|
+
64
|
|
2608
|
+
/* STABLE_FRAGMENT */
|
|
2609
|
+
))),
|
|
2610
|
+
256
|
|
2611
|
+
/* UNKEYED_FRAGMENT */
|
|
2612
|
+
))
|
|
2613
|
+
]),
|
|
2614
|
+
_: 1
|
|
2615
|
+
/* STABLE */
|
|
2616
|
+
}, 8, ["model-value", "placeholder", "no-match-text"]));
|
|
2617
|
+
}
|
|
2618
|
+
});
|
|
2619
|
+
const Je = { class: "panel-wrapper" }, We = { class: "common-date-list" }, Ze = ["onClick"], Qe = { class: "common-wrapper" }, Xe = { class: "empty-tips" }, ai = { class: "time-zone-panel" }, ei = { class: "time-zone" }, ii = { class: "time-zone-area" }, ti = { class: "time-zone-tag" }, ni = { class: "time-zone-picker" }, ri = /* @__PURE__ */ G({
|
|
2620
|
+
__name: "panel-wrapper",
|
|
2621
|
+
props: {
|
|
2622
|
+
defaultValue: {},
|
|
2623
|
+
timezone: {}
|
|
2624
|
+
},
|
|
2625
|
+
emits: ["change", "update:timezone"],
|
|
2626
|
+
setup(i, { emit: e }) {
|
|
2627
|
+
const a = i, { format: d, storeKey: c, timezoneInfo: u } = Ba(), _ = e, m = B(!1), r = [
|
|
2628
|
+
["now-5m", "now"],
|
|
2629
|
+
["now-15m", "now"],
|
|
2630
|
+
["now-30m", "now"],
|
|
2631
|
+
["now-1h", "now"],
|
|
2632
|
+
["now-3h", "now"],
|
|
2633
|
+
["now-6h", "now"],
|
|
2634
|
+
["now-12h", "now"],
|
|
2635
|
+
["now-24h", "now"],
|
|
2636
|
+
["now-2d", "now"],
|
|
2637
|
+
["now-7d", "now"],
|
|
2638
|
+
["now-30d", "now"],
|
|
2639
|
+
["now/d", "now/d"],
|
|
2640
|
+
["now-1d/d", "now-1d/d"],
|
|
2641
|
+
["now-2d/d", "now-2d/d"],
|
|
2642
|
+
["now-3d/d", "now-1d/d"],
|
|
2643
|
+
["now-1w/w", "now-1w/w"],
|
|
2644
|
+
["now/d", "now"],
|
|
2645
|
+
["now/w", "now/w"],
|
|
2646
|
+
["now/w", "now"],
|
|
2647
|
+
["now/M", "now/M"],
|
|
2648
|
+
["now/M", "now"],
|
|
2649
|
+
["now-1M/M", "now-1M/M"],
|
|
2650
|
+
["now-1M/M", "now"]
|
|
2651
|
+
], n = B("common"), h = B(ha(a.defaultValue)), o = B(a.defaultValue), b = A.tz.guess(), f = Z(() => ce(c.value)), P = Z(() => n.value === "common" ? r : f.value), j = (p) => {
|
|
2652
|
+
o.value = p, _("change", p);
|
|
2653
|
+
}, N = () => {
|
|
2654
|
+
switch (h.value) {
|
|
2655
|
+
case D.RECENT:
|
|
2656
|
+
case D.FUTURE:
|
|
2657
|
+
return $e;
|
|
2658
|
+
case D.NATURAL:
|
|
2659
|
+
return Ye;
|
|
2660
|
+
case D.Date:
|
|
2661
|
+
default:
|
|
2662
|
+
return Ce;
|
|
2663
|
+
}
|
|
2664
|
+
}, L = () => {
|
|
2665
|
+
m.value = !m.value;
|
|
2666
|
+
}, M = (p, v) => {
|
|
2667
|
+
_("update:timezone", p, v);
|
|
2668
|
+
};
|
|
2669
|
+
return (p, v) => (g(), S("div", Je, [
|
|
2670
|
+
w(_a, {
|
|
2671
|
+
modelValue: n.value,
|
|
2672
|
+
"onUpdate:modelValue": v[0] || (v[0] = (E) => n.value = E),
|
|
2673
|
+
panels: t(ee)
|
|
2674
|
+
}, null, 8, ["modelValue", "panels"]),
|
|
2675
|
+
s("div", null, [
|
|
2676
|
+
s("ul", We, [
|
|
2677
|
+
(g(!0), S(
|
|
2678
|
+
$,
|
|
2679
|
+
null,
|
|
2680
|
+
R(P.value, (E, y) => (g(), S("li", {
|
|
2681
|
+
class: ea({
|
|
2682
|
+
"list-item": !0,
|
|
2683
|
+
"is-recent-item": n.value === "recent"
|
|
2684
|
+
}),
|
|
2685
|
+
key: y,
|
|
2686
|
+
onClick: (T) => j(E)
|
|
2687
|
+
}, k(t(Ya)(E, t(d))), 11, Ze))),
|
|
2688
|
+
128
|
|
2689
|
+
/* KEYED_FRAGMENT */
|
|
2690
|
+
))
|
|
2691
|
+
])
|
|
2692
|
+
]),
|
|
2693
|
+
ia(s(
|
|
2694
|
+
"div",
|
|
2695
|
+
Qe,
|
|
2696
|
+
[
|
|
2697
|
+
w(t(Qa), {
|
|
2698
|
+
type: "empty",
|
|
2699
|
+
scene: "part",
|
|
2700
|
+
class: "empty-content"
|
|
2701
|
+
}),
|
|
2702
|
+
s(
|
|
2703
|
+
"div",
|
|
2704
|
+
Xe,
|
|
2705
|
+
k(t(l)("暂无最近使用记录")),
|
|
2706
|
+
1
|
|
2707
|
+
/* TEXT */
|
|
2708
|
+
)
|
|
2709
|
+
],
|
|
2710
|
+
512
|
|
2711
|
+
/* NEED_PATCH */
|
|
2712
|
+
), [
|
|
2713
|
+
[fa, P.value.length < 1]
|
|
2714
|
+
]),
|
|
2715
|
+
w(_a, {
|
|
2716
|
+
class: "date-pick-tab",
|
|
2717
|
+
modelValue: h.value,
|
|
2718
|
+
"onUpdate:modelValue": v[1] || (v[1] = (E) => h.value = E),
|
|
2719
|
+
panels: t(ie)
|
|
2720
|
+
}, null, 8, ["modelValue", "panels"]),
|
|
2721
|
+
(g(), H(
|
|
2722
|
+
La,
|
|
2723
|
+
null,
|
|
2724
|
+
[
|
|
2725
|
+
(g(), H(Ka(N()), {
|
|
2726
|
+
key: h.value,
|
|
2727
|
+
type: h.value,
|
|
2728
|
+
value: o.value,
|
|
2729
|
+
onChange: j
|
|
2730
|
+
}, null, 40, ["type", "value"]))
|
|
2731
|
+
],
|
|
2732
|
+
1024
|
|
2733
|
+
/* DYNAMIC_SLOTS */
|
|
2734
|
+
)),
|
|
2735
|
+
s("div", ai, [
|
|
2736
|
+
K(
|
|
2737
|
+
k(t(u).label === t(b) ? t(l)("浏览器时间") : "") + " ",
|
|
2738
|
+
1
|
|
2739
|
+
/* TEXT */
|
|
2740
|
+
),
|
|
2741
|
+
s("span", ei, [
|
|
2742
|
+
K(
|
|
2743
|
+
k(t(u).label) + " ",
|
|
2744
|
+
1
|
|
2745
|
+
/* TEXT */
|
|
2746
|
+
),
|
|
2747
|
+
s(
|
|
2748
|
+
"span",
|
|
2749
|
+
ii,
|
|
2750
|
+
k(t(u).country) + ", " + k(t(u).abbreviation),
|
|
2751
|
+
1
|
|
2752
|
+
/* TEXT */
|
|
2753
|
+
)
|
|
2754
|
+
]),
|
|
2755
|
+
s(
|
|
2756
|
+
"span",
|
|
2757
|
+
ti,
|
|
2758
|
+
k(t(u).utc),
|
|
2759
|
+
1
|
|
2760
|
+
/* TEXT */
|
|
2761
|
+
),
|
|
2762
|
+
w(t(ma), {
|
|
2763
|
+
theme: "primary",
|
|
2764
|
+
size: "small",
|
|
2765
|
+
text: !0,
|
|
2766
|
+
onClick: L
|
|
2767
|
+
}, {
|
|
2768
|
+
default: C(() => [
|
|
2769
|
+
K(
|
|
2770
|
+
k(t(l)("时区设置")),
|
|
2771
|
+
1
|
|
2772
|
+
/* TEXT */
|
|
2773
|
+
)
|
|
2774
|
+
]),
|
|
2775
|
+
_: 1
|
|
2776
|
+
/* STABLE */
|
|
2777
|
+
})
|
|
2778
|
+
]),
|
|
2779
|
+
ia(s(
|
|
2780
|
+
"div",
|
|
2781
|
+
ni,
|
|
2782
|
+
[
|
|
2783
|
+
w(Oe, {
|
|
2784
|
+
value: p.timezone || t(b),
|
|
2785
|
+
onChange: M
|
|
2786
|
+
}, null, 8, ["value"])
|
|
2787
|
+
],
|
|
2788
|
+
512
|
|
2789
|
+
/* NEED_PATCH */
|
|
2790
|
+
), [
|
|
2791
|
+
[fa, m.value]
|
|
2792
|
+
])
|
|
2793
|
+
]));
|
|
2794
|
+
}
|
|
2795
|
+
});
|
|
2796
|
+
const li = /* @__PURE__ */ s(
|
|
2797
|
+
"svg",
|
|
2798
|
+
{
|
|
2799
|
+
class: "date-content-icon",
|
|
2800
|
+
viewBox: "0 0 1024 1024",
|
|
2801
|
+
version: "1.1",
|
|
2802
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2803
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
2804
|
+
width: "14",
|
|
2805
|
+
height: "14"
|
|
2806
|
+
},
|
|
2807
|
+
[
|
|
2808
|
+
/* @__PURE__ */ s("path", {
|
|
2809
|
+
d: "M486.656 997.312c-268.288 0-486.656-218.304-486.656-486.656 0-268.288 218.304-486.656 486.656-486.656 268.352 0 486.656 218.304 486.656 486.656C973.376 779.008 755.008 997.312 486.656 997.312zM486.656 88c-233.088 0-422.656 189.568-422.656 422.656 0 233.088 189.568 422.656 422.656 422.656s422.656-189.632 422.656-422.656C909.376 277.568 719.744 88 486.656 88z",
|
|
2810
|
+
fill: "#979BA5"
|
|
2811
|
+
}),
|
|
2812
|
+
/* @__PURE__ */ s("path", {
|
|
2813
|
+
d: "M816.064 544 432.064 544 432.064 160 496.064 160 496.064 480 816.064 480Z",
|
|
2814
|
+
fill: "#979BA5"
|
|
2815
|
+
})
|
|
2816
|
+
],
|
|
2817
|
+
-1
|
|
2818
|
+
/* HOISTED */
|
|
2819
|
+
), ci = { class: "date-content-utc" }, si = { class: "date-tooltips-timezone" }, Bi = /* @__PURE__ */ G({
|
|
2820
|
+
name: "DatePicker",
|
|
2821
|
+
__name: "date-picker",
|
|
2822
|
+
props: {
|
|
2823
|
+
behavior: { default: "normal" },
|
|
2824
|
+
disabled: { type: Boolean },
|
|
2825
|
+
format: { default: "YYYY-MM-DD HH:mm:ss" },
|
|
2826
|
+
modelValue: {},
|
|
2827
|
+
timezone: {},
|
|
2828
|
+
version: { default: "1.0" }
|
|
2829
|
+
},
|
|
2830
|
+
emits: ["update:modelValue", "update:timezone"],
|
|
2831
|
+
setup(i, { expose: e, emit: a }) {
|
|
2832
|
+
A.locale({
|
|
2833
|
+
...ta === "en" ? Wa : Za,
|
|
2834
|
+
weekStart: 1
|
|
2835
|
+
}), Fa({
|
|
2836
|
+
prefix: "bk"
|
|
2837
|
+
});
|
|
2838
|
+
const d = i, c = a, u = B(), _ = B(), m = Z(() => d.format), r = Z(() => $a(d.timezone || A.tz.guess())), n = W(ka(d.modelValue)), h = Z(() => ne(d.version)), o = B(!1), b = B(!1);
|
|
2839
|
+
le({
|
|
2840
|
+
format: m,
|
|
2841
|
+
storeKey: h,
|
|
2842
|
+
t: l,
|
|
2843
|
+
timezoneInfo: r
|
|
2844
|
+
}), qa(() => {
|
|
2845
|
+
b.value = !1, o.value = !1;
|
|
2846
|
+
});
|
|
2847
|
+
const f = () => {
|
|
2848
|
+
b.value = !0;
|
|
2849
|
+
}, P = () => {
|
|
2850
|
+
setTimeout(() => {
|
|
2851
|
+
b.value = !1;
|
|
2852
|
+
}, 100);
|
|
2853
|
+
}, j = (y) => {
|
|
2854
|
+
var T;
|
|
2855
|
+
o.value = !1, n.value = ka(y), c("update:modelValue", y, (T = n.value) == null ? void 0 : T.map((V) => ({
|
|
2856
|
+
dayjs: V,
|
|
2857
|
+
formatText: V.format(m.value),
|
|
2858
|
+
unix: V.unix()
|
|
2859
|
+
}))), y && se(y, h.value);
|
|
2860
|
+
}, N = (y, T) => {
|
|
2861
|
+
c("update:timezone", y, { ...T }), L();
|
|
2862
|
+
}, L = () => {
|
|
2863
|
+
o.value = !1;
|
|
2864
|
+
}, M = (y) => {
|
|
2865
|
+
var z;
|
|
2866
|
+
if (((z = n.value) == null ? void 0 : z.length) < 2)
|
|
2867
|
+
return;
|
|
2868
|
+
const [T, V] = n.value;
|
|
2869
|
+
let x = V.diff(T);
|
|
2870
|
+
const I = 24 * 60 * 60 * 1e3;
|
|
2871
|
+
x % I === I - 1e3 && (x += 1e3), n.value = y === "left" ? [T.subtract(x), V.subtract(x)] : [T.add(x), V.add(x)], j(n.value.map((Y) => Y.format(m.value)));
|
|
2872
|
+
}, p = () => {
|
|
2873
|
+
M("left");
|
|
2874
|
+
}, v = () => {
|
|
2875
|
+
M("right");
|
|
2876
|
+
}, E = (y) => {
|
|
2877
|
+
o.value && (Array.from(document.querySelectorAll(".__bk-date-picker-popover__")).some((T) => T.contains(y.target)) || L());
|
|
2878
|
+
};
|
|
2879
|
+
return e({
|
|
2880
|
+
handleHidePanel: () => {
|
|
2881
|
+
o.value = !1;
|
|
2882
|
+
},
|
|
2883
|
+
handleShowPanel: () => {
|
|
2884
|
+
o.value = !0;
|
|
2885
|
+
}
|
|
2886
|
+
}), (y, T) => (g(), S(
|
|
2887
|
+
"div",
|
|
2888
|
+
{
|
|
2889
|
+
class: ea({
|
|
2890
|
+
__bk_date_picker__: !0,
|
|
2891
|
+
"is-simplicity": y.behavior === "simplicity",
|
|
2892
|
+
"is-disabled": y.disabled
|
|
2893
|
+
})
|
|
2894
|
+
},
|
|
2895
|
+
[
|
|
2896
|
+
s("span", {
|
|
2897
|
+
class: "date-icon",
|
|
2898
|
+
onClick: p
|
|
2899
|
+
}, [
|
|
2900
|
+
w(t(Pa), { class: "date-icon-left" })
|
|
2901
|
+
]),
|
|
2902
|
+
w(t(aa), {
|
|
2903
|
+
trigger: "manual",
|
|
2904
|
+
"is-show": o.value,
|
|
2905
|
+
placement: "bottom-start",
|
|
2906
|
+
theme: "light",
|
|
2907
|
+
arrow: !1,
|
|
2908
|
+
"ext-cls": "bk-date-picker-popover __bk-date-picker-popover__",
|
|
2909
|
+
offset: { mainAxis: 10, crossAxis: 10, alignmentAxis: -32 },
|
|
2910
|
+
onAfterHidden: L
|
|
2911
|
+
}, {
|
|
2912
|
+
content: C(() => [
|
|
2913
|
+
w(ri, {
|
|
2914
|
+
"default-value": y.modelValue,
|
|
2915
|
+
timezone: y.timezone,
|
|
2916
|
+
onChange: j,
|
|
2917
|
+
"onUpdate:timezone": N
|
|
2918
|
+
}, null, 8, ["default-value", "timezone"])
|
|
2919
|
+
]),
|
|
2920
|
+
default: C(() => {
|
|
2921
|
+
var V;
|
|
2922
|
+
return [
|
|
2923
|
+
ia((g(), S(
|
|
2924
|
+
"span",
|
|
2925
|
+
{
|
|
2926
|
+
class: "date-content",
|
|
2927
|
+
onClick: T[0] || (T[0] = (x) => o.value = !o.value),
|
|
2928
|
+
ref_key: "dateContentRef",
|
|
2929
|
+
ref: _,
|
|
2930
|
+
onMouseenter: f,
|
|
2931
|
+
onMouseleave: P
|
|
2932
|
+
},
|
|
2933
|
+
[
|
|
2934
|
+
li,
|
|
2935
|
+
s(
|
|
2936
|
+
"span",
|
|
2937
|
+
null,
|
|
2938
|
+
k(t(Ya)(y.modelValue, m.value)),
|
|
2939
|
+
1
|
|
2940
|
+
/* TEXT */
|
|
2941
|
+
),
|
|
2942
|
+
s(
|
|
2943
|
+
"span",
|
|
2944
|
+
ci,
|
|
2945
|
+
k(r.value.abbreviation || ((V = r.value.utc) == null ? void 0 : V.replace("UTC", "").replace(":00", ""))),
|
|
2946
|
+
1
|
|
2947
|
+
/* TEXT */
|
|
2948
|
+
)
|
|
2949
|
+
],
|
|
2950
|
+
32
|
|
2951
|
+
/* HYDRATE_EVENTS */
|
|
2952
|
+
)), [
|
|
2953
|
+
[t(ua), E]
|
|
2954
|
+
])
|
|
2955
|
+
];
|
|
2956
|
+
}),
|
|
2957
|
+
_: 1
|
|
2958
|
+
/* STABLE */
|
|
2959
|
+
}, 8, ["is-show"]),
|
|
2960
|
+
s("span", {
|
|
2961
|
+
class: "date-icon",
|
|
2962
|
+
style: { "margin-left": "auto" },
|
|
2963
|
+
onClick: v
|
|
2964
|
+
}, [
|
|
2965
|
+
w(t(Da), { class: "date-icon-right" })
|
|
2966
|
+
]),
|
|
2967
|
+
w(t(aa), {
|
|
2968
|
+
"is-show": b.value,
|
|
2969
|
+
trigger: "manual",
|
|
2970
|
+
target: _.value,
|
|
2971
|
+
offset: 12,
|
|
2972
|
+
placement: "top"
|
|
2973
|
+
}, {
|
|
2974
|
+
content: C(() => {
|
|
2975
|
+
var V, x, I, z;
|
|
2976
|
+
return [
|
|
2977
|
+
s(
|
|
2978
|
+
"div",
|
|
2979
|
+
{
|
|
2980
|
+
ref_key: "dateTooltipsRef",
|
|
2981
|
+
ref: u,
|
|
2982
|
+
class: "__date-tooltips__",
|
|
2983
|
+
style: Ua({ maxWidth: t(ta) === "en" ? "180px" : "156px" })
|
|
2984
|
+
},
|
|
2985
|
+
[
|
|
2986
|
+
s(
|
|
2987
|
+
"div",
|
|
2988
|
+
null,
|
|
2989
|
+
k((x = (V = n.value) == null ? void 0 : V[0]) == null ? void 0 : x.format(m.value)),
|
|
2990
|
+
1
|
|
2991
|
+
/* TEXT */
|
|
2992
|
+
),
|
|
2993
|
+
K(" to "),
|
|
2994
|
+
s(
|
|
2995
|
+
"div",
|
|
2996
|
+
null,
|
|
2997
|
+
k((z = (I = n.value) == null ? void 0 : I[1]) == null ? void 0 : z.format(m.value)),
|
|
2998
|
+
1
|
|
2999
|
+
/* TEXT */
|
|
3000
|
+
),
|
|
3001
|
+
s(
|
|
3002
|
+
"div",
|
|
3003
|
+
si,
|
|
3004
|
+
k(r.value.label === t(A).tz.guess() ? `${t(l)("浏览器时间")} (${r.value.label})` : r.value.label),
|
|
3005
|
+
1
|
|
3006
|
+
/* TEXT */
|
|
3007
|
+
)
|
|
3008
|
+
],
|
|
3009
|
+
4
|
|
3010
|
+
/* STYLE */
|
|
3011
|
+
)
|
|
3012
|
+
];
|
|
3013
|
+
}),
|
|
3014
|
+
_: 1
|
|
3015
|
+
/* STABLE */
|
|
3016
|
+
}, 8, ["is-show", "target"])
|
|
3017
|
+
],
|
|
3018
|
+
2
|
|
3019
|
+
/* CLASS */
|
|
3020
|
+
));
|
|
3021
|
+
}
|
|
3022
|
+
});
|
|
3023
|
+
A.extend(Ma);
|
|
3024
|
+
A.extend(Na);
|
|
3025
|
+
A.extend(Ea);
|
|
3026
|
+
A.extend(za);
|
|
3027
|
+
export {
|
|
3028
|
+
Ta as DATE_PICKER_PROVIDER_KEY,
|
|
3029
|
+
Bi as DatePicker,
|
|
3030
|
+
$i as Dayjs,
|
|
3031
|
+
Ni as dayjs,
|
|
3032
|
+
Bi as default,
|
|
3033
|
+
ha as getDateValueMode,
|
|
3034
|
+
Ya as getDateValueToString,
|
|
3035
|
+
sa as isValidDateValue,
|
|
3036
|
+
q as naturalDateRegexp,
|
|
3037
|
+
na as recentDateRegexp,
|
|
3038
|
+
ka as transformDateValueToDayjs,
|
|
3039
|
+
le as useDatePickerProvider,
|
|
3040
|
+
Ba as useDatePickertInject
|
|
3041
|
+
};
|