zjh-web-ui 1.0.10

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 (175) hide show
  1. package/README.md +1 -0
  2. package/config/resolver.js +21 -0
  3. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  4. package/dist/components/AMapConfig.js +23 -0
  5. package/dist/components/HuiAMapMassMarkers/HuiAMapMassMarkers.vue.js +82 -0
  6. package/dist/components/HuiAMapMassMarkers/HuiAMapMassMarkers.vue2.js +4 -0
  7. package/dist/components/HuiAMapMassMarkers/index.js +7 -0
  8. package/dist/components/HuiAMapSearchAddress/HuiAMapSearchAddress.vue.js +7 -0
  9. package/dist/components/HuiAMapSearchAddress/HuiAMapSearchAddress.vue2.js +190 -0
  10. package/dist/components/HuiAMapSearchAddress/index.js +7 -0
  11. package/dist/components/HuiAMapSearchAddressDialog/HuiAMapSearchAddressDialog.vue.js +83 -0
  12. package/dist/components/HuiAMapSearchAddressDialog/HuiAMapSearchAddressDialog.vue2.js +4 -0
  13. package/dist/components/HuiAMapSearchAddressDialog/index.js +7 -0
  14. package/dist/components/HuiAMapSelectAddress/HuiAMapSelectAddress.vue.js +7 -0
  15. package/dist/components/HuiAMapSelectAddress/HuiAMapSelectAddress.vue2.js +178 -0
  16. package/dist/components/HuiAMapSelectAddress/index.js +7 -0
  17. package/dist/components/HuiAMapSelectAddressDialog/HuiAMapSelectAddressDialog.vue.js +83 -0
  18. package/dist/components/HuiAMapSelectAddressDialog/HuiAMapSelectAddressDialog.vue2.js +4 -0
  19. package/dist/components/HuiAMapSelectAddressDialog/index.js +7 -0
  20. package/dist/components/HuiCountDownButton/HuiCountDownButton.vue.js +63 -0
  21. package/dist/components/HuiCountDownButton/HuiCountDownButton.vue2.js +4 -0
  22. package/dist/components/HuiCountDownButton/index.js +7 -0
  23. package/dist/components/HuiDataView/HuiDataView.vue.js +7 -0
  24. package/dist/components/HuiDataView/HuiDataView.vue2.js +84 -0
  25. package/dist/components/HuiDataView/index.js +7 -0
  26. package/dist/components/HuiGridForm/HuiGridForm.vue.js +7 -0
  27. package/dist/components/HuiGridForm/HuiGridForm.vue2.js +223 -0
  28. package/dist/components/HuiGridForm/HuiGridFormHooks.js +21 -0
  29. package/dist/components/HuiGridForm/index.js +7 -0
  30. package/dist/components/HuiLineEditDialog/HuiLineEditDialog.vue.js +7 -0
  31. package/dist/components/HuiLineEditDialog/HuiLineEditDialog.vue2.js +167 -0
  32. package/dist/components/HuiLineEditDialog/index.js +7 -0
  33. package/dist/components/HuiLineEditPopover/HuiLineEditPopover.vue.js +7 -0
  34. package/dist/components/HuiLineEditPopover/HuiLineEditPopover.vue2.js +128 -0
  35. package/dist/components/HuiLineEditPopover/index.js +7 -0
  36. package/dist/components/HuiPreviewRichTextDialog/HuiPreviewRichTextDialog.vue.js +65 -0
  37. package/dist/components/HuiPreviewRichTextDialog/HuiPreviewRichTextDialog.vue2.js +4 -0
  38. package/dist/components/HuiPreviewRichTextDialog/index.js +7 -0
  39. package/dist/components/HuiRegionTreeDialog/HuiRegionTreeDialog.vue.js +118 -0
  40. package/dist/components/HuiRegionTreeDialog/HuiRegionTreeDialog.vue2.js +4 -0
  41. package/dist/components/HuiRegionTreeDialog/index.js +7 -0
  42. package/dist/components/HuiRegionTreeSelect/HuiRegionTreeSelect.vue.js +7 -0
  43. package/dist/components/HuiRegionTreeSelect/HuiRegionTreeSelect.vue2.js +59 -0
  44. package/dist/components/HuiRegionTreeSelect/index.js +7 -0
  45. package/dist/components/HuiSelectLoadStatus/HuiSelectLoadStatus.vue.js +44 -0
  46. package/dist/components/HuiSelectLoadStatus/HuiSelectLoadStatus.vue2.js +4 -0
  47. package/dist/components/HuiSelectLoadStatus/index.js +7 -0
  48. package/dist/components/HuiShowUrlDialog/HuiShowUrlDialog.vue.js +50 -0
  49. package/dist/components/HuiShowUrlDialog/HuiShowUrlDialog.vue2.js +4 -0
  50. package/dist/components/HuiShowUrlDialog/index.js +7 -0
  51. package/dist/components/HuiStringArrayInputDialog/HuiStringArrayInputDialog.vue.js +118 -0
  52. package/dist/components/HuiStringArrayInputDialog/HuiStringArrayInputDialog.vue2.js +4 -0
  53. package/dist/components/HuiStringArrayInputDialog/index.js +7 -0
  54. package/dist/components/HuiTags/HuiTags.vue.js +7 -0
  55. package/dist/components/HuiTags/HuiTags.vue2.js +28 -0
  56. package/dist/components/HuiTags/index.js +7 -0
  57. package/dist/components/HuiTagsMore/HuiTagsMore.vue.js +188 -0
  58. package/dist/components/HuiTagsMore/HuiTagsMore.vue2.js +4 -0
  59. package/dist/components/HuiTagsMore/index.js +7 -0
  60. package/dist/components/HuiTinymce/HuiTinymce.vue.js +37 -0
  61. package/dist/components/HuiTinymce/HuiTinymce.vue3.js +5 -0
  62. package/dist/components/HuiTinymce/HuiTinymceLinkHooks.js +99 -0
  63. package/dist/components/HuiTinymce/HuiTinymceSettingHooks.js +104 -0
  64. package/dist/components/HuiTinymce/index.js +8 -0
  65. package/dist/components/HuiTinymceDialog/HuiTinymceDialog.vue.js +96 -0
  66. package/dist/components/HuiTinymceDialog/HuiTinymceDialog.vue2.js +4 -0
  67. package/dist/components/HuiTinymceDialog/index.js +7 -0
  68. package/dist/components/HuiTip/HuiTip.vue.js +52 -0
  69. package/dist/components/HuiTip/HuiTip.vue2.js +4 -0
  70. package/dist/components/HuiTip/index.js +7 -0
  71. package/dist/components-install-list.js +47 -0
  72. package/dist/delegate.js +13 -0
  73. package/dist/directives/install-loadmore.js +7 -0
  74. package/dist/directives/select-loadmore.js +25 -0
  75. package/dist/hooks/useHuiDialog/useHuiDialog.js +20 -0
  76. package/dist/hooks/useHuiFormDialog/formDialogPropsDef.js +6 -0
  77. package/dist/hooks/useHuiFormDialog/useHuiFormDialog.js +109 -0
  78. package/dist/index.js +62 -0
  79. package/dist/install-helper/install.js +21 -0
  80. package/dist/style.css +1 -0
  81. package/dist/utils/hui-rules.js +142 -0
  82. package/dist/utils/hui-tool/index.js +7 -0
  83. package/dist/utils/hui-tool/message-box/index.js +33 -0
  84. package/dist/utils/hui-tool/message-box/message-box.vue.js +112 -0
  85. package/dist/utils/hui-tool/message-box/message-box.vue3.js +5 -0
  86. package/dist/utils/hui-tool/msg-tool.js +39 -0
  87. package/global.d.ts +40 -0
  88. package/package.json +44 -0
  89. package/src/css/common-font.scss +104 -0
  90. package/src/css/index.scss +1 -0
  91. package/types/components/AMapConfig.d.ts +2 -0
  92. package/types/components/HuiAMapMassMarkers/HuiAMapMassMarkers.vue.d.ts +105 -0
  93. package/types/components/HuiAMapMassMarkers/index.d.ts +107 -0
  94. package/types/components/HuiAMapMassMarkers/type.d.ts +58 -0
  95. package/types/components/HuiAMapSearchAddress/HuiAMapSearchAddress.vue.d.ts +76 -0
  96. package/types/components/HuiAMapSearchAddress/index.d.ts +77 -0
  97. package/types/components/HuiAMapSearchAddress/type.d.ts +19 -0
  98. package/types/components/HuiAMapSearchAddressDialog/HuiAMapSearchAddressDialog.vue.d.ts +38 -0
  99. package/types/components/HuiAMapSearchAddressDialog/index.d.ts +71 -0
  100. package/types/components/HuiAMapSearchAddressDialog/type.d.ts +17 -0
  101. package/types/components/HuiAMapSelectAddress/HuiAMapSelectAddress.vue.d.ts +76 -0
  102. package/types/components/HuiAMapSelectAddress/index.d.ts +77 -0
  103. package/types/components/HuiAMapSelectAddress/type.d.ts +19 -0
  104. package/types/components/HuiAMapSelectAddressDialog/HuiAMapSelectAddressDialog.vue.d.ts +38 -0
  105. package/types/components/HuiAMapSelectAddressDialog/index.d.ts +71 -0
  106. package/types/components/HuiAMapSelectAddressDialog/type.d.ts +17 -0
  107. package/types/components/HuiCountDownButton/HuiCountDownButton.vue.d.ts +44 -0
  108. package/types/components/HuiCountDownButton/index.d.ts +76 -0
  109. package/types/components/HuiCountDownButton/type.d.ts +20 -0
  110. package/types/components/HuiDataView/HuiDataView.vue.d.ts +60 -0
  111. package/types/components/HuiDataView/index.d.ts +109 -0
  112. package/types/components/HuiDataView/type.d.ts +49 -0
  113. package/types/components/HuiGridForm/HuiGridForm.vue.d.ts +77 -0
  114. package/types/components/HuiGridForm/HuiGridFormHooks.d.ts +4 -0
  115. package/types/components/HuiGridForm/index.d.ts +175 -0
  116. package/types/components/HuiGridForm/type.d.ts +67 -0
  117. package/types/components/HuiLineEditDialog/HuiLineEditDialog.vue.d.ts +75 -0
  118. package/types/components/HuiLineEditDialog/index.d.ts +173 -0
  119. package/types/components/HuiLineEditDialog/type.d.ts +86 -0
  120. package/types/components/HuiLineEditPopover/HuiLineEditPopover.vue.d.ts +74 -0
  121. package/types/components/HuiLineEditPopover/index.d.ts +133 -0
  122. package/types/components/HuiLineEditPopover/type.d.ts +23 -0
  123. package/types/components/HuiPreviewRichTextDialog/HuiPreviewRichTextDialog.vue.d.ts +31 -0
  124. package/types/components/HuiPreviewRichTextDialog/index.d.ts +22 -0
  125. package/types/components/HuiPreviewRichTextDialog/type.d.ts +4 -0
  126. package/types/components/HuiRegionTreeDialog/HuiRegionTreeDialog.vue.d.ts +53 -0
  127. package/types/components/HuiRegionTreeDialog/index.d.ts +68 -0
  128. package/types/components/HuiRegionTreeDialog/type.d.ts +24 -0
  129. package/types/components/HuiRegionTreeSelect/HuiRegionTreeSelect.vue.d.ts +25 -0
  130. package/types/components/HuiRegionTreeSelect/index.d.ts +29 -0
  131. package/types/components/HuiRegionTreeSelect/type.d.ts +6 -0
  132. package/types/components/HuiSelectLoadStatus/HuiSelectLoadStatus.vue.d.ts +14 -0
  133. package/types/components/HuiSelectLoadStatus/index.d.ts +33 -0
  134. package/types/components/HuiSelectLoadStatus/type.d.ts +11 -0
  135. package/types/components/HuiShowUrlDialog/HuiShowUrlDialog.vue.d.ts +37 -0
  136. package/types/components/HuiShowUrlDialog/index.d.ts +40 -0
  137. package/types/components/HuiShowUrlDialog/type.d.ts +11 -0
  138. package/types/components/HuiStringArrayInputDialog/HuiStringArrayInputDialog.vue.d.ts +44 -0
  139. package/types/components/HuiStringArrayInputDialog/index.d.ts +67 -0
  140. package/types/components/HuiStringArrayInputDialog/type.d.ts +33 -0
  141. package/types/components/HuiTags/HuiTags.vue.d.ts +37 -0
  142. package/types/components/HuiTags/index.d.ts +36 -0
  143. package/types/components/HuiTagsMore/HuiTagsMore.vue.d.ts +93 -0
  144. package/types/components/HuiTagsMore/index.d.ts +92 -0
  145. package/types/components/HuiTinymce/HuiTinymce.vue.d.ts +62 -0
  146. package/types/components/HuiTinymce/HuiTinymceLinkHooks.d.ts +3 -0
  147. package/types/components/HuiTinymce/HuiTinymceSettingHooks.d.ts +3 -0
  148. package/types/components/HuiTinymce/index.d.ts +66 -0
  149. package/types/components/HuiTinymce/type.d.ts +51 -0
  150. package/types/components/HuiTinymceDialog/HuiTinymceDialog.vue.d.ts +53 -0
  151. package/types/components/HuiTinymceDialog/index.d.ts +78 -0
  152. package/types/components/HuiTinymceDialog/type.d.ts +12 -0
  153. package/types/components/HuiTip/HuiTip.vue.d.ts +22 -0
  154. package/types/components/HuiTip/index.d.ts +99 -0
  155. package/types/components/HuiTip/type.d.ts +14 -0
  156. package/types/components-install-list.d.ts +3328 -0
  157. package/types/components.d.ts +21 -0
  158. package/types/delegate.d.ts +41 -0
  159. package/types/directives/index.d.ts +4 -0
  160. package/types/directives/install-loadmore.d.ts +7 -0
  161. package/types/directives/select-loadmore.d.ts +7 -0
  162. package/types/hooks/index.d.ts +3 -0
  163. package/types/hooks/useHuiDialog/useHuiDialog.d.ts +18 -0
  164. package/types/hooks/useHuiFormDialog/formDialogPropsDef.d.ts +3 -0
  165. package/types/hooks/useHuiFormDialog/type.d.ts +90 -0
  166. package/types/hooks/useHuiFormDialog/useHuiFormDialog.d.ts +32 -0
  167. package/types/index.d.ts +13 -0
  168. package/types/install-helper/install.d.ts +18 -0
  169. package/types/install-helper/typescript.d.ts +14 -0
  170. package/types/utils/hui-rules.d.ts +80 -0
  171. package/types/utils/hui-tool/index.d.ts +8 -0
  172. package/types/utils/hui-tool/message-box/index.d.ts +18 -0
  173. package/types/utils/hui-tool/message-box/message-box.vue.d.ts +36 -0
  174. package/types/utils/hui-tool/msg-tool.d.ts +26 -0
  175. package/types/utils/index.d.ts +2 -0
@@ -0,0 +1,133 @@
1
+ import { SFCWithInstall } from '../../install-helper/typescript';
2
+ import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
3
+ /**
4
+ * 行编辑popover
5
+ */
6
+ export declare const HuiLineEditPopover: SFCWithInstall<{
7
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
8
+ row: PropType<{
9
+ [key: string]: string;
10
+ }>;
11
+ width: {
12
+ type: PropType<number>;
13
+ required: true;
14
+ default: number;
15
+ };
16
+ disabled: {
17
+ type: PropType<boolean>;
18
+ required: true;
19
+ default: boolean;
20
+ };
21
+ baseClass: {
22
+ type: PropType<string>;
23
+ required: true;
24
+ default: string;
25
+ };
26
+ rules: {
27
+ type: PropType<any>;
28
+ };
29
+ field: {
30
+ type: PropType<string>;
31
+ required: true;
32
+ };
33
+ }>> & Readonly<{
34
+ onConfirm?: (row: {
35
+ [key: string]: string;
36
+ }) => any;
37
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
38
+ confirm: (row: {
39
+ [key: string]: string;
40
+ }) => void;
41
+ }, PublicProps, {
42
+ width: number;
43
+ disabled: boolean;
44
+ baseClass: string;
45
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
46
+ P: {};
47
+ B: {};
48
+ D: {};
49
+ C: {};
50
+ M: {};
51
+ Defaults: {};
52
+ }, Readonly< ExtractPropTypes<{
53
+ row: PropType<{
54
+ [key: string]: string;
55
+ }>;
56
+ width: {
57
+ type: PropType<number>;
58
+ required: true;
59
+ default: number;
60
+ };
61
+ disabled: {
62
+ type: PropType<boolean>;
63
+ required: true;
64
+ default: boolean;
65
+ };
66
+ baseClass: {
67
+ type: PropType<string>;
68
+ required: true;
69
+ default: string;
70
+ };
71
+ rules: {
72
+ type: PropType<any>;
73
+ };
74
+ field: {
75
+ type: PropType<string>;
76
+ required: true;
77
+ };
78
+ }>> & Readonly<{
79
+ onConfirm?: (row: {
80
+ [key: string]: string;
81
+ }) => any;
82
+ }>, {}, {}, {}, {}, {
83
+ width: number;
84
+ disabled: boolean;
85
+ baseClass: string;
86
+ }>;
87
+ __isFragment?: never;
88
+ __isTeleport?: never;
89
+ __isSuspense?: never;
90
+ } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
91
+ row: PropType<{
92
+ [key: string]: string;
93
+ }>;
94
+ width: {
95
+ type: PropType<number>;
96
+ required: true;
97
+ default: number;
98
+ };
99
+ disabled: {
100
+ type: PropType<boolean>;
101
+ required: true;
102
+ default: boolean;
103
+ };
104
+ baseClass: {
105
+ type: PropType<string>;
106
+ required: true;
107
+ default: string;
108
+ };
109
+ rules: {
110
+ type: PropType<any>;
111
+ };
112
+ field: {
113
+ type: PropType<string>;
114
+ required: true;
115
+ };
116
+ }>> & Readonly<{
117
+ onConfirm?: (row: {
118
+ [key: string]: string;
119
+ }) => any;
120
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
121
+ confirm: (row: {
122
+ [key: string]: string;
123
+ }) => void;
124
+ }, string, {
125
+ width: number;
126
+ disabled: boolean;
127
+ baseClass: string;
128
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
129
+ $slots: {
130
+ default?(_: {}): any;
131
+ };
132
+ })> & Record<string, any>;
133
+ export default HuiLineEditPopover;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * HuiLineEditPopover 需要的props参数
3
+ */
4
+ export interface HuiLineEditPopoverPropsType {
5
+ /** 修改的字段名 */
6
+ field: string;
7
+ /** popover 宽度 */
8
+ width: number;
9
+ /** 列表中显示内容的样式 */
10
+ baseClass: string;
11
+ /** 禁用 */
12
+ disabled: boolean;
13
+ /** 输入规则, input 类有效 */
14
+ rules?: any;
15
+ }
16
+ /**
17
+ * HuiLineEditPopover emit事件
18
+ */
19
+ export type HuiLineEditPopoverEmitType = {
20
+ confirm: [row: {
21
+ [key: string]: string;
22
+ }];
23
+ };
@@ -0,0 +1,31 @@
1
+ import { HuiPreviewRichTextDialogPropsType } from './type';
2
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
+
4
+ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiPreviewRichTextDialogPropsType>, {
5
+ title: string;
6
+ }>>, {
7
+ open: (dataId?: string, info?: {}) => void;
8
+ close: () => void;
9
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiPreviewRichTextDialogPropsType>, {
10
+ title: string;
11
+ }>>> & Readonly<{}>, {
12
+ title: string;
13
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
14
+ export default _default;
15
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
+ type __VLS_TypePropsToRuntimeProps<T> = {
17
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
18
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
19
+ } : {
20
+ type: PropType<T[K]>;
21
+ required: true;
22
+ };
23
+ };
24
+ type __VLS_WithDefaults<P, D> = {
25
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
26
+ default: D[K];
27
+ }> : P[K];
28
+ };
29
+ type __VLS_Prettify<T> = {
30
+ [K in keyof T]: T[K];
31
+ } & {};
@@ -0,0 +1,22 @@
1
+ import { SFCWithInstall } from '../../install-helper/typescript';
2
+ import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ /**
4
+ * 富文本预览组件
5
+ */
6
+ export declare const HuiPreviewRichTextDialog: SFCWithInstall<DefineComponent<ExtractPropTypes<{
7
+ title: {
8
+ type: PropType<string>;
9
+ default: string;
10
+ };
11
+ }>, {
12
+ open: (dataId?: string, info?: {}) => void;
13
+ close: () => void;
14
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
15
+ title: {
16
+ type: PropType<string>;
17
+ default: string;
18
+ };
19
+ }>> & Readonly<{}>, {
20
+ title: string;
21
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
22
+ export default HuiPreviewRichTextDialog;
@@ -0,0 +1,4 @@
1
+ export interface HuiPreviewRichTextDialogPropsType {
2
+ /** 弹窗的标题 */
3
+ title?: string;
4
+ }
@@ -0,0 +1,53 @@
1
+ import { HuiRegionTreeDialogPropsType } from './type';
2
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
+
4
+ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiRegionTreeDialogPropsType>, {
5
+ accordion: boolean;
6
+ nodeKey: string;
7
+ treeLabelKey: string;
8
+ isConfirmClose: boolean;
9
+ showCheckbox: boolean;
10
+ }>>, {
11
+ open: (dataId?: string, info?: {}) => void;
12
+ close: () => void;
13
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
+ onSubmit: (region: {
15
+ id: string;
16
+ regionList: any[];
17
+ }) => void;
18
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiRegionTreeDialogPropsType>, {
19
+ accordion: boolean;
20
+ nodeKey: string;
21
+ treeLabelKey: string;
22
+ isConfirmClose: boolean;
23
+ showCheckbox: boolean;
24
+ }>>> & Readonly<{
25
+ onOnSubmit?: (region: {
26
+ id: string;
27
+ regionList: any[];
28
+ }) => any;
29
+ }>, {
30
+ accordion: boolean;
31
+ nodeKey: string;
32
+ treeLabelKey: string;
33
+ isConfirmClose: boolean;
34
+ showCheckbox: boolean;
35
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
36
+ export default _default;
37
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
+ type __VLS_TypePropsToRuntimeProps<T> = {
39
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
40
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
41
+ } : {
42
+ type: PropType<T[K]>;
43
+ required: true;
44
+ };
45
+ };
46
+ type __VLS_WithDefaults<P, D> = {
47
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
48
+ default: D[K];
49
+ }> : P[K];
50
+ };
51
+ type __VLS_Prettify<T> = {
52
+ [K in keyof T]: T[K];
53
+ } & {};
@@ -0,0 +1,68 @@
1
+ import { SFCWithInstall } from '../../install-helper/typescript';
2
+ import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ /**
4
+ * 地区选择弹窗
5
+ */
6
+ export declare const HuiRegionTreeDialog: SFCWithInstall<DefineComponent<ExtractPropTypes<{
7
+ accordion: {
8
+ type: PropType<boolean>;
9
+ default: boolean;
10
+ };
11
+ nodeKey: {
12
+ type: PropType<string>;
13
+ default: string;
14
+ };
15
+ treeLabelKey: {
16
+ type: PropType<string>;
17
+ default: string;
18
+ };
19
+ isConfirmClose: {
20
+ type: PropType<boolean>;
21
+ default: boolean;
22
+ };
23
+ showCheckbox: {
24
+ type: PropType<boolean>;
25
+ default: boolean;
26
+ };
27
+ }>, {
28
+ open: (dataId?: string, info?: {}) => void;
29
+ close: () => void;
30
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
31
+ onSubmit: (region: {
32
+ id: string;
33
+ regionList: any[];
34
+ }) => void;
35
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
36
+ accordion: {
37
+ type: PropType<boolean>;
38
+ default: boolean;
39
+ };
40
+ nodeKey: {
41
+ type: PropType<string>;
42
+ default: string;
43
+ };
44
+ treeLabelKey: {
45
+ type: PropType<string>;
46
+ default: string;
47
+ };
48
+ isConfirmClose: {
49
+ type: PropType<boolean>;
50
+ default: boolean;
51
+ };
52
+ showCheckbox: {
53
+ type: PropType<boolean>;
54
+ default: boolean;
55
+ };
56
+ }>> & Readonly<{
57
+ onOnSubmit?: (region: {
58
+ id: string;
59
+ regionList: any[];
60
+ }) => any;
61
+ }>, {
62
+ accordion: boolean;
63
+ nodeKey: string;
64
+ treeLabelKey: string;
65
+ isConfirmClose: boolean;
66
+ showCheckbox: boolean;
67
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
68
+ export default HuiRegionTreeDialog;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * HuiRegionTreeDialog 需要的props参数
3
+ */
4
+ export interface HuiRegionTreeDialogPropsType {
5
+ /** 是否每次只打开一个同级树节点展开 */
6
+ accordion?: boolean;
7
+ /** 每个树节点用来作为唯一标识的属性 */
8
+ nodeKey?: string;
9
+ /** 树label对应的key */
10
+ treeLabelKey?: string;
11
+ /** 提交时是否关闭弹窗 */
12
+ isConfirmClose?: boolean;
13
+ /** 是否显示选择框 */
14
+ showCheckbox?: boolean;
15
+ }
16
+ /**
17
+ * HuiRegionTreeDialog emit事件
18
+ */
19
+ export type HuiRegionTreePopoverEmitType = {
20
+ onSubmit: [region: {
21
+ id: string;
22
+ regionList: any[];
23
+ }];
24
+ };
@@ -0,0 +1,25 @@
1
+ import { DefineComponent, ExtractPropTypes, PropType, ModelRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<ExtractPropTypes<{
3
+ modelValue: PropType<string | string[]>;
4
+ treeData: {
5
+ type: PropType<any[]>;
6
+ };
7
+ disabledRegions: {
8
+ type: PropType<string[]>;
9
+ default: () => any[];
10
+ };
11
+ }>, {
12
+ selectedRegions: ModelRef<string | string[], string, string | string[], string | string[]>;
13
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
14
+ modelValue: PropType<string | string[]>;
15
+ treeData: {
16
+ type: PropType<any[]>;
17
+ };
18
+ disabledRegions: {
19
+ type: PropType<string[]>;
20
+ default: () => any[];
21
+ };
22
+ }>> & Readonly<{}>, {
23
+ disabledRegions: string[];
24
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
25
+ export default _default;
@@ -0,0 +1,29 @@
1
+ import { SFCWithInstall } from '../../install-helper/typescript';
2
+ import { DefineComponent, ExtractPropTypes, PropType, ModelRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ /**
4
+ * 地区树select
5
+ */
6
+ export declare const HuiRegionTreeSelect: SFCWithInstall<DefineComponent<ExtractPropTypes<{
7
+ modelValue: PropType<string | string[]>;
8
+ treeData: {
9
+ type: PropType<any[]>;
10
+ };
11
+ disabledRegions: {
12
+ type: PropType<string[]>;
13
+ default: () => any[];
14
+ };
15
+ }>, {
16
+ selectedRegions: ModelRef<string | string[], string, string | string[], string | string[]>;
17
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
18
+ modelValue: PropType<string | string[]>;
19
+ treeData: {
20
+ type: PropType<any[]>;
21
+ };
22
+ disabledRegions: {
23
+ type: PropType<string[]>;
24
+ default: () => any[];
25
+ };
26
+ }>> & Readonly<{}>, {
27
+ disabledRegions: string[];
28
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
29
+ export default HuiRegionTreeSelect;
@@ -0,0 +1,6 @@
1
+ export interface treeSelectProps {
2
+ /** 数据结构 如果有传入则渲染传入 没有则渲染全部区县 */
3
+ treeData?: any[];
4
+ /** 禁用列表 */
5
+ disabledRegions?: string[];
6
+ }
@@ -0,0 +1,14 @@
1
+ import { HuiSelectLoadStatusPropsType } from './type';
2
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
+
4
+ declare const _default: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<HuiSelectLoadStatusPropsType>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<HuiSelectLoadStatusPropsType>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
5
+ export default _default;
6
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
+ type __VLS_TypePropsToRuntimeProps<T> = {
8
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
9
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
10
+ } : {
11
+ type: PropType<T[K]>;
12
+ required: true;
13
+ };
14
+ };
@@ -0,0 +1,33 @@
1
+ import { SFCWithInstall } from '../../install-helper/typescript';
2
+ import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ /**
4
+ * select下来加载状态组件
5
+ */
6
+ export declare const HuiSelectLoadStatus: SFCWithInstall<DefineComponent<ExtractPropTypes<{
7
+ loading: {
8
+ type: PropType<boolean>;
9
+ required: true;
10
+ };
11
+ length: {
12
+ type: PropType<number>;
13
+ required: true;
14
+ };
15
+ leave: {
16
+ type: PropType<number>;
17
+ required: true;
18
+ };
19
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
20
+ loading: {
21
+ type: PropType<boolean>;
22
+ required: true;
23
+ };
24
+ length: {
25
+ type: PropType<number>;
26
+ required: true;
27
+ };
28
+ leave: {
29
+ type: PropType<number>;
30
+ required: true;
31
+ };
32
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
33
+ export default HuiSelectLoadStatus;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * HuiSelectLoadStatus 需要的props参数
3
+ */
4
+ export interface HuiSelectLoadStatusPropsType {
5
+ /** loading状态 */
6
+ loading: boolean;
7
+ /** 显示options数据的length */
8
+ length: number;
9
+ /** 剩余的条数 */
10
+ leave: number;
11
+ }
@@ -0,0 +1,37 @@
1
+ import { HuiShowUrlDialogPropsType } from './type';
2
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
+
4
+ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiShowUrlDialogPropsType>, {
5
+ title: string;
6
+ width: string;
7
+ height: string;
8
+ }>>, {
9
+ open: (dataId?: string, info?: {}) => void;
10
+ close: () => void;
11
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiShowUrlDialogPropsType>, {
12
+ title: string;
13
+ width: string;
14
+ height: string;
15
+ }>>> & Readonly<{}>, {
16
+ title: string;
17
+ width: string;
18
+ height: string;
19
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
20
+ export default _default;
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToRuntimeProps<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
30
+ type __VLS_WithDefaults<P, D> = {
31
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
+ default: D[K];
33
+ }> : P[K];
34
+ };
35
+ type __VLS_Prettify<T> = {
36
+ [K in keyof T]: T[K];
37
+ } & {};
@@ -0,0 +1,40 @@
1
+ import { SFCWithInstall } from '../../install-helper/typescript';
2
+ import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ /**
4
+ * 链接预览弹窗
5
+ */
6
+ export declare const HuiShowUrlDialog: SFCWithInstall<DefineComponent<ExtractPropTypes<{
7
+ title: {
8
+ type: PropType<string>;
9
+ default: string;
10
+ };
11
+ width: {
12
+ type: PropType<string>;
13
+ default: string;
14
+ };
15
+ height: {
16
+ type: PropType<string>;
17
+ default: string;
18
+ };
19
+ }>, {
20
+ open: (dataId?: string, info?: {}) => void;
21
+ close: () => void;
22
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
23
+ title: {
24
+ type: PropType<string>;
25
+ default: string;
26
+ };
27
+ width: {
28
+ type: PropType<string>;
29
+ default: string;
30
+ };
31
+ height: {
32
+ type: PropType<string>;
33
+ default: string;
34
+ };
35
+ }>> & Readonly<{}>, {
36
+ title: string;
37
+ width: string;
38
+ height: string;
39
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
40
+ export default HuiShowUrlDialog;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * HuiShowUrlDialog 需要的props参数
3
+ */
4
+ export interface HuiShowUrlDialogPropsType {
5
+ /** 弹窗的标题 */
6
+ title?: string;
7
+ /** 宽度 */
8
+ width?: string;
9
+ /** 高度 */
10
+ height?: string;
11
+ }
@@ -0,0 +1,44 @@
1
+ import { HuiStringArrayInputDialogPropsType } from './type';
2
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
3
+
4
+ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiStringArrayInputDialogPropsType>, {
5
+ title: string;
6
+ label: string;
7
+ placeholder: string;
8
+ tips: boolean;
9
+ }>>, {
10
+ open: (dataId?: string, info?: {}) => void;
11
+ close: () => void;
12
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
13
+ onSubmit: (id: string, info: string) => void;
14
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<HuiStringArrayInputDialogPropsType>, {
15
+ title: string;
16
+ label: string;
17
+ placeholder: string;
18
+ tips: boolean;
19
+ }>>> & Readonly<{
20
+ onOnSubmit?: (id: string, info: string) => any;
21
+ }>, {
22
+ label: string;
23
+ title: string;
24
+ placeholder: string;
25
+ tips: boolean;
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
+ } & {};