xyvcard-itsmsys 0.0.20 → 0.0.21

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.
@@ -1,5 +1,5 @@
1
1
  import type { AxiosPromise } from "axios";
2
- import type { SysOrgApi, SysOrgReq, SysOrgModel, SysOrgPage, SysOrgList, SysOrgKey, SysOrgCreateReq, SysOrgUpdateReq } from "./types";
2
+ import type { SysOrgApi, SysOrgReq, SysOrgModel, SysOrgPage, SysOrgList, SysOrgKey, SysOrgCreateReq, SysOrgUpdateReq, SysOrgCountReq } from "./types";
3
3
  declare class SysOrgApiImpl implements SysOrgApi {
4
4
  getKey(model: SysOrgModel): SysOrgKey;
5
5
  findPage(query?: SysOrgReq): AxiosPromise<SysOrgPage>;
@@ -17,6 +17,7 @@ declare class SysOrgApiImpl implements SysOrgApi {
17
17
  delete(query: SysOrgKey): AxiosPromise<SysOrgModel>;
18
18
  batchDelete(keys: SysOrgKey[]): AxiosPromise<number>;
19
19
  move(key: SysOrgKey, up: boolean): AxiosPromise<boolean>;
20
+ getUnitData(query?: SysOrgCountReq): AxiosPromise<number>;
20
21
  }
21
22
  declare const sysOrgApi: SysOrgApiImpl;
22
23
  export { sysOrgApi };
@@ -82,3 +82,7 @@ export interface SysOrgMoveKey {
82
82
  orgId?: string;
83
83
  up?: boolean;
84
84
  }
85
+ export interface SysOrgCountReq {
86
+ tenant?: string;
87
+ orgType?: string;
88
+ }
package/package.json CHANGED
@@ -1,59 +1,59 @@
1
- {
2
- "name": "xyvcard-itsmsys",
3
- "version": "0.0.20",
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.9.0",
23
- "element-plus": "^2.9.10",
24
- "pinia": "^2.3.1",
25
- "vue": "^3.5.13",
26
- "vue-i18n": "^9.14.4",
27
- "vue-router": "^4.5.1",
28
- "jmash-core": "^0.1.4",
29
- "jmash-dict": "^0.1.1",
30
- "jmash-rbac": "^0.1.11"
31
- },
32
- "devDependencies": {
33
- "@eslint/js": "^9.14.0",
34
- "@tsconfig/node20": "^20.1.2",
35
- "@types/node": "^20.11.10",
36
- "@vitejs/plugin-vue": "^5.0.3",
37
- "@vue/tsconfig": "^0.5.1",
38
- "eslint": "^9.14.0",
39
- "eslint-plugin-vue": "^9.30.0",
40
- "globals": "^15.12.0",
41
- "npm-run-all2": "^6.1.1",
42
- "prettier": "^3.0.3",
43
- "sass": "^1.72.0",
44
- "typescript": "~5.3.0",
45
- "typescript-eslint": "^8.13.0",
46
- "unplugin-auto-import": "^0.17.5",
47
- "unplugin-vue-components": "^0.26.0",
48
- "vite": "^5.0.11",
49
- "vue-tsc": "^2.1.10"
50
- },
51
- "dependencies": {
52
- "@element-plus/icons-vue": "^2.3.1",
53
- "@vueuse/core": "^10.9.0",
54
- "file-saver": "^2.0.5",
55
- "nprogress": "^0.2.0",
56
- "qs": "^6.14.0",
57
- "moment": "^2.30.1"
58
- }
1
+ {
2
+ "name": "xyvcard-itsmsys",
3
+ "version": "0.0.21",
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.7",
19
+ "jmash-dict": "^0.1.1",
20
+ "jmash-rbac": "^0.1.16"
21
+ },
22
+ "devDependencies": {
23
+ "@eslint/js": "^9.14.0",
24
+ "@tsconfig/node20": "^20.1.2",
25
+ "@types/node": "^20.11.10",
26
+ "@vitejs/plugin-vue": "^5.0.3",
27
+ "@vue/tsconfig": "^0.5.1",
28
+ "eslint": "^9.14.0",
29
+ "eslint-plugin-vue": "^9.30.0",
30
+ "globals": "^15.12.0",
31
+ "npm-run-all2": "^6.1.1",
32
+ "prettier": "^3.0.3",
33
+ "sass": "^1.72.0",
34
+ "typescript": "~5.3.0",
35
+ "typescript-eslint": "^8.13.0",
36
+ "unplugin-auto-import": "^0.17.5",
37
+ "unplugin-vue-components": "^0.26.0",
38
+ "vite": "^5.0.11",
39
+ "vue-tsc": "^2.1.10"
40
+ },
41
+ "dependencies": {
42
+ "@element-plus/icons-vue": "^2.3.1",
43
+ "@vueuse/core": "^10.9.0",
44
+ "file-saver": "^2.0.5",
45
+ "nprogress": "^0.2.0",
46
+ "qs": "^6.14.0",
47
+ "moment": "^2.30.1"
48
+ },
49
+ "scripts": {
50
+ "dev": "vite --host",
51
+ "build": "vite build && pnpm build:dts",
52
+ "build:dts": "vue-tsc --declaration --emitDeclarationOnly",
53
+ "preview": "vite preview",
54
+ "build-only": "vite build",
55
+ "type-check": "vue-tsc --build --force",
56
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
57
+ "format": "prettier --write src/"
58
+ }
59
59
  }
@@ -1,20 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
- address: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- getAddress: (...args: any[]) => void;
8
- getLatLng: (...args: any[]) => void;
9
- }, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
10
- address: {
11
- type: StringConstructor;
12
- default: string;
13
- };
14
- }>> & Readonly<{
15
- onGetAddress?: ((...args: any[]) => any) | undefined;
16
- onGetLatLng?: ((...args: any[]) => any) | undefined;
17
- }>, {
18
- address: string;
19
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
- export default _default;
@@ -1 +0,0 @@
1
- export default function loadScript(): Promise<unknown>;
@@ -1 +0,0 @@
1
- export declare function generateRandomKey(): string;
@@ -1,31 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
2
- uploadVisible: {
3
- type: BooleanConstructor;
4
- default: () => boolean;
5
- };
6
- templateTitle: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- }>, {}, {}, {}, {}, 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
- }>> & Readonly<{
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
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
31
- export default _default;