@yoooloo42/joker 1.0.191 → 1.0.193

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.esm.js CHANGED
@@ -1,6 +1,5 @@
1
- import { useRouter } from 'vue-router';
1
+ import { inject, ref, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, normalizeStyle, toDisplayString, unref, reactive, computed, resolveComponent, createBlock, withCtx, renderList, createTextVNode, createVNode, isRef, defineComponent, h, onMounted, onBeforeUnmount, watch, nextTick as nextTick$1, resolveDirective, withDirectives } from 'vue';
2
2
  import { ElMessageBox, ElMessage } from 'element-plus';
3
- import { ref, createElementBlock, openBlock, Fragment, createCommentVNode, createElementVNode, normalizeStyle, toDisplayString, unref, reactive, computed, resolveComponent, createBlock, withCtx, renderList, createTextVNode, createVNode, isRef, defineComponent, h, onMounted, onBeforeUnmount, watch, nextTick as nextTick$1, resolveDirective, withDirectives } from 'vue';
4
3
 
5
4
  function _mergeNamespaces(n, m) {
6
5
  m.forEach(function (e) {
@@ -21958,6 +21957,68 @@ const {
21958
21957
  mergeConfig
21959
21958
  } = axios;
21960
21959
 
21960
+ /*!
21961
+ * vue-router v4.6.4
21962
+ * (c) 2025 Eduardo San Martin Morote
21963
+ * @license MIT
21964
+ */
21965
+ Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
21966
+
21967
+ //#endregion
21968
+ //#region src/injectionSymbols.ts
21969
+ /**
21970
+ * RouteRecord being rendered by the closest ancestor Router View. Used for
21971
+ * `onBeforeRouteUpdate` and `onBeforeRouteLeave`. rvlm stands for Router View
21972
+ * Location Matched
21973
+ *
21974
+ * @internal
21975
+ */
21976
+ Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : "");
21977
+ /**
21978
+ * Allows overriding the router view depth to control which component in
21979
+ * `matched` is rendered. rvd stands for Router View Depth
21980
+ *
21981
+ * @internal
21982
+ */
21983
+ Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : "");
21984
+ /**
21985
+ * Allows overriding the router instance returned by `useRouter` in tests. r
21986
+ * stands for router
21987
+ *
21988
+ * @internal
21989
+ */
21990
+ const routerKey = Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
21991
+ /**
21992
+ * Allows overriding the current route returned by `useRoute` in tests. rl
21993
+ * stands for route location
21994
+ *
21995
+ * @internal
21996
+ */
21997
+ Symbol(process.env.NODE_ENV !== "production" ? "route location" : "");
21998
+ /**
21999
+ * Allows overriding the current route used by router-view. Internally this is
22000
+ * used when the `route` prop is passed.
22001
+ *
22002
+ * @internal
22003
+ */
22004
+ Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
22005
+
22006
+ /*!
22007
+ * vue-router v4.6.4
22008
+ * (c) 2025 Eduardo San Martin Morote
22009
+ * @license MIT
22010
+ */
22011
+
22012
+ //#endregion
22013
+ //#region src/useApi.ts
22014
+ /**
22015
+ * Returns the router instance. Equivalent to using `$router` inside
22016
+ * templates.
22017
+ */
22018
+ function useRouter() {
22019
+ return inject(routerKey);
22020
+ }
22021
+
21961
22022
  const router = useRouter();
21962
22023
  const domainPara = 'http://127.0.0.1:443';
21963
22024
  const upload$1 = '/ly0/upload-req/file';
@@ -24388,7 +24449,7 @@ const scopeThis_box = reactive(props.scopeThis);
24388
24449
  return (_ctx, _cache) => {
24389
24450
  const _component_el_dialog = resolveComponent("el-dialog");
24390
24451
 
24391
- return (formProps_box.popup && formProps_box.popup.visible)
24452
+ return (formProps_box.popup)
24392
24453
  ? (openBlock(), createBlock(_component_el_dialog, {
24393
24454
  key: 0,
24394
24455
  modelValue: formProps_box.popup.visible,
@@ -42497,7 +42558,7 @@ const scopeThis_box = reactive(props.scopeThis);
42497
42558
  return (_ctx, _cache) => {
42498
42559
  const _component_el_dialog = resolveComponent("el-dialog");
42499
42560
 
42500
- return (tableProps_box.popup.visible)
42561
+ return (tableProps_box.popup)
42501
42562
  ? (openBlock(), createBlock(_component_el_dialog, {
42502
42563
  key: 0,
42503
42564
  modelValue: tableProps_box.popup.visible,