xyvcard-itsm-flow 0.0.1 → 0.0.2

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.mjs CHANGED
@@ -2676,7 +2676,7 @@ const xi = {
2676
2676
  }
2677
2677
  };
2678
2678
  }
2679
- }, Ri = /* @__PURE__ */ Object.assign({ "./views/itsm-flow-entrust/edit.vue": () => import("./edit-CWxy8_xc.mjs"), "./views/itsm-flow-entrust/index.vue": () => import("./index-C_jhIPZS.mjs") }), Ni = () => import("./index-BSCtYzv-.mjs"), Fi = {
2679
+ }, Ri = /* @__PURE__ */ Object.assign({ "./views/itsm-flow-entrust/edit.vue": () => import("./edit-DyWBWyHi.mjs"), "./views/itsm-flow-entrust/index.vue": () => import("./index-DOllcHrQ.mjs") }), Ni = () => import("./index-Cw4OSiko.mjs"), Fi = {
2680
2680
  install(e) {
2681
2681
  Ds(Ri, 7), Ts(vs), ps("TaskItsmFlowEntrust", Ni), e.use(xi);
2682
2682
  }
@@ -0,0 +1,11 @@
1
+ import type { EntityCreateReq, FilesReq } from "jmash-core";
2
+ export interface ServiceOrderFormReq extends EntityCreateReq {
3
+ contractId?: string;
4
+ workContent?: string;
5
+ }
6
+ export interface projectAcceptanceFormReq extends EntityCreateReq {
7
+ orderId?: string;
8
+ acceptancePhase?: string;
9
+ files?: Array<FilesReq>;
10
+ groupMember?: string;
11
+ }
@@ -0,0 +1,20 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { ItsmFlowAcceptanceApi, ItsmFlowAcceptanceReq, ItsmFlowAcceptanceModel, ItsmFlowAcceptancePage, ItsmFlowAcceptanceList, ItsmFlowAcceptanceKey, ItsmFlowAcceptanceCreateReq, ItsmFlowAcceptanceUpdateReq, ItsmFlowAcceptanceExportReq, ItsmFlowAcceptanceImportReq } from "./types";
3
+ declare class ItsmFlowAcceptanceApiImpl implements ItsmFlowAcceptanceApi {
4
+ getKey(model: ItsmFlowAcceptanceModel): ItsmFlowAcceptanceKey;
5
+ findPage(query?: ItsmFlowAcceptanceReq): AxiosPromise<ItsmFlowAcceptancePage>;
6
+ findList(query?: ItsmFlowAcceptanceReq): AxiosPromise<ItsmFlowAcceptanceList>;
7
+ findById(query: ItsmFlowAcceptanceKey): AxiosPromise<ItsmFlowAcceptanceModel>;
8
+ create(data: ItsmFlowAcceptanceCreateReq): AxiosPromise<ItsmFlowAcceptanceModel>;
9
+ update(data: ItsmFlowAcceptanceUpdateReq): AxiosPromise<ItsmFlowAcceptanceModel>;
10
+ move(key: ItsmFlowAcceptanceKey, up: boolean): AxiosPromise<boolean>;
11
+ enable(key: ItsmFlowAcceptanceKey, enable: boolean): AxiosPromise<boolean>;
12
+ delete(query: ItsmFlowAcceptanceKey): AxiosPromise<ItsmFlowAcceptanceModel>;
13
+ batchDelete(keys: ItsmFlowAcceptanceKey[]): AxiosPromise<number>;
14
+ downloadTemplate(): AxiosPromise;
15
+ importExcel(data: ItsmFlowAcceptanceImportReq): AxiosPromise<string>;
16
+ exportExcel(queryParams: ItsmFlowAcceptanceExportReq): AxiosPromise;
17
+ exportPdf(queryParams: ItsmFlowAcceptanceExportReq): AxiosPromise;
18
+ }
19
+ declare const itsmFlowAcceptanceApi: ItsmFlowAcceptanceApiImpl;
20
+ export { itsmFlowAcceptanceApi };
@@ -0,0 +1,20 @@
1
+ import type { AxiosPromise } from "axios";
2
+ import type { ItsmFlowReckoningApi, ItsmFlowReckoningReq, ItsmFlowReckoningModel, ItsmFlowReckoningPage, ItsmFlowReckoningList, ItsmFlowReckoningKey, ItsmFlowReckoningCreateReq, ItsmFlowReckoningUpdateReq, ItsmFlowReckoningExportReq, ItsmFlowReckoningImportReq } from "./types";
3
+ declare class ItsmFlowReckoningApiImpl implements ItsmFlowReckoningApi {
4
+ getKey(model: ItsmFlowReckoningModel): ItsmFlowReckoningKey;
5
+ findPage(query?: ItsmFlowReckoningReq): AxiosPromise<ItsmFlowReckoningPage>;
6
+ findList(query?: ItsmFlowReckoningReq): AxiosPromise<ItsmFlowReckoningList>;
7
+ findById(query: ItsmFlowReckoningKey): AxiosPromise<ItsmFlowReckoningModel>;
8
+ create(data: ItsmFlowReckoningCreateReq): AxiosPromise<ItsmFlowReckoningModel>;
9
+ update(data: ItsmFlowReckoningUpdateReq): AxiosPromise<ItsmFlowReckoningModel>;
10
+ move(key: ItsmFlowReckoningKey, up: boolean): AxiosPromise<boolean>;
11
+ enable(key: ItsmFlowReckoningKey, enable: boolean): AxiosPromise<boolean>;
12
+ delete(query: ItsmFlowReckoningKey): AxiosPromise<ItsmFlowReckoningModel>;
13
+ batchDelete(keys: ItsmFlowReckoningKey[]): AxiosPromise<number>;
14
+ downloadTemplate(): AxiosPromise;
15
+ importExcel(data: ItsmFlowReckoningImportReq): AxiosPromise<string>;
16
+ exportExcel(queryParams: ItsmFlowReckoningExportReq): AxiosPromise;
17
+ exportPdf(queryParams: ItsmFlowReckoningExportReq): AxiosPromise;
18
+ }
19
+ declare const itsmFlowReckoningApi: ItsmFlowReckoningApiImpl;
20
+ export { itsmFlowReckoningApi };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,28 @@
1
+ import { type PropType } from "vue";
2
+ import type { ItsmFlowAcceptanceKey } from "@/api/itsm-flow-acceptance/types";
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ entityKey: {
5
+ type: PropType<ItsmFlowAcceptanceKey>;
6
+ default: () => void;
7
+ };
8
+ modelValue: {
9
+ type: PropType<boolean>;
10
+ };
11
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ refresh: (...args: any[]) => void;
13
+ "update:modelValue": (value: boolean) => void;
14
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ entityKey: {
16
+ type: PropType<ItsmFlowAcceptanceKey>;
17
+ default: () => void;
18
+ };
19
+ modelValue: {
20
+ type: PropType<boolean>;
21
+ };
22
+ }>> & Readonly<{
23
+ onRefresh?: ((...args: any[]) => any) | undefined;
24
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
25
+ }>, {
26
+ entityKey: ItsmFlowAcceptanceKey;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
28
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -0,0 +1,28 @@
1
+ import { type PropType } from "vue";
2
+ import type { ItsmFlowReckoningKey } from "@/api/itsm-flow-reckoning/types";
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ entityKey: {
5
+ type: PropType<ItsmFlowReckoningKey>;
6
+ default: () => void;
7
+ };
8
+ modelValue: {
9
+ type: PropType<boolean>;
10
+ };
11
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ refresh: (...args: any[]) => void;
13
+ "update:modelValue": (value: boolean) => void;
14
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ entityKey: {
16
+ type: PropType<ItsmFlowReckoningKey>;
17
+ default: () => void;
18
+ };
19
+ modelValue: {
20
+ type: PropType<boolean>;
21
+ };
22
+ }>> & Readonly<{
23
+ onRefresh?: ((...args: any[]) => any) | undefined;
24
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
25
+ }>, {
26
+ entityKey: ItsmFlowReckoningKey;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
28
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
package/package.json CHANGED
@@ -1,64 +1,64 @@
1
- {
2
- "name": "xyvcard-itsm-flow",
3
- "version": "0.0.1",
4
- "private": false,
5
- "module": "dist/index.mjs",
6
- "types": "dts/index.d.ts",
7
- "files": [
8
- "dist",
9
- "dts"
10
- ],
11
- "scripts": {
12
- "dev": "vite --host",
13
- "build": "vite build && pnpm build:dts",
14
- "build:dts": "vue-tsc --declaration --emitDeclarationOnly",
15
- "preview": "vite preview",
16
- "build-only": "vite build",
17
- "type-check": "vue-tsc --build --force",
18
- "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
19
- "format": "prettier --write src/"
20
- },
21
- "peerDependencies": {
22
- "axios": "^1.7.7",
23
- "element-plus": "^2.9.3",
24
- "jmash-core": "^0.0.139",
25
- "jmash-dict": "^0.0.52",
26
- "jmash-flow": "^0.0.8",
27
- "jmash-rbac": "^0.0.61",
28
- "xyvcard-workflow": "^0.0.27",
29
- "pinia": "^2.2.4",
30
- "vue": "^3.5.11",
31
- "vue-i18n": "^9.14.1",
32
- "vue-router": "^4.4.5",
33
- "xyvcard-itsmsys": "^0.0.18",
34
- "xyvcard-itsm": "^0.0.25"
35
- },
36
- "devDependencies": {
37
- "@eslint/js": "^9.14.0",
38
- "@tsconfig/node20": "^20.1.2",
39
- "@types/node": "^20.11.10",
40
- "@vitejs/plugin-vue": "^5.0.3",
41
- "@vue/tsconfig": "^0.5.1",
42
- "eslint": "^9.14.0",
43
- "eslint-plugin-vue": "^9.30.0",
44
- "globals": "^15.12.0",
45
- "npm-run-all2": "^6.1.1",
46
- "prettier": "^3.0.3",
47
- "sass": "^1.72.0",
48
- "typescript": "~5.3.0",
49
- "typescript-eslint": "^8.13.0",
50
- "unplugin-auto-import": "^0.17.5",
51
- "unplugin-vue-components": "^0.26.0",
52
- "vite": "^5.0.11",
53
- "vue-tsc": "^2.1.10"
54
- },
55
- "dependencies": {
56
- "@element-plus/icons-vue": "^2.3.1",
57
- "@vueuse/core": "^10.9.0",
58
- "file-saver": "^2.0.5",
59
- "fs": "0.0.1-security",
60
- "moment": "^2.30.1",
61
- "nprogress": "^0.2.0",
62
- "qs": "^6.12.0"
63
- }
64
- }
1
+ {
2
+ "name": "xyvcard-itsm-flow",
3
+ "version": "0.0.2",
4
+ "private": false,
5
+ "module": "dist/index.mjs",
6
+ "types": "dts/index.d.ts",
7
+ "files": [
8
+ "dist",
9
+ "dts"
10
+ ],
11
+ "peerDependencies": {
12
+ "axios": "^1.9.0",
13
+ "element-plus": "^2.9.10",
14
+ "pinia": "^2.3.1",
15
+ "vue": "^3.5.13",
16
+ "vue-i18n": "^9.14.4",
17
+ "vue-router": "^4.5.1",
18
+ "jmash-core": "^0.1.0",
19
+ "jmash-dict": "^0.1.0",
20
+ "jmash-rbac": "^0.1.1",
21
+ "jmash-flow": "^0.0.8",
22
+ "xyvcard-workflow": "^0.0.27",
23
+ "xyvcard-itsmsys": "^0.0.18",
24
+ "xyvcard-itsm": "^0.0.25"
25
+ },
26
+ "devDependencies": {
27
+ "@eslint/js": "^9.14.0",
28
+ "@tsconfig/node20": "^20.1.2",
29
+ "@types/node": "^20.11.10",
30
+ "@vitejs/plugin-vue": "^5.0.3",
31
+ "@vue/tsconfig": "^0.5.1",
32
+ "eslint": "^9.14.0",
33
+ "eslint-plugin-vue": "^9.30.0",
34
+ "globals": "^15.12.0",
35
+ "npm-run-all2": "^6.1.1",
36
+ "prettier": "^3.0.3",
37
+ "sass": "^1.72.0",
38
+ "typescript": "~5.3.0",
39
+ "typescript-eslint": "^8.13.0",
40
+ "unplugin-auto-import": "^0.17.5",
41
+ "unplugin-vue-components": "^0.26.0",
42
+ "vite": "^5.0.11",
43
+ "vue-tsc": "^2.1.10"
44
+ },
45
+ "dependencies": {
46
+ "@element-plus/icons-vue": "^2.3.1",
47
+ "@vueuse/core": "^10.9.0",
48
+ "file-saver": "^2.0.5",
49
+ "fs": "0.0.1-security",
50
+ "moment": "^2.30.1",
51
+ "nprogress": "^0.2.0",
52
+ "qs": "^6.14.0"
53
+ },
54
+ "scripts": {
55
+ "dev": "vite --host",
56
+ "build": "vite build && pnpm build:dts",
57
+ "build:dts": "vue-tsc --declaration --emitDeclarationOnly",
58
+ "preview": "vite preview",
59
+ "build-only": "vite build",
60
+ "type-check": "vue-tsc --build --force",
61
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
62
+ "format": "prettier --write src/"
63
+ }
64
+ }