jmash-core 0.0.26 → 0.0.27

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.
Files changed (64) hide show
  1. package/dist/{401-DyxXSkQ8.mjs → 401-M7cRiNeA.mjs} +2 -2
  2. package/dist/{404-B1TcvQEr.mjs → 404-Dj6c1lv8.mjs} +1 -1
  3. package/dist/{BarChart-209IORAN.mjs → BarChart-BRzr-1Pg.mjs} +2 -2
  4. package/dist/{PieChart-C56IVMnJ.mjs → PieChart-Bwf_dDor.mjs} +1 -1
  5. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-e5ngYbbF.mjs → PieChart.vue_vue_type_script_setup_true_lang-DZdDTVjb.mjs} +2 -2
  6. package/dist/{RadarChart-V_wZ72h6.mjs → RadarChart-CqhtPDg5.mjs} +1 -1
  7. package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-BMoFVCx6.mjs → RadarChart.vue_vue_type_script_setup_true_lang-9-54WMZq.mjs} +2 -2
  8. package/dist/{edit-Dn97TcAU.mjs → edit-B9Lq-t_r.mjs} +1 -1
  9. package/dist/{edit-BVUL3vj5.mjs → edit-BRxQkFDt.mjs} +1 -1
  10. package/dist/{edit-DXWmiMqv.mjs → edit-BvvDET5t.mjs} +1 -1
  11. package/dist/{edit-bp48snhk.mjs → edit-C7GD0nSe.mjs} +1 -1
  12. package/dist/edit-CBSQovw7.mjs +4 -0
  13. package/dist/{edit-fy-D_Erf.mjs → edit-CaxsTptv.mjs} +5 -5
  14. package/dist/{edit-D1YyanrI.mjs → edit-CmZKTMpm.mjs} +6 -6
  15. package/dist/edit-D0lWUImW.mjs +4 -0
  16. package/dist/{edit.vue_vue_type_script_setup_true_lang-Cvcr7cQH.mjs → edit.vue_vue_type_script_setup_true_lang-BJra8IL2.mjs} +4 -4
  17. package/dist/{edit.vue_vue_type_script_setup_true_lang-dpzo5d2P.mjs → edit.vue_vue_type_script_setup_true_lang-CD9L7JV6.mjs} +2 -2
  18. package/dist/{edit.vue_vue_type_script_setup_true_lang-B3JXEydV.mjs → edit.vue_vue_type_script_setup_true_lang-CLen66ub.mjs} +1 -1
  19. package/dist/{edit.vue_vue_type_script_setup_true_lang-DNx6yN4E.mjs → edit.vue_vue_type_script_setup_true_lang-D2EOXI-4.mjs} +2 -2
  20. package/dist/{edit.vue_vue_type_script_setup_true_lang-CMpUNJVq.mjs → edit.vue_vue_type_script_setup_true_lang-DHfZOjnV.mjs} +3 -3
  21. package/dist/{edit.vue_vue_type_script_setup_true_lang-Bot6IVjR.mjs → edit.vue_vue_type_script_setup_true_lang-DgGcCBMj.mjs} +5 -5
  22. package/dist/{el-card-B1tGqKYT.mjs → el-card-DSL4P5gG.mjs} +1 -1
  23. package/dist/{el-col-CDKx7dxt.mjs → el-col-1uWbtffl.mjs} +1 -1
  24. package/dist/{el-date-picker-6jkl6umu.mjs → el-date-picker-5Ichw8rC.mjs} +1 -1
  25. package/dist/{el-divider-AzBqnYzM.mjs → el-divider-DU-ox9JK.mjs} +1 -1
  26. package/dist/{el-dropdown-item-Bm7pFBjL.mjs → el-dropdown-item-Bt9Aai9P.mjs} +1 -1
  27. package/dist/{el-tree-select-CLP-mG53.mjs → el-tree-select-CSA9Hezj.mjs} +2 -2
  28. package/dist/{index-CN-rTVvf.mjs → index-43qW6Kzo.mjs} +3 -3
  29. package/dist/{index-CqUieyFM.mjs → index-BC43E5Ar.mjs} +3 -3
  30. package/dist/{index-BhOmXWSz.mjs → index-BE1CpPx5.mjs} +1 -1
  31. package/dist/{index-CB5WgDdA.mjs → index-BEysoYwl.mjs} +4 -4
  32. package/dist/{index-BkwJyGQQ.mjs → index-BG-VGQjG.mjs} +4 -4
  33. package/dist/{index-BOpQgIuE.mjs → index-BVi8jMer.mjs} +1 -1
  34. package/dist/{index-Da3w-Bs_.mjs → index-BbW9mmA_.mjs} +1 -1
  35. package/dist/{index-liyu2-pP.mjs → index-CBYpOGzw.mjs} +4144 -4118
  36. package/dist/{index-CZAJ8vFy.mjs → index-CMoyhn2V.mjs} +5 -5
  37. package/dist/{index-B8rFOXk3.mjs → index-CZy6Ahnx.mjs} +1 -1
  38. package/dist/{index-9F0pKjVG.mjs → index-CkO9KLDz.mjs} +6 -6
  39. package/dist/{index-C4c-GVkQ.mjs → index-DXr_IDAv.mjs} +8 -8
  40. package/dist/{index-Dd9sx-3t.mjs → index-Dh3QVFbj.mjs} +4 -4
  41. package/dist/{index-DkkB2zub.mjs → index-Dhot8quq.mjs} +4 -4
  42. package/dist/{index-B_Nlp4bP.mjs → index-DwCnuhwT.mjs} +3 -3
  43. package/dist/{index-Drr9mZCe.mjs → index-HxChxr7a.mjs} +5 -5
  44. package/dist/{index-5eSu1tHt.mjs → index-L7Wb4QU_.mjs} +1 -1
  45. package/dist/{index-FHWikOd_.mjs → index-PuOF-77f.mjs} +6 -6
  46. package/dist/{index-KGZB5e7L.mjs → index-WvQkk6zz.mjs} +3 -3
  47. package/dist/{index-BNaxDAmV.mjs → index-fooXb-UD.mjs} +1 -1
  48. package/dist/index.mjs +29 -28
  49. package/dist/{index.vue_vue_type_script_setup_true_lang-BdF8weI-.mjs → index.vue_vue_type_script_setup_true_lang-c5OyPyj2.mjs} +2 -2
  50. package/dist/{picture-C3ryc2v4.mjs → picture-DQoPRn9H.mjs} +2 -2
  51. package/dist/{position-BlDXwvZE.mjs → position-C8xJ-itb.mjs} +1 -1
  52. package/dist/{profile-Iv6QwYlU.mjs → profile-CXazX36t.mjs} +6 -6
  53. package/dist/{runAs-D2y1kMdw.mjs → runAs-Wg71lsRu.mjs} +1 -1
  54. package/dist/{runAs.vue_vue_type_script_setup_true_lang-BGeL3VN9.mjs → runAs.vue_vue_type_script_setup_true_lang-Tv0kn1GL.mjs} +1 -1
  55. package/dist/style.css +1 -1
  56. package/dist/{types-BtFbroFe.mjs → types-bGS-6yqy.mjs} +2 -2
  57. package/dist/{updatePwd-CGVxTSeq.mjs → updatePwd-B353QzsI.mjs} +1 -1
  58. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-zIdNRdvk.mjs → updatePwd.vue_vue_type_script_setup_true_lang-CwJDtUpJ.mjs} +1 -1
  59. package/dts/src/api/index.d.ts +9 -0
  60. package/dts/src/index.d.ts +21 -21
  61. package/dts/src/main.d.ts +5 -5
  62. package/package.json +1 -1
  63. package/dist/edit-fZmbXgcD.mjs +0 -4
  64. package/dist/edit-lNjt5eFq.mjs +0 -4
@@ -1,5 +1,5 @@
1
- import { al as x, a0 as b, ar as D, as as U, at as B, s as N, aq as $, t as q, ai as R, au as S } from "./index-liyu2-pP.mjs";
2
- import { _ as z, E as A } from "./picture-C3ryc2v4.mjs";
1
+ import { al as x, a0 as b, ar as D, as as U, at as B, s as N, aq as $, t as q, ai as R, au as S } from "./index-CBYpOGzw.mjs";
2
+ import { _ as z, E as A } from "./picture-DQoPRn9H.mjs";
3
3
  import "./el-form-item-l0sNRNKZ.mjs";
4
4
  import { defineComponent as M, ref as I, reactive as m, openBlock as P, createElementBlock as T, Fragment as j, createVNode as e, withCtx as t, createTextVNode as p, toDisplayString as u, createElementVNode as f } from "vue";
5
5
  const L = { class: "h-[40px]" }, G = { class: "image-slot" }, H = { class: "dialog-footer" }, X = /* @__PURE__ */ M({
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./updatePwd.vue_vue_type_script_setup_true_lang-zIdNRdvk.mjs";
1
+ import { _ as f } from "./updatePwd.vue_vue_type_script_setup_true_lang-CwJDtUpJ.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { aW as y, Y as C, s as h, aq as v, ai as x, t as O, au as A } from "./index-liyu2-pP.mjs";
1
+ import { aW as y, Y as C, s as h, aq as v, ai as x, t as O, au as A } from "./index-CBYpOGzw.mjs";
2
2
  import "./el-form-item-l0sNRNKZ.mjs";
3
3
  import { defineComponent as q, ref as B, toRefs as F, reactive as c, openBlock as I, createBlock as R, unref as r, isRef as U, withCtx as a, createElementVNode as D, createVNode as t, createTextVNode as f } from "vue";
4
4
  const W = { class: "dialog-footer" }, Y = /* @__PURE__ */ q({
@@ -3,3 +3,12 @@ import type { Entry } from "./types";
3
3
  export declare function enumMapCache(module: string, className: string, type?: number): Promise<Entry[]>;
4
4
  /** 枚举数据回显 **/
5
5
  export declare function useEnum(data: Entry[], key: string): string;
6
+ export declare class EnumDict {
7
+ module: string;
8
+ enumClass: string;
9
+ type: number;
10
+ values: Entry[];
11
+ constructor(module: string, enumClass: string, type?: number);
12
+ useEnumValues(): void;
13
+ getEnumValue(key: string): string;
14
+ }
@@ -1,26 +1,26 @@
1
1
  export type { VueMetaEnv, TableColumn, TableSort, AppSettings } from "./types";
2
2
  export type { EntityApi, EnumEntryReq, Entry, EntityReq, EntityModel, EntityList, EntityPage, EntityTotal, EntityKey, EntityKeyList, EntityCreateReq, EntityUpdateReq, EntityFormReq, EntityExportReq, EntityImportReq } from "./api/types";
3
- import type { App } from 'vue';
4
- export { menus, vueMetaEnv, addViteMenus, addWebpackMenus, updateMetaEnv, updateSettings } from "@/settings";
5
- export { getQueryParams, clearEmpty } from '@/utils/grpc';
6
- import request from "@/utils/request";
3
+ import type { App } from "vue";
4
+ export { menus, vueMetaEnv, addViteMenus, addWebpackMenus, updateMetaEnv, updateSettings } from "./settings";
5
+ export { getQueryParams, clearEmpty } from "./utils/grpc";
6
+ import request from "./utils/request";
7
7
  export { request };
8
- export { useDictionary } from "@/utils/common";
9
- export { dictMap } from "@/api/system/index";
10
- export { enumMapCache, useEnum } from "@/api/index";
11
- export { useListData } from "@/hooks/useList";
12
- export { useColumnToggleTable } from "@/hooks/useColumnToggleTable";
13
- export { useTableHooks, TableHooks } from "@/hooks/table";
14
- export { store } from '@/stores';
15
- export { useAppStore, useAppStoreHook } from './stores/modules/app';
16
- export { usePermissionStore, usePermissionStoreHook } from './stores/modules/permission';
17
- export { useSettingsStore } from './stores/modules/settings';
18
- export { useTagsViewStore } from './stores/modules/tagsView';
19
- export { useUserStore, useUserStoreHook } from './stores/modules/user';
20
- export { resetRouter } from '@/router';
21
- import router from '@/router';
8
+ export { useDictionary } from "./utils/common";
9
+ export { dictMap } from "./api/system/index";
10
+ export { EnumDict, enumMapCache, useEnum } from "./api/index";
11
+ export { useListData } from "./hooks/useList";
12
+ export { useColumnToggleTable } from "./hooks/useColumnToggleTable";
13
+ export { useTableHooks, TableHooks } from "./hooks/table";
14
+ export { store } from "./stores";
15
+ export { useAppStore, useAppStoreHook } from "./stores/modules/app";
16
+ export { usePermissionStore, usePermissionStoreHook } from "./stores/modules/permission";
17
+ export { useSettingsStore } from "./stores/modules/settings";
18
+ export { useTagsViewStore } from "./stores/modules/tagsView";
19
+ export { useUserStore, useUserStoreHook } from "./stores/modules/user";
20
+ export { resetRouter } from './router';
21
+ import router from './router';
22
22
  export { router };
23
- import directive from '@/directive';
23
+ import directive from './directive';
24
24
  export { directive };
25
25
  export declare const Layout: () => Promise<typeof import("@/layout/index.vue")>;
26
26
  export declare const LoginPage: () => Promise<typeof import("@/views/login/index.vue")>;
@@ -29,11 +29,11 @@ export declare const ProfilePage: () => Promise<typeof import("@/views/my/profil
29
29
  export declare const Error401Page: () => Promise<typeof import("@/views/error-page/401.vue")>;
30
30
  export declare const Error404Page: () => Promise<typeof import("@/views/error-page/404.vue")>;
31
31
  export declare const DashboardPage: () => Promise<typeof import("@/views/dashboard/index.vue")>;
32
- import i18n from '@/lang/index';
32
+ import i18n from './lang/index';
33
33
  export { i18n };
34
34
  import 'virtual:svg-icons-register';
35
35
  import 'element-plus/theme-chalk/dark/css-vars.css';
36
- import '@/styles/index.scss';
36
+ import './styles/index.scss';
37
37
  import 'uno.css';
38
38
  declare const jmash: {
39
39
  install(app: App): void;
package/dts/src/main.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import '@/permission';
2
- import 'virtual:svg-icons-register';
3
- import 'element-plus/theme-chalk/dark/css-vars.css';
4
- import '@/styles/index.scss';
5
- import 'uno.css';
1
+ import "virtual:svg-icons-register";
2
+ import "element-plus/theme-chalk/dark/css-vars.css";
3
+ import "@/styles/index.scss";
4
+ import "uno.css";
5
+ import "@/permission";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmash-core",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/src/index.d.ts",
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-dpzo5d2P.mjs";
2
- export {
3
- f as default
4
- };
@@ -1,4 +0,0 @@
1
- import { _ as f } from "./edit.vue_vue_type_script_setup_true_lang-Cvcr7cQH.mjs";
2
- export {
3
- f as default
4
- };