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,51 @@
1
+ export declare function generateRandomKey(): string;
2
+ export declare function getDaysInMonth(val?: any): string[];
3
+ /**
4
+ * 计算当前时间
5
+ *
6
+ * @returns 返回当前时间
7
+ */
8
+ export declare function calculateDate(currentDate: any, year?: number, month?: number, day?: number): {
9
+ getYear: () => number;
10
+ getMonth: () => string;
11
+ getFullDate: () => string;
12
+ };
13
+ /**
14
+ * @returns 返回当前时分秒
15
+ */
16
+ export declare function returnTime(time: any): string;
17
+ /**
18
+ * 解析身份证号信息
19
+ *
20
+ * @param idNumber 身份证号
21
+ * @returns 返回包含出生日期和性别等信息的对象
22
+ */
23
+ export declare function parseIdNumber(idNumber: string): {
24
+ year: string;
25
+ month: string;
26
+ day: string;
27
+ fullDate: string;
28
+ gender: string;
29
+ };
30
+ export declare function isCreditCode(code: string): boolean;
31
+ /**
32
+ * 将数字转换为对应的中文数字
33
+ * @param number 需要转换的数字,必须是0到9之间的整数
34
+ * @return 返回对应的中文数字字符串
35
+ */
36
+ export declare function numberToChinese(number: number): string | undefined;
37
+ /**
38
+ * 递归遍历树结构寻找指定id的节点的子节点。
39
+ * @param id 要查找的节点的id。
40
+ * @param node 当前遍历的节点。
41
+ * @returns 找到的子节点数组,如果未找到则返回空数组。
42
+ */
43
+ export declare function traverseTreeRecursively(id: string, node: any): any;
44
+ /**
45
+ * 从传入的对象数组中查找指定key对应的value,并拼接成一个字符串返回
46
+ *
47
+ * @param data 对象数组
48
+ * @param key 需要查找的key
49
+ * @returns 返回拼接后的字符串
50
+ */
51
+ export declare function treeData(node: any, key?: string): string | null;
@@ -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;