@das-fed/upf-utils 6.4.0-dev.269 → 6.4.0-dev.270
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/api-services/modules/contract/es5.js +852 -850
- package/api-services/modules/contract/index.js +671 -667
- package/api-services/modules/contract/index.js.gz +0 -0
- package/api-services/modules/duty-manage/es5.js +1120 -1108
- package/api-services/modules/duty-manage/index.js +935 -917
- package/api-services/modules/duty-manage/index.js.gz +0 -0
- package/api-services/modules/iot/es5.js +1241 -1229
- package/api-services/modules/iot/index.js +1039 -1021
- package/api-services/modules/iot/index.js.gz +0 -0
- package/api-services/modules/knowledge/es5.js +1134 -1122
- package/api-services/modules/knowledge/index.js +948 -930
- package/api-services/modules/knowledge/index.js.gz +0 -0
- package/api-services/modules/link/es5.js +1124 -1133
- package/api-services/modules/link/index.js +933 -947
- package/api-services/modules/link/index.js.gz +0 -0
- package/api-services/modules/permission/es5.js +1133 -1124
- package/api-services/modules/permission/index.js +947 -933
- package/api-services/modules/permission/index.js.gz +0 -0
- package/api-services/modules/platformManage/es5.js +1226 -1238
- package/api-services/modules/platformManage/index.js +1014 -1032
- package/api-services/modules/platformManage/index.js.gz +0 -0
- package/api-services/modules/portal/es5.js +1134 -1122
- package/api-services/modules/portal/index.js +948 -930
- package/api-services/modules/portal/index.js.gz +0 -0
- package/api-services/modules/space-manage/es5.js +1110 -1122
- package/api-services/modules/space-manage/index.js +918 -936
- package/api-services/modules/space-manage/index.js.gz +0 -0
- package/api-services/modules/super-admin/es5.js +1138 -1126
- package/api-services/modules/super-admin/index.js +950 -932
- package/api-services/modules/super-admin/index.js.gz +0 -0
- package/api-services/modules/supplier/es5.js +1126 -1114
- package/api-services/modules/supplier/index.js +938 -920
- package/api-services/modules/supplier/index.js.gz +0 -0
- package/api-services/src/create-service/es5.js +1120 -1132
- package/api-services/src/create-service/index.js +929 -947
- package/api-services/src/create-service/index.js.gz +0 -0
- package/common-info/getPermissionMethod/es5.js +1365 -1356
- package/common-info/getPermissionMethod/index.js +1135 -1121
- package/common-info/getPermissionMethod/index.js.gz +0 -0
- package/common-tools/timezone-format/es5.d.ts +14 -1
- package/common-tools/timezone-format/es5.js +388 -323
- package/common-tools/timezone-format/index.d.ts +14 -1
- package/common-tools/timezone-format/index.js +276 -237
- package/common-tools/timezone-format/index.js.gz +0 -0
- package/esm-map.json +5 -1
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import f from "dayjs";
|
|
2
|
-
import { ref as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import { ref as Ie } from "vue";
|
|
3
|
+
import De from "dayjs/plugin/utc";
|
|
4
|
+
import we from "dayjs/plugin/timezone";
|
|
5
5
|
import "@das-fed/upf-utils/config";
|
|
6
|
-
const
|
|
6
|
+
const ne = "/api/admin/basic-application/sys-info/v1/license/time-zone-packed-data";
|
|
7
7
|
function pe() {
|
|
8
8
|
if (typeof localStorage > "u")
|
|
9
9
|
return null;
|
|
@@ -13,18 +13,18 @@ function pe() {
|
|
|
13
13
|
return null;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function Ae() {
|
|
17
17
|
const e = pe();
|
|
18
18
|
if (!(e == null || e === ""))
|
|
19
19
|
return e.trim().startsWith("Bearer ") ? e.trim() : `Bearer ${e.trim()}`;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
22
|
-
const t = e.authorization !== void 0 ? e.authorization === "" || e.authorization == null ? void 0 : e.authorization :
|
|
21
|
+
function oe(e = {}) {
|
|
22
|
+
const t = e.authorization !== void 0 ? e.authorization === "" || e.authorization == null ? void 0 : e.authorization : Ae(), n = { ...e.headers || {} };
|
|
23
23
|
if (t != null && t !== "" && (n.Authorization = t), Object.keys(n).length !== 0)
|
|
24
24
|
return { headers: n };
|
|
25
25
|
}
|
|
26
|
-
let
|
|
27
|
-
const
|
|
26
|
+
let _ = null, p = null;
|
|
27
|
+
const J = [
|
|
28
28
|
"utc",
|
|
29
29
|
"uct",
|
|
30
30
|
"zulu",
|
|
@@ -43,8 +43,8 @@ const H = [
|
|
|
43
43
|
"etc/gmt+0",
|
|
44
44
|
"etc/gmt-0",
|
|
45
45
|
"etc/greenwich"
|
|
46
|
-
],
|
|
47
|
-
function
|
|
46
|
+
], Ee = { u: [1 / 0], o: [0] };
|
|
47
|
+
function re(e) {
|
|
48
48
|
if (!e || typeof e != "object")
|
|
49
49
|
throw new Error("Invalid IANA response: expected an object");
|
|
50
50
|
const t = e;
|
|
@@ -57,7 +57,7 @@ function oe(e) {
|
|
|
57
57
|
links: Array.isArray(n) ? n : []
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
|
-
async function
|
|
60
|
+
async function ze(e, t) {
|
|
61
61
|
if (typeof fetch != "function")
|
|
62
62
|
throw new Error("fetch is not available. Pass preloadFromApi options.fetchJson.");
|
|
63
63
|
const n = await fetch(e, t);
|
|
@@ -65,68 +65,68 @@ async function Ae(e, t) {
|
|
|
65
65
|
throw new Error(`IANA request failed: ${n.status} ${n.statusText}`);
|
|
66
66
|
return n.json();
|
|
67
67
|
}
|
|
68
|
-
function
|
|
69
|
-
return
|
|
68
|
+
function se(e) {
|
|
69
|
+
return p = re(e), _ = Oe(p), p;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
return
|
|
71
|
+
function Se() {
|
|
72
|
+
return p;
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
75
|
-
const t = e.url ??
|
|
74
|
+
async function _e(e = {}) {
|
|
75
|
+
const t = e.url ?? ne, n = oe({
|
|
76
76
|
authorization: e.authorization,
|
|
77
77
|
headers: e.headers
|
|
78
|
-
}), r = await (e.fetchJson ??
|
|
79
|
-
return
|
|
78
|
+
}), r = await (e.fetchJson ?? ze)(t, n), s = e.parseResponse ? e.parseResponse(r) : re(r);
|
|
79
|
+
return se(s);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
|
|
81
|
+
function Ce() {
|
|
82
|
+
_ = null, p = null;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function B(e) {
|
|
85
85
|
return e > 96 ? e - 87 : e > 64 ? e - 29 : e - 48;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function Le(e) {
|
|
88
88
|
let t = 1, n = 0, o = 0, r = 1;
|
|
89
89
|
const s = e.split("."), i = s[0], c = s[1] || "";
|
|
90
90
|
e.charCodeAt(0) === 45 && (t = -1);
|
|
91
91
|
for (let a = 0; a < i.length; a++) {
|
|
92
92
|
const u = i.charCodeAt(a);
|
|
93
|
-
u !== 45 && (n = 60 * n +
|
|
93
|
+
u !== 45 && (n = 60 * n + B(u));
|
|
94
94
|
}
|
|
95
95
|
for (let a = 0; a < c.length; a++)
|
|
96
|
-
r = r / 60, o +=
|
|
96
|
+
r = r / 60, o += B(c.charCodeAt(a)) * r;
|
|
97
97
|
return (n + o) * t;
|
|
98
98
|
}
|
|
99
99
|
function O(e) {
|
|
100
100
|
const t = [];
|
|
101
101
|
for (const n of e)
|
|
102
|
-
t.push(
|
|
102
|
+
t.push(Le(n));
|
|
103
103
|
return t;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function W(e) {
|
|
106
106
|
const t = e.trim();
|
|
107
107
|
return t ? t.split(" ") : [];
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function be(e) {
|
|
110
110
|
let t = 0;
|
|
111
111
|
const n = [];
|
|
112
112
|
for (const o of e)
|
|
113
113
|
t += o, n.push(Math.round(t * 6e4));
|
|
114
114
|
return n.push(1 / 0), n;
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Me(e, t) {
|
|
117
117
|
const n = [];
|
|
118
118
|
for (const o of t)
|
|
119
119
|
n.push(e[o]);
|
|
120
120
|
return n;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function C(e) {
|
|
123
123
|
return typeof e == "string" ? e.trim().toLowerCase() : "";
|
|
124
124
|
}
|
|
125
125
|
function ve(e) {
|
|
126
126
|
const t = e.split("|");
|
|
127
127
|
if (t.length < 5)
|
|
128
128
|
throw new Error("Invalid packed zone format");
|
|
129
|
-
const n =
|
|
129
|
+
const n = C(t[0]), o = O(W(t[2])), r = O(t[3].split("")), s = be(O(W(t[4]))), i = Me(o, r);
|
|
130
130
|
return {
|
|
131
131
|
name: n,
|
|
132
132
|
rule: {
|
|
@@ -135,19 +135,19 @@ function ve(e) {
|
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
const o =
|
|
138
|
+
function ke(e, t, n) {
|
|
139
|
+
const o = C(t), r = C(n);
|
|
140
140
|
if (!o || !r) return;
|
|
141
141
|
const s = e[o], i = e[r];
|
|
142
142
|
s && !i ? e[r] = s : i && !s && (e[o] = i);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
145
|
-
const t =
|
|
146
|
-
|
|
144
|
+
function Ne(e) {
|
|
145
|
+
const t = J.map((n) => e[n]).find(Boolean) || Ee;
|
|
146
|
+
J.forEach((n) => {
|
|
147
147
|
e[n] || (e[n] = t);
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function Oe(e) {
|
|
151
151
|
if (!e || !Array.isArray(e.zones))
|
|
152
152
|
throw new TypeError("packed iana data must contain zones array");
|
|
153
153
|
const t = {};
|
|
@@ -158,19 +158,19 @@ function Me(e) {
|
|
|
158
158
|
const n = e.links || [];
|
|
159
159
|
for (const o of n) {
|
|
160
160
|
const r = o.split("|");
|
|
161
|
-
r.length < 2 ||
|
|
161
|
+
r.length < 2 || ke(t, r[0], r[1]);
|
|
162
162
|
}
|
|
163
|
-
return
|
|
163
|
+
return Ne(t), t;
|
|
164
164
|
}
|
|
165
|
-
function
|
|
166
|
-
if (!
|
|
165
|
+
function Ue() {
|
|
166
|
+
if (!_)
|
|
167
167
|
throw new Error(
|
|
168
168
|
"IANA data not loaded. Await dayjsTimezoneIanaPlugin.preloadFromApi({ url: ... }) before dayjs.extend(dayjsTimezoneIanaPlugin)."
|
|
169
169
|
);
|
|
170
|
-
return
|
|
170
|
+
return _;
|
|
171
171
|
}
|
|
172
|
-
function
|
|
173
|
-
const o =
|
|
172
|
+
function Pe(e, t, n) {
|
|
173
|
+
const o = C(t), r = n[o];
|
|
174
174
|
if (r === void 0)
|
|
175
175
|
throw Error("Unknown Time Zone " + t);
|
|
176
176
|
const s = r.o, i = r.u, c = i.length - 1;
|
|
@@ -182,26 +182,26 @@ function Oe(e, t, n) {
|
|
|
182
182
|
}
|
|
183
183
|
return s[c];
|
|
184
184
|
}
|
|
185
|
-
const
|
|
185
|
+
const Fe = (e, t, n) => {
|
|
186
186
|
var a, u;
|
|
187
187
|
let o = "";
|
|
188
|
-
const r = n.tz, s = (a = r == null ? void 0 : r.guess) == null ? void 0 : a.bind(r), i = (u = r == null ? void 0 : r.setDefault) == null ? void 0 : u.bind(r), c = (l, T,
|
|
189
|
-
const
|
|
190
|
-
return (typeof n.utc == "function" ? n.utc(l, g) : n(l, g).utc()).tz(
|
|
188
|
+
const r = n.tz, s = (a = r == null ? void 0 : r.guess) == null ? void 0 : a.bind(r), i = (u = r == null ? void 0 : r.setDefault) == null ? void 0 : u.bind(r), c = (l, T, y) => {
|
|
189
|
+
const S = y || T || o, g = y ? T : void 0;
|
|
190
|
+
return (typeof n.utc == "function" ? n.utc(l, g) : n(l, g).utc()).tz(S);
|
|
191
191
|
};
|
|
192
192
|
r && Object.assign(c, r), c.setDefault = (l) => {
|
|
193
193
|
o = l, i == null || i(l);
|
|
194
194
|
}, c.guess = () => s ? s() : typeof Intl < "u" && typeof Intl.DateTimeFormat == "function" ? Intl.DateTimeFormat().resolvedOptions().timeZone || o || "UTC" : o || "UTC", n.tz = c, t.prototype.tz = function(l = o, T) {
|
|
195
|
-
var
|
|
196
|
-
const
|
|
195
|
+
var Z;
|
|
196
|
+
const y = l || ((Z = c.guess) == null ? void 0 : Z.call(c)) || "UTC", S = this.utc().valueOf(), g = Pe(S, y, Ue());
|
|
197
197
|
return this.utcOffset(-g, T);
|
|
198
198
|
};
|
|
199
|
-
}, d =
|
|
200
|
-
d.preloadFromApi =
|
|
201
|
-
d.preloadFromData =
|
|
202
|
-
d.getCachedPackedData =
|
|
203
|
-
d.clearIanaCache =
|
|
204
|
-
function
|
|
199
|
+
}, d = Fe;
|
|
200
|
+
d.preloadFromApi = _e;
|
|
201
|
+
d.preloadFromData = se;
|
|
202
|
+
d.getCachedPackedData = Se;
|
|
203
|
+
d.clearIanaCache = Ce;
|
|
204
|
+
function Ye(e) {
|
|
205
205
|
if (!e || typeof e != "object")
|
|
206
206
|
throw new Error("Invalid IANA response: expected an object");
|
|
207
207
|
const t = e;
|
|
@@ -214,14 +214,14 @@ function Pe(e) {
|
|
|
214
214
|
links: Array.isArray(n) ? n : []
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function ae(e, t) {
|
|
218
218
|
if (!e || typeof e.tz != "object" || typeof e.tz.load != "function")
|
|
219
219
|
throw new Error("moment.tz.load is missing. Import moment-timezone before calling loadIanaData.");
|
|
220
220
|
if (!t || !Array.isArray(t.zones))
|
|
221
221
|
throw new Error("Invalid packed IANA data: zones must be an array");
|
|
222
222
|
e.tz.load(t);
|
|
223
223
|
}
|
|
224
|
-
async function
|
|
224
|
+
async function je(e, t) {
|
|
225
225
|
if (typeof fetch != "function")
|
|
226
226
|
throw new Error("fetch is not available. Pass loadIanaFromApi options.fetchJson in Node or polyfill fetch.");
|
|
227
227
|
const n = await fetch(e, t);
|
|
@@ -229,21 +229,21 @@ async function Fe(e, t) {
|
|
|
229
229
|
throw new Error(`IANA request failed: ${n.status} ${n.statusText}`);
|
|
230
230
|
return n.json();
|
|
231
231
|
}
|
|
232
|
-
async function
|
|
233
|
-
let o =
|
|
232
|
+
async function K(e, t, n) {
|
|
233
|
+
let o = ne, r = {};
|
|
234
234
|
typeof t == "string" ? (o = t, r = n ?? {}) : t != null && (r = t);
|
|
235
|
-
const s =
|
|
235
|
+
const s = oe({
|
|
236
236
|
authorization: r.authorization,
|
|
237
237
|
headers: r.headers
|
|
238
|
-
}), c = await (r.fetchJson ??
|
|
239
|
-
return
|
|
238
|
+
}), c = await (r.fetchJson ?? je)(o, s), a = r.parseResponse ? r.parseResponse(c) : Ye(c);
|
|
239
|
+
return ae(e, a), a;
|
|
240
240
|
}
|
|
241
|
-
f.extend(
|
|
242
|
-
f.extend(
|
|
243
|
-
const
|
|
241
|
+
f.extend(De);
|
|
242
|
+
f.extend(we);
|
|
243
|
+
const I = "zh-CN", Ve = "YYYY.MM.DD HH:mm:ss", A = "YYYY-MM-DD HH:mm:ss", ie = "YYYY-MM-DD HH:mm", Y = "UTC", j = "timeZone", ce = "timezonechange", xe = "__UPF_TIMEZONE_CHANGE__", Re = "ianatimezonedatachange", q = {
|
|
244
244
|
zh: "夏令时",
|
|
245
245
|
default: "DST"
|
|
246
|
-
},
|
|
246
|
+
}, Ge = [
|
|
247
247
|
"UTC",
|
|
248
248
|
"UCT",
|
|
249
249
|
"Zulu",
|
|
@@ -262,32 +262,32 @@ const D = "zh-CN", je = "YYYY.MM.DD HH:mm:ss", b = "YYYY-MM-DD HH:mm:ss", ae = "
|
|
|
262
262
|
"Etc/GMT+0",
|
|
263
263
|
"Etc/GMT-0",
|
|
264
264
|
"Etc/Greenwich"
|
|
265
|
-
],
|
|
266
|
-
var
|
|
267
|
-
const
|
|
268
|
-
let
|
|
265
|
+
], He = f, D = /* @__PURE__ */ new Set();
|
|
266
|
+
var ee, te;
|
|
267
|
+
const $e = (te = (ee = f.tz) == null ? void 0 : ee.guess) == null ? void 0 : te.bind(f.tz);
|
|
268
|
+
let L = !1;
|
|
269
269
|
const m = (e) => (e || "").trim(), U = (e) => {
|
|
270
270
|
const t = m(e);
|
|
271
|
-
t &&
|
|
272
|
-
},
|
|
271
|
+
t && D.add(t);
|
|
272
|
+
}, Je = () => Ge.forEach(U), w = () => typeof window > "u" ? void 0 : window, Be = (e) => ({
|
|
273
273
|
version: typeof e.version == "string" ? e.version : void 0,
|
|
274
274
|
zones: Array.isArray(e.zones) ? e.zones.filter((t) => typeof t == "string") : [],
|
|
275
275
|
links: Array.isArray(e.links) ? e.links.filter((t) => typeof t == "string") : []
|
|
276
276
|
}), P = (e, t, n = Date.now()) => ({
|
|
277
|
-
...
|
|
277
|
+
...Be(e),
|
|
278
278
|
source: t,
|
|
279
279
|
timestamp: n
|
|
280
|
-
}),
|
|
280
|
+
}), v = (e, t = "iana") => {
|
|
281
281
|
const n = P(e, t);
|
|
282
282
|
try {
|
|
283
|
-
const o =
|
|
283
|
+
const o = w();
|
|
284
284
|
o && (o.__UPF_IANA_TIMEZONE_DATA__ = n, o.dispatchEvent(new CustomEvent(Re, { detail: n })));
|
|
285
285
|
} catch {
|
|
286
286
|
}
|
|
287
287
|
return n;
|
|
288
|
-
},
|
|
288
|
+
}, We = () => {
|
|
289
289
|
var o;
|
|
290
|
-
const e =
|
|
290
|
+
const e = w(), t = e == null ? void 0 : e.__UPF_IANA_TIMEZONE_DATA__;
|
|
291
291
|
if (t && Array.isArray(t.zones) && t.zones.length)
|
|
292
292
|
return P(
|
|
293
293
|
t,
|
|
@@ -296,20 +296,20 @@ const m = (e) => (e || "").trim(), U = (e) => {
|
|
|
296
296
|
);
|
|
297
297
|
const n = (o = d.getCachedPackedData) == null ? void 0 : o.call(d);
|
|
298
298
|
return n ? P(n, "iana") : null;
|
|
299
|
-
},
|
|
299
|
+
}, Ct = We, V = () => {
|
|
300
300
|
try {
|
|
301
|
-
return typeof sessionStorage > "u" ? "" : m(sessionStorage.getItem(
|
|
301
|
+
return typeof sessionStorage > "u" ? "" : m(sessionStorage.getItem(j));
|
|
302
302
|
} catch {
|
|
303
303
|
return "";
|
|
304
304
|
}
|
|
305
|
-
},
|
|
305
|
+
}, Ke = (e) => {
|
|
306
306
|
try {
|
|
307
|
-
typeof sessionStorage < "u" && sessionStorage.setItem(
|
|
307
|
+
typeof sessionStorage < "u" && sessionStorage.setItem(j, e);
|
|
308
308
|
} catch {
|
|
309
309
|
}
|
|
310
|
-
},
|
|
310
|
+
}, x = () => {
|
|
311
311
|
var t;
|
|
312
|
-
const e =
|
|
312
|
+
const e = w();
|
|
313
313
|
if (!(e != null && e.name)) return "";
|
|
314
314
|
try {
|
|
315
315
|
const n = (t = JSON.parse(e.name || "{}")) == null ? void 0 : t.parentData;
|
|
@@ -317,20 +317,20 @@ const m = (e) => (e || "").trim(), U = (e) => {
|
|
|
317
317
|
} catch {
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
},
|
|
320
|
+
}, fe = (e, t) => ({
|
|
321
321
|
timeZone: m(e),
|
|
322
322
|
source: t,
|
|
323
323
|
timestamp: Date.now()
|
|
324
|
-
}),
|
|
325
|
-
let
|
|
326
|
-
const
|
|
324
|
+
}), b = Ie(V() || x()), F = /* @__PURE__ */ new Set();
|
|
325
|
+
let Q = !1;
|
|
326
|
+
const qe = () => {
|
|
327
327
|
if (!(typeof Intl > "u" || typeof Intl.DateTimeFormat != "function"))
|
|
328
328
|
try {
|
|
329
329
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
330
330
|
} catch {
|
|
331
331
|
return;
|
|
332
332
|
}
|
|
333
|
-
},
|
|
333
|
+
}, Qe = (e) => {
|
|
334
334
|
if (!e) return !1;
|
|
335
335
|
if (typeof Intl > "u" || typeof Intl.DateTimeFormat != "function") return !0;
|
|
336
336
|
try {
|
|
@@ -338,71 +338,71 @@ const Be = () => {
|
|
|
338
338
|
} catch {
|
|
339
339
|
return !1;
|
|
340
340
|
}
|
|
341
|
-
},
|
|
341
|
+
}, E = (e) => {
|
|
342
342
|
const t = m(e);
|
|
343
|
-
return t ?
|
|
344
|
-
},
|
|
343
|
+
return t ? D.size ? D.has(t) : Qe(t) : !1;
|
|
344
|
+
}, k = (e) => (D.clear(), e.zones.forEach((t) => {
|
|
345
345
|
const n = t.split("|")[0];
|
|
346
346
|
U(n);
|
|
347
347
|
}), (e.links || []).forEach((t) => {
|
|
348
348
|
t.split("|").forEach((n) => {
|
|
349
349
|
U(n);
|
|
350
350
|
});
|
|
351
|
-
}),
|
|
352
|
-
const n = d.preloadFromData(e), o =
|
|
353
|
-
return
|
|
354
|
-
},
|
|
355
|
-
const t = await d.preloadFromApi(e), n =
|
|
356
|
-
return
|
|
357
|
-
},
|
|
358
|
-
const { url: n, ...o } = t, r = n ? await
|
|
359
|
-
return
|
|
360
|
-
},
|
|
351
|
+
}), Je(), Array.from(D)), Lt = () => Array.from(D), bt = async (e, t = {}) => {
|
|
352
|
+
const n = d.preloadFromData(e), o = k(n);
|
|
353
|
+
return L || (f.extend(d), L = !0), R(t.defaultTimeZone), t.syncRuntimeSnapshot !== !1 && v(n, t.runtimeSource || "iana"), { data: n, knownTimeZones: o };
|
|
354
|
+
}, Mt = async (e = {}) => {
|
|
355
|
+
const t = await d.preloadFromApi(e), n = k(t);
|
|
356
|
+
return L || (f.extend(d), L = !0), R(e.defaultTimeZone), e.syncRuntimeSnapshot !== !1 && v(t, e.runtimeSource || "iana"), { data: t, knownTimeZones: n };
|
|
357
|
+
}, vt = (e, t) => (ae(e, t), k(t), v(t, "iana"), t), kt = async (e, t = {}) => {
|
|
358
|
+
const { url: n, ...o } = t, r = n ? await K(e, n, o) : await K(e, o);
|
|
359
|
+
return k(r), v(r, "iana"), r;
|
|
360
|
+
}, Xe = () => {
|
|
361
361
|
var n;
|
|
362
|
-
const e = (n = f.tz) == null ? void 0 : n.guess, t = typeof e == "function" ? e :
|
|
362
|
+
const e = (n = f.tz) == null ? void 0 : n.guess, t = typeof e == "function" ? e : $e;
|
|
363
363
|
try {
|
|
364
364
|
return t == null ? void 0 : t();
|
|
365
365
|
} catch {
|
|
366
366
|
return;
|
|
367
367
|
}
|
|
368
|
-
},
|
|
368
|
+
}, R = (e) => {
|
|
369
369
|
var o, r;
|
|
370
370
|
const t = m(e), n = f.tz;
|
|
371
|
-
return t ?
|
|
372
|
-
},
|
|
371
|
+
return t ? E(t) ? ((r = n == null ? void 0 : n.setDefault) == null || r.call(n, t), !0) : !1 : ((o = n == null ? void 0 : n.setDefault) == null || o.call(n, Y), !0);
|
|
372
|
+
}, et = (e) => {
|
|
373
373
|
F.forEach((t) => {
|
|
374
374
|
try {
|
|
375
375
|
t(e.timeZone, e);
|
|
376
376
|
} catch {
|
|
377
377
|
}
|
|
378
378
|
});
|
|
379
|
-
},
|
|
379
|
+
}, tt = (e) => {
|
|
380
380
|
var t;
|
|
381
381
|
try {
|
|
382
|
-
(t =
|
|
382
|
+
(t = w()) == null || t.dispatchEvent(new CustomEvent(ce, { detail: e }));
|
|
383
383
|
} catch {
|
|
384
384
|
}
|
|
385
|
-
},
|
|
386
|
-
const n = m(e), o =
|
|
387
|
-
r && (
|
|
385
|
+
}, G = (e, t = {}) => {
|
|
386
|
+
const n = m(e), o = fe(n, t.source), r = b.value !== n;
|
|
387
|
+
r && (b.value = n);
|
|
388
388
|
try {
|
|
389
|
-
const s =
|
|
389
|
+
const s = w();
|
|
390
390
|
s && (s.__UPF_TIMEZONE_SNAPSHOT__ = o);
|
|
391
391
|
} catch {
|
|
392
392
|
}
|
|
393
|
-
return t.persist !== !1 &&
|
|
394
|
-
},
|
|
393
|
+
return t.persist !== !1 && Ke(n), t.syncDefault !== !1 && R(n), t.notify !== !1 && r && et(o), t.dispatchEvent !== !1 && tt(o), n;
|
|
394
|
+
}, Nt = (e, t = {}) => G(m(e), {
|
|
395
395
|
persist: !0,
|
|
396
396
|
notify: !0,
|
|
397
397
|
dispatchEvent: !0,
|
|
398
398
|
syncDefault: !0,
|
|
399
399
|
...t
|
|
400
|
-
}),
|
|
401
|
-
const t =
|
|
402
|
-
return t ||
|
|
403
|
-
},
|
|
400
|
+
}), Ot = (e = "sync") => {
|
|
401
|
+
const t = V() || x();
|
|
402
|
+
return t || b.value ? G(t, { source: e, dispatchEvent: !1 }) : "";
|
|
403
|
+
}, Ut = (e) => (F.add(e), () => F.delete(e)), nt = (e) => {
|
|
404
404
|
var n, o, r, s;
|
|
405
|
-
if (typeof e == "string") return
|
|
405
|
+
if (typeof e == "string") return fe(e);
|
|
406
406
|
if (!e || typeof e != "object") return null;
|
|
407
407
|
const t = "timeZone" in e ? e.timeZone : e != null && e.detail && "timeZone" in e.detail ? e.detail.timeZone : e != null && e.params && "timeZone" in e.params ? e.params.timeZone : void 0;
|
|
408
408
|
return t == null ? null : {
|
|
@@ -410,93 +410,128 @@ const Be = () => {
|
|
|
410
410
|
source: e.source || ((n = e.detail) == null ? void 0 : n.source) || ((o = e.params) == null ? void 0 : o.source),
|
|
411
411
|
timestamp: Number(e.timestamp || ((r = e.detail) == null ? void 0 : r.timestamp) || ((s = e.params) == null ? void 0 : s.timestamp) || Date.now())
|
|
412
412
|
};
|
|
413
|
-
},
|
|
414
|
-
const n =
|
|
415
|
-
n &&
|
|
413
|
+
}, H = (e, t) => {
|
|
414
|
+
const n = nt(e);
|
|
415
|
+
n && G(n.timeZone, {
|
|
416
416
|
source: n.source || t,
|
|
417
417
|
dispatchEvent: !1
|
|
418
418
|
});
|
|
419
|
-
},
|
|
420
|
-
|
|
421
|
-
},
|
|
422
|
-
e.key ===
|
|
423
|
-
},
|
|
419
|
+
}, ot = (e) => {
|
|
420
|
+
H(e.detail, "window-event");
|
|
421
|
+
}, rt = (e) => {
|
|
422
|
+
e.key === j && H({ timeZone: e.newValue || "", source: "storage" }, "storage");
|
|
423
|
+
}, st = (e) => {
|
|
424
424
|
const t = e.data;
|
|
425
|
-
!t || t.type !== xe ||
|
|
426
|
-
},
|
|
427
|
-
const e =
|
|
428
|
-
return !e ||
|
|
425
|
+
!t || t.type !== xe || H(t.detail || t, "message");
|
|
426
|
+
}, at = () => {
|
|
427
|
+
const e = w();
|
|
428
|
+
return !e || Q ? !1 : (Q = !0, e.addEventListener(ce, ot), e.addEventListener("storage", rt), e.addEventListener("message", st), !0);
|
|
429
429
|
};
|
|
430
|
-
|
|
431
|
-
const
|
|
432
|
-
const t = m(
|
|
433
|
-
return
|
|
430
|
+
at();
|
|
431
|
+
const it = () => {
|
|
432
|
+
const t = m(b.value) || V() || x() || Xe() || qe();
|
|
433
|
+
return E(t) ? m(t) : Y;
|
|
434
434
|
}, h = (e) => {
|
|
435
|
-
const t = m(e) ||
|
|
436
|
-
return
|
|
437
|
-
},
|
|
435
|
+
const t = m(e) || it();
|
|
436
|
+
return E(t) ? t : Y;
|
|
437
|
+
}, ct = () => {
|
|
438
438
|
var e;
|
|
439
|
-
return typeof window < "u" && ((e = window.navigator) != null && e.language) ? window.navigator.language :
|
|
440
|
-
},
|
|
441
|
-
const o = e ||
|
|
439
|
+
return typeof window < "u" && ((e = window.navigator) != null && e.language) ? window.navigator.language : I;
|
|
440
|
+
}, ue = (e, t = []) => {
|
|
441
|
+
const o = e || ct() || I, r = o.toLowerCase();
|
|
442
442
|
if (!t.length)
|
|
443
|
-
return r === "en" ? "en-US" : r === "zh" || r === "zh-cn" ?
|
|
443
|
+
return r === "en" ? "en-US" : r === "zh" || r === "zh-cn" ? I : o;
|
|
444
444
|
const s = t.find((a) => a.toLowerCase() === r);
|
|
445
445
|
if (s) return s;
|
|
446
446
|
const i = r.split("-")[0], c = t.find((a) => a.toLowerCase().split("-")[0] === i);
|
|
447
|
-
return c || (i === "en" ? t.find((a) => a.toLowerCase().startsWith("en-")) || o : i === "zh" ? t.find((a) => a.toLowerCase().startsWith("zh-")) ||
|
|
448
|
-
},
|
|
447
|
+
return c || (i === "en" ? t.find((a) => a.toLowerCase().startsWith("en-")) || o : i === "zh" ? t.find((a) => a.toLowerCase().startsWith("zh-")) || I : o);
|
|
448
|
+
}, z = (e) => {
|
|
449
449
|
if (f.isDayjs(e)) return e;
|
|
450
450
|
if (e == null || e === "") return f();
|
|
451
451
|
const t = f(e);
|
|
452
452
|
return t.isValid() ? t : f();
|
|
453
|
-
},
|
|
453
|
+
}, M = (e) => e == null || e === "", $ = (e) => f.isDayjs(e) ? e : M(e) ? f() : f(e), le = (e, t = !1) => {
|
|
454
454
|
const n = m(e);
|
|
455
455
|
return n ? h(n) : t ? h() : "";
|
|
456
|
-
},
|
|
457
|
-
const n = t.format ||
|
|
458
|
-
if (!o) return
|
|
456
|
+
}, Pt = () => He, ft = (e, t) => z(e).tz(h(t)).utcOffset(), ut = (e, t, n = ie) => z(e).tz(h(t)).format(n), lt = (e, t) => $(e).format(t.format), me = (e, t) => {
|
|
457
|
+
const n = t.format || A, o = le(t.timeZone, t.useClientTimeZone);
|
|
458
|
+
if (!o) return lt(e, { format: n });
|
|
459
459
|
if (t.inputMode === "local")
|
|
460
|
-
return
|
|
461
|
-
const r =
|
|
460
|
+
return M(e) ? f().tz(o).format(n) : f.tz(e, o).format(n);
|
|
461
|
+
const r = $(e);
|
|
462
462
|
return r.isValid() ? r.tz(o).format(n) : r.format(n);
|
|
463
|
-
},
|
|
463
|
+
}, mt = (e) => typeof e == "function" && typeof (e == null ? void 0 : e.tz) == "function", dt = (e, t) => {
|
|
464
464
|
var a, u;
|
|
465
|
-
const { moment: n } = t, o = t.format ||
|
|
466
|
-
if (!
|
|
467
|
-
const r =
|
|
465
|
+
const { moment: n } = t, o = t.format || A;
|
|
466
|
+
if (!mt(n)) return me(e, { ...t, dateLibrary: "dayjs" });
|
|
467
|
+
const r = M(e) ? void 0 : e, s = le(t.timeZone, t.useClientTimeZone);
|
|
468
468
|
if (!s || typeof n.tz != "function") return n(r).format(o);
|
|
469
469
|
if (t.inputMode === "local")
|
|
470
|
-
return
|
|
470
|
+
return M(e) ? ((u = (a = n()).tz) == null ? void 0 : u.call(a, s).format(o)) || n().format(o) : n.tz(r, s).format(o);
|
|
471
471
|
const i = n(r);
|
|
472
472
|
return (typeof i.tz == "function" ? i.tz(s) : n.tz(r, s)).format(o);
|
|
473
|
-
},
|
|
473
|
+
}, de = (e, t = {}) => {
|
|
474
474
|
const n = typeof t == "string" ? { format: t } : t || {}, o = {
|
|
475
475
|
...n,
|
|
476
|
-
format: n.format ||
|
|
476
|
+
format: n.format || A
|
|
477
477
|
};
|
|
478
|
-
return o.dateLibrary === "moment" ?
|
|
479
|
-
},
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
478
|
+
return o.dateLibrary === "moment" ? dt(e, o) : me(e, o);
|
|
479
|
+
}, ht = (e, t, n) => new Intl.DateTimeFormat(n, {
|
|
480
|
+
timeZone: t,
|
|
481
|
+
year: "numeric",
|
|
482
|
+
month: "2-digit",
|
|
483
|
+
day: "2-digit",
|
|
484
|
+
hour: "2-digit",
|
|
485
|
+
minute: "2-digit",
|
|
486
|
+
second: "2-digit",
|
|
487
|
+
hourCycle: "h23"
|
|
488
|
+
}).formatToParts(e).reduce((r, s) => (s.type !== "literal" && (r[s.type] = s.value), r), {}), Tt = (e, t, n) => {
|
|
489
|
+
const o = {
|
|
490
|
+
YYYY: t.year || "0000",
|
|
491
|
+
YY: (t.year || "0000").slice(-2),
|
|
492
|
+
MM: t.month || "01",
|
|
493
|
+
M: String(Number(t.month || "1")),
|
|
494
|
+
DD: t.day || "01",
|
|
495
|
+
D: String(Number(t.day || "1")),
|
|
496
|
+
HH: t.hour || "00",
|
|
497
|
+
H: String(Number(t.hour || "0")),
|
|
498
|
+
mm: t.minute || "00",
|
|
499
|
+
m: String(Number(t.minute || "0")),
|
|
500
|
+
ss: t.second || "00",
|
|
501
|
+
s: String(Number(t.second || "0")),
|
|
502
|
+
SSS: n
|
|
503
|
+
};
|
|
504
|
+
return e.replace(/YYYY|SSS|YY|MM|DD|HH|mm|ss|M|D|H|m|s/g, (r) => o[r] ?? r);
|
|
505
|
+
}, Ft = (e, t = {}) => {
|
|
506
|
+
const n = typeof t == "string" ? { format: t } : t || {}, o = n.format || A, r = ue(n.locale || I), s = h(n.timeZone), i = $(e);
|
|
507
|
+
if (!i.isValid()) return i.format(o);
|
|
508
|
+
try {
|
|
509
|
+
const c = i.toDate(), a = ht(c, s, r), u = String(c.getMilliseconds()).padStart(3, "0");
|
|
510
|
+
return Tt(o, a, u);
|
|
511
|
+
} catch {
|
|
512
|
+
return de(e, { format: o, timeZone: s });
|
|
513
|
+
}
|
|
514
|
+
}, Yt = (e, t = A, n = {}) => de(e, { ...n, format: t }), X = (e) => String(e).padStart(2, "0"), he = (e) => `UTC${e}`, Te = (e, t) => {
|
|
515
|
+
const n = ft(e, t), o = n >= 0 ? "+" : "-", r = Math.abs(n);
|
|
516
|
+
return `UTC${o}${X(Math.floor(r / 60))}:${X(r % 60)}`;
|
|
517
|
+
}, gt = (e, t = /* @__PURE__ */ new Date()) => {
|
|
483
518
|
const n = e.currentUtcOffsetText || e.baseUtcOffsetText;
|
|
484
|
-
return n ? `UTC${n}` :
|
|
485
|
-
},
|
|
519
|
+
return n ? `UTC${n}` : Te(t, e.timeZoneId);
|
|
520
|
+
}, yt = (e, t) => {
|
|
486
521
|
const n = e.match(/([+-]\d{1,2})(?::?(\d{2}))?/) || [];
|
|
487
522
|
if (!n[1]) return t;
|
|
488
523
|
const o = n[1].startsWith("-") ? "-" : "+", r = n[1].replace(/[+-]/, "").padStart(2, "0"), s = n[2] || "00";
|
|
489
524
|
return `UTC${o}${r}:${s}`;
|
|
490
|
-
},
|
|
525
|
+
}, Zt = (e, t, n) => {
|
|
491
526
|
var r, s;
|
|
492
|
-
const o =
|
|
527
|
+
const o = he(n.format("Z"));
|
|
493
528
|
try {
|
|
494
529
|
const i = Intl.DateTimeFormat.supportedLocalesOf([t])[0] || t, c = (s = (r = new Intl.DateTimeFormat(i, { timeZone: e, timeZoneName: "long" }).formatToParts(n.toDate()).find((a) => a.type === "timeZoneName")) == null ? void 0 : r.value) == null ? void 0 : s.trim();
|
|
495
|
-
return c ? /^(gmt|utc)/i.test(c) ?
|
|
530
|
+
return c ? /^(gmt|utc)/i.test(c) ? yt(c, o) : c : o;
|
|
496
531
|
} catch {
|
|
497
532
|
return o;
|
|
498
533
|
}
|
|
499
|
-
},
|
|
534
|
+
}, ge = (e, t) => {
|
|
500
535
|
const n = t.year();
|
|
501
536
|
return Array.from(
|
|
502
537
|
new Set(
|
|
@@ -506,38 +541,38 @@ const rt = () => {
|
|
|
506
541
|
})
|
|
507
542
|
)
|
|
508
543
|
);
|
|
509
|
-
},
|
|
544
|
+
}, ye = (e, t) => {
|
|
510
545
|
const n = h(e);
|
|
511
|
-
if (!
|
|
512
|
-
const o =
|
|
513
|
-
return
|
|
546
|
+
if (!E(n)) return !1;
|
|
547
|
+
const o = z(t).tz(n);
|
|
548
|
+
return ge(n, o).length > 1;
|
|
514
549
|
}, N = (e, t) => {
|
|
515
550
|
const n = h(e);
|
|
516
|
-
if (!
|
|
517
|
-
const o =
|
|
551
|
+
if (!E(n)) return !1;
|
|
552
|
+
const o = z(t).tz(n), r = ge(n, o);
|
|
518
553
|
return r.length <= 1 ? !1 : o.utcOffset() === Math.max(...r);
|
|
519
|
-
},
|
|
554
|
+
}, jt = (e, t) => N(e, t), Ze = (e) => {
|
|
520
555
|
if (e === 1 || e === "1") return !0;
|
|
521
556
|
if (e === 0 || e === "0") return !1;
|
|
522
|
-
},
|
|
523
|
-
const n =
|
|
524
|
-
return typeof n == "boolean" ? n :
|
|
525
|
-
},
|
|
526
|
-
const n =
|
|
557
|
+
}, It = (e, t) => {
|
|
558
|
+
const n = Ze(e.dynamicOffsetFlag);
|
|
559
|
+
return typeof n == "boolean" ? n : ye(e.timeZoneId, t);
|
|
560
|
+
}, Dt = (e, t) => {
|
|
561
|
+
const n = Ze(e.currentDstFlag);
|
|
527
562
|
return typeof n == "boolean" ? n : N(e.timeZoneId, t);
|
|
528
|
-
},
|
|
529
|
-
const o = n.tzShowName ||
|
|
563
|
+
}, Vt = (e, t = /* @__PURE__ */ new Date()) => e.map((n) => {
|
|
564
|
+
const o = n.tzShowName || gt(n, t), r = It(n, t);
|
|
530
565
|
return {
|
|
531
566
|
value: n.timeZoneId,
|
|
532
567
|
zoneName: o,
|
|
533
568
|
label: o,
|
|
534
569
|
hasDST: r,
|
|
535
|
-
isDST: r ?
|
|
570
|
+
isDST: r ? Dt(n, t) : !1
|
|
536
571
|
};
|
|
537
|
-
}),
|
|
572
|
+
}), wt = (e) => {
|
|
538
573
|
const t = e.toLowerCase().split("-")[0];
|
|
539
|
-
return
|
|
540
|
-
},
|
|
574
|
+
return q[t] || q.default;
|
|
575
|
+
}, pt = (e) => typeof e.showDaylightSavingLabel == "boolean" ? e.showDaylightSavingLabel : e.showDaylightSavingMarker ?? !0, xt = (e, t, n = {}) => {
|
|
541
576
|
const {
|
|
542
577
|
showZoneLabel: o = !0,
|
|
543
578
|
zoneLabel: r,
|
|
@@ -545,13 +580,13 @@ const rt = () => {
|
|
|
545
580
|
isDST: i,
|
|
546
581
|
standardTimeLabel: c,
|
|
547
582
|
daylightSavingLabel: a,
|
|
548
|
-
format: u =
|
|
549
|
-
} = n, l = h(t), T =
|
|
550
|
-
return o ? [T, r ||
|
|
551
|
-
},
|
|
552
|
-
const t =
|
|
583
|
+
format: u = ie
|
|
584
|
+
} = n, l = h(t), T = ut(e, l, u), y = typeof s == "boolean" ? s : ye(l, e), g = (typeof i == "boolean" ? i : N(l, e)) ? a : c, Z = y && g ? `[${g}]` : "";
|
|
585
|
+
return o ? [T, r || Te(e, l), Z].filter(Boolean).join(" ") : [T, Z].filter(Boolean).join(" ");
|
|
586
|
+
}, Rt = (e = {}) => {
|
|
587
|
+
const t = ue(e.locale, e.supportedLocales), n = h(e.timeZone), o = z(e.value).tz(n), r = Zt(n, t, o), s = he(o.format("Z")), i = N(n, o), c = i ? wt(t) : "", a = pt(e), u = i && a ? `${r} - ${c}` : r;
|
|
553
588
|
return {
|
|
554
|
-
formattedValue: o.format(e.format ||
|
|
589
|
+
formattedValue: o.format(e.format || Ve),
|
|
555
590
|
locale: t,
|
|
556
591
|
timeZone: n,
|
|
557
592
|
timeZoneName: r,
|
|
@@ -564,53 +599,57 @@ const rt = () => {
|
|
|
564
599
|
};
|
|
565
600
|
export {
|
|
566
601
|
Re as IANA_TIMEZONE_DATA_CHANGE_EVENT,
|
|
567
|
-
|
|
568
|
-
|
|
602
|
+
ce as TIMEZONE_CHANGE_EVENT,
|
|
603
|
+
ne as TIME_ZONE_PACKED_DATA_URL,
|
|
569
604
|
xe as UPF_TIMEZONE_MESSAGE_TYPE,
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
605
|
+
bt as applyDayjsIanaTimeZoneData,
|
|
606
|
+
vt as applyMomentIanaTimeZoneData,
|
|
607
|
+
re as assertPackedIanaData,
|
|
608
|
+
Ye as assertPackedIanaTzData,
|
|
609
|
+
oe as buildIanaFetchInit,
|
|
610
|
+
Vt as buildTimeZoneDisplayOptions,
|
|
611
|
+
Ce as clearDayjsIanaCache,
|
|
612
|
+
b as clientTimeZone,
|
|
613
|
+
Oe as createIanaDbFromPackedData,
|
|
579
614
|
d as dayjsTimezoneIanaPlugin,
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
615
|
+
xt as formatClientLocalDateTimeLine,
|
|
616
|
+
ut as formatInTimeZone,
|
|
617
|
+
de as formatLocalDateTime,
|
|
618
|
+
Ft as formatLocalDateTimeIntl,
|
|
619
|
+
Te as formatTimeZoneOffsetLabel,
|
|
584
620
|
pe as getAccessTokenFromLocalStorage,
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
621
|
+
Se as getCachedDayjsPackedIanaData,
|
|
622
|
+
it as getClientTimeZone,
|
|
623
|
+
Ae as getDefaultIanaAuthorization,
|
|
624
|
+
Lt as getKnownTimeZoneIds,
|
|
625
|
+
We as getRuntimeIanaTimeZoneDataSnapshot,
|
|
626
|
+
Ct as getRuntimeNameZoneDataSnapshot,
|
|
627
|
+
Pt as getTimeZoneDayjs,
|
|
628
|
+
Rt as getTimeZoneDisplayInfo,
|
|
629
|
+
ft as getZoneUtcOffset,
|
|
630
|
+
at as initClientTimeZoneSync,
|
|
631
|
+
jt as isDaylightSavingTime,
|
|
632
|
+
E as isKnownTimeZone,
|
|
633
|
+
mt as isMomentTimezoneFormatInstance,
|
|
634
|
+
Mt as loadDayjsIanaTimeZoneData,
|
|
635
|
+
ae as loadIanaData,
|
|
636
|
+
K as loadIanaFromApi,
|
|
637
|
+
ae as loadMomentIanaData,
|
|
638
|
+
K as loadMomentIanaFromApi,
|
|
639
|
+
kt as loadMomentIanaTimeZoneData,
|
|
640
|
+
ue as normalizeLocaleCode,
|
|
641
|
+
Ut as onClientTimeZoneChange,
|
|
642
|
+
_e as preloadDayjsIanaFromApi,
|
|
643
|
+
se as preloadDayjsIanaFromData,
|
|
644
|
+
k as rebuildKnownTimeZoneIds,
|
|
607
645
|
h as resolveTimeZone,
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
646
|
+
gt as resolveUtcOffsetFallback,
|
|
647
|
+
Nt as setClientTimeZone,
|
|
648
|
+
R as setDefaultTimeZone,
|
|
649
|
+
v as setRuntimeIanaTimeZoneDataSnapshot,
|
|
650
|
+
Ot as syncClientTimeZone,
|
|
651
|
+
He as timeZoneDayjs,
|
|
652
|
+
ye as timeZoneHasDST,
|
|
614
653
|
N as timeZoneIsDST,
|
|
615
|
-
|
|
654
|
+
Yt as toLocalDate
|
|
616
655
|
};
|