@yoooloo42/joker 1.0.196 → 1.0.198

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,5 +1,5 @@
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
1
  import { ElMessageBox, ElMessage } from 'element-plus';
2
+ 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';
3
3
 
4
4
  function _mergeNamespaces(n, m) {
5
5
  m.forEach(function (e) {
@@ -21957,68 +21957,6 @@ const {
21957
21957
  mergeConfig
21958
21958
  } = axios;
21959
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
-
22022
21960
  const domainPara = 'http://127.0.0.1:443';
22023
21961
  const upload$1 = '/ly0/upload-req/file';
22024
21962
  const upload_image = '/ly0/upload-req/image';
@@ -22177,33 +22115,6 @@ function ly0sessionLoseWithUsertbl(usertbl) {
22177
22115
  }
22178
22116
  return lose;
22179
22117
  }
22180
-
22181
- // 导航(路由跳转)
22182
- function navigate(_ref4) {
22183
- let {
22184
- code = '1',
22185
- // 路由跳转类型
22186
- path // 路由地址
22187
- } = _ref4;
22188
- const router = useRouter();
22189
- const navigate = _ref5 => {
22190
- let {
22191
- code = '1',
22192
- path
22193
- } = _ref5;
22194
- if (code === '0') {
22195
- window.location.href = path;
22196
- } else if (code === '1') {
22197
- router.push(path);
22198
- } else {
22199
- // 默认 code === '1'
22200
- router.push(path);
22201
- }
22202
- };
22203
- return {
22204
- navigate
22205
- };
22206
- }
22207
22118
  var ly0request = {
22208
22119
  domain: domainPara,
22209
22120
  upload: upload$1,
@@ -22216,8 +22127,7 @@ var ly0request = {
22216
22127
  ly0sessionLoad,
22217
22128
  ly0sessionClear,
22218
22129
  ly0sessionLose,
22219
- ly0sessionLoseWithUsertbl,
22220
- navigate
22130
+ ly0sessionLoseWithUsertbl
22221
22131
  };
22222
22132
 
22223
22133
  var request = {