@webitel/ui-sdk 25.8.74 → 25.8.75
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 +2 -2
- package/src/components/wt-popover/wt-popover.vue +10 -3
- 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
|
@@ -63871,6 +63871,7 @@ function YU(o, i, a, r, l, d) {
|
|
|
63871
63871
|
const GU = /* @__PURE__ */ Fe(ZU, [["render", YU], ["__scopeId", "data-v-c0b24e2c"]]), i9 = /* @__PURE__ */ wt({
|
|
63872
63872
|
__name: "wt-popover",
|
|
63873
63873
|
props: {
|
|
63874
|
+
disabled: { type: Boolean, default: !1 },
|
|
63874
63875
|
dismissable: { type: Boolean },
|
|
63875
63876
|
appendTo: { default: "body" },
|
|
63876
63877
|
baseZIndex: { default: 0 },
|
|
@@ -63884,40 +63885,40 @@ const GU = /* @__PURE__ */ Fe(ZU, [["render", YU], ["__scopeId", "data-v-c0b24e2
|
|
|
63884
63885
|
},
|
|
63885
63886
|
emits: ["show", "hide"],
|
|
63886
63887
|
setup(o, { expose: i }) {
|
|
63887
|
-
const a = Xc(), r = Na("innerPopover"), l = (
|
|
63888
|
-
var
|
|
63889
|
-
(
|
|
63890
|
-
},
|
|
63888
|
+
const a = Xc(), r = Na("innerPopover"), l = o, d = (m, h) => {
|
|
63889
|
+
var b;
|
|
63890
|
+
l.disabled || (b = r.value) == null || b.toggle(m, h ?? void 0);
|
|
63891
|
+
}, p = (m, h) => {
|
|
63892
|
+
var b;
|
|
63893
|
+
l.disabled || (b = r.value) == null || b.show(m, h ?? void 0);
|
|
63894
|
+
}, f = (m) => {
|
|
63891
63895
|
var h;
|
|
63892
|
-
(h = r.value) == null || h.
|
|
63893
|
-
}, p = (f) => {
|
|
63894
|
-
var m;
|
|
63895
|
-
(m = r.value) == null || m.hide(f);
|
|
63896
|
+
(h = r.value) == null || h.hide(m);
|
|
63896
63897
|
};
|
|
63897
63898
|
return i({
|
|
63898
|
-
toggle:
|
|
63899
|
-
show:
|
|
63900
|
-
hide:
|
|
63901
|
-
}), (
|
|
63902
|
-
const
|
|
63899
|
+
toggle: d,
|
|
63900
|
+
show: p,
|
|
63901
|
+
hide: f
|
|
63902
|
+
}), (m, h) => {
|
|
63903
|
+
const b = he("p-popover");
|
|
63903
63904
|
return D(), j("div", null, [
|
|
63904
|
-
ee(
|
|
63905
|
-
ve(
|
|
63905
|
+
ee(m.$slots, "activator", tt(st({ show: p, toggle: d, hide: f }))),
|
|
63906
|
+
ve(b, fe(X(a), {
|
|
63906
63907
|
ref_key: "innerPopover",
|
|
63907
63908
|
ref: r
|
|
63908
63909
|
}, {
|
|
63909
|
-
"append-to":
|
|
63910
|
-
"base-z-index":
|
|
63911
|
-
"auto-z-index":
|
|
63912
|
-
breakpoints:
|
|
63913
|
-
dt:
|
|
63914
|
-
pt:
|
|
63915
|
-
"pt-options":
|
|
63916
|
-
"close-on-escape":
|
|
63917
|
-
unstyled:
|
|
63910
|
+
"append-to": m.appendTo,
|
|
63911
|
+
"base-z-index": m.baseZIndex,
|
|
63912
|
+
"auto-z-index": m.autoZIndex,
|
|
63913
|
+
breakpoints: m.breakpoints,
|
|
63914
|
+
dt: m.dt,
|
|
63915
|
+
pt: m.pt,
|
|
63916
|
+
"pt-options": m.ptOptions,
|
|
63917
|
+
"close-on-escape": m.closeOnEscape,
|
|
63918
|
+
unstyled: m.unstyled
|
|
63918
63919
|
}, Dn(X(a))), {
|
|
63919
63920
|
default: re(() => [
|
|
63920
|
-
ee(
|
|
63921
|
+
ee(m.$slots, "default", tt(st({ hide: f, toggle: d })))
|
|
63921
63922
|
], void 0, !0),
|
|
63922
63923
|
_: 3
|
|
63923
63924
|
}, 16, ["append-to", "base-z-index", "auto-z-index", "breakpoints", "dt", "pt", "pt-options", "close-on-escape", "unstyled"])
|