jmash-core 0.0.133 → 0.0.135

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 (35) hide show
  1. package/dist/{401-etT_5LbD.mjs → 401-7Qhm7skq.mjs} +3 -3
  2. package/dist/{404-CE7X5xyU.mjs → 404-Dc_Qb3SR.mjs} +3 -3
  3. package/dist/{BarChart-BPVaNoh_.mjs → BarChart-CqcqJyHL.mjs} +5 -5
  4. package/dist/{FunnelChart-D6-3qMKT.mjs → FunnelChart-BzoTNn36.mjs} +5 -5
  5. package/dist/{PieChart-pHMdR-Hx.mjs → PieChart-vvePUqxP.mjs} +1 -1
  6. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-zNUDoKtb.mjs → PieChart.vue_vue_type_script_setup_true_lang-B4J5buH_.mjs} +6 -6
  7. package/dist/{RadarChart-CclJ-0mQ.mjs → RadarChart-RsjrWpKm.mjs} +1 -1
  8. package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-CkA5ajJ-.mjs → RadarChart.vue_vue_type_script_setup_true_lang-CPbv9lgv.mjs} +6 -6
  9. package/dist/{index-_VikBg61.mjs → index-BV37plcU.mjs} +8 -8
  10. package/dist/{index-QzSyMqdw.mjs → index-CBl375HU.mjs} +8 -8
  11. package/dist/{index-CBnU0B-o.mjs → index-CeiqmQyN.mjs} +8 -8
  12. package/dist/{index--_Po9Tig.mjs → index-DA53-ye2.mjs} +8435 -8536
  13. package/dist/{index-c3E997cw.mjs → index-DD5HKNzK.mjs} +4 -4
  14. package/dist/{index-D6zVHnF6.mjs → index-DsRi-u4y.mjs} +11503 -11547
  15. package/dist/{index-JBmY6Vt0.mjs → index-uykKwY2Z.mjs} +2 -2
  16. package/dist/index.mjs +27 -28
  17. package/dist/{profile-lx8s8LVI.mjs → profile-C92i-Byi.mjs} +7 -7
  18. package/dist/{runAs-iW7pU6Ly.mjs → runAs-DLZv5MXK.mjs} +1 -1
  19. package/dist/{runAs.vue_vue_type_script_setup_true_lang-BJNNelsz.mjs → runAs.vue_vue_type_script_setup_true_lang-DEsuf14k.mjs} +13 -13
  20. package/dist/style.css +1 -1
  21. package/dist/{types-BTxq5840.mjs → types-0AXfE2W6.mjs} +4 -4
  22. package/dist/{updatePwd-B2FzfYnj.mjs → updatePwd-DiUMHL_4.mjs} +1 -1
  23. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-Bfa15Z7c.mjs → updatePwd.vue_vue_type_script_setup_true_lang-CHN9d9gw.mjs} +3 -3
  24. package/dts/src/components/DictRadio/index.vue.d.ts +32 -0
  25. package/dts/src/components/DictSelect/index.vue.d.ts +50 -0
  26. package/dts/src/components/Pagination/index.vue.d.ts +88 -0
  27. package/dts/src/components/Table/index.vue.d.ts +64 -0
  28. package/dts/src/components/Upload/MultiUpload.vue.d.ts +65 -0
  29. package/dts/src/components/Upload/SingleUpload.vue.d.ts +18 -0
  30. package/dts/src/components/Upload/importUpload.vue.d.ts +31 -0
  31. package/dts/src/components/Upload/index.vue.d.ts +18 -0
  32. package/dts/src/hooks/table.d.ts +8 -0
  33. package/dts/src/index.d.ts +0 -1
  34. package/dts/src/stores/modules/searchCondition.d.ts +26 -0
  35. package/package.json +87 -87
@@ -1,12 +1,12 @@
1
- import { createElementBlock as I, openBlock as y, createElementVNode as u, defineComponent as B, ref as V, reactive as f, resolveComponent as i, Fragment as D, createVNode as t, withCtx as l, createTextVNode as _, toDisplayString as v } from "vue";
2
- import { v as E, b as w, w as N, x as q, y as R } from "./index-D6zVHnF6.mjs";
1
+ import { openBlock as I, createElementBlock as y, createElementVNode as u, defineComponent as B, ref as V, reactive as f, resolveComponent as i, Fragment as D, createVNode as t, withCtx as l, createTextVNode as _, toDisplayString as v } from "vue";
2
+ import { v as E, b as w, w as N, x as q, y as R } from "./index-DsRi-u4y.mjs";
3
3
  const S = {
4
4
  viewBox: "0 0 1024 1024",
5
5
  width: "1.2em",
6
6
  height: "1.2em"
7
7
  };
8
8
  function A(k, c) {
9
- return y(), I("svg", S, c[0] || (c[0] = [
9
+ return I(), y("svg", S, c[0] || (c[0] = [
10
10
  u("path", {
11
11
  fill: "currentColor",
12
12
  d: "M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"
@@ -82,7 +82,7 @@ const L = { name: "ep-picture", render: A }, P = { class: "h-[40px]" }, T = { cl
82
82
  }
83
83
  return (a, e) => {
84
84
  const p = i("el-input"), r = i("el-form-item"), s = i("el-button"), b = i("el-form"), U = L, $ = i("el-image"), z = i("el-dialog");
85
- return y(), I(D, null, [
85
+ return I(), y(D, null, [
86
86
  t(b, {
87
87
  ref_key: "ruleFormRef",
88
88
  ref: g,
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./updatePwd.vue_vue_type_script_setup_true_lang-Bfa15Z7c.mjs";
1
+ import { _ as f } from "./updatePwd.vue_vue_type_script_setup_true_lang-CHN9d9gw.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as q, ref as v, toRefs as E, reactive as V, resolveComponent as i, createBlock as O, openBlock as A, unref as t, isRef as U, withCtx as n, createVNode as r, createElementVNode as z, createTextVNode as g, toDisplayString as _ } from "vue";
1
+ import { defineComponent as q, ref as v, toRefs as E, reactive as V, resolveComponent as i, openBlock as O, createBlock as A, unref as t, isRef as U, withCtx as n, createElementVNode as z, createVNode as r, createTextVNode as g, toDisplayString as _ } from "vue";
2
2
  import { ElMessage as B } from "element-plus";
3
- import { z as b, M as D } from "./index-D6zVHnF6.mjs";
3
+ import { z as b, M as D } from "./index-DsRi-u4y.mjs";
4
4
  import { useI18n as I } from "vue-i18n";
5
5
  const S = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
6
6
  __name: "updatePwd",
@@ -49,7 +49,7 @@ const S = { class: "dialog-footer" }, G = /* @__PURE__ */ q({
49
49
  }
50
50
  return (o, e) => {
51
51
  const d = i("el-input"), w = i("el-form-item"), m = i("el-form"), P = i("el-button"), C = i("el-dialog");
52
- return A(), O(C, {
52
+ return O(), A(C, {
53
53
  title: "修改密码",
54
54
  modelValue: t(u),
55
55
  "onUpdate:modelValue": e[3] || (e[3] = (s) => U(u) ? u.value = s : null),
@@ -0,0 +1,32 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ currentInterface: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ dictType: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ dictValue: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
15
+ currentInterface: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ dictType: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ dictValue: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ }>>, {
28
+ currentInterface: string;
29
+ dictValue: string;
30
+ dictType: string;
31
+ }, {}>;
32
+ export default _default;
@@ -0,0 +1,50 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ currentInterface: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ dictValue: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ dictType: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ placeholder: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ clearable: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
23
+ currentInterface: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ dictValue: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ dictType: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ placeholder: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ clearable: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ }>>, {
44
+ placeholder: string;
45
+ clearable: boolean;
46
+ currentInterface: string;
47
+ dictValue: string;
48
+ dictType: string;
49
+ }, {}>;
50
+ export default _default;
@@ -0,0 +1,88 @@
1
+ import type { PropType } from "vue";
2
+ declare const _default: import("vue").DefineComponent<{
3
+ total: {
4
+ required: true;
5
+ type: PropType<number>;
6
+ default: number;
7
+ };
8
+ page: {
9
+ type: NumberConstructor;
10
+ default: number;
11
+ };
12
+ limit: {
13
+ type: NumberConstructor;
14
+ default: number;
15
+ };
16
+ pageSizes: {
17
+ type: PropType<number[]>;
18
+ default(): number[];
19
+ };
20
+ layout: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ background: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ autoScroll: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ hidden: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
+ pagination: (...args: any[]) => void;
38
+ "update:page": (...args: any[]) => void;
39
+ "update:limit": (...args: any[]) => void;
40
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
41
+ total: {
42
+ required: true;
43
+ type: PropType<number>;
44
+ default: number;
45
+ };
46
+ page: {
47
+ type: NumberConstructor;
48
+ default: number;
49
+ };
50
+ limit: {
51
+ type: NumberConstructor;
52
+ default: number;
53
+ };
54
+ pageSizes: {
55
+ type: PropType<number[]>;
56
+ default(): number[];
57
+ };
58
+ layout: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ background: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ };
66
+ autoScroll: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ hidden: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ }>> & {
75
+ onPagination?: ((...args: any[]) => any) | undefined;
76
+ "onUpdate:page"?: ((...args: any[]) => any) | undefined;
77
+ "onUpdate:limit"?: ((...args: any[]) => any) | undefined;
78
+ }, {
79
+ hidden: boolean;
80
+ layout: string;
81
+ pageSizes: number[];
82
+ total: number;
83
+ page: number;
84
+ limit: number;
85
+ background: boolean;
86
+ autoScroll: boolean;
87
+ }, {}>;
88
+ export default _default;
@@ -0,0 +1,64 @@
1
+ import type { TableColumn } from "@/types/index";
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ tableData: {
4
+ type: ArrayConstructor;
5
+ default: () => never[];
6
+ };
7
+ tableLabel: {
8
+ type: globalThis.PropType<TableColumn[]>;
9
+ default: () => never[];
10
+ };
11
+ listLoading: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ rowKeys: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ isSelection: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ }, {
24
+ tableSelection: () => Promise<false | undefined>;
25
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
+ tableSelected: (value: any) => void;
27
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
28
+ tableData: {
29
+ type: ArrayConstructor;
30
+ default: () => never[];
31
+ };
32
+ tableLabel: {
33
+ type: globalThis.PropType<TableColumn[]>;
34
+ default: () => never[];
35
+ };
36
+ listLoading: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ rowKeys: {
41
+ type: StringConstructor;
42
+ default: string;
43
+ };
44
+ isSelection: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ }>> & {
49
+ onTableSelected?: ((value: any) => any) | undefined;
50
+ }, {
51
+ tableLabel: TableColumn[];
52
+ isSelection: boolean;
53
+ tableData: unknown[];
54
+ listLoading: boolean;
55
+ rowKeys: string;
56
+ }, {}>, Partial<Record<string, (_: {
57
+ data: any;
58
+ }) => any>>>;
59
+ export default _default;
60
+ type __VLS_WithTemplateSlots<T, S> = T & {
61
+ new (): {
62
+ $slots: S;
63
+ };
64
+ };
@@ -0,0 +1,65 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ /**
3
+ * 文件路径集合
4
+ */
5
+ modelValue: {
6
+ type: {
7
+ (arrayLength: number): string[];
8
+ (...items: string[]): string[];
9
+ new (arrayLength: number): string[];
10
+ new (...items: string[]): string[];
11
+ isArray(arg: any): arg is any[];
12
+ readonly prototype: any[];
13
+ from<T>(arrayLike: ArrayLike<T>): T[];
14
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
15
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
16
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
17
+ of<T_4>(...items: T_4[]): T_4[];
18
+ readonly [Symbol.species]: ArrayConstructor;
19
+ };
20
+ default: () => never[];
21
+ };
22
+ /**
23
+ * 文件上传数量限制
24
+ */
25
+ limit: {
26
+ type: NumberConstructor;
27
+ default: number;
28
+ };
29
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ "update:modelValue": (...args: any[]) => void;
31
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
32
+ /**
33
+ * 文件路径集合
34
+ */
35
+ modelValue: {
36
+ type: {
37
+ (arrayLength: number): string[];
38
+ (...items: string[]): string[];
39
+ new (arrayLength: number): string[];
40
+ new (...items: string[]): string[];
41
+ isArray(arg: any): arg is any[];
42
+ readonly prototype: any[];
43
+ from<T>(arrayLike: ArrayLike<T>): T[];
44
+ from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
45
+ from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
46
+ from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
47
+ of<T_4>(...items: T_4[]): T_4[];
48
+ readonly [Symbol.species]: ArrayConstructor;
49
+ };
50
+ default: () => never[];
51
+ };
52
+ /**
53
+ * 文件上传数量限制
54
+ */
55
+ limit: {
56
+ type: NumberConstructor;
57
+ default: number;
58
+ };
59
+ }>> & {
60
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
61
+ }, {
62
+ modelValue: string[];
63
+ limit: number;
64
+ }, {}>;
65
+ export default _default;
@@ -0,0 +1,18 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ modelValue: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:modelValue": (...args: any[]) => void;
8
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
9
+ modelValue: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ }>> & {
14
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
15
+ }, {
16
+ modelValue: string;
17
+ }, {}>;
18
+ export default _default;
@@ -0,0 +1,31 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ uploadVisible: {
3
+ type: BooleanConstructor;
4
+ default: () => boolean;
5
+ };
6
+ templateTitle: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ templateDown: (...args: any[]) => void;
12
+ importEvents: (...args: any[]) => void;
13
+ uploadClosed: (...args: any[]) => void;
14
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
15
+ uploadVisible: {
16
+ type: BooleanConstructor;
17
+ default: () => boolean;
18
+ };
19
+ templateTitle: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ }>> & {
24
+ onTemplateDown?: ((...args: any[]) => any) | undefined;
25
+ onImportEvents?: ((...args: any[]) => any) | undefined;
26
+ onUploadClosed?: ((...args: any[]) => any) | undefined;
27
+ }, {
28
+ uploadVisible: boolean;
29
+ templateTitle: string;
30
+ }, {}>;
31
+ export default _default;
@@ -0,0 +1,18 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ pictureUrl: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ imageSrc: (...args: any[]) => void;
8
+ }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
9
+ pictureUrl: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ }>> & {
14
+ onImageSrc?: ((...args: any[]) => any) | undefined;
15
+ }, {
16
+ pictureUrl: string;
17
+ }, {}>;
18
+ export default _default;
@@ -28,8 +28,16 @@ export declare class TableHooks {
28
28
  findPage(): boolean;
29
29
  /** 处理查询,如果查询数据中存在当前页数,则重置为第一页. */
30
30
  handleQuery(): void;
31
+ /** 从详情页返回列表页并保留查询条件重新查询 */
32
+ restoreAndQuery(): void;
31
33
  handleSort(prop: string, order: string | null): void;
32
34
  resetQuery(): void;
35
+ /**
36
+ * 用于清除查询条件并重新加载数据与restoreAndQuery()对应
37
+ * 此函数用于重置查询表单,清除查询参数,并触发数据的重新加载
38
+ * @param {Array<string>} key - 需要重置的查询参数键数组
39
+ */
40
+ clearQueryAndReload(key: Array<string>): void;
33
41
  /** 删除记录 */
34
42
  deleteRecord(row: EntityModel): void;
35
43
  /** 删除多项记录 */
@@ -14,7 +14,6 @@ export { netEncrypt } from "./utils/netsecret";
14
14
  export { fileApi } from "./api/file/index";
15
15
  export { routerUtil } from "./utils/route";
16
16
  export { SysApiImpl } from "./api/sys/index";
17
- export { useListData } from "./hooks/useList";
18
17
  export { useTableHooks, TableHooks } from "./hooks/table";
19
18
  export { store } from "./stores";
20
19
  export { useAppStore, useAppStoreHook } from "./stores/modules/app";
@@ -0,0 +1,26 @@
1
+ export declare const useListStore: import("pinia").StoreDefinition<"list", Pick<{
2
+ setQueryParams: (params: Record<string, any>) => void;
3
+ resetQueryParams: (keysToDelete?: string[]) => void;
4
+ queryParams: Record<string, any>;
5
+ }, "queryParams">, Pick<{
6
+ setQueryParams: (params: Record<string, any>) => void;
7
+ resetQueryParams: (keysToDelete?: string[]) => void;
8
+ queryParams: Record<string, any>;
9
+ }, never>, Pick<{
10
+ setQueryParams: (params: Record<string, any>) => void;
11
+ resetQueryParams: (keysToDelete?: string[]) => void;
12
+ queryParams: Record<string, any>;
13
+ }, "setQueryParams" | "resetQueryParams">>;
14
+ export declare function useListStoreHook(): import("pinia").Store<"list", Pick<{
15
+ setQueryParams: (params: Record<string, any>) => void;
16
+ resetQueryParams: (keysToDelete?: string[] | undefined) => void;
17
+ queryParams: Record<string, any>;
18
+ }, "queryParams">, Pick<{
19
+ setQueryParams: (params: Record<string, any>) => void;
20
+ resetQueryParams: (keysToDelete?: string[] | undefined) => void;
21
+ queryParams: Record<string, any>;
22
+ }, never>, Pick<{
23
+ setQueryParams: (params: Record<string, any>) => void;
24
+ resetQueryParams: (keysToDelete?: string[] | undefined) => void;
25
+ queryParams: Record<string, any>;
26
+ }, "setQueryParams" | "resetQueryParams">>;
package/package.json CHANGED
@@ -1,87 +1,87 @@
1
- {
2
- "name": "jmash-core",
3
- "version": "0.0.133",
4
- "private": false,
5
- "module": "dist/index.mjs",
6
- "types": "dts/src/index.d.ts",
7
- "files": [
8
- "dist",
9
- "dts/src"
10
- ],
11
- "scripts": {
12
- "dev": "pnpm build:generate && vite serve --mode development",
13
- "build": "pnpm build:generate && vite build && pnpm build:dts",
14
- "build:generate": "tsx build/generate.ts",
15
- "preview": "vite preview",
16
- "build-only": "vite build",
17
- "build:dts": "vue-tsc --declaration --emitDeclarationOnly",
18
- "type-check": "vue-tsc --build --force",
19
- "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
20
- "format": "prettier --write src/"
21
- },
22
- "devDependencies": {
23
- "@eslint/js": "^9.11.0",
24
- "@iconify-json/ep": "^1.1.15",
25
- "@intlify/core-base": "^9.10.2",
26
- "@rushstack/eslint-patch": "^1.3.3",
27
- "@tsconfig/node20": "^20.1.2",
28
- "@types/node": "^20.11.10",
29
- "@vitejs/plugin-vue": "^5.0.3",
30
- "@vue/tsconfig": "^0.5.1",
31
- "@vueuse/core": "^10.9.0",
32
- "axios": "^1.6.7",
33
- "camelcase": "^8.0.0",
34
- "chalk": "^5.3.0",
35
- "consola": "^3.2.3",
36
- "eslint": "^9.11.0",
37
- "eslint-plugin-vue": "^9.28.0",
38
- "fast-glob": "^3.3.2",
39
- "fs-extra": "^11.2.0",
40
- "globals": "^15.9.0",
41
- "npm-run-all2": "^6.1.1",
42
- "pinia": "^2.1.7",
43
- "prettier": "^3.0.3",
44
- "qs": "^6.12.0",
45
- "sass": "^1.71.1",
46
- "sass-loader": "^14.1.1",
47
- "tsx": "^4.7.1",
48
- "typescript": "~5.3.0",
49
- "typescript-eslint": "^8.6.0",
50
- "unocss": "^0.58.5",
51
- "unplugin-auto-import": "^0.17.5",
52
- "unplugin-element-plus": "^0.8.0",
53
- "unplugin-icons": "^0.18.5",
54
- "unplugin-vue-components": "^0.26.0",
55
- "vite": "^5.0.11",
56
- "vue": "^3.4.21",
57
- "vue-i18n": "^9.10.1",
58
- "vue-router": "^4.3.0",
59
- "vue-tsc": "^1.8.27"
60
- },
61
- "peerDependencies": {
62
- "axios": "^1.7.7",
63
- "element-plus": "^2.8.7",
64
- "pinia": "^2.2.4",
65
- "vue": "^3.5.11",
66
- "vue-i18n": "^9.14.1",
67
- "vue-router": "^4.4.5"
68
- },
69
- "dependencies": {
70
- "@element-plus/icons-vue": "^2.3.1",
71
- "@vueuse/core": "^10.9.0",
72
- "@wangeditor/editor": "^5.1.23",
73
- "@wangeditor/editor-for-vue": "^5.1.12",
74
- "crypto-js": "^4.2.0",
75
- "echarts": "^5.5.0",
76
- "file-saver": "^2.0.5",
77
- "lodash-es": "^4.17.21",
78
- "lrz": "^4.9.41",
79
- "moment": "^2.30.1",
80
- "nprogress": "^0.2.0",
81
- "path-browserify": "^1.0.1",
82
- "path-to-regexp": "^6.2.1",
83
- "qs": "^6.12.0",
84
- "sm-crypto": "^0.3.13",
85
- "sortablejs": "^1.15.2"
86
- }
87
- }
1
+ {
2
+ "name": "jmash-core",
3
+ "version": "0.0.135",
4
+ "private": false,
5
+ "module": "dist/index.mjs",
6
+ "types": "dts/src/index.d.ts",
7
+ "files": [
8
+ "dist",
9
+ "dts/src"
10
+ ],
11
+ "devDependencies": {
12
+ "@eslint/js": "^9.11.0",
13
+ "@iconify-json/ep": "^1.1.15",
14
+ "@intlify/core-base": "^9.10.2",
15
+ "@rushstack/eslint-patch": "^1.3.3",
16
+ "@tsconfig/node20": "^20.1.2",
17
+ "@types/node": "^20.11.10",
18
+ "@vitejs/plugin-vue": "^5.0.3",
19
+ "@vue/tsconfig": "^0.5.1",
20
+ "@vueuse/core": "^10.9.0",
21
+ "axios": "^1.6.7",
22
+ "camelcase": "^8.0.0",
23
+ "chalk": "^5.3.0",
24
+ "consola": "^3.2.3",
25
+ "eslint": "^9.11.0",
26
+ "eslint-plugin-vue": "^9.28.0",
27
+ "fast-glob": "^3.3.2",
28
+ "fs-extra": "^11.2.0",
29
+ "globals": "^15.9.0",
30
+ "npm-run-all2": "^6.1.1",
31
+ "pinia": "^2.1.7",
32
+ "prettier": "^3.0.3",
33
+ "qs": "^6.12.0",
34
+ "sass": "^1.71.1",
35
+ "sass-loader": "^14.1.1",
36
+ "tsx": "^4.7.1",
37
+ "typescript": "~5.3.0",
38
+ "typescript-eslint": "^8.6.0",
39
+ "unocss": "^0.58.5",
40
+ "unplugin-auto-import": "^0.17.5",
41
+ "unplugin-element-plus": "^0.8.0",
42
+ "unplugin-icons": "^0.18.5",
43
+ "unplugin-vue-components": "^0.26.0",
44
+ "vite": "^5.0.11",
45
+ "vue": "^3.4.21",
46
+ "vue-i18n": "^9.10.1",
47
+ "vue-router": "^4.3.0",
48
+ "vue-tsc": "^1.8.27"
49
+ },
50
+ "peerDependencies": {
51
+ "axios": "^1.7.7",
52
+ "element-plus": "^2.8.7",
53
+ "pinia": "^2.2.4",
54
+ "vue": "^3.5.11",
55
+ "vue-i18n": "^9.14.1",
56
+ "vue-router": "^4.4.5"
57
+ },
58
+ "dependencies": {
59
+ "@element-plus/icons-vue": "^2.3.1",
60
+ "@vueuse/core": "^10.9.0",
61
+ "@wangeditor/editor": "^5.1.23",
62
+ "@wangeditor/editor-for-vue": "^5.1.12",
63
+ "crypto-js": "^4.2.0",
64
+ "echarts": "^5.5.0",
65
+ "file-saver": "^2.0.5",
66
+ "lodash-es": "^4.17.21",
67
+ "lrz": "^4.9.41",
68
+ "moment": "^2.30.1",
69
+ "nprogress": "^0.2.0",
70
+ "path-browserify": "^1.0.1",
71
+ "path-to-regexp": "^6.2.1",
72
+ "qs": "^6.12.0",
73
+ "sm-crypto": "^0.3.13",
74
+ "sortablejs": "^1.15.2"
75
+ },
76
+ "scripts": {
77
+ "dev": "pnpm build:generate && vite serve --mode development",
78
+ "build": "pnpm build:generate && vite build && pnpm build:dts",
79
+ "build:generate": "tsx build/generate.ts",
80
+ "preview": "vite preview",
81
+ "build-only": "vite build",
82
+ "build:dts": "vue-tsc --declaration --emitDeclarationOnly",
83
+ "type-check": "vue-tsc --build --force",
84
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
85
+ "format": "prettier --write src/"
86
+ }
87
+ }