zhytech-ui-mobile 1.0.0 → 1.0.1

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.
@@ -4,8 +4,7 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
- import { ref, getCurrentInstance, createVNode, mergeProps, withModifiers, defineComponent, Fragment, renderSlot, openBlock, createBlock, withCtx, Comment, createTextVNode, provide, reactive, watchEffect, onActivated, computed, inject, onBeforeUnmount, onMounted, watch, withDirectives, vModelDynamic, vShow, nextTick, renderList, isReactive, onUnmounted, shallowRef, isVNode as isVNode$1, onBeforeMount, createApp, Transition, effectScope, markRaw, normalizeClass, normalizeStyle, createCommentVNode, onDeactivated, createElementBlock, toDisplayString, useSlots, toRefs, resolveDynamicComponent, unref, Teleport, createSlots, resolveComponent, useCssVars, isRef } from "vue";
8
- import { useRoute, isNavigationFailure } from "vue-router";
7
+ import { inject, ref, getCurrentInstance, createVNode, mergeProps, withModifiers, defineComponent, Fragment, renderSlot, openBlock, createBlock, withCtx, Comment, createTextVNode, provide, reactive, watchEffect, onActivated, computed, onBeforeUnmount, onMounted, watch, withDirectives, vModelDynamic, vShow, nextTick, renderList, isReactive, onUnmounted, shallowRef, isVNode as isVNode$1, onBeforeMount, createApp, Transition, effectScope, markRaw, normalizeClass, normalizeStyle, createCommentVNode, onDeactivated, createElementBlock, toDisplayString, useSlots, toRefs, resolveDynamicComponent, unref, Teleport, createSlots, resolveComponent, useCssVars, isRef } from "vue";
9
8
  const __uno = "";
10
9
  const view = "";
11
10
  const toast = "";
@@ -570,6 +569,36 @@ function initVueI18n(locale, messages2 = {}, fallbackLocale, watcher) {
570
569
  }
571
570
  };
572
571
  }
572
+ /*!
573
+ * vue-router v4.5.1
574
+ * (c) 2025 Eduardo San Martin Morote
575
+ * @license MIT
576
+ */
577
+ var NavigationType;
578
+ (function(NavigationType2) {
579
+ NavigationType2["pop"] = "pop";
580
+ NavigationType2["push"] = "push";
581
+ })(NavigationType || (NavigationType = {}));
582
+ var NavigationDirection;
583
+ (function(NavigationDirection2) {
584
+ NavigationDirection2["back"] = "back";
585
+ NavigationDirection2["forward"] = "forward";
586
+ NavigationDirection2["unknown"] = "";
587
+ })(NavigationDirection || (NavigationDirection = {}));
588
+ const NavigationFailureSymbol = Symbol("");
589
+ var NavigationFailureType;
590
+ (function(NavigationFailureType2) {
591
+ NavigationFailureType2[NavigationFailureType2["aborted"] = 4] = "aborted";
592
+ NavigationFailureType2[NavigationFailureType2["cancelled"] = 8] = "cancelled";
593
+ NavigationFailureType2[NavigationFailureType2["duplicated"] = 16] = "duplicated";
594
+ })(NavigationFailureType || (NavigationFailureType = {}));
595
+ function isNavigationFailure(error, type) {
596
+ return error instanceof Error && NavigationFailureSymbol in error && (type == null || !!(error.type & type));
597
+ }
598
+ const routeLocationKey = Symbol("");
599
+ function useRoute(_name) {
600
+ return inject(routeLocationKey);
601
+ }
573
602
  const isEnableLocale = /* @__PURE__ */ once(
574
603
  () => typeof __uniConfig !== "undefined" && __uniConfig.locales && !!Object.keys(__uniConfig.locales).length
575
604
  );