wave-ui 3.13.1 → 3.13.3
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/wave-ui.es.js
CHANGED
|
@@ -746,10 +746,8 @@ const N = class N {
|
|
|
746
746
|
Oe(s, this.config.css.colorShadeCssVariables), this.colors = de(s, ue);
|
|
747
747
|
}
|
|
748
748
|
});
|
|
749
|
-
if (Y(N, X))
|
|
750
|
-
console.warn("Wave UI is already instantiated.");
|
|
749
|
+
if (Y(N, X))
|
|
751
750
|
return;
|
|
752
|
-
}
|
|
753
751
|
if (this.$waveui._notificationManager = new se(), i.theme || (i.theme = "light"), i.colors) {
|
|
754
752
|
const n = { ...i.colors };
|
|
755
753
|
i.colors.light || (i.colors.light = n), i.colors.dark || (i.colors.dark = n), i.colors = { light: i.colors.light, dark: i.colors.dark };
|
|
@@ -1634,7 +1632,7 @@ const _t = {
|
|
|
1634
1632
|
return this.route && this.hasRouter && !this.forceLink && !this.externalLink ? {
|
|
1635
1633
|
...i,
|
|
1636
1634
|
click: (s) => {
|
|
1637
|
-
i.click && i.click(s), router.push(this.route), s.stopPropagation(), s.preventDefault();
|
|
1635
|
+
i.click && i.click(s), this.$router.push(this.route), s.stopPropagation(), s.preventDefault();
|
|
1638
1636
|
}
|
|
1639
1637
|
} : i;
|
|
1640
1638
|
},
|