@webitel/ui-sdk 26.8.142 → 26.8.144
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/{clients-BOQlPQY9.js → clients-2IJUU4qx.js} +1 -1
- package/dist/{components-YpxR-tSG.js → components-B4OUcPfz.js} +346 -346
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +2 -2
- package/dist/ui-sdk.umd.cjs +621 -600
- package/dist/{wt-button-DSs8WAg-.js → wt-button-DipbKGWn.js} +1 -1
- package/dist/{wt-chat-emoji-DzZPSLEd.js → wt-chat-emoji-BSKbQUyN.js} +3 -3
- package/dist/{wt-display-chip-items-CZeGyreN.js → wt-display-chip-items-DLrXRkTo.js} +1 -1
- package/dist/{wt-icon-Cr_aDKIX.js → wt-icon-B9Yy9aye.js} +6 -0
- package/dist/{wt-icon-btn-Dy4odu2Q.js → wt-icon-btn-8EHSKSxB.js} +1 -1
- package/dist/{wt-notifications-bar-BDtvykT7.js → wt-notifications-bar-DDuf0Ui1.js} +1 -1
- package/dist/{wt-player-BjnujOrP.js → wt-player-BJrKbYMu.js} +2 -2
- package/dist/{wt-send-message-popup-CDaoK0yA.js → wt-send-message-popup-DPB0kwb-.js} +2 -2
- package/dist/{wt-table-ByNazLN3.js → wt-table-Cy3TfK4i.js} +1 -1
- package/dist/{wt-toast-CAoQkSuJ.js → wt-toast-3-3ZylQ9.js} +1 -1
- package/dist/{wt-tree-table-Rf2Jq-39.js → wt-tree-table-K5UphR9W.js} +1 -1
- package/dist/{wt-type-extension-value-input-CfiPjrFy.js → wt-type-extension-value-input-D9lFx1HY.js} +3 -3
- package/dist/{wt-vidstack-player-CFvihy8V.js → wt-vidstack-player-nie8EC5k.js} +3 -3
- package/package.json +1 -1
- package/src/assets/icons/sprite/contact-book--filled.svg +3 -0
- package/src/assets/icons/sprite/contact-book.svg +5 -0
- package/src/assets/icons/sprite/history--filled.svg +4 -0
- package/src/assets/icons/sprite/home--filled.svg +3 -0
- package/src/assets/icons/sprite/home.svg +3 -0
- package/src/assets/icons/sprite/index.ts +12 -0
- package/src/assets/icons/sprite/job--filled.svg +3 -0
- package/src/components/wt-navigation-rail/_internals/navigation-rail-button.vue +2 -3
- package/types/.tsbuildinfo +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, o as t } from "./dist-EXdgfpvN.js";
|
|
2
2
|
import { n, t as r } from "./dist-CnyqtIg9.js";
|
|
3
|
-
import { t as i } from "./wt-icon-
|
|
3
|
+
import { t as i } from "./wt-icon-B9Yy9aye.js";
|
|
4
4
|
import { c as a, d as o, f as s, l as c, o as l, s as u, u as d } from "./convertDuration-CIPonKKW.js";
|
|
5
5
|
import { i as f, n as p, t as m } from "./toZonedTime-B8L5kbse.js";
|
|
6
6
|
import { n as h, t as g } from "./wt-label-CiLpqe61.js";
|
|
@@ -8,14 +8,14 @@ import { t as _ } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
|
8
8
|
import { E as v, T as y, d as b, g as ee, h as x, k as S, l as te, m as ne, r as C, u as re } from "./enums-CKer6GJR.js";
|
|
9
9
|
import "./utils-DQQQIpjz.js";
|
|
10
10
|
import { t as ie } from "./wt-badge-B3NI2a3-.js";
|
|
11
|
-
import { n as ae, t as oe } from "./wt-button-
|
|
11
|
+
import { n as ae, t as oe } from "./wt-button-DipbKGWn.js";
|
|
12
12
|
import { n as se } from "./vue-i18n-VBiROMZ4.js";
|
|
13
13
|
import "./debounce-A4B4PTkL.js";
|
|
14
|
-
import { t as ce } from "./wt-toast-
|
|
14
|
+
import { t as ce } from "./wt-toast-3-3ZylQ9.js";
|
|
15
15
|
import "./sortQueryAdapters-Bb1yt_LD.js";
|
|
16
16
|
import { t as le } from "./wt-checkbox-BBdi-1oS.js";
|
|
17
17
|
import { t as ue } from "./wt-icon-action-DnDFrScL.js";
|
|
18
|
-
import { t as de } from "./wt-icon-btn-
|
|
18
|
+
import { t as de } from "./wt-icon-btn-8EHSKSxB.js";
|
|
19
19
|
import { t as fe } from "./useValidation-B1EJdGM4.js";
|
|
20
20
|
import { i as pe, n as me, r as he } from "./composables-BeyROIj_.js";
|
|
21
21
|
import { t as ge } from "./wt-expand-transition-C2p9bR4j.js";
|
|
@@ -4537,269 +4537,7 @@ function xo(e, t, n, r, i, a) {
|
|
|
4537
4537
|
_: 1
|
|
4538
4538
|
})])), [[d, a.close]]);
|
|
4539
4539
|
}
|
|
4540
|
-
var So = /*#__PURE__*/ _(so, [["render", xo], ["__scopeId", "data-v-e4d5857a"]]),
|
|
4541
|
-
Vue: () => Te,
|
|
4542
|
-
Vue2: () => void 0,
|
|
4543
|
-
del: () => Eo,
|
|
4544
|
-
install: () => wo,
|
|
4545
|
-
isVue2: () => !1,
|
|
4546
|
-
isVue3: () => !0,
|
|
4547
|
-
set: () => To
|
|
4548
|
-
});
|
|
4549
|
-
import * as Co from "vue";
|
|
4550
|
-
t($, Co);
|
|
4551
|
-
function wo() {}
|
|
4552
|
-
function To(e, t, n) {
|
|
4553
|
-
return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
|
|
4554
|
-
}
|
|
4555
|
-
function Eo(e, t) {
|
|
4556
|
-
if (Array.isArray(e)) {
|
|
4557
|
-
e.splice(t, 1);
|
|
4558
|
-
return;
|
|
4559
|
-
}
|
|
4560
|
-
delete e[t];
|
|
4561
|
-
}
|
|
4562
|
-
//#endregion
|
|
4563
|
-
//#region node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs
|
|
4564
|
-
function Do(e) {
|
|
4565
|
-
return typeof e == "object" && !!e && "$el" in e;
|
|
4566
|
-
}
|
|
4567
|
-
function Oo(e) {
|
|
4568
|
-
if (Do(e)) {
|
|
4569
|
-
let t = e.$el;
|
|
4570
|
-
return ve(t) && Ce(t) === "#comment" ? null : t;
|
|
4571
|
-
}
|
|
4572
|
-
return e;
|
|
4573
|
-
}
|
|
4574
|
-
function ko(e) {
|
|
4575
|
-
return typeof e == "function" ? e() : (0, $.unref)(e);
|
|
4576
|
-
}
|
|
4577
|
-
function Ao(e) {
|
|
4578
|
-
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
4579
|
-
}
|
|
4580
|
-
function jo(e, t) {
|
|
4581
|
-
let n = Ao(e);
|
|
4582
|
-
return Math.round(t * n) / n;
|
|
4583
|
-
}
|
|
4584
|
-
function Mo(e, t, n) {
|
|
4585
|
-
n === void 0 && (n = {});
|
|
4586
|
-
let r = n.whileElementsMounted, i = (0, $.computed)(() => ko(n.open) ?? !0), a = (0, $.computed)(() => ko(n.middleware)), o = (0, $.computed)(() => ko(n.placement) ?? "bottom"), s = (0, $.computed)(() => ko(n.strategy) ?? "absolute"), c = (0, $.computed)(() => ko(n.transform) ?? !0), l = (0, $.computed)(() => Oo(e.value)), u = (0, $.computed)(() => Oo(t.value)), d = (0, $.ref)(0), f = (0, $.ref)(0), p = (0, $.ref)(s.value), m = (0, $.ref)(o.value), h = (0, $.shallowRef)({}), g = (0, $.ref)(!1), _ = (0, $.computed)(() => {
|
|
4587
|
-
let e = {
|
|
4588
|
-
position: p.value,
|
|
4589
|
-
left: "0",
|
|
4590
|
-
top: "0"
|
|
4591
|
-
};
|
|
4592
|
-
if (!u.value) return e;
|
|
4593
|
-
let t = jo(u.value, d.value), n = jo(u.value, f.value);
|
|
4594
|
-
return c.value ? {
|
|
4595
|
-
...e,
|
|
4596
|
-
transform: "translate(" + t + "px, " + n + "px)",
|
|
4597
|
-
...Ao(u.value) >= 1.5 && { willChange: "transform" }
|
|
4598
|
-
} : {
|
|
4599
|
-
position: p.value,
|
|
4600
|
-
left: t + "px",
|
|
4601
|
-
top: n + "px"
|
|
4602
|
-
};
|
|
4603
|
-
}), v;
|
|
4604
|
-
function y() {
|
|
4605
|
-
if (l.value == null || u.value == null) return;
|
|
4606
|
-
let e = i.value;
|
|
4607
|
-
Se(l.value, u.value, {
|
|
4608
|
-
middleware: a.value,
|
|
4609
|
-
placement: o.value,
|
|
4610
|
-
strategy: s.value
|
|
4611
|
-
}).then((t) => {
|
|
4612
|
-
d.value = t.x, f.value = t.y, p.value = t.strategy, m.value = t.placement, h.value = t.middlewareData, g.value = e !== !1;
|
|
4613
|
-
});
|
|
4614
|
-
}
|
|
4615
|
-
function b() {
|
|
4616
|
-
typeof v == "function" && (v(), v = void 0);
|
|
4617
|
-
}
|
|
4618
|
-
function ee() {
|
|
4619
|
-
if (b(), r === void 0) {
|
|
4620
|
-
y();
|
|
4621
|
-
return;
|
|
4622
|
-
}
|
|
4623
|
-
if (l.value != null && u.value != null) {
|
|
4624
|
-
v = r(l.value, u.value, y);
|
|
4625
|
-
return;
|
|
4626
|
-
}
|
|
4627
|
-
}
|
|
4628
|
-
function x() {
|
|
4629
|
-
i.value || (g.value = !1);
|
|
4630
|
-
}
|
|
4631
|
-
return (0, $.watch)([
|
|
4632
|
-
a,
|
|
4633
|
-
o,
|
|
4634
|
-
s,
|
|
4635
|
-
i
|
|
4636
|
-
], y, { flush: "sync" }), (0, $.watch)([l, u], ee, { flush: "sync" }), (0, $.watch)(i, x, { flush: "sync" }), (0, $.getCurrentScope)() && (0, $.onScopeDispose)(b), {
|
|
4637
|
-
x: (0, $.shallowReadonly)(d),
|
|
4638
|
-
y: (0, $.shallowReadonly)(f),
|
|
4639
|
-
strategy: (0, $.shallowReadonly)(p),
|
|
4640
|
-
placement: (0, $.shallowReadonly)(m),
|
|
4641
|
-
middlewareData: (0, $.shallowReadonly)(h),
|
|
4642
|
-
isPositioned: (0, $.shallowReadonly)(g),
|
|
4643
|
-
floatingStyles: _,
|
|
4644
|
-
update: y
|
|
4645
|
-
};
|
|
4646
|
-
}
|
|
4647
|
-
//#endregion
|
|
4648
|
-
//#region src/components/wt-tooltip/_internals/useTooltipTriggerSubscriptions.js
|
|
4649
|
-
var No = {
|
|
4650
|
-
hover: "mouseenter",
|
|
4651
|
-
focus: "focus",
|
|
4652
|
-
click: "click",
|
|
4653
|
-
touch: "touchstart",
|
|
4654
|
-
pointer: "pointerdown"
|
|
4655
|
-
}, Po = {
|
|
4656
|
-
hover: "mouseleave",
|
|
4657
|
-
focus: "blur",
|
|
4658
|
-
click: "click",
|
|
4659
|
-
touch: "touchend",
|
|
4660
|
-
pointer: "pointerup"
|
|
4661
|
-
}, Fo = ({ target: e, triggers: t, show: n, hide: r }) => {
|
|
4662
|
-
let i = () => {
|
|
4663
|
-
((e, t) => {
|
|
4664
|
-
t.forEach((t) => {
|
|
4665
|
-
let i = No[t];
|
|
4666
|
-
i ? e.addEventListener(i, n) : console.log(`No Tooltip Show event for ${t} trigger`);
|
|
4667
|
-
let a = Po[t];
|
|
4668
|
-
a ? e.addEventListener(a, r) : console.log(`No Tooltip Hide event for ${t} trigger`);
|
|
4669
|
-
});
|
|
4670
|
-
})(e.value, t);
|
|
4671
|
-
}, a = () => {
|
|
4672
|
-
((e, t) => {
|
|
4673
|
-
t.forEach((t) => {
|
|
4674
|
-
let i = No[t];
|
|
4675
|
-
i ? e.removeEventListener(i, n) : console.log(`No Tooltip Show event for ${t} trigger`);
|
|
4676
|
-
let a = Po[t];
|
|
4677
|
-
a ? e.removeEventListener(a, r) : console.log(`No Tooltip Hide event for ${t} trigger`);
|
|
4678
|
-
});
|
|
4679
|
-
})(e.value, t);
|
|
4680
|
-
};
|
|
4681
|
-
ze(() => i()), Re(() => a());
|
|
4682
|
-
}, Io = {
|
|
4683
|
-
__name: "wt-tooltip-floating",
|
|
4684
|
-
props: { triggers: {
|
|
4685
|
-
type: Array,
|
|
4686
|
-
default: () => []
|
|
4687
|
-
} },
|
|
4688
|
-
emits: ["show", "hide"],
|
|
4689
|
-
setup(e, { emit: t }) {
|
|
4690
|
-
let n = e, r = t, i = R(null);
|
|
4691
|
-
return Fo({
|
|
4692
|
-
target: i,
|
|
4693
|
-
triggers: n.triggers,
|
|
4694
|
-
show: () => r("show"),
|
|
4695
|
-
hide: () => r("hide")
|
|
4696
|
-
}), (e, t) => (L(), D("aside", {
|
|
4697
|
-
ref_key: "floating",
|
|
4698
|
-
ref: i,
|
|
4699
|
-
class: "wt-tooltip-floating"
|
|
4700
|
-
}, [z(e.$slots, "default")], 512));
|
|
4701
|
-
}
|
|
4702
|
-
}, Lo = /*#__PURE__*/ _({
|
|
4703
|
-
__name: "wt-tooltip",
|
|
4704
|
-
props: {
|
|
4705
|
-
visible: {
|
|
4706
|
-
type: Boolean,
|
|
4707
|
-
default: !1
|
|
4708
|
-
},
|
|
4709
|
-
placement: {
|
|
4710
|
-
type: String,
|
|
4711
|
-
default: "auto"
|
|
4712
|
-
},
|
|
4713
|
-
popperTriggers: {
|
|
4714
|
-
type: Array,
|
|
4715
|
-
default: () => []
|
|
4716
|
-
},
|
|
4717
|
-
triggers: {
|
|
4718
|
-
type: Array,
|
|
4719
|
-
default: () => [
|
|
4720
|
-
"hover",
|
|
4721
|
-
"focus",
|
|
4722
|
-
"touch"
|
|
4723
|
-
]
|
|
4724
|
-
},
|
|
4725
|
-
popperClass: {
|
|
4726
|
-
type: String,
|
|
4727
|
-
default: ""
|
|
4728
|
-
},
|
|
4729
|
-
disabled: {
|
|
4730
|
-
type: Boolean,
|
|
4731
|
-
default: !1
|
|
4732
|
-
},
|
|
4733
|
-
disableClickAway: {
|
|
4734
|
-
type: Boolean,
|
|
4735
|
-
default: !1
|
|
4736
|
-
}
|
|
4737
|
-
},
|
|
4738
|
-
emits: ["update:visible"],
|
|
4739
|
-
setup(e, { emit: t }) {
|
|
4740
|
-
let n = e, r = t, i = Qe("activator"), a = Qe("floating"), o = Qe("floatingChild"), s = R(n.visible), c = () => {
|
|
4741
|
-
r("update:visible", s.value);
|
|
4742
|
-
}, l = (e = {}) => {
|
|
4743
|
-
n.disabled || s.value || (s.value = !0, e.usedByTooltip = !0, c(), f());
|
|
4744
|
-
}, u = (e = {}) => {
|
|
4745
|
-
let t = o.value?.contains(e.target);
|
|
4746
|
-
!s.value || e.usedByTooltip || t || (s.value = !1, c(), p());
|
|
4747
|
-
}, d = (e = {}) => {
|
|
4748
|
-
n.disableClickAway || u(e);
|
|
4749
|
-
}, f = () => {
|
|
4750
|
-
window.addEventListener("scroll", u, !0);
|
|
4751
|
-
}, p = () => {
|
|
4752
|
-
window.removeEventListener("scroll", u, !0);
|
|
4753
|
-
}, { floatingStyles: m } = Mo(i, a, {
|
|
4754
|
-
placement: n.placement === "auto" ? null : n.placement,
|
|
4755
|
-
strategy: "fixed",
|
|
4756
|
-
whileElementsMounted: be,
|
|
4757
|
-
middleware: [
|
|
4758
|
-
xe(),
|
|
4759
|
-
_e(4),
|
|
4760
|
-
n.placement === "auto" ? we() : ye()
|
|
4761
|
-
]
|
|
4762
|
-
});
|
|
4763
|
-
return Fo({
|
|
4764
|
-
target: i,
|
|
4765
|
-
triggers: n.triggers,
|
|
4766
|
-
show: l,
|
|
4767
|
-
hide: u
|
|
4768
|
-
}), G(() => n.visible, (e) => {
|
|
4769
|
-
e ? l() : u();
|
|
4770
|
-
}), ze(() => {
|
|
4771
|
-
n.visible && l();
|
|
4772
|
-
}), Re(() => {
|
|
4773
|
-
p();
|
|
4774
|
-
}), (t, n) => {
|
|
4775
|
-
let r = Ge("clickaway");
|
|
4776
|
-
return L(), D("div", { class: F([{ "wt-tooltip--visible": s.value }, "wt-tooltip"]) }, [O("div", {
|
|
4777
|
-
ref_key: "activator",
|
|
4778
|
-
ref: i,
|
|
4779
|
-
class: "wt-tooltip__activator"
|
|
4780
|
-
}, [z(t.$slots, "activator", I(N({ visible: s.value })), void 0, !0)], 512), s.value ? q((L(), T(Io, {
|
|
4781
|
-
key: 0,
|
|
4782
|
-
ref_key: "floating",
|
|
4783
|
-
ref: a,
|
|
4784
|
-
class: F([[e.popperClass], "wt-tooltip__floating typo-body-2"]),
|
|
4785
|
-
style: Le(W(m)),
|
|
4786
|
-
triggers: e.popperTriggers,
|
|
4787
|
-
onHide: u,
|
|
4788
|
-
onShow: l
|
|
4789
|
-
}, {
|
|
4790
|
-
default: K(() => [O("div", {
|
|
4791
|
-
ref_key: "floatingChild",
|
|
4792
|
-
ref: o
|
|
4793
|
-
}, [z(t.$slots, "default", I(N({ hide: u })), void 0, !0)], 512)], void 0, !0),
|
|
4794
|
-
_: 3
|
|
4795
|
-
}, 8, [
|
|
4796
|
-
"class",
|
|
4797
|
-
"style",
|
|
4798
|
-
"triggers"
|
|
4799
|
-
])), [[r, d]]) : E("", !0)], 2);
|
|
4800
|
-
};
|
|
4801
|
-
}
|
|
4802
|
-
}, [["__scopeId", "data-v-72aa56d0"]]), Ro = /*#__PURE__*/ _(/* @__PURE__ */ M({
|
|
4540
|
+
var So = /*#__PURE__*/ _(so, [["render", xo], ["__scopeId", "data-v-e4d5857a"]]), Co = /*#__PURE__*/ _(/* @__PURE__ */ M({
|
|
4803
4541
|
__name: "navigation-rail-button",
|
|
4804
4542
|
props: {
|
|
4805
4543
|
item: {},
|
|
@@ -4808,11 +4546,11 @@ var No = {
|
|
|
4808
4546
|
emits: ["select"],
|
|
4809
4547
|
setup(e, { emit: t }) {
|
|
4810
4548
|
let n = t;
|
|
4811
|
-
return (t, r) => (L(), T(
|
|
4549
|
+
return (t, r) => (L(), T(W(Bs), {
|
|
4812
4550
|
disabled: !e.item.label,
|
|
4813
4551
|
placement: "right"
|
|
4814
4552
|
}, {
|
|
4815
|
-
activator: K(() => [A(oe, {
|
|
4553
|
+
activator: K(() => [A(W(oe), {
|
|
4816
4554
|
class: F([{ "navigation-rail-button--active": e.active }, "navigation-rail-button"]),
|
|
4817
4555
|
"aria-label": e.item.label,
|
|
4818
4556
|
"aria-current": e.active ? "page" : void 0,
|
|
@@ -4838,11 +4576,11 @@ var No = {
|
|
|
4838
4576
|
_: 1
|
|
4839
4577
|
}, 8, ["disabled"]));
|
|
4840
4578
|
}
|
|
4841
|
-
}), [["__scopeId", "data-v-
|
|
4579
|
+
}), [["__scopeId", "data-v-f75dccff"]]), wo = {
|
|
4842
4580
|
key: 0,
|
|
4843
4581
|
class: "wt-navigation-rail",
|
|
4844
4582
|
"aria-label": "Navigation rail"
|
|
4845
|
-
},
|
|
4583
|
+
}, To = { class: "wt-navigation-rail__list" }, Eo = /*#__PURE__*/ _(/* @__PURE__ */ M({
|
|
4846
4584
|
__name: "wt-navigation-rail",
|
|
4847
4585
|
props: {
|
|
4848
4586
|
topItems: { default: () => [] },
|
|
@@ -4858,25 +4596,25 @@ var No = {
|
|
|
4858
4596
|
name: "bottom",
|
|
4859
4597
|
items: n.bottomItems
|
|
4860
4598
|
}]), a = t;
|
|
4861
|
-
return (t, n) => r.value ? (L(), D("nav",
|
|
4599
|
+
return (t, n) => r.value ? (L(), D("nav", wo, [(L(!0), D(Ee, null, We(i.value, (t) => (L(), D(Ee, { key: t.name }, [t.items.length ? (L(), D("div", {
|
|
4862
4600
|
key: 0,
|
|
4863
4601
|
class: F(["wt-navigation-rail__group", `wt-navigation-rail__group--${t.name}`])
|
|
4864
|
-
}, [O("ul",
|
|
4602
|
+
}, [O("ul", To, [(L(!0), D(Ee, null, We(t.items, (t) => (L(), D("li", { key: t.id }, [A(Co, {
|
|
4865
4603
|
item: t,
|
|
4866
4604
|
active: t.id === e.activeItemId,
|
|
4867
4605
|
onSelect: n[0] ||= (e) => a("select", e)
|
|
4868
4606
|
}, null, 8, ["item", "active"])]))), 128))])], 2)) : E("", !0)], 64))), 128))])) : E("", !0);
|
|
4869
4607
|
}
|
|
4870
|
-
}), [["__scopeId", "data-v-ac2a5f9f"]]),
|
|
4608
|
+
}), [["__scopeId", "data-v-ac2a5f9f"]]), Do = { class: "wt-page" }, Oo = {
|
|
4871
4609
|
key: 0,
|
|
4872
4610
|
class: "wt-page__header"
|
|
4873
|
-
},
|
|
4611
|
+
}, ko = { class: "wt-page__main" }, Ao = { class: "wt-page__body" }, jo = /*#__PURE__*/ _(/* @__PURE__ */ M({
|
|
4874
4612
|
__name: "wt-page",
|
|
4875
4613
|
props: { navigationRail: {} },
|
|
4876
4614
|
emits: ["navigation-select"],
|
|
4877
4615
|
setup(e, { emit: t }) {
|
|
4878
4616
|
let n = t;
|
|
4879
|
-
return (t, r) => (L(), D("div",
|
|
4617
|
+
return (t, r) => (L(), D("div", Do, [t.$slots.header ? (L(), D("div", Oo, [z(t.$slots, "header", {}, void 0, !0)])) : E("", !0), O("div", ko, [e.navigationRail ? (L(), T(Eo, {
|
|
4880
4618
|
key: 0,
|
|
4881
4619
|
"top-items": e.navigationRail.topItems,
|
|
4882
4620
|
"bottom-items": e.navigationRail.bottomItems,
|
|
@@ -4886,9 +4624,9 @@ var No = {
|
|
|
4886
4624
|
"top-items",
|
|
4887
4625
|
"bottom-items",
|
|
4888
4626
|
"active-item-id"
|
|
4889
|
-
])) : E("", !0), O("div",
|
|
4627
|
+
])) : E("", !0), O("div", Ao, [z(t.$slots, "default", {}, void 0, !0)])])]));
|
|
4890
4628
|
}
|
|
4891
|
-
}), [["__scopeId", "data-v-824afe91"]]),
|
|
4629
|
+
}), [["__scopeId", "data-v-824afe91"]]), Mo = {
|
|
4892
4630
|
name: "WtPageWrapper",
|
|
4893
4631
|
props: {
|
|
4894
4632
|
hideHeader: {
|
|
@@ -4900,21 +4638,21 @@ var No = {
|
|
|
4900
4638
|
default: !0
|
|
4901
4639
|
}
|
|
4902
4640
|
}
|
|
4903
|
-
},
|
|
4641
|
+
}, No = { class: "wt-page-wrapper" }, Po = {
|
|
4904
4642
|
key: 0,
|
|
4905
4643
|
class: "wt-page-wrapper__header"
|
|
4906
|
-
},
|
|
4644
|
+
}, Fo = {
|
|
4907
4645
|
key: 1,
|
|
4908
4646
|
class: "wt-page-wrapper__actions-panel"
|
|
4909
|
-
},
|
|
4910
|
-
function
|
|
4911
|
-
return L(), D("section",
|
|
4912
|
-
n.hideHeader ? E("", !0) : (L(), D("div",
|
|
4913
|
-
n.actionsPanel ? (L(), D("div",
|
|
4914
|
-
O("div",
|
|
4647
|
+
}, Io = { class: "wt-page-wrapper__main" };
|
|
4648
|
+
function Lo(e, t, n, r, i, a) {
|
|
4649
|
+
return L(), D("section", No, [
|
|
4650
|
+
n.hideHeader ? E("", !0) : (L(), D("div", Po, [z(e.$slots, "header", {}, void 0, !0)])),
|
|
4651
|
+
n.actionsPanel ? (L(), D("div", Fo, [z(e.$slots, "actions-panel", {}, void 0, !0)])) : E("", !0),
|
|
4652
|
+
O("div", Io, [z(e.$slots, "main", {}, void 0, !0)])
|
|
4915
4653
|
]);
|
|
4916
4654
|
}
|
|
4917
|
-
var
|
|
4655
|
+
var Ro = /*#__PURE__*/ _(Mo, [["render", Lo], ["__scopeId", "data-v-5270d938"]]), zo = { class: "wt-password" }, Bo = /* @__PURE__ */ M({
|
|
4918
4656
|
__name: "wt-password",
|
|
4919
4657
|
props: /*@__PURE__*/ P({
|
|
4920
4658
|
label: { default: "" },
|
|
@@ -4957,7 +4695,7 @@ var $o = /*#__PURE__*/ _(qo, [["render", Qo], ["__scopeId", "data-v-5270d938"]])
|
|
|
4957
4695
|
};
|
|
4958
4696
|
return t({ focus: m }), (t, n) => {
|
|
4959
4697
|
let o = B("wt-label"), s = B("p-password"), c = B("wt-icon-btn"), l = B("p-input-group-addon"), m = B("p-input-group"), g = B("wt-message");
|
|
4960
|
-
return L(), D("div",
|
|
4698
|
+
return L(), D("div", zo, [
|
|
4961
4699
|
_.value ? (L(), T(o, Fe({ key: 0 }, e.labelProps, {
|
|
4962
4700
|
disabled: e.disabled,
|
|
4963
4701
|
for: a,
|
|
@@ -5013,23 +4751,23 @@ var $o = /*#__PURE__*/ _(qo, [["render", Qo], ["__scopeId", "data-v-5270d938"]])
|
|
|
5013
4751
|
]);
|
|
5014
4752
|
};
|
|
5015
4753
|
}
|
|
5016
|
-
}),
|
|
4754
|
+
}), Vo = (e) => Object.prototype.toString.call(e).includes("Object"), Ho = (e) => Array.isArray(e), Uo = (e) => Object.prototype.toString.call(e) === "[object String]", Wo = (e) => Number.isInteger(e), Go = (e) => typeof e == "number" && !isNaN(e), Ko = (e, t) => t(e) ? !0 : !Vo(e) || Object.keys(e).length !== 2 ? !1 : !Object.entries(e).some(([e, n]) => {
|
|
5017
4755
|
let r = !["enter", "leave"].includes(e), i = !t(n);
|
|
5018
4756
|
return r || i;
|
|
5019
|
-
}),
|
|
4757
|
+
}), qo = (e) => Ko(e, (e) => Wo(e) && e >= 0), Jo = (e) => Ko(e, (e) => Uo(e) && e.trim() !== ""), Yo = (e) => Ko(e, (e) => Wo(e) && e >= 0), Xo = 300, Zo = "cubic-bezier(.25, .8, .5, 1)", Qo = 0, $o = [0, -16], es = {
|
|
5020
4758
|
inheritAttrs: !1,
|
|
5021
4759
|
props: {
|
|
5022
4760
|
duration: {
|
|
5023
|
-
validator:
|
|
5024
|
-
default:
|
|
4761
|
+
validator: qo,
|
|
4762
|
+
default: Xo
|
|
5025
4763
|
},
|
|
5026
4764
|
easing: {
|
|
5027
|
-
validator:
|
|
5028
|
-
default: () =>
|
|
4765
|
+
validator: Jo,
|
|
4766
|
+
default: () => Zo
|
|
5029
4767
|
},
|
|
5030
4768
|
delay: {
|
|
5031
|
-
validator:
|
|
5032
|
-
default:
|
|
4769
|
+
validator: Yo,
|
|
4770
|
+
default: Qo
|
|
5033
4771
|
},
|
|
5034
4772
|
noOpacity: {
|
|
5035
4773
|
type: Boolean,
|
|
@@ -5057,7 +4795,7 @@ var $o = /*#__PURE__*/ _(qo, [["render", Qo], ["__scopeId", "data-v-5270d938"]])
|
|
|
5057
4795
|
},
|
|
5058
4796
|
moveDuration: {
|
|
5059
4797
|
type: Number,
|
|
5060
|
-
default:
|
|
4798
|
+
default: Xo
|
|
5061
4799
|
}
|
|
5062
4800
|
},
|
|
5063
4801
|
computed: {
|
|
@@ -5137,11 +4875,11 @@ var $o = /*#__PURE__*/ _(qo, [["render", Qo], ["__scopeId", "data-v-5270d938"]])
|
|
|
5137
4875
|
mounted() {
|
|
5138
4876
|
this.setMoveDuration();
|
|
5139
4877
|
}
|
|
5140
|
-
},
|
|
4878
|
+
}, ts = (e, t) => {
|
|
5141
4879
|
let n = e.__vccOpts || e;
|
|
5142
4880
|
for (let [e, r] of t) n[e] = r;
|
|
5143
4881
|
return n;
|
|
5144
|
-
},
|
|
4882
|
+
}, ns = (e) => {
|
|
5145
4883
|
let t = e.startsWith("matrix3d") ? "matrix3d" : "matrix";
|
|
5146
4884
|
return [t, t === "matrix3d" ? e.slice(9, -1).split(",").map(Number) : e.startsWith("matrix") ? e.slice(7, -1).split(",").map(Number) : [
|
|
5147
4885
|
1,
|
|
@@ -5151,12 +4889,12 @@ var $o = /*#__PURE__*/ _(qo, [["render", Qo], ["__scopeId", "data-v-5270d938"]])
|
|
|
5151
4889
|
0,
|
|
5152
4890
|
0
|
|
5153
4891
|
]];
|
|
5154
|
-
},
|
|
4892
|
+
}, rs = {
|
|
5155
4893
|
name: "transition-slide",
|
|
5156
|
-
mixins: [
|
|
4894
|
+
mixins: [es],
|
|
5157
4895
|
props: { offset: {
|
|
5158
|
-
validator: (e) =>
|
|
5159
|
-
default: () =>
|
|
4896
|
+
validator: (e) => Ko(e, (e) => !Ho(e) || e.length !== 2 ? !1 : !e.some((e) => Wo(e) ? !1 : Uo(e) ? isNaN(Number(e.endsWith("%") ? e.slice(0, -1) : e)) : !0)),
|
|
4897
|
+
default: () => $o
|
|
5160
4898
|
} },
|
|
5161
4899
|
data: () => ({}),
|
|
5162
4900
|
computed: {},
|
|
@@ -5169,8 +4907,8 @@ var $o = /*#__PURE__*/ _(qo, [["render", Qo], ["__scopeId", "data-v-5270d938"]])
|
|
|
5169
4907
|
},
|
|
5170
4908
|
slideElement(e, t = "enter") {
|
|
5171
4909
|
let { width: n, height: r, transform: i } = getComputedStyle(e), [a, o] = this.offset?.[t] ?? this.offset;
|
|
5172
|
-
|
|
5173
|
-
let [s, c] =
|
|
4910
|
+
Go(a) || (a = a.endsWith("%") ? parseFloat(n) * (parseFloat(a.slice(0, -1)) || 0) / 100 : parseFloat(a)), Go(o) || (o = o.endsWith("%") ? parseFloat(r) * (parseFloat(o.slice(0, -1)) || 0) / 100 : parseFloat(o));
|
|
4911
|
+
let [s, c] = ns(i);
|
|
5174
4912
|
i.startsWith("matrix3d") ? (c[12] += a, c[13] += o) : i.startsWith("matrix") ? (c[4] += a, c[5] += o) : (c[4] = a, c[5] = o), this.noOpacity || e.style.setProperty("opacity", 0), e.style.setProperty("transform", `${s}(${c})`);
|
|
5175
4913
|
},
|
|
5176
4914
|
resetElement(e) {
|
|
@@ -5178,22 +4916,22 @@ var $o = /*#__PURE__*/ _(qo, [["render", Qo], ["__scopeId", "data-v-5270d938"]])
|
|
|
5178
4916
|
}
|
|
5179
4917
|
}
|
|
5180
4918
|
};
|
|
5181
|
-
function
|
|
4919
|
+
function is(e, t, n, r, i, a) {
|
|
5182
4920
|
return L(), T(Ke(e.cComponent), Fe({ name: "slide" }, e.cAttrs, qe(e.cHooks)), {
|
|
5183
4921
|
default: K(() => [z(e.$slots, "default")]),
|
|
5184
4922
|
_: 3
|
|
5185
4923
|
}, 16);
|
|
5186
4924
|
}
|
|
5187
|
-
var
|
|
4925
|
+
var as = /* @__PURE__ */ ts(rs, [["render", is]]), os = {
|
|
5188
4926
|
key: 0,
|
|
5189
4927
|
class: "wt-popup__popup"
|
|
5190
|
-
},
|
|
4928
|
+
}, ss = { class: "wt-popup__header typo-subtitle-1" }, cs = { class: "wt-popup__title" }, ls = {
|
|
5191
4929
|
key: 0,
|
|
5192
4930
|
class: "wt-popup__main wt-scrollbar typo-body-1"
|
|
5193
|
-
},
|
|
4931
|
+
}, us = {
|
|
5194
4932
|
key: 1,
|
|
5195
4933
|
class: "wt-popup__actions"
|
|
5196
|
-
},
|
|
4934
|
+
}, ds = /*#__PURE__*/ _(/* @__PURE__ */ M({
|
|
5197
4935
|
__name: "wt-popup",
|
|
5198
4936
|
props: {
|
|
5199
4937
|
shown: {
|
|
@@ -5244,23 +4982,23 @@ var bs = /* @__PURE__ */ gs(vs, [["render", ys]]), xs = {
|
|
|
5244
4982
|
`wt-popup--size-${e.size}`,
|
|
5245
4983
|
e.height && `wt-popup--height-${e.height}`,
|
|
5246
4984
|
{ "wt-popup--overflow": e.overflow }
|
|
5247
|
-
], "wt-popup"]) }, [A(W(
|
|
5248
|
-
default: K(() => [a.value ? (L(), D("aside",
|
|
5249
|
-
O("header",
|
|
4985
|
+
], "wt-popup"]) }, [A(W(as), { offset: [0, -1440 / 2] }, {
|
|
4986
|
+
default: K(() => [a.value ? (L(), D("aside", os, [
|
|
4987
|
+
O("header", ss, [z(t.$slots, "header", {}, () => [O("h3", cs, [z(t.$slots, "title", {}, void 0, !0)])], !0), e.closable ? (L(), T(i, {
|
|
5250
4988
|
key: 0,
|
|
5251
4989
|
disabled: e.closeDisabled,
|
|
5252
4990
|
class: "wt-popup__close-btn",
|
|
5253
4991
|
icon: "close",
|
|
5254
4992
|
onClick: n[0] ||= (e) => r("close")
|
|
5255
4993
|
}, null, 8, ["disabled"])) : E("", !0)]),
|
|
5256
|
-
t.$slots.main ? (L(), D("section",
|
|
5257
|
-
t.$slots.actions ? (L(), D("footer",
|
|
4994
|
+
t.$slots.main ? (L(), D("section", ls, [z(t.$slots, "main", {}, void 0, !0)])) : E("", !0),
|
|
4995
|
+
t.$slots.actions ? (L(), D("footer", us, [z(t.$slots, "actions", {}, void 0, !0)])) : E("", !0)
|
|
5258
4996
|
])) : E("", !0)], void 0, !0),
|
|
5259
4997
|
_: 3
|
|
5260
4998
|
})], 2)), [[$e, l.value]]);
|
|
5261
4999
|
};
|
|
5262
5000
|
}
|
|
5263
|
-
}), [["__scopeId", "data-v-9744fe06"]]),
|
|
5001
|
+
}), [["__scopeId", "data-v-9744fe06"]]), fs = {
|
|
5264
5002
|
name: "WtProgressBar",
|
|
5265
5003
|
props: {
|
|
5266
5004
|
max: {
|
|
@@ -5294,16 +5032,16 @@ var bs = /* @__PURE__ */ gs(vs, [["render", ys]]), xs = {
|
|
|
5294
5032
|
}
|
|
5295
5033
|
}
|
|
5296
5034
|
};
|
|
5297
|
-
function
|
|
5035
|
+
function ps(e, t, n, r, i, a) {
|
|
5298
5036
|
return L(), D("div", { class: F([[{ "wt-progress-bar--overflow": a.isOverflow }, `wt-progress-bar--${n.color}`], "wt-progress-bar"]) }, [O("span", {
|
|
5299
5037
|
style: Le(`width: ${a.progressWidth}%;`),
|
|
5300
5038
|
class: "wt-progress-bar__progress"
|
|
5301
5039
|
}, null, 4)], 2);
|
|
5302
5040
|
}
|
|
5303
|
-
var
|
|
5041
|
+
var ms = /*#__PURE__*/ _(fs, [["render", ps], ["__scopeId", "data-v-511819c2"]]), hs = { class: "wt-radio" }, gs = {
|
|
5304
5042
|
key: 0,
|
|
5305
5043
|
class: "wt-radio__label"
|
|
5306
|
-
},
|
|
5044
|
+
}, _s = /*#__PURE__*/ _(/* @__PURE__ */ M({
|
|
5307
5045
|
__name: "wt-radio",
|
|
5308
5046
|
props: /*@__PURE__*/ P({
|
|
5309
5047
|
value: { type: [
|
|
@@ -5361,7 +5099,7 @@ var ks = /*#__PURE__*/ _(Ds, [["render", Os], ["__scopeId", "data-v-511819c2"]])
|
|
|
5361
5099
|
let t = e, n = Xe(e, "selected"), r = `radio-${Math.random().toString(36).slice(2, 11)}`, i = Ze(), a = w(() => t.label || i.label), o = w(() => t.value === n.value);
|
|
5362
5100
|
return (t, i) => {
|
|
5363
5101
|
let s = B("p-radio"), c = B("wt-label");
|
|
5364
|
-
return L(), D("div",
|
|
5102
|
+
return L(), D("div", hs, [A(s, {
|
|
5365
5103
|
modelValue: n.value,
|
|
5366
5104
|
"onUpdate:modelValue": i[0] ||= (e) => n.value = e,
|
|
5367
5105
|
class: "wt-radio__control",
|
|
@@ -5381,12 +5119,12 @@ var ks = /*#__PURE__*/ _(Ds, [["render", Os], ["__scopeId", "data-v-511819c2"]])
|
|
|
5381
5119
|
label: e.label,
|
|
5382
5120
|
isChecked: o.value,
|
|
5383
5121
|
disabled: e.disabled
|
|
5384
|
-
})), () => [e.label ? (L(), D("div",
|
|
5122
|
+
})), () => [e.label ? (L(), D("div", gs, H(e.label), 1)) : E("", !0)], !0)], void 0, !0),
|
|
5385
5123
|
_: 3
|
|
5386
5124
|
}, 8, ["disabled"])) : E("", !0)]);
|
|
5387
5125
|
};
|
|
5388
5126
|
}
|
|
5389
|
-
}), [["__scopeId", "data-v-64451e59"]]),
|
|
5127
|
+
}), [["__scopeId", "data-v-64451e59"]]), vs = /*#__PURE__*/ _({
|
|
5390
5128
|
__name: "wt-rounded-action",
|
|
5391
5129
|
props: {
|
|
5392
5130
|
icon: {
|
|
@@ -5479,7 +5217,7 @@ var ks = /*#__PURE__*/ _(Ds, [["render", Os], ["__scopeId", "data-v-511819c2"]])
|
|
|
5479
5217
|
]))], 2)), [[l, e.tooltip]]);
|
|
5480
5218
|
};
|
|
5481
5219
|
}
|
|
5482
|
-
}, [["__scopeId", "data-v-28c70850"]]),
|
|
5220
|
+
}, [["__scopeId", "data-v-28c70850"]]), ys = { class: "wt-single-select__option-label" }, bs = { class: "wt-single-select__footer" }, xs = /*#__PURE__*/ _(/* @__PURE__ */ M({
|
|
5483
5221
|
__name: "wt-single-select",
|
|
5484
5222
|
props: /*@__PURE__*/ P({
|
|
5485
5223
|
label: {},
|
|
@@ -5661,7 +5399,7 @@ var ks = /*#__PURE__*/ _(Ds, [["render", Os], ["__scopeId", "data-v-511819c2"]])
|
|
|
5661
5399
|
option: K(({ option: e }) => [z(t.$slots, "option", I(N({
|
|
5662
5400
|
option: e,
|
|
5663
5401
|
getOptionLabel: W(p)
|
|
5664
|
-
})), () => [q((L(), D("span",
|
|
5402
|
+
})), () => [q((L(), D("span", ys, [k(H(W(p)(e)), 1)])), [[fe, W(p)(e)]])], !0)]),
|
|
5665
5403
|
clearicon: K(() => [e.showClear && i.value ? (L(), T(ne, {
|
|
5666
5404
|
key: 0,
|
|
5667
5405
|
icon: "close",
|
|
@@ -5683,7 +5421,7 @@ var ks = /*#__PURE__*/ _(Ds, [["render", Os], ["__scopeId", "data-v-511819c2"]])
|
|
|
5683
5421
|
key: "0"
|
|
5684
5422
|
} : void 0, W(l) ? {
|
|
5685
5423
|
name: "footer",
|
|
5686
|
-
fn: K(() => [O("div",
|
|
5424
|
+
fn: K(() => [O("div", bs, [A(C, { size: W(x).SM }, null, 8, ["size"])])]),
|
|
5687
5425
|
key: "1"
|
|
5688
5426
|
} : void 0]), 1040, [
|
|
5689
5427
|
"modelValue",
|
|
@@ -5717,10 +5455,10 @@ var ks = /*#__PURE__*/ _(Ds, [["render", Os], ["__scopeId", "data-v-511819c2"]])
|
|
|
5717
5455
|
], 2);
|
|
5718
5456
|
};
|
|
5719
5457
|
}
|
|
5720
|
-
}), [["__scopeId", "data-v-b9389755"]]),
|
|
5458
|
+
}), [["__scopeId", "data-v-b9389755"]]), Ss = {
|
|
5721
5459
|
key: 0,
|
|
5722
5460
|
class: "wt-switcher__label typo-subtitle-2"
|
|
5723
|
-
},
|
|
5461
|
+
}, Cs = /*#__PURE__*/ _(/* @__PURE__ */ M({
|
|
5724
5462
|
__name: "wt-switcher",
|
|
5725
5463
|
props: /*@__PURE__*/ P({
|
|
5726
5464
|
label: { default: "" },
|
|
@@ -5779,12 +5517,12 @@ var ks = /*#__PURE__*/ _(Ds, [["render", Os], ["__scopeId", "data-v-511819c2"]])
|
|
|
5779
5517
|
label: e.label,
|
|
5780
5518
|
value: r.value,
|
|
5781
5519
|
disabled: e.disabled
|
|
5782
|
-
})), () => [e.label ? (L(), D("div",
|
|
5520
|
+
})), () => [e.label ? (L(), D("div", Ss, H(e.label), 1)) : E("", !0)], !0)], void 0, !0),
|
|
5783
5521
|
_: 3
|
|
5784
5522
|
}, 16, ["disabled"])) : E("", !0)], 2);
|
|
5785
5523
|
};
|
|
5786
5524
|
}
|
|
5787
|
-
}), [["__scopeId", "data-v-d4a4fdee"]]),
|
|
5525
|
+
}), [["__scopeId", "data-v-d4a4fdee"]]), ws = { class: "wt-textarea__wrapper" }, Ts = /*#__PURE__*/ _(/* @__PURE__ */ M({
|
|
5788
5526
|
__name: "wt-textarea",
|
|
5789
5527
|
props: /*@__PURE__*/ P({
|
|
5790
5528
|
label: { default: "" },
|
|
@@ -5865,7 +5603,7 @@ var ks = /*#__PURE__*/ _(Ds, [["render", Os], ["__scopeId", "data-v-511819c2"]])
|
|
|
5865
5603
|
"required",
|
|
5866
5604
|
"invalid"
|
|
5867
5605
|
])) : E("", !0),
|
|
5868
|
-
O("div",
|
|
5606
|
+
O("div", ws, [A(s, {
|
|
5869
5607
|
id: e.name,
|
|
5870
5608
|
ref: "textarea-wrapper",
|
|
5871
5609
|
modelValue: r.value,
|
|
@@ -5907,13 +5645,275 @@ var ks = /*#__PURE__*/ _(Ds, [["render", Os], ["__scopeId", "data-v-511819c2"]])
|
|
|
5907
5645
|
], 2);
|
|
5908
5646
|
};
|
|
5909
5647
|
}
|
|
5910
|
-
}), [["__scopeId", "data-v-44b66334"]]),
|
|
5648
|
+
}), [["__scopeId", "data-v-44b66334"]]), $ = /* @__PURE__ */ e({
|
|
5649
|
+
Vue: () => Te,
|
|
5650
|
+
Vue2: () => void 0,
|
|
5651
|
+
del: () => ks,
|
|
5652
|
+
install: () => Ds,
|
|
5653
|
+
isVue2: () => !1,
|
|
5654
|
+
isVue3: () => !0,
|
|
5655
|
+
set: () => Os
|
|
5656
|
+
});
|
|
5657
|
+
import * as Es from "vue";
|
|
5658
|
+
t($, Es);
|
|
5659
|
+
function Ds() {}
|
|
5660
|
+
function Os(e, t, n) {
|
|
5661
|
+
return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
|
|
5662
|
+
}
|
|
5663
|
+
function ks(e, t) {
|
|
5664
|
+
if (Array.isArray(e)) {
|
|
5665
|
+
e.splice(t, 1);
|
|
5666
|
+
return;
|
|
5667
|
+
}
|
|
5668
|
+
delete e[t];
|
|
5669
|
+
}
|
|
5670
|
+
//#endregion
|
|
5671
|
+
//#region node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs
|
|
5672
|
+
function As(e) {
|
|
5673
|
+
return typeof e == "object" && !!e && "$el" in e;
|
|
5674
|
+
}
|
|
5675
|
+
function js(e) {
|
|
5676
|
+
if (As(e)) {
|
|
5677
|
+
let t = e.$el;
|
|
5678
|
+
return ve(t) && Ce(t) === "#comment" ? null : t;
|
|
5679
|
+
}
|
|
5680
|
+
return e;
|
|
5681
|
+
}
|
|
5682
|
+
function Ms(e) {
|
|
5683
|
+
return typeof e == "function" ? e() : (0, $.unref)(e);
|
|
5684
|
+
}
|
|
5685
|
+
function Ns(e) {
|
|
5686
|
+
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
5687
|
+
}
|
|
5688
|
+
function Ps(e, t) {
|
|
5689
|
+
let n = Ns(e);
|
|
5690
|
+
return Math.round(t * n) / n;
|
|
5691
|
+
}
|
|
5692
|
+
function Fs(e, t, n) {
|
|
5693
|
+
n === void 0 && (n = {});
|
|
5694
|
+
let r = n.whileElementsMounted, i = (0, $.computed)(() => Ms(n.open) ?? !0), a = (0, $.computed)(() => Ms(n.middleware)), o = (0, $.computed)(() => Ms(n.placement) ?? "bottom"), s = (0, $.computed)(() => Ms(n.strategy) ?? "absolute"), c = (0, $.computed)(() => Ms(n.transform) ?? !0), l = (0, $.computed)(() => js(e.value)), u = (0, $.computed)(() => js(t.value)), d = (0, $.ref)(0), f = (0, $.ref)(0), p = (0, $.ref)(s.value), m = (0, $.ref)(o.value), h = (0, $.shallowRef)({}), g = (0, $.ref)(!1), _ = (0, $.computed)(() => {
|
|
5695
|
+
let e = {
|
|
5696
|
+
position: p.value,
|
|
5697
|
+
left: "0",
|
|
5698
|
+
top: "0"
|
|
5699
|
+
};
|
|
5700
|
+
if (!u.value) return e;
|
|
5701
|
+
let t = Ps(u.value, d.value), n = Ps(u.value, f.value);
|
|
5702
|
+
return c.value ? {
|
|
5703
|
+
...e,
|
|
5704
|
+
transform: "translate(" + t + "px, " + n + "px)",
|
|
5705
|
+
...Ns(u.value) >= 1.5 && { willChange: "transform" }
|
|
5706
|
+
} : {
|
|
5707
|
+
position: p.value,
|
|
5708
|
+
left: t + "px",
|
|
5709
|
+
top: n + "px"
|
|
5710
|
+
};
|
|
5711
|
+
}), v;
|
|
5712
|
+
function y() {
|
|
5713
|
+
if (l.value == null || u.value == null) return;
|
|
5714
|
+
let e = i.value;
|
|
5715
|
+
Se(l.value, u.value, {
|
|
5716
|
+
middleware: a.value,
|
|
5717
|
+
placement: o.value,
|
|
5718
|
+
strategy: s.value
|
|
5719
|
+
}).then((t) => {
|
|
5720
|
+
d.value = t.x, f.value = t.y, p.value = t.strategy, m.value = t.placement, h.value = t.middlewareData, g.value = e !== !1;
|
|
5721
|
+
});
|
|
5722
|
+
}
|
|
5723
|
+
function b() {
|
|
5724
|
+
typeof v == "function" && (v(), v = void 0);
|
|
5725
|
+
}
|
|
5726
|
+
function ee() {
|
|
5727
|
+
if (b(), r === void 0) {
|
|
5728
|
+
y();
|
|
5729
|
+
return;
|
|
5730
|
+
}
|
|
5731
|
+
if (l.value != null && u.value != null) {
|
|
5732
|
+
v = r(l.value, u.value, y);
|
|
5733
|
+
return;
|
|
5734
|
+
}
|
|
5735
|
+
}
|
|
5736
|
+
function x() {
|
|
5737
|
+
i.value || (g.value = !1);
|
|
5738
|
+
}
|
|
5739
|
+
return (0, $.watch)([
|
|
5740
|
+
a,
|
|
5741
|
+
o,
|
|
5742
|
+
s,
|
|
5743
|
+
i
|
|
5744
|
+
], y, { flush: "sync" }), (0, $.watch)([l, u], ee, { flush: "sync" }), (0, $.watch)(i, x, { flush: "sync" }), (0, $.getCurrentScope)() && (0, $.onScopeDispose)(b), {
|
|
5745
|
+
x: (0, $.shallowReadonly)(d),
|
|
5746
|
+
y: (0, $.shallowReadonly)(f),
|
|
5747
|
+
strategy: (0, $.shallowReadonly)(p),
|
|
5748
|
+
placement: (0, $.shallowReadonly)(m),
|
|
5749
|
+
middlewareData: (0, $.shallowReadonly)(h),
|
|
5750
|
+
isPositioned: (0, $.shallowReadonly)(g),
|
|
5751
|
+
floatingStyles: _,
|
|
5752
|
+
update: y
|
|
5753
|
+
};
|
|
5754
|
+
}
|
|
5755
|
+
//#endregion
|
|
5756
|
+
//#region src/components/wt-tooltip/_internals/useTooltipTriggerSubscriptions.js
|
|
5757
|
+
var Is = {
|
|
5758
|
+
hover: "mouseenter",
|
|
5759
|
+
focus: "focus",
|
|
5760
|
+
click: "click",
|
|
5761
|
+
touch: "touchstart",
|
|
5762
|
+
pointer: "pointerdown"
|
|
5763
|
+
}, Ls = {
|
|
5764
|
+
hover: "mouseleave",
|
|
5765
|
+
focus: "blur",
|
|
5766
|
+
click: "click",
|
|
5767
|
+
touch: "touchend",
|
|
5768
|
+
pointer: "pointerup"
|
|
5769
|
+
}, Rs = ({ target: e, triggers: t, show: n, hide: r }) => {
|
|
5770
|
+
let i = () => {
|
|
5771
|
+
((e, t) => {
|
|
5772
|
+
t.forEach((t) => {
|
|
5773
|
+
let i = Is[t];
|
|
5774
|
+
i ? e.addEventListener(i, n) : console.log(`No Tooltip Show event for ${t} trigger`);
|
|
5775
|
+
let a = Ls[t];
|
|
5776
|
+
a ? e.addEventListener(a, r) : console.log(`No Tooltip Hide event for ${t} trigger`);
|
|
5777
|
+
});
|
|
5778
|
+
})(e.value, t);
|
|
5779
|
+
}, a = () => {
|
|
5780
|
+
((e, t) => {
|
|
5781
|
+
t.forEach((t) => {
|
|
5782
|
+
let i = Is[t];
|
|
5783
|
+
i ? e.removeEventListener(i, n) : console.log(`No Tooltip Show event for ${t} trigger`);
|
|
5784
|
+
let a = Ls[t];
|
|
5785
|
+
a ? e.removeEventListener(a, r) : console.log(`No Tooltip Hide event for ${t} trigger`);
|
|
5786
|
+
});
|
|
5787
|
+
})(e.value, t);
|
|
5788
|
+
};
|
|
5789
|
+
ze(() => i()), Re(() => a());
|
|
5790
|
+
}, zs = {
|
|
5791
|
+
__name: "wt-tooltip-floating",
|
|
5792
|
+
props: { triggers: {
|
|
5793
|
+
type: Array,
|
|
5794
|
+
default: () => []
|
|
5795
|
+
} },
|
|
5796
|
+
emits: ["show", "hide"],
|
|
5797
|
+
setup(e, { emit: t }) {
|
|
5798
|
+
let n = e, r = t, i = R(null);
|
|
5799
|
+
return Rs({
|
|
5800
|
+
target: i,
|
|
5801
|
+
triggers: n.triggers,
|
|
5802
|
+
show: () => r("show"),
|
|
5803
|
+
hide: () => r("hide")
|
|
5804
|
+
}), (e, t) => (L(), D("aside", {
|
|
5805
|
+
ref_key: "floating",
|
|
5806
|
+
ref: i,
|
|
5807
|
+
class: "wt-tooltip-floating"
|
|
5808
|
+
}, [z(e.$slots, "default")], 512));
|
|
5809
|
+
}
|
|
5810
|
+
}, Bs = /*#__PURE__*/ _({
|
|
5811
|
+
__name: "wt-tooltip",
|
|
5812
|
+
props: {
|
|
5813
|
+
visible: {
|
|
5814
|
+
type: Boolean,
|
|
5815
|
+
default: !1
|
|
5816
|
+
},
|
|
5817
|
+
placement: {
|
|
5818
|
+
type: String,
|
|
5819
|
+
default: "auto"
|
|
5820
|
+
},
|
|
5821
|
+
popperTriggers: {
|
|
5822
|
+
type: Array,
|
|
5823
|
+
default: () => []
|
|
5824
|
+
},
|
|
5825
|
+
triggers: {
|
|
5826
|
+
type: Array,
|
|
5827
|
+
default: () => [
|
|
5828
|
+
"hover",
|
|
5829
|
+
"focus",
|
|
5830
|
+
"touch"
|
|
5831
|
+
]
|
|
5832
|
+
},
|
|
5833
|
+
popperClass: {
|
|
5834
|
+
type: String,
|
|
5835
|
+
default: ""
|
|
5836
|
+
},
|
|
5837
|
+
disabled: {
|
|
5838
|
+
type: Boolean,
|
|
5839
|
+
default: !1
|
|
5840
|
+
},
|
|
5841
|
+
disableClickAway: {
|
|
5842
|
+
type: Boolean,
|
|
5843
|
+
default: !1
|
|
5844
|
+
}
|
|
5845
|
+
},
|
|
5846
|
+
emits: ["update:visible"],
|
|
5847
|
+
setup(e, { emit: t }) {
|
|
5848
|
+
let n = e, r = t, i = Qe("activator"), a = Qe("floating"), o = Qe("floatingChild"), s = R(n.visible), c = () => {
|
|
5849
|
+
r("update:visible", s.value);
|
|
5850
|
+
}, l = (e = {}) => {
|
|
5851
|
+
n.disabled || s.value || (s.value = !0, e.usedByTooltip = !0, c(), f());
|
|
5852
|
+
}, u = (e = {}) => {
|
|
5853
|
+
let t = o.value?.contains(e.target);
|
|
5854
|
+
!s.value || e.usedByTooltip || t || (s.value = !1, c(), p());
|
|
5855
|
+
}, d = (e = {}) => {
|
|
5856
|
+
n.disableClickAway || u(e);
|
|
5857
|
+
}, f = () => {
|
|
5858
|
+
window.addEventListener("scroll", u, !0);
|
|
5859
|
+
}, p = () => {
|
|
5860
|
+
window.removeEventListener("scroll", u, !0);
|
|
5861
|
+
}, { floatingStyles: m } = Fs(i, a, {
|
|
5862
|
+
placement: n.placement === "auto" ? null : n.placement,
|
|
5863
|
+
strategy: "fixed",
|
|
5864
|
+
whileElementsMounted: be,
|
|
5865
|
+
middleware: [
|
|
5866
|
+
xe(),
|
|
5867
|
+
_e(4),
|
|
5868
|
+
n.placement === "auto" ? we() : ye()
|
|
5869
|
+
]
|
|
5870
|
+
});
|
|
5871
|
+
return Rs({
|
|
5872
|
+
target: i,
|
|
5873
|
+
triggers: n.triggers,
|
|
5874
|
+
show: l,
|
|
5875
|
+
hide: u
|
|
5876
|
+
}), G(() => n.visible, (e) => {
|
|
5877
|
+
e ? l() : u();
|
|
5878
|
+
}), ze(() => {
|
|
5879
|
+
n.visible && l();
|
|
5880
|
+
}), Re(() => {
|
|
5881
|
+
p();
|
|
5882
|
+
}), (t, n) => {
|
|
5883
|
+
let r = Ge("clickaway");
|
|
5884
|
+
return L(), D("div", { class: F([{ "wt-tooltip--visible": s.value }, "wt-tooltip"]) }, [O("div", {
|
|
5885
|
+
ref_key: "activator",
|
|
5886
|
+
ref: i,
|
|
5887
|
+
class: "wt-tooltip__activator"
|
|
5888
|
+
}, [z(t.$slots, "activator", I(N({ visible: s.value })), void 0, !0)], 512), s.value ? q((L(), T(zs, {
|
|
5889
|
+
key: 0,
|
|
5890
|
+
ref_key: "floating",
|
|
5891
|
+
ref: a,
|
|
5892
|
+
class: F([[e.popperClass], "wt-tooltip__floating typo-body-2"]),
|
|
5893
|
+
style: Le(W(m)),
|
|
5894
|
+
triggers: e.popperTriggers,
|
|
5895
|
+
onHide: u,
|
|
5896
|
+
onShow: l
|
|
5897
|
+
}, {
|
|
5898
|
+
default: K(() => [O("div", {
|
|
5899
|
+
ref_key: "floatingChild",
|
|
5900
|
+
ref: o
|
|
5901
|
+
}, [z(t.$slots, "default", I(N({ hide: u })), void 0, !0)], 512)], void 0, !0),
|
|
5902
|
+
_: 3
|
|
5903
|
+
}, 8, [
|
|
5904
|
+
"class",
|
|
5905
|
+
"style",
|
|
5906
|
+
"triggers"
|
|
5907
|
+
])), [[r, d]]) : E("", !0)], 2);
|
|
5908
|
+
};
|
|
5909
|
+
}
|
|
5910
|
+
}, [["__scopeId", "data-v-72aa56d0"]]), Vs = j(() => import("./wt-action-bar-CJiWenUy.js")), Hs = j(() => import("./wt-button-select-BnRHgJ4i.js")), Us = j(() => import("./wt-confirm-dialog-DCUitG2v.js")), Ws = j(() => import("./wt-context-menu-yW52oF-2.js")), Gs = j(() => import("./wt-copy-action-d9gVzAsB.js")), Ks = j(() => import("./wt-datepicker-Cx8yPH4d.js")), qs = j(() => import("./wt-dual-panel-BHfOeLJZ.js")), Js = j(() => import("./wt-dummy-J18Wmsn6.js")), Ys = j(() => import("./wt-error-page-vhu4lIyF.js")), Xs = j(() => import("./wt-expansion-panel-CGFamfkt.js")), Zs = j(() => import("./wt-expansion-card-CNkGLQvo.js")), Qs = j(() => import("./wt-filters-panel-wrapper-Cc9b3aci.js")), $s = j(() => import("./wt-galleria-BIczN4CP.js")), ec = j(() => import("./wt-notifications-bar-DDuf0Ui1.js")), tc = j(() => import("./wt-page-header-CDbd4aOh.js")), nc = j(() => import("./wt-pagination-DLRMTDRV.js")), rc = j(() => import("./wt-player-BJrKbYMu.js")), ic = j(() => import("./wt-popover-BI6YyXy0.js").then((e) => e.n)), ac = j(() => import("./wt-search-bar-Bp9M1oCq.js")), oc = j(() => import("./wt-slider-x-Tch7RT.js").then((e) => e.n)), sc = j(() => import("./wt-status-select-DItpCCVE.js")), cc = j(() => import("./wt-stepper-B6zpd1Uh.js")), lc = j(() => import("./wt-table-Cy3TfK4i.js")), uc = j(() => import("./wt-table-actions-D7harVHK.js")), dc = j(() => import("./wt-table-column-select-DzXaRs03.js")), fc = j(() => import("./wt-tabs-BJ-sFhv7.js")), pc = j(() => import("./wt-time-input-Ds40EseE.js")), mc = j(() => import("./wt-timepicker-BW0HmFJI.js")), hc = j(() => import("./wt-tree-Cu_yRDjp.js")), gc = j(() => import("./wt-tree-table-K5UphR9W.js")), _c = j(() => import("./wt-vidstack-player-nie8EC5k.js")), vc = j(() => import("./wt-call-media-action-Bkyppnsm.js")), yc = j(() => import("./wt-chat-emoji-BSKbQUyN.js")), bc = j(() => import("./wt-display-chip-items-DLrXRkTo.js")), xc = j(() => import("./wt-navigation-menu-BMupOW07.js")), Sc = j({
|
|
5911
5911
|
loader: () => import("./wt-rich-text-editor-55G1zOWR.js"),
|
|
5912
5912
|
loadingComponent: h,
|
|
5913
5913
|
delay: 0
|
|
5914
5914
|
}), Cc = j(() => import("./wt-selection-popup-Dei_JZah.js")), wc = j(() => import("./wt-start-page-2Bdzg5V5.js"));
|
|
5915
|
-
j(() => import("./wt-type-extension-value-input-
|
|
5916
|
-
var Tc = j(() => import("./wt-screen-recordings-action-CHlh4sNO.js")), Ec = j(() => import("./wt-send-message-popup-
|
|
5915
|
+
j(() => import("./wt-type-extension-value-input-D9lFx1HY.js"));
|
|
5916
|
+
var Tc = j(() => import("./wt-screen-recordings-action-CHlh4sNO.js")), Ec = j(() => import("./wt-send-message-popup-DPB0kwb-.js")), Dc = {
|
|
5917
5917
|
WtActionBar: Vs,
|
|
5918
5918
|
WtImage: Qr,
|
|
5919
5919
|
WtEmpty: ri,
|
|
@@ -5929,11 +5929,11 @@ var Tc = j(() => import("./wt-screen-recordings-action-CHlh4sNO.js")), Ec = j(()
|
|
|
5929
5929
|
WtConfirmDialog: Us,
|
|
5930
5930
|
WtContentWrapper: Jr,
|
|
5931
5931
|
WtDivider: Xr,
|
|
5932
|
-
WtTooltip:
|
|
5932
|
+
WtTooltip: Bs,
|
|
5933
5933
|
WtLabel: g,
|
|
5934
5934
|
WtLayout: Sa,
|
|
5935
5935
|
WtLoader: Pa,
|
|
5936
|
-
WtRoundedAction:
|
|
5936
|
+
WtRoundedAction: vs,
|
|
5937
5937
|
WtReplaceTransition: Nn,
|
|
5938
5938
|
WtRichTextEditor: Sc,
|
|
5939
5939
|
WtCheckbox: le,
|
|
@@ -5941,19 +5941,19 @@ var Tc = j(() => import("./wt-screen-recordings-action-CHlh4sNO.js")), Ec = j(()
|
|
|
5941
5941
|
WtIconBtn: de,
|
|
5942
5942
|
WtInputNumber: _i,
|
|
5943
5943
|
WtInputText: yi,
|
|
5944
|
-
WtPassword:
|
|
5944
|
+
WtPassword: Bo,
|
|
5945
5945
|
WtIntersectionObserver: va,
|
|
5946
5946
|
WtHint: fi,
|
|
5947
|
-
WtPopup:
|
|
5948
|
-
WtProgressBar:
|
|
5949
|
-
WtRadio:
|
|
5947
|
+
WtPopup: ds,
|
|
5948
|
+
WtProgressBar: ms,
|
|
5949
|
+
WtRadio: _s,
|
|
5950
5950
|
WtSearchBar: ac,
|
|
5951
5951
|
WtSlider: oc,
|
|
5952
|
-
WtSwitcher:
|
|
5952
|
+
WtSwitcher: Cs,
|
|
5953
5953
|
WtTabs: fc,
|
|
5954
5954
|
WtTimeInput: pc,
|
|
5955
5955
|
WtTimepicker: mc,
|
|
5956
|
-
WtTextarea:
|
|
5956
|
+
WtTextarea: Ts,
|
|
5957
5957
|
WtToast: ce,
|
|
5958
5958
|
WtAppHeader: Ln,
|
|
5959
5959
|
WtHeadline: li,
|
|
@@ -5964,9 +5964,9 @@ var Tc = j(() => import("./wt-screen-recordings-action-CHlh4sNO.js")), Ec = j(()
|
|
|
5964
5964
|
WtHeaderActions: xr,
|
|
5965
5965
|
WtErrorPage: Ys,
|
|
5966
5966
|
WtNotificationsBar: ec,
|
|
5967
|
-
WtNavigationRail:
|
|
5968
|
-
WtPage:
|
|
5969
|
-
WtPageWrapper:
|
|
5967
|
+
WtNavigationRail: Eo,
|
|
5968
|
+
WtPage: jo,
|
|
5969
|
+
WtPageWrapper: Ro,
|
|
5970
5970
|
WtDualPanel: qs,
|
|
5971
5971
|
WtPagination: nc,
|
|
5972
5972
|
WtPlayer: rc,
|
|
@@ -5997,7 +5997,7 @@ var Tc = j(() => import("./wt-screen-recordings-action-CHlh4sNO.js")), Ec = j(()
|
|
|
5997
5997
|
WtExpansionCard: Zs,
|
|
5998
5998
|
WtDatetimeText: Yr,
|
|
5999
5999
|
WtCard: Gr,
|
|
6000
|
-
WtSingleSelect:
|
|
6000
|
+
WtSingleSelect: xs,
|
|
6001
6001
|
WtMultiSelect: Ga,
|
|
6002
6002
|
WtScreenRecordingsAction: Tc,
|
|
6003
6003
|
WtInlineAddPanel: j(() => import("./wt-inline-add-panel-B0E4Vk2l.js")),
|
|
@@ -6006,4 +6006,4 @@ var Tc = j(() => import("./wt-screen-recordings-action-CHlh4sNO.js")), Ec = j(()
|
|
|
6006
6006
|
WtSendMessagePopup: Ec
|
|
6007
6007
|
};
|
|
6008
6008
|
//#endregion
|
|
6009
|
-
export { qr as C, Ii as S, jn as T, pa as _,
|
|
6009
|
+
export { qr as C, Ii as S, jn as T, pa as _, Cs as a, _a as b, Gi as c, na as d, ra as f, aa as g, ua as h, ic as i, Zi as l, oa as m, yc as n, xs as o, ia as p, Ks as r, Ga as s, Dc as t, ea as u, ta as v, Tr as w, bi as x, la as y };
|