@webitel/ui-sdk 25.8.21 → 25.8.22
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.css +1 -1
- package/dist/ui-sdk.js +21 -15
- package/dist/ui-sdk.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/transitions/cases/wt-replace-transition.vue +10 -3
- package/src/components/transitions/wt-transition.vue +32 -14
- package/types/components/transitions/cases/wt-replace-transition.vue.d.ts +2 -0
package/dist/ui-sdk.js
CHANGED
|
@@ -53740,27 +53740,27 @@ const uL = /* @__PURE__ */ Ki(pL), fL = {
|
|
|
53740
53740
|
}
|
|
53741
53741
|
},
|
|
53742
53742
|
setup(o) {
|
|
53743
|
-
|
|
53744
|
-
|
|
53745
|
-
class: Ie([
|
|
53746
|
-
mode:
|
|
53747
|
-
|
|
53748
|
-
name: n.name
|
|
53743
|
+
return (n, a) => (E(), he(yo, {
|
|
53744
|
+
appear: o.appear,
|
|
53745
|
+
class: Ie([[`wt-transition--${o.duration}`], "wt-transition"]),
|
|
53746
|
+
mode: o.mode,
|
|
53747
|
+
name: o.name
|
|
53749
53748
|
}, {
|
|
53750
53749
|
default: ae(() => [
|
|
53751
|
-
ie(
|
|
53750
|
+
ie(n.$slots, "default", {}, void 0, !0)
|
|
53752
53751
|
], void 0, !0),
|
|
53753
53752
|
_: 3
|
|
53754
|
-
}, 8, ["
|
|
53753
|
+
}, 8, ["appear", "class", "mode", "name"]));
|
|
53755
53754
|
}
|
|
53756
|
-
}, hL = /* @__PURE__ */ Fe(mL, [["__scopeId", "data-v-
|
|
53755
|
+
}, hL = /* @__PURE__ */ Fe(mL, [["__scopeId", "data-v-3129331c"]]), bL = {
|
|
53757
53756
|
__name: "wt-replace-transition",
|
|
53758
53757
|
props: {
|
|
53759
|
-
// can choose replace pattern [opacity, slide ets]
|
|
53758
|
+
// can choose replace pattern [opacity, slide-up ets]
|
|
53760
53759
|
// ATTENTION!! need to add another names(patterns) to <wt-transition/>, now we have fade-opacity only
|
|
53761
53760
|
pattern: {
|
|
53762
53761
|
type: String,
|
|
53763
|
-
default: "opacity"
|
|
53762
|
+
default: "opacity",
|
|
53763
|
+
options: ["opacity", "slide-up"]
|
|
53764
53764
|
},
|
|
53765
53765
|
duration: {
|
|
53766
53766
|
type: String,
|
|
@@ -53769,20 +53769,26 @@ const uL = /* @__PURE__ */ Ki(pL), fL = {
|
|
|
53769
53769
|
appear: {
|
|
53770
53770
|
type: Boolean,
|
|
53771
53771
|
default: !1
|
|
53772
|
+
},
|
|
53773
|
+
mode: {
|
|
53774
|
+
type: String,
|
|
53775
|
+
default: "out-in"
|
|
53772
53776
|
}
|
|
53773
53777
|
},
|
|
53774
53778
|
setup(o) {
|
|
53775
53779
|
const n = o, a = se(() => `fade-${n.pattern}`);
|
|
53776
53780
|
return (r, l) => (E(), he(hL, {
|
|
53777
|
-
|
|
53778
|
-
duration:
|
|
53779
|
-
|
|
53781
|
+
appear: o.appear,
|
|
53782
|
+
duration: o.duration,
|
|
53783
|
+
mode: o.mode,
|
|
53784
|
+
name: a.value,
|
|
53785
|
+
class: "wt-replace-transition"
|
|
53780
53786
|
}, {
|
|
53781
53787
|
default: ae(() => [
|
|
53782
53788
|
ie(r.$slots, "default")
|
|
53783
53789
|
]),
|
|
53784
53790
|
_: 3
|
|
53785
|
-
}, 8, ["duration", "name"]));
|
|
53791
|
+
}, 8, ["appear", "duration", "mode", "name"]));
|
|
53786
53792
|
}
|
|
53787
53793
|
}, yL = Object.freeze({
|
|
53788
53794
|
[st.ADD]: "plus",
|