@simonbackx/vue-app-navigation 2.8.1 → 2.8.2
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 +0 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2198,7 +2198,6 @@ function useUrl() {
|
|
|
2198
2198
|
extendUrl(url, options = {}) {
|
|
2199
2199
|
let prefix = this.getUrl();
|
|
2200
2200
|
if (options.returnHistory) {
|
|
2201
|
-
console.log("returnHistory", options.returnHistory);
|
|
2202
2201
|
const index = unref(historyIndex);
|
|
2203
2202
|
if (index !== null && index !== void 0) {
|
|
2204
2203
|
prefix = HistoryManager.getStateUrl(index - options.returnHistory);
|
|
@@ -2372,7 +2371,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
2372
2371
|
}
|
|
2373
2372
|
const style = options.modalDisplayStyle ?? component.modalDisplayStyle ?? "cover";
|
|
2374
2373
|
component.setDisplayStyle(style);
|
|
2375
|
-
console.log("ModalStackComponent present", options);
|
|
2376
2374
|
if ((style === "popup" || style === "sheet" || style === "side-view") && ((_a = stackComponent.value) == null ? void 0 : _a.$el).offsetWidth > 800 || style === "sheet" && ((_b = stackComponent.value) == null ? void 0 : _b.$el).offsetWidth > 700) {
|
|
2377
2375
|
const c = new ComponentWithProperties(_sfc_main, {
|
|
2378
2376
|
root: component,
|
|
@@ -2380,8 +2378,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
2380
2378
|
style: options.modalCssStyle ?? void 0
|
|
2381
2379
|
});
|
|
2382
2380
|
c.inheritFromDisplayer(component);
|
|
2383
|
-
console.log("before history index", c.historyIndex);
|
|
2384
|
-
console.log("before history index", component.historyIndex);
|
|
2385
2381
|
const adjustHistory = (options == null ? void 0 : options.adjustHistory) ?? true;
|
|
2386
2382
|
HistoryManager.pushState(void 0, adjustHistory ? async (canAnimate) => {
|
|
2387
2383
|
var _a2;
|
|
@@ -2391,8 +2387,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
2391
2387
|
invalid: options.invalidHistory ?? false
|
|
2392
2388
|
});
|
|
2393
2389
|
c.assignHistoryIndex();
|
|
2394
|
-
console.log("after history index", c.historyIndex);
|
|
2395
|
-
console.log("after history index", component.historyIndex);
|
|
2396
2390
|
(_c = stackComponent.value) == null ? void 0 : _c.show(c);
|
|
2397
2391
|
return;
|
|
2398
2392
|
}
|