sky-ui-kit 0.1.3 → 0.1.4
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/components.json +45 -2
- package/dist/components/ProcessChart.vue.d.ts +3 -2
- package/dist/components/TemplateLayout.vue.d.ts +34 -0
- package/dist/components/index.d.ts +58 -3
- package/dist/components.js +985 -926
- package/dist/style.css +1 -1
- package/docs/AI-CHANGELOG.md +37 -12
- package/docs/AI-GUIDE.md +26 -38
- package/docs/COMPONENT-API.md +18 -1
- package/docs/CONSUMERS.md +86 -59
- package/docs/CSS-THEME.md +65 -49
- package/docs/ELEMENT-PLUS-COVERAGE.md +1 -1
- package/llms-full.txt +234 -161
- package/llms.txt +1 -1
- package/package.json +84 -84
package/dist/components.js
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { ElSelectV2 as
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
import { VideoPause as W3, VideoPlay as N3, ArrowLeft as j3, ArrowRight as Y3, RefreshRight as
|
|
5
|
-
import { motion as
|
|
6
|
-
function i(
|
|
7
|
-
return
|
|
8
|
-
name:
|
|
1
|
+
import * as n from "element-plus";
|
|
2
|
+
import { ElSelectV2 as S3, ElIcon as n1, ElDatePicker as A3, ElTree as I2, ElEmpty as b3, ElButton as Y1, ElSelect as F3, ElOption as Q1, ElCheckbox as F2, ElInput as U3, ElSlider as P3 } from "element-plus";
|
|
3
|
+
import { defineComponent as Q, ref as E, h as U2, isVNode as G3, computed as p, onMounted as A1, watch as N, openBlock as d, createElementBlock as f, normalizeStyle as Z1, createElementVNode as a, createBlock as q, unref as x, mergeProps as I3, useSlots as O2, nextTick as u1, onBeforeUnmount as K1, normalizeClass as A, createVNode as T, withCtx as O, toDisplayString as B, renderSlot as d1, withKeys as R1, withModifiers as o1, Fragment as K, renderList as r1, createCommentVNode as W, withDirectives as S1, vModelText as W2, Transition as O3, resolveDynamicComponent as J1, vShow as g2, createTextVNode as y1 } from "vue";
|
|
4
|
+
import { VideoPause as W3, VideoPlay as N3, ArrowLeft as j3, ArrowRight as Y3, RefreshRight as N2, ArrowDown as Q3, DataAnalysis as j2, Pouring as R3, List as v2, TrendCharts as P2, Sunny as K3, WindPower as J3, Search as q3, Monitor as _3, LocationFilled as X3, Grid as $3, Operation as C4, Aim as e4, Setting as t4, Mouse as l4, DArrowRight as o4, DArrowLeft as n4 } from "@element-plus/icons-vue";
|
|
5
|
+
import { motion as h2 } from "motion-v";
|
|
6
|
+
function i(o) {
|
|
7
|
+
return Q({
|
|
8
|
+
name: o == null ? void 0 : o.name,
|
|
9
9
|
inheritAttrs: !1,
|
|
10
|
-
setup(
|
|
11
|
-
const c =
|
|
12
|
-
return
|
|
13
|
-
var
|
|
14
|
-
return (
|
|
15
|
-
}, has: (Z,
|
|
10
|
+
setup(g, { attrs: t, slots: w, expose: v }) {
|
|
11
|
+
const c = E();
|
|
12
|
+
return v(new Proxy({}, { get: (Z, u) => {
|
|
13
|
+
var V;
|
|
14
|
+
return (V = c.value) == null ? void 0 : V[u];
|
|
15
|
+
}, has: (Z, u) => u in (c.value || {}) })), () => U2("div", { class: "userssite-theme", style: "display: contents" }, [U2(o, {
|
|
16
16
|
...t,
|
|
17
17
|
ref: c,
|
|
18
|
-
...i4(
|
|
18
|
+
...i4(o, t),
|
|
19
19
|
class: ["userssite-theme", t.class]
|
|
20
|
-
},
|
|
20
|
+
}, w)]);
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
-
const
|
|
25
|
-
...
|
|
26
|
-
mounted(
|
|
27
|
-
var
|
|
28
|
-
|
|
29
|
-
},
|
|
30
|
-
updated(
|
|
31
|
-
var
|
|
32
|
-
(c = (
|
|
24
|
+
const n5 = i(n.ElAffix), r5 = i(n.ElIcon), i5 = i(n.ElAlert), s5 = i(n.ElForm), a5 = i(n.ElFormItem), L5 = n.ElPopper, c5 = i(n.ElTooltip), d5 = i(n.ElInput), v5 = i(n.ElAutocomplete), h5 = i(n.ElAvatar), g5 = i(n.ElAvatarGroup), w5 = i(n.ElBacktop), p5 = i(n.ElBadge), u5 = i(n.ElBreadcrumb), M5 = i(n.ElBreadcrumbItem), V5 = n.ElConfigProvider, f5 = i(n.ElButton), Z5 = i(n.ElButtonGroup), m5 = i(n.ElTimePicker), H5 = i(n.ElTag), x5 = i(n.ElSelect), D5 = n.ElOption, y5 = n.ElOptionGroup, z5 = i(n.ElCalendar), k5 = i(n.ElCard), B5 = i(n.ElCarousel), T5 = n.ElCarouselItem, E5 = i(n.ElCheckbox), S5 = i(n.ElCheckboxButton), A5 = i(n.ElCheckboxGroup), b5 = i(n.ElRadio), F5 = i(n.ElRadioButton), U5 = i(n.ElRadioGroup), P5 = i(n.ElCascaderPanel), G5 = i(n.ElCascader), I5 = i(n.ElCheckTag), O5 = i(n.ElRow), W5 = i(n.ElCol), N5 = n.ElCollapseTransition, j5 = i(n.ElCollapse), Y5 = i(n.ElCollapseItem), Q5 = i(n.ElColorPickerPanel), R5 = i(n.ElColorPicker), K5 = i(n.ElContainer), J5 = i(n.ElAside), q5 = i(n.ElFooter), _5 = i(n.ElHeader), X5 = i(n.ElMain), $5 = i(n.ElStatistic), C8 = i(n.ElCountdown), e8 = i(n.ElDatePickerPanel), t8 = i(n.ElDatePicker), l8 = i(n.ElDescriptions), o8 = i(n.ElDescriptionsItem), n8 = i(n.ElDialog), r8 = i(n.ElDivider), i8 = i(n.ElDrawer), s8 = i(n.ElDropdown), a8 = i(n.ElDropdownItem), L8 = i(n.ElDropdownMenu), c8 = i(n.ElEmpty), d8 = i(n.ElImageViewer), v8 = i(n.ElImage), h8 = i(n.ElInputNumber), g8 = i(n.ElInputTag), w8 = i(n.ElInputOtp), p8 = i(n.ElLink), u8 = i(n.ElMenu), M8 = n.ElMenuItem, V8 = n.ElMenuItemGroup, f8 = n.ElSubMenu, Z8 = i(n.ElPageHeader), m8 = i(n.ElPagination), H8 = i(n.ElPopconfirm), x8 = i(n.ElProgress), D8 = i(n.ElRate), y8 = i(n.ElResult), z8 = i(n.ElSelectV2), k8 = i(n.ElSkeleton), B8 = n.ElSkeletonItem, T8 = i(n.ElSlider), E8 = i(n.ElSpace), S8 = i(n.ElSteps), A8 = n.ElStep, b8 = i(n.ElSwitch), F8 = i(n.ElTable), U8 = n.ElTableColumn, P8 = i(n.ElTableV2), G8 = n.ElAutoResizer, I8 = i(n.ElTabs), O8 = n.ElTabPane, W8 = i(n.ElText), N8 = i(n.ElTimeSelect), j8 = i(n.ElTimeline), Y8 = n.ElTimelineItem, Q8 = i(n.ElTransfer), R8 = i(n.ElTree), K8 = i(n.ElTreeSelect), J8 = i(n.ElTreeV2), q8 = i(n.ElUpload), _8 = i(n.ElWatermark), X8 = i(n.ElTour), $8 = n.ElTourStep, C9 = i(n.ElAnchor), e9 = n.ElAnchorLink, t9 = i(n.ElSegmented), l9 = i(n.ElMention), o9 = i(n.ElSplitter), n9 = n.ElSplitterPanel, r9 = i(n.ElPopover), i9 = q1(n.ElMessage), s9 = q1(n.ElMessageBox), a9 = q1(n.ElNotification), r4 = {
|
|
25
|
+
...n.ElLoadingDirective,
|
|
26
|
+
mounted(o, g, t, w) {
|
|
27
|
+
var v, c;
|
|
28
|
+
o.classList.add("userssite-theme"), (c = (v = n.ElLoadingDirective).mounted) == null || c.call(v, o, G2(o, g), t, w);
|
|
29
|
+
},
|
|
30
|
+
updated(o, g, t, w) {
|
|
31
|
+
var v, c;
|
|
32
|
+
(c = (v = n.ElLoadingDirective).updated) == null || c.call(v, o, G2(o, g), t, w);
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
|
-
function
|
|
36
|
-
if (!
|
|
37
|
-
return
|
|
38
|
-
const t = typeof
|
|
39
|
-
return { ...
|
|
35
|
+
function G2(o, g) {
|
|
36
|
+
if (!g.value)
|
|
37
|
+
return g;
|
|
38
|
+
const t = typeof g.value == "object" ? g.value : Object.fromEntries(["text", "svg", "svgViewBox", "spinner", "background"].map((w) => [w, o.getAttribute("element-loading-" + w.replace(/[A-Z]/g, (v) => "-" + v.toLowerCase()))]));
|
|
39
|
+
return { ...g, value: { ...t, customClass: ["userssite-theme", t.customClass || o.getAttribute("element-loading-custom-class") || ""].join(" ") } };
|
|
40
40
|
}
|
|
41
|
-
const
|
|
42
|
-
service:
|
|
41
|
+
const L9 = n.ElInfiniteScroll, c9 = n.ElPopoverDirective, d9 = {
|
|
42
|
+
service: q1(n.ElLoading.service),
|
|
43
43
|
directive: r4
|
|
44
44
|
};
|
|
45
|
-
function i4(
|
|
46
|
-
const t =
|
|
47
|
-
|
|
45
|
+
function i4(o, g) {
|
|
46
|
+
const t = o.props || {}, w = {}, v = (c) => Array.isArray(t) ? t.includes(c) : c in t;
|
|
47
|
+
v("teleported") && (w.teleported = g.teleported ?? !1);
|
|
48
48
|
for (const c of ["popperClass", "modalClass"])
|
|
49
|
-
|
|
50
|
-
return
|
|
49
|
+
v(c) && (w[c] = ["userssite-theme", g[c] || g[c.replace(/[A-Z]/g, (Z) => "-" + Z.toLowerCase())] || ""].join(" "));
|
|
50
|
+
return w;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
const
|
|
54
|
-
return new Proxy(
|
|
55
|
-
apply(t,
|
|
56
|
-
return Reflect.apply(t,
|
|
52
|
+
function q1(o) {
|
|
53
|
+
const g = (t) => ({ ...typeof t == "object" && t !== null && !G3(t) ? t : { message: t }, customClass: ["userssite-theme", (t == null ? void 0 : t.customClass) || ""].join(" ") });
|
|
54
|
+
return new Proxy(o, {
|
|
55
|
+
apply(t, w, v) {
|
|
56
|
+
return Reflect.apply(t, w, [g(v[0]), ...v.slice(1)]);
|
|
57
57
|
},
|
|
58
|
-
get(t,
|
|
59
|
-
const
|
|
60
|
-
return ["success", "warning", "info", "error"].includes(String(
|
|
58
|
+
get(t, w) {
|
|
59
|
+
const v = t[w];
|
|
60
|
+
return ["success", "warning", "info", "error"].includes(String(w)) ? (c) => v(g(c)) : ["alert", "confirm", "prompt"].includes(String(w)) ? (c, Z, u) => typeof Z == "string" ? v(c, Z, g(u || {})) : v(c, g(Z || {})) : v;
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
63
|
}
|
|
@@ -3259,51 +3259,51 @@ const s4 = [
|
|
|
3259
3259
|
`
|
|
3260
3260
|
}
|
|
3261
3261
|
];
|
|
3262
|
-
function a4(
|
|
3262
|
+
function a4(o, g) {
|
|
3263
3263
|
var c;
|
|
3264
|
-
const t =
|
|
3264
|
+
const t = g ?? (typeof document > "u" ? void 0 : document);
|
|
3265
3265
|
if (!t)
|
|
3266
3266
|
return;
|
|
3267
|
-
const
|
|
3268
|
-
let
|
|
3269
|
-
|
|
3267
|
+
const w = "http://www.w3.org/2000/svg";
|
|
3268
|
+
let v = t.getElementById("sky-ui-kit-icon-sprite");
|
|
3269
|
+
v || (v = t.createElementNS(w, "svg"), v.id = "sky-ui-kit-icon-sprite", v.setAttribute("aria-hidden", "true"), v.setAttribute("style", "position:absolute;width:0;height:0;overflow:hidden;pointer-events:none"), (t.body || t.documentElement).appendChild(v));
|
|
3270
3270
|
for (const Z of s4) {
|
|
3271
|
-
if (
|
|
3271
|
+
if (o && !o.includes(Z.name))
|
|
3272
3272
|
continue;
|
|
3273
|
-
const
|
|
3274
|
-
if (t.getElementById(
|
|
3273
|
+
const u = `sky-icon-${Z.name}`;
|
|
3274
|
+
if (t.getElementById(u))
|
|
3275
3275
|
continue;
|
|
3276
|
-
const
|
|
3277
|
-
if (s.localName !== "svg" ||
|
|
3276
|
+
const V = new (((c = t.defaultView) == null ? void 0 : c.DOMParser) ?? DOMParser)().parseFromString(Z.svg, "image/svg+xml"), s = V.documentElement;
|
|
3277
|
+
if (s.localName !== "svg" || V.querySelector("parsererror"))
|
|
3278
3278
|
continue;
|
|
3279
|
-
const
|
|
3280
|
-
|
|
3279
|
+
const L = t.createElementNS(w, "symbol");
|
|
3280
|
+
L.id = u, L.setAttribute("viewBox", s.getAttribute("viewBox") || `0 0 ${s.getAttribute("width") || 24} ${s.getAttribute("height") || 24}`);
|
|
3281
3281
|
for (const y of ["fill", "stroke", "stroke-width", "fill-rule"])
|
|
3282
|
-
s.hasAttribute(y) &&
|
|
3282
|
+
s.hasAttribute(y) && L.setAttribute(y, s.getAttribute(y));
|
|
3283
3283
|
const m = /* @__PURE__ */ new Map();
|
|
3284
|
-
s.querySelectorAll("[id]").forEach((y) => m.set(y.id, `${
|
|
3284
|
+
s.querySelectorAll("[id]").forEach((y) => m.set(y.id, `${u}-${y.id}`)), s.querySelectorAll("*").forEach((y) => {
|
|
3285
3285
|
if (["script", "foreignObject", "style", "image", "animate", "set"].includes(y.localName)) {
|
|
3286
3286
|
y.remove();
|
|
3287
3287
|
return;
|
|
3288
3288
|
}
|
|
3289
|
-
for (const
|
|
3290
|
-
if (/^on/i.test(
|
|
3291
|
-
y.removeAttributeNode(
|
|
3289
|
+
for (const R of Array.from(y.attributes)) {
|
|
3290
|
+
if (/^on/i.test(R.name) || R.localName === "href" && !R.value.startsWith("#")) {
|
|
3291
|
+
y.removeAttributeNode(R);
|
|
3292
3292
|
continue;
|
|
3293
3293
|
}
|
|
3294
|
-
let z =
|
|
3295
|
-
|
|
3294
|
+
let z = R.value;
|
|
3295
|
+
R.name === "id" && (z = m.get(z) || z);
|
|
3296
3296
|
for (const [G, P] of m)
|
|
3297
3297
|
z = z.split(`url(#${G})`).join(`url(#${P})`), z === `#${G}` && (z = `#${P}`);
|
|
3298
|
-
|
|
3298
|
+
R.value = z;
|
|
3299
3299
|
}
|
|
3300
3300
|
});
|
|
3301
3301
|
for (const y of Array.from(s.childNodes))
|
|
3302
|
-
|
|
3303
|
-
|
|
3302
|
+
L.appendChild(t.importNode(y, !0));
|
|
3303
|
+
v.appendChild(L);
|
|
3304
3304
|
}
|
|
3305
3305
|
}
|
|
3306
|
-
const L4 = ["role", "aria-label", "aria-hidden"], c4 = ["href"], d4 = /* @__PURE__ */
|
|
3306
|
+
const L4 = ["role", "aria-label", "aria-hidden"], c4 = ["href"], d4 = /* @__PURE__ */ Q({
|
|
3307
3307
|
__name: "SvgIcon",
|
|
3308
3308
|
props: {
|
|
3309
3309
|
name: {},
|
|
@@ -3313,32 +3313,32 @@ const L4 = ["role", "aria-label", "aria-hidden"], c4 = ["href"], d4 = /* @__PURE
|
|
|
3313
3313
|
color: {},
|
|
3314
3314
|
prefix: { default: "sky-icon-" }
|
|
3315
3315
|
},
|
|
3316
|
-
setup(
|
|
3317
|
-
const
|
|
3318
|
-
function
|
|
3319
|
-
|
|
3316
|
+
setup(o) {
|
|
3317
|
+
const g = o, t = E(), w = p(() => ({ width: typeof g.size == "number" ? `calc(var(--cp-font-1, 1px) * ${g.size})` : g.size, height: typeof g.size == "number" ? `calc(var(--cp-font-1, 1px) * ${g.size})` : g.size, color: g.color }));
|
|
3318
|
+
function v() {
|
|
3319
|
+
g.prefix === "sky-icon-" && t.value && a4([g.name], t.value.ownerDocument);
|
|
3320
3320
|
}
|
|
3321
|
-
return
|
|
3321
|
+
return A1(v), N(() => [g.name, g.prefix], v, { flush: "post" }), (c, Z) => (d(), f("svg", {
|
|
3322
3322
|
ref_key: "element",
|
|
3323
3323
|
ref: t,
|
|
3324
3324
|
class: "sky-svg-icon",
|
|
3325
|
-
style:
|
|
3326
|
-
role:
|
|
3327
|
-
"aria-label":
|
|
3328
|
-
"aria-hidden":
|
|
3325
|
+
style: Z1(w.value),
|
|
3326
|
+
role: o.decorative ? void 0 : "img",
|
|
3327
|
+
"aria-label": o.decorative ? void 0 : o.title || o.name,
|
|
3328
|
+
"aria-hidden": o.decorative ? "true" : void 0
|
|
3329
3329
|
}, [
|
|
3330
|
-
|
|
3331
|
-
href: `#${
|
|
3330
|
+
a("use", {
|
|
3331
|
+
href: `#${o.prefix}${o.name}`
|
|
3332
3332
|
}, null, 8, c4)
|
|
3333
3333
|
], 12, L4));
|
|
3334
3334
|
}
|
|
3335
3335
|
});
|
|
3336
|
-
const
|
|
3337
|
-
const t =
|
|
3338
|
-
for (const [
|
|
3339
|
-
t[
|
|
3336
|
+
const i1 = (o, g) => {
|
|
3337
|
+
const t = o.__vccOpts || o;
|
|
3338
|
+
for (const [w, v] of g)
|
|
3339
|
+
t[w] = v;
|
|
3340
3340
|
return t;
|
|
3341
|
-
}, v4 = /* @__PURE__ */
|
|
3341
|
+
}, v4 = /* @__PURE__ */ i1(d4, [["__scopeId", "data-v-4a568193"]]), h4 = /* @__PURE__ */ Q({
|
|
3342
3342
|
__name: "AppSelect",
|
|
3343
3343
|
props: {
|
|
3344
3344
|
modelValue: { type: [String, Number, Boolean, Object, Array, null], default: void 0 },
|
|
@@ -3348,29 +3348,29 @@ const c1 = (n, v) => {
|
|
|
3348
3348
|
teleported: { type: Boolean, default: !1 }
|
|
3349
3349
|
},
|
|
3350
3350
|
emits: ["update:modelValue", "change"],
|
|
3351
|
-
setup(
|
|
3352
|
-
const t =
|
|
3353
|
-
label:
|
|
3354
|
-
value:
|
|
3355
|
-
disabled:
|
|
3351
|
+
setup(o, { emit: g }) {
|
|
3352
|
+
const t = o, w = g, v = p(() => t.options.map((V) => typeof V == "object" && V !== null ? {
|
|
3353
|
+
label: V.label,
|
|
3354
|
+
value: V.value,
|
|
3355
|
+
disabled: V.disabled
|
|
3356
3356
|
} : {
|
|
3357
|
-
label: String(
|
|
3358
|
-
value:
|
|
3359
|
-
})), c = p(() => ["userssite-app-select-popper", t.popperClass].filter(Boolean).join(" ")), Z = (
|
|
3360
|
-
|
|
3361
|
-
},
|
|
3362
|
-
|
|
3357
|
+
label: String(V),
|
|
3358
|
+
value: V
|
|
3359
|
+
})), c = p(() => ["userssite-app-select-popper", t.popperClass].filter(Boolean).join(" ")), Z = (V) => {
|
|
3360
|
+
w("update:modelValue", V);
|
|
3361
|
+
}, u = (V) => {
|
|
3362
|
+
w("change", V);
|
|
3363
3363
|
};
|
|
3364
|
-
return (
|
|
3364
|
+
return (V, s) => (d(), q(x(S3), I3(V.$attrs, {
|
|
3365
3365
|
class: "userssite-app-select",
|
|
3366
|
-
"model-value":
|
|
3367
|
-
options:
|
|
3368
|
-
"no-data-text":
|
|
3369
|
-
"no-match-text":
|
|
3366
|
+
"model-value": o.modelValue,
|
|
3367
|
+
options: v.value,
|
|
3368
|
+
"no-data-text": o.emptyLabel,
|
|
3369
|
+
"no-match-text": o.emptyLabel,
|
|
3370
3370
|
"popper-class": c.value,
|
|
3371
|
-
teleported:
|
|
3371
|
+
teleported: o.teleported,
|
|
3372
3372
|
"onUpdate:modelValue": Z,
|
|
3373
|
-
onChange:
|
|
3373
|
+
onChange: u
|
|
3374
3374
|
}), null, 16, ["model-value", "options", "no-data-text", "no-match-text", "popper-class", "teleported"]));
|
|
3375
3375
|
}
|
|
3376
3376
|
});
|
|
@@ -3378,10 +3378,10 @@ const g4 = { class: "timeline-controls" }, w4 = ["aria-label"], p4 = {
|
|
|
3378
3378
|
class: "timeline-button-group",
|
|
3379
3379
|
role: "group",
|
|
3380
3380
|
"aria-label": "时间步进"
|
|
3381
|
-
},
|
|
3381
|
+
}, u4 = {
|
|
3382
3382
|
key: 0,
|
|
3383
3383
|
class: "timeline-date-slot"
|
|
3384
|
-
},
|
|
3384
|
+
}, M4 = { class: "timeline-body" }, V4 = ["aria-valuemax", "aria-valuenow", "aria-valuetext"], f4 = ["title", "disabled", "onClick"], Z4 = { class: "timeline-segment-label" }, m4 = {
|
|
3385
3385
|
key: 1,
|
|
3386
3386
|
class: "timeline-scale"
|
|
3387
3387
|
}, H4 = { class: "timeline-scale-item timeline-scale-window-start is-forecast" }, x4 = { class: "timeline-scale-item timeline-scale-window-end is-forecast" }, D4 = {
|
|
@@ -3390,7 +3390,7 @@ const g4 = { class: "timeline-controls" }, w4 = ["aria-label"], p4 = {
|
|
|
3390
3390
|
}, y4 = {
|
|
3391
3391
|
key: 2,
|
|
3392
3392
|
class: "timeline-scale-item timeline-scale-forecast"
|
|
3393
|
-
}, z4 = /* @__PURE__ */
|
|
3393
|
+
}, z4 = /* @__PURE__ */ Q({
|
|
3394
3394
|
__name: "MapTimeline",
|
|
3395
3395
|
props: {
|
|
3396
3396
|
modelValue: { default: 0 },
|
|
@@ -3415,298 +3415,298 @@ const g4 = { class: "timeline-controls" }, w4 = ["aria-label"], p4 = {
|
|
|
3415
3415
|
timeZone: {}
|
|
3416
3416
|
},
|
|
3417
3417
|
emits: ["update:modelValue", "update:startTime", "update:playing", "update:speed", "change", "play", "pause"],
|
|
3418
|
-
setup(
|
|
3419
|
-
const t =
|
|
3418
|
+
setup(o, { emit: g }) {
|
|
3419
|
+
const t = o, w = g, v = O2(), c = E(null), Z = /* @__PURE__ */ new Map(), u = E(t.playing), V = E(t.speed), s = E(0), L = E(null), m = E(t.startTime), y = E(""), R = E("");
|
|
3420
3420
|
let z = null, G = null, P = 0, C1 = !1;
|
|
3421
|
-
const M1 = p(() => !!
|
|
3422
|
-
const l =
|
|
3421
|
+
const M1 = p(() => !!v["date-select"]), b = p(() => t2(m.value)), X = p(() => Math.max(1, t.interval)), z1 = p(() => O1(t.minTime)), k1 = p(() => O1(t.maxTime)), e1 = p(() => Math.max(1, Math.floor(Number(t.pageSize) || 24))), s1 = p(() => !Array.isArray(t.points) || !t.points.length ? [] : t.points.map((C, e) => {
|
|
3422
|
+
const l = t2(C.time || C.value || t.startTime);
|
|
3423
3423
|
return {
|
|
3424
3424
|
index: typeof C.index == "number" ? C.index : e,
|
|
3425
3425
|
offset: typeof C.offset == "number" ? C.offset : e,
|
|
3426
3426
|
time: l,
|
|
3427
3427
|
value: C.value || l.toISOString(),
|
|
3428
|
-
label: C.label ||
|
|
3428
|
+
label: C.label || T1(l, t.unit),
|
|
3429
3429
|
kind: C.kind || "forecast",
|
|
3430
|
-
disabled: !!C.disabled ||
|
|
3430
|
+
disabled: !!C.disabled || l2(l)
|
|
3431
3431
|
};
|
|
3432
|
-
})), F = p(() =>
|
|
3433
|
-
if (!
|
|
3432
|
+
})), F = p(() => s1.value.length > 0), b1 = p(() => {
|
|
3433
|
+
if (!s1.value.length)
|
|
3434
3434
|
return;
|
|
3435
|
-
const C =
|
|
3435
|
+
const C = s1.value.map((e) => e.time.getTime());
|
|
3436
3436
|
return {
|
|
3437
3437
|
min: new Date(Math.min(...C)),
|
|
3438
3438
|
max: new Date(Math.max(...C))
|
|
3439
3439
|
};
|
|
3440
|
-
}),
|
|
3440
|
+
}), a1 = p(() => {
|
|
3441
3441
|
var C;
|
|
3442
|
-
return
|
|
3443
|
-
}),
|
|
3442
|
+
return O1(t.minTime) || ((C = b1.value) == null ? void 0 : C.min);
|
|
3443
|
+
}), w1 = p(() => {
|
|
3444
3444
|
var C;
|
|
3445
|
-
return
|
|
3446
|
-
}),
|
|
3445
|
+
return O1(t.maxTime) || ((C = b1.value) == null ? void 0 : C.max) || b.value;
|
|
3446
|
+
}), v1 = p(() => !F.value && (t.unit === "minute" && X.value === 60 || t.unit === "hour" && X.value === 1)), L1 = p(() => !F.value && t.unit === "day" && X.value >= 10 && X.value <= 11), t1 = p(() => !F.value && t.unit === "day" && !L1.value), p1 = p(() => !F.value && t.unit === "month"), $ = p(() => v1.value || t1.value || p1.value || L1.value), F1 = p(() => Math.min(Math.max(b.value.getHours(), 0), 23)), _1 = p(() => Math.min(Math.max(b.value.getDate() - 1, 0), n2(b.value) - 1)), U1 = p(() => Math.min(Math.max(b.value.getMonth(), 0), 11)), H = p(() => y2(b.value)), D = p(() => v1.value ? F1.value : t1.value ? _1.value : p1.value ? U1.value : L1.value ? H.value : 0), I = p(() => v1.value ? 24 : t1.value ? n2(b.value) : p1.value ? 12 : L1.value ? 3 : 0), J = p(() => Math.max(0, s.value) * e1.value), w2 = p(() => Math.max(1, Math.ceil(s1.value.length / e1.value))), U = p(() => F.value ? 0 : $.value ? D.value : typeof t.pastSteps == "number" ? Math.max(0, t.pastSteps) : Math.floor((Math.max(1, t.steps) - 1) / 2)), h1 = p(() => F.value ? Math.min(e1.value, s1.value.length) : $.value ? Math.max(0, I.value - D.value - 1) : typeof t.futureSteps == "number" ? Math.max(0, t.futureSteps) : Math.max(0, Math.max(1, t.steps) - U.value - 1)), m1 = p(() => !F.value && U.value > 0 && h1.value > 0), X1 = p(() => $.value ? I.value : Math.max(1, U.value + h1.value + (m1.value ? 1 : 0))), P1 = p(() => !F.value), k = p(() => {
|
|
3447
3447
|
if (F.value)
|
|
3448
|
-
return
|
|
3448
|
+
return s1.value.slice(J.value, J.value + e1.value);
|
|
3449
3449
|
if ($.value)
|
|
3450
3450
|
return Array.from({ length: I.value }, (e, l) => {
|
|
3451
|
-
const r =
|
|
3451
|
+
const r = h3(l), h = l <= D.value ? "observed" : "forecast";
|
|
3452
3452
|
return {
|
|
3453
3453
|
index: l,
|
|
3454
3454
|
offset: l - D.value,
|
|
3455
3455
|
time: r,
|
|
3456
3456
|
value: r.toISOString(),
|
|
3457
|
-
label:
|
|
3458
|
-
kind:
|
|
3459
|
-
disabled:
|
|
3457
|
+
label: T1(r, t.unit),
|
|
3458
|
+
kind: h,
|
|
3459
|
+
disabled: l2(r)
|
|
3460
3460
|
};
|
|
3461
3461
|
});
|
|
3462
3462
|
const C = X1.value;
|
|
3463
3463
|
return Array.from({ length: C }, (e, l) => {
|
|
3464
|
-
const r =
|
|
3464
|
+
const r = i3(l), h = g1(b.value, X.value * r, t.unit), M = s3(l);
|
|
3465
3465
|
return {
|
|
3466
3466
|
index: l,
|
|
3467
3467
|
offset: r,
|
|
3468
|
-
time:
|
|
3469
|
-
value:
|
|
3470
|
-
label:
|
|
3468
|
+
time: h,
|
|
3469
|
+
value: h.toISOString(),
|
|
3470
|
+
label: T1(h, t.unit),
|
|
3471
3471
|
kind: M,
|
|
3472
|
-
disabled:
|
|
3472
|
+
disabled: l2(h)
|
|
3473
3473
|
};
|
|
3474
3474
|
});
|
|
3475
|
-
}),
|
|
3475
|
+
}), V1 = p(() => {
|
|
3476
3476
|
var e, l, r;
|
|
3477
3477
|
if (F.value) {
|
|
3478
|
-
const
|
|
3478
|
+
const h = k.value.findIndex((S) => S.index === t.modelValue), M = h >= 0 ? h : Math.min(Math.max(Number(t.modelValue) - J.value, 0), k.value.length - 1);
|
|
3479
3479
|
return (e = k.value[M]) != null && e.disabled ? l1(M) : M;
|
|
3480
3480
|
}
|
|
3481
3481
|
if ($.value) {
|
|
3482
|
-
const
|
|
3482
|
+
const h = Number(t.modelValue), M = Math.min(Math.max(Number.isFinite(h) ? h : D.value, 0), I.value - 1);
|
|
3483
3483
|
return (l = k.value[M]) != null && l.disabled ? l1(M) : M;
|
|
3484
3484
|
}
|
|
3485
3485
|
const C = Math.min(Math.max(t.modelValue, 0), k.value.length - 1);
|
|
3486
3486
|
return (r = k.value[C]) != null && r.disabled ? l1(C) : C;
|
|
3487
|
-
}),
|
|
3487
|
+
}), p2 = p(() => Math.max(k.value.length - 1, 0)), f1 = p(() => Math.min(Math.max(Math.floor(V1.value), 0), p2.value)), G1 = p(() => Math.min(Math.max(V1.value, 0), p2.value)), H1 = p(() => k.value[f1.value]), u2 = p(() => {
|
|
3488
3488
|
var C;
|
|
3489
|
-
return ((C =
|
|
3489
|
+
return ((C = H1.value) == null ? void 0 : C.label) || "";
|
|
3490
3490
|
}), M2 = p(() => {
|
|
3491
3491
|
var C;
|
|
3492
|
-
return ((C =
|
|
3493
|
-
}),
|
|
3492
|
+
return ((C = H1.value) == null ? void 0 : C.kind) || "forecast";
|
|
3493
|
+
}), Y2 = p(() => t.unit === "year" ? "year" : t.unit === "month" ? "month" : t.unit === "day" ? "date" : "datetime"), Q2 = p(() => t.unit === "year" ? "YYYY" : t.unit === "month" ? "YYYY-MM" : t.unit === "day" ? "MM-DD" : "YYYY-MM-DD HH:mm"), V2 = p(() => s.value === 0), f2 = p(() => t.showScale), R2 = p(() => !!((z1.value || k1.value) && (typeof t.forecastCount == "number" && Number.isFinite(t.forecastCount) && t.forecastCount > 0 || F.value))), K2 = p(() => B2(z1.value)), J2 = p(() => B2(k1.value)), q2 = p(() => k.value.some((C) => C.kind === "observed")), _2 = p(() => k.value.some((C) => C.kind === "forecast")), $1 = p(() => t.showCurrentMarker && V2.value && U.value > 0 && h1.value > 0), X2 = p(() => {
|
|
3494
3494
|
var C;
|
|
3495
3495
|
return ((C = k.value.find((e) => e.kind === "observed")) == null ? void 0 : C.label) || "";
|
|
3496
|
-
}),
|
|
3496
|
+
}), $2 = p(() => T1(b.value, t.unit)), C3 = p(() => {
|
|
3497
3497
|
var C;
|
|
3498
3498
|
return ((C = [...k.value].reverse().find((e) => e.kind === "forecast")) == null ? void 0 : C.label) || "";
|
|
3499
|
-
}),
|
|
3499
|
+
}), e3 = p(() => {
|
|
3500
3500
|
var C;
|
|
3501
3501
|
return ((C = k.value[0]) == null ? void 0 : C.label) || "";
|
|
3502
|
-
}),
|
|
3502
|
+
}), t3 = p(() => {
|
|
3503
3503
|
var C;
|
|
3504
3504
|
return ((C = k.value[k.value.length - 1]) == null ? void 0 : C.label) || "";
|
|
3505
|
-
}),
|
|
3506
|
-
"is-start": !
|
|
3507
|
-
"is-end":
|
|
3505
|
+
}), l3 = p(() => s.value < 0 ? "历史" : "预报"), C2 = p(() => s.value < 0 ? "is-observed" : "is-forecast"), B1 = p(() => Math.max(k.value.length, 1)), Z2 = p(() => R.value ? R.value : $.value ? I1(D.value + 1) : U.value <= 0 ? "0%" : U.value >= B1.value ? "100%" : m1.value ? I1(U.value + 1) : I1(U.value)), o3 = p(() => y.value ? y.value : P1.value ? I1(G1.value + 1) : G1.value === 0 ? "0%" : G1.value >= B1.value - 1 ? "100%" : L3(G1.value)), n3 = p(() => ({
|
|
3506
|
+
"is-start": !P1.value && f1.value === 0,
|
|
3507
|
+
"is-end": f1.value >= B1.value - 1,
|
|
3508
3508
|
"is-observed": M2.value === "observed",
|
|
3509
3509
|
"is-forecast": M2.value === "forecast"
|
|
3510
|
-
})),
|
|
3510
|
+
})), e2 = p(() => k.value.map((C, e) => ({
|
|
3511
3511
|
key: `${C.index}-${C.value}`,
|
|
3512
3512
|
startIndex: e,
|
|
3513
3513
|
kind: C.kind,
|
|
3514
|
-
title:
|
|
3515
|
-
label:
|
|
3514
|
+
title: T1(C.time, t.unit),
|
|
3515
|
+
label: u3(C),
|
|
3516
3516
|
disabled: !!C.disabled
|
|
3517
|
-
}))),
|
|
3518
|
-
function r3(C) {
|
|
3519
|
-
const e = X1.value;
|
|
3520
|
-
return U.value <= 0 ? s.value * e + C : s.value > 0 ? v1.value + (s.value - 1) * e + C + 1 : s.value < 0 ? -U.value + s.value * e + C : C < U.value ? C - U.value : f1.value && C === U.value ? 0 : C - U.value + (f1.value ? 0 : 1);
|
|
3521
|
-
}
|
|
3517
|
+
}))), r3 = p(() => `repeat(${Math.max(e2.value.length, 1)}, minmax(0, 1fr))`);
|
|
3522
3518
|
function i3(C) {
|
|
3523
|
-
|
|
3519
|
+
const e = X1.value;
|
|
3520
|
+
return U.value <= 0 ? s.value * e + C : s.value > 0 ? h1.value + (s.value - 1) * e + C + 1 : s.value < 0 ? -U.value + s.value * e + C : C < U.value ? C - U.value : m1.value && C === U.value ? 0 : C - U.value + (m1.value ? 0 : 1);
|
|
3524
3521
|
}
|
|
3525
3522
|
function s3(C) {
|
|
3523
|
+
return s.value > 0 ? "forecast" : s.value < 0 ? "observed" : m1.value ? C <= U.value ? "observed" : "forecast" : C < U.value ? "observed" : "forecast";
|
|
3524
|
+
}
|
|
3525
|
+
function a3(C) {
|
|
3526
3526
|
return `${Number(C.toFixed(6))}%`;
|
|
3527
3527
|
}
|
|
3528
|
-
function
|
|
3529
|
-
const l =
|
|
3528
|
+
function m2(C, e) {
|
|
3529
|
+
const l = a3(C), r = Number(e.toFixed(6));
|
|
3530
3530
|
return Math.abs(r) < 1e-6 ? l : r > 0 ? `calc(${l} + var(--timeline-segment-gap) * ${r})` : `calc(${l} - var(--timeline-segment-gap) * ${Math.abs(r)})`;
|
|
3531
3531
|
}
|
|
3532
|
-
function
|
|
3533
|
-
const e =
|
|
3534
|
-
return
|
|
3532
|
+
function L3(C) {
|
|
3533
|
+
const e = B1.value, l = (C + 0.5) / e * 100, r = C - (C + 0.5) * (e - 1) / e;
|
|
3534
|
+
return m2(l, r);
|
|
3535
3535
|
}
|
|
3536
|
-
function
|
|
3537
|
-
const e =
|
|
3538
|
-
return
|
|
3536
|
+
function I1(C) {
|
|
3537
|
+
const e = B1.value, l = C / e * 100, r = C / e - 0.5;
|
|
3538
|
+
return m2(l, r);
|
|
3539
3539
|
}
|
|
3540
|
-
function
|
|
3541
|
-
e instanceof HTMLElement ? (Z.set(C, e),
|
|
3540
|
+
function c3(C, e) {
|
|
3541
|
+
e instanceof HTMLElement ? (Z.set(C, e), x1()) : Z.delete(C);
|
|
3542
3542
|
}
|
|
3543
|
-
function
|
|
3543
|
+
function H2(C, e = "center") {
|
|
3544
3544
|
const l = c.value, r = Z.get(C);
|
|
3545
3545
|
if (!l || !r)
|
|
3546
3546
|
return "";
|
|
3547
|
-
const
|
|
3548
|
-
if (!
|
|
3547
|
+
const h = l.getBoundingClientRect(), M = r.getBoundingClientRect();
|
|
3548
|
+
if (!h.width)
|
|
3549
3549
|
return "";
|
|
3550
|
-
const
|
|
3551
|
-
return `${Number(
|
|
3550
|
+
const S = e === "end" ? M.right - h.left : M.left + M.width / 2 - h.left;
|
|
3551
|
+
return `${Number(S.toFixed(3))}px`;
|
|
3552
3552
|
}
|
|
3553
|
-
function
|
|
3554
|
-
y.value = F.value ? "" :
|
|
3553
|
+
function d3() {
|
|
3554
|
+
y.value = F.value ? "" : H2(f1.value, P1.value ? "end" : "center"), R.value = $1.value ? H2($.value ? D.value : U.value, P1.value ? "end" : "center") : "";
|
|
3555
3555
|
}
|
|
3556
|
-
function
|
|
3556
|
+
function x1() {
|
|
3557
3557
|
P || (P = window.requestAnimationFrame(() => {
|
|
3558
|
-
P = 0,
|
|
3558
|
+
P = 0, d3();
|
|
3559
3559
|
}));
|
|
3560
3560
|
}
|
|
3561
|
-
function
|
|
3561
|
+
function t2(C) {
|
|
3562
3562
|
const e = new Date(C);
|
|
3563
3563
|
return Number.isNaN(e.getTime()) ? /* @__PURE__ */ new Date() : e;
|
|
3564
3564
|
}
|
|
3565
|
-
function
|
|
3565
|
+
function O1(C) {
|
|
3566
3566
|
if (C == null || C === "")
|
|
3567
3567
|
return null;
|
|
3568
3568
|
const e = new Date(C);
|
|
3569
3569
|
return Number.isNaN(e.getTime()) ? null : e;
|
|
3570
3570
|
}
|
|
3571
|
-
function
|
|
3571
|
+
function j(C, e = t.timeZone) {
|
|
3572
3572
|
if (!e)
|
|
3573
3573
|
return { year: C.getFullYear(), month: C.getMonth() + 1, day: C.getDate(), hour: C.getHours(), minute: C.getMinutes(), second: C.getSeconds() };
|
|
3574
|
-
const l = new Intl.DateTimeFormat("en-US", { timeZone: e, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", hourCycle: "h23" }).formatToParts(C), r = (
|
|
3574
|
+
const l = new Intl.DateTimeFormat("en-US", { timeZone: e, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", hourCycle: "h23" }).formatToParts(C), r = (h) => {
|
|
3575
3575
|
var M;
|
|
3576
|
-
return Number(((M = l.find((
|
|
3576
|
+
return Number(((M = l.find((S) => S.type === h)) == null ? void 0 : M.value) || 0);
|
|
3577
3577
|
};
|
|
3578
3578
|
return { year: r("year"), month: r("month"), day: r("day"), hour: r("hour"), minute: r("minute"), second: r("second") };
|
|
3579
3579
|
}
|
|
3580
|
-
function
|
|
3580
|
+
function x2(C) {
|
|
3581
3581
|
if (!t.timeZone)
|
|
3582
3582
|
return new Date(C);
|
|
3583
|
-
const e =
|
|
3583
|
+
const e = j(C);
|
|
3584
3584
|
return new Date(e.year, e.month - 1, e.day, e.hour, e.minute, e.second);
|
|
3585
3585
|
}
|
|
3586
|
-
function
|
|
3586
|
+
function v3(C) {
|
|
3587
3587
|
if (!t.timeZone)
|
|
3588
3588
|
return C;
|
|
3589
3589
|
const e = { year: C.getFullYear(), month: C.getMonth() + 1, day: C.getDate(), hour: C.getHours(), minute: C.getMinutes(), second: C.getSeconds() }, l = Date.UTC(e.year, e.month - 1, e.day, e.hour, e.minute, e.second);
|
|
3590
3590
|
let r = l;
|
|
3591
|
-
for (let
|
|
3592
|
-
const M =
|
|
3591
|
+
for (let h = 0; h < 3; h += 1) {
|
|
3592
|
+
const M = j(new Date(r));
|
|
3593
3593
|
r += l - Date.UTC(M.year, M.month - 1, M.day, M.hour, M.minute, M.second);
|
|
3594
3594
|
}
|
|
3595
3595
|
return new Date(r);
|
|
3596
3596
|
}
|
|
3597
|
-
function
|
|
3598
|
-
const e =
|
|
3597
|
+
function l2(C) {
|
|
3598
|
+
const e = z1.value, l = k1.value;
|
|
3599
3599
|
return !!(e && C.getTime() < e.getTime() || l && C.getTime() > l.getTime());
|
|
3600
3600
|
}
|
|
3601
|
-
function
|
|
3601
|
+
function W1(C) {
|
|
3602
3602
|
const e = new Date(C);
|
|
3603
3603
|
return e.setHours(0, 0, 0, 0), e;
|
|
3604
3604
|
}
|
|
3605
|
-
function
|
|
3606
|
-
const e =
|
|
3605
|
+
function o2(C) {
|
|
3606
|
+
const e = W1(C);
|
|
3607
3607
|
return e.setDate(1), e;
|
|
3608
3608
|
}
|
|
3609
|
-
function
|
|
3610
|
-
const e =
|
|
3609
|
+
function D2(C) {
|
|
3610
|
+
const e = W1(C);
|
|
3611
3611
|
return e.setMonth(0, 1), e;
|
|
3612
3612
|
}
|
|
3613
|
-
function
|
|
3613
|
+
function n2(C) {
|
|
3614
3614
|
return new Date(C.getFullYear(), C.getMonth() + 1, 0).getDate();
|
|
3615
3615
|
}
|
|
3616
|
-
function
|
|
3616
|
+
function y2(C) {
|
|
3617
3617
|
const e = C.getDate();
|
|
3618
3618
|
return e <= 10 ? 0 : e <= 20 ? 1 : 2;
|
|
3619
3619
|
}
|
|
3620
|
-
function
|
|
3620
|
+
function z2(C) {
|
|
3621
3621
|
return C <= 0 ? 1 : C === 1 ? 11 : 21;
|
|
3622
3622
|
}
|
|
3623
|
-
function
|
|
3624
|
-
if (
|
|
3625
|
-
return
|
|
3623
|
+
function h3(C) {
|
|
3624
|
+
if (v1.value)
|
|
3625
|
+
return g1(W1(b.value), C, "hour");
|
|
3626
3626
|
if (t1.value)
|
|
3627
|
-
return
|
|
3628
|
-
if (
|
|
3629
|
-
return
|
|
3630
|
-
if (
|
|
3631
|
-
const e =
|
|
3632
|
-
return e.setDate(
|
|
3627
|
+
return g1(o2(b.value), C, "day");
|
|
3628
|
+
if (p1.value)
|
|
3629
|
+
return g1(D2(b.value), C, "month");
|
|
3630
|
+
if (L1.value) {
|
|
3631
|
+
const e = o2(b.value);
|
|
3632
|
+
return e.setDate(z2(C)), e;
|
|
3633
3633
|
}
|
|
3634
|
-
return
|
|
3634
|
+
return g1(b.value, X.value * C, t.unit);
|
|
3635
3635
|
}
|
|
3636
|
-
function
|
|
3637
|
-
if (
|
|
3638
|
-
const l =
|
|
3639
|
-
return
|
|
3636
|
+
function g3(C, e) {
|
|
3637
|
+
if (v1.value) {
|
|
3638
|
+
const l = W1(g1(b.value, C, "day"));
|
|
3639
|
+
return g1(l, e, "hour");
|
|
3640
3640
|
}
|
|
3641
|
-
if (t1.value ||
|
|
3642
|
-
const l =
|
|
3643
|
-
return l.setDate(
|
|
3641
|
+
if (t1.value || L1.value) {
|
|
3642
|
+
const l = o2(g1(b.value, C, "month"));
|
|
3643
|
+
return l.setDate(L1.value ? z2(e) : e + 1), l;
|
|
3644
3644
|
}
|
|
3645
|
-
if (
|
|
3646
|
-
const l =
|
|
3645
|
+
if (p1.value) {
|
|
3646
|
+
const l = D2(g1(b.value, C, "year"));
|
|
3647
3647
|
return l.setMonth(e), l;
|
|
3648
3648
|
}
|
|
3649
|
-
return
|
|
3649
|
+
return g1(b.value, C, t.unit);
|
|
3650
3650
|
}
|
|
3651
|
-
function
|
|
3652
|
-
return
|
|
3651
|
+
function k2(C) {
|
|
3652
|
+
return v1.value ? Math.min(Math.max(C.getHours(), 0), 23) : t1.value ? Math.min(Math.max(C.getDate() - 1, 0), n2(C) - 1) : p1.value ? Math.min(Math.max(C.getMonth(), 0), 11) : L1.value ? y2(C) : 0;
|
|
3653
3653
|
}
|
|
3654
|
-
function
|
|
3655
|
-
const e =
|
|
3656
|
-
m.value = C,
|
|
3654
|
+
function w3(C) {
|
|
3655
|
+
const e = t2(C);
|
|
3656
|
+
m.value = C, L.value = e, s.value = 0, w("update:startTime", C);
|
|
3657
3657
|
}
|
|
3658
|
-
function
|
|
3658
|
+
function g1(C, e, l) {
|
|
3659
3659
|
const r = new Date(C);
|
|
3660
3660
|
return l === "minute" && r.setMinutes(r.getMinutes() + e), l === "hour" && r.setHours(r.getHours() + e), l === "day" && r.setDate(r.getDate() + e), l === "month" && r.setMonth(r.getMonth() + e), l === "year" && r.setFullYear(r.getFullYear() + e), r;
|
|
3661
3661
|
}
|
|
3662
|
-
function
|
|
3662
|
+
function _(C) {
|
|
3663
3663
|
return String(C).padStart(2, "0");
|
|
3664
3664
|
}
|
|
3665
|
-
function
|
|
3665
|
+
function p3(C) {
|
|
3666
3666
|
return C <= 10 ? "上旬" : C <= 20 ? "中旬" : "下旬";
|
|
3667
3667
|
}
|
|
3668
|
-
function
|
|
3668
|
+
function u3(C) {
|
|
3669
3669
|
const e = C.time;
|
|
3670
3670
|
if (!(e instanceof Date) || Number.isNaN(e.getTime()))
|
|
3671
3671
|
return "";
|
|
3672
|
-
const l =
|
|
3673
|
-
return
|
|
3672
|
+
const l = j(e), r = _(l.month), h = _(l.day), M = _(l.hour), S = _(l.minute), d2 = String(C.label || "").match(/(?:^|\D)(\d{1,2})(上旬|中旬|下旬)/);
|
|
3673
|
+
return d2 ? `${_(Number(d2[1]))}${d2[2]}` : t.unit === "minute" ? X.value === 60 && S === "00" ? M : `${M}:${S}` : t.unit === "hour" ? X.value >= 24 ? `${r}-${h}` : M : t.unit === "day" ? X.value >= 10 && X.value <= 11 ? `${r}${p3(l.day)}` : h : t.unit === "month" ? r : t.unit === "year" ? String(l.year) : C.label || "";
|
|
3674
3674
|
}
|
|
3675
|
-
function
|
|
3676
|
-
const l =
|
|
3677
|
-
return e === "year" ? `${r}` : e === "month" ? `${r}-${
|
|
3675
|
+
function T1(C, e) {
|
|
3676
|
+
const l = j(C), r = l.year, h = _(l.month), M = _(l.day), S = _(l.hour), c1 = _(l.minute);
|
|
3677
|
+
return e === "year" ? `${r}` : e === "month" ? `${r}-${h}` : e === "day" ? `${r}-${h}-${M}` : e === "minute" ? `${h}-${M} ${S}:${c1}` : `${h}-${M} ${S}时`;
|
|
3678
3678
|
}
|
|
3679
|
-
function
|
|
3679
|
+
function B2(C) {
|
|
3680
3680
|
if (!(C instanceof Date) || Number.isNaN(C.getTime()))
|
|
3681
3681
|
return "";
|
|
3682
|
-
const e =
|
|
3683
|
-
return `${e.year}-${
|
|
3682
|
+
const e = j(C);
|
|
3683
|
+
return `${e.year}-${_(e.month)}-${_(e.day)} ${_(e.hour)}:${_(e.minute)}:${_(e.second)}`;
|
|
3684
3684
|
}
|
|
3685
3685
|
function M3(C, e, l) {
|
|
3686
3686
|
return l === "minute" ? (C.getTime() - e.getTime()) / 6e4 : l === "hour" ? (C.getTime() - e.getTime()) / 36e5 : l === "day" ? (C.getTime() - e.getTime()) / 864e5 : l === "month" ? (C.getFullYear() - e.getFullYear()) * 12 + C.getMonth() - e.getMonth() : C.getFullYear() - e.getFullYear();
|
|
3687
3687
|
}
|
|
3688
|
-
function
|
|
3688
|
+
function Y(C) {
|
|
3689
3689
|
const e = Math.min(Math.max(C, 0), k.value.length - 1), l = k.value[e];
|
|
3690
|
-
!l || l.disabled || (
|
|
3690
|
+
!l || l.disabled || (w("update:modelValue", F.value ? l.index : e), w("change", l));
|
|
3691
3691
|
}
|
|
3692
3692
|
function l1(C) {
|
|
3693
|
-
return
|
|
3693
|
+
return V3(C, 1);
|
|
3694
3694
|
}
|
|
3695
|
-
function
|
|
3695
|
+
function V3(C, e) {
|
|
3696
3696
|
var M;
|
|
3697
3697
|
const l = Math.min(Math.max(C, 0), k.value.length - 1);
|
|
3698
3698
|
if (!((M = k.value[l]) != null && M.disabled))
|
|
3699
3699
|
return l;
|
|
3700
|
-
const r =
|
|
3700
|
+
const r = r2(l, e);
|
|
3701
3701
|
if (r !== null)
|
|
3702
3702
|
return r;
|
|
3703
|
-
const
|
|
3704
|
-
return
|
|
3703
|
+
const h = r2(l, e > 0 ? -1 : 1);
|
|
3704
|
+
return h !== null ? h : l;
|
|
3705
3705
|
}
|
|
3706
|
-
function
|
|
3706
|
+
function r2(C, e) {
|
|
3707
3707
|
var l;
|
|
3708
3708
|
if (e > 0) {
|
|
3709
|
-
const r = k.value.findIndex((
|
|
3709
|
+
const r = k.value.findIndex((h, M) => M >= C && !h.disabled);
|
|
3710
3710
|
return r >= 0 ? r : null;
|
|
3711
3711
|
}
|
|
3712
3712
|
for (let r = C; r >= 0; r -= 1)
|
|
@@ -3714,250 +3714,250 @@ const g4 = { class: "timeline-controls" }, w4 = ["aria-label"], p4 = {
|
|
|
3714
3714
|
return r;
|
|
3715
3715
|
return null;
|
|
3716
3716
|
}
|
|
3717
|
-
function
|
|
3718
|
-
s.value = C,
|
|
3717
|
+
function N1(C, e) {
|
|
3718
|
+
s.value = C, Y(e);
|
|
3719
3719
|
}
|
|
3720
|
-
function
|
|
3721
|
-
const l =
|
|
3722
|
-
m.value = r,
|
|
3720
|
+
function T2(C, e) {
|
|
3721
|
+
const l = g3(C, e), r = i2(l), h = r.getTime() === l.getTime() ? e : k2(r);
|
|
3722
|
+
m.value = r, L.value = r, s.value = 0, w("update:startTime", r), Y(h);
|
|
3723
3723
|
}
|
|
3724
|
-
function
|
|
3724
|
+
function E2(C) {
|
|
3725
3725
|
const e = s.value + C, l = C > 0 ? 0 : k.value.length - 1;
|
|
3726
|
-
|
|
3726
|
+
N1(e, l);
|
|
3727
3727
|
}
|
|
3728
|
-
function
|
|
3729
|
-
const e = C >= 0 ? 1 : -1, r =
|
|
3730
|
-
if (r >
|
|
3728
|
+
function E1(C) {
|
|
3729
|
+
const e = C >= 0 ? 1 : -1, r = r2(V1.value + C, e) ?? (e > 0 ? k.value.length : -1), h = k.value.length - 1;
|
|
3730
|
+
if (r > h) {
|
|
3731
3731
|
if ($.value) {
|
|
3732
|
-
t.loop ?
|
|
3732
|
+
t.loop ? T2(1, 0) : Y(h);
|
|
3733
3733
|
return;
|
|
3734
3734
|
}
|
|
3735
3735
|
if (F.value) {
|
|
3736
|
-
if (s.value <
|
|
3737
|
-
s.value += 1,
|
|
3736
|
+
if (s.value < w2.value - 1) {
|
|
3737
|
+
s.value += 1, Y(l1(0));
|
|
3738
3738
|
return;
|
|
3739
3739
|
}
|
|
3740
|
-
t.loop && (s.value = 0),
|
|
3740
|
+
t.loop && (s.value = 0), Y(l1(t.loop ? 0 : h));
|
|
3741
3741
|
return;
|
|
3742
3742
|
}
|
|
3743
3743
|
if (!t.loop) {
|
|
3744
|
-
|
|
3744
|
+
Y(h);
|
|
3745
3745
|
return;
|
|
3746
3746
|
}
|
|
3747
|
-
|
|
3747
|
+
E2(1);
|
|
3748
3748
|
return;
|
|
3749
3749
|
}
|
|
3750
3750
|
if (r < 0) {
|
|
3751
3751
|
if ($.value) {
|
|
3752
|
-
t.loop ?
|
|
3752
|
+
t.loop ? T2(-1, h) : Y(0);
|
|
3753
3753
|
return;
|
|
3754
3754
|
}
|
|
3755
3755
|
if (F.value) {
|
|
3756
3756
|
if (s.value > 0) {
|
|
3757
|
-
s.value -= 1,
|
|
3757
|
+
s.value -= 1, Y(l1(k.value.length - 1));
|
|
3758
3758
|
return;
|
|
3759
3759
|
}
|
|
3760
|
-
t.loop && (s.value =
|
|
3760
|
+
t.loop && (s.value = w2.value - 1), Y(l1(t.loop ? h : 0));
|
|
3761
3761
|
return;
|
|
3762
3762
|
}
|
|
3763
3763
|
if (!t.loop) {
|
|
3764
|
-
|
|
3764
|
+
Y(0);
|
|
3765
3765
|
return;
|
|
3766
3766
|
}
|
|
3767
|
-
|
|
3767
|
+
E2(-1);
|
|
3768
3768
|
return;
|
|
3769
3769
|
}
|
|
3770
|
-
|
|
3770
|
+
Y(r);
|
|
3771
3771
|
}
|
|
3772
|
-
function
|
|
3772
|
+
function f3() {
|
|
3773
3773
|
if (F.value) {
|
|
3774
|
-
s.value = 0,
|
|
3774
|
+
s.value = 0, Y(l1(0));
|
|
3775
3775
|
return;
|
|
3776
3776
|
}
|
|
3777
3777
|
if ($.value) {
|
|
3778
|
-
s.value = 0,
|
|
3778
|
+
s.value = 0, Y(l1(D.value));
|
|
3779
3779
|
return;
|
|
3780
3780
|
}
|
|
3781
|
-
const C =
|
|
3782
|
-
|
|
3781
|
+
const C = h1.value > 0 ? Math.min(U.value, k.value.length - 1) : 0;
|
|
3782
|
+
N1(0, l1(C));
|
|
3783
3783
|
}
|
|
3784
|
-
function
|
|
3784
|
+
function Z3(C) {
|
|
3785
3785
|
const e = X1.value;
|
|
3786
3786
|
if (U.value <= 0) {
|
|
3787
|
-
const
|
|
3788
|
-
return { page:
|
|
3787
|
+
const h = Math.floor(C / e), M = C - h * e;
|
|
3788
|
+
return { page: h, index: M };
|
|
3789
3789
|
}
|
|
3790
3790
|
if (C === 0)
|
|
3791
3791
|
return {
|
|
3792
3792
|
page: 0,
|
|
3793
|
-
index:
|
|
3793
|
+
index: h1.value > 0 ? Math.min(U.value, e - 1) : Math.max(U.value - 1, 0)
|
|
3794
3794
|
};
|
|
3795
|
-
if (C >= 1 && C <=
|
|
3796
|
-
return { page: 0, index: U.value + C + (
|
|
3795
|
+
if (C >= 1 && C <= h1.value)
|
|
3796
|
+
return { page: 0, index: U.value + C + (m1.value ? 0 : -1) };
|
|
3797
3797
|
if (C <= -1 && C >= -U.value)
|
|
3798
3798
|
return { page: 0, index: U.value + C };
|
|
3799
|
-
if (C >
|
|
3800
|
-
const
|
|
3801
|
-
return { page:
|
|
3799
|
+
if (C > h1.value) {
|
|
3800
|
+
const h = Math.ceil((C - h1.value) / e), M = h1.value + (h - 1) * e + 1;
|
|
3801
|
+
return { page: h, index: C - M };
|
|
3802
3802
|
}
|
|
3803
3803
|
const l = -Math.ceil((-U.value - C) / e), r = -U.value + l * e;
|
|
3804
3804
|
return { page: l, index: C - r };
|
|
3805
3805
|
}
|
|
3806
|
-
function
|
|
3806
|
+
function m3(C) {
|
|
3807
3807
|
if (F.value) {
|
|
3808
|
-
let r = 0,
|
|
3809
|
-
|
|
3810
|
-
const
|
|
3811
|
-
|
|
3812
|
-
}), s.value = Math.floor(r / e1.value),
|
|
3808
|
+
let r = 0, h = Number.POSITIVE_INFINITY;
|
|
3809
|
+
s1.value.forEach((M, S) => {
|
|
3810
|
+
const c1 = Math.abs(M.time.getTime() - C.getTime());
|
|
3811
|
+
c1 < h && (h = c1, r = S);
|
|
3812
|
+
}), s.value = Math.floor(r / e1.value), Y(r - J.value);
|
|
3813
3813
|
return;
|
|
3814
3814
|
}
|
|
3815
3815
|
if ($.value) {
|
|
3816
|
-
m.value = C, s.value = 0,
|
|
3816
|
+
m.value = C, s.value = 0, w("update:startTime", C), N1(0, k2(C)), L.value = C;
|
|
3817
3817
|
return;
|
|
3818
3818
|
}
|
|
3819
|
-
const e = Math.round(M3(C, b.value, t.unit) /
|
|
3820
|
-
|
|
3819
|
+
const e = Math.round(M3(C, b.value, t.unit) / X.value), l = Z3(e);
|
|
3820
|
+
N1(l.page, l.index);
|
|
3821
3821
|
}
|
|
3822
|
-
function
|
|
3823
|
-
const e =
|
|
3822
|
+
function i2(C) {
|
|
3823
|
+
const e = a1.value, l = w1.value;
|
|
3824
3824
|
return e && C.getTime() < e.getTime() ? new Date(e) : l && C.getTime() > l.getTime() ? new Date(l) : C;
|
|
3825
3825
|
}
|
|
3826
|
-
function
|
|
3827
|
-
const e =
|
|
3828
|
-
return !!(l &&
|
|
3826
|
+
function H3(C) {
|
|
3827
|
+
const e = s2(C), l = a1.value ? j(a1.value) : null, r = w1.value ? j(w1.value) : null, h = (M) => Date.UTC(M.year, M.month - 1, M.day);
|
|
3828
|
+
return !!(l && h(e) < h(l) || r && h(e) > h(r));
|
|
3829
3829
|
}
|
|
3830
|
-
function
|
|
3831
|
-
return t.timeZone ? { year: C.getFullYear(), month: C.getMonth() + 1, day: C.getDate(), hour: C.getHours(), minute: C.getMinutes(), second: C.getSeconds() } :
|
|
3830
|
+
function s2(C) {
|
|
3831
|
+
return t.timeZone ? { year: C.getFullYear(), month: C.getMonth() + 1, day: C.getDate(), hour: C.getHours(), minute: C.getMinutes(), second: C.getSeconds() } : j(C);
|
|
3832
3832
|
}
|
|
3833
|
-
function
|
|
3834
|
-
const l =
|
|
3833
|
+
function D1(C, e) {
|
|
3834
|
+
const l = s2(C), r = j(e);
|
|
3835
3835
|
return l.year === r.year && l.month === r.month && l.day === r.day;
|
|
3836
3836
|
}
|
|
3837
|
-
function
|
|
3838
|
-
const C =
|
|
3839
|
-
|
|
3840
|
-
const e = /* @__PURE__ */ new Set(), l =
|
|
3841
|
-
return l &&
|
|
3837
|
+
function x3() {
|
|
3838
|
+
const C = L.value || a1.value || b.value;
|
|
3839
|
+
s2(C);
|
|
3840
|
+
const e = /* @__PURE__ */ new Set(), l = a1.value, r = w1.value;
|
|
3841
|
+
return l && D1(C, l) && Array.from({ length: 24 }, (h, M) => M).filter((h) => h < j(l).hour).forEach((h) => e.add(h)), r && D1(C, r) && Array.from({ length: 24 }, (h, M) => M).filter((h) => h > j(r).hour).forEach((h) => e.add(h)), Array.from(e).sort((h, M) => h - M);
|
|
3842
3842
|
}
|
|
3843
|
-
function
|
|
3844
|
-
const e =
|
|
3845
|
-
return r &&
|
|
3843
|
+
function D3(C) {
|
|
3844
|
+
const e = L.value || a1.value || b.value, l = /* @__PURE__ */ new Set(), r = a1.value, h = w1.value;
|
|
3845
|
+
return r && D1(e, r) && C === j(r).hour && Array.from({ length: 60 }, (M, S) => S).filter((M) => M < j(r).minute).forEach((M) => l.add(M)), h && D1(e, h) && C === j(h).hour && Array.from({ length: 60 }, (M, S) => S).filter((M) => M > j(h).minute).forEach((M) => l.add(M)), Array.from(l).sort((M, S) => M - S);
|
|
3846
3846
|
}
|
|
3847
|
-
function
|
|
3848
|
-
const l =
|
|
3849
|
-
return
|
|
3847
|
+
function y3(C, e) {
|
|
3848
|
+
const l = L.value || a1.value || b.value, r = /* @__PURE__ */ new Set(), h = a1.value, M = w1.value;
|
|
3849
|
+
return h && D1(l, h) && C === j(h).hour && e === j(h).minute && Array.from({ length: 60 }, (S, c1) => c1).filter((S) => S < j(h).second).forEach((S) => r.add(S)), M && D1(l, M) && C === j(M).hour && e === j(M).minute && Array.from({ length: 60 }, (S, c1) => c1).filter((S) => S > j(M).second).forEach((S) => r.add(S)), Array.from(r).sort((S, c1) => S - c1);
|
|
3850
3850
|
}
|
|
3851
|
-
function
|
|
3852
|
-
|
|
3851
|
+
function S2() {
|
|
3852
|
+
H1.value && (L.value = x2(i2(H1.value.time)));
|
|
3853
3853
|
}
|
|
3854
|
-
function
|
|
3854
|
+
function A2(C) {
|
|
3855
3855
|
const e = C ? new Date(C) : null;
|
|
3856
3856
|
if (!e || Number.isNaN(e.getTime()))
|
|
3857
3857
|
return;
|
|
3858
|
-
const l =
|
|
3859
|
-
|
|
3858
|
+
const l = v3(e), r = i2(l);
|
|
3859
|
+
L.value = x2(r), m3(r);
|
|
3860
3860
|
}
|
|
3861
|
-
function
|
|
3861
|
+
function a2() {
|
|
3862
3862
|
z && (window.clearInterval(z), z = null);
|
|
3863
3863
|
}
|
|
3864
|
-
function
|
|
3865
|
-
|
|
3866
|
-
}
|
|
3867
|
-
function y3() {
|
|
3868
|
-
f.value = !0, h("update:playing", !0), h("play"), O1();
|
|
3864
|
+
function j1() {
|
|
3865
|
+
a2(), !(!u.value || !t.internalPlayback) && (z = window.setInterval(() => E1(1), Math.max(240, 1200 / V.value)));
|
|
3869
3866
|
}
|
|
3870
3867
|
function z3() {
|
|
3871
|
-
|
|
3868
|
+
u.value = !0, w("update:playing", !0), w("play"), j1();
|
|
3872
3869
|
}
|
|
3873
3870
|
function k3() {
|
|
3874
|
-
|
|
3875
|
-
|
|
3871
|
+
u.value = !1, w("update:playing", !1), w("pause"), a2();
|
|
3872
|
+
}
|
|
3873
|
+
function B3() {
|
|
3874
|
+
if (u.value) {
|
|
3875
|
+
k3();
|
|
3876
3876
|
return;
|
|
3877
3877
|
}
|
|
3878
|
-
|
|
3878
|
+
z3();
|
|
3879
3879
|
}
|
|
3880
|
-
function
|
|
3881
|
-
const C = t.speeds.length ? t.speeds : [1], e = C.findIndex((r) => r ===
|
|
3882
|
-
|
|
3880
|
+
function T3() {
|
|
3881
|
+
const C = t.speeds.length ? t.speeds : [1], e = C.findIndex((r) => r === V.value), l = C[(e + 1) % C.length];
|
|
3882
|
+
V.value = l, w("update:speed", l), j1();
|
|
3883
3883
|
}
|
|
3884
|
-
function
|
|
3884
|
+
function b2(C) {
|
|
3885
3885
|
var r;
|
|
3886
3886
|
const e = (r = c.value) == null ? void 0 : r.getBoundingClientRect();
|
|
3887
3887
|
if (!e)
|
|
3888
|
-
return
|
|
3888
|
+
return V1.value;
|
|
3889
3889
|
const l = Math.min(Math.max((C - e.left) / e.width, 0), 1);
|
|
3890
3890
|
return Math.min(Math.floor(l * k.value.length), k.value.length - 1);
|
|
3891
3891
|
}
|
|
3892
|
-
function
|
|
3892
|
+
function E3(C) {
|
|
3893
3893
|
var e;
|
|
3894
|
-
C1 = !0, (e = c.value) == null || e.setPointerCapture(C.pointerId),
|
|
3894
|
+
C1 = !0, (e = c.value) == null || e.setPointerCapture(C.pointerId), Y(b2(C.clientX)), window.addEventListener("pointermove", L2), window.addEventListener("pointerup", c2);
|
|
3895
3895
|
}
|
|
3896
|
-
function
|
|
3897
|
-
C1 &&
|
|
3896
|
+
function L2(C) {
|
|
3897
|
+
C1 && Y(b2(C.clientX));
|
|
3898
3898
|
}
|
|
3899
|
-
function
|
|
3900
|
-
C1 = !1, window.removeEventListener("pointermove",
|
|
3899
|
+
function c2() {
|
|
3900
|
+
C1 = !1, window.removeEventListener("pointermove", L2), window.removeEventListener("pointerup", c2);
|
|
3901
3901
|
}
|
|
3902
|
-
return
|
|
3903
|
-
|
|
3904
|
-
}),
|
|
3905
|
-
|
|
3906
|
-
}),
|
|
3907
|
-
|
|
3908
|
-
}),
|
|
3909
|
-
() => [t.modelValue, F.value, e1.value,
|
|
3902
|
+
return N(() => t.playing, (C) => {
|
|
3903
|
+
u.value = C, j1();
|
|
3904
|
+
}), N(() => t.speed, (C) => {
|
|
3905
|
+
V.value = C, j1();
|
|
3906
|
+
}), N(() => [t.steps, t.pastSteps, t.futureSteps], () => {
|
|
3907
|
+
V1.value > k.value.length - 1 && Y(k.value.length - 1), u1(x1);
|
|
3908
|
+
}), N(
|
|
3909
|
+
() => [t.modelValue, F.value, e1.value, s1.value.length],
|
|
3910
3910
|
() => {
|
|
3911
3911
|
if (!F.value)
|
|
3912
3912
|
return;
|
|
3913
|
-
const C = Math.min(Math.max(Number(t.modelValue) || 0, 0),
|
|
3913
|
+
const C = Math.min(Math.max(Number(t.modelValue) || 0, 0), s1.value.length - 1);
|
|
3914
3914
|
s.value = Math.floor(C / e1.value);
|
|
3915
3915
|
},
|
|
3916
3916
|
{ immediate: !0 }
|
|
3917
|
-
),
|
|
3918
|
-
m.value = C, s.value = 0,
|
|
3919
|
-
}),
|
|
3917
|
+
), N(() => t.startTime, (C) => {
|
|
3918
|
+
m.value = C, s.value = 0, u1(x1);
|
|
3919
|
+
}), N(H1, S2, { immediate: !0 }), N(() => [t.minTime, t.maxTime], S2), N(
|
|
3920
3920
|
() => [
|
|
3921
|
-
|
|
3922
|
-
|
|
3921
|
+
f1.value,
|
|
3922
|
+
F1.value,
|
|
3923
3923
|
k.value.length,
|
|
3924
|
-
|
|
3924
|
+
e2.value.map((C) => C.key).join("|")
|
|
3925
3925
|
],
|
|
3926
3926
|
() => {
|
|
3927
|
-
|
|
3927
|
+
u1(x1);
|
|
3928
3928
|
},
|
|
3929
3929
|
{ immediate: !0 }
|
|
3930
|
-
),
|
|
3931
|
-
typeof ResizeObserver < "u" && c.value && (G = new ResizeObserver(
|
|
3932
|
-
}),
|
|
3933
|
-
|
|
3934
|
-
}), (C, e) => (
|
|
3930
|
+
), A1(() => {
|
|
3931
|
+
typeof ResizeObserver < "u" && c.value && (G = new ResizeObserver(x1), G.observe(c.value)), u1(x1);
|
|
3932
|
+
}), K1(() => {
|
|
3933
|
+
a2(), P && (window.cancelAnimationFrame(P), P = 0), G == null || G.disconnect(), G = null, window.removeEventListener("pointermove", L2), window.removeEventListener("pointerup", c2);
|
|
3934
|
+
}), (C, e) => (d(), f("section", {
|
|
3935
3935
|
class: A(["map-timeline", {
|
|
3936
|
-
"is-playing":
|
|
3936
|
+
"is-playing": u.value,
|
|
3937
3937
|
"is-external-points": F.value,
|
|
3938
|
-
"is-scale-hidden": !
|
|
3938
|
+
"is-scale-hidden": !f2.value
|
|
3939
3939
|
}])
|
|
3940
3940
|
}, [
|
|
3941
|
-
|
|
3942
|
-
|
|
3941
|
+
a("div", g4, [
|
|
3942
|
+
a("button", {
|
|
3943
3943
|
class: "control-button is-primary",
|
|
3944
3944
|
type: "button",
|
|
3945
|
-
"aria-label":
|
|
3946
|
-
onClick:
|
|
3945
|
+
"aria-label": u.value ? "暂停" : "播放",
|
|
3946
|
+
onClick: B3
|
|
3947
3947
|
}, [
|
|
3948
3948
|
T(x(n1), null, {
|
|
3949
3949
|
default: O(() => [
|
|
3950
|
-
|
|
3950
|
+
u.value ? (d(), q(x(W3), { key: 0 })) : (d(), q(x(N3), { key: 1 }))
|
|
3951
3951
|
]),
|
|
3952
3952
|
_: 1
|
|
3953
3953
|
})
|
|
3954
3954
|
], 8, w4),
|
|
3955
|
-
|
|
3956
|
-
|
|
3955
|
+
a("div", p4, [
|
|
3956
|
+
a("button", {
|
|
3957
3957
|
class: "control-button",
|
|
3958
3958
|
type: "button",
|
|
3959
3959
|
"aria-label": "上一帧",
|
|
3960
|
-
onClick: e[0] || (e[0] = (l) =>
|
|
3960
|
+
onClick: e[0] || (e[0] = (l) => E1(-1))
|
|
3961
3961
|
}, [
|
|
3962
3962
|
T(x(n1), null, {
|
|
3963
3963
|
default: O(() => [
|
|
@@ -3966,11 +3966,11 @@ const g4 = { class: "timeline-controls" }, w4 = ["aria-label"], p4 = {
|
|
|
3966
3966
|
_: 1
|
|
3967
3967
|
})
|
|
3968
3968
|
]),
|
|
3969
|
-
|
|
3969
|
+
a("button", {
|
|
3970
3970
|
class: "control-button",
|
|
3971
3971
|
type: "button",
|
|
3972
3972
|
"aria-label": "下一帧",
|
|
3973
|
-
onClick: e[1] || (e[1] = (l) =>
|
|
3973
|
+
onClick: e[1] || (e[1] = (l) => E1(1))
|
|
3974
3974
|
}, [
|
|
3975
3975
|
T(x(n1), null, {
|
|
3976
3976
|
default: O(() => [
|
|
@@ -3980,56 +3980,56 @@ const g4 = { class: "timeline-controls" }, w4 = ["aria-label"], p4 = {
|
|
|
3980
3980
|
})
|
|
3981
3981
|
])
|
|
3982
3982
|
]),
|
|
3983
|
-
|
|
3983
|
+
a("button", {
|
|
3984
3984
|
class: "speed-button",
|
|
3985
3985
|
type: "button",
|
|
3986
3986
|
title: "播放速度",
|
|
3987
|
-
onClick:
|
|
3988
|
-
}, B(
|
|
3989
|
-
|
|
3987
|
+
onClick: T3
|
|
3988
|
+
}, B(V.value) + "x", 1),
|
|
3989
|
+
a("button", {
|
|
3990
3990
|
class: "control-button",
|
|
3991
3991
|
type: "button",
|
|
3992
3992
|
title: "回到初始时窗",
|
|
3993
3993
|
"aria-label": "回到初始时窗",
|
|
3994
|
-
onClick:
|
|
3994
|
+
onClick: f3
|
|
3995
3995
|
}, [
|
|
3996
3996
|
T(x(n1), null, {
|
|
3997
3997
|
default: O(() => [
|
|
3998
|
-
T(x(
|
|
3998
|
+
T(x(N2))
|
|
3999
3999
|
]),
|
|
4000
4000
|
_: 1
|
|
4001
4001
|
})
|
|
4002
4002
|
]),
|
|
4003
|
-
M1.value ? (
|
|
4004
|
-
|
|
4003
|
+
M1.value ? (d(), f("div", u4, [
|
|
4004
|
+
d1(C.$slots, "date-select", {
|
|
4005
4005
|
startTime: b.value,
|
|
4006
|
-
activePoint:
|
|
4007
|
-
activeIndex:
|
|
4008
|
-
value:
|
|
4009
|
-
setStartTime:
|
|
4010
|
-
jumpToTime:
|
|
4006
|
+
activePoint: H1.value,
|
|
4007
|
+
activeIndex: V1.value,
|
|
4008
|
+
value: L.value,
|
|
4009
|
+
setStartTime: w3,
|
|
4010
|
+
jumpToTime: A2
|
|
4011
4011
|
}, void 0, !0)
|
|
4012
|
-
])) : (
|
|
4012
|
+
])) : (d(), q(x(A3), {
|
|
4013
4013
|
key: 1,
|
|
4014
|
-
modelValue:
|
|
4015
|
-
"onUpdate:modelValue": e[2] || (e[2] = (l) =>
|
|
4014
|
+
modelValue: L.value,
|
|
4015
|
+
"onUpdate:modelValue": e[2] || (e[2] = (l) => L.value = l),
|
|
4016
4016
|
class: "timeline-jump-picker",
|
|
4017
|
-
type:
|
|
4018
|
-
format:
|
|
4017
|
+
type: Y2.value,
|
|
4018
|
+
format: Q2.value,
|
|
4019
4019
|
clearable: !1,
|
|
4020
4020
|
editable: !1,
|
|
4021
|
-
"disabled-date":
|
|
4022
|
-
"disabled-hours":
|
|
4023
|
-
"disabled-minutes":
|
|
4024
|
-
"disabled-seconds":
|
|
4021
|
+
"disabled-date": H3,
|
|
4022
|
+
"disabled-hours": x3,
|
|
4023
|
+
"disabled-minutes": D3,
|
|
4024
|
+
"disabled-seconds": y3,
|
|
4025
4025
|
title: "跳转到指定时间",
|
|
4026
4026
|
"aria-label": "跳转到指定时间",
|
|
4027
|
-
onChange:
|
|
4027
|
+
onChange: A2,
|
|
4028
4028
|
style: { "--el-date-editor-width": "calc(var(--cp-font-1) * 140)" }
|
|
4029
4029
|
}, null, 8, ["modelValue", "type", "format"]))
|
|
4030
4030
|
]),
|
|
4031
|
-
|
|
4032
|
-
|
|
4031
|
+
a("div", M4, [
|
|
4032
|
+
a("div", {
|
|
4033
4033
|
ref_key: "trackRef",
|
|
4034
4034
|
ref: c,
|
|
4035
4035
|
class: "timeline-track",
|
|
@@ -4037,35 +4037,35 @@ const g4 = { class: "timeline-controls" }, w4 = ["aria-label"], p4 = {
|
|
|
4037
4037
|
tabindex: "0",
|
|
4038
4038
|
"aria-valuemin": 0,
|
|
4039
4039
|
"aria-valuemax": k.value.length - 1,
|
|
4040
|
-
"aria-valuenow":
|
|
4041
|
-
"aria-valuetext":
|
|
4042
|
-
onPointerdown:
|
|
4040
|
+
"aria-valuenow": V1.value,
|
|
4041
|
+
"aria-valuetext": u2.value,
|
|
4042
|
+
onPointerdown: E3,
|
|
4043
4043
|
onKeydown: [
|
|
4044
|
-
e[4] || (e[4] =
|
|
4045
|
-
e[5] || (e[5] =
|
|
4046
|
-
e[6] || (e[6] =
|
|
4047
|
-
e[7] || (e[7] =
|
|
4044
|
+
e[4] || (e[4] = R1(o1((l) => E1(-1), ["prevent"]), ["left"])),
|
|
4045
|
+
e[5] || (e[5] = R1(o1((l) => E1(1), ["prevent"]), ["right"])),
|
|
4046
|
+
e[6] || (e[6] = R1(o1((l) => Y(l1(0)), ["prevent"]), ["home"])),
|
|
4047
|
+
e[7] || (e[7] = R1(o1((l) => Y(l1(k.value.length - 1)), ["prevent"]), ["end"]))
|
|
4048
4048
|
]
|
|
4049
4049
|
}, [
|
|
4050
|
-
|
|
4051
|
-
class: A(["active-time-popover",
|
|
4052
|
-
style:
|
|
4050
|
+
a("div", {
|
|
4051
|
+
class: A(["active-time-popover", n3.value]),
|
|
4052
|
+
style: Z1({ left: o3.value })
|
|
4053
4053
|
}, [
|
|
4054
|
-
|
|
4054
|
+
a("span", null, B(u2.value), 1)
|
|
4055
4055
|
], 6),
|
|
4056
|
-
|
|
4056
|
+
a("div", {
|
|
4057
4057
|
class: "timeline-segments",
|
|
4058
|
-
style:
|
|
4058
|
+
style: Z1({ gridTemplateColumns: r3.value })
|
|
4059
4059
|
}, [
|
|
4060
|
-
(
|
|
4060
|
+
(d(!0), f(K, null, r1(e2.value, (l) => (d(), f("button", {
|
|
4061
4061
|
key: l.key,
|
|
4062
4062
|
ref_for: !0,
|
|
4063
|
-
ref: (r) =>
|
|
4063
|
+
ref: (r) => c3(l.startIndex, r),
|
|
4064
4064
|
class: A(["timeline-segment", {
|
|
4065
4065
|
"is-observed": l.kind === "observed",
|
|
4066
4066
|
"is-forecast": l.kind === "forecast",
|
|
4067
|
-
"is-current": l.startIndex ===
|
|
4068
|
-
"is-passed": l.startIndex <=
|
|
4067
|
+
"is-current": l.startIndex === f1.value,
|
|
4068
|
+
"is-passed": l.startIndex <= f1.value,
|
|
4069
4069
|
"is-disabled": l.disabled
|
|
4070
4070
|
}]),
|
|
4071
4071
|
type: "button",
|
|
@@ -4073,72 +4073,72 @@ const g4 = { class: "timeline-controls" }, w4 = ["aria-label"], p4 = {
|
|
|
4073
4073
|
disabled: l.disabled,
|
|
4074
4074
|
onPointerdown: e[3] || (e[3] = o1(() => {
|
|
4075
4075
|
}, ["stop"])),
|
|
4076
|
-
onClick: o1((r) =>
|
|
4076
|
+
onClick: o1((r) => Y(l.startIndex), ["stop"])
|
|
4077
4077
|
}, [
|
|
4078
|
-
|
|
4078
|
+
a("span", Z4, B(l.label), 1)
|
|
4079
4079
|
], 42, f4))), 128))
|
|
4080
4080
|
], 4),
|
|
4081
|
-
|
|
4081
|
+
$1.value ? (d(), f("div", {
|
|
4082
4082
|
key: 0,
|
|
4083
4083
|
class: "now-divider",
|
|
4084
|
-
style:
|
|
4085
|
-
}, null, 4)) :
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
e[8] || (e[8] =
|
|
4090
|
-
|
|
4084
|
+
style: Z1({ left: Z2.value })
|
|
4085
|
+
}, null, 4)) : W("", !0),
|
|
4086
|
+
f2.value ? (d(), f("div", m4, [
|
|
4087
|
+
R2.value ? (d(), f(K, { key: 0 }, [
|
|
4088
|
+
a("span", H4, [
|
|
4089
|
+
e[8] || (e[8] = a("span", { class: "footer-kind is-forecast" }, "预报开始", -1)),
|
|
4090
|
+
a("span", null, B(K2.value), 1)
|
|
4091
4091
|
]),
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
e[9] || (e[9] =
|
|
4092
|
+
a("span", x4, [
|
|
4093
|
+
a("span", null, B(J2.value), 1),
|
|
4094
|
+
e[9] || (e[9] = a("span", { class: "footer-kind is-forecast" }, "预报结束", -1))
|
|
4095
4095
|
])
|
|
4096
|
-
], 64)) :
|
|
4097
|
-
|
|
4098
|
-
e[10] || (e[10] =
|
|
4099
|
-
|
|
4100
|
-
])) :
|
|
4101
|
-
|
|
4096
|
+
], 64)) : V2.value ? (d(), f(K, { key: 1 }, [
|
|
4097
|
+
q2.value ? (d(), f("span", D4, [
|
|
4098
|
+
e[10] || (e[10] = a("span", { class: "footer-kind is-observed" }, "实况", -1)),
|
|
4099
|
+
a("span", null, B(X2.value), 1)
|
|
4100
|
+
])) : W("", !0),
|
|
4101
|
+
$1.value ? (d(), f("span", {
|
|
4102
4102
|
key: 1,
|
|
4103
4103
|
class: "timeline-scale-item timeline-scale-now",
|
|
4104
|
-
style:
|
|
4104
|
+
style: Z1({ left: Z2.value })
|
|
4105
4105
|
}, [
|
|
4106
|
-
e[11] || (e[11] =
|
|
4107
|
-
|
|
4108
|
-
], 4)) :
|
|
4109
|
-
|
|
4110
|
-
e[12] || (e[12] =
|
|
4111
|
-
|
|
4112
|
-
])) :
|
|
4113
|
-
], 64)) : (
|
|
4114
|
-
|
|
4115
|
-
class: A(["timeline-scale-item timeline-scale-window-start",
|
|
4106
|
+
e[11] || (e[11] = a("span", { class: "footer-kind is-current" }, "当前", -1)),
|
|
4107
|
+
a("span", null, B($2.value), 1)
|
|
4108
|
+
], 4)) : W("", !0),
|
|
4109
|
+
_2.value ? (d(), f("span", y4, [
|
|
4110
|
+
e[12] || (e[12] = a("span", { class: "footer-kind is-forecast" }, "预报", -1)),
|
|
4111
|
+
a("span", null, B(C3.value), 1)
|
|
4112
|
+
])) : W("", !0)
|
|
4113
|
+
], 64)) : (d(), f(K, { key: 2 }, [
|
|
4114
|
+
a("span", {
|
|
4115
|
+
class: A(["timeline-scale-item timeline-scale-window-start", C2.value])
|
|
4116
4116
|
}, [
|
|
4117
|
-
|
|
4118
|
-
class: A(["footer-kind",
|
|
4119
|
-
}, B(
|
|
4120
|
-
|
|
4117
|
+
a("span", {
|
|
4118
|
+
class: A(["footer-kind", C2.value])
|
|
4119
|
+
}, B(l3.value), 3),
|
|
4120
|
+
a("span", null, B(e3.value), 1)
|
|
4121
4121
|
], 2),
|
|
4122
|
-
|
|
4123
|
-
class: A(["timeline-scale-item timeline-scale-window-end",
|
|
4122
|
+
a("span", {
|
|
4123
|
+
class: A(["timeline-scale-item timeline-scale-window-end", C2.value])
|
|
4124
4124
|
}, [
|
|
4125
|
-
|
|
4125
|
+
a("span", null, B(t3.value), 1)
|
|
4126
4126
|
], 2)
|
|
4127
4127
|
], 64))
|
|
4128
|
-
])) :
|
|
4128
|
+
])) : W("", !0)
|
|
4129
4129
|
], 40, V4)
|
|
4130
4130
|
])
|
|
4131
4131
|
], 2));
|
|
4132
4132
|
}
|
|
4133
4133
|
});
|
|
4134
|
-
const k4 = /* @__PURE__ */
|
|
4134
|
+
const k4 = /* @__PURE__ */ i1(z4, [["__scopeId", "data-v-c0137427"]]), B4 = { class: "tree-trigger__type" }, T4 = { class: "tree-trigger__content" }, E4 = ["placeholder"], S4 = {
|
|
4135
4135
|
key: 0,
|
|
4136
4136
|
class: "tree-tabs",
|
|
4137
4137
|
role: "tablist"
|
|
4138
4138
|
}, A4 = ["aria-selected", "onClick"], b4 = { class: "tree-tab__label" }, F4 = { class: "tree-body" }, U4 = { class: "tree-node__label" }, P4 = {
|
|
4139
4139
|
key: 0,
|
|
4140
4140
|
class: "tree-node__tag"
|
|
4141
|
-
}, G4 = 72, I4 = /* @__PURE__ */
|
|
4141
|
+
}, G4 = 72, I4 = /* @__PURE__ */ Q({
|
|
4142
4142
|
__name: "TreeSelectPanel",
|
|
4143
4143
|
props: {
|
|
4144
4144
|
modelValue: { default: null },
|
|
@@ -4155,15 +4155,15 @@ const k4 = /* @__PURE__ */ c1(z4, [["__scopeId", "data-v-c0137427"]]), B4 = { cl
|
|
|
4155
4155
|
dark: { type: Boolean, default: !1 }
|
|
4156
4156
|
},
|
|
4157
4157
|
emits: ["update:modelValue", "change", "select"],
|
|
4158
|
-
setup(
|
|
4159
|
-
const t =
|
|
4160
|
-
let
|
|
4158
|
+
setup(o, { emit: g }) {
|
|
4159
|
+
const t = o, w = g, v = E(!1), c = E(""), Z = E(""), u = E(""), V = E(null), s = E();
|
|
4160
|
+
let L = null;
|
|
4161
4161
|
const m = {
|
|
4162
4162
|
type: "spring",
|
|
4163
4163
|
stiffness: 520,
|
|
4164
4164
|
damping: 38,
|
|
4165
4165
|
mass: 0.7
|
|
4166
|
-
}, y = { y: -1 },
|
|
4166
|
+
}, y = { y: -1 }, R = { opacity: 0, y: -6, scale: 0.98 }, z = { opacity: 1, y: 0, scale: 1 }, G = {
|
|
4167
4167
|
type: "spring",
|
|
4168
4168
|
stiffness: 480,
|
|
4169
4169
|
damping: 34,
|
|
@@ -4173,133 +4173,133 @@ const k4 = /* @__PURE__ */ c1(z4, [["__scopeId", "data-v-c0137427"]]), B4 = { cl
|
|
|
4173
4173
|
stiffness: 520,
|
|
4174
4174
|
damping: 42,
|
|
4175
4175
|
mass: 0.6
|
|
4176
|
-
}, C1 = p(() => t.categories), M1 = p(() => C1.value.find((H) => H.type ===
|
|
4176
|
+
}, C1 = p(() => t.categories), M1 = p(() => C1.value.find((H) => H.type === u.value) || C1.value[0]), b = p(() => {
|
|
4177
4177
|
var H;
|
|
4178
4178
|
return ((H = M1.value) == null ? void 0 : H.children) || [];
|
|
4179
|
-
}),
|
|
4179
|
+
}), X = p(() => {
|
|
4180
4180
|
var H;
|
|
4181
4181
|
return ((H = M1.value) == null ? void 0 : H.label) || t.fallbackTypeLabel;
|
|
4182
|
-
}),
|
|
4182
|
+
}), z1 = p(() => !!(c.value || t.modelValue !== null)), k1 = p(() => typeof t.popoverWidth == "number" ? `${t.popoverWidth}px` : t.popoverWidth), e1 = p(() => {
|
|
4183
4183
|
for (const H of C1.value) {
|
|
4184
|
-
const D =
|
|
4184
|
+
const D = U1(H.children, t.modelValue);
|
|
4185
4185
|
if (D)
|
|
4186
4186
|
return D.label;
|
|
4187
4187
|
}
|
|
4188
4188
|
return "";
|
|
4189
|
-
}),
|
|
4189
|
+
}), s1 = {
|
|
4190
4190
|
label: "label",
|
|
4191
4191
|
children: "children",
|
|
4192
4192
|
disabled: "disabled"
|
|
4193
4193
|
}, F = () => {
|
|
4194
|
-
t1(),
|
|
4195
|
-
},
|
|
4194
|
+
t1(), v.value = !0;
|
|
4195
|
+
}, b1 = () => {
|
|
4196
4196
|
F(), c.value === e1.value && (Z.value = "");
|
|
4197
|
-
},
|
|
4197
|
+
}, a1 = () => {
|
|
4198
4198
|
Z.value = c.value, F();
|
|
4199
|
-
},
|
|
4200
|
-
c.value = "", Z.value = "",
|
|
4199
|
+
}, w1 = () => {
|
|
4200
|
+
c.value = "", Z.value = "", w("update:modelValue", null), F(), u1(() => {
|
|
4201
4201
|
var H;
|
|
4202
4202
|
return (H = s.value) == null ? void 0 : H.filter("");
|
|
4203
4203
|
});
|
|
4204
|
-
},
|
|
4205
|
-
t1(),
|
|
4206
|
-
},
|
|
4204
|
+
}, v1 = () => {
|
|
4205
|
+
t1(), v.value = !1;
|
|
4206
|
+
}, L1 = (H) => {
|
|
4207
4207
|
var I;
|
|
4208
4208
|
const D = H.target;
|
|
4209
|
-
D && ((I =
|
|
4209
|
+
D && ((I = V.value) != null && I.contains(D)) || v1();
|
|
4210
4210
|
}, t1 = () => {
|
|
4211
|
-
|
|
4212
|
-
},
|
|
4213
|
-
t1(),
|
|
4214
|
-
|
|
4211
|
+
L && (window.clearTimeout(L), L = null);
|
|
4212
|
+
}, p1 = () => t1(), $ = () => {
|
|
4213
|
+
t1(), L = window.setTimeout(() => {
|
|
4214
|
+
v1(), L = null;
|
|
4215
4215
|
}, 120);
|
|
4216
|
-
},
|
|
4217
|
-
H.disabled || !M1.value || (
|
|
4216
|
+
}, F1 = (H) => {
|
|
4217
|
+
H.disabled || !M1.value || (w("update:modelValue", H.id), w("select", H, M1.value), w("change", { node: H, category: M1.value }), c.value = H.label, Z.value = "", u1(() => {
|
|
4218
4218
|
var D;
|
|
4219
4219
|
return (D = s.value) == null ? void 0 : D.filter("");
|
|
4220
|
-
}), t.closeOnSelect &&
|
|
4221
|
-
},
|
|
4220
|
+
}), t.closeOnSelect && v1());
|
|
4221
|
+
}, _1 = (H, D) => H ? String(D.label ?? "").toLowerCase().includes(H.trim().toLowerCase()) : !0, U1 = (H, D) => {
|
|
4222
4222
|
if (D == null)
|
|
4223
4223
|
return null;
|
|
4224
4224
|
for (const I of H) {
|
|
4225
4225
|
if (I.id === D)
|
|
4226
4226
|
return I;
|
|
4227
|
-
const J =
|
|
4227
|
+
const J = U1(I.children || [], D);
|
|
4228
4228
|
if (J)
|
|
4229
4229
|
return J;
|
|
4230
4230
|
}
|
|
4231
4231
|
return null;
|
|
4232
4232
|
};
|
|
4233
|
-
return
|
|
4233
|
+
return N(C1, (H) => {
|
|
4234
4234
|
if (!H.length) {
|
|
4235
|
-
|
|
4235
|
+
u.value = "";
|
|
4236
4236
|
return;
|
|
4237
4237
|
}
|
|
4238
|
-
const D = H.some((J) => J.type === t.defaultActiveType) ? t.defaultActiveType : H[0].type, I = H.some((J) => J.type ===
|
|
4239
|
-
|
|
4240
|
-
}, { immediate: !0 }),
|
|
4241
|
-
H && C1.value.some((D) => D.type === H) && (
|
|
4242
|
-
}),
|
|
4238
|
+
const D = H.some((J) => J.type === t.defaultActiveType) ? t.defaultActiveType : H[0].type, I = H.some((J) => J.type === u.value);
|
|
4239
|
+
u.value = I ? u.value : D;
|
|
4240
|
+
}, { immediate: !0 }), N(() => t.defaultActiveType, (H) => {
|
|
4241
|
+
H && C1.value.some((D) => D.type === H) && (u.value = H);
|
|
4242
|
+
}), N(Z, (H) => {
|
|
4243
4243
|
var D;
|
|
4244
4244
|
(D = s.value) == null || D.filter(H);
|
|
4245
|
-
}),
|
|
4246
|
-
|
|
4245
|
+
}), N(u, () => {
|
|
4246
|
+
u1(() => {
|
|
4247
4247
|
var H;
|
|
4248
4248
|
return (H = s.value) == null ? void 0 : H.filter(Z.value);
|
|
4249
4249
|
});
|
|
4250
|
-
}),
|
|
4251
|
-
|
|
4252
|
-
}, { immediate: !0 }),
|
|
4250
|
+
}), N(e1, (H) => {
|
|
4251
|
+
v.value || (c.value = H, Z.value = "");
|
|
4252
|
+
}, { immediate: !0 }), N(v, (H) => {
|
|
4253
4253
|
if (H) {
|
|
4254
|
-
c.value === e1.value && (Z.value = "",
|
|
4254
|
+
c.value === e1.value && (Z.value = "", u1(() => {
|
|
4255
4255
|
var D;
|
|
4256
4256
|
return (D = s.value) == null ? void 0 : D.filter("");
|
|
4257
4257
|
}));
|
|
4258
4258
|
return;
|
|
4259
4259
|
}
|
|
4260
4260
|
c.value = e1.value, Z.value = "";
|
|
4261
|
-
}),
|
|
4262
|
-
document.addEventListener("pointerdown",
|
|
4263
|
-
}),
|
|
4264
|
-
t1(), document.removeEventListener("pointerdown",
|
|
4265
|
-
}), (H, D) => (
|
|
4261
|
+
}), A1(() => {
|
|
4262
|
+
document.addEventListener("pointerdown", L1);
|
|
4263
|
+
}), K1(() => {
|
|
4264
|
+
t1(), document.removeEventListener("pointerdown", L1);
|
|
4265
|
+
}), (H, D) => (d(), f("div", {
|
|
4266
4266
|
ref_key: "selectRef",
|
|
4267
|
-
ref:
|
|
4268
|
-
class: A(["tree-select", { "is-dark":
|
|
4269
|
-
onMouseenter:
|
|
4267
|
+
ref: V,
|
|
4268
|
+
class: A(["tree-select", { "is-dark": o.dark }]),
|
|
4269
|
+
onMouseenter: p1,
|
|
4270
4270
|
onMouseleave: $
|
|
4271
4271
|
}, [
|
|
4272
|
-
T(x(
|
|
4272
|
+
T(x(h2).div, {
|
|
4273
4273
|
class: "tree-trigger",
|
|
4274
4274
|
role: "combobox",
|
|
4275
4275
|
tabindex: "0",
|
|
4276
|
-
"aria-expanded":
|
|
4276
|
+
"aria-expanded": v.value,
|
|
4277
4277
|
"while-hover": y,
|
|
4278
4278
|
transition: m,
|
|
4279
4279
|
onClick: o1(F, ["stop"])
|
|
4280
4280
|
}, {
|
|
4281
4281
|
default: O(() => [
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4282
|
+
a("span", B4, B(X.value), 1),
|
|
4283
|
+
a("span", T4, [
|
|
4284
|
+
S1(a("input", {
|
|
4285
4285
|
"onUpdate:modelValue": D[0] || (D[0] = (I) => c.value = I),
|
|
4286
4286
|
class: "tree-trigger__input",
|
|
4287
|
-
placeholder:
|
|
4288
|
-
onFocus:
|
|
4287
|
+
placeholder: o.placeholder,
|
|
4288
|
+
onFocus: b1,
|
|
4289
4289
|
onClick: o1(F, ["stop"]),
|
|
4290
|
-
onInput:
|
|
4290
|
+
onInput: a1
|
|
4291
4291
|
}, null, 40, E4), [
|
|
4292
|
-
[
|
|
4292
|
+
[W2, c.value]
|
|
4293
4293
|
]),
|
|
4294
|
-
|
|
4294
|
+
z1.value ? (d(), f("button", {
|
|
4295
4295
|
key: 0,
|
|
4296
4296
|
class: "tree-trigger__clear",
|
|
4297
4297
|
type: "button",
|
|
4298
4298
|
"aria-label": "清空",
|
|
4299
|
-
onClick: o1(
|
|
4300
|
-
})) :
|
|
4301
|
-
|
|
4302
|
-
class: A(["tree-trigger__arrow", { "is-open":
|
|
4299
|
+
onClick: o1(w1, ["stop"])
|
|
4300
|
+
})) : W("", !0),
|
|
4301
|
+
a("span", {
|
|
4302
|
+
class: A(["tree-trigger__arrow", { "is-open": v.value }])
|
|
4303
4303
|
}, null, 2)
|
|
4304
4304
|
])
|
|
4305
4305
|
]),
|
|
@@ -4307,76 +4307,76 @@ const k4 = /* @__PURE__ */ c1(z4, [["__scopeId", "data-v-c0137427"]]), B4 = { cl
|
|
|
4307
4307
|
}, 8, ["aria-expanded"]),
|
|
4308
4308
|
T(O3, { name: "tree-panel-fade" }, {
|
|
4309
4309
|
default: O(() => [
|
|
4310
|
-
|
|
4310
|
+
v.value ? (d(), q(x(h2).section, {
|
|
4311
4311
|
key: 0,
|
|
4312
4312
|
class: "tree-panel",
|
|
4313
|
-
style:
|
|
4314
|
-
initial:
|
|
4313
|
+
style: Z1({ width: k1.value }),
|
|
4314
|
+
initial: R,
|
|
4315
4315
|
animate: z,
|
|
4316
4316
|
transition: G,
|
|
4317
4317
|
onClick: D[1] || (D[1] = o1(() => {
|
|
4318
4318
|
}, ["stop"]))
|
|
4319
4319
|
}, {
|
|
4320
4320
|
default: O(() => [
|
|
4321
|
-
C1.value.length > 1 ? (
|
|
4322
|
-
(
|
|
4321
|
+
C1.value.length > 1 ? (d(), f("div", S4, [
|
|
4322
|
+
(d(!0), f(K, null, r1(C1.value, (I) => (d(), f("button", {
|
|
4323
4323
|
key: I.type,
|
|
4324
|
-
class: A(["tree-tab", { "is-active": I.type ===
|
|
4324
|
+
class: A(["tree-tab", { "is-active": I.type === u.value }]),
|
|
4325
4325
|
type: "button",
|
|
4326
4326
|
role: "tab",
|
|
4327
|
-
"aria-selected": I.type ===
|
|
4328
|
-
onClick: (J) =>
|
|
4327
|
+
"aria-selected": I.type === u.value,
|
|
4328
|
+
onClick: (J) => u.value = I.type
|
|
4329
4329
|
}, [
|
|
4330
|
-
I.type ===
|
|
4330
|
+
I.type === u.value ? (d(), q(x(h2).span, {
|
|
4331
4331
|
key: 0,
|
|
4332
4332
|
class: "tree-tab__active",
|
|
4333
4333
|
"layout-id": "tree-select-active-tab",
|
|
4334
4334
|
transition: P
|
|
4335
|
-
})) :
|
|
4336
|
-
|
|
4335
|
+
})) : W("", !0),
|
|
4336
|
+
a("span", b4, B(I.label), 1)
|
|
4337
4337
|
], 10, A4))), 128))
|
|
4338
|
-
])) :
|
|
4339
|
-
|
|
4340
|
-
b.value.length ? (
|
|
4338
|
+
])) : W("", !0),
|
|
4339
|
+
a("div", F4, [
|
|
4340
|
+
b.value.length ? (d(), q(x(I2), {
|
|
4341
4341
|
key: 0,
|
|
4342
4342
|
ref_key: "treeRef",
|
|
4343
4343
|
ref: s,
|
|
4344
4344
|
data: b.value,
|
|
4345
4345
|
"node-key": "id",
|
|
4346
|
-
props:
|
|
4347
|
-
"filter-node-method":
|
|
4346
|
+
props: s1,
|
|
4347
|
+
"filter-node-method": _1,
|
|
4348
4348
|
"expand-on-click-node": !1,
|
|
4349
|
-
"default-expand-all":
|
|
4349
|
+
"default-expand-all": o.defaultExpandAll,
|
|
4350
4350
|
"highlight-current": "",
|
|
4351
|
-
onNodeClick:
|
|
4351
|
+
onNodeClick: F1
|
|
4352
4352
|
}, {
|
|
4353
4353
|
default: O(({ node: I, data: J }) => [
|
|
4354
|
-
|
|
4355
|
-
class: A(["tree-node", { "is-selected": J.id ===
|
|
4354
|
+
a("button", {
|
|
4355
|
+
class: A(["tree-node", { "is-selected": J.id === o.modelValue }]),
|
|
4356
4356
|
type: "button"
|
|
4357
4357
|
}, [
|
|
4358
|
-
|
|
4359
|
-
J.tag ? (
|
|
4358
|
+
a("span", U4, B(I.label), 1),
|
|
4359
|
+
J.tag ? (d(), f("span", P4, B(J.tag), 1)) : W("", !0)
|
|
4360
4360
|
], 2)
|
|
4361
4361
|
]),
|
|
4362
4362
|
_: 1
|
|
4363
|
-
}, 8, ["data", "default-expand-all"])) : (
|
|
4363
|
+
}, 8, ["data", "default-expand-all"])) : (d(), q(x(b3), {
|
|
4364
4364
|
key: 1,
|
|
4365
4365
|
class: "tree-empty",
|
|
4366
4366
|
"image-size": G4,
|
|
4367
|
-
description:
|
|
4367
|
+
description: o.emptyText
|
|
4368
4368
|
}, null, 8, ["description"]))
|
|
4369
4369
|
])
|
|
4370
4370
|
]),
|
|
4371
4371
|
_: 1
|
|
4372
|
-
}, 8, ["style"])) :
|
|
4372
|
+
}, 8, ["style"])) : W("", !0)
|
|
4373
4373
|
]),
|
|
4374
4374
|
_: 1
|
|
4375
4375
|
})
|
|
4376
4376
|
], 34));
|
|
4377
4377
|
}
|
|
4378
4378
|
});
|
|
4379
|
-
const O4 = /* @__PURE__ */
|
|
4379
|
+
const O4 = /* @__PURE__ */ i1(I4, [["__scopeId", "data-v-bb2a715c"]]), W4 = ["aria-label"], N4 = ["onClick"], j4 = /* @__PURE__ */ Q({
|
|
4380
4380
|
__name: "TimeRangeQuickSelect",
|
|
4381
4381
|
props: {
|
|
4382
4382
|
modelValue: {},
|
|
@@ -4384,26 +4384,26 @@ const O4 = /* @__PURE__ */ c1(I4, [["__scopeId", "data-v-bb2a715c"]]), W4 = ["ar
|
|
|
4384
4384
|
ariaLabel: { default: "时间范围快捷选择" }
|
|
4385
4385
|
},
|
|
4386
4386
|
emits: ["update:modelValue", "change"],
|
|
4387
|
-
setup(
|
|
4388
|
-
const t =
|
|
4389
|
-
function
|
|
4390
|
-
t("update:modelValue",
|
|
4387
|
+
setup(o, { emit: g }) {
|
|
4388
|
+
const t = g;
|
|
4389
|
+
function w(v) {
|
|
4390
|
+
t("update:modelValue", v.key), t("change", v);
|
|
4391
4391
|
}
|
|
4392
|
-
return (
|
|
4392
|
+
return (v, c) => (d(), f("div", {
|
|
4393
4393
|
class: "time-range-quick-select",
|
|
4394
4394
|
role: "group",
|
|
4395
|
-
"aria-label":
|
|
4395
|
+
"aria-label": o.ariaLabel
|
|
4396
4396
|
}, [
|
|
4397
|
-
(
|
|
4397
|
+
(d(!0), f(K, null, r1(o.options, (Z) => (d(), f("button", {
|
|
4398
4398
|
key: Z.key,
|
|
4399
4399
|
type: "button",
|
|
4400
|
-
class: A(["time-range-quick-select__button", { "is-active":
|
|
4401
|
-
onClick: (
|
|
4400
|
+
class: A(["time-range-quick-select__button", { "is-active": o.modelValue === Z.key }]),
|
|
4401
|
+
onClick: (u) => w(Z)
|
|
4402
4402
|
}, B(Z.label), 11, N4))), 128))
|
|
4403
4403
|
], 8, W4));
|
|
4404
4404
|
}
|
|
4405
4405
|
});
|
|
4406
|
-
const Y4 = /* @__PURE__ */
|
|
4406
|
+
const Y4 = /* @__PURE__ */ i1(j4, [["__scopeId", "data-v-d0145980"]]), Q4 = {
|
|
4407
4407
|
key: 0,
|
|
4408
4408
|
class: "project-menu primary-nav",
|
|
4409
4409
|
"aria-label": "横向菜单样式"
|
|
@@ -4411,7 +4411,7 @@ const Y4 = /* @__PURE__ */ c1(j4, [["__scopeId", "data-v-d0145980"]]), Q4 = {
|
|
|
4411
4411
|
key: 1,
|
|
4412
4412
|
class: "project-menu vertical-menu",
|
|
4413
4413
|
"aria-label": "纵向菜单样式"
|
|
4414
|
-
}, q4 = ["aria-expanded", "onClick"],
|
|
4414
|
+
}, q4 = ["aria-expanded", "onClick"], _4 = { class: "menu-list" }, X4 = ["onClick", "disabled", "aria-disabled", "aria-current"], $4 = { class: "menu-label" }, C6 = /* @__PURE__ */ Q({
|
|
4415
4415
|
__name: "ProjectMenu",
|
|
4416
4416
|
props: {
|
|
4417
4417
|
direction: { default: "horizontal" },
|
|
@@ -4420,41 +4420,41 @@ const Y4 = /* @__PURE__ */ c1(j4, [["__scopeId", "data-v-d0145980"]]), Q4 = {
|
|
|
4420
4420
|
groups: { default: () => [] }
|
|
4421
4421
|
},
|
|
4422
4422
|
emits: ["update:active", "select"],
|
|
4423
|
-
setup(
|
|
4424
|
-
const t =
|
|
4425
|
-
|
|
4426
|
-
function Z(
|
|
4427
|
-
|
|
4423
|
+
setup(o, { emit: g }) {
|
|
4424
|
+
const t = o, w = g, v = E(t.active), c = E([]);
|
|
4425
|
+
N(() => t.active, (V) => v.value = V);
|
|
4426
|
+
function Z(V) {
|
|
4427
|
+
V.disabled || (v.value = V.key, w("update:active", V.key), w("select", V));
|
|
4428
4428
|
}
|
|
4429
|
-
function
|
|
4430
|
-
c.value = c.value.includes(
|
|
4429
|
+
function u(V) {
|
|
4430
|
+
c.value = c.value.includes(V) ? c.value.filter((s) => s !== V) : [...c.value, V];
|
|
4431
4431
|
}
|
|
4432
|
-
return (
|
|
4433
|
-
|
|
4434
|
-
(
|
|
4432
|
+
return (V, s) => o.direction === "horizontal" ? (d(), f("nav", Q4, [
|
|
4433
|
+
a("div", R4, [
|
|
4434
|
+
(d(!0), f(K, null, r1(o.items, (L) => (d(), f("button", {
|
|
4435
4435
|
type: "button",
|
|
4436
|
-
onClick: (m) => Z(
|
|
4437
|
-
disabled:
|
|
4438
|
-
key:
|
|
4439
|
-
class: A(["primary-nav-link", { active:
|
|
4440
|
-
"aria-disabled":
|
|
4441
|
-
"aria-current":
|
|
4442
|
-
}, B(
|
|
4436
|
+
onClick: (m) => Z(L),
|
|
4437
|
+
disabled: L.disabled,
|
|
4438
|
+
key: L.key,
|
|
4439
|
+
class: A(["primary-nav-link", { active: v.value === L.key, "is-disabled": L.disabled }]),
|
|
4440
|
+
"aria-disabled": L.disabled || void 0,
|
|
4441
|
+
"aria-current": v.value === L.key ? "page" : void 0
|
|
4442
|
+
}, B(L.label), 11, K4))), 128))
|
|
4443
4443
|
])
|
|
4444
|
-
])) : (
|
|
4445
|
-
(
|
|
4446
|
-
key:
|
|
4444
|
+
])) : (d(), f("nav", J4, [
|
|
4445
|
+
(d(!0), f(K, null, r1(o.groups, (L) => (d(), f("section", {
|
|
4446
|
+
key: L.label,
|
|
4447
4447
|
class: "menu-section"
|
|
4448
4448
|
}, [
|
|
4449
|
-
|
|
4449
|
+
a("button", {
|
|
4450
4450
|
type: "button",
|
|
4451
4451
|
class: "section-title",
|
|
4452
|
-
"aria-expanded": !c.value.includes(
|
|
4453
|
-
onClick: (m) =>
|
|
4452
|
+
"aria-expanded": !c.value.includes(L.label),
|
|
4453
|
+
onClick: (m) => u(L.label)
|
|
4454
4454
|
}, [
|
|
4455
|
-
|
|
4455
|
+
a("span", null, B(L.label), 1),
|
|
4456
4456
|
T(x(n1), {
|
|
4457
|
-
class: A(["section-arrow", { open: !c.value.includes(
|
|
4457
|
+
class: A(["section-arrow", { open: !c.value.includes(L.label) }])
|
|
4458
4458
|
}, {
|
|
4459
4459
|
default: O(() => [
|
|
4460
4460
|
T(x(Q3))
|
|
@@ -4462,41 +4462,41 @@ const Y4 = /* @__PURE__ */ c1(j4, [["__scopeId", "data-v-d0145980"]]), Q4 = {
|
|
|
4462
4462
|
_: 1
|
|
4463
4463
|
}, 8, ["class"])
|
|
4464
4464
|
], 8, q4),
|
|
4465
|
-
|
|
4466
|
-
(
|
|
4465
|
+
S1(a("ul", _4, [
|
|
4466
|
+
(d(!0), f(K, null, r1(L.items, (m) => (d(), f("li", {
|
|
4467
4467
|
key: m.key
|
|
4468
4468
|
}, [
|
|
4469
|
-
|
|
4469
|
+
a("button", {
|
|
4470
4470
|
type: "button",
|
|
4471
4471
|
onClick: (y) => Z(m),
|
|
4472
4472
|
disabled: m.disabled,
|
|
4473
|
-
class: A(["menu-link", { active:
|
|
4473
|
+
class: A(["menu-link", { active: v.value === m.key, "is-disabled": m.disabled }]),
|
|
4474
4474
|
"aria-disabled": m.disabled || void 0,
|
|
4475
|
-
"aria-current":
|
|
4475
|
+
"aria-current": v.value === m.key ? "page" : void 0
|
|
4476
4476
|
}, [
|
|
4477
4477
|
T(x(n1), { class: "menu-icon" }, {
|
|
4478
4478
|
default: O(() => [
|
|
4479
|
-
(
|
|
4479
|
+
(d(), q(J1(m.icon || x(j2))))
|
|
4480
4480
|
]),
|
|
4481
4481
|
_: 2
|
|
4482
4482
|
}, 1024),
|
|
4483
|
-
|
|
4484
|
-
], 10,
|
|
4483
|
+
a("span", $4, B(m.label), 1)
|
|
4484
|
+
], 10, X4)
|
|
4485
4485
|
]))), 128))
|
|
4486
4486
|
], 512), [
|
|
4487
|
-
[
|
|
4487
|
+
[g2, !c.value.includes(L.label)]
|
|
4488
4488
|
])
|
|
4489
4489
|
]))), 128))
|
|
4490
4490
|
]));
|
|
4491
4491
|
}
|
|
4492
4492
|
});
|
|
4493
|
-
const e6 = /* @__PURE__ */
|
|
4493
|
+
const e6 = /* @__PURE__ */ i1(C6, [["__scopeId", "data-v-58cb5430"]]), t6 = { class: "tree-tools" }, l6 = { class: "tool-row" }, o6 = ["aria-expanded"], n6 = {
|
|
4494
4494
|
key: 0,
|
|
4495
4495
|
class: "tree-search"
|
|
4496
4496
|
}, r6 = { class: "tree-scroll" }, i6 = ["aria-expanded"], s6 = { class: "node-orb node-orb--parent" }, a6 = { class: "node-label node-label--parent" }, L6 = { class: "child-list" }, c6 = ["onClick", "aria-current", "aria-pressed"], d6 = {
|
|
4497
4497
|
key: 0,
|
|
4498
4498
|
class: "empty-menu"
|
|
4499
|
-
}, v6 = /* @__PURE__ */
|
|
4499
|
+
}, v6 = /* @__PURE__ */ Q({
|
|
4500
4500
|
__name: "MapSideMenu",
|
|
4501
4501
|
props: {
|
|
4502
4502
|
flat: { type: Boolean, default: !1 },
|
|
@@ -4508,46 +4508,46 @@ const e6 = /* @__PURE__ */ c1(C6, [["__scopeId", "data-v-58cb5430"]]), t6 = { cl
|
|
|
4508
4508
|
compact: { type: Boolean, default: !1 },
|
|
4509
4509
|
items: { default: () => [
|
|
4510
4510
|
{ key: "rain", label: "降水", icon: R3 },
|
|
4511
|
-
{ key: "reservoir-level", label: "水库水位", icon:
|
|
4512
|
-
{ key: "reservoir-flow", label: "水库径流", icon:
|
|
4513
|
-
{ key: "river-level", label: "河道水位", icon:
|
|
4514
|
-
{ key: "river-flow", label: "河道径流", icon:
|
|
4511
|
+
{ key: "reservoir-level", label: "水库水位", icon: v2 },
|
|
4512
|
+
{ key: "reservoir-flow", label: "水库径流", icon: P2 },
|
|
4513
|
+
{ key: "river-level", label: "河道水位", icon: v2 },
|
|
4514
|
+
{ key: "river-flow", label: "河道径流", icon: P2 },
|
|
4515
4515
|
{ key: "temperature", label: "气温", icon: K3 },
|
|
4516
4516
|
{ key: "wind", label: "风速", icon: J3 }
|
|
4517
4517
|
] }
|
|
4518
4518
|
},
|
|
4519
4519
|
emits: ["update:active", "update:activeKeys", "change", "update:compact", "select"],
|
|
4520
|
-
setup(
|
|
4521
|
-
const t =
|
|
4522
|
-
|
|
4523
|
-
const Z =
|
|
4524
|
-
|
|
4525
|
-
const
|
|
4520
|
+
setup(o, { emit: g }) {
|
|
4521
|
+
const t = o, w = g, v = E(t.active), c = E([...t.activeKeys]);
|
|
4522
|
+
N(() => t.activeKeys, (z) => c.value = [...z], { deep: !0 });
|
|
4523
|
+
const Z = E(t.compact), u = E(!0), V = E(!1), s = E("");
|
|
4524
|
+
N(() => t.active, (z) => v.value = z), N(() => t.compact, (z) => Z.value = z);
|
|
4525
|
+
const L = p(() => t.items.filter((z) => z.label.toLowerCase().includes(s.value.trim().toLowerCase())));
|
|
4526
4526
|
function m(z) {
|
|
4527
|
-
return t.multiple ? c.value.includes(z) :
|
|
4527
|
+
return t.multiple ? c.value.includes(z) : v.value === z;
|
|
4528
4528
|
}
|
|
4529
4529
|
function y(z) {
|
|
4530
4530
|
if (t.multiple) {
|
|
4531
4531
|
const G = c.value.includes(z.key) ? c.value.filter((P) => P !== z.key) : [.../* @__PURE__ */ new Set([...c.value, z.key])];
|
|
4532
|
-
c.value = G,
|
|
4532
|
+
c.value = G, w("update:activeKeys", [...G]), w("change", [...G]);
|
|
4533
4533
|
} else
|
|
4534
|
-
|
|
4535
|
-
|
|
4534
|
+
v.value = z.key, w("update:active", z.key), w("change", [z.key]);
|
|
4535
|
+
w("select", z);
|
|
4536
4536
|
}
|
|
4537
|
-
function
|
|
4538
|
-
Z.value = !Z.value,
|
|
4537
|
+
function R() {
|
|
4538
|
+
Z.value = !Z.value, w("update:compact", Z.value);
|
|
4539
4539
|
}
|
|
4540
|
-
return (z, G) => (
|
|
4541
|
-
class: A(["map-side-menu has-tools", { "is-flat":
|
|
4540
|
+
return (z, G) => (d(), f("nav", {
|
|
4541
|
+
class: A(["map-side-menu has-tools", { "is-flat": o.flat, "is-dark": o.dark, "is-labels-hidden": Z.value, "is-searching": V.value }]),
|
|
4542
4542
|
"aria-label": "地图胶囊菜单样式"
|
|
4543
4543
|
}, [
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4544
|
+
a("div", t6, [
|
|
4545
|
+
a("div", l6, [
|
|
4546
|
+
a("button", {
|
|
4547
4547
|
type: "button",
|
|
4548
4548
|
class: "tool-toggle",
|
|
4549
|
-
"aria-expanded":
|
|
4550
|
-
onClick: G[0] || (G[0] = (P) =>
|
|
4549
|
+
"aria-expanded": V.value,
|
|
4550
|
+
onClick: G[0] || (G[0] = (P) => V.value = !V.value)
|
|
4551
4551
|
}, [
|
|
4552
4552
|
T(x(n1), null, {
|
|
4553
4553
|
default: O(() => [
|
|
@@ -4555,89 +4555,89 @@ const e6 = /* @__PURE__ */ c1(C6, [["__scopeId", "data-v-58cb5430"]]), t6 = { cl
|
|
|
4555
4555
|
]),
|
|
4556
4556
|
_: 1
|
|
4557
4557
|
}),
|
|
4558
|
-
G[3] || (G[3] =
|
|
4558
|
+
G[3] || (G[3] = a("span", null, "搜索菜单", -1))
|
|
4559
4559
|
], 8, o6),
|
|
4560
|
-
|
|
4560
|
+
a("button", {
|
|
4561
4561
|
type: "button",
|
|
4562
4562
|
class: "tool-toggle label-toggle",
|
|
4563
4563
|
"aria-label": "切换图标模式",
|
|
4564
|
-
onClick:
|
|
4564
|
+
onClick: R
|
|
4565
4565
|
}, [
|
|
4566
4566
|
T(x(n1), null, {
|
|
4567
4567
|
default: O(() => [
|
|
4568
|
-
T(x(
|
|
4568
|
+
T(x(_3))
|
|
4569
4569
|
]),
|
|
4570
4570
|
_: 1
|
|
4571
4571
|
})
|
|
4572
4572
|
])
|
|
4573
4573
|
]),
|
|
4574
|
-
|
|
4575
|
-
|
|
4574
|
+
V.value ? (d(), f("label", n6, [
|
|
4575
|
+
S1(a("input", {
|
|
4576
4576
|
"onUpdate:modelValue": G[1] || (G[1] = (P) => s.value = P),
|
|
4577
4577
|
placeholder: "搜索菜单项"
|
|
4578
4578
|
}, null, 512), [
|
|
4579
|
-
[
|
|
4579
|
+
[W2, s.value]
|
|
4580
4580
|
])
|
|
4581
|
-
])) :
|
|
4581
|
+
])) : W("", !0)
|
|
4582
4582
|
]),
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
class: A(["tree-section", { "is-open":
|
|
4583
|
+
a("div", r6, [
|
|
4584
|
+
a("section", {
|
|
4585
|
+
class: A(["tree-section", { "is-open": u.value }])
|
|
4586
4586
|
}, [
|
|
4587
|
-
|
|
4587
|
+
o.flat ? W("", !0) : (d(), f("button", {
|
|
4588
4588
|
key: 0,
|
|
4589
4589
|
type: "button",
|
|
4590
4590
|
class: "tree-node tree-node--parent active",
|
|
4591
|
-
"aria-expanded":
|
|
4592
|
-
onClick: G[2] || (G[2] = (P) =>
|
|
4591
|
+
"aria-expanded": u.value,
|
|
4592
|
+
onClick: G[2] || (G[2] = (P) => u.value = !u.value)
|
|
4593
4593
|
}, [
|
|
4594
|
-
|
|
4594
|
+
a("span", s6, [
|
|
4595
4595
|
T(x(n1), null, {
|
|
4596
4596
|
default: O(() => [
|
|
4597
|
-
T(x(
|
|
4597
|
+
T(x(X3))
|
|
4598
4598
|
]),
|
|
4599
4599
|
_: 1
|
|
4600
4600
|
})
|
|
4601
4601
|
]),
|
|
4602
|
-
|
|
4602
|
+
a("span", a6, B(o.title), 1)
|
|
4603
4603
|
], 8, i6)),
|
|
4604
|
-
|
|
4605
|
-
(
|
|
4604
|
+
S1(a("div", L6, [
|
|
4605
|
+
(d(!0), f(K, null, r1(L.value, (P) => (d(), f("button", {
|
|
4606
4606
|
type: "button",
|
|
4607
4607
|
onClick: (C1) => y(P),
|
|
4608
4608
|
key: P.key,
|
|
4609
|
-
class: A(["tree-node", [
|
|
4610
|
-
"aria-current": !
|
|
4611
|
-
"aria-pressed":
|
|
4609
|
+
class: A(["tree-node", [o.flat ? "tree-node--parent" : "tree-node--child", { active: m(P.key) }]]),
|
|
4610
|
+
"aria-current": !o.multiple && m(P.key) ? "page" : void 0,
|
|
4611
|
+
"aria-pressed": o.multiple ? m(P.key) : void 0
|
|
4612
4612
|
}, [
|
|
4613
|
-
|
|
4614
|
-
class: A(["node-orb",
|
|
4613
|
+
a("span", {
|
|
4614
|
+
class: A(["node-orb", o.flat ? "node-orb--parent" : "node-orb--child"])
|
|
4615
4615
|
}, [
|
|
4616
4616
|
T(x(n1), null, {
|
|
4617
4617
|
default: O(() => [
|
|
4618
|
-
(
|
|
4618
|
+
(d(), q(J1(P.icon || x(v2))))
|
|
4619
4619
|
]),
|
|
4620
4620
|
_: 2
|
|
4621
4621
|
}, 1024)
|
|
4622
4622
|
], 2),
|
|
4623
|
-
|
|
4624
|
-
class: A(["node-label",
|
|
4623
|
+
a("span", {
|
|
4624
|
+
class: A(["node-label", o.flat ? "node-label--parent" : "node-label--child"])
|
|
4625
4625
|
}, B(P.label), 3)
|
|
4626
4626
|
], 10, c6))), 128)),
|
|
4627
|
-
|
|
4627
|
+
L.value.length ? W("", !0) : (d(), f("span", d6, "未找到匹配菜单"))
|
|
4628
4628
|
], 512), [
|
|
4629
|
-
[
|
|
4629
|
+
[g2, o.flat || u.value]
|
|
4630
4630
|
])
|
|
4631
4631
|
], 2)
|
|
4632
4632
|
])
|
|
4633
4633
|
], 2));
|
|
4634
4634
|
}
|
|
4635
4635
|
});
|
|
4636
|
-
const h6 = /* @__PURE__ */
|
|
4636
|
+
const h6 = /* @__PURE__ */ i1(v6, [["__scopeId", "data-v-32ee36c8"]]), g6 = {
|
|
4637
4637
|
class: "map-toolbar__buttons",
|
|
4638
4638
|
role: "group",
|
|
4639
4639
|
"aria-label": "地图工具样式"
|
|
4640
|
-
}, w6 = ["onClick", "title", "aria-label"], p6 = /* @__PURE__ */
|
|
4640
|
+
}, w6 = ["onClick", "title", "aria-label"], p6 = /* @__PURE__ */ Q({
|
|
4641
4641
|
__name: "MapTools",
|
|
4642
4642
|
props: {
|
|
4643
4643
|
active: { default: "layers" },
|
|
@@ -4646,35 +4646,35 @@ const h6 = /* @__PURE__ */ c1(v6, [["__scopeId", "data-v-32ee36c8"]]), g6 = {
|
|
|
4646
4646
|
items: {}
|
|
4647
4647
|
},
|
|
4648
4648
|
emits: ["update:active", "tool-click", "context-change"],
|
|
4649
|
-
setup(
|
|
4650
|
-
const t =
|
|
4649
|
+
setup(o, { emit: g }) {
|
|
4650
|
+
const t = o, w = [
|
|
4651
4651
|
{ key: "layers", label: "图层", icon: $3 },
|
|
4652
4652
|
{ key: "module", label: "模块操作", icon: C4 },
|
|
4653
|
-
{ key: "refresh", label: "刷新", icon:
|
|
4653
|
+
{ key: "refresh", label: "刷新", icon: N2 },
|
|
4654
4654
|
{ key: "locate", label: "定位", icon: e4 },
|
|
4655
4655
|
{ key: "settings", label: "地图设置", icon: t4 },
|
|
4656
|
-
{ key: "analysis", label: "空间分析", icon:
|
|
4656
|
+
{ key: "analysis", label: "空间分析", icon: j2 },
|
|
4657
4657
|
{ key: "context", label: "右键菜单", icon: l4 }
|
|
4658
|
-
],
|
|
4659
|
-
|
|
4660
|
-
function
|
|
4661
|
-
s === "context" ? (
|
|
4658
|
+
], v = p(() => t.items ?? w), c = g, Z = E(t.active), u = E(!1);
|
|
4659
|
+
N(() => t.active, (s) => Z.value = s);
|
|
4660
|
+
function V(s) {
|
|
4661
|
+
s === "context" ? (u.value = !u.value, c("context-change", u.value)) : s !== "refresh" && s !== "locate" && (Z.value = Z.value === s ? "" : s, c("update:active", Z.value)), c("tool-click", s);
|
|
4662
4662
|
}
|
|
4663
|
-
return (s,
|
|
4664
|
-
class: A(["map-toolbar", { horizontal:
|
|
4663
|
+
return (s, L) => (d(), f("div", {
|
|
4664
|
+
class: A(["map-toolbar", { horizontal: o.horizontal }])
|
|
4665
4665
|
}, [
|
|
4666
|
-
|
|
4667
|
-
(
|
|
4666
|
+
a("div", g6, [
|
|
4667
|
+
(d(!0), f(K, null, r1(v.value, (m) => (d(), f("button", {
|
|
4668
4668
|
type: "button",
|
|
4669
|
-
onClick: (y) =>
|
|
4669
|
+
onClick: (y) => V(m.key),
|
|
4670
4670
|
key: m.key,
|
|
4671
|
-
class: A(["tool-button", { "is-active": m.key === "context" ?
|
|
4671
|
+
class: A(["tool-button", { "is-active": m.key === "context" ? u.value : Z.value === m.key }]),
|
|
4672
4672
|
title: m.label,
|
|
4673
4673
|
"aria-label": m.label
|
|
4674
4674
|
}, [
|
|
4675
4675
|
T(x(n1), null, {
|
|
4676
4676
|
default: O(() => [
|
|
4677
|
-
(
|
|
4677
|
+
(d(), q(J1(o.icons[m.key] || m.icon)))
|
|
4678
4678
|
]),
|
|
4679
4679
|
_: 2
|
|
4680
4680
|
}, 1024)
|
|
@@ -4683,23 +4683,23 @@ const h6 = /* @__PURE__ */ c1(v6, [["__scopeId", "data-v-32ee36c8"]]), g6 = {
|
|
|
4683
4683
|
], 2));
|
|
4684
4684
|
}
|
|
4685
4685
|
});
|
|
4686
|
-
const
|
|
4686
|
+
const u6 = /* @__PURE__ */ i1(p6, [["__scopeId", "data-v-fb28ec7d"]]), M6 = { key: 0 }, V6 = /* @__PURE__ */ Q({
|
|
4687
4687
|
__name: "AtlasMapTitle",
|
|
4688
4688
|
props: {
|
|
4689
4689
|
title: {},
|
|
4690
4690
|
subtitle: { default: "" },
|
|
4691
4691
|
rightOpen: { type: Boolean, default: !1 }
|
|
4692
4692
|
},
|
|
4693
|
-
setup(
|
|
4694
|
-
return (
|
|
4695
|
-
class: A(["atlas-map-title", { "is-right-open":
|
|
4693
|
+
setup(o) {
|
|
4694
|
+
return (g, t) => (d(), f("div", {
|
|
4695
|
+
class: A(["atlas-map-title", { "is-right-open": o.rightOpen }])
|
|
4696
4696
|
}, [
|
|
4697
|
-
|
|
4698
|
-
|
|
4697
|
+
a("h2", null, B(o.title), 1),
|
|
4698
|
+
o.subtitle ? (d(), f("p", M6, B(o.subtitle), 1)) : W("", !0)
|
|
4699
4699
|
], 2));
|
|
4700
4700
|
}
|
|
4701
4701
|
});
|
|
4702
|
-
const f6 = /* @__PURE__ */
|
|
4702
|
+
const f6 = /* @__PURE__ */ i1(V6, [["__scopeId", "data-v-3eb3cdeb"]]), Z6 = ["title", "aria-label"], m6 = /* @__PURE__ */ Q({
|
|
4703
4703
|
__name: "AtlasRightToggleButton",
|
|
4704
4704
|
props: {
|
|
4705
4705
|
open: { type: Boolean, default: !1 },
|
|
@@ -4707,100 +4707,100 @@ const f6 = /* @__PURE__ */ c1(V6, [["__scopeId", "data-v-3eb3cdeb"]]), Z6 = ["ti
|
|
|
4707
4707
|
closeTitle: { default: "收起右侧面板" }
|
|
4708
4708
|
},
|
|
4709
4709
|
emits: ["toggle"],
|
|
4710
|
-
setup(
|
|
4711
|
-
return (
|
|
4710
|
+
setup(o) {
|
|
4711
|
+
return (g, t) => (d(), f("button", {
|
|
4712
4712
|
type: "button",
|
|
4713
|
-
class: A(["atlas-right-toggle-button", { "is-open":
|
|
4714
|
-
title:
|
|
4715
|
-
"aria-label":
|
|
4716
|
-
onClick: t[0] || (t[0] = (
|
|
4713
|
+
class: A(["atlas-right-toggle-button", { "is-open": o.open }]),
|
|
4714
|
+
title: o.open ? o.closeTitle : o.openTitle,
|
|
4715
|
+
"aria-label": o.open ? o.closeTitle : o.openTitle,
|
|
4716
|
+
onClick: t[0] || (t[0] = (w) => g.$emit("toggle"))
|
|
4717
4717
|
}, [
|
|
4718
4718
|
T(x(n1), null, {
|
|
4719
4719
|
default: O(() => [
|
|
4720
|
-
|
|
4720
|
+
o.open ? (d(), q(x(o4), { key: 0 })) : (d(), q(x(n4), { key: 1 }))
|
|
4721
4721
|
]),
|
|
4722
4722
|
_: 1
|
|
4723
4723
|
})
|
|
4724
4724
|
], 10, Z6));
|
|
4725
4725
|
}
|
|
4726
4726
|
});
|
|
4727
|
-
const H6 = /* @__PURE__ */
|
|
4727
|
+
const H6 = /* @__PURE__ */ i1(m6, [["__scopeId", "data-v-dde1443b"]]), x6 = { class: "process-data-table" }, D6 = { key: 0 }, y6 = { class: "process-data-table__scroll" }, z6 = { key: 0 }, k6 = { class: "process-data-table__pages" }, B6 = ["disabled"], T6 = ["disabled"], E6 = /* @__PURE__ */ Q({
|
|
4728
4728
|
__name: "ProcessDataTable",
|
|
4729
4729
|
props: {
|
|
4730
4730
|
times: {},
|
|
4731
4731
|
series: {},
|
|
4732
4732
|
loading: { type: Boolean }
|
|
4733
4733
|
},
|
|
4734
|
-
setup(
|
|
4735
|
-
const
|
|
4736
|
-
return
|
|
4734
|
+
setup(o) {
|
|
4735
|
+
const g = o, t = E(0), w = p(() => t.value * 100), v = p(() => Math.max(1, Math.ceil(g.times.length / 100))), c = p(() => g.times.slice(w.value, w.value + 100));
|
|
4736
|
+
return N(() => g.times, () => {
|
|
4737
4737
|
t.value = 0;
|
|
4738
|
-
}), (Z,
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
(
|
|
4738
|
+
}), (Z, u) => (d(), f("div", x6, [
|
|
4739
|
+
o.loading ? (d(), f("p", D6, "查询中…")) : (d(), f(K, { key: 1 }, [
|
|
4740
|
+
a("div", y6, [
|
|
4741
|
+
a("table", null, [
|
|
4742
|
+
a("thead", null, [
|
|
4743
|
+
a("tr", null, [
|
|
4744
|
+
u[2] || (u[2] = a("th", null, "时间", -1)),
|
|
4745
|
+
(d(!0), f(K, null, r1(o.series, (V, s) => (d(), f("th", { key: s }, B(V.name), 1))), 128))
|
|
4746
4746
|
])
|
|
4747
4747
|
]),
|
|
4748
|
-
|
|
4749
|
-
(
|
|
4750
|
-
|
|
4751
|
-
(
|
|
4748
|
+
a("tbody", null, [
|
|
4749
|
+
(d(!0), f(K, null, r1(c.value, (V, s) => (d(), f("tr", { key: V }, [
|
|
4750
|
+
a("th", null, B(V), 1),
|
|
4751
|
+
(d(!0), f(K, null, r1(o.series, (L, m) => (d(), f("td", { key: m }, B(L.data[w.value + s] ?? "—"), 1))), 128))
|
|
4752
4752
|
]))), 128))
|
|
4753
4753
|
])
|
|
4754
4754
|
]),
|
|
4755
|
-
|
|
4755
|
+
o.times.length ? W("", !0) : (d(), f("p", z6, "暂无数据"))
|
|
4756
4756
|
]),
|
|
4757
|
-
|
|
4758
|
-
|
|
4757
|
+
a("div", k6, [
|
|
4758
|
+
a("button", {
|
|
4759
4759
|
type: "button",
|
|
4760
4760
|
disabled: t.value === 0,
|
|
4761
|
-
onClick:
|
|
4761
|
+
onClick: u[0] || (u[0] = (V) => t.value--)
|
|
4762
4762
|
}, "上一页", 8, B6),
|
|
4763
|
-
|
|
4764
|
-
|
|
4763
|
+
a("span", null, B(t.value + 1) + " / " + B(v.value) + " · 共 " + B(o.times.length) + " 条", 1),
|
|
4764
|
+
a("button", {
|
|
4765
4765
|
type: "button",
|
|
4766
|
-
disabled: t.value + 1 >=
|
|
4767
|
-
onClick:
|
|
4766
|
+
disabled: t.value + 1 >= v.value,
|
|
4767
|
+
onClick: u[1] || (u[1] = (V) => t.value++)
|
|
4768
4768
|
}, "下一页", 8, T6)
|
|
4769
4769
|
])
|
|
4770
4770
|
], 64))
|
|
4771
4771
|
]));
|
|
4772
4772
|
}
|
|
4773
4773
|
});
|
|
4774
|
-
const S6 = /* @__PURE__ */
|
|
4774
|
+
const S6 = /* @__PURE__ */ i1(E6, [["__scopeId", "data-v-c7c380b1"]]), A6 = /* @__PURE__ */ Q({
|
|
4775
4775
|
__name: "WorkbenchShell",
|
|
4776
4776
|
props: {
|
|
4777
4777
|
collapsed: { type: Boolean, default: !1 }
|
|
4778
4778
|
},
|
|
4779
|
-
setup(
|
|
4780
|
-
return (
|
|
4781
|
-
class: A(["sky-workbench app-shell", { "sidebar-hidden":
|
|
4779
|
+
setup(o) {
|
|
4780
|
+
return (g, t) => (d(), f("div", {
|
|
4781
|
+
class: A(["sky-workbench app-shell", { "sidebar-hidden": o.collapsed }])
|
|
4782
4782
|
}, [
|
|
4783
|
-
|
|
4783
|
+
d1(g.$slots, "default")
|
|
4784
4784
|
], 2));
|
|
4785
4785
|
}
|
|
4786
4786
|
});
|
|
4787
|
-
const b6 = /* @__PURE__ */
|
|
4787
|
+
const b6 = /* @__PURE__ */ Q({
|
|
4788
4788
|
__name: "WorkbenchPanel",
|
|
4789
4789
|
props: {
|
|
4790
4790
|
as: { default: "section" },
|
|
4791
4791
|
floating: { type: Boolean, default: !0 }
|
|
4792
4792
|
},
|
|
4793
|
-
setup(
|
|
4794
|
-
return (
|
|
4795
|
-
class: A(["sky-workbench-panel", { floating:
|
|
4793
|
+
setup(o) {
|
|
4794
|
+
return (g, t) => (d(), q(J1(o.as), {
|
|
4795
|
+
class: A(["sky-workbench-panel", { floating: o.floating }])
|
|
4796
4796
|
}, {
|
|
4797
4797
|
default: O(() => [
|
|
4798
|
-
|
|
4798
|
+
d1(g.$slots, "default")
|
|
4799
4799
|
]),
|
|
4800
4800
|
_: 3
|
|
4801
4801
|
}, 8, ["class"]));
|
|
4802
4802
|
}
|
|
4803
|
-
}), F6 = { class: "metric" }, U6 = { key: 0 }, P6 = /* @__PURE__ */
|
|
4803
|
+
}), F6 = { class: "metric" }, U6 = { key: 0 }, P6 = /* @__PURE__ */ Q({
|
|
4804
4804
|
__name: "MetricCard",
|
|
4805
4805
|
props: {
|
|
4806
4806
|
label: {},
|
|
@@ -4809,63 +4809,64 @@ const b6 = /* @__PURE__ */ K({
|
|
|
4809
4809
|
tone: { default: "blue" },
|
|
4810
4810
|
compact: { type: Boolean, default: !1 }
|
|
4811
4811
|
},
|
|
4812
|
-
setup(
|
|
4813
|
-
return (
|
|
4814
|
-
|
|
4812
|
+
setup(o) {
|
|
4813
|
+
return (g, t) => (d(), f("div", F6, [
|
|
4814
|
+
g.$slots.icon ? (d(), f("span", {
|
|
4815
4815
|
key: 0,
|
|
4816
|
-
class: A(["metric-icon",
|
|
4816
|
+
class: A(["metric-icon", o.tone])
|
|
4817
4817
|
}, [
|
|
4818
|
-
|
|
4819
|
-
], 2)) :
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
class: A({ "batch-number":
|
|
4818
|
+
d1(g.$slots, "icon")
|
|
4819
|
+
], 2)) : W("", !0),
|
|
4820
|
+
a("div", null, [
|
|
4821
|
+
a("span", null, B(o.label), 1),
|
|
4822
|
+
a("strong", {
|
|
4823
|
+
class: A({ "batch-number": o.compact })
|
|
4824
4824
|
}, [
|
|
4825
|
-
|
|
4826
|
-
|
|
4825
|
+
y1(B(o.value), 1),
|
|
4826
|
+
o.unit ? (d(), f("small", U6, B(o.unit), 1)) : W("", !0)
|
|
4827
4827
|
], 2)
|
|
4828
4828
|
])
|
|
4829
4829
|
]));
|
|
4830
4830
|
}
|
|
4831
|
-
}), G6 = ["aria-label"], I6 = /* @__PURE__ */
|
|
4831
|
+
}), G6 = ["aria-label"], I6 = /* @__PURE__ */ Q({
|
|
4832
4832
|
__name: "ProcessChart",
|
|
4833
4833
|
props: {
|
|
4834
4834
|
rows: {},
|
|
4835
4835
|
engine: {},
|
|
4836
4836
|
kind: { default: "rain" },
|
|
4837
|
-
unit: { default: "" }
|
|
4837
|
+
unit: { default: "" },
|
|
4838
|
+
label: {}
|
|
4838
4839
|
},
|
|
4839
|
-
setup(
|
|
4840
|
-
const
|
|
4841
|
-
let
|
|
4840
|
+
setup(o) {
|
|
4841
|
+
const g = o, t = E();
|
|
4842
|
+
let w, v, c;
|
|
4842
4843
|
function Z() {
|
|
4843
|
-
if (!
|
|
4844
|
+
if (!w || !t.value)
|
|
4844
4845
|
return;
|
|
4845
|
-
const
|
|
4846
|
-
|
|
4846
|
+
const u = getComputedStyle(t.value), V = (y, R) => u.getPropertyValue(y).trim() || R, s = V("--userssite-color-primary", "#1677ff"), L = V("--userssite-color-muted", "#75869b"), m = V("--userssite-color-border", "#e3eaf3");
|
|
4847
|
+
w.setOption({
|
|
4847
4848
|
animation: !1,
|
|
4848
4849
|
grid: { left: 48, right: 24, top: 28, bottom: 42 },
|
|
4849
|
-
tooltip: { trigger: "axis", backgroundColor:
|
|
4850
|
-
xAxis: { type: "category", data:
|
|
4851
|
-
yAxis: { type: "value", name:
|
|
4850
|
+
tooltip: { trigger: "axis", backgroundColor: V("--userssite-color-panel", "#fff"), borderColor: m, textStyle: { color: V("--userssite-color-text", "#1f2937") }, valueFormatter: (y) => y === null ? "缺测" : `${y} ${g.unit}` },
|
|
4851
|
+
xAxis: { type: "category", data: g.rows.map((y) => y.time), axisLabel: { color: L, hideOverlap: !0, formatter: (y) => y.replace("T", " ").slice(5, 16) }, axisLine: { lineStyle: { color: m } }, axisTick: { show: !1 } },
|
|
4852
|
+
yAxis: { type: "value", name: g.unit, nameTextStyle: { color: L }, splitLine: { lineStyle: { color: m, type: "dashed" } }, axisLabel: { color: L } },
|
|
4852
4853
|
dataZoom: [{ type: "inside" }],
|
|
4853
|
-
series: [{ type:
|
|
4854
|
+
series: [{ type: g.kind === "rain" ? "bar" : "line", data: g.rows.map((y) => y.value), showSymbol: !1, connectNulls: !1, barMaxWidth: 12, itemStyle: { color: s, borderRadius: [3, 3, 0, 0] }, lineStyle: { width: 2.5, color: s }, areaStyle: g.kind === "rain" ? void 0 : { color: s, opacity: 0.08 } }]
|
|
4854
4855
|
}, !0);
|
|
4855
4856
|
}
|
|
4856
|
-
return
|
|
4857
|
-
t.value && (
|
|
4858
|
-
}),
|
|
4859
|
-
|
|
4860
|
-
}), (
|
|
4857
|
+
return A1(() => {
|
|
4858
|
+
t.value && (w = g.engine.init(t.value), v = new ResizeObserver(() => w == null ? void 0 : w.resize()), v.observe(t.value), c = new MutationObserver(Z), c.observe(document.documentElement, { attributes: !0, attributeFilter: ["class", "style"] }), Z());
|
|
4859
|
+
}), N(() => [g.rows, g.kind, g.unit], Z, { deep: !0 }), K1(() => {
|
|
4860
|
+
v == null || v.disconnect(), c == null || c.disconnect(), w == null || w.dispose();
|
|
4861
|
+
}), (u, V) => (d(), f("div", {
|
|
4861
4862
|
ref_key: "element",
|
|
4862
4863
|
ref: t,
|
|
4863
4864
|
class: "chart-canvas",
|
|
4864
4865
|
role: "img",
|
|
4865
|
-
"aria-label": `${
|
|
4866
|
+
"aria-label": `${o.label || (o.kind === "rain" ? "降雨" : o.kind === "flow" ? "流量" : "数据")}过程图,共 ${o.rows.length} 条记录,单位 ${o.unit}`
|
|
4866
4867
|
}, null, 8, G6));
|
|
4867
4868
|
}
|
|
4868
|
-
}), O6 = { class: "sky-layer-control" }, W6 = { class: "sky-layer-section" }, N6 = { class: "sky-layer-section" }, j6 = { class: "sky-layer-heading" }, Y6 = { class: "sky-layer-row" }, Q6 = /* @__PURE__ */
|
|
4869
|
+
}), O6 = { class: "sky-layer-control" }, W6 = { class: "sky-layer-section" }, N6 = { class: "sky-layer-section" }, j6 = { class: "sky-layer-heading" }, Y6 = { class: "sky-layer-row" }, Q6 = /* @__PURE__ */ Q({
|
|
4869
4870
|
__name: "MapLayerControl",
|
|
4870
4871
|
props: {
|
|
4871
4872
|
nodes: {},
|
|
@@ -4873,288 +4874,346 @@ const b6 = /* @__PURE__ */ K({
|
|
|
4873
4874
|
annotation: { type: Boolean, default: !0 }
|
|
4874
4875
|
},
|
|
4875
4876
|
emits: ["update:basemap", "update:annotation", "visibility", "opacity", "move", "remove", "locate", "close"],
|
|
4876
|
-
setup(
|
|
4877
|
-
const t =
|
|
4878
|
-
function
|
|
4879
|
-
t("move",
|
|
4877
|
+
setup(o, { emit: g }) {
|
|
4878
|
+
const t = g, w = E(), v = E(""), c = E(!1), Z = (V, s) => !V || String(s.name).includes(V);
|
|
4879
|
+
function u(V, s, L) {
|
|
4880
|
+
t("move", V.data.id, s.data.id, L);
|
|
4880
4881
|
}
|
|
4881
|
-
return (
|
|
4882
|
-
|
|
4883
|
-
s[7] || (s[7] =
|
|
4884
|
-
T(x(
|
|
4882
|
+
return (V, s) => (d(), f("section", O6, [
|
|
4883
|
+
a("header", null, [
|
|
4884
|
+
s[7] || (s[7] = a("strong", null, "图层控制", -1)),
|
|
4885
|
+
T(x(Y1), {
|
|
4885
4886
|
text: "",
|
|
4886
4887
|
"aria-label": "关闭图层面板",
|
|
4887
|
-
onClick: s[0] || (s[0] = (
|
|
4888
|
+
onClick: s[0] || (s[0] = (L) => t("close"))
|
|
4888
4889
|
}, {
|
|
4889
4890
|
default: O(() => [...s[6] || (s[6] = [
|
|
4890
|
-
|
|
4891
|
+
y1("×", -1)
|
|
4891
4892
|
])]),
|
|
4892
4893
|
_: 1
|
|
4893
4894
|
})
|
|
4894
4895
|
]),
|
|
4895
|
-
|
|
4896
|
-
s[9] || (s[9] =
|
|
4897
|
-
T(x(
|
|
4898
|
-
"model-value":
|
|
4896
|
+
a("div", W6, [
|
|
4897
|
+
s[9] || (s[9] = a("strong", null, "底图", -1)),
|
|
4898
|
+
T(x(F3), {
|
|
4899
|
+
"model-value": o.basemap,
|
|
4899
4900
|
"aria-label": "底图类型",
|
|
4900
|
-
"onUpdate:modelValue": s[1] || (s[1] = (
|
|
4901
|
+
"onUpdate:modelValue": s[1] || (s[1] = (L) => t("update:basemap", L))
|
|
4901
4902
|
}, {
|
|
4902
4903
|
default: O(() => [
|
|
4903
|
-
T(x(
|
|
4904
|
+
T(x(Q1), {
|
|
4904
4905
|
label: "天地图影像",
|
|
4905
4906
|
value: "imagery"
|
|
4906
4907
|
}),
|
|
4907
|
-
T(x(
|
|
4908
|
+
T(x(Q1), {
|
|
4908
4909
|
label: "天地图矢量",
|
|
4909
4910
|
value: "street"
|
|
4910
4911
|
}),
|
|
4911
|
-
T(x(
|
|
4912
|
+
T(x(Q1), {
|
|
4912
4913
|
label: "天地图地形",
|
|
4913
4914
|
value: "terrain"
|
|
4914
4915
|
}),
|
|
4915
|
-
T(x(
|
|
4916
|
+
T(x(Q1), {
|
|
4916
4917
|
label: "无底图",
|
|
4917
4918
|
value: "none"
|
|
4918
4919
|
})
|
|
4919
4920
|
]),
|
|
4920
4921
|
_: 1
|
|
4921
4922
|
}, 8, ["model-value"]),
|
|
4922
|
-
T(x(
|
|
4923
|
-
"model-value":
|
|
4924
|
-
"onUpdate:modelValue": s[2] || (s[2] = (
|
|
4923
|
+
T(x(F2), {
|
|
4924
|
+
"model-value": o.annotation,
|
|
4925
|
+
"onUpdate:modelValue": s[2] || (s[2] = (L) => t("update:annotation", !!L))
|
|
4925
4926
|
}, {
|
|
4926
4927
|
default: O(() => [...s[8] || (s[8] = [
|
|
4927
|
-
|
|
4928
|
+
y1("地名注记", -1)
|
|
4928
4929
|
])]),
|
|
4929
4930
|
_: 1
|
|
4930
4931
|
}, 8, ["model-value"])
|
|
4931
4932
|
]),
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
s[10] || (s[10] =
|
|
4935
|
-
T(x(
|
|
4933
|
+
a("div", N6, [
|
|
4934
|
+
a("div", j6, [
|
|
4935
|
+
s[10] || (s[10] = a("strong", null, "参考与业务图层", -1)),
|
|
4936
|
+
T(x(Y1), {
|
|
4936
4937
|
text: "",
|
|
4937
4938
|
type: c.value ? "primary" : "default",
|
|
4938
|
-
onClick: s[3] || (s[3] = (
|
|
4939
|
+
onClick: s[3] || (s[3] = (L) => c.value = !c.value)
|
|
4939
4940
|
}, {
|
|
4940
4941
|
default: O(() => [
|
|
4941
|
-
|
|
4942
|
+
y1(B(c.value ? "完成排序" : "拖拽排序"), 1)
|
|
4942
4943
|
]),
|
|
4943
4944
|
_: 1
|
|
4944
4945
|
}, 8, ["type"])
|
|
4945
4946
|
]),
|
|
4946
|
-
T(x(
|
|
4947
|
-
modelValue:
|
|
4948
|
-
"onUpdate:modelValue": s[4] || (s[4] = (
|
|
4947
|
+
T(x(U3), {
|
|
4948
|
+
modelValue: v.value,
|
|
4949
|
+
"onUpdate:modelValue": s[4] || (s[4] = (L) => v.value = L),
|
|
4949
4950
|
placeholder: "搜索图层",
|
|
4950
4951
|
clearable: "",
|
|
4951
|
-
onInput: s[5] || (s[5] = (
|
|
4952
|
+
onInput: s[5] || (s[5] = (L) => {
|
|
4952
4953
|
var m;
|
|
4953
|
-
return (m =
|
|
4954
|
+
return (m = w.value) == null ? void 0 : m.filter(v.value);
|
|
4954
4955
|
})
|
|
4955
4956
|
}, null, 8, ["modelValue"]),
|
|
4956
|
-
T(x(
|
|
4957
|
+
T(x(I2), {
|
|
4957
4958
|
ref_key: "tree",
|
|
4958
|
-
ref:
|
|
4959
|
-
data:
|
|
4959
|
+
ref: w,
|
|
4960
|
+
data: o.nodes,
|
|
4960
4961
|
"node-key": "id",
|
|
4961
4962
|
props: { label: "name", children: "children" },
|
|
4962
4963
|
"default-expand-all": "",
|
|
4963
4964
|
"filter-node-method": Z,
|
|
4964
4965
|
draggable: c.value,
|
|
4965
|
-
"allow-drag": (
|
|
4966
|
-
"allow-drop": (
|
|
4967
|
-
onNodeDrop:
|
|
4966
|
+
"allow-drag": (L) => !L.data.disabled,
|
|
4967
|
+
"allow-drop": (L, m, y) => y !== "inner" && !m.data.disabled,
|
|
4968
|
+
onNodeDrop: u
|
|
4968
4969
|
}, {
|
|
4969
|
-
default: O(({ data:
|
|
4970
|
-
|
|
4971
|
-
T(x(
|
|
4972
|
-
"model-value": !!
|
|
4973
|
-
disabled:
|
|
4974
|
-
"aria-label":
|
|
4975
|
-
"onUpdate:modelValue": (m) => t("visibility",
|
|
4970
|
+
default: O(({ data: L }) => [
|
|
4971
|
+
a("div", Y6, [
|
|
4972
|
+
T(x(F2), {
|
|
4973
|
+
"model-value": !!L.visible,
|
|
4974
|
+
disabled: L.disabled,
|
|
4975
|
+
"aria-label": L.name,
|
|
4976
|
+
"onUpdate:modelValue": (m) => t("visibility", L, !!m)
|
|
4976
4977
|
}, null, 8, ["model-value", "disabled", "aria-label", "onUpdate:modelValue"]),
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
T(x(
|
|
4978
|
+
a("span", null, B(L.name), 1),
|
|
4979
|
+
L.children ? W("", !0) : (d(), f(K, { key: 0 }, [
|
|
4980
|
+
T(x(Y1), {
|
|
4980
4981
|
text: "",
|
|
4981
|
-
disabled:
|
|
4982
|
-
"aria-label": "定位" +
|
|
4983
|
-
onClick: o1((m) => t("locate",
|
|
4982
|
+
disabled: L.disabled,
|
|
4983
|
+
"aria-label": "定位" + L.name,
|
|
4984
|
+
onClick: o1((m) => t("locate", L), ["stop"])
|
|
4984
4985
|
}, {
|
|
4985
4986
|
default: O(() => [...s[11] || (s[11] = [
|
|
4986
|
-
|
|
4987
|
+
y1("⌖", -1)
|
|
4987
4988
|
])]),
|
|
4988
4989
|
_: 1
|
|
4989
4990
|
}, 8, ["disabled", "aria-label", "onClick"]),
|
|
4990
|
-
|
|
4991
|
+
L.removable ? (d(), q(x(Y1), {
|
|
4991
4992
|
key: 0,
|
|
4992
4993
|
text: "",
|
|
4993
|
-
"aria-label": "移除" +
|
|
4994
|
-
onClick: o1((m) => t("remove",
|
|
4994
|
+
"aria-label": "移除" + L.name,
|
|
4995
|
+
onClick: o1((m) => t("remove", L), ["stop"])
|
|
4995
4996
|
}, {
|
|
4996
4997
|
default: O(() => [...s[12] || (s[12] = [
|
|
4997
|
-
|
|
4998
|
+
y1("×", -1)
|
|
4998
4999
|
])]),
|
|
4999
5000
|
_: 1
|
|
5000
|
-
}, 8, ["aria-label", "onClick"])) :
|
|
5001
|
+
}, 8, ["aria-label", "onClick"])) : W("", !0)
|
|
5001
5002
|
], 64))
|
|
5002
5003
|
])
|
|
5003
5004
|
]),
|
|
5004
5005
|
_: 1
|
|
5005
5006
|
}, 8, ["data", "draggable", "allow-drag", "allow-drop"]),
|
|
5006
|
-
(
|
|
5007
|
-
key:
|
|
5007
|
+
(d(!0), f(K, null, r1(o.nodes.filter((L) => !L.children && !L.disabled), (L) => (d(), f("div", {
|
|
5008
|
+
key: L.id,
|
|
5008
5009
|
class: "sky-layer-opacity"
|
|
5009
5010
|
}, [
|
|
5010
|
-
|
|
5011
|
-
T(x(
|
|
5012
|
-
"model-value":
|
|
5013
|
-
"aria-label":
|
|
5014
|
-
"onUpdate:modelValue": (m) => t("opacity",
|
|
5011
|
+
a("span", null, B(L.name) + "透明度", 1),
|
|
5012
|
+
T(x(P3), {
|
|
5013
|
+
"model-value": L.opacity ?? 100,
|
|
5014
|
+
"aria-label": L.name + "透明度",
|
|
5015
|
+
"onUpdate:modelValue": (m) => t("opacity", L, Number(m))
|
|
5015
5016
|
}, null, 8, ["model-value", "aria-label", "onUpdate:modelValue"])
|
|
5016
5017
|
]))), 128))
|
|
5017
5018
|
]),
|
|
5018
|
-
s[13] || (s[13] =
|
|
5019
|
+
s[13] || (s[13] = a("footer", null, "图层顺序由上到下 · 分组支持整体显隐", -1))
|
|
5019
5020
|
]));
|
|
5020
5021
|
}
|
|
5021
5022
|
});
|
|
5022
|
-
const R6 = /* @__PURE__ */
|
|
5023
|
+
const R6 = /* @__PURE__ */ i1(Q6, [["__scopeId", "data-v-4ecd4fde"]]), K6 = {
|
|
5024
|
+
key: 0,
|
|
5025
|
+
class: "sky-template-layout__top"
|
|
5026
|
+
}, J6 = {
|
|
5027
|
+
key: 1,
|
|
5028
|
+
class: "sky-template-layout__toolbar"
|
|
5029
|
+
}, q6 = { class: "sky-template-layout__right" }, _6 = {
|
|
5030
|
+
key: 2,
|
|
5031
|
+
class: "sky-template-layout__legend"
|
|
5032
|
+
}, X6 = { class: "sky-template-layout__content" }, $6 = /* @__PURE__ */ Q({
|
|
5033
|
+
__name: "TemplateLayout",
|
|
5034
|
+
props: {
|
|
5035
|
+
rightOpen: { type: Boolean, default: !1 },
|
|
5036
|
+
rightPanelEnabled: { type: Boolean, default: !0 },
|
|
5037
|
+
rightPanelWidth: { default: "" }
|
|
5038
|
+
},
|
|
5039
|
+
setup(o) {
|
|
5040
|
+
const g = o, t = O2(), w = p(() => g.rightOpen && g.rightPanelEnabled && !!t.right), v = E(null), c = E(0);
|
|
5041
|
+
let Z;
|
|
5042
|
+
return A1(() => {
|
|
5043
|
+
Z = new ResizeObserver(() => {
|
|
5044
|
+
var u;
|
|
5045
|
+
c.value = ((u = v.value) == null ? void 0 : u.getBoundingClientRect().height) || 0;
|
|
5046
|
+
}), v.value && Z.observe(v.value);
|
|
5047
|
+
}), K1(() => Z == null ? void 0 : Z.disconnect()), (u, V) => (d(), f("div", {
|
|
5048
|
+
class: A(["sky-template-layout", { "is-right-open": w.value }]),
|
|
5049
|
+
style: Z1({ ...o.rightPanelWidth ? { "--template-panel-width": o.rightPanelWidth } : {}, "--template-timeline-height": `${c.value}px` })
|
|
5050
|
+
}, [
|
|
5051
|
+
u.$slots.top ? (d(), f("section", K6, [
|
|
5052
|
+
d1(u.$slots, "top", {}, void 0, !0)
|
|
5053
|
+
])) : W("", !0),
|
|
5054
|
+
u.$slots.toolbar ? (d(), f("section", J6, [
|
|
5055
|
+
d1(u.$slots, "toolbar", {}, void 0, !0)
|
|
5056
|
+
])) : W("", !0),
|
|
5057
|
+
S1(a("section", q6, [
|
|
5058
|
+
d1(u.$slots, "right", {}, void 0, !0)
|
|
5059
|
+
], 512), [
|
|
5060
|
+
[g2, w.value]
|
|
5061
|
+
]),
|
|
5062
|
+
u.$slots.legend ? (d(), f("section", _6, [
|
|
5063
|
+
d1(u.$slots, "legend", {}, void 0, !0)
|
|
5064
|
+
])) : W("", !0),
|
|
5065
|
+
u.$slots.timeline ? (d(), f("section", {
|
|
5066
|
+
key: 3,
|
|
5067
|
+
ref_key: "timeline",
|
|
5068
|
+
ref: v,
|
|
5069
|
+
class: "sky-template-layout__timeline"
|
|
5070
|
+
}, [
|
|
5071
|
+
d1(u.$slots, "timeline", {}, void 0, !0)
|
|
5072
|
+
], 512)) : W("", !0),
|
|
5073
|
+
a("div", X6, [
|
|
5074
|
+
d1(u.$slots, "content", {}, void 0, !0),
|
|
5075
|
+
d1(u.$slots, "default", {}, void 0, !0)
|
|
5076
|
+
])
|
|
5077
|
+
], 6));
|
|
5078
|
+
}
|
|
5079
|
+
});
|
|
5080
|
+
const C5 = /* @__PURE__ */ i1($6, [["__scopeId", "data-v-06c0a2b5"]]), v9 = v4, h9 = i(h4), g9 = i(k4), w9 = i(O4), p9 = i(Y4), u9 = i(e6), M9 = i(h6), V9 = i(u6), f9 = i(f6), Z9 = i(H6), m9 = i(S6), H9 = i(A6), x9 = i(b6), D9 = i(P6), y9 = i(I6), z9 = i(R6), k9 = i(C5);
|
|
5023
5081
|
export {
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5149
|
-
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5082
|
+
h9 as AppSelect,
|
|
5083
|
+
f9 as AtlasMapTitle,
|
|
5084
|
+
Z9 as AtlasRightToggleButton,
|
|
5085
|
+
z9 as MapLayerControl,
|
|
5086
|
+
M9 as MapSideMenu,
|
|
5087
|
+
g9 as MapTimeline,
|
|
5088
|
+
V9 as MapTools,
|
|
5089
|
+
D9 as MetricCard,
|
|
5090
|
+
y9 as ProcessChart,
|
|
5091
|
+
m9 as ProcessDataTable,
|
|
5092
|
+
u9 as ProjectMenu,
|
|
5093
|
+
v9 as SvgIcon,
|
|
5094
|
+
k9 as TemplateLayout,
|
|
5095
|
+
p9 as TimeRangeQuickSelect,
|
|
5096
|
+
w9 as TreeSelectPanel,
|
|
5097
|
+
n5 as UiAffix,
|
|
5098
|
+
i5 as UiAlert,
|
|
5099
|
+
C9 as UiAnchor,
|
|
5100
|
+
e9 as UiAnchorLink,
|
|
5101
|
+
J5 as UiAside,
|
|
5102
|
+
G8 as UiAutoResizer,
|
|
5103
|
+
v5 as UiAutocomplete,
|
|
5104
|
+
h5 as UiAvatar,
|
|
5105
|
+
g5 as UiAvatarGroup,
|
|
5106
|
+
w5 as UiBacktop,
|
|
5107
|
+
p5 as UiBadge,
|
|
5108
|
+
u5 as UiBreadcrumb,
|
|
5109
|
+
M5 as UiBreadcrumbItem,
|
|
5110
|
+
f5 as UiButton,
|
|
5111
|
+
Z5 as UiButtonGroup,
|
|
5112
|
+
z5 as UiCalendar,
|
|
5113
|
+
k5 as UiCard,
|
|
5114
|
+
B5 as UiCarousel,
|
|
5115
|
+
T5 as UiCarouselItem,
|
|
5116
|
+
G5 as UiCascader,
|
|
5117
|
+
P5 as UiCascaderPanel,
|
|
5118
|
+
I5 as UiCheckTag,
|
|
5119
|
+
E5 as UiCheckbox,
|
|
5120
|
+
S5 as UiCheckboxButton,
|
|
5121
|
+
A5 as UiCheckboxGroup,
|
|
5122
|
+
W5 as UiCol,
|
|
5123
|
+
j5 as UiCollapse,
|
|
5124
|
+
Y5 as UiCollapseItem,
|
|
5125
|
+
N5 as UiCollapseTransition,
|
|
5126
|
+
R5 as UiColorPicker,
|
|
5127
|
+
Q5 as UiColorPickerPanel,
|
|
5128
|
+
V5 as UiConfigProvider,
|
|
5129
|
+
K5 as UiContainer,
|
|
5130
|
+
C8 as UiCountdown,
|
|
5131
|
+
t8 as UiDatePicker,
|
|
5132
|
+
e8 as UiDatePickerPanel,
|
|
5133
|
+
l8 as UiDescriptions,
|
|
5134
|
+
o8 as UiDescriptionsItem,
|
|
5135
|
+
n8 as UiDialog,
|
|
5136
|
+
r8 as UiDivider,
|
|
5137
|
+
i8 as UiDrawer,
|
|
5138
|
+
s8 as UiDropdown,
|
|
5139
|
+
a8 as UiDropdownItem,
|
|
5140
|
+
L8 as UiDropdownMenu,
|
|
5141
|
+
c8 as UiEmpty,
|
|
5142
|
+
q5 as UiFooter,
|
|
5143
|
+
s5 as UiForm,
|
|
5144
|
+
a5 as UiFormItem,
|
|
5145
|
+
_5 as UiHeader,
|
|
5146
|
+
r5 as UiIcon,
|
|
5147
|
+
v8 as UiImage,
|
|
5148
|
+
d8 as UiImageViewer,
|
|
5149
|
+
d5 as UiInput,
|
|
5150
|
+
h8 as UiInputNumber,
|
|
5151
|
+
w8 as UiInputOtp,
|
|
5152
|
+
g8 as UiInputTag,
|
|
5153
|
+
p8 as UiLink,
|
|
5154
|
+
d9 as UiLoading,
|
|
5155
|
+
X5 as UiMain,
|
|
5156
|
+
l9 as UiMention,
|
|
5157
|
+
u8 as UiMenu,
|
|
5158
|
+
M8 as UiMenuItem,
|
|
5159
|
+
V8 as UiMenuItemGroup,
|
|
5160
|
+
i9 as UiMessage,
|
|
5161
|
+
s9 as UiMessageBox,
|
|
5162
|
+
a9 as UiNotification,
|
|
5163
|
+
D5 as UiOption,
|
|
5164
|
+
y5 as UiOptionGroup,
|
|
5165
|
+
Z8 as UiPageHeader,
|
|
5166
|
+
m8 as UiPagination,
|
|
5167
|
+
H8 as UiPopconfirm,
|
|
5168
|
+
r9 as UiPopover,
|
|
5169
|
+
L5 as UiPopper,
|
|
5170
|
+
x8 as UiProgress,
|
|
5171
|
+
b5 as UiRadio,
|
|
5172
|
+
F5 as UiRadioButton,
|
|
5173
|
+
U5 as UiRadioGroup,
|
|
5174
|
+
D8 as UiRate,
|
|
5175
|
+
y8 as UiResult,
|
|
5176
|
+
O5 as UiRow,
|
|
5177
|
+
t9 as UiSegmented,
|
|
5178
|
+
x5 as UiSelect,
|
|
5179
|
+
z8 as UiSelectV2,
|
|
5180
|
+
k8 as UiSkeleton,
|
|
5181
|
+
B8 as UiSkeletonItem,
|
|
5182
|
+
T8 as UiSlider,
|
|
5183
|
+
E8 as UiSpace,
|
|
5184
|
+
o9 as UiSplitter,
|
|
5185
|
+
n9 as UiSplitterPanel,
|
|
5186
|
+
$5 as UiStatistic,
|
|
5187
|
+
A8 as UiStep,
|
|
5188
|
+
S8 as UiSteps,
|
|
5189
|
+
f8 as UiSubMenu,
|
|
5190
|
+
b8 as UiSwitch,
|
|
5191
|
+
O8 as UiTabPane,
|
|
5192
|
+
F8 as UiTable,
|
|
5193
|
+
U8 as UiTableColumn,
|
|
5194
|
+
P8 as UiTableV2,
|
|
5195
|
+
I8 as UiTabs,
|
|
5196
|
+
H5 as UiTag,
|
|
5197
|
+
W8 as UiText,
|
|
5198
|
+
m5 as UiTimePicker,
|
|
5199
|
+
N8 as UiTimeSelect,
|
|
5200
|
+
j8 as UiTimeline,
|
|
5201
|
+
Y8 as UiTimelineItem,
|
|
5202
|
+
c5 as UiTooltip,
|
|
5203
|
+
X8 as UiTour,
|
|
5204
|
+
$8 as UiTourStep,
|
|
5205
|
+
Q8 as UiTransfer,
|
|
5206
|
+
R8 as UiTree,
|
|
5207
|
+
K8 as UiTreeSelect,
|
|
5208
|
+
J8 as UiTreeV2,
|
|
5209
|
+
q8 as UiUpload,
|
|
5210
|
+
_8 as UiWatermark,
|
|
5211
|
+
x9 as WorkbenchPanel,
|
|
5212
|
+
H9 as WorkbenchShell,
|
|
5154
5213
|
s4 as projectIcons,
|
|
5155
5214
|
a4 as registerProjectIcons,
|
|
5156
5215
|
i as themed,
|
|
5157
|
-
|
|
5216
|
+
L9 as vUiInfiniteScroll,
|
|
5158
5217
|
r4 as vUiLoading,
|
|
5159
|
-
|
|
5218
|
+
c9 as vUiPopover
|
|
5160
5219
|
};
|