@abi-software/scaffoldvuer 1.9.0 → 1.9.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/scaffoldvuer.js +198 -183
- package/dist/scaffoldvuer.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/ScaffoldVuer.vue +17 -2
- package/vite.web-component.js +0 -36
package/dist/scaffoldvuer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { shallowRef as En, watchEffect as Lv, readonly as Rv, unref as k, getCurrentScope as ww, onScopeDispose as Mw, getCurrentInstance as un, onMounted as en, nextTick as Mt, watch as Qe, ref as Ee, defineComponent as Oe, openBlock as ye, createElementBlock as Le, createElementVNode as ze, warn as Sw, isVNode as Dh, computed as de, inject as dt, isRef as Pv, onBeforeUnmount as ei, onBeforeMount as _w, provide as hn, mergeProps as Ti, renderSlot as Xe, toRef as hi, onUnmounted as Iv, useAttrs as Tw, useSlots as Hc, createCommentVNode as
|
|
1
|
+
import { shallowRef as En, watchEffect as Lv, readonly as Rv, unref as k, getCurrentScope as ww, onScopeDispose as Mw, getCurrentInstance as un, onMounted as en, nextTick as Mt, watch as Qe, ref as Ee, defineComponent as Oe, openBlock as ye, createElementBlock as Le, createElementVNode as ze, warn as Sw, isVNode as Dh, computed as de, inject as dt, isRef as Pv, onBeforeUnmount as ei, onBeforeMount as _w, provide as hn, mergeProps as Ti, renderSlot as Xe, toRef as hi, onUnmounted as Iv, useAttrs as Tw, useSlots as Hc, createCommentVNode as Ve, Fragment as Ft, normalizeClass as Ce, createBlock as ke, withCtx as ve, resolveDynamicComponent as Pn, withModifiers as an, createVNode as ce, toDisplayString as vt, normalizeStyle as Ct, Transition as Ka, withDirectives as Pt, vShow as mn, reactive as Kn, onActivated as Ew, onUpdated as Dd, cloneVNode as Aw, Text as Ov, Comment as Cw, Teleport as Lw, onDeactivated as Rw, toHandlers as Pw, withKeys as ui, createTextVNode as mt, createSlots as Iw, toRaw as Dv, toRefs as ws, resolveComponent as kn, resolveDirective as Ow, toHandlerKey as Dw, renderList as Yn, vModelText as Nw, h as lo, createApp as Bw, markRaw as Mn } from "vue";
|
|
2
2
|
import { TreeControls as Fw, CreateTooltipContent as zw, Tooltip as Uw, DrawToolbar as Vw } from "@abi-software/map-utilities";
|
|
3
3
|
import { defineStore as kw, mapState as Nv } from "pinia";
|
|
4
4
|
import { MapSvgIcon as Gw, MapSvgSpriteColor as Hw } from "@abi-software/svg-sprite";
|
|
@@ -3045,21 +3045,21 @@ const OA = ft({
|
|
|
3045
3045
|
onMouseenter: ee,
|
|
3046
3046
|
onMouseleave: Y
|
|
3047
3047
|
}), [
|
|
3048
|
-
|
|
3048
|
+
Ve(" input "),
|
|
3049
3049
|
he.type !== "textarea" ? (ye(), Le(Ft, { key: 0 }, [
|
|
3050
|
-
|
|
3050
|
+
Ve(" prepend slot "),
|
|
3051
3051
|
he.$slots.prepend ? (ye(), Le("div", {
|
|
3052
3052
|
key: 0,
|
|
3053
3053
|
class: Ce(k(u).be("group", "prepend"))
|
|
3054
3054
|
}, [
|
|
3055
3055
|
Xe(he.$slots, "prepend")
|
|
3056
|
-
], 2)) :
|
|
3056
|
+
], 2)) : Ve("v-if", !0),
|
|
3057
3057
|
ze("div", {
|
|
3058
3058
|
ref_key: "wrapperRef",
|
|
3059
3059
|
ref: S,
|
|
3060
3060
|
class: Ce(k(c))
|
|
3061
3061
|
}, [
|
|
3062
|
-
|
|
3062
|
+
Ve(" prefix slot "),
|
|
3063
3063
|
he.$slots.prefix || he.prefixIcon ? (ye(), Le("span", {
|
|
3064
3064
|
key: 0,
|
|
3065
3065
|
class: Ce(k(u).e("prefix"))
|
|
@@ -3068,17 +3068,17 @@ const OA = ft({
|
|
|
3068
3068
|
class: Ce(k(u).e("prefix-inner"))
|
|
3069
3069
|
}, [
|
|
3070
3070
|
Xe(he.$slots, "prefix"),
|
|
3071
|
-
he.prefixIcon ? (ye(),
|
|
3071
|
+
he.prefixIcon ? (ye(), ke(k(It), {
|
|
3072
3072
|
key: 0,
|
|
3073
3073
|
class: Ce(k(u).e("icon"))
|
|
3074
3074
|
}, {
|
|
3075
3075
|
default: ve(() => [
|
|
3076
|
-
(ye(),
|
|
3076
|
+
(ye(), ke(Pn(he.prefixIcon)))
|
|
3077
3077
|
]),
|
|
3078
3078
|
_: 1
|
|
3079
|
-
}, 8, ["class"])) :
|
|
3079
|
+
}, 8, ["class"])) : Ve("v-if", !0)
|
|
3080
3080
|
], 2)
|
|
3081
|
-
], 2)) :
|
|
3081
|
+
], 2)) : Ve("v-if", !0),
|
|
3082
3082
|
ze("input", Ti({
|
|
3083
3083
|
id: k(f),
|
|
3084
3084
|
ref_key: "input",
|
|
@@ -3104,7 +3104,7 @@ const OA = ft({
|
|
|
3104
3104
|
onChange: U,
|
|
3105
3105
|
onKeydown: ue
|
|
3106
3106
|
}), null, 16, ["id", "minlength", "maxlength", "type", "disabled", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus", "onCompositionstart", "onCompositionupdate", "onCompositionend"]),
|
|
3107
|
-
|
|
3107
|
+
Ve(" suffix slot "),
|
|
3108
3108
|
k(ne) ? (ye(), Le("span", {
|
|
3109
3109
|
key: 1,
|
|
3110
3110
|
class: Ce(k(u).e("suffix"))
|
|
@@ -3114,17 +3114,17 @@ const OA = ft({
|
|
|
3114
3114
|
}, [
|
|
3115
3115
|
!k(B) || !k(F) || !k(z) ? (ye(), Le(Ft, { key: 0 }, [
|
|
3116
3116
|
Xe(he.$slots, "suffix"),
|
|
3117
|
-
he.suffixIcon ? (ye(),
|
|
3117
|
+
he.suffixIcon ? (ye(), ke(k(It), {
|
|
3118
3118
|
key: 0,
|
|
3119
3119
|
class: Ce(k(u).e("icon"))
|
|
3120
3120
|
}, {
|
|
3121
3121
|
default: ve(() => [
|
|
3122
|
-
(ye(),
|
|
3122
|
+
(ye(), ke(Pn(he.suffixIcon)))
|
|
3123
3123
|
]),
|
|
3124
3124
|
_: 1
|
|
3125
|
-
}, 8, ["class"])) :
|
|
3126
|
-
], 64)) :
|
|
3127
|
-
k(B) ? (ye(),
|
|
3125
|
+
}, 8, ["class"])) : Ve("v-if", !0)
|
|
3126
|
+
], 64)) : Ve("v-if", !0),
|
|
3127
|
+
k(B) ? (ye(), ke(k(It), {
|
|
3128
3128
|
key: 1,
|
|
3129
3129
|
class: Ce([k(u).e("icon"), k(u).e("clear")]),
|
|
3130
3130
|
onMousedown: an(k(Ia), ["prevent"]),
|
|
@@ -3134,17 +3134,17 @@ const OA = ft({
|
|
|
3134
3134
|
ce(k(jd))
|
|
3135
3135
|
]),
|
|
3136
3136
|
_: 1
|
|
3137
|
-
}, 8, ["class", "onMousedown"])) :
|
|
3138
|
-
k(F) ? (ye(),
|
|
3137
|
+
}, 8, ["class", "onMousedown"])) : Ve("v-if", !0),
|
|
3138
|
+
k(F) ? (ye(), ke(k(It), {
|
|
3139
3139
|
key: 2,
|
|
3140
3140
|
class: Ce([k(u).e("icon"), k(u).e("password")]),
|
|
3141
3141
|
onClick: V
|
|
3142
3142
|
}, {
|
|
3143
3143
|
default: ve(() => [
|
|
3144
|
-
(ye(),
|
|
3144
|
+
(ye(), ke(Pn(k(O))))
|
|
3145
3145
|
]),
|
|
3146
3146
|
_: 1
|
|
3147
|
-
}, 8, ["class"])) :
|
|
3147
|
+
}, 8, ["class"])) : Ve("v-if", !0),
|
|
3148
3148
|
k(z) ? (ye(), Le("span", {
|
|
3149
3149
|
key: 3,
|
|
3150
3150
|
class: Ce(k(u).e("count"))
|
|
@@ -3152,8 +3152,8 @@ const OA = ft({
|
|
|
3152
3152
|
ze("span", {
|
|
3153
3153
|
class: Ce(k(u).e("count-inner"))
|
|
3154
3154
|
}, vt(k(G)) + " / " + vt(he.maxlength), 3)
|
|
3155
|
-
], 2)) :
|
|
3156
|
-
k(L) && k(C) && k(E) ? (ye(),
|
|
3155
|
+
], 2)) : Ve("v-if", !0),
|
|
3156
|
+
k(L) && k(C) && k(E) ? (ye(), ke(k(It), {
|
|
3157
3157
|
key: 4,
|
|
3158
3158
|
class: Ce([
|
|
3159
3159
|
k(u).e("icon"),
|
|
@@ -3162,22 +3162,22 @@ const OA = ft({
|
|
|
3162
3162
|
])
|
|
3163
3163
|
}, {
|
|
3164
3164
|
default: ve(() => [
|
|
3165
|
-
(ye(),
|
|
3165
|
+
(ye(), ke(Pn(k(C))))
|
|
3166
3166
|
]),
|
|
3167
3167
|
_: 1
|
|
3168
|
-
}, 8, ["class"])) :
|
|
3168
|
+
}, 8, ["class"])) : Ve("v-if", !0)
|
|
3169
3169
|
], 2)
|
|
3170
|
-
], 2)) :
|
|
3170
|
+
], 2)) : Ve("v-if", !0)
|
|
3171
3171
|
], 2),
|
|
3172
|
-
|
|
3172
|
+
Ve(" append slot "),
|
|
3173
3173
|
he.$slots.append ? (ye(), Le("div", {
|
|
3174
3174
|
key: 1,
|
|
3175
3175
|
class: Ce(k(u).be("group", "append"))
|
|
3176
3176
|
}, [
|
|
3177
3177
|
Xe(he.$slots, "append")
|
|
3178
|
-
], 2)) :
|
|
3178
|
+
], 2)) : Ve("v-if", !0)
|
|
3179
3179
|
], 64)) : (ye(), Le(Ft, { key: 1 }, [
|
|
3180
|
-
|
|
3180
|
+
Ve(" textarea "),
|
|
3181
3181
|
ze("textarea", Ti({
|
|
3182
3182
|
id: k(f),
|
|
3183
3183
|
ref_key: "textarea",
|
|
@@ -3209,7 +3209,7 @@ const OA = ft({
|
|
|
3209
3209
|
key: 0,
|
|
3210
3210
|
style: Ct(_.value),
|
|
3211
3211
|
class: Ce(k(u).e("count"))
|
|
3212
|
-
}, vt(k(G)) + " / " + vt(he.maxlength), 7)) :
|
|
3212
|
+
}, vt(k(G)) + " / " + vt(he.maxlength), 7)) : Ve("v-if", !0)
|
|
3213
3213
|
], 64))
|
|
3214
3214
|
], 16, ["role"]));
|
|
3215
3215
|
}
|
|
@@ -3299,7 +3299,7 @@ const zA = dn(FA), Vs = 4, UA = {
|
|
|
3299
3299
|
const _ = () => {
|
|
3300
3300
|
document.onselectstart !== d && (document.onselectstart = d);
|
|
3301
3301
|
};
|
|
3302
|
-
return ln(hi(t, "scrollbarElement"), "mousemove", x), ln(hi(t, "scrollbarElement"), "mouseleave", M), (w, A) => (ye(),
|
|
3302
|
+
return ln(hi(t, "scrollbarElement"), "mousemove", x), ln(hi(t, "scrollbarElement"), "mouseleave", M), (w, A) => (ye(), ke(Ka, {
|
|
3303
3303
|
name: k(i).b("fade"),
|
|
3304
3304
|
persisted: ""
|
|
3305
3305
|
}, {
|
|
@@ -3501,7 +3501,7 @@ const ZA = ft({
|
|
|
3501
3501
|
tabindex: _.tabindex,
|
|
3502
3502
|
onScroll: y
|
|
3503
3503
|
}, [
|
|
3504
|
-
(ye(),
|
|
3504
|
+
(ye(), ke(Pn(_.tag), {
|
|
3505
3505
|
id: _.id,
|
|
3506
3506
|
ref_key: "resizeRef",
|
|
3507
3507
|
ref: h,
|
|
@@ -3517,7 +3517,7 @@ const ZA = ft({
|
|
|
3517
3517
|
_: 3
|
|
3518
3518
|
}, 8, ["id", "class", "style", "role", "aria-label", "aria-orientation"]))
|
|
3519
3519
|
], 46, ["tabindex"]),
|
|
3520
|
-
_.native ?
|
|
3520
|
+
_.native ? Ve("v-if", !0) : (ye(), ke($A, {
|
|
3521
3521
|
key: 0,
|
|
3522
3522
|
ref_key: "barRef",
|
|
3523
3523
|
ref: f,
|
|
@@ -3729,7 +3729,7 @@ const N0 = ft({
|
|
|
3729
3729
|
}
|
|
3730
3730
|
}), e({
|
|
3731
3731
|
triggerRef: r
|
|
3732
|
-
}), (h, f) => h.virtualTriggering ?
|
|
3732
|
+
}), (h, f) => h.virtualTriggering ? Ve("v-if", !0) : (ye(), ke(k(oC), Ti({ key: 0 }, h.$attrs, {
|
|
3733
3733
|
"aria-controls": k(s),
|
|
3734
3734
|
"aria-describedby": k(o),
|
|
3735
3735
|
"aria-expanded": k(c),
|
|
@@ -4352,7 +4352,7 @@ const FC = dn(nC), uf = Symbol("elTooltip"), Vn = ft({
|
|
|
4352
4352
|
});
|
|
4353
4353
|
return e({
|
|
4354
4354
|
triggerRef: d
|
|
4355
|
-
}), (M, _) => (ye(),
|
|
4355
|
+
}), (M, _) => (ye(), ke(k(cC), {
|
|
4356
4356
|
id: k(s),
|
|
4357
4357
|
"virtual-ref": M.virtualRef,
|
|
4358
4358
|
open: k(o),
|
|
@@ -4384,7 +4384,7 @@ const ZC = ft({
|
|
|
4384
4384
|
__name: "teleport",
|
|
4385
4385
|
props: ZC,
|
|
4386
4386
|
setup(n) {
|
|
4387
|
-
return (e, t) => e.disabled ? Xe(e.$slots, "default", { key: 0 }) : (ye(),
|
|
4387
|
+
return (e, t) => e.disabled ? Xe(e.$slots, "default", { key: 0 }) : (ye(), ke(Lw, {
|
|
4388
4388
|
key: 1,
|
|
4389
4389
|
to: e.to
|
|
4390
4390
|
}, [
|
|
@@ -4455,7 +4455,7 @@ const JC = dn(YC), KC = Oe({
|
|
|
4455
4455
|
(P = (b = s.value) == null ? void 0 : b.updatePopper) == null || P.call(b);
|
|
4456
4456
|
}), e({
|
|
4457
4457
|
contentRef: s
|
|
4458
|
-
}), (b, P) => (ye(),
|
|
4458
|
+
}), (b, P) => (ye(), ke(k(JC), {
|
|
4459
4459
|
disabled: !b.teleported,
|
|
4460
4460
|
to: k(_)
|
|
4461
4461
|
}, {
|
|
@@ -4468,7 +4468,7 @@ const JC = dn(YC), KC = Oe({
|
|
|
4468
4468
|
onBeforeLeave: L
|
|
4469
4469
|
}, {
|
|
4470
4470
|
default: ve(() => [
|
|
4471
|
-
k(x) ? Pt((ye(),
|
|
4471
|
+
k(x) ? Pt((ye(), ke(k(BC), Ti({
|
|
4472
4472
|
key: 0,
|
|
4473
4473
|
id: k(c),
|
|
4474
4474
|
ref_key: "contentRef",
|
|
@@ -4503,7 +4503,7 @@ const JC = dn(YC), KC = Oe({
|
|
|
4503
4503
|
_: 3
|
|
4504
4504
|
}, 16, ["id", "aria-label", "aria-hidden", "boundaries-padding", "fallback-placements", "gpu-acceleration", "offset", "placement", "popper-options", "strategy", "effect", "enterable", "pure", "popper-class", "popper-style", "reference-el", "trigger-target-el", "visible", "z-index", "onMouseenter", "onMouseleave", "onClose"])), [
|
|
4505
4505
|
[mn, k(M)]
|
|
4506
|
-
]) :
|
|
4506
|
+
]) : Ve("v-if", !0)
|
|
4507
4507
|
]),
|
|
4508
4508
|
_: 3
|
|
4509
4509
|
}, 8, ["name"])
|
|
@@ -4579,7 +4579,7 @@ const e2 = Oe({
|
|
|
4579
4579
|
onOpen: g,
|
|
4580
4580
|
onClose: p,
|
|
4581
4581
|
hide: h
|
|
4582
|
-
}), (v, m) => (ye(),
|
|
4582
|
+
}), (v, m) => (ye(), ke(k(FC), {
|
|
4583
4583
|
ref_key: "popperRef",
|
|
4584
4584
|
ref: s,
|
|
4585
4585
|
role: v.role
|
|
@@ -4593,7 +4593,7 @@ const e2 = Oe({
|
|
|
4593
4593
|
"virtual-triggering": v.virtualTriggering
|
|
4594
4594
|
}, {
|
|
4595
4595
|
default: ve(() => [
|
|
4596
|
-
v.$slots.default ? Xe(v.$slots, "default", { key: 0 }) :
|
|
4596
|
+
v.$slots.default ? Xe(v.$slots, "default", { key: 0 }) : Ve("v-if", !0)
|
|
4597
4597
|
]),
|
|
4598
4598
|
_: 3
|
|
4599
4599
|
}, 8, ["disabled", "trigger", "trigger-keys", "virtual-ref", "virtual-triggering"]),
|
|
@@ -4634,10 +4634,10 @@ const e2 = Oe({
|
|
|
4634
4634
|
innerHTML: v.content
|
|
4635
4635
|
}, null, 8, ["innerHTML"])) : (ye(), Le("span", { key: 1 }, vt(v.content), 1))
|
|
4636
4636
|
]),
|
|
4637
|
-
v.showArrow ? (ye(),
|
|
4637
|
+
v.showArrow ? (ye(), ke(k(sC), {
|
|
4638
4638
|
key: 0,
|
|
4639
4639
|
"arrow-offset": v.arrowOffset
|
|
4640
|
-
}, null, 8, ["arrow-offset"])) :
|
|
4640
|
+
}, null, 8, ["arrow-offset"])) : Ve("v-if", !0)
|
|
4641
4641
|
]),
|
|
4642
4642
|
_: 3
|
|
4643
4643
|
}, 8, ["aria-label", "boundaries-padding", "content", "disabled", "effect", "enterable", "fallback-placements", "hide-after", "gpu-acceleration", "offset", "persistent", "popper-class", "popper-style", "placement", "popper-options", "pure", "raw-content", "reference-el", "trigger-target-el", "show-after", "strategy", "teleported", "transition", "virtual-triggering", "z-index", "append-to"])
|
|
@@ -5319,7 +5319,7 @@ const w2 = Oe({
|
|
|
5319
5319
|
type: c,
|
|
5320
5320
|
disabled: l,
|
|
5321
5321
|
shouldAddSpace: h
|
|
5322
|
-
}), (p, u) => (ye(),
|
|
5322
|
+
}), (p, u) => (ye(), ke(Pn(p.tag), Ti({
|
|
5323
5323
|
ref_key: "_ref",
|
|
5324
5324
|
ref: o
|
|
5325
5325
|
}, k(d), {
|
|
@@ -5329,27 +5329,27 @@ const w2 = Oe({
|
|
|
5329
5329
|
}), {
|
|
5330
5330
|
default: ve(() => [
|
|
5331
5331
|
p.loading ? (ye(), Le(Ft, { key: 0 }, [
|
|
5332
|
-
p.$slots.loading ? Xe(p.$slots, "loading", { key: 0 }) : (ye(),
|
|
5332
|
+
p.$slots.loading ? Xe(p.$slots, "loading", { key: 0 }) : (ye(), ke(k(It), {
|
|
5333
5333
|
key: 1,
|
|
5334
5334
|
class: Ce(k(s).is("loading"))
|
|
5335
5335
|
}, {
|
|
5336
5336
|
default: ve(() => [
|
|
5337
|
-
(ye(),
|
|
5337
|
+
(ye(), ke(Pn(p.loadingIcon)))
|
|
5338
5338
|
]),
|
|
5339
5339
|
_: 1
|
|
5340
5340
|
}, 8, ["class"]))
|
|
5341
|
-
], 64)) : p.icon || p.$slots.icon ? (ye(),
|
|
5341
|
+
], 64)) : p.icon || p.$slots.icon ? (ye(), ke(k(It), { key: 1 }, {
|
|
5342
5342
|
default: ve(() => [
|
|
5343
|
-
p.icon ? (ye(),
|
|
5343
|
+
p.icon ? (ye(), ke(Pn(p.icon), { key: 0 })) : Xe(p.$slots, "icon", { key: 1 })
|
|
5344
5344
|
]),
|
|
5345
5345
|
_: 3
|
|
5346
|
-
})) :
|
|
5346
|
+
})) : Ve("v-if", !0),
|
|
5347
5347
|
p.$slots.default ? (ye(), Le("span", {
|
|
5348
5348
|
key: 2,
|
|
5349
5349
|
class: Ce({ [k(s).em("text", "expand")]: k(h) })
|
|
5350
5350
|
}, [
|
|
5351
5351
|
Xe(p.$slots, "default")
|
|
5352
|
-
], 2)) :
|
|
5352
|
+
], 2)) : Ve("v-if", !0)
|
|
5353
5353
|
]),
|
|
5354
5354
|
_: 3
|
|
5355
5355
|
}, 16, ["class", "style", "onClick"]));
|
|
@@ -5519,7 +5519,7 @@ const C2 = {
|
|
|
5519
5519
|
}, [
|
|
5520
5520
|
Xe(l.$slots, "default")
|
|
5521
5521
|
], 2),
|
|
5522
|
-
l.closable ? (ye(),
|
|
5522
|
+
l.closable ? (ye(), ke(k(It), {
|
|
5523
5523
|
key: 0,
|
|
5524
5524
|
class: Ce(k(r).e("close")),
|
|
5525
5525
|
onClick: an(o, ["stop"])
|
|
@@ -5528,8 +5528,8 @@ const C2 = {
|
|
|
5528
5528
|
ce(k(Hh))
|
|
5529
5529
|
]),
|
|
5530
5530
|
_: 1
|
|
5531
|
-
}, 8, ["class", "onClick"])) :
|
|
5532
|
-
], 6)) : (ye(),
|
|
5531
|
+
}, 8, ["class", "onClick"])) : Ve("v-if", !0)
|
|
5532
|
+
], 6)) : (ye(), ke(Ka, {
|
|
5533
5533
|
key: 1,
|
|
5534
5534
|
name: `${k(r).namespace.value}-zoom-in-center`,
|
|
5535
5535
|
appear: "",
|
|
@@ -5546,7 +5546,7 @@ const C2 = {
|
|
|
5546
5546
|
}, [
|
|
5547
5547
|
Xe(l.$slots, "default")
|
|
5548
5548
|
], 2),
|
|
5549
|
-
l.closable ? (ye(),
|
|
5549
|
+
l.closable ? (ye(), ke(k(It), {
|
|
5550
5550
|
key: 0,
|
|
5551
5551
|
class: Ce(k(r).e("close")),
|
|
5552
5552
|
onClick: an(o, ["stop"])
|
|
@@ -5555,7 +5555,7 @@ const C2 = {
|
|
|
5555
5555
|
ce(k(Hh))
|
|
5556
5556
|
]),
|
|
5557
5557
|
_: 1
|
|
5558
|
-
}, 8, ["class", "onClick"])) :
|
|
5558
|
+
}, 8, ["class", "onClick"])) : Ve("v-if", !0)
|
|
5559
5559
|
], 6)
|
|
5560
5560
|
]),
|
|
5561
5561
|
_: 3
|
|
@@ -5606,7 +5606,7 @@ const N2 = dn(D2), k0 = Symbol("rowContextKey"), B2 = [
|
|
|
5606
5606
|
t.is(`justify-${e.justify}`, e.justify !== "start"),
|
|
5607
5607
|
t.is(`align-${e.align}`, !!e.align)
|
|
5608
5608
|
]);
|
|
5609
|
-
return (o, a) => (ye(),
|
|
5609
|
+
return (o, a) => (ye(), ke(Pn(o.tag), {
|
|
5610
5610
|
class: Ce(k(s)),
|
|
5611
5611
|
style: Ct(k(r))
|
|
5612
5612
|
}, {
|
|
@@ -5679,7 +5679,7 @@ const Ni = dn(k2), G2 = ft({
|
|
|
5679
5679
|
});
|
|
5680
5680
|
}), t.value && o.push(i.is("guttered")), [i.b(), o];
|
|
5681
5681
|
});
|
|
5682
|
-
return (o, a) => (ye(),
|
|
5682
|
+
return (o, a) => (ye(), ke(Pn(o.tag), {
|
|
5683
5683
|
class: Ce(k(s)),
|
|
5684
5684
|
style: Ct(k(r))
|
|
5685
5685
|
}, {
|
|
@@ -5779,7 +5779,7 @@ const Q2 = Oe({
|
|
|
5779
5779
|
t(r);
|
|
5780
5780
|
}
|
|
5781
5781
|
};
|
|
5782
|
-
return (r, s) => (ye(),
|
|
5782
|
+
return (r, s) => (ye(), ke(Ka, Ti({
|
|
5783
5783
|
name: k(e).b()
|
|
5784
5784
|
}, Pw(i)), {
|
|
5785
5785
|
default: ve(() => [
|
|
@@ -5895,7 +5895,7 @@ const nL = dn(tL), iL = ft({
|
|
|
5895
5895
|
class: Ce(k(l))
|
|
5896
5896
|
}, {
|
|
5897
5897
|
default: ve(() => [
|
|
5898
|
-
(ye(),
|
|
5898
|
+
(ye(), ke(Pn(y.icon)))
|
|
5899
5899
|
]),
|
|
5900
5900
|
_: 1
|
|
5901
5901
|
}, 8, ["class"])
|
|
@@ -6355,14 +6355,14 @@ const CL = ft({
|
|
|
6355
6355
|
Xe(O.$slots, "decrease-icon", {}, () => [
|
|
6356
6356
|
ce(k(It), null, {
|
|
6357
6357
|
default: ve(() => [
|
|
6358
|
-
k(f) ? (ye(),
|
|
6358
|
+
k(f) ? (ye(), ke(k(Wd), { key: 0 })) : (ye(), ke(k(NT), { key: 1 }))
|
|
6359
6359
|
]),
|
|
6360
6360
|
_: 1
|
|
6361
6361
|
})
|
|
6362
6362
|
])
|
|
6363
6363
|
], 42, ["aria-label", "onKeydown"])), [
|
|
6364
6364
|
[k(Pm), M]
|
|
6365
|
-
]) :
|
|
6365
|
+
]) : Ve("v-if", !0),
|
|
6366
6366
|
O.controls ? Pt((ye(), Le("span", {
|
|
6367
6367
|
key: 1,
|
|
6368
6368
|
role: "button",
|
|
@@ -6373,14 +6373,14 @@ const CL = ft({
|
|
|
6373
6373
|
Xe(O.$slots, "increase-icon", {}, () => [
|
|
6374
6374
|
ce(k(It), null, {
|
|
6375
6375
|
default: ve(() => [
|
|
6376
|
-
k(f) ? (ye(),
|
|
6376
|
+
k(f) ? (ye(), ke(k(TT), { key: 0 })) : (ye(), ke(k(Jc), { key: 1 }))
|
|
6377
6377
|
]),
|
|
6378
6378
|
_: 1
|
|
6379
6379
|
})
|
|
6380
6380
|
])
|
|
6381
6381
|
], 42, ["aria-label", "onKeydown"])), [
|
|
6382
6382
|
[k(Pm), x]
|
|
6383
|
-
]) :
|
|
6383
|
+
]) : Ve("v-if", !0),
|
|
6384
6384
|
ce(k(zA), {
|
|
6385
6385
|
id: O.id,
|
|
6386
6386
|
ref_key: "input",
|
|
@@ -6570,14 +6570,14 @@ function FL(n, e, t, i, r, s) {
|
|
|
6570
6570
|
class: Ce(n.ns.be("dropdown", "header"))
|
|
6571
6571
|
}, [
|
|
6572
6572
|
Xe(n.$slots, "header")
|
|
6573
|
-
], 2)) :
|
|
6573
|
+
], 2)) : Ve("v-if", !0),
|
|
6574
6574
|
Xe(n.$slots, "default"),
|
|
6575
6575
|
n.$slots.footer ? (ye(), Le("div", {
|
|
6576
6576
|
key: 1,
|
|
6577
6577
|
class: Ce(n.ns.be("dropdown", "footer"))
|
|
6578
6578
|
}, [
|
|
6579
6579
|
Xe(n.$slots, "footer")
|
|
6580
|
-
], 2)) :
|
|
6580
|
+
], 2)) : Ve("v-if", !0)
|
|
6581
6581
|
], 6);
|
|
6582
6582
|
}
|
|
6583
6583
|
var zL = /* @__PURE__ */ lt(BL, [["render", FL], ["__file", "select-dropdown.vue"]]);
|
|
@@ -6624,8 +6624,8 @@ const UL = 11, VL = (n, e) => {
|
|
|
6624
6624
|
}), { valueOnClear: C, isEmptyValue: O } = wA(n), b = de(() => n.disabled || (I == null ? void 0 : I.disabled)), P = de(() => In(n.modelValue) ? n.modelValue.length > 0 : !O(n.modelValue)), N = de(() => n.clearable && !b.value && o.inputHovering && P.value), B = de(() => n.remote && n.filterable && !n.remoteShowSuffix ? "" : n.suffixIcon), F = de(() => r.is("reverse", B.value && R.value)), z = de(() => (E == null ? void 0 : E.validateState) || ""), G = de(() => s0[z.value]), J = de(() => n.remote ? 300 : 0), ne = de(() => n.loading ? n.loadingText || t("el.select.loading") : n.remote && !o.inputValue && o.options.size === 0 ? !1 : n.filterable && o.inputValue && o.options.size > 0 && ae.value === 0 ? n.noMatchText || t("el.select.noMatch") : o.options.size === 0 ? n.noDataText || t("el.select.noData") : null), ae = de(() => ie.value.filter((me) => me.visible).length), ie = de(() => {
|
|
6625
6625
|
const me = Array.from(o.options.values()), _e = [];
|
|
6626
6626
|
return o.optionValues.forEach((Pe) => {
|
|
6627
|
-
const
|
|
6628
|
-
|
|
6627
|
+
const Ge = me.findIndex((We) => We.value === Pe);
|
|
6628
|
+
Ge > -1 && _e.push(me[Ge]);
|
|
6629
6629
|
}), _e.length >= me.length ? _e : me;
|
|
6630
6630
|
}), oe = de(() => Array.from(o.cachedOptions.values())), W = de(() => {
|
|
6631
6631
|
const me = ie.value.filter((_e) => !_e.created).some((_e) => _e.currentLabel === o.inputValue);
|
|
@@ -6677,7 +6677,7 @@ const UL = 11, VL = (n, e) => {
|
|
|
6677
6677
|
const se = (me) => {
|
|
6678
6678
|
o.previousQuery === me || x.value || (o.previousQuery = me, n.filterable && Sn(n.filterMethod) ? n.filterMethod(me) : n.filterable && n.remote && Sn(n.remoteMethod) && n.remoteMethod(me), n.defaultFirstOption && (n.filterable || n.remote) && ae.value ? Mt(V) : Mt(Y));
|
|
6679
6679
|
}, V = () => {
|
|
6680
|
-
const me = ie.value.filter((
|
|
6680
|
+
const me = ie.value.filter((Ge) => Ge.visible && !Ge.disabled && !Ge.states.groupDisabled), _e = me.find((Ge) => Ge.created), Pe = me[0];
|
|
6681
6681
|
o.hoveringIndex = xt(ie.value, _e || Pe);
|
|
6682
6682
|
}, D = () => {
|
|
6683
6683
|
if (n.multiple)
|
|
@@ -6693,7 +6693,7 @@ const UL = 11, VL = (n, e) => {
|
|
|
6693
6693
|
}), o.selected = me;
|
|
6694
6694
|
}, $ = (me) => {
|
|
6695
6695
|
let _e;
|
|
6696
|
-
const Pe = Cu(me).toLowerCase() === "object",
|
|
6696
|
+
const Pe = Cu(me).toLowerCase() === "object", Ge = Cu(me).toLowerCase() === "null", We = Cu(me).toLowerCase() === "undefined";
|
|
6697
6697
|
for (let ht = o.cachedOptions.size - 1; ht >= 0; ht--) {
|
|
6698
6698
|
const Vt = oe.value[ht];
|
|
6699
6699
|
if (Pe ? Zi(Vt.value, n.valueKey) === Zi(me, n.valueKey) : Vt.value === me) {
|
|
@@ -6709,7 +6709,7 @@ const UL = 11, VL = (n, e) => {
|
|
|
6709
6709
|
}
|
|
6710
6710
|
if (_e)
|
|
6711
6711
|
return _e;
|
|
6712
|
-
const et = Pe ? me.label : !
|
|
6712
|
+
const et = Pe ? me.label : !Ge && !We ? me : "";
|
|
6713
6713
|
return {
|
|
6714
6714
|
value: me,
|
|
6715
6715
|
currentLabel: et
|
|
@@ -6744,14 +6744,14 @@ const UL = 11, VL = (n, e) => {
|
|
|
6744
6744
|
const _e = Mi(n.modelValue).slice(), Pe = Ne(_e);
|
|
6745
6745
|
if (Pe < 0)
|
|
6746
6746
|
return;
|
|
6747
|
-
const
|
|
6748
|
-
_e.splice(Pe, 1), e(Lt, _e), xe(_e), e("remove-tag",
|
|
6747
|
+
const Ge = _e[Pe];
|
|
6748
|
+
_e.splice(Pe, 1), e(Lt, _e), xe(_e), e("remove-tag", Ge);
|
|
6749
6749
|
}
|
|
6750
6750
|
}, je = (me, _e) => {
|
|
6751
6751
|
const Pe = o.selected.indexOf(_e);
|
|
6752
6752
|
if (Pe > -1 && !b.value) {
|
|
6753
|
-
const
|
|
6754
|
-
|
|
6753
|
+
const Ge = Mi(n.modelValue).slice();
|
|
6754
|
+
Ge.splice(Pe, 1), e(Lt, Ge), xe(Ge), e("remove-tag", _e.value);
|
|
6755
6755
|
}
|
|
6756
6756
|
me.stopPropagation(), Rt();
|
|
6757
6757
|
}, st = (me) => {
|
|
@@ -6764,8 +6764,8 @@ const UL = 11, VL = (n, e) => {
|
|
|
6764
6764
|
}, qe = (me) => {
|
|
6765
6765
|
var _e;
|
|
6766
6766
|
if (n.multiple) {
|
|
6767
|
-
const Pe = Mi((_e = n.modelValue) != null ? _e : []).slice(),
|
|
6768
|
-
|
|
6767
|
+
const Pe = Mi((_e = n.modelValue) != null ? _e : []).slice(), Ge = xt(Pe, me.value);
|
|
6768
|
+
Ge > -1 ? Pe.splice(Ge, 1) : (n.multipleLimit <= 0 || Pe.length < n.multipleLimit) && Pe.push(me.value), e(Lt, Pe), xe(Pe), me.created && se(""), n.filterable && !n.reserveKeyword && (o.inputValue = "");
|
|
6769
6769
|
} else
|
|
6770
6770
|
e(Lt, me.value), xe(me.value), R.value = !1;
|
|
6771
6771
|
Rt(), !R.value && Mt(() => {
|
|
@@ -6775,10 +6775,10 @@ const UL = 11, VL = (n, e) => {
|
|
|
6775
6775
|
if (!Tn(_e))
|
|
6776
6776
|
return me.indexOf(_e);
|
|
6777
6777
|
const Pe = n.valueKey;
|
|
6778
|
-
let
|
|
6779
|
-
return me.some((We, et) => Dv(Zi(We, Pe)) === Zi(_e, Pe) ? (
|
|
6778
|
+
let Ge = -1;
|
|
6779
|
+
return me.some((We, et) => Dv(Zi(We, Pe)) === Zi(_e, Pe) ? (Ge = et, !0) : !1), Ge;
|
|
6780
6780
|
}, Be = (me) => {
|
|
6781
|
-
var _e, Pe,
|
|
6781
|
+
var _e, Pe, Ge, We, et;
|
|
6782
6782
|
const Ye = In(me) ? me[0] : me;
|
|
6783
6783
|
let ht = null;
|
|
6784
6784
|
if (Ye != null && Ye.value) {
|
|
@@ -6786,7 +6786,7 @@ const UL = 11, VL = (n, e) => {
|
|
|
6786
6786
|
Vt.length > 0 && (ht = Vt[0].$el);
|
|
6787
6787
|
}
|
|
6788
6788
|
if (l.value && ht) {
|
|
6789
|
-
const Vt = (We = (
|
|
6789
|
+
const Vt = (We = (Ge = (Pe = (_e = l.value) == null ? void 0 : _e.popperRef) == null ? void 0 : Pe.contentRef) == null ? void 0 : Ge.querySelector) == null ? void 0 : We.call(Ge, `.${r.be("dropdown", "wrap")}`);
|
|
6790
6790
|
Vt && xT(Vt, ht);
|
|
6791
6791
|
}
|
|
6792
6792
|
(et = m.value) == null || et.handleScroll();
|
|
@@ -7116,7 +7116,7 @@ function WL(n, e, t, i, r, s) {
|
|
|
7116
7116
|
class: Ce(n.nsSelect.e("prefix"))
|
|
7117
7117
|
}, [
|
|
7118
7118
|
Xe(n.$slots, "prefix")
|
|
7119
|
-
], 2)) :
|
|
7119
|
+
], 2)) : Ve("v-if", !0),
|
|
7120
7120
|
ze("div", {
|
|
7121
7121
|
ref: "selectionRef",
|
|
7122
7122
|
class: Ce([
|
|
@@ -7153,7 +7153,7 @@ function WL(n, e, t, i, r, s) {
|
|
|
7153
7153
|
_: 2
|
|
7154
7154
|
}, 1032, ["closable", "size", "type", "effect", "style", "onClose"])
|
|
7155
7155
|
], 2))), 128)),
|
|
7156
|
-
n.collapseTags && n.states.selected.length > n.maxCollapseTags ? (ye(),
|
|
7156
|
+
n.collapseTags && n.states.selected.length > n.maxCollapseTags ? (ye(), ke(a, {
|
|
7157
7157
|
key: 0,
|
|
7158
7158
|
ref: "tagTooltipRef",
|
|
7159
7159
|
disabled: n.dropdownMenuVisible || !n.collapseTagsTooltip,
|
|
@@ -7220,9 +7220,9 @@ function WL(n, e, t, i, r, s) {
|
|
|
7220
7220
|
], 2)
|
|
7221
7221
|
]),
|
|
7222
7222
|
_: 3
|
|
7223
|
-
}, 8, ["disabled", "effect", "teleported"])) :
|
|
7224
|
-
]) :
|
|
7225
|
-
n.selectDisabled ?
|
|
7223
|
+
}, 8, ["disabled", "effect", "teleported"])) : Ve("v-if", !0)
|
|
7224
|
+
]) : Ve("v-if", !0),
|
|
7225
|
+
n.selectDisabled ? Ve("v-if", !0) : (ye(), Le("div", {
|
|
7226
7226
|
key: 1,
|
|
7227
7227
|
class: Ce([
|
|
7228
7228
|
n.nsSelect.e("selected-item"),
|
|
@@ -7270,7 +7270,7 @@ function WL(n, e, t, i, r, s) {
|
|
|
7270
7270
|
"aria-hidden": "true",
|
|
7271
7271
|
class: Ce(n.nsSelect.e("input-calculator")),
|
|
7272
7272
|
textContent: vt(n.states.inputValue)
|
|
7273
|
-
}, null, 10, ["textContent"])) :
|
|
7273
|
+
}, null, 10, ["textContent"])) : Ve("v-if", !0)
|
|
7274
7274
|
], 2)),
|
|
7275
7275
|
n.shouldShowPlaceholder ? (ye(), Le("div", {
|
|
7276
7276
|
key: 2,
|
|
@@ -7287,22 +7287,22 @@ function WL(n, e, t, i, r, s) {
|
|
|
7287
7287
|
}, () => [
|
|
7288
7288
|
ze("span", null, vt(n.currentPlaceholder), 1)
|
|
7289
7289
|
]) : (ye(), Le("span", { key: 1 }, vt(n.currentPlaceholder), 1))
|
|
7290
|
-
], 2)) :
|
|
7290
|
+
], 2)) : Ve("v-if", !0)
|
|
7291
7291
|
], 2),
|
|
7292
7292
|
ze("div", {
|
|
7293
7293
|
ref: "suffixRef",
|
|
7294
7294
|
class: Ce(n.nsSelect.e("suffix"))
|
|
7295
7295
|
}, [
|
|
7296
|
-
n.iconComponent && !n.showClose ? (ye(),
|
|
7296
|
+
n.iconComponent && !n.showClose ? (ye(), ke(c, {
|
|
7297
7297
|
key: 0,
|
|
7298
7298
|
class: Ce([n.nsSelect.e("caret"), n.nsSelect.e("icon"), n.iconReverse])
|
|
7299
7299
|
}, {
|
|
7300
7300
|
default: ve(() => [
|
|
7301
|
-
(ye(),
|
|
7301
|
+
(ye(), ke(Pn(n.iconComponent)))
|
|
7302
7302
|
]),
|
|
7303
7303
|
_: 1
|
|
7304
|
-
}, 8, ["class"])) :
|
|
7305
|
-
n.showClose && n.clearIcon ? (ye(),
|
|
7304
|
+
}, 8, ["class"])) : Ve("v-if", !0),
|
|
7305
|
+
n.showClose && n.clearIcon ? (ye(), ke(c, {
|
|
7306
7306
|
key: 1,
|
|
7307
7307
|
class: Ce([
|
|
7308
7308
|
n.nsSelect.e("caret"),
|
|
@@ -7312,19 +7312,19 @@ function WL(n, e, t, i, r, s) {
|
|
|
7312
7312
|
onClick: n.handleClearClick
|
|
7313
7313
|
}, {
|
|
7314
7314
|
default: ve(() => [
|
|
7315
|
-
(ye(),
|
|
7315
|
+
(ye(), ke(Pn(n.clearIcon)))
|
|
7316
7316
|
]),
|
|
7317
7317
|
_: 1
|
|
7318
|
-
}, 8, ["class", "onClick"])) :
|
|
7319
|
-
n.validateState && n.validateIcon ? (ye(),
|
|
7318
|
+
}, 8, ["class", "onClick"])) : Ve("v-if", !0),
|
|
7319
|
+
n.validateState && n.validateIcon ? (ye(), ke(c, {
|
|
7320
7320
|
key: 2,
|
|
7321
7321
|
class: Ce([n.nsInput.e("icon"), n.nsInput.e("validateIcon")])
|
|
7322
7322
|
}, {
|
|
7323
7323
|
default: ve(() => [
|
|
7324
|
-
(ye(),
|
|
7324
|
+
(ye(), ke(Pn(n.validateIcon)))
|
|
7325
7325
|
]),
|
|
7326
7326
|
_: 1
|
|
7327
|
-
}, 8, ["class"])) :
|
|
7327
|
+
}, 8, ["class"])) : Ve("v-if", !0)
|
|
7328
7328
|
], 2)
|
|
7329
7329
|
], 10, ["onClick"])
|
|
7330
7330
|
];
|
|
@@ -7339,7 +7339,7 @@ function WL(n, e, t, i, r, s) {
|
|
|
7339
7339
|
}, ["stop"])
|
|
7340
7340
|
}, [
|
|
7341
7341
|
Xe(n.$slots, "header")
|
|
7342
|
-
], 10, ["onClick"])) :
|
|
7342
|
+
], 10, ["onClick"])) : Ve("v-if", !0),
|
|
7343
7343
|
Pt(ce(h, {
|
|
7344
7344
|
id: n.contentId,
|
|
7345
7345
|
ref: "scrollbarRef",
|
|
@@ -7352,11 +7352,11 @@ function WL(n, e, t, i, r, s) {
|
|
|
7352
7352
|
"aria-orientation": "vertical"
|
|
7353
7353
|
}, {
|
|
7354
7354
|
default: ve(() => [
|
|
7355
|
-
n.showNewOption ? (ye(),
|
|
7355
|
+
n.showNewOption ? (ye(), ke(l, {
|
|
7356
7356
|
key: 0,
|
|
7357
7357
|
value: n.states.inputValue,
|
|
7358
7358
|
created: !0
|
|
7359
|
-
}, null, 8, ["value"])) :
|
|
7359
|
+
}, null, 8, ["value"])) : Ve("v-if", !0),
|
|
7360
7360
|
ce(d, null, {
|
|
7361
7361
|
default: ve(() => [
|
|
7362
7362
|
Xe(n.$slots, "default")
|
|
@@ -7380,7 +7380,7 @@ function WL(n, e, t, i, r, s) {
|
|
|
7380
7380
|
Xe(n.$slots, "empty", {}, () => [
|
|
7381
7381
|
ze("span", null, vt(n.emptyText), 1)
|
|
7382
7382
|
])
|
|
7383
|
-
], 2)) :
|
|
7383
|
+
], 2)) : Ve("v-if", !0),
|
|
7384
7384
|
n.$slots.footer ? (ye(), Le("div", {
|
|
7385
7385
|
key: 3,
|
|
7386
7386
|
class: Ce(n.nsSelect.be("dropdown", "footer")),
|
|
@@ -7388,7 +7388,7 @@ function WL(n, e, t, i, r, s) {
|
|
|
7388
7388
|
}, ["stop"])
|
|
7389
7389
|
}, [
|
|
7390
7390
|
Xe(n.$slots, "footer")
|
|
7391
|
-
], 10, ["onClick"])) :
|
|
7391
|
+
], 10, ["onClick"])) : Ve("v-if", !0)
|
|
7392
7392
|
]),
|
|
7393
7393
|
_: 3
|
|
7394
7394
|
}, 512)
|
|
@@ -7550,7 +7550,7 @@ const XL = ft({
|
|
|
7550
7550
|
return e({
|
|
7551
7551
|
popperRef: a,
|
|
7552
7552
|
hide: h
|
|
7553
|
-
}), (y, v) => (ye(),
|
|
7553
|
+
}), (y, v) => (ye(), ke(k(hf), Ti({
|
|
7554
7554
|
ref_key: "tooltipRef",
|
|
7555
7555
|
ref: o
|
|
7556
7556
|
}, y.$attrs, {
|
|
@@ -7586,13 +7586,13 @@ const XL = ft({
|
|
|
7586
7586
|
key: 0,
|
|
7587
7587
|
class: Ce(k(s).e("title")),
|
|
7588
7588
|
role: "title"
|
|
7589
|
-
}, vt(y.title), 3)) :
|
|
7589
|
+
}, vt(y.title), 3)) : Ve("v-if", !0),
|
|
7590
7590
|
Xe(y.$slots, "default", {}, () => [
|
|
7591
7591
|
mt(vt(y.content), 1)
|
|
7592
7592
|
])
|
|
7593
7593
|
]),
|
|
7594
7594
|
default: ve(() => [
|
|
7595
|
-
y.$slots.reference ? Xe(y.$slots, "reference", { key: 0 }) :
|
|
7595
|
+
y.$slots.reference ? Xe(y.$slots, "reference", { key: 0 }) : Ve("v-if", !0)
|
|
7596
7596
|
]),
|
|
7597
7597
|
_: 3
|
|
7598
7598
|
}, 16, ["trigger", "placement", "disabled", "visible", "transition", "popper-options", "tabindex", "content", "offset", "show-after", "hide-after", "auto-close", "show-arrow", "aria-label", "effect", "enterable", "popper-class", "popper-style", "teleported", "persistent", "gpu-acceleration", "onUpdate:visible"]));
|
|
@@ -8118,7 +8118,7 @@ const ER = Oe({
|
|
|
8118
8118
|
"aria-disabled": k(h),
|
|
8119
8119
|
"onUpdate:modelValue": k(w)
|
|
8120
8120
|
}, null, 8, ["id", "model-value", "vertical", "tooltip-class", "placement", "aria-label", "aria-labelledby", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-orientation", "aria-disabled", "onUpdate:modelValue"]),
|
|
8121
|
-
oe.range ? (ye(),
|
|
8121
|
+
oe.range ? (ye(), ke(Nm, {
|
|
8122
8122
|
key: 0,
|
|
8123
8123
|
ref_key: "secondButton",
|
|
8124
8124
|
ref: d,
|
|
@@ -8135,14 +8135,14 @@ const ER = Oe({
|
|
|
8135
8135
|
"aria-orientation": oe.vertical ? "vertical" : "horizontal",
|
|
8136
8136
|
"aria-disabled": k(h),
|
|
8137
8137
|
"onUpdate:modelValue": k(A)
|
|
8138
|
-
}, null, 8, ["model-value", "vertical", "tooltip-class", "placement", "aria-label", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-orientation", "aria-disabled", "onUpdate:modelValue"])) :
|
|
8138
|
+
}, null, 8, ["model-value", "vertical", "tooltip-class", "placement", "aria-label", "aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-valuetext", "aria-orientation", "aria-disabled", "onUpdate:modelValue"])) : Ve("v-if", !0),
|
|
8139
8139
|
oe.showStops ? (ye(), Le("div", { key: 1 }, [
|
|
8140
8140
|
(ye(!0), Le(Ft, null, Yn(k(S), (re, U) => (ye(), Le("div", {
|
|
8141
8141
|
key: U,
|
|
8142
8142
|
class: Ce(k(r).e("stop")),
|
|
8143
8143
|
style: Ct(k(R)(re))
|
|
8144
8144
|
}, null, 6))), 128))
|
|
8145
|
-
])) :
|
|
8145
|
+
])) : Ve("v-if", !0),
|
|
8146
8146
|
k(F).length > 0 ? (ye(), Le(Ft, { key: 2 }, [
|
|
8147
8147
|
ze("div", null, [
|
|
8148
8148
|
(ye(!0), Le(Ft, null, Yn(k(F), (re, U) => (ye(), Le("div", {
|
|
@@ -8154,16 +8154,16 @@ const ER = Oe({
|
|
|
8154
8154
|
ze("div", {
|
|
8155
8155
|
class: Ce(k(r).e("marks"))
|
|
8156
8156
|
}, [
|
|
8157
|
-
(ye(!0), Le(Ft, null, Yn(k(F), (re, U) => (ye(),
|
|
8157
|
+
(ye(!0), Le(Ft, null, Yn(k(F), (re, U) => (ye(), ke(k(TR), {
|
|
8158
8158
|
key: U,
|
|
8159
8159
|
mark: re.mark,
|
|
8160
8160
|
style: Ct(k(R)(re.position)),
|
|
8161
8161
|
onMousedown: an((H) => k(_)(re.position), ["stop"])
|
|
8162
8162
|
}, null, 8, ["mark", "style", "onMousedown"]))), 128))
|
|
8163
8163
|
], 2)
|
|
8164
|
-
], 64)) :
|
|
8164
|
+
], 64)) : Ve("v-if", !0)
|
|
8165
8165
|
], 46, ["onMousedown", "onTouchstartPassive"]),
|
|
8166
|
-
oe.showInput && !oe.range ? (ye(),
|
|
8166
|
+
oe.showInput && !oe.range ? (ye(), ke(k(ur), {
|
|
8167
8167
|
key: 0,
|
|
8168
8168
|
ref: "input",
|
|
8169
8169
|
"model-value": k(J),
|
|
@@ -8178,7 +8178,7 @@ const ER = Oe({
|
|
|
8178
8178
|
size: k(L),
|
|
8179
8179
|
"onUpdate:modelValue": k(w),
|
|
8180
8180
|
onChange: k(v)
|
|
8181
|
-
}, null, 8, ["model-value", "class", "step", "disabled", "controls", "min", "max", "precision", "debounce", "size", "onUpdate:modelValue", "onChange"])) :
|
|
8181
|
+
}, null, 8, ["model-value", "class", "step", "disabled", "controls", "min", "max", "precision", "debounce", "size", "onUpdate:modelValue", "onChange"])) : Ve("v-if", !0)
|
|
8182
8182
|
], 10, ["id", "role", "aria-label", "aria-labelledby"]);
|
|
8183
8183
|
};
|
|
8184
8184
|
}
|
|
@@ -8559,7 +8559,7 @@ const OR = ft({
|
|
|
8559
8559
|
Xe(g.$slots, "default")
|
|
8560
8560
|
], 10, ["id", "aria-hidden", "aria-labelledby"])), [
|
|
8561
8561
|
[mn, k(c)]
|
|
8562
|
-
]) :
|
|
8562
|
+
]) : Ve("v-if", !0);
|
|
8563
8563
|
}
|
|
8564
8564
|
});
|
|
8565
8565
|
var ny = /* @__PURE__ */ lt(kR, [["__file", "tab-pane.vue"]]);
|
|
@@ -19900,17 +19900,17 @@ function wt(n = {}) {
|
|
|
19900
19900
|
ge === null && (ge = ne);
|
|
19901
19901
|
const _e = Ae.isMesh && Ae.matrixWorld.determinant() < 0, Pe = De(Z, ge, we, Ae);
|
|
19902
19902
|
j.setMaterial(we, _e);
|
|
19903
|
-
let
|
|
19903
|
+
let Ge = fe.index;
|
|
19904
19904
|
const We = fe.attributes.position;
|
|
19905
|
-
if (
|
|
19905
|
+
if (Ge === null) {
|
|
19906
19906
|
if (We === void 0 || We.count === 0) return;
|
|
19907
|
-
} else if (
|
|
19907
|
+
} else if (Ge.count === 0)
|
|
19908
19908
|
return;
|
|
19909
19909
|
let et = 1;
|
|
19910
|
-
we.wireframe === !0 && (
|
|
19910
|
+
we.wireframe === !0 && (Ge = se.getWireframeAttribute(fe), et = 2), (we.morphTargets || we.morphNormals) && he.update(Ae, fe, we, Pe), xe.setup(Ae, we, Pe, fe, Ge);
|
|
19911
19911
|
let Ye, ht = be;
|
|
19912
|
-
|
|
19913
|
-
const Vt =
|
|
19912
|
+
Ge !== null && (Ye = le.get(Ge), ht = te, ht.setIndex(Ye));
|
|
19913
|
+
const Vt = Ge !== null ? Ge.count : We.count, sn = fe.drawRange.start * et, qr = fe.drawRange.count * et, Tt = me !== null ? me.start * et : 0, Qr = me !== null ? me.count * et : 1 / 0, xn = Math.max(sn, Tt), xw = Math.min(Vt, sn + qr, Tt + Qr) - 1, xl = Math.max(0, xw - xn + 1);
|
|
19914
19914
|
if (xl !== 0) {
|
|
19915
19915
|
if (Ae.isMesh)
|
|
19916
19916
|
we.wireframe === !0 ? (j.setLineWidth(we.wireframeLinewidth * ae()), ht.setMode(1)) : ht.setMode(4);
|
|
@@ -19987,9 +19987,9 @@ function wt(n = {}) {
|
|
|
19987
19987
|
we && J.setFromMatrixPosition(Z.matrixWorld).applyMatrix4(G);
|
|
19988
19988
|
const _e = V.update(Z), Pe = Z.material;
|
|
19989
19989
|
if (Array.isArray(Pe)) {
|
|
19990
|
-
const
|
|
19991
|
-
for (let We = 0, et =
|
|
19992
|
-
const Ye =
|
|
19990
|
+
const Ge = _e.groups;
|
|
19991
|
+
for (let We = 0, et = Ge.length; We < et; We++) {
|
|
19992
|
+
const Ye = Ge[We], ht = Pe[Ye.materialIndex];
|
|
19993
19993
|
ht && ht.visible && h.push(Z, _e, ht, fe, J.z, Ye);
|
|
19994
19994
|
}
|
|
19995
19995
|
} else Pe.visible && h.push(Z, _e, Pe, fe, J.z, null);
|
|
@@ -20019,15 +20019,15 @@ function wt(n = {}) {
|
|
|
20019
20019
|
function ni(Z, ge, fe) {
|
|
20020
20020
|
const we = ge.isScene === !0 ? ge.overrideMaterial : null;
|
|
20021
20021
|
for (let Ae = 0, me = Z.length; Ae < me; Ae++) {
|
|
20022
|
-
const _e = Z[Ae], Pe = _e.object,
|
|
20022
|
+
const _e = Z[Ae], Pe = _e.object, Ge = _e.geometry, We = we === null ? _e.material : we, et = _e.group;
|
|
20023
20023
|
if (fe.isArrayCamera) {
|
|
20024
20024
|
const Ye = fe.cameras;
|
|
20025
20025
|
for (let ht = 0, Vt = Ye.length; ht < Vt; ht++) {
|
|
20026
20026
|
const sn = Ye[ht];
|
|
20027
|
-
Pe.layers.test(sn.layers) && (j.viewport(w.copy(sn.viewport)), f.setupLightsView(sn), Kr(Pe, ge, sn,
|
|
20027
|
+
Pe.layers.test(sn.layers) && (j.viewport(w.copy(sn.viewport)), f.setupLightsView(sn), Kr(Pe, ge, sn, Ge, We, et));
|
|
20028
20028
|
}
|
|
20029
20029
|
} else
|
|
20030
|
-
Kr(Pe, ge, fe,
|
|
20030
|
+
Kr(Pe, ge, fe, Ge, We, et);
|
|
20031
20031
|
}
|
|
20032
20032
|
}
|
|
20033
20033
|
function Kr(Z, ge, fe, we, Ae, me) {
|
|
@@ -20040,15 +20040,15 @@ function wt(n = {}) {
|
|
|
20040
20040
|
}
|
|
20041
20041
|
function Q(Z, ge, fe) {
|
|
20042
20042
|
ge.isScene !== !0 && (ge = ne);
|
|
20043
|
-
const we = U.get(Z), Ae = f.state.lights, me = f.state.shadowsArray, _e = Ae.state.version, Pe = D.getParameters(Z, Ae.state, me, ge, fe),
|
|
20043
|
+
const we = U.get(Z), Ae = f.state.lights, me = f.state.shadowsArray, _e = Ae.state.version, Pe = D.getParameters(Z, Ae.state, me, ge, fe), Ge = D.getProgramCacheKey(Pe);
|
|
20044
20044
|
let We = we.programs;
|
|
20045
20045
|
we.environment = Z.isMeshStandardMaterial ? ge.environment : null, we.fog = ge.fog, we.envMap = K.get(Z.envMap || we.environment), We === void 0 && (Z.addEventListener("dispose", qe), We = /* @__PURE__ */ new Map(), we.programs = We);
|
|
20046
|
-
let et = We.get(
|
|
20046
|
+
let et = We.get(Ge);
|
|
20047
20047
|
if (et !== void 0) {
|
|
20048
20048
|
if (we.currentProgram === et && we.lightsStateVersion === _e)
|
|
20049
20049
|
return Te(Z, Pe), et;
|
|
20050
20050
|
} else
|
|
20051
|
-
Pe.uniforms = D.getUniforms(Z), Z.onBuild(Pe, u), Z.onBeforeCompile(Pe, u), et = D.acquireProgram(Pe,
|
|
20051
|
+
Pe.uniforms = D.getUniforms(Z), Z.onBuild(Pe, u), Z.onBeforeCompile(Pe, u), et = D.acquireProgram(Pe, Ge), We.set(Ge, et), we.uniforms = Pe.uniforms;
|
|
20052
20052
|
const Ye = we.uniforms;
|
|
20053
20053
|
(!Z.isShaderMaterial && !Z.isRawShaderMaterial || Z.clipping === !0) && (Ye.clippingPlanes = ue.uniform), Te(Z, Pe), we.needsLights = ct(Z), we.lightsStateVersion = _e, we.needsLights && (Ye.ambientLightColor.value = Ae.state.ambient, Ye.lightProbe.value = Ae.state.probe, Ye.directionalLights.value = Ae.state.directional, Ye.directionalLightShadows.value = Ae.state.directionalShadow, Ye.spotLights.value = Ae.state.spot, Ye.spotLightShadows.value = Ae.state.spotShadow, Ye.rectAreaLights.value = Ae.state.rectArea, Ye.ltc_1.value = Ae.state.rectAreaLTC1, Ye.ltc_2.value = Ae.state.rectAreaLTC2, Ye.pointLights.value = Ae.state.point, Ye.pointLightShadows.value = Ae.state.pointShadow, Ye.hemisphereLights.value = Ae.state.hemi, Ye.directionalShadowMap.value = Ae.state.directionalShadowMap, Ye.directionalShadowMatrix.value = Ae.state.directionalShadowMatrix, Ye.spotShadowMap.value = Ae.state.spotShadowMap, Ye.spotShadowMatrix.value = Ae.state.spotShadowMatrix, Ye.pointShadowMap.value = Ae.state.pointShadowMap, Ye.pointShadowMatrix.value = Ae.state.pointShadowMatrix);
|
|
20054
20054
|
const ht = et.getUniforms(), Vt = Ir.seqWithValue(ht.seq, Ye);
|
|
@@ -20060,13 +20060,13 @@ function wt(n = {}) {
|
|
|
20060
20060
|
}
|
|
20061
20061
|
function De(Z, ge, fe, we) {
|
|
20062
20062
|
ge.isScene !== !0 && (ge = ne), H.resetTextureUnits();
|
|
20063
|
-
const Ae = ge.fog, me = fe.isMeshStandardMaterial ? ge.environment : null, _e = x === null ? u.outputEncoding : x.texture.encoding, Pe = K.get(fe.envMap || me),
|
|
20063
|
+
const Ae = ge.fog, me = fe.isMeshStandardMaterial ? ge.environment : null, _e = x === null ? u.outputEncoding : x.texture.encoding, Pe = K.get(fe.envMap || me), Ge = fe.vertexColors === !0 && we.geometry && we.geometry.attributes.color && we.geometry.attributes.color.itemSize === 4, We = U.get(fe), et = f.state.lights;
|
|
20064
20064
|
if (B === !0 && (F === !0 || Z !== _)) {
|
|
20065
20065
|
const xn = Z === _ && fe.id === M;
|
|
20066
20066
|
ue.setState(fe, Z, xn);
|
|
20067
20067
|
}
|
|
20068
20068
|
let Ye = !1;
|
|
20069
|
-
fe.version === We.__version ? (We.needsLights && We.lightsStateVersion !== et.state.version || We.outputEncoding !== _e || we.isInstancedMesh && We.instancing === !1 || !we.isInstancedMesh && We.instancing === !0 || we.isSkinnedMesh && We.skinning === !1 || !we.isSkinnedMesh && We.skinning === !0 || We.envMap !== Pe || fe.fog && We.fog !== Ae || We.numClippingPlanes !== void 0 && (We.numClippingPlanes !== ue.numPlanes || We.numIntersection !== ue.numIntersection) || We.vertexAlphas !==
|
|
20069
|
+
fe.version === We.__version ? (We.needsLights && We.lightsStateVersion !== et.state.version || We.outputEncoding !== _e || we.isInstancedMesh && We.instancing === !1 || !we.isInstancedMesh && We.instancing === !0 || we.isSkinnedMesh && We.skinning === !1 || !we.isSkinnedMesh && We.skinning === !0 || We.envMap !== Pe || fe.fog && We.fog !== Ae || We.numClippingPlanes !== void 0 && (We.numClippingPlanes !== ue.numPlanes || We.numIntersection !== ue.numIntersection) || We.vertexAlphas !== Ge) && (Ye = !0) : (Ye = !0, We.__version = fe.version);
|
|
20070
20070
|
let ht = We.currentProgram;
|
|
20071
20071
|
Ye === !0 && (ht = Q(fe, ge, we));
|
|
20072
20072
|
let Vt = !1, sn = !1, qr = !1;
|
|
@@ -20110,19 +20110,19 @@ function wt(n = {}) {
|
|
|
20110
20110
|
if (Z) {
|
|
20111
20111
|
const Pe = Z.texture;
|
|
20112
20112
|
(Pe.isDataTexture3D || Pe.isDataTexture2DArray) && (me = !0);
|
|
20113
|
-
const
|
|
20114
|
-
Z.isWebGLCubeRenderTarget ? (we =
|
|
20113
|
+
const Ge = U.get(Z).__webglFramebuffer;
|
|
20114
|
+
Z.isWebGLCubeRenderTarget ? (we = Ge[ge], Ae = !0) : Z.isWebGLMultisampleRenderTarget ? we = U.get(Z).__webglMultisampledFramebuffer : we = Ge, w.copy(Z.viewport), A.copy(Z.scissor), S = Z.scissorTest;
|
|
20115
20115
|
} else
|
|
20116
20116
|
w.copy(C).multiplyScalar(I).floor(), A.copy(O).multiplyScalar(I).floor(), S = b;
|
|
20117
20117
|
if (j.bindFramebuffer(36160, we) && X.drawBuffers) {
|
|
20118
20118
|
let Pe = !1;
|
|
20119
20119
|
if (Z)
|
|
20120
20120
|
if (Z.isWebGLMultipleRenderTargets) {
|
|
20121
|
-
const
|
|
20122
|
-
if (P.length !==
|
|
20123
|
-
for (let We = 0, et =
|
|
20121
|
+
const Ge = Z.texture;
|
|
20122
|
+
if (P.length !== Ge.length || P[0] !== 36064) {
|
|
20123
|
+
for (let We = 0, et = Ge.length; We < et; We++)
|
|
20124
20124
|
P[We] = 36064 + We;
|
|
20125
|
-
P.length =
|
|
20125
|
+
P.length = Ge.length, Pe = !0;
|
|
20126
20126
|
}
|
|
20127
20127
|
} else
|
|
20128
20128
|
(P.length !== 1 || P[0] !== 36064) && (P[0] = 36064, P.length = 1, Pe = !0);
|
|
@@ -20134,8 +20134,8 @@ function wt(n = {}) {
|
|
|
20134
20134
|
const Pe = U.get(Z.texture);
|
|
20135
20135
|
ie.framebufferTexture2D(36160, 36064, 34069 + ge, Pe.__webglTexture, fe);
|
|
20136
20136
|
} else if (me) {
|
|
20137
|
-
const Pe = U.get(Z.texture),
|
|
20138
|
-
ie.framebufferTextureLayer(36160, 36064, Pe.__webglTexture, fe || 0,
|
|
20137
|
+
const Pe = U.get(Z.texture), Ge = ge || 0;
|
|
20138
|
+
ie.framebufferTextureLayer(36160, 36064, Pe.__webglTexture, fe || 0, Ge);
|
|
20139
20139
|
}
|
|
20140
20140
|
}, this.readRenderTargetPixels = function(Z, ge, fe, we, Ae, me, _e) {
|
|
20141
20141
|
if (!(Z && Z.isWebGLRenderTarget)) {
|
|
@@ -20146,7 +20146,7 @@ function wt(n = {}) {
|
|
|
20146
20146
|
if (Z.isWebGLCubeRenderTarget && _e !== void 0 && (Pe = Pe[_e]), Pe) {
|
|
20147
20147
|
j.bindFramebuffer(36160, Pe);
|
|
20148
20148
|
try {
|
|
20149
|
-
const
|
|
20149
|
+
const Ge = Z.texture, We = Ge.format, et = Ge.type;
|
|
20150
20150
|
if (We !== Gn && pe.convert(We) !== ie.getParameter(35739)) {
|
|
20151
20151
|
console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");
|
|
20152
20152
|
return;
|
|
@@ -20160,8 +20160,8 @@ function wt(n = {}) {
|
|
|
20160
20160
|
}
|
|
20161
20161
|
ie.checkFramebufferStatus(36160) === 36053 ? ge >= 0 && ge <= Z.width - we && fe >= 0 && fe <= Z.height - Ae && ie.readPixels(ge, fe, we, Ae, pe.convert(We), pe.convert(et), me) : console.error("THREE.WebGLRenderer.readRenderTargetPixels: readPixels from renderTarget failed. Framebuffer not complete.");
|
|
20162
20162
|
} finally {
|
|
20163
|
-
const
|
|
20164
|
-
j.bindFramebuffer(36160,
|
|
20163
|
+
const Ge = x !== null ? U.get(x).__webglFramebuffer : null;
|
|
20164
|
+
j.bindFramebuffer(36160, Ge);
|
|
20165
20165
|
}
|
|
20166
20166
|
}
|
|
20167
20167
|
}, this.copyFramebufferToTexture = function(Z, ge, fe = 0) {
|
|
@@ -20176,7 +20176,7 @@ function wt(n = {}) {
|
|
|
20176
20176
|
console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.");
|
|
20177
20177
|
return;
|
|
20178
20178
|
}
|
|
20179
|
-
const me = Z.max.x - Z.min.x + 1, _e = Z.max.y - Z.min.y + 1, Pe = Z.max.z - Z.min.z + 1,
|
|
20179
|
+
const me = Z.max.x - Z.min.x + 1, _e = Z.max.y - Z.min.y + 1, Pe = Z.max.z - Z.min.z + 1, Ge = pe.convert(we.format), We = pe.convert(we.type);
|
|
20180
20180
|
let et;
|
|
20181
20181
|
if (we.isDataTexture3D)
|
|
20182
20182
|
H.setTexture3D(we, 0), et = 32879;
|
|
@@ -20188,7 +20188,7 @@ function wt(n = {}) {
|
|
|
20188
20188
|
}
|
|
20189
20189
|
ie.pixelStorei(37440, we.flipY), ie.pixelStorei(37441, we.premultiplyAlpha), ie.pixelStorei(3317, we.unpackAlignment);
|
|
20190
20190
|
const Ye = ie.getParameter(3314), ht = ie.getParameter(32878), Vt = ie.getParameter(3316), sn = ie.getParameter(3315), qr = ie.getParameter(32877), Tt = fe.isCompressedTexture ? fe.mipmaps[0] : fe.image;
|
|
20191
|
-
ie.pixelStorei(3314, Tt.width), ie.pixelStorei(32878, Tt.height), ie.pixelStorei(3316, Z.min.x), ie.pixelStorei(3315, Z.min.y), ie.pixelStorei(32877, Z.min.z), fe.isDataTexture || fe.isDataTexture3D ? ie.texSubImage3D(et, Ae, ge.x, ge.y, ge.z, me, _e, Pe,
|
|
20191
|
+
ie.pixelStorei(3314, Tt.width), ie.pixelStorei(32878, Tt.height), ie.pixelStorei(3316, Z.min.x), ie.pixelStorei(3315, Z.min.y), ie.pixelStorei(32877, Z.min.z), fe.isDataTexture || fe.isDataTexture3D ? ie.texSubImage3D(et, Ae, ge.x, ge.y, ge.z, me, _e, Pe, Ge, We, Tt.data) : fe.isCompressedTexture ? (console.warn("THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture."), ie.compressedTexSubImage3D(et, Ae, ge.x, ge.y, ge.z, me, _e, Pe, Ge, Tt.data)) : ie.texSubImage3D(et, Ae, ge.x, ge.y, ge.z, me, _e, Pe, Ge, We, Tt), ie.pixelStorei(3314, Ye), ie.pixelStorei(32878, ht), ie.pixelStorei(3316, Vt), ie.pixelStorei(3315, sn), ie.pixelStorei(32877, qr), Ae === 0 && we.generateMipmaps && ie.generateMipmap(et), j.unbindTexture();
|
|
20192
20192
|
}, this.initTexture = function(Z) {
|
|
20193
20193
|
H.setTexture2D(Z, 0), j.unbindTexture();
|
|
20194
20194
|
}, this.resetState = function() {
|
|
@@ -35892,10 +35892,10 @@ void main() {
|
|
|
35892
35892
|
}, this.getViewportFromCentreAndRadius = (Q, Te, De, $e, ct, Z) => {
|
|
35893
35893
|
var ge = this.cameraObject.position.x - this.cameraObject.target.x, fe = this.cameraObject.position.y - this.cameraObject.target.y, we = this.cameraObject.position.z - this.cameraObject.target.z, Ae = 1 / Math.sqrt(ge * ge + fe * fe + we * we);
|
|
35894
35894
|
ge *= Ae, fe *= Ae, we *= Ae;
|
|
35895
|
-
var me = [Q, Te, De], _e = $e / Math.tan(ct * Math.PI / 360), Pe = [Q + ge * _e, Te + fe * _e, De + we * _e],
|
|
35895
|
+
var me = [Q, Te, De], _e = $e / Math.tan(ct * Math.PI / 360), Pe = [Q + ge * _e, Te + fe * _e, De + we * _e], Ge = _e + Z, We = 0, et = 0.95;
|
|
35896
35896
|
We = Z > et * _e ? (1 - et) * _e : _e - Z;
|
|
35897
35897
|
var Ye = new h();
|
|
35898
|
-
return Ye.nearPlane = We, Ye.farPlane =
|
|
35898
|
+
return Ye.nearPlane = We, Ye.farPlane = Ge, Ye.eyePosition = Pe, Ye.targetPosition = me, Ye.upVector = [this.cameraObject.up.x, this.cameraObject.up.y, this.cameraObject.up.z], Ye;
|
|
35899
35899
|
}, this.getViewportFromBoundingBox = (Q, Te) => {
|
|
35900
35900
|
var De = Q.min.distanceTo(Q.max) / 2 * Te, $e = (Q.min.x + Q.max.x) / 2, ct = (Q.min.y + Q.max.y) / 2, Z = (Q.min.z + Q.max.z) / 2, ge = 4, fe = this.getViewportFromCentreAndRadius($e, ct, Z, De, 40, De * ge);
|
|
35901
35901
|
return fe;
|
|
@@ -37466,7 +37466,7 @@ const Ec = /* @__PURE__ */ A2(Rr), bv = (n, e) => {
|
|
|
37466
37466
|
};
|
|
37467
37467
|
function pz(n, e, t, i, r, s) {
|
|
37468
37468
|
const o = yi, a = ti, c = ur, l = Ni, d = Yo, h = cr, f = Bi;
|
|
37469
|
-
return ye(),
|
|
37469
|
+
return ye(), ke(f, { class: "lines-container" }, {
|
|
37470
37470
|
default: ve(() => [
|
|
37471
37471
|
ce(h, { class: "slides-block" }, {
|
|
37472
37472
|
default: ve(() => [
|
|
@@ -37640,7 +37640,7 @@ function pz(n, e, t, i, r, s) {
|
|
|
37640
37640
|
]),
|
|
37641
37641
|
_: 1
|
|
37642
37642
|
})
|
|
37643
|
-
], 64)) :
|
|
37643
|
+
], 64)) : Ve("", !0)
|
|
37644
37644
|
]),
|
|
37645
37645
|
_: 1
|
|
37646
37646
|
})
|
|
@@ -37736,7 +37736,7 @@ const rw = /* @__PURE__ */ fr(fz, [["render", pz], ["__scopeId", "data-v-6581aa6
|
|
|
37736
37736
|
};
|
|
37737
37737
|
function gz(n, e, t, i, r, s) {
|
|
37738
37738
|
const o = yi, a = ti, c = ur, l = Ni, d = Ko, h = Jo, f = Yo, g = cr, p = Bi;
|
|
37739
|
-
return ye(),
|
|
37739
|
+
return ye(), ke(p, { class: "pointset-container" }, {
|
|
37740
37740
|
default: ve(() => [
|
|
37741
37741
|
ce(g, { class: "slides-block" }, {
|
|
37742
37742
|
default: ve(() => [
|
|
@@ -37814,7 +37814,7 @@ function gz(n, e, t, i, r, s) {
|
|
|
37814
37814
|
onChange: e[3] || (e[3] = (u) => s.modifyAttenuation(u, n.slide))
|
|
37815
37815
|
}, {
|
|
37816
37816
|
default: ve(() => [
|
|
37817
|
-
(ye(!0), Le(Ft, null, Yn(n.choices, (u) => (ye(),
|
|
37817
|
+
(ye(!0), Le(Ft, null, Yn(n.choices, (u) => (ye(), ke(d, {
|
|
37818
37818
|
key: u.value,
|
|
37819
37819
|
label: u.label,
|
|
37820
37820
|
value: u.value
|
|
@@ -37966,7 +37966,7 @@ function gz(n, e, t, i, r, s) {
|
|
|
37966
37966
|
]),
|
|
37967
37967
|
_: 1
|
|
37968
37968
|
})
|
|
37969
|
-
], 64)) :
|
|
37969
|
+
], 64)) : Ve("", !0)
|
|
37970
37970
|
]),
|
|
37971
37971
|
_: 1
|
|
37972
37972
|
})
|
|
@@ -38031,11 +38031,11 @@ const sw = /* @__PURE__ */ fr(mz, [["render", gz], ["__scopeId", "data-v-d1de9c6
|
|
|
38031
38031
|
};
|
|
38032
38032
|
function yz(n, e, t, i, r, s) {
|
|
38033
38033
|
const o = Ko, a = Jo, c = yi, l = ti, d = ur, h = Ic, f = It, g = Ni, p = cr, u = Jc, y = J0, v = Bi;
|
|
38034
|
-
return ye(),
|
|
38034
|
+
return ye(), ke(v, { class: "t-slides-container" }, {
|
|
38035
38035
|
default: ve(() => [
|
|
38036
38036
|
ce(p, { class: "slides-block" }, {
|
|
38037
38037
|
default: ve(() => [
|
|
38038
|
-
(ye(!0), Le(Ft, null, Yn(n.settings, (m, x) => (ye(),
|
|
38038
|
+
(ye(!0), Le(Ft, null, Yn(n.settings, (m, x) => (ye(), ke(g, {
|
|
38039
38039
|
key: m.id,
|
|
38040
38040
|
class: "slide-row"
|
|
38041
38041
|
}, {
|
|
@@ -38054,7 +38054,7 @@ function yz(n, e, t, i, r, s) {
|
|
|
38054
38054
|
onChange: (M) => s.modifyDirection(M, m)
|
|
38055
38055
|
}, {
|
|
38056
38056
|
default: ve(() => [
|
|
38057
|
-
(ye(!0), Le(Ft, null, Yn(n.directions, (M) => (ye(),
|
|
38057
|
+
(ye(!0), Le(Ft, null, Yn(n.directions, (M) => (ye(), ke(o, {
|
|
38058
38058
|
key: M.value,
|
|
38059
38059
|
label: M.label,
|
|
38060
38060
|
value: M.value
|
|
@@ -38217,7 +38217,7 @@ const ow = /* @__PURE__ */ fr(vz, [["render", yz], ["__scopeId", "data-v-12185b7
|
|
|
38217
38217
|
};
|
|
38218
38218
|
function xz(n, e, t, i, r, s) {
|
|
38219
38219
|
const o = yi, a = ti, c = ur, l = Ni, d = cr, h = Bi;
|
|
38220
|
-
return ye(),
|
|
38220
|
+
return ye(), ke(h, { class: "transformation-container" }, {
|
|
38221
38221
|
default: ve(() => [
|
|
38222
38222
|
ce(d, { class: "slides-block" }, {
|
|
38223
38223
|
default: ve(() => [
|
|
@@ -38368,7 +38368,7 @@ function xz(n, e, t, i, r, s) {
|
|
|
38368
38368
|
]),
|
|
38369
38369
|
_: 1
|
|
38370
38370
|
}),
|
|
38371
|
-
n.enableScaling ? (ye(),
|
|
38371
|
+
n.enableScaling ? (ye(), ke(l, {
|
|
38372
38372
|
key: 0,
|
|
38373
38373
|
class: "tool-row"
|
|
38374
38374
|
}, {
|
|
@@ -38419,7 +38419,7 @@ function xz(n, e, t, i, r, s) {
|
|
|
38419
38419
|
})
|
|
38420
38420
|
]),
|
|
38421
38421
|
_: 1
|
|
38422
|
-
})) :
|
|
38422
|
+
})) : Ve("", !0)
|
|
38423
38423
|
]),
|
|
38424
38424
|
_: 1
|
|
38425
38425
|
})
|
|
@@ -38457,7 +38457,7 @@ const aw = /* @__PURE__ */ fr(bz, [["render", xz], ["__scopeId", "data-v-69c1b94
|
|
|
38457
38457
|
}, Mz = { class: "block" }, Sz = { class: "display" };
|
|
38458
38458
|
function _z(n, e, t, i, r, s) {
|
|
38459
38459
|
const o = ti, a = Bi;
|
|
38460
|
-
return t.material ? (ye(),
|
|
38460
|
+
return t.material ? (ye(), ke(a, {
|
|
38461
38461
|
key: 0,
|
|
38462
38462
|
class: "opacity-container"
|
|
38463
38463
|
}, {
|
|
@@ -38477,7 +38477,7 @@ function _z(n, e, t, i, r, s) {
|
|
|
38477
38477
|
])
|
|
38478
38478
|
]),
|
|
38479
38479
|
_: 1
|
|
38480
|
-
})) :
|
|
38480
|
+
})) : Ve("", !0);
|
|
38481
38481
|
}
|
|
38482
38482
|
const lw = /* @__PURE__ */ fr(wz, [["render", _z], ["__scopeId", "data-v-cbfc46a5"]]), Tz = {
|
|
38483
38483
|
name: "PrimitiveControls",
|
|
@@ -39107,7 +39107,7 @@ function Nz(n, e, t, i, r, s) {
|
|
|
39107
39107
|
}, {
|
|
39108
39108
|
default: ve(() => [
|
|
39109
39109
|
ze("div", Iz, vt(t.label), 1),
|
|
39110
|
-
t.region ? (ye(), Le("div", Oz, "Region: " + vt(t.region), 1)) :
|
|
39110
|
+
t.region ? (ye(), Le("div", Oz, "Region: " + vt(t.region), 1)) : Ve("", !0),
|
|
39111
39111
|
Pt(ce(o, {
|
|
39112
39112
|
createData: t.createData,
|
|
39113
39113
|
onConfirmCreate: e[0] || (e[0] = (f) => n.$emit("confirm-create", f)),
|
|
@@ -39165,7 +39165,7 @@ function Nz(n, e, t, i, r, s) {
|
|
|
39165
39165
|
]),
|
|
39166
39166
|
_: 1
|
|
39167
39167
|
})
|
|
39168
|
-
])) :
|
|
39168
|
+
])) : Ve("", !0)
|
|
39169
39169
|
]),
|
|
39170
39170
|
_: 1
|
|
39171
39171
|
}, 8, ["visible", "onHide"])
|
|
@@ -41433,6 +41433,21 @@ const rU = {
|
|
|
41433
41433
|
flatmapAPI: {
|
|
41434
41434
|
type: String,
|
|
41435
41435
|
default: "https://mapcore-demo.org/current/flatmap/v3/"
|
|
41436
|
+
},
|
|
41437
|
+
/**
|
|
41438
|
+
* The option to show local settings UI
|
|
41439
|
+
* (background colour, viewing mode, etc.)
|
|
41440
|
+
*/
|
|
41441
|
+
showLocalSettings: {
|
|
41442
|
+
type: Boolean,
|
|
41443
|
+
default: !0
|
|
41444
|
+
},
|
|
41445
|
+
/**
|
|
41446
|
+
* The option to show open new map button
|
|
41447
|
+
*/
|
|
41448
|
+
showOpenMapButton: {
|
|
41449
|
+
type: Boolean,
|
|
41450
|
+
default: !0
|
|
41436
41451
|
}
|
|
41437
41452
|
},
|
|
41438
41453
|
provide() {
|
|
@@ -42732,7 +42747,7 @@ function vU(n, e, t, i, r, s) {
|
|
|
42732
42747
|
onKeydown: e[5] || (e[5] = ui((...A) => s.backgroundChangeCallback && s.backgroundChangeCallback(...A), ["66"]))
|
|
42733
42748
|
}, null, 544),
|
|
42734
42749
|
Pt(ze("div", null, [
|
|
42735
|
-
n.viewingMode === "Annotation" && (n.authorisedUser || n.offlineAnnotationEnabled) ? (ye(),
|
|
42750
|
+
n.viewingMode === "Annotation" && (n.authorisedUser || n.offlineAnnotationEnabled) ? (ye(), ke(c, {
|
|
42736
42751
|
key: 0,
|
|
42737
42752
|
toolbarOptions: n.toolbarOptions,
|
|
42738
42753
|
activeDrawTool: n.activeDrawTool,
|
|
@@ -42742,8 +42757,8 @@ function vU(n, e, t, i, r, s) {
|
|
|
42742
42757
|
onShowTooltip: s.showHelpText,
|
|
42743
42758
|
onHideTooltip: s.hideHelpText,
|
|
42744
42759
|
ref: "toolbarPopover"
|
|
42745
|
-
}, null, 8, ["toolbarOptions", "activeDrawTool", "activeDrawMode", "hoverVisibilities", "onClickToolbar", "onShowTooltip", "onHideTooltip"])) :
|
|
42746
|
-
t.displayWarning ? (ye(),
|
|
42760
|
+
}, null, 8, ["toolbarOptions", "activeDrawTool", "activeDrawMode", "hoverVisibilities", "onClickToolbar", "onShowTooltip", "onHideTooltip"])) : Ve("", !0),
|
|
42761
|
+
t.displayWarning ? (ye(), ke(h, {
|
|
42747
42762
|
key: 1,
|
|
42748
42763
|
ref: "warningPopover",
|
|
42749
42764
|
visible: n.hoverVisibilities[7].value,
|
|
@@ -42767,11 +42782,11 @@ function vU(n, e, t, i, r, s) {
|
|
|
42767
42782
|
_: 1
|
|
42768
42783
|
}),
|
|
42769
42784
|
e[27] || (e[27] = ze("span", { class: "message-text" }, "Beta", -1))
|
|
42770
|
-
], 32)) :
|
|
42785
|
+
], 32)) : Ve("", !0)
|
|
42771
42786
|
]),
|
|
42772
42787
|
_: 1
|
|
42773
|
-
}, 8, ["visible", "content"])) :
|
|
42774
|
-
t.displayLatestChanges ? (ye(),
|
|
42788
|
+
}, 8, ["visible", "content"])) : Ve("", !0),
|
|
42789
|
+
t.displayLatestChanges ? (ye(), ke(h, {
|
|
42775
42790
|
key: 2,
|
|
42776
42791
|
visible: n.hoverVisibilities[8].value,
|
|
42777
42792
|
content: t.latestChangesMessage,
|
|
@@ -42795,10 +42810,10 @@ function vU(n, e, t, i, r, s) {
|
|
|
42795
42810
|
_: 1
|
|
42796
42811
|
}),
|
|
42797
42812
|
e[28] || (e[28] = ze("span", { class: "message-text" }, "What's new?", -1))
|
|
42798
|
-
], 32)) :
|
|
42813
|
+
], 32)) : Ve("", !0)
|
|
42799
42814
|
]),
|
|
42800
42815
|
_: 1
|
|
42801
|
-
}, 8, ["visible", "content"])) :
|
|
42816
|
+
}, 8, ["visible", "content"])) : Ve("", !0),
|
|
42802
42817
|
ce(h, {
|
|
42803
42818
|
visible: n.hoverVisibilities[6].value,
|
|
42804
42819
|
content: "Change region visibility",
|
|
@@ -42828,7 +42843,7 @@ function vU(n, e, t, i, r, s) {
|
|
|
42828
42843
|
onPrimitivesUpdated: s.primitivesUpdated
|
|
42829
42844
|
}, null, 8, ["createData", "onPrimitivesUpdated"])
|
|
42830
42845
|
]),
|
|
42831
|
-
n.timeVarying ? (ye(),
|
|
42846
|
+
n.timeVarying ? (ye(), ke(h, {
|
|
42832
42847
|
key: 3,
|
|
42833
42848
|
ref: "sliderPopover",
|
|
42834
42849
|
width: "max-content",
|
|
@@ -42850,12 +42865,12 @@ function vU(n, e, t, i, r, s) {
|
|
|
42850
42865
|
default: ve(() => [
|
|
42851
42866
|
ce(y, { class: "tab-content" }, {
|
|
42852
42867
|
default: ve(() => [
|
|
42853
|
-
n.isPlaying ? (ye(),
|
|
42868
|
+
n.isPlaying ? (ye(), ke(p, {
|
|
42854
42869
|
key: 0,
|
|
42855
42870
|
icon: "pause",
|
|
42856
42871
|
class: "icon-button video-button",
|
|
42857
42872
|
onClick: e[10] || (e[10] = (A) => s.play(!1))
|
|
42858
|
-
})) : (ye(),
|
|
42873
|
+
})) : (ye(), ke(p, {
|
|
42859
42874
|
key: 1,
|
|
42860
42875
|
icon: "play",
|
|
42861
42876
|
class: "video-button icon-button",
|
|
@@ -42901,7 +42916,7 @@ function vU(n, e, t, i, r, s) {
|
|
|
42901
42916
|
onChange: e[13] || (e[13] = (A) => s.speedChanged(A))
|
|
42902
42917
|
}, {
|
|
42903
42918
|
default: ve(() => [
|
|
42904
|
-
(ye(!0), Le(Ft, null, Yn(n.playSpeed, (A) => (ye(),
|
|
42919
|
+
(ye(!0), Le(Ft, null, Yn(n.playSpeed, (A) => (ye(), ke(m, {
|
|
42905
42920
|
key: A.value,
|
|
42906
42921
|
label: A.label,
|
|
42907
42922
|
value: A.value
|
|
@@ -42919,10 +42934,10 @@ function vU(n, e, t, i, r, s) {
|
|
|
42919
42934
|
]),
|
|
42920
42935
|
_: 1
|
|
42921
42936
|
})
|
|
42922
|
-
], 2)) :
|
|
42937
|
+
], 2)) : Ve("", !0)
|
|
42923
42938
|
]),
|
|
42924
42939
|
_: 1
|
|
42925
|
-
}, 8, ["visible"])) :
|
|
42940
|
+
}, 8, ["visible"])) : Ve("", !0),
|
|
42926
42941
|
ze("div", dU, [
|
|
42927
42942
|
ce(h, {
|
|
42928
42943
|
visible: n.hoverVisibilities[0].value,
|
|
@@ -42994,7 +43009,7 @@ function vU(n, e, t, i, r, s) {
|
|
|
42994
43009
|
_: 1
|
|
42995
43010
|
}, 8, ["visible"])
|
|
42996
43011
|
]),
|
|
42997
|
-
n.openMapRef ? (ye(),
|
|
43012
|
+
n.openMapRef ? (ye(), ke(h, {
|
|
42998
43013
|
key: 4,
|
|
42999
43014
|
ref: "open-map-popover",
|
|
43000
43015
|
"virtual-ref": n.openMapRef,
|
|
@@ -43006,7 +43021,7 @@ function vU(n, e, t, i, r, s) {
|
|
|
43006
43021
|
"virtual-triggering": ""
|
|
43007
43022
|
}, {
|
|
43008
43023
|
default: ve(() => [
|
|
43009
|
-
(ye(!0), Le(Ft, null, Yn(t.openMapOptions, (A) => (ye(),
|
|
43024
|
+
(ye(!0), Le(Ft, null, Yn(t.openMapOptions, (A) => (ye(), ke(y, {
|
|
43010
43025
|
key: A.key
|
|
43011
43026
|
}, {
|
|
43012
43027
|
default: ve(() => [
|
|
@@ -43025,7 +43040,7 @@ function vU(n, e, t, i, r, s) {
|
|
|
43025
43040
|
}, 1024))), 128))
|
|
43026
43041
|
]),
|
|
43027
43042
|
_: 1
|
|
43028
|
-
}, 8, ["virtual-ref"])) :
|
|
43043
|
+
}, 8, ["virtual-ref"])) : Ve("", !0),
|
|
43029
43044
|
ce(h, {
|
|
43030
43045
|
ref: "backgroundPopover",
|
|
43031
43046
|
"virtual-ref": n.backgroundIconRef,
|
|
@@ -43063,7 +43078,7 @@ function vU(n, e, t, i, r, s) {
|
|
|
43063
43078
|
]),
|
|
43064
43079
|
_: 1
|
|
43065
43080
|
}),
|
|
43066
|
-
n.viewingMode === "Annotation" && n.offlineAnnotationEnabled ? (ye(),
|
|
43081
|
+
n.viewingMode === "Annotation" && n.offlineAnnotationEnabled ? (ye(), ke(y, {
|
|
43067
43082
|
key: 0,
|
|
43068
43083
|
class: "viewing-mode-description"
|
|
43069
43084
|
}, {
|
|
@@ -43071,7 +43086,7 @@ function vU(n, e, t, i, r, s) {
|
|
|
43071
43086
|
mt(" (Anonymous annotate) ")
|
|
43072
43087
|
])),
|
|
43073
43088
|
_: 1
|
|
43074
|
-
})) :
|
|
43089
|
+
})) : Ve("", !0)
|
|
43075
43090
|
]),
|
|
43076
43091
|
_: 1
|
|
43077
43092
|
}),
|
|
@@ -43103,7 +43118,7 @@ function vU(n, e, t, i, r, s) {
|
|
|
43103
43118
|
ze("div", {
|
|
43104
43119
|
class: Ce(["settings-group", { open: n.drawerOpen, close: !n.drawerOpen }])
|
|
43105
43120
|
}, [
|
|
43106
|
-
|
|
43121
|
+
t.showOpenMapButton ? (ye(), ke(y, { key: 0 }, {
|
|
43107
43122
|
default: ve(() => [
|
|
43108
43123
|
ce(h, {
|
|
43109
43124
|
visible: n.hoverVisibilities[3].value,
|
|
@@ -43116,21 +43131,21 @@ function vU(n, e, t, i, r, s) {
|
|
|
43116
43131
|
ref: "openMapPopover"
|
|
43117
43132
|
}, {
|
|
43118
43133
|
reference: ve(() => [
|
|
43119
|
-
t.enableOpenMapUI && t.openMapOptions.length > 0 ? (ye(),
|
|
43134
|
+
t.enableOpenMapUI && t.openMapOptions.length > 0 ? (ye(), ke(p, {
|
|
43120
43135
|
key: 0,
|
|
43121
43136
|
ref: "openMapRef",
|
|
43122
43137
|
icon: "openMap",
|
|
43123
43138
|
class: "icon-button open-map-button",
|
|
43124
43139
|
onMouseover: e[23] || (e[23] = (A) => s.showHelpText(3)),
|
|
43125
43140
|
onMouseout: e[24] || (e[24] = (A) => s.hideHelpText(3))
|
|
43126
|
-
}, null, 512)) :
|
|
43141
|
+
}, null, 512)) : Ve("", !0)
|
|
43127
43142
|
]),
|
|
43128
43143
|
_: 1
|
|
43129
43144
|
}, 8, ["visible"])
|
|
43130
43145
|
]),
|
|
43131
43146
|
_: 1
|
|
43132
|
-
}),
|
|
43133
|
-
|
|
43147
|
+
})) : Ve("", !0),
|
|
43148
|
+
t.showLocalSettings ? (ye(), ke(y, { key: 1 }, {
|
|
43134
43149
|
default: ve(() => [
|
|
43135
43150
|
ce(h, {
|
|
43136
43151
|
visible: n.hoverVisibilities[4].value,
|
|
@@ -43155,7 +43170,7 @@ function vU(n, e, t, i, r, s) {
|
|
|
43155
43170
|
}, 8, ["visible"])
|
|
43156
43171
|
]),
|
|
43157
43172
|
_: 1
|
|
43158
|
-
})
|
|
43173
|
+
})) : Ve("", !0)
|
|
43159
43174
|
], 2)
|
|
43160
43175
|
], 512), [
|
|
43161
43176
|
[mn, t.displayUI && !n.isTransitioning]
|
|
@@ -43164,7 +43179,7 @@ function vU(n, e, t, i, r, s) {
|
|
|
43164
43179
|
[w, n.loading]
|
|
43165
43180
|
]);
|
|
43166
43181
|
}
|
|
43167
|
-
const SU = /* @__PURE__ */ fr(rU, [["render", vU], ["__scopeId", "data-v-
|
|
43182
|
+
const SU = /* @__PURE__ */ fr(rU, [["render", vU], ["__scopeId", "data-v-37201f15"]]);
|
|
43168
43183
|
export {
|
|
43169
43184
|
SU as ScaffoldVuer
|
|
43170
43185
|
};
|