xyvcard-asset 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. package/README.md +52 -0
  2. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  3. package/dist/common-kbgEWG-E.mjs +24 -0
  4. package/dist/edit-Bo9bnbUP.mjs +492 -0
  5. package/dist/edit-CE3u81Q0.mjs +4 -0
  6. package/dist/edit-DJFxVmvv.mjs +624 -0
  7. package/dist/edit-qp_2xtTZ.mjs +242 -0
  8. package/dist/edit-zFZfd8e1.mjs +4 -0
  9. package/dist/edit.vue_vue_type_script_setup_true_lang-BdkCgqqE.mjs +401 -0
  10. package/dist/edit.vue_vue_type_script_setup_true_lang-CekLyjO-.mjs +322 -0
  11. package/dist/edit.vue_vue_type_style_index_0_scoped_198fdb2f_lang-l0sNRNKZ.mjs +1 -0
  12. package/dist/favicon.ico +0 -0
  13. package/dist/index-Bf5U4Ucl.mjs +369 -0
  14. package/dist/index-Bh2imlN_.mjs +149 -0
  15. package/dist/index-CHNiaFZk.mjs +291 -0
  16. package/dist/index-CmlP_Rro.mjs +332 -0
  17. package/dist/index-Cqw_E8lr.mjs +1269 -0
  18. package/dist/index-DA_FS24d.mjs +146 -0
  19. package/dist/index-DKmGNvQl.mjs +370 -0
  20. package/dist/index-DLxpE9s5.mjs +305 -0
  21. package/dist/index-DWaL87j5.mjs +89 -0
  22. package/dist/index-jOnQLJaB.mjs +416 -0
  23. package/dist/index-pyyjj1xa.mjs +187 -0
  24. package/dist/index.mjs +144 -0
  25. package/dist/index.vue_vue_type_script_setup_true_lang-C_itMCoU.mjs +37 -0
  26. package/dist/style.css +1 -0
  27. package/dts/App.vue.d.ts +2 -0
  28. package/dts/api/asset/asset-asset/index.d.ts +20 -0
  29. package/dts/api/asset/asset-asset/types.d.ts +93 -0
  30. package/dts/api/asset/asset-service-appt-member/index.d.ts +20 -0
  31. package/dts/api/asset/asset-service-appt-member/types.d.ts +71 -0
  32. package/dts/api/asset/asset-service-appt-record/index.d.ts +20 -0
  33. package/dts/api/asset/asset-service-appt-record/types.d.ts +98 -0
  34. package/dts/api/asset/asset-site/index.d.ts +15 -0
  35. package/dts/api/asset/asset-site/types.d.ts +81 -0
  36. package/dts/api/asset/asset-site-service/index.d.ts +14 -0
  37. package/dts/api/asset/asset-site-service/types.d.ts +80 -0
  38. package/dts/api/dict.d.ts +22 -0
  39. package/dts/api/index.d.ts +14 -0
  40. package/dts/api/org/union-org/index.d.ts +14 -0
  41. package/dts/api/org/union-org/types.d.ts +49 -0
  42. package/dts/components/EnumRadio/index.vue.d.ts +18 -0
  43. package/dts/components/EnumSelect/index.vue.d.ts +18 -0
  44. package/dts/components/TMaps/index.vue.d.ts +20 -0
  45. package/dts/components/Upload/ImageUpload.vue.d.ts +38 -0
  46. package/dts/components/Upload/MultiUpload.vue.d.ts +24 -0
  47. package/dts/constant.d.ts +16 -0
  48. package/dts/index.d.ts +4 -0
  49. package/dts/lang/asset/en.d.ts +2 -0
  50. package/dts/lang/asset/zh-cn.d.ts +91 -0
  51. package/dts/lang/index.d.ts +1 -0
  52. package/dts/main.d.ts +4 -0
  53. package/dts/permission.d.ts +1 -0
  54. package/dts/router/page.d.ts +2 -0
  55. package/dts/src/App.vue.d.ts +2 -0
  56. package/dts/src/api/asset/asset-asset/index.d.ts +20 -0
  57. package/dts/src/api/asset/asset-asset/types.d.ts +93 -0
  58. package/dts/src/api/asset/asset-service-appt-member/index.d.ts +20 -0
  59. package/dts/src/api/asset/asset-service-appt-member/types.d.ts +71 -0
  60. package/dts/src/api/asset/asset-service-appt-record/index.d.ts +20 -0
  61. package/dts/src/api/asset/asset-service-appt-record/types.d.ts +98 -0
  62. package/dts/src/api/asset/asset-site/index.d.ts +15 -0
  63. package/dts/src/api/asset/asset-site/types.d.ts +81 -0
  64. package/dts/src/api/asset/asset-site-service/index.d.ts +14 -0
  65. package/dts/src/api/asset/asset-site-service/types.d.ts +80 -0
  66. package/dts/src/api/dict.d.ts +22 -0
  67. package/dts/src/api/index.d.ts +14 -0
  68. package/dts/src/api/org/union-org/index.d.ts +14 -0
  69. package/dts/src/api/org/union-org/types.d.ts +49 -0
  70. package/dts/src/components/EnumRadio/index.vue.d.ts +18 -0
  71. package/dts/src/components/EnumSelect/index.vue.d.ts +18 -0
  72. package/dts/src/components/Upload/ImageUpload.vue.d.ts +38 -0
  73. package/dts/src/components/Upload/MultiUpload.vue.d.ts +24 -0
  74. package/dts/src/constant.d.ts +16 -0
  75. package/dts/src/index.d.ts +4 -0
  76. package/dts/src/lang/asset/en.d.ts +2 -0
  77. package/dts/src/lang/asset/zh-cn.d.ts +91 -0
  78. package/dts/src/lang/index.d.ts +1 -0
  79. package/dts/src/main.d.ts +4 -0
  80. package/dts/src/permission.d.ts +1 -0
  81. package/dts/src/router/page.d.ts +4 -0
  82. package/dts/src/utils/common.d.ts +51 -0
  83. package/dts/src/utils/index.d.ts +24 -0
  84. package/dts/src/views/asset/asset-asset/edit.vue.d.ts +22 -0
  85. package/dts/src/views/asset/asset-asset/index.vue.d.ts +2 -0
  86. package/dts/src/views/asset/asset-service-appt-member/edit.vue.d.ts +22 -0
  87. package/dts/src/views/asset/asset-service-appt-member/index.vue.d.ts +2 -0
  88. package/dts/src/views/asset/asset-service-appt-record/edit.vue.d.ts +22 -0
  89. package/dts/src/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
  90. package/dts/src/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
  91. package/dts/src/views/asset/asset-site/edit.vue.d.ts +22 -0
  92. package/dts/src/views/asset/asset-site/index.vue.d.ts +2 -0
  93. package/dts/src/views/asset/asset-site/info/index.vue.d.ts +2 -0
  94. package/dts/src/views/asset/asset-site-service/edit.vue.d.ts +22 -0
  95. package/dts/src/views/asset/asset-site-service/index.vue.d.ts +2 -0
  96. package/dts/tsconfig.tsbuildinfo +1 -0
  97. package/dts/utils/common.d.ts +51 -0
  98. package/dts/utils/index.d.ts +24 -0
  99. package/dts/views/asset/asset-asset/edit.vue.d.ts +22 -0
  100. package/dts/views/asset/asset-asset/index.vue.d.ts +2 -0
  101. package/dts/views/asset/asset-service-appt-member/edit.vue.d.ts +22 -0
  102. package/dts/views/asset/asset-service-appt-member/index.vue.d.ts +2 -0
  103. package/dts/views/asset/asset-service-appt-record/edit.vue.d.ts +22 -0
  104. package/dts/views/asset/asset-service-appt-record/index.vue.d.ts +2 -0
  105. package/dts/views/asset/asset-service-appt-record/info/index.vue.d.ts +2 -0
  106. package/dts/views/asset/asset-site/edit.vue.d.ts +22 -0
  107. package/dts/views/asset/asset-site/index.vue.d.ts +2 -0
  108. package/dts/views/asset/asset-site/info/index.vue.d.ts +2 -0
  109. package/dts/views/asset/asset-site-service/edit.vue.d.ts +22 -0
  110. package/dts/views/asset/asset-site-service/index.vue.d.ts +2 -0
  111. 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,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
2
+ 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,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
2
+ 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,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
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<globalThis.ExtractPropTypes<{}>>, {}, {}>;
2
+ 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,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
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<globalThis.ExtractPropTypes<{}>>, {}, {}>;
2
+ 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;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{}>>, {}, {}>;
2
+ 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
+ }