@webitel/ui-sdk 25.10.4 → 25.10.5
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/ui-sdk.js +26 -25
- package/dist/ui-sdk.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/wt-popover/wt-popover.vue +10 -2
- package/types/components/wt-action-bar/wt-action-bar.vue.d.ts +2 -2
- package/types/components/wt-button/wt-button.vue.d.ts +2 -2
- package/types/components/wt-datepicker/wt-datepicker.vue.d.ts +2 -2
- package/types/components/wt-icon/wt-icon.vue.d.ts +1 -1
- package/types/components/wt-icon-action/wt-icon-action.vue.d.ts +2 -2
- package/types/components/wt-item-link/wt-item-link.vue.d.ts +2 -2
- package/types/components/wt-popover/wt-popover.vue.d.ts +9 -4
- package/types/components/wt-popup/wt-popup.vue.d.ts +1 -1
- package/types/components/wt-rounded-action/wt-rounded-action.vue.d.ts +2 -2
package/dist/ui-sdk.js
CHANGED
|
@@ -63879,6 +63879,7 @@ function YU(o, i, a, r, l, d) {
|
|
|
63879
63879
|
const GU = /* @__PURE__ */ Fe(ZU, [["render", YU], ["__scopeId", "data-v-c0b24e2c"]]), i9 = /* @__PURE__ */ wt({
|
|
63880
63880
|
__name: "wt-popover",
|
|
63881
63881
|
props: {
|
|
63882
|
+
disabled: { type: Boolean, default: !1 },
|
|
63882
63883
|
dismissable: { type: Boolean },
|
|
63883
63884
|
appendTo: { default: "body" },
|
|
63884
63885
|
baseZIndex: { default: 0 },
|
|
@@ -63892,40 +63893,40 @@ const GU = /* @__PURE__ */ Fe(ZU, [["render", YU], ["__scopeId", "data-v-c0b24e2
|
|
|
63892
63893
|
},
|
|
63893
63894
|
emits: ["show", "hide"],
|
|
63894
63895
|
setup(o, { expose: i }) {
|
|
63895
|
-
const a = Xc(), r = Na("innerPopover"), l = (
|
|
63896
|
-
var
|
|
63897
|
-
(
|
|
63898
|
-
},
|
|
63896
|
+
const a = Xc(), r = Na("innerPopover"), l = o, d = (m, h) => {
|
|
63897
|
+
var b;
|
|
63898
|
+
l.disabled || (b = r.value) == null || b.toggle(m, h ?? void 0);
|
|
63899
|
+
}, p = (m, h) => {
|
|
63900
|
+
var b;
|
|
63901
|
+
l.disabled || (b = r.value) == null || b.show(m, h ?? void 0);
|
|
63902
|
+
}, f = (m) => {
|
|
63899
63903
|
var h;
|
|
63900
|
-
(h = r.value) == null || h.
|
|
63901
|
-
}, p = (f) => {
|
|
63902
|
-
var m;
|
|
63903
|
-
(m = r.value) == null || m.hide(f);
|
|
63904
|
+
(h = r.value) == null || h.hide(m);
|
|
63904
63905
|
};
|
|
63905
63906
|
return i({
|
|
63906
|
-
toggle:
|
|
63907
|
-
show:
|
|
63908
|
-
hide:
|
|
63909
|
-
}), (
|
|
63910
|
-
const
|
|
63907
|
+
toggle: d,
|
|
63908
|
+
show: p,
|
|
63909
|
+
hide: f
|
|
63910
|
+
}), (m, h) => {
|
|
63911
|
+
const b = he("p-popover");
|
|
63911
63912
|
return D(), j("div", null, [
|
|
63912
|
-
ee(
|
|
63913
|
-
ve(
|
|
63913
|
+
ee(m.$slots, "activator", tt(st({ show: p, toggle: d, hide: f }))),
|
|
63914
|
+
ve(b, fe(X(a), {
|
|
63914
63915
|
ref_key: "innerPopover",
|
|
63915
63916
|
ref: r
|
|
63916
63917
|
}, {
|
|
63917
|
-
"append-to":
|
|
63918
|
-
"base-z-index":
|
|
63919
|
-
"auto-z-index":
|
|
63920
|
-
breakpoints:
|
|
63921
|
-
dt:
|
|
63922
|
-
pt:
|
|
63923
|
-
"pt-options":
|
|
63924
|
-
"close-on-escape":
|
|
63925
|
-
unstyled:
|
|
63918
|
+
"append-to": m.appendTo,
|
|
63919
|
+
"base-z-index": m.baseZIndex,
|
|
63920
|
+
"auto-z-index": m.autoZIndex,
|
|
63921
|
+
breakpoints: m.breakpoints,
|
|
63922
|
+
dt: m.dt,
|
|
63923
|
+
pt: m.pt,
|
|
63924
|
+
"pt-options": m.ptOptions,
|
|
63925
|
+
"close-on-escape": m.closeOnEscape,
|
|
63926
|
+
unstyled: m.unstyled
|
|
63926
63927
|
}, Dn(X(a))), {
|
|
63927
63928
|
default: re(() => [
|
|
63928
|
-
ee(
|
|
63929
|
+
ee(m.$slots, "default", tt(st({ hide: f, toggle: d })))
|
|
63929
63930
|
], void 0, !0),
|
|
63930
63931
|
_: 3
|
|
63931
63932
|
}, 16, ["append-to", "base-z-index", "auto-z-index", "breakpoints", "dt", "pt", "pt-options", "close-on-escape", "unstyled"])
|