@quoreadmin/ui 1.0.10 → 1.0.11
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/index.js +6 -2
- package/dist/index.umd.cjs +54 -54
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -78777,6 +78777,10 @@ const Qfe = /* @__PURE__ */ ze(Nde, [["render", Rde], ["__scopeId", "data-v-3862
|
|
|
78777
78777
|
fixedPositioning: {
|
|
78778
78778
|
type: Boolean,
|
|
78779
78779
|
default: !1
|
|
78780
|
+
},
|
|
78781
|
+
beforeStartTour: {
|
|
78782
|
+
type: Function,
|
|
78783
|
+
default: void 0
|
|
78780
78784
|
}
|
|
78781
78785
|
},
|
|
78782
78786
|
emits: ["onTourStart", "onTourStop", "onTourEnd", "onTourStep", "onTourSnooze"],
|
|
@@ -78795,9 +78799,9 @@ const Qfe = /* @__PURE__ */ ze(Nde, [["render", Rde], ["__scopeId", "data-v-3862
|
|
|
78795
78799
|
window.addEventListener("resize", ne), window.addEventListener("scroll", ne, !0);
|
|
78796
78800
|
}, m = () => {
|
|
78797
78801
|
window.removeEventListener("resize", ne), window.removeEventListener("scroll", ne, !0);
|
|
78798
|
-
}, y = () => {
|
|
78802
|
+
}, y = async () => {
|
|
78799
78803
|
if (localStorage.getItem("tour-" + n.name) === "true") return;
|
|
78800
|
-
n.saveProgress ? d.currentStep = parseInt(
|
|
78804
|
+
n.beforeStartTour && await n.beforeStartTour(), n.saveProgress ? d.currentStep = parseInt(
|
|
78801
78805
|
localStorage.getItem("tour-" + n.name) || "0"
|
|
78802
78806
|
) : d.currentStep = 0;
|
|
78803
78807
|
const z = async () => {
|