@ulu/frontend-vue 0.1.3-beta.17 → 0.1.3-beta.18
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/frontend-vue.js
CHANGED
|
@@ -4343,14 +4343,14 @@ const Fh = /* @__PURE__ */ L(ja, [["render", Ma]]), Mh = {
|
|
|
4343
4343
|
};
|
|
4344
4344
|
d("max"), d("min"), d("only"), o.value = !0;
|
|
4345
4345
|
}, c = () => {
|
|
4346
|
-
t && l.value.forEach(({ name: i, direction: d, handler: v }) => {
|
|
4347
|
-
t.at(i).remove(v, d);
|
|
4346
|
+
t.value && l.value.forEach(({ name: i, direction: d, handler: v }) => {
|
|
4347
|
+
t.value.at(i).remove(v, d);
|
|
4348
4348
|
}), l.value = [], s.value = {}, o.value = !1;
|
|
4349
4349
|
};
|
|
4350
4350
|
return te(t, (i) => {
|
|
4351
4351
|
i && !o.value && r(i);
|
|
4352
4352
|
}, { immediate: !0 }), te([() => n.max, () => n.min, () => n.only], () => {
|
|
4353
|
-
t && o.value && (c(), r(t));
|
|
4353
|
+
t.value && o.value && (c(), r(t.value));
|
|
4354
4354
|
}), bt(() => {
|
|
4355
4355
|
c();
|
|
4356
4356
|
}), (i, d) => a.value ? g(i.$slots, "default", { key: 0 }) : p("", !0);
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
const tearDownHandlers = () => {
|
|
61
|
-
if (uluBreakpointManager) {
|
|
61
|
+
if (uluBreakpointManager.value) {
|
|
62
62
|
handlers.value.forEach(({ name, direction, handler }) => {
|
|
63
|
-
uluBreakpointManager.at(name).remove(handler, direction);
|
|
63
|
+
uluBreakpointManager.value.at(name).remove(handler, direction);
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
handlers.value = [];
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
// Watch all the props and update if they change
|
|
78
78
|
// - Using array syntax to avoid "deep" flag
|
|
79
79
|
watch([() => props.max, () => props.min, () => props.only], () => {
|
|
80
|
-
if (uluBreakpointManager && handlersSetup.value) {
|
|
80
|
+
if (uluBreakpointManager.value && handlersSetup.value) {
|
|
81
81
|
tearDownHandlers();
|
|
82
|
-
setupHandlers(uluBreakpointManager);
|
|
82
|
+
setupHandlers(uluBreakpointManager.value);
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
85
|
|