zjh-web-ui 1.0.10 → 1.0.11

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.
Files changed (121) hide show
  1. package/config/resolver.js +1 -1
  2. package/dist/components/HuiAMapMassMarkers/HuiAMapMassMarkers.vue.js +23 -23
  3. package/dist/components/HuiAMapSearchAddress/HuiAMapSearchAddress.vue.js +2 -2
  4. package/dist/components/HuiAMapSearchAddress/HuiAMapSearchAddress.vue2.js +27 -27
  5. package/dist/components/HuiAMapSearchAddressDialog/HuiAMapSearchAddressDialog.vue.js +38 -38
  6. package/dist/components/HuiAMapSelectAddress/HuiAMapSelectAddress.vue.js +2 -2
  7. package/dist/components/HuiAMapSelectAddress/HuiAMapSelectAddress.vue2.js +80 -80
  8. package/dist/components/HuiAMapSelectAddressDialog/HuiAMapSelectAddressDialog.vue.js +23 -23
  9. package/dist/components/HuiCountDownButton/HuiCountDownButton.vue.js +14 -14
  10. package/dist/components/HuiDataView/HuiDataView.vue2.js +37 -37
  11. package/dist/components/HuiGridForm/HuiGridForm.vue.js +2 -2
  12. package/dist/components/HuiGridForm/HuiGridForm.vue2.js +103 -103
  13. package/dist/components/HuiGridForm/HuiGridFormHooks.js +1 -1
  14. package/dist/components/HuiLineEditDialog/HuiLineEditDialog.vue2.js +69 -69
  15. package/dist/components/HuiLineEditPopover/HuiLineEditPopover.vue2.js +47 -47
  16. package/dist/components/HuiPreviewRichTextDialog/HuiPreviewRichTextDialog.vue.js +21 -21
  17. package/dist/components/HuiRegionTreeDialog/HuiRegionTreeDialog.vue.js +49 -49
  18. package/dist/components/HuiRegionTreeSelect/HuiRegionTreeSelect.vue2.js +2 -2
  19. package/dist/components/HuiSelectLoadStatus/HuiSelectLoadStatus.vue.js +14 -14
  20. package/dist/components/HuiShowUrlDialog/HuiShowUrlDialog.vue.js +18 -18
  21. package/dist/components/HuiStringArrayInputDialog/HuiStringArrayInputDialog.vue.js +50 -50
  22. package/dist/components/HuiTags/HuiTags.vue2.js +9 -9
  23. package/dist/components/HuiTagsMore/HuiTagsMore.vue.js +12 -16
  24. package/dist/components/HuiTinymce/HuiTinymce.vue.js +10 -10
  25. package/dist/components/HuiTinymceDialog/HuiTinymceDialog.vue.js +43 -43
  26. package/dist/components/HuiTip/HuiTip.vue.js +15 -15
  27. package/dist/hooks/useHuiFormDialog/useHuiFormDialog.js +1 -1
  28. package/dist/index.d.ts +2116 -0
  29. package/dist/style.css +1 -1
  30. package/dist/utils/hui-rules.js +1 -1
  31. package/dist/utils/hui-tool/message-box/index.js +3 -3
  32. package/dist/utils/hui-tool/message-box/message-box.vue2.js +112 -0
  33. package/dist/utils/hui-tool/message-box/message-box.vue3.js +2 -2
  34. package/global.d.ts +21 -21
  35. package/package.json +1 -1
  36. package/types/index.d.ts +2115 -12
  37. package/dist/utils/hui-tool/message-box/message-box.vue.js +0 -112
  38. package/types/components/AMapConfig.d.ts +0 -2
  39. package/types/components/HuiAMapMassMarkers/HuiAMapMassMarkers.vue.d.ts +0 -105
  40. package/types/components/HuiAMapMassMarkers/index.d.ts +0 -107
  41. package/types/components/HuiAMapMassMarkers/type.d.ts +0 -58
  42. package/types/components/HuiAMapSearchAddress/HuiAMapSearchAddress.vue.d.ts +0 -76
  43. package/types/components/HuiAMapSearchAddress/index.d.ts +0 -77
  44. package/types/components/HuiAMapSearchAddress/type.d.ts +0 -19
  45. package/types/components/HuiAMapSearchAddressDialog/HuiAMapSearchAddressDialog.vue.d.ts +0 -38
  46. package/types/components/HuiAMapSearchAddressDialog/index.d.ts +0 -71
  47. package/types/components/HuiAMapSearchAddressDialog/type.d.ts +0 -17
  48. package/types/components/HuiAMapSelectAddress/HuiAMapSelectAddress.vue.d.ts +0 -76
  49. package/types/components/HuiAMapSelectAddress/index.d.ts +0 -77
  50. package/types/components/HuiAMapSelectAddress/type.d.ts +0 -19
  51. package/types/components/HuiAMapSelectAddressDialog/HuiAMapSelectAddressDialog.vue.d.ts +0 -38
  52. package/types/components/HuiAMapSelectAddressDialog/index.d.ts +0 -71
  53. package/types/components/HuiAMapSelectAddressDialog/type.d.ts +0 -17
  54. package/types/components/HuiCountDownButton/HuiCountDownButton.vue.d.ts +0 -44
  55. package/types/components/HuiCountDownButton/index.d.ts +0 -76
  56. package/types/components/HuiCountDownButton/type.d.ts +0 -20
  57. package/types/components/HuiDataView/HuiDataView.vue.d.ts +0 -60
  58. package/types/components/HuiDataView/index.d.ts +0 -109
  59. package/types/components/HuiDataView/type.d.ts +0 -49
  60. package/types/components/HuiGridForm/HuiGridForm.vue.d.ts +0 -77
  61. package/types/components/HuiGridForm/HuiGridFormHooks.d.ts +0 -4
  62. package/types/components/HuiGridForm/index.d.ts +0 -175
  63. package/types/components/HuiGridForm/type.d.ts +0 -67
  64. package/types/components/HuiLineEditDialog/HuiLineEditDialog.vue.d.ts +0 -75
  65. package/types/components/HuiLineEditDialog/index.d.ts +0 -173
  66. package/types/components/HuiLineEditDialog/type.d.ts +0 -86
  67. package/types/components/HuiLineEditPopover/HuiLineEditPopover.vue.d.ts +0 -74
  68. package/types/components/HuiLineEditPopover/index.d.ts +0 -133
  69. package/types/components/HuiLineEditPopover/type.d.ts +0 -23
  70. package/types/components/HuiPreviewRichTextDialog/HuiPreviewRichTextDialog.vue.d.ts +0 -31
  71. package/types/components/HuiPreviewRichTextDialog/index.d.ts +0 -22
  72. package/types/components/HuiPreviewRichTextDialog/type.d.ts +0 -4
  73. package/types/components/HuiRegionTreeDialog/HuiRegionTreeDialog.vue.d.ts +0 -53
  74. package/types/components/HuiRegionTreeDialog/index.d.ts +0 -68
  75. package/types/components/HuiRegionTreeDialog/type.d.ts +0 -24
  76. package/types/components/HuiRegionTreeSelect/HuiRegionTreeSelect.vue.d.ts +0 -25
  77. package/types/components/HuiRegionTreeSelect/index.d.ts +0 -29
  78. package/types/components/HuiRegionTreeSelect/type.d.ts +0 -6
  79. package/types/components/HuiSelectLoadStatus/HuiSelectLoadStatus.vue.d.ts +0 -14
  80. package/types/components/HuiSelectLoadStatus/index.d.ts +0 -33
  81. package/types/components/HuiSelectLoadStatus/type.d.ts +0 -11
  82. package/types/components/HuiShowUrlDialog/HuiShowUrlDialog.vue.d.ts +0 -37
  83. package/types/components/HuiShowUrlDialog/index.d.ts +0 -40
  84. package/types/components/HuiShowUrlDialog/type.d.ts +0 -11
  85. package/types/components/HuiStringArrayInputDialog/HuiStringArrayInputDialog.vue.d.ts +0 -44
  86. package/types/components/HuiStringArrayInputDialog/index.d.ts +0 -67
  87. package/types/components/HuiStringArrayInputDialog/type.d.ts +0 -33
  88. package/types/components/HuiTags/HuiTags.vue.d.ts +0 -37
  89. package/types/components/HuiTags/index.d.ts +0 -36
  90. package/types/components/HuiTagsMore/HuiTagsMore.vue.d.ts +0 -93
  91. package/types/components/HuiTagsMore/index.d.ts +0 -92
  92. package/types/components/HuiTinymce/HuiTinymce.vue.d.ts +0 -62
  93. package/types/components/HuiTinymce/HuiTinymceLinkHooks.d.ts +0 -3
  94. package/types/components/HuiTinymce/HuiTinymceSettingHooks.d.ts +0 -3
  95. package/types/components/HuiTinymce/index.d.ts +0 -66
  96. package/types/components/HuiTinymce/type.d.ts +0 -51
  97. package/types/components/HuiTinymceDialog/HuiTinymceDialog.vue.d.ts +0 -53
  98. package/types/components/HuiTinymceDialog/index.d.ts +0 -78
  99. package/types/components/HuiTinymceDialog/type.d.ts +0 -12
  100. package/types/components/HuiTip/HuiTip.vue.d.ts +0 -22
  101. package/types/components/HuiTip/index.d.ts +0 -99
  102. package/types/components/HuiTip/type.d.ts +0 -14
  103. package/types/components-install-list.d.ts +0 -3328
  104. package/types/components.d.ts +0 -21
  105. package/types/delegate.d.ts +0 -41
  106. package/types/directives/index.d.ts +0 -4
  107. package/types/directives/install-loadmore.d.ts +0 -7
  108. package/types/directives/select-loadmore.d.ts +0 -7
  109. package/types/hooks/index.d.ts +0 -3
  110. package/types/hooks/useHuiDialog/useHuiDialog.d.ts +0 -18
  111. package/types/hooks/useHuiFormDialog/formDialogPropsDef.d.ts +0 -3
  112. package/types/hooks/useHuiFormDialog/type.d.ts +0 -90
  113. package/types/hooks/useHuiFormDialog/useHuiFormDialog.d.ts +0 -32
  114. package/types/install-helper/install.d.ts +0 -18
  115. package/types/install-helper/typescript.d.ts +0 -14
  116. package/types/utils/hui-rules.d.ts +0 -80
  117. package/types/utils/hui-tool/index.d.ts +0 -8
  118. package/types/utils/hui-tool/message-box/index.d.ts +0 -18
  119. package/types/utils/hui-tool/message-box/message-box.vue.d.ts +0 -36
  120. package/types/utils/hui-tool/msg-tool.d.ts +0 -26
  121. package/types/utils/index.d.ts +0 -2
@@ -1,76 +0,0 @@
1
- import { DefineComponent, ExtractPropTypes, PropType, ModelRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare function setupMap(): void;
3
- declare function submitInfo(): boolean;
4
- declare function loadMap(): void;
5
- declare const _default: DefineComponent<ExtractPropTypes<{
6
- modelValue: PropType<any>;
7
- iconPath: {
8
- type: PropType<string>;
9
- default: string;
10
- };
11
- value: {
12
- type: PropType<any>;
13
- };
14
- width: {
15
- type: PropType<string>;
16
- default: string;
17
- };
18
- height: {
19
- type: PropType<string>;
20
- default: string;
21
- };
22
- disabled: {
23
- type: PropType<boolean>;
24
- default: boolean;
25
- };
26
- showInput: {
27
- type: PropType<boolean>;
28
- default: boolean;
29
- };
30
- iconClass: {
31
- type: PropType<string>;
32
- default: string;
33
- };
34
- }>, {
35
- loadMap: typeof loadMap;
36
- setupMap: typeof setupMap;
37
- poi: ModelRef<any, string, any, any>;
38
- submitInfo: typeof submitInfo;
39
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
40
- modelValue: PropType<any>;
41
- iconPath: {
42
- type: PropType<string>;
43
- default: string;
44
- };
45
- value: {
46
- type: PropType<any>;
47
- };
48
- width: {
49
- type: PropType<string>;
50
- default: string;
51
- };
52
- height: {
53
- type: PropType<string>;
54
- default: string;
55
- };
56
- disabled: {
57
- type: PropType<boolean>;
58
- default: boolean;
59
- };
60
- showInput: {
61
- type: PropType<boolean>;
62
- default: boolean;
63
- };
64
- iconClass: {
65
- type: PropType<string>;
66
- default: string;
67
- };
68
- }>> & Readonly<{}>, {
69
- iconPath: string;
70
- width: string;
71
- height: string;
72
- disabled: boolean;
73
- showInput: boolean;
74
- iconClass: string;
75
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
76
- export default _default;
@@ -1,77 +0,0 @@
1
- import { SFCWithInstall } from '../../install-helper/typescript';
2
- import { DefineComponent, ExtractPropTypes, PropType, ModelRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- /**
4
- * 倒计时按钮
5
- */
6
- export declare const HuiAMapSelectAddress: SFCWithInstall<DefineComponent<ExtractPropTypes<{
7
- modelValue: PropType<any>;
8
- iconPath: {
9
- type: PropType<string>;
10
- default: string;
11
- };
12
- value: {
13
- type: PropType<any>;
14
- };
15
- width: {
16
- type: PropType<string>;
17
- default: string;
18
- };
19
- height: {
20
- type: PropType<string>;
21
- default: string;
22
- };
23
- disabled: {
24
- type: PropType<boolean>;
25
- default: boolean;
26
- };
27
- showInput: {
28
- type: PropType<boolean>;
29
- default: boolean;
30
- };
31
- iconClass: {
32
- type: PropType<string>;
33
- default: string;
34
- };
35
- }>, {
36
- loadMap: () => void;
37
- setupMap: () => void;
38
- poi: ModelRef<any, string, any, any>;
39
- submitInfo: () => boolean;
40
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
41
- modelValue: PropType<any>;
42
- iconPath: {
43
- type: PropType<string>;
44
- default: string;
45
- };
46
- value: {
47
- type: PropType<any>;
48
- };
49
- width: {
50
- type: PropType<string>;
51
- default: string;
52
- };
53
- height: {
54
- type: PropType<string>;
55
- default: string;
56
- };
57
- disabled: {
58
- type: PropType<boolean>;
59
- default: boolean;
60
- };
61
- showInput: {
62
- type: PropType<boolean>;
63
- default: boolean;
64
- };
65
- iconClass: {
66
- type: PropType<string>;
67
- default: string;
68
- };
69
- }>> & Readonly<{}>, {
70
- iconPath: string;
71
- width: string;
72
- height: string;
73
- disabled: boolean;
74
- showInput: boolean;
75
- iconClass: string;
76
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
77
- export default HuiAMapSelectAddress;
@@ -1,19 +0,0 @@
1
- /**
2
- * 接受的 props
3
- */
4
- export interface HuiAMapSelectAddressPropsType {
5
- /** 输入框是否禁用 */
6
- disabled?: boolean;
7
- /** amp绑定的值 */
8
- value?: any;
9
- /** 组件宽度 */
10
- width?: string;
11
- /** 组件高度 */
12
- height?: string;
13
- /** 是否展示输入框 ,一般在组件是弹窗的时候才展示输入框 */
14
- showInput?: boolean;
15
- /** 标记点图标路径 */
16
- iconPath?: string;
17
- /** 图标式样式 */
18
- iconClass?: string;
19
- }
@@ -1,38 +0,0 @@
1
- import { HuiAMapSelectAddressDialogPropsType } from './type.ts';
2
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
-
4
- declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiAMapSelectAddressDialogPropsType>, {
5
- width: string;
6
- title: string;
7
- }>>, {
8
- open: (dataId?: string, info?: {}) => void;
9
- close: () => void;
10
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
- onSubmit: (poi: any) => void;
12
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiAMapSelectAddressDialogPropsType>, {
13
- width: string;
14
- title: string;
15
- }>>> & Readonly<{
16
- onOnSubmit?: (poi: any) => any;
17
- }>, {
18
- title: string;
19
- width: string;
20
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
21
- export default _default;
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToRuntimeProps<T> = {
24
- [K in keyof T]-?: {} extends Pick<T, K> ? {
25
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
26
- } : {
27
- type: PropType<T[K]>;
28
- required: true;
29
- };
30
- };
31
- type __VLS_WithDefaults<P, D> = {
32
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
- default: D[K];
34
- }> : P[K];
35
- };
36
- type __VLS_Prettify<T> = {
37
- [K in keyof T]: T[K];
38
- } & {};
@@ -1,71 +0,0 @@
1
- import { SFCWithInstall } from '../../install-helper/typescript';
2
- import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- /**
4
- * 地图选择位置弹窗
5
- */
6
- export declare const HuiAMapSelectAddressDialog: SFCWithInstall<DefineComponent<ExtractPropTypes<{
7
- title: {
8
- type: PropType<string>;
9
- default: string;
10
- };
11
- iconPath: {
12
- type: PropType<string>;
13
- };
14
- value: {
15
- type: PropType<any>;
16
- };
17
- width: {
18
- type: PropType<string>;
19
- default: string;
20
- };
21
- height: {
22
- type: PropType<string>;
23
- };
24
- disabled: {
25
- type: PropType<boolean>;
26
- };
27
- showInput: {
28
- type: PropType<boolean>;
29
- };
30
- iconClass: {
31
- type: PropType<string>;
32
- };
33
- }>, {
34
- open: (dataId?: string, info?: {}) => void;
35
- close: () => void;
36
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
37
- onSubmit: (poi: any) => void;
38
- }, string, PublicProps, Readonly< ExtractPropTypes<{
39
- title: {
40
- type: PropType<string>;
41
- default: string;
42
- };
43
- iconPath: {
44
- type: PropType<string>;
45
- };
46
- value: {
47
- type: PropType<any>;
48
- };
49
- width: {
50
- type: PropType<string>;
51
- default: string;
52
- };
53
- height: {
54
- type: PropType<string>;
55
- };
56
- disabled: {
57
- type: PropType<boolean>;
58
- };
59
- showInput: {
60
- type: PropType<boolean>;
61
- };
62
- iconClass: {
63
- type: PropType<string>;
64
- };
65
- }>> & Readonly<{
66
- onOnSubmit?: (poi: any) => any;
67
- }>, {
68
- title: string;
69
- width: string;
70
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
71
- export default HuiAMapSelectAddressDialog;
@@ -1,17 +0,0 @@
1
- import { HuiAMapSelectAddressPropsType } from '../HuiAMapSelectAddress/type';
2
-
3
- /**
4
- * HuiAMapSelectAddressDialogPropsType 需要的props参数
5
- */
6
- export type HuiAMapSelectAddressDialogPropsType = HuiAMapSelectAddressPropsType & {
7
- /** 弹窗宽度 */
8
- width?: string;
9
- /** 弹窗标题 */
10
- title?: string;
11
- };
12
- /**
13
- * HuiAMapSelectAddressDialog emit事件
14
- */
15
- export type HuiTinymceDialogEmitType = {
16
- onSubmit: [poi: any];
17
- };
@@ -1,44 +0,0 @@
1
- import { HuiCountDownButtonPropsType } from './type.ts';
2
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
-
4
- declare function resetState(): void;
5
- declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiCountDownButtonPropsType>, {
6
- timeCount: number;
7
- enableClass: string;
8
- disableClass: string;
9
- type: string;
10
- }>>, {
11
- resetState: typeof resetState;
12
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
13
- click: (callback: (isStart?: boolean) => void) => void;
14
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiCountDownButtonPropsType>, {
15
- timeCount: number;
16
- enableClass: string;
17
- disableClass: string;
18
- type: string;
19
- }>>> & Readonly<{
20
- onClick?: (callback: (isStart?: boolean) => void) => any;
21
- }>, {
22
- type: "button" | "text";
23
- timeCount: string | number;
24
- enableClass: string;
25
- disableClass: string;
26
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
27
- export default _default;
28
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
- type __VLS_TypePropsToRuntimeProps<T> = {
30
- [K in keyof T]-?: {} extends Pick<T, K> ? {
31
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
32
- } : {
33
- type: PropType<T[K]>;
34
- required: true;
35
- };
36
- };
37
- type __VLS_WithDefaults<P, D> = {
38
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
39
- default: D[K];
40
- }> : P[K];
41
- };
42
- type __VLS_Prettify<T> = {
43
- [K in keyof T]: T[K];
44
- } & {};
@@ -1,76 +0,0 @@
1
- import { SFCWithInstall } from '../../install-helper/typescript';
2
- import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- /**
4
- * 倒计时按钮
5
- */
6
- export declare const HuiCountDownButton: SFCWithInstall<DefineComponent<ExtractPropTypes<{
7
- title: {
8
- type: PropType<string>;
9
- required: true;
10
- };
11
- type: {
12
- type: PropType<"button" | "text">;
13
- required: true;
14
- default: string;
15
- };
16
- baseClass: {
17
- type: PropType<string>;
18
- required: true;
19
- };
20
- timeCount: {
21
- type: PropType<string | number>;
22
- required: true;
23
- default: number;
24
- };
25
- enableClass: {
26
- type: PropType<string>;
27
- required: true;
28
- default: string;
29
- };
30
- disableClass: {
31
- type: PropType<string>;
32
- required: true;
33
- default: string;
34
- };
35
- }>, {
36
- resetState: () => void;
37
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
38
- click: (callback: (isStart?: boolean) => void) => void;
39
- }, string, PublicProps, Readonly< ExtractPropTypes<{
40
- title: {
41
- type: PropType<string>;
42
- required: true;
43
- };
44
- type: {
45
- type: PropType<"button" | "text">;
46
- required: true;
47
- default: string;
48
- };
49
- baseClass: {
50
- type: PropType<string>;
51
- required: true;
52
- };
53
- timeCount: {
54
- type: PropType<string | number>;
55
- required: true;
56
- default: number;
57
- };
58
- enableClass: {
59
- type: PropType<string>;
60
- required: true;
61
- default: string;
62
- };
63
- disableClass: {
64
- type: PropType<string>;
65
- required: true;
66
- default: string;
67
- };
68
- }>> & Readonly<{
69
- onClick?: (callback: (isStart?: boolean) => void) => any;
70
- }>, {
71
- type: "button" | "text";
72
- timeCount: string | number;
73
- enableClass: string;
74
- disableClass: string;
75
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
76
- export default HuiCountDownButton;
@@ -1,20 +0,0 @@
1
- /**
2
- * 接受的 props
3
- */
4
- export interface HuiCountDownButtonPropsType {
5
- /** 按钮提示文本 */
6
- title: string;
7
- /** 基础样式 */
8
- baseClass: string;
9
- /** 倒计时时间 */
10
- timeCount: number | string;
11
- /** 倒计时未开始时的样式 */
12
- enableClass: string;
13
- /** 倒计时开始后的样式 */
14
- disableClass: string;
15
- /** 显示的类型 */
16
- type: 'text' | 'button';
17
- }
18
- export type HuiCountDownButtonEmitType = {
19
- "click": [callback: (isStart?: boolean) => void];
20
- };
@@ -1,60 +0,0 @@
1
- import { HuiDataViewProp } from './type';
2
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
-
4
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiDataViewProp>, {
5
- lineCount: number;
6
- titleWidth: string;
7
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiDataViewProp>, {
8
- lineCount: number;
9
- titleWidth: string;
10
- }>>> & Readonly<{}>, {
11
- lineCount: number;
12
- titleWidth: string | number;
13
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, Partial<Record<string, (_: {
14
- prop: string;
15
- value: string | string[];
16
- title: string;
17
- rightText?: string;
18
- class?: string;
19
- handler?: (item: any) => void;
20
- type?: string;
21
- }) => any>> & Partial<Record<string, (_: {
22
- prop: string;
23
- value: string | string[];
24
- title: string;
25
- rightText?: string;
26
- class?: string;
27
- handler?: (item: any) => void;
28
- type?: string;
29
- }) => any>> & Partial<Record<string, (_: {
30
- prop: string;
31
- value: string | string[];
32
- title: string;
33
- rightText?: string;
34
- class?: string;
35
- handler?: (item: any) => void;
36
- type?: string;
37
- }) => any>>>;
38
- export default _default;
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToRuntimeProps<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: PropType<T[K]>;
45
- required: true;
46
- };
47
- };
48
- type __VLS_WithDefaults<P, D> = {
49
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
- default: D[K];
51
- }> : P[K];
52
- };
53
- type __VLS_Prettify<T> = {
54
- [K in keyof T]: T[K];
55
- } & {};
56
- type __VLS_WithTemplateSlots<T, S> = T & {
57
- new (): {
58
- $slots: S;
59
- };
60
- };
@@ -1,109 +0,0 @@
1
- import { SFCWithInstall } from '../../install-helper/typescript';
2
- import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
3
- import { HuiDataViewConfig } from './type';
4
- /**
5
- * 组件导出
6
- */
7
- export declare const HuiDataView: SFCWithInstall<{
8
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
9
- data: {
10
- type: PropType<{
11
- [key: string]: any;
12
- }>;
13
- };
14
- config: {
15
- type: PropType< HuiDataViewConfig[]>;
16
- required: true;
17
- };
18
- lineCount: {
19
- type: PropType<number>;
20
- default: number;
21
- };
22
- titleWidth: {
23
- type: PropType<string | number>;
24
- default: string;
25
- };
26
- }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
27
- lineCount: number;
28
- titleWidth: string | number;
29
- }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
30
- P: {};
31
- B: {};
32
- D: {};
33
- C: {};
34
- M: {};
35
- Defaults: {};
36
- }, Readonly< ExtractPropTypes<{
37
- data: {
38
- type: PropType<{
39
- [key: string]: any;
40
- }>;
41
- };
42
- config: {
43
- type: PropType< HuiDataViewConfig[]>;
44
- required: true;
45
- };
46
- lineCount: {
47
- type: PropType<number>;
48
- default: number;
49
- };
50
- titleWidth: {
51
- type: PropType<string | number>;
52
- default: string;
53
- };
54
- }>> & Readonly<{}>, {}, {}, {}, {}, {
55
- lineCount: number;
56
- titleWidth: string | number;
57
- }>;
58
- __isFragment?: never;
59
- __isTeleport?: never;
60
- __isSuspense?: never;
61
- } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
62
- data: {
63
- type: PropType<{
64
- [key: string]: any;
65
- }>;
66
- };
67
- config: {
68
- type: PropType< HuiDataViewConfig[]>;
69
- required: true;
70
- };
71
- lineCount: {
72
- type: PropType<number>;
73
- default: number;
74
- };
75
- titleWidth: {
76
- type: PropType<string | number>;
77
- default: string;
78
- };
79
- }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
80
- lineCount: number;
81
- titleWidth: string | number;
82
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
83
- $slots: Partial<Record<string, (_: {
84
- prop: string;
85
- value: string | string[];
86
- title: string;
87
- rightText?: string;
88
- class?: string;
89
- handler?: (item: any) => void;
90
- type?: string;
91
- }) => any>> & Partial<Record<string, (_: {
92
- prop: string;
93
- value: string | string[];
94
- title: string;
95
- rightText?: string;
96
- class?: string;
97
- handler?: (item: any) => void;
98
- type?: string;
99
- }) => any>> & Partial<Record<string, (_: {
100
- prop: string;
101
- value: string | string[];
102
- title: string;
103
- rightText?: string;
104
- class?: string;
105
- handler?: (item: any) => void;
106
- type?: string;
107
- }) => any>>;
108
- })> & Record<string, any>;
109
- export default HuiDataView;
@@ -1,49 +0,0 @@
1
- export type HuiDataViewProp = {
2
- /** 一行显示几个 */
3
- lineCount?: number;
4
- /** 标题列的宽度 */
5
- titleWidth?: string | number;
6
- /** 组件的配置 */
7
- config: HuiDataViewConfig[];
8
- /** 组件设置回显的值 */
9
- data?: {
10
- [key: string]: any;
11
- };
12
- };
13
- export interface HuiDataViewConfig {
14
- /**
15
- * 表格项id
16
- * @type {string}
17
- */
18
- prop: string;
19
- /**
20
- * 表格项的值
21
- * @type {string | null}
22
- */
23
- value: string | null | string[];
24
- /**
25
- * 表格每一项的标题
26
- * @type {string}
27
- */
28
- title: string;
29
- /**
30
- * 列表项右侧文字
31
- * @type {string}
32
- */
33
- rightText?: string;
34
- /**
35
- * value项的动态class
36
- * @type {string | null}
37
- */
38
- class?: string;
39
- /**
40
- * rightText的点击触发事件
41
- * @type {function}
42
- */
43
- handler?: (item: any) => void;
44
- /**
45
- * 内容展示的类型,type== 'img' 那么显示图片
46
- * @type {string}
47
- */
48
- type?: string;
49
- }