xyvcard-asset 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +52 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/common-kbgEWG-E.mjs +24 -0
- package/dist/edit-Bo9bnbUP.mjs +492 -0
- package/dist/edit-CE3u81Q0.mjs +4 -0
- package/dist/edit-DJFxVmvv.mjs +624 -0
- package/dist/edit-qp_2xtTZ.mjs +242 -0
- package/dist/edit-zFZfd8e1.mjs +4 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-BdkCgqqE.mjs +401 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-CekLyjO-.mjs +322 -0
- package/dist/edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/index-Bf5U4Ucl.mjs +369 -0
- package/dist/index-Bh2imlN_.mjs +149 -0
- package/dist/index-CHNiaFZk.mjs +291 -0
- package/dist/index-CmlP_Rro.mjs +332 -0
- package/dist/index-Cqw_E8lr.mjs +1269 -0
- package/dist/index-DA_FS24d.mjs +146 -0
- package/dist/index-DKmGNvQl.mjs +370 -0
- package/dist/index-DLxpE9s5.mjs +305 -0
- package/dist/index-DWaL87j5.mjs +89 -0
- package/dist/index-jOnQLJaB.mjs +416 -0
- package/dist/index-pyyjj1xa.mjs +187 -0
- package/dist/index.mjs +144 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs +37 -0
- package/dist/style.css +1 -0
- package/dts/App.vue.d.ts +2 -0
- package/dts/api/asset/asset-asset/index.d.ts +20 -0
- package/dts/api/asset/asset-asset/types.d.ts +93 -0
- package/dts/api/asset/asset-service-appt-member/index.d.ts +20 -0
- package/dts/api/asset/asset-service-appt-member/types.d.ts +71 -0
- package/dts/api/asset/asset-service-appt-record/index.d.ts +20 -0
- package/dts/api/asset/asset-service-appt-record/types.d.ts +98 -0
- package/dts/api/asset/asset-site/index.d.ts +15 -0
- package/dts/api/asset/asset-site/types.d.ts +81 -0
- package/dts/api/asset/asset-site-service/index.d.ts +14 -0
- package/dts/api/asset/asset-site-service/types.d.ts +80 -0
- package/dts/api/dict.d.ts +22 -0
- package/dts/api/index.d.ts +14 -0
- package/dts/api/org/union-org/index.d.ts +14 -0
- package/dts/api/org/union-org/types.d.ts +49 -0
- package/dts/components/EnumRadio/index.vue.d.ts +18 -0
- package/dts/components/EnumSelect/index.vue.d.ts +18 -0
- package/dts/components/TMaps/index.vue.d.ts +20 -0
- package/dts/components/Upload/ImageUpload.vue.d.ts +38 -0
- package/dts/components/Upload/MultiUpload.vue.d.ts +24 -0
- package/dts/constant.d.ts +16 -0
- package/dts/index.d.ts +4 -0
- package/dts/lang/asset/en.d.ts +2 -0
- package/dts/lang/asset/zh-cn.d.ts +91 -0
- package/dts/lang/index.d.ts +1 -0
- package/dts/main.d.ts +4 -0
- package/dts/permission.d.ts +1 -0
- package/dts/router/page.d.ts +2 -0
- package/dts/src/App.vue.d.ts +2 -0
- package/dts/src/api/asset/asset-asset/index.d.ts +20 -0
- package/dts/src/api/asset/asset-asset/types.d.ts +93 -0
- package/dts/src/api/asset/asset-service-appt-member/index.d.ts +20 -0
- package/dts/src/api/asset/asset-service-appt-member/types.d.ts +71 -0
- package/dts/src/api/asset/asset-service-appt-record/index.d.ts +20 -0
- package/dts/src/api/asset/asset-service-appt-record/types.d.ts +98 -0
- package/dts/src/api/asset/asset-site/index.d.ts +15 -0
- package/dts/src/api/asset/asset-site/types.d.ts +81 -0
- package/dts/src/api/asset/asset-site-service/index.d.ts +14 -0
- package/dts/src/api/asset/asset-site-service/types.d.ts +80 -0
- package/dts/src/api/dict.d.ts +22 -0
- package/dts/src/api/index.d.ts +14 -0
- package/dts/src/api/org/union-org/index.d.ts +14 -0
- package/dts/src/api/org/union-org/types.d.ts +49 -0
- package/dts/src/components/EnumRadio/index.vue.d.ts +18 -0
- package/dts/src/components/EnumSelect/index.vue.d.ts +18 -0
- package/dts/src/components/Upload/ImageUpload.vue.d.ts +38 -0
- package/dts/src/components/Upload/MultiUpload.vue.d.ts +24 -0
- package/dts/src/constant.d.ts +16 -0
- package/dts/src/index.d.ts +4 -0
- package/dts/src/lang/asset/en.d.ts +2 -0
- package/dts/src/lang/asset/zh-cn.d.ts +91 -0
- package/dts/src/lang/index.d.ts +1 -0
- package/dts/src/main.d.ts +4 -0
- package/dts/src/permission.d.ts +1 -0
- package/dts/src/router/page.d.ts +4 -0
- package/dts/src/utils/common.d.ts +51 -0
- package/dts/src/utils/index.d.ts +24 -0
- package/dts/src/views/asset/asset-asset/edit.vue.d.ts +22 -0
- package/dts/src/views/asset/asset-asset/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +22 -0
- package/dts/src/views/asset/asset-service-appt-member/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-service-appt-record/edit.vue.d.ts +22 -0
- package/dts/src/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-site/edit.vue.d.ts +22 -0
- package/dts/src/views/asset/asset-site/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-site/info/index.vue.d.ts +2 -0
- package/dts/src/views/asset/asset-site-service/edit.vue.d.ts +22 -0
- package/dts/src/views/asset/asset-site-service/index.vue.d.ts +2 -0
- package/dts/tsconfig.tsbuildinfo +1 -0
- package/dts/utils/common.d.ts +51 -0
- package/dts/utils/index.d.ts +24 -0
- package/dts/views/asset/asset-asset/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-asset/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-service-appt-member/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-service-appt-member/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-service-appt-record/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-site/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site/info/index.vue.d.ts +2 -0
- package/dts/views/asset/asset-site-service/edit.vue.d.ts +22 -0
- package/dts/views/asset/asset-site-service/index.vue.d.ts +2 -0
- package/package.json +60 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
/**
|
2
|
+
* Check if an element has a class
|
3
|
+
* @param {HTMLElement} ele
|
4
|
+
* @param {string} cls
|
5
|
+
* @returns {boolean}
|
6
|
+
*/
|
7
|
+
export declare function hasClass(ele: HTMLElement, cls: string): boolean;
|
8
|
+
/**
|
9
|
+
* Add class to element
|
10
|
+
* @param {HTMLElement} ele
|
11
|
+
* @param {string} cls
|
12
|
+
*/
|
13
|
+
export declare function addClass(ele: HTMLElement, cls: string): void;
|
14
|
+
/**
|
15
|
+
* Remove class from element
|
16
|
+
* @param {HTMLElement} ele
|
17
|
+
* @param {string} cls
|
18
|
+
*/
|
19
|
+
export declare function removeClass(ele: HTMLElement, cls: string): void;
|
20
|
+
/**
|
21
|
+
* @param {string} path
|
22
|
+
* @returns {Boolean}
|
23
|
+
*/
|
24
|
+
export declare function isExternal(path: string): boolean;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { PropType } from "vue";
|
2
|
+
import type { AssetKey } from "@/api/asset/asset-asset/types";
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
modelValue: PropType<boolean>;
|
5
|
+
entityKey: {
|
6
|
+
type: PropType<AssetKey>;
|
7
|
+
default: () => void;
|
8
|
+
};
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
10
|
+
refresh: (...args: any[]) => void;
|
11
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
12
|
+
modelValue: PropType<boolean>;
|
13
|
+
entityKey: {
|
14
|
+
type: PropType<AssetKey>;
|
15
|
+
default: () => void;
|
16
|
+
};
|
17
|
+
}>> & {
|
18
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
19
|
+
}, {
|
20
|
+
entityKey: AssetKey;
|
21
|
+
}, {}>;
|
22
|
+
export default _default;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { PropType } from "vue";
|
2
|
+
import type { ServiceApptMemberKey } from "@/api/asset/asset-service-appt-member/types";
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
modelValue: PropType<boolean>;
|
5
|
+
entityKey: {
|
6
|
+
type: PropType<ServiceApptMemberKey>;
|
7
|
+
default: () => void;
|
8
|
+
};
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
10
|
+
refresh: (...args: any[]) => void;
|
11
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
12
|
+
modelValue: PropType<boolean>;
|
13
|
+
entityKey: {
|
14
|
+
type: PropType<ServiceApptMemberKey>;
|
15
|
+
default: () => void;
|
16
|
+
};
|
17
|
+
}>> & {
|
18
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
19
|
+
}, {
|
20
|
+
entityKey: ServiceApptMemberKey;
|
21
|
+
}, {}>;
|
22
|
+
export default _default;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { PropType } from "vue";
|
2
|
+
import type { ServiceApptRecordKey } from "@/api/asset/asset-service-appt-record/types";
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
modelValue: PropType<boolean>;
|
5
|
+
entityKey: {
|
6
|
+
type: PropType<ServiceApptRecordKey>;
|
7
|
+
default: () => void;
|
8
|
+
};
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
10
|
+
refresh: (...args: any[]) => void;
|
11
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
12
|
+
modelValue: PropType<boolean>;
|
13
|
+
entityKey: {
|
14
|
+
type: PropType<ServiceApptRecordKey>;
|
15
|
+
default: () => void;
|
16
|
+
};
|
17
|
+
}>> & {
|
18
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
19
|
+
}, {
|
20
|
+
entityKey: ServiceApptRecordKey;
|
21
|
+
}, {}>;
|
22
|
+
export default _default;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { PropType } from "vue";
|
2
|
+
import type { SiteKey } from "@/api/asset/asset-site/types";
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
modelValue: PropType<boolean>;
|
5
|
+
entityKey: {
|
6
|
+
type: PropType<SiteKey>;
|
7
|
+
default: () => void;
|
8
|
+
};
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
10
|
+
refresh: (...args: any[]) => void;
|
11
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
12
|
+
modelValue: PropType<boolean>;
|
13
|
+
entityKey: {
|
14
|
+
type: PropType<SiteKey>;
|
15
|
+
default: () => void;
|
16
|
+
};
|
17
|
+
}>> & {
|
18
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
19
|
+
}, {
|
20
|
+
entityKey: SiteKey;
|
21
|
+
}, {}>;
|
22
|
+
export default _default;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import type { PropType } from "vue";
|
2
|
+
import type { SiteServiceKey } from "@/api/asset/asset-site-service/types";
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
4
|
+
modelValue: PropType<boolean>;
|
5
|
+
entityKey: {
|
6
|
+
type: PropType<SiteServiceKey>;
|
7
|
+
default: () => void;
|
8
|
+
};
|
9
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
10
|
+
refresh: (...args: any[]) => void;
|
11
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
12
|
+
modelValue: PropType<boolean>;
|
13
|
+
entityKey: {
|
14
|
+
type: PropType<SiteServiceKey>;
|
15
|
+
default: () => void;
|
16
|
+
};
|
17
|
+
}>> & {
|
18
|
+
onRefresh?: ((...args: any[]) => any) | undefined;
|
19
|
+
}, {
|
20
|
+
entityKey: SiteServiceKey;
|
21
|
+
}, {}>;
|
22
|
+
export default _default;
|
package/package.json
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
{
|
2
|
+
"name": "xyvcard-asset",
|
3
|
+
"version": "0.0.8",
|
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.6.7",
|
13
|
+
"element-plus": "^2.7.5",
|
14
|
+
"pinia": "^2.1.7",
|
15
|
+
"vue": "^3.4.21",
|
16
|
+
"vue-i18n": "^9.10.1",
|
17
|
+
"vue-router": "^4.3.0",
|
18
|
+
"jmash-core": "^0.0.87",
|
19
|
+
"jmash-rbac": "^0.0.18",
|
20
|
+
"jmash-dict": "^0.0.38"
|
21
|
+
},
|
22
|
+
"devDependencies": {
|
23
|
+
"@rushstack/eslint-patch": "^1.3.3",
|
24
|
+
"@tsconfig/node20": "^20.1.2",
|
25
|
+
"@types/node": "^20.11.10",
|
26
|
+
"@vitejs/plugin-vue": "^5.0.3",
|
27
|
+
"@vue/eslint-config-prettier": "^8.0.0",
|
28
|
+
"@vue/eslint-config-typescript": "^12.0.0",
|
29
|
+
"@vue/tsconfig": "^0.5.1",
|
30
|
+
"eslint": "^8.49.0",
|
31
|
+
"eslint-plugin-vue": "^9.17.0",
|
32
|
+
"npm-run-all2": "^6.1.1",
|
33
|
+
"prettier": "^3.0.3",
|
34
|
+
"sass": "^1.72.0",
|
35
|
+
"typescript": "~5.3.0",
|
36
|
+
"unplugin-auto-import": "^0.17.5",
|
37
|
+
"unplugin-vue-components": "^0.26.0",
|
38
|
+
"vite": "^5.0.11",
|
39
|
+
"vue-tsc": "^1.8.27"
|
40
|
+
},
|
41
|
+
"dependencies": {
|
42
|
+
"@element-plus/icons-vue": "^2.3.1",
|
43
|
+
"@vueuse/core": "^10.9.0",
|
44
|
+
"file-saver": "^2.0.5",
|
45
|
+
"image-conversion": "^2.1.1",
|
46
|
+
"nprogress": "^0.2.0",
|
47
|
+
"qs": "^6.12.0",
|
48
|
+
"viewerjs": "^1.11.6"
|
49
|
+
},
|
50
|
+
"scripts": {
|
51
|
+
"dev": "vite",
|
52
|
+
"build": "vite build && pnpm build:dts",
|
53
|
+
"build:dts": "vue-tsc --declaration --emitDeclarationOnly",
|
54
|
+
"preview": "vite preview",
|
55
|
+
"build-only": "vite build",
|
56
|
+
"type-check": "vue-tsc --build --force",
|
57
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
58
|
+
"format": "prettier --write src/"
|
59
|
+
}
|
60
|
+
}
|