zjh-web-ui 1.0.10 → 1.0.12

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 (126) hide show
  1. package/README.md +1 -1
  2. package/config/resolver.js +1 -1
  3. package/dist/components/HuiAMapMassMarkers/HuiAMapMassMarkers.vue.js +23 -23
  4. package/dist/components/HuiAMapSearchAddress/HuiAMapSearchAddress.vue.js +2 -2
  5. package/dist/components/HuiAMapSearchAddress/HuiAMapSearchAddress.vue2.js +27 -27
  6. package/dist/components/HuiAMapSearchAddressDialog/HuiAMapSearchAddressDialog.vue.js +38 -38
  7. package/dist/components/HuiAMapSelectAddress/HuiAMapSelectAddress.vue.js +2 -2
  8. package/dist/components/HuiAMapSelectAddress/HuiAMapSelectAddress.vue2.js +80 -80
  9. package/dist/components/HuiAMapSelectAddressDialog/HuiAMapSelectAddressDialog.vue.js +23 -23
  10. package/dist/components/HuiCountDownButton/HuiCountDownButton.vue.js +14 -14
  11. package/dist/components/HuiDataView/HuiDataView.vue2.js +37 -37
  12. package/dist/components/HuiGridForm/HuiGridForm.vue.js +2 -2
  13. package/dist/components/HuiGridForm/HuiGridForm.vue2.js +103 -103
  14. package/dist/components/HuiGridForm/HuiGridFormHooks.js +1 -1
  15. package/dist/components/HuiLineEditDialog/HuiLineEditDialog.vue2.js +69 -69
  16. package/dist/components/HuiLineEditPopover/HuiLineEditPopover.vue2.js +47 -47
  17. package/dist/components/HuiPreviewRichTextDialog/HuiPreviewRichTextDialog.vue.js +21 -21
  18. package/dist/components/HuiRegionTreeDialog/HuiRegionTreeDialog.vue.js +49 -49
  19. package/dist/components/HuiRegionTreeSelect/HuiRegionTreeSelect.vue.js +2 -2
  20. package/dist/components/HuiRegionTreeSelect/HuiRegionTreeSelect.vue2.js +3 -3
  21. package/dist/components/HuiSelectLoadStatus/HuiSelectLoadStatus.vue.js +14 -14
  22. package/dist/components/HuiShowUrlDialog/HuiShowUrlDialog.vue.js +18 -18
  23. package/dist/components/HuiStringArrayInputDialog/HuiStringArrayInputDialog.vue.js +50 -50
  24. package/dist/components/HuiTags/HuiTags.vue2.js +9 -9
  25. package/dist/components/HuiTagsMore/HuiTagsMore.vue.js +12 -16
  26. package/dist/components/HuiTinymce/HuiTinymce.vue.js +10 -10
  27. package/dist/components/HuiTinymce/HuiTinymceLinkHooks.js +1 -1
  28. package/dist/components/HuiTinymce/HuiTinymceSettingHooks.js +1 -1
  29. package/dist/components/HuiTinymceDialog/HuiTinymceDialog.vue.js +43 -43
  30. package/dist/components/HuiTip/HuiTip.vue.js +15 -15
  31. package/dist/hooks/useHuiFormDialog/useHuiFormDialog.js +1 -1
  32. package/dist/index.d.ts +2116 -0
  33. package/dist/style.css +1 -1
  34. package/dist/utils/hui-rules.js +1 -1
  35. package/dist/utils/hui-tool/message-box/index.js +7 -7
  36. package/dist/utils/hui-tool/message-box/message-box.vue2.js +112 -0
  37. package/dist/utils/hui-tool/message-box/message-box.vue3.js +2 -2
  38. package/global.d.ts +21 -21
  39. package/package.json +2 -2
  40. package/src/css/common-font.scss +3 -3
  41. package/types/index.d.ts +2115 -12
  42. package/dist/utils/hui-tool/message-box/message-box.vue.js +0 -112
  43. package/types/components/AMapConfig.d.ts +0 -2
  44. package/types/components/HuiAMapMassMarkers/HuiAMapMassMarkers.vue.d.ts +0 -105
  45. package/types/components/HuiAMapMassMarkers/index.d.ts +0 -107
  46. package/types/components/HuiAMapMassMarkers/type.d.ts +0 -58
  47. package/types/components/HuiAMapSearchAddress/HuiAMapSearchAddress.vue.d.ts +0 -76
  48. package/types/components/HuiAMapSearchAddress/index.d.ts +0 -77
  49. package/types/components/HuiAMapSearchAddress/type.d.ts +0 -19
  50. package/types/components/HuiAMapSearchAddressDialog/HuiAMapSearchAddressDialog.vue.d.ts +0 -38
  51. package/types/components/HuiAMapSearchAddressDialog/index.d.ts +0 -71
  52. package/types/components/HuiAMapSearchAddressDialog/type.d.ts +0 -17
  53. package/types/components/HuiAMapSelectAddress/HuiAMapSelectAddress.vue.d.ts +0 -76
  54. package/types/components/HuiAMapSelectAddress/index.d.ts +0 -77
  55. package/types/components/HuiAMapSelectAddress/type.d.ts +0 -19
  56. package/types/components/HuiAMapSelectAddressDialog/HuiAMapSelectAddressDialog.vue.d.ts +0 -38
  57. package/types/components/HuiAMapSelectAddressDialog/index.d.ts +0 -71
  58. package/types/components/HuiAMapSelectAddressDialog/type.d.ts +0 -17
  59. package/types/components/HuiCountDownButton/HuiCountDownButton.vue.d.ts +0 -44
  60. package/types/components/HuiCountDownButton/index.d.ts +0 -76
  61. package/types/components/HuiCountDownButton/type.d.ts +0 -20
  62. package/types/components/HuiDataView/HuiDataView.vue.d.ts +0 -60
  63. package/types/components/HuiDataView/index.d.ts +0 -109
  64. package/types/components/HuiDataView/type.d.ts +0 -49
  65. package/types/components/HuiGridForm/HuiGridForm.vue.d.ts +0 -77
  66. package/types/components/HuiGridForm/HuiGridFormHooks.d.ts +0 -4
  67. package/types/components/HuiGridForm/index.d.ts +0 -175
  68. package/types/components/HuiGridForm/type.d.ts +0 -67
  69. package/types/components/HuiLineEditDialog/HuiLineEditDialog.vue.d.ts +0 -75
  70. package/types/components/HuiLineEditDialog/index.d.ts +0 -173
  71. package/types/components/HuiLineEditDialog/type.d.ts +0 -86
  72. package/types/components/HuiLineEditPopover/HuiLineEditPopover.vue.d.ts +0 -74
  73. package/types/components/HuiLineEditPopover/index.d.ts +0 -133
  74. package/types/components/HuiLineEditPopover/type.d.ts +0 -23
  75. package/types/components/HuiPreviewRichTextDialog/HuiPreviewRichTextDialog.vue.d.ts +0 -31
  76. package/types/components/HuiPreviewRichTextDialog/index.d.ts +0 -22
  77. package/types/components/HuiPreviewRichTextDialog/type.d.ts +0 -4
  78. package/types/components/HuiRegionTreeDialog/HuiRegionTreeDialog.vue.d.ts +0 -53
  79. package/types/components/HuiRegionTreeDialog/index.d.ts +0 -68
  80. package/types/components/HuiRegionTreeDialog/type.d.ts +0 -24
  81. package/types/components/HuiRegionTreeSelect/HuiRegionTreeSelect.vue.d.ts +0 -25
  82. package/types/components/HuiRegionTreeSelect/index.d.ts +0 -29
  83. package/types/components/HuiRegionTreeSelect/type.d.ts +0 -6
  84. package/types/components/HuiSelectLoadStatus/HuiSelectLoadStatus.vue.d.ts +0 -14
  85. package/types/components/HuiSelectLoadStatus/index.d.ts +0 -33
  86. package/types/components/HuiSelectLoadStatus/type.d.ts +0 -11
  87. package/types/components/HuiShowUrlDialog/HuiShowUrlDialog.vue.d.ts +0 -37
  88. package/types/components/HuiShowUrlDialog/index.d.ts +0 -40
  89. package/types/components/HuiShowUrlDialog/type.d.ts +0 -11
  90. package/types/components/HuiStringArrayInputDialog/HuiStringArrayInputDialog.vue.d.ts +0 -44
  91. package/types/components/HuiStringArrayInputDialog/index.d.ts +0 -67
  92. package/types/components/HuiStringArrayInputDialog/type.d.ts +0 -33
  93. package/types/components/HuiTags/HuiTags.vue.d.ts +0 -37
  94. package/types/components/HuiTags/index.d.ts +0 -36
  95. package/types/components/HuiTagsMore/HuiTagsMore.vue.d.ts +0 -93
  96. package/types/components/HuiTagsMore/index.d.ts +0 -92
  97. package/types/components/HuiTinymce/HuiTinymce.vue.d.ts +0 -62
  98. package/types/components/HuiTinymce/HuiTinymceLinkHooks.d.ts +0 -3
  99. package/types/components/HuiTinymce/HuiTinymceSettingHooks.d.ts +0 -3
  100. package/types/components/HuiTinymce/index.d.ts +0 -66
  101. package/types/components/HuiTinymce/type.d.ts +0 -51
  102. package/types/components/HuiTinymceDialog/HuiTinymceDialog.vue.d.ts +0 -53
  103. package/types/components/HuiTinymceDialog/index.d.ts +0 -78
  104. package/types/components/HuiTinymceDialog/type.d.ts +0 -12
  105. package/types/components/HuiTip/HuiTip.vue.d.ts +0 -22
  106. package/types/components/HuiTip/index.d.ts +0 -99
  107. package/types/components/HuiTip/type.d.ts +0 -14
  108. package/types/components-install-list.d.ts +0 -3328
  109. package/types/components.d.ts +0 -21
  110. package/types/delegate.d.ts +0 -41
  111. package/types/directives/index.d.ts +0 -4
  112. package/types/directives/install-loadmore.d.ts +0 -7
  113. package/types/directives/select-loadmore.d.ts +0 -7
  114. package/types/hooks/index.d.ts +0 -3
  115. package/types/hooks/useHuiDialog/useHuiDialog.d.ts +0 -18
  116. package/types/hooks/useHuiFormDialog/formDialogPropsDef.d.ts +0 -3
  117. package/types/hooks/useHuiFormDialog/type.d.ts +0 -90
  118. package/types/hooks/useHuiFormDialog/useHuiFormDialog.d.ts +0 -32
  119. package/types/install-helper/install.d.ts +0 -18
  120. package/types/install-helper/typescript.d.ts +0 -14
  121. package/types/utils/hui-rules.d.ts +0 -80
  122. package/types/utils/hui-tool/index.d.ts +0 -8
  123. package/types/utils/hui-tool/message-box/index.d.ts +0 -18
  124. package/types/utils/hui-tool/message-box/message-box.vue.d.ts +0 -36
  125. package/types/utils/hui-tool/msg-tool.d.ts +0 -26
  126. package/types/utils/index.d.ts +0 -2
@@ -1,44 +0,0 @@
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
- } & {};
@@ -1,67 +0,0 @@
1
- import { SFCWithInstall } from '../../install-helper/typescript';
2
- import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- import { Arrayable } from 'element-plus/es/utils';
4
- import { FormItemRule } from 'element-plus';
5
- /**
6
- * 逗号分割字符串输入对话框
7
- */
8
- export declare const HuiStringArrayInputDialog: SFCWithInstall<DefineComponent<ExtractPropTypes<{
9
- label: {
10
- type: PropType<string>;
11
- required: true;
12
- default: string;
13
- };
14
- title: {
15
- type: PropType<string>;
16
- required: true;
17
- default: string;
18
- };
19
- placeholder: {
20
- type: PropType<string>;
21
- required: true;
22
- default: string;
23
- };
24
- rules: {
25
- type: PropType<Arrayable<FormItemRule>>;
26
- };
27
- tips: {
28
- type: PropType<boolean>;
29
- default: boolean;
30
- };
31
- }>, {
32
- open: (dataId?: string, info?: {}) => void;
33
- close: () => void;
34
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
35
- onSubmit: (id: string, info: string) => void;
36
- }, string, PublicProps, Readonly< ExtractPropTypes<{
37
- label: {
38
- type: PropType<string>;
39
- required: true;
40
- default: string;
41
- };
42
- title: {
43
- type: PropType<string>;
44
- required: true;
45
- default: string;
46
- };
47
- placeholder: {
48
- type: PropType<string>;
49
- required: true;
50
- default: string;
51
- };
52
- rules: {
53
- type: PropType<Arrayable<FormItemRule>>;
54
- };
55
- tips: {
56
- type: PropType<boolean>;
57
- default: boolean;
58
- };
59
- }>> & Readonly<{
60
- onOnSubmit?: (id: string, info: string) => any;
61
- }>, {
62
- label: string;
63
- title: string;
64
- placeholder: string;
65
- tips: boolean;
66
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
67
- export default HuiStringArrayInputDialog;
@@ -1,33 +0,0 @@
1
- import { FormItemRule, FormRules } from 'element-plus';
2
- import { Arrayable } from 'element-plus/es/utils';
3
-
4
- export interface HuiStringArrayInputDialogForm {
5
- /** 输入框内容 */
6
- inputInfo: string;
7
- }
8
- /**
9
- * 输入框内容校验规则
10
- */
11
- export type HuiStringArrayInputDialogRules = FormRules<HuiStringArrayInputDialogForm>;
12
- /**
13
- * 接受的 props
14
- */
15
- export interface HuiStringArrayInputDialogPropsType {
16
- /** dialog标题 */
17
- title: string;
18
- /** 输入框标题 */
19
- label: string;
20
- /** 输入框提示语 */
21
- placeholder: string;
22
- /** 输入框验证规则 */
23
- rules?: Arrayable<FormItemRule>;
24
- /** 是否显示提示语 */
25
- tips?: boolean;
26
- }
27
- /**
28
- * 抛出的事件
29
- */
30
- export type HuiStringArrayInputDialogEmitType = {
31
- /** 确定按钮点击 */
32
- onSubmit: [id: string, info: string];
33
- };
@@ -1,37 +0,0 @@
1
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
2
- interface TagProps {
3
- /** 标签的文本内容 */
4
- text: string;
5
- /** 标签的类型 必须传这几个 */
6
- tagType?: 'primary' | 'success' | 'warning' | 'danger' | 'info';
7
- /** 当类型的颜色不满足的时候可以传入标签的背景颜色 */
8
- tagClass?: string;
9
- }
10
- declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TagProps>, {
11
- text: string;
12
- tagType: string;
13
- }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TagProps>, {
14
- text: string;
15
- tagType: string;
16
- }>>> & Readonly<{}>, {
17
- text: string;
18
- tagType: "info" | "success" | "warning" | "danger" | "primary";
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
- } & {};
@@ -1,36 +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 HuiTags: SFCWithInstall<DefineComponent<ExtractPropTypes<{
7
- text: {
8
- type: PropType<string>;
9
- required: true;
10
- default: string;
11
- };
12
- tagType: {
13
- type: PropType<"info" | "success" | "warning" | "danger" | "primary">;
14
- default: string;
15
- };
16
- tagClass: {
17
- type: PropType<string>;
18
- };
19
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
20
- text: {
21
- type: PropType<string>;
22
- required: true;
23
- default: string;
24
- };
25
- tagType: {
26
- type: PropType<"info" | "success" | "warning" | "danger" | "primary">;
27
- default: string;
28
- };
29
- tagClass: {
30
- type: PropType<string>;
31
- };
32
- }>> & Readonly<{}>, {
33
- text: string;
34
- tagType: "info" | "success" | "warning" | "danger" | "primary";
35
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
36
- export default HuiTags;
@@ -1,93 +0,0 @@
1
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- export interface TagItem {
3
- k: string;
4
- v: string;
5
- color?: string;
6
- tip?: string;
7
- }
8
- declare const _default: DefineComponent<ExtractPropTypes<{
9
- tagsList: {
10
- type: ArrayConstructor;
11
- default: () => any[];
12
- };
13
- dictObj: {
14
- type: () => TagItem;
15
- default: () => void;
16
- };
17
- showTips: {
18
- type: BooleanConstructor;
19
- default: boolean;
20
- };
21
- width: {
22
- type: NumberConstructor;
23
- default: number;
24
- };
25
- valueKey: {
26
- type: StringConstructor;
27
- default: string;
28
- };
29
- labelKey: {
30
- type: StringConstructor;
31
- default: string;
32
- };
33
- isElTag: {
34
- type: BooleanConstructor;
35
- default: boolean;
36
- };
37
- elTagType: {
38
- type: StringConstructor;
39
- default: string;
40
- };
41
- elTagAttr: {
42
- type: ObjectConstructor;
43
- default: () => {};
44
- };
45
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
46
- tagsList: {
47
- type: ArrayConstructor;
48
- default: () => any[];
49
- };
50
- dictObj: {
51
- type: () => TagItem;
52
- default: () => void;
53
- };
54
- showTips: {
55
- type: BooleanConstructor;
56
- default: boolean;
57
- };
58
- width: {
59
- type: NumberConstructor;
60
- default: number;
61
- };
62
- valueKey: {
63
- type: StringConstructor;
64
- default: string;
65
- };
66
- labelKey: {
67
- type: StringConstructor;
68
- default: string;
69
- };
70
- isElTag: {
71
- type: BooleanConstructor;
72
- default: boolean;
73
- };
74
- elTagType: {
75
- type: StringConstructor;
76
- default: string;
77
- };
78
- elTagAttr: {
79
- type: ObjectConstructor;
80
- default: () => {};
81
- };
82
- }>> & Readonly<{}>, {
83
- width: number;
84
- valueKey: string;
85
- tagsList: unknown[];
86
- dictObj: TagItem;
87
- showTips: boolean;
88
- labelKey: string;
89
- isElTag: boolean;
90
- elTagType: string;
91
- elTagAttr: Record<string, any>;
92
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
93
- export default _default;
@@ -1,92 +0,0 @@
1
- import { SFCWithInstall } from '../../install-helper/typescript';
2
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- import { TagItem } from './HuiTagsMore.vue';
4
- /**
5
- * 标签
6
- */
7
- export declare const HuiTagsMore: SFCWithInstall<DefineComponent<ExtractPropTypes<{
8
- tagsList: {
9
- type: ArrayConstructor;
10
- default: () => any[];
11
- };
12
- dictObj: {
13
- type: () => TagItem;
14
- default: () => void;
15
- };
16
- showTips: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
20
- width: {
21
- type: NumberConstructor;
22
- default: number;
23
- };
24
- valueKey: {
25
- type: StringConstructor;
26
- default: string;
27
- };
28
- labelKey: {
29
- type: StringConstructor;
30
- default: string;
31
- };
32
- isElTag: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- elTagType: {
37
- type: StringConstructor;
38
- default: string;
39
- };
40
- elTagAttr: {
41
- type: ObjectConstructor;
42
- default: () => {};
43
- };
44
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
45
- tagsList: {
46
- type: ArrayConstructor;
47
- default: () => any[];
48
- };
49
- dictObj: {
50
- type: () => TagItem;
51
- default: () => void;
52
- };
53
- showTips: {
54
- type: BooleanConstructor;
55
- default: boolean;
56
- };
57
- width: {
58
- type: NumberConstructor;
59
- default: number;
60
- };
61
- valueKey: {
62
- type: StringConstructor;
63
- default: string;
64
- };
65
- labelKey: {
66
- type: StringConstructor;
67
- default: string;
68
- };
69
- isElTag: {
70
- type: BooleanConstructor;
71
- default: boolean;
72
- };
73
- elTagType: {
74
- type: StringConstructor;
75
- default: string;
76
- };
77
- elTagAttr: {
78
- type: ObjectConstructor;
79
- default: () => {};
80
- };
81
- }>> & Readonly<{}>, {
82
- width: number;
83
- valueKey: string;
84
- tagsList: unknown[];
85
- dictObj: TagItem;
86
- showTips: boolean;
87
- labelKey: string;
88
- isElTag: boolean;
89
- elTagType: string;
90
- elTagAttr: Record<string, any>;
91
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
92
- export default HuiTagsMore;
@@ -1,62 +0,0 @@
1
- import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- import { HuiTinymceLink } from './type';
3
- declare const _default: DefineComponent<ExtractPropTypes<{
4
- modelValue: PropType<string>;
5
- width: {
6
- type: PropType<string>;
7
- required: true;
8
- default: string;
9
- };
10
- height: {
11
- type: PropType<string | number>;
12
- required: true;
13
- default: string;
14
- };
15
- permission: {
16
- type: PropType<{
17
- code?: "";
18
- checkRight?: () => boolean;
19
- tip?: string;
20
- }>;
21
- };
22
- linkAttribute: {
23
- type: PropType< HuiTinymceLink[]>;
24
- required: true;
25
- default: () => {
26
- title: string;
27
- value: string;
28
- }[];
29
- };
30
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
31
- modelValue: PropType<string>;
32
- width: {
33
- type: PropType<string>;
34
- required: true;
35
- default: string;
36
- };
37
- height: {
38
- type: PropType<string | number>;
39
- required: true;
40
- default: string;
41
- };
42
- permission: {
43
- type: PropType<{
44
- code?: "";
45
- checkRight?: () => boolean;
46
- tip?: string;
47
- }>;
48
- };
49
- linkAttribute: {
50
- type: PropType< HuiTinymceLink[]>;
51
- required: true;
52
- default: () => {
53
- title: string;
54
- value: string;
55
- }[];
56
- };
57
- }>> & Readonly<{}>, {
58
- width: string;
59
- height: string | number;
60
- linkAttribute: HuiTinymceLink[];
61
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
62
- export default _default;
@@ -1,3 +0,0 @@
1
- import { HuiTinymceLinkHooksType } from './type';
2
-
3
- export declare const HuiTinymceLinkHooks: HuiTinymceLinkHooksType;
@@ -1,3 +0,0 @@
1
- import { HuiTinymceSettingHooksType } from './type';
2
-
3
- export declare const HuiTinymceSettingHooks: HuiTinymceSettingHooksType;
@@ -1,66 +0,0 @@
1
- import { SFCWithInstall } from '../../install-helper/typescript';
2
- import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- import { HuiTinymceLink } from './type';
4
- /**
5
- * 富文本编辑弹窗
6
- */
7
- export declare const HuiTinymce: SFCWithInstall<DefineComponent<ExtractPropTypes<{
8
- modelValue: PropType<string>;
9
- width: {
10
- type: PropType<string>;
11
- required: true;
12
- default: string;
13
- };
14
- height: {
15
- type: PropType<string | number>;
16
- required: true;
17
- default: string;
18
- };
19
- permission: {
20
- type: PropType<{
21
- code?: "";
22
- checkRight?: () => boolean;
23
- tip?: string;
24
- }>;
25
- };
26
- linkAttribute: {
27
- type: PropType< HuiTinymceLink[]>;
28
- required: true;
29
- default: () => {
30
- title: string;
31
- value: string;
32
- }[];
33
- };
34
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
35
- modelValue: PropType<string>;
36
- width: {
37
- type: PropType<string>;
38
- required: true;
39
- default: string;
40
- };
41
- height: {
42
- type: PropType<string | number>;
43
- required: true;
44
- default: string;
45
- };
46
- permission: {
47
- type: PropType<{
48
- code?: "";
49
- checkRight?: () => boolean;
50
- tip?: string;
51
- }>;
52
- };
53
- linkAttribute: {
54
- type: PropType< HuiTinymceLink[]>;
55
- required: true;
56
- default: () => {
57
- title: string;
58
- value: string;
59
- }[];
60
- };
61
- }>> & Readonly<{}>, {
62
- width: string;
63
- height: string | number;
64
- linkAttribute: HuiTinymceLink[];
65
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>> & Record<string, any>;
66
- export default HuiTinymce;
@@ -1,51 +0,0 @@
1
- import { ComputedRef } from 'vue';
2
-
3
- /**
4
- * 链接支持的属性
5
- */
6
- export interface HuiTinymceLink {
7
- /** 链接标题 */
8
- title: string;
9
- /** 链接对象的key */
10
- value: string;
11
- }
12
- /**
13
- * HuiTinymce 需要的props参数
14
- */
15
- export interface HuiTinymcePropsType {
16
- /** 宽度 */
17
- width: string;
18
- /** 高度 */
19
- height: string | number;
20
- /**
21
- * 链接属性
22
- * linkAttribute 接收参数的value可以是一个单词,如果是两个单词及以上组成必须用_连接(例:mp_appid)不能使用驼峰
23
- */
24
- linkAttribute: HuiTinymceLink[];
25
- permission?: {
26
- code?: '';
27
- checkRight?: () => boolean;
28
- tip?: string;
29
- };
30
- }
31
- export interface HuiTinymcehooksPayloadBase {
32
- /** props参数 */
33
- props: HuiTinymcePropsType;
34
- /** 链接配置方法 */
35
- linkSetup(editor: any): void;
36
- /** 链接属性 */
37
- linkExpandAttributeStr: ComputedRef<string>;
38
- }
39
- /**
40
- * HuiTinymceSettingHooks 函数
41
- */
42
- export type HuiTinymceSettingHooksType = (settingPayload: HuiTinymcehooksPayloadBase) => {
43
- /** 配置项 */
44
- setting: {
45
- [key: string]: any;
46
- };
47
- };
48
- /**
49
- * HuiTinymceLinkHooks 函数
50
- */
51
- export type HuiTinymceLinkHooksType = (linkPayload: Pick<HuiTinymcehooksPayloadBase, 'props'>) => Omit<HuiTinymcehooksPayloadBase, 'props'>;
@@ -1,53 +0,0 @@
1
- import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
2
- import { HuiTinymcePropsType, HuiTinymceLink } from '../HuiTinymce/type';
3
- declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps< HuiTinymcePropsType>, {
4
- width: string;
5
- height: string;
6
- linkAttribute: () => {
7
- title: string;
8
- value: string;
9
- }[];
10
- permission: () => {};
11
- }>>, {
12
- open: (dataId?: string, info?: {}) => void;
13
- close: () => void;
14
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
15
- onSubmit: (tinymceContent: string, row?: any, field?: string) => void;
16
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps< HuiTinymcePropsType>, {
17
- width: string;
18
- height: string;
19
- linkAttribute: () => {
20
- title: string;
21
- value: string;
22
- }[];
23
- permission: () => {};
24
- }>>> & Readonly<{
25
- onOnSubmit?: (tinymceContent: string, row?: any, field?: string) => any;
26
- }>, {
27
- width: string;
28
- height: string | number;
29
- permission: {
30
- code?: "";
31
- checkRight?: () => boolean;
32
- tip?: string;
33
- };
34
- linkAttribute: HuiTinymceLink[];
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
- } & {};