@dazhicheng/ui 1.6.25 → 1.6.26

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 (130) hide show
  1. package/dist/components/tt-api-component/index.d.ts +35 -24
  2. package/dist/components/tt-api-component/index.vue.d.ts +34 -0
  3. package/dist/components/tt-area/TtArea.vue.d.ts +2 -0
  4. package/dist/components/tt-area/index.d.ts +1 -1
  5. package/dist/components/tt-button/components/AddButton.vue.d.ts +2 -0
  6. package/dist/components/tt-button/index.d.ts +589 -260
  7. package/dist/components/tt-button/index.vue.d.ts +466 -0
  8. package/dist/components/tt-checkbox/index.d.ts +35 -26
  9. package/dist/components/tt-checkbox/index.vue.d.ts +28 -0
  10. package/dist/components/tt-drawer/index.d.ts +299 -306
  11. package/dist/components/tt-drawer/src/{RenderDrawer.d.ts → RenderDrawer.vue.d.ts} +146 -149
  12. package/dist/components/tt-drawer/src/components/{DrawerFooter.d.ts → DrawerFooter.vue.d.ts} +16 -18
  13. package/dist/components/tt-drawer/src/components/{DrawerHeader.d.ts → DrawerHeader.vue.d.ts} +3 -4
  14. package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
  15. package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
  16. package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +2 -4
  17. package/dist/components/tt-empty/index.d.ts +8 -10
  18. package/dist/components/tt-form/src/components/{ExpandableArrow.d.ts → ExpandableArrow.vue.d.ts} +4 -5
  19. package/dist/components/tt-form/src/components/{FormActions.d.ts → FormActions.vue.d.ts} +5 -6
  20. package/dist/components/tt-form/src/components/{FormElInput.d.ts → FormElInput.vue.d.ts} +101 -105
  21. package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
  22. package/dist/components/tt-form/src/form/{FormControl.d.ts → FormControl.vue.d.ts} +1 -2
  23. package/dist/components/tt-form/src/form/{FormDescription.d.ts → FormDescription.vue.d.ts} +1 -2
  24. package/dist/components/tt-form/src/form/{FormItem.d.ts → FormItem.vue.d.ts} +1 -2
  25. package/dist/components/tt-form/src/form/{FormLabel.d.ts → FormLabel.vue.d.ts} +1 -2
  26. package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +2 -0
  27. package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +8 -0
  28. package/dist/components/tt-form/src/form/{FormWarnMessage.d.ts → FormWarnMessage.vue.d.ts} +1 -2
  29. package/dist/components/tt-form/src/form/{RenderContent.d.ts → RenderContent.vue.d.ts} +4 -4
  30. package/dist/components/tt-form/src/form/index.d.ts +8 -8
  31. package/dist/components/tt-form/src/form/useFormField.d.ts +5 -6
  32. package/dist/components/tt-form/src/form-render/{FormField.d.ts → FormField.vue.d.ts} +1 -2
  33. package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
  34. package/dist/components/tt-form/src/form-render/{FormLabel.d.ts → FormLabel.vue.d.ts} +2 -3
  35. package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +11 -14
  36. package/dist/components/tt-form/src/form-render/context.d.ts +4 -5
  37. package/dist/components/tt-form/src/form-render/dependencies.d.ts +6 -7
  38. package/dist/components/tt-form/src/form-render/expandable.d.ts +3 -4
  39. package/dist/components/tt-form/src/form-render/{form.d.ts → form.vue.d.ts} +8 -9
  40. package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
  41. package/dist/components/tt-form/src/formApi.d.ts +3 -3
  42. package/dist/components/tt-form/src/group-form/{GroupForm.d.ts → GroupForm.vue.d.ts} +5 -7
  43. package/dist/components/tt-form/src/group-form/{GroupSection.d.ts → GroupSection.vue.d.ts} +5 -7
  44. package/dist/components/tt-form/src/group-form/{LazyFormField.d.ts → LazyFormField.vue.d.ts} +3 -5
  45. package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +5 -7
  46. package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +2 -3
  47. package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
  48. package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
  49. package/dist/components/tt-form/src/index.vue.d.ts +216 -0
  50. package/dist/components/tt-form/src/useForm.d.ts +1 -2
  51. package/dist/components/tt-form/src/useFormContext.d.ts +1 -2
  52. package/dist/components/tt-form-item-error-tooltip/index.d.ts +337 -61
  53. package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +298 -0
  54. package/dist/components/tt-icon/components/AddIcon.vue.d.ts +7 -0
  55. package/dist/components/tt-icon/components/SubIcon.vue.d.ts +7 -0
  56. package/dist/components/tt-icon/index.d.ts +115 -24
  57. package/dist/components/tt-icon/index.vue.d.ts +32 -0
  58. package/dist/components/tt-image/index.d.ts +41 -45
  59. package/dist/components/tt-image/src/components/ImageViewer.d.ts +26 -30
  60. package/dist/components/tt-image/tt-image.d.ts +34 -36
  61. package/dist/components/tt-loading/index.d.ts +2 -5
  62. package/dist/components/tt-loading/src/loading.vue.d.ts +12 -0
  63. package/dist/components/tt-log/index.d.ts +6 -7
  64. package/dist/components/tt-log/index.vue.d.ts +5 -0
  65. package/dist/components/tt-modal/index.d.ts +364 -371
  66. package/dist/components/tt-modal/src/{RenderModal.d.ts → RenderModal.vue.d.ts} +115 -118
  67. package/dist/components/tt-modal/src/components/{ModalFooter.d.ts → ModalFooter.vue.d.ts} +23 -26
  68. package/dist/components/tt-modal/src/components/{ModalHeader.d.ts → ModalHeader.vue.d.ts} +3 -4
  69. package/dist/components/tt-modal/src/components/{ModalWrapper.d.ts → ModalWrapper.vue.d.ts} +24 -27
  70. package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +29 -32
  71. package/dist/components/tt-modal/src/typing.d.ts +2 -2
  72. package/dist/components/tt-modal/src/utils/modal-api.d.ts +1 -2
  73. package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +2 -3
  74. package/dist/components/tt-modal-form/index.d.ts +2 -46
  75. package/dist/components/tt-modal-form/index.vue.d.ts +45 -0
  76. package/dist/components/tt-modal-form/useModalForm.d.ts +3 -4
  77. package/dist/components/tt-nav-anchor/index.d.ts +12 -15
  78. package/dist/components/tt-nav-anchor/src/{TtNavAnchor.d.ts → TtNavAnchor.vue.d.ts} +4 -4
  79. package/dist/components/tt-panel-select/index.d.ts +1 -1
  80. package/dist/components/tt-panel-select/src/components/{PanelLeft.d.ts → PanelLeft.vue.d.ts} +3 -4
  81. package/dist/components/tt-panel-select/src/components/{PanelMiddle.d.ts → PanelMiddle.vue.d.ts} +80 -83
  82. package/dist/components/tt-panel-select/src/components/{PanelRight.d.ts → PanelRight.vue.d.ts} +32 -34
  83. package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +6 -7
  84. package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
  85. package/dist/components/tt-panel-select/src/{index.d.ts → index.vue.d.ts} +80 -84
  86. package/dist/components/tt-radio-group/index.d.ts +50 -31
  87. package/dist/components/tt-radio-group/index.vue.d.ts +33 -0
  88. package/dist/components/tt-select/index.d.ts +1 -1
  89. package/dist/components/tt-select/src/{Select.d.ts → Select.vue.d.ts} +141 -146
  90. package/dist/components/tt-select/src/components/{SelectTable.d.ts → SelectTable.vue.d.ts} +36 -40
  91. package/dist/components/tt-select/src/components/{Table.d.ts → Table.vue.d.ts} +38 -41
  92. package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
  93. package/dist/components/tt-select/src/hooks/usePagination.d.ts +3 -4
  94. package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
  95. package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
  96. package/dist/components/tt-table/index.d.ts +279 -287
  97. package/dist/components/tt-table/src/{Table.d.ts → Table.vue.d.ts} +204 -209
  98. package/dist/components/tt-table/src/{TableForm.d.ts → TableForm.vue.d.ts} +80 -83
  99. package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
  100. package/dist/components/tt-table/src/components/{TableAction.d.ts → TableAction.vue.d.ts} +4 -4
  101. package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
  102. package/dist/components/tt-table/src/components/{TableColumnModal.d.ts → TableColumnModal.vue.d.ts} +4 -5
  103. package/dist/components/tt-table/src/components/{TableToolbarTools.d.ts → TableToolbarTools.vue.d.ts} +6 -7
  104. package/dist/components/tt-table/src/hooks/useColumns.d.ts +44 -45
  105. package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
  106. package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
  107. package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
  108. package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +110 -112
  109. package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
  110. package/dist/components/tt-table/src/props.d.ts +17 -19
  111. package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
  112. package/dist/components/tt-table/src/utils/table-form-api.d.ts +1 -2
  113. package/dist/components/tt-text/index.d.ts +59 -34
  114. package/dist/components/tt-text/index.vue.d.ts +50 -0
  115. package/dist/components/tt-upload/index.d.ts +311 -317
  116. package/dist/components/tt-upload/src/TtUpload.vue.d.ts +517 -0
  117. package/dist/components/tt-upload/src/typing.d.ts +47 -49
  118. package/dist/hooks/useLoading.d.ts +2 -2
  119. package/dist/hooks/useScreenshotOss.d.ts +2 -2
  120. package/dist/index.d.ts +1 -2
  121. package/package.json +3 -3
  122. package/dist/components/tt-area/TtArea.d.ts +0 -3
  123. package/dist/components/tt-button/components/AddButton.d.ts +0 -3
  124. package/dist/components/tt-form/src/form/FormMessage.d.ts +0 -3
  125. package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +0 -9
  126. package/dist/components/tt-form/src/index.d.ts +0 -217
  127. package/dist/components/tt-icon/components/AddIcon.d.ts +0 -8
  128. package/dist/components/tt-icon/components/SubIcon.d.ts +0 -8
  129. package/dist/components/tt-loading/src/loading.d.ts +0 -13
  130. package/dist/components/tt-upload/src/TtUpload.d.ts +0 -519
@@ -0,0 +1,298 @@
1
+ import { PropType, Ref, nextTick } from 'vue';
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ /** 错误信息 */
4
+ errMsg: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ /** 挂载的DOM */
9
+ refDom: {
10
+ type: PropType<HTMLElement | null>;
11
+ default: () => null;
12
+ };
13
+ /** 显示的位置 enum */
14
+ placement: {
15
+ type: PropType<any>;
16
+ default: string;
17
+ };
18
+ /** 字段名称(用于 E2E 测试定位) */
19
+ fieldName: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
24
+ /** 错误信息 */
25
+ errMsg: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ /** 挂载的DOM */
30
+ refDom: {
31
+ type: PropType<HTMLElement | null>;
32
+ default: () => null;
33
+ };
34
+ /** 显示的位置 enum */
35
+ placement: {
36
+ type: PropType<any>;
37
+ default: string;
38
+ };
39
+ /** 字段名称(用于 E2E 测试定位) */
40
+ fieldName: {
41
+ type: StringConstructor;
42
+ default: string;
43
+ };
44
+ }>> & Readonly<{}>, {
45
+ placement: any;
46
+ fieldName: string;
47
+ errMsg: string;
48
+ refDom: HTMLElement | null;
49
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
50
+ tooltipRef: ({
51
+ $: import('vue').ComponentInternalInstance;
52
+ $data: {};
53
+ $props: {
54
+ readonly showArrow?: boolean | undefined;
55
+ readonly "onUpdate:visible"?: (((value: boolean) => void) & ((...args: any[]) => any)) | undefined;
56
+ readonly role?: ("dialog" | "menu" | "grid" | "group" | "listbox" | "navigation" | "tooltip" | "tree") | undefined;
57
+ readonly appendTo?: (string | HTMLElement) | undefined;
58
+ readonly content?: string | undefined;
59
+ readonly rawContent?: boolean | undefined;
60
+ readonly persistent?: boolean | undefined;
61
+ readonly visible?: boolean | null | undefined;
62
+ readonly transition?: string | undefined;
63
+ readonly teleported?: boolean | undefined;
64
+ readonly disabled?: boolean | undefined;
65
+ readonly ariaLabel?: string | undefined;
66
+ readonly showAfter?: number | undefined;
67
+ readonly hideAfter?: number | undefined;
68
+ readonly autoClose?: number | undefined;
69
+ readonly placement?: import('element-plus').Placement | undefined;
70
+ readonly style?: import('vue').StyleValue;
71
+ readonly id?: string | undefined;
72
+ readonly className?: (string | {
73
+ [x: string]: boolean;
74
+ } | (string | {
75
+ [x: string]: boolean;
76
+ } | (string | {
77
+ [x: string]: boolean;
78
+ } | (string | {
79
+ [x: string]: boolean;
80
+ } | (string | {
81
+ [x: string]: boolean;
82
+ } | (string | {
83
+ [x: string]: boolean;
84
+ } | (string | {
85
+ [x: string]: boolean;
86
+ } | (string | {
87
+ [x: string]: boolean;
88
+ } | (string | {
89
+ [x: string]: boolean;
90
+ } | (string | {
91
+ [x: string]: boolean;
92
+ } | (string | {
93
+ [x: string]: boolean;
94
+ } | (string | {
95
+ [x: string]: boolean;
96
+ } | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | undefined;
97
+ readonly effect?: import('element-plus').PopperEffect | undefined;
98
+ readonly enterable?: boolean | undefined;
99
+ readonly pure?: boolean | undefined;
100
+ readonly focusOnShow?: boolean | undefined;
101
+ readonly trapping?: boolean | undefined;
102
+ readonly popperClass?: (string | {
103
+ [x: string]: boolean;
104
+ } | (string | {
105
+ [x: string]: boolean;
106
+ } | (string | {
107
+ [x: string]: boolean;
108
+ } | (string | {
109
+ [x: string]: boolean;
110
+ } | (string | {
111
+ [x: string]: boolean;
112
+ } | (string | {
113
+ [x: string]: boolean;
114
+ } | (string | {
115
+ [x: string]: boolean;
116
+ } | (string | {
117
+ [x: string]: boolean;
118
+ } | (string | {
119
+ [x: string]: boolean;
120
+ } | (string | {
121
+ [x: string]: boolean;
122
+ } | (string | {
123
+ [x: string]: boolean;
124
+ } | (string | {
125
+ [x: string]: boolean;
126
+ } | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[]) | undefined;
127
+ readonly popperStyle?: import('vue').StyleValue;
128
+ readonly referenceEl?: HTMLElement | undefined;
129
+ readonly triggerTargetEl?: HTMLElement | undefined;
130
+ readonly stopPopperMouseEvent?: boolean | undefined;
131
+ readonly virtualTriggering?: boolean | undefined;
132
+ readonly zIndex?: number | undefined;
133
+ readonly loop?: boolean | undefined;
134
+ readonly boundariesPadding?: number | undefined;
135
+ readonly fallbackPlacements?: import('element-plus').Placement[] | undefined;
136
+ readonly gpuAcceleration?: boolean | undefined;
137
+ readonly offset?: number | undefined;
138
+ readonly popperOptions?: Partial<import('element-plus').Options> | undefined;
139
+ readonly strategy?: ("fixed" | "absolute") | undefined;
140
+ readonly arrowOffset?: number | undefined;
141
+ readonly trigger?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').TooltipTriggerType> | undefined;
142
+ readonly triggerKeys?: string[] | undefined;
143
+ readonly focusOnTarget?: boolean | undefined;
144
+ readonly virtualRef?: import('element-plus').Measurable | undefined;
145
+ readonly onMouseenter?: ((e: MouseEvent) => void) | undefined;
146
+ readonly onMouseleave?: ((e: MouseEvent) => void) | undefined;
147
+ readonly onClick?: ((e: PointerEvent) => void) | undefined;
148
+ readonly onKeydown?: ((e: KeyboardEvent) => void) | undefined;
149
+ readonly onFocus?: ((e: FocusEvent) => void) | undefined;
150
+ readonly onBlur?: ((e: FocusEvent) => void) | undefined;
151
+ readonly onContextmenu?: ((e: PointerEvent) => void) | undefined;
152
+ readonly open?: boolean | undefined;
153
+ readonly onClose?: ((...args: any[]) => any) | undefined | undefined;
154
+ readonly onHide?: ((...args: any[]) => any) | undefined | undefined;
155
+ readonly onShow?: ((...args: any[]) => any) | undefined | undefined;
156
+ readonly onOpen?: ((...args: any[]) => any) | undefined | undefined;
157
+ readonly "onBefore-show"?: ((...args: any[]) => any) | undefined | undefined;
158
+ readonly "onBefore-hide"?: ((...args: any[]) => any) | undefined | undefined;
159
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
160
+ $attrs: {
161
+ [x: string]: unknown;
162
+ };
163
+ $refs: {
164
+ [x: string]: unknown;
165
+ };
166
+ $slots: Readonly<{
167
+ [name: string]: import('vue').Slot<any> | undefined;
168
+ }>;
169
+ $root: import('vue').ComponentPublicInstance | null;
170
+ $parent: import('vue').ComponentPublicInstance | null;
171
+ $host: Element | null;
172
+ $emit: ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "hide", ...args: any[]) => void) & ((event: "show", ...args: any[]) => void) & ((event: "update:visible", ...args: any[]) => void) & ((event: "before-show", ...args: any[]) => void) & ((event: "before-hide", ...args: any[]) => void);
173
+ $el: any;
174
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').UseTooltipProps> & Readonly<{
175
+ onClose?: ((...args: any[]) => any) | undefined;
176
+ onHide?: ((...args: any[]) => any) | undefined;
177
+ onShow?: ((...args: any[]) => any) | undefined;
178
+ onOpen?: ((...args: any[]) => any) | undefined;
179
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
180
+ "onBefore-show"?: ((...args: any[]) => any) | undefined;
181
+ "onBefore-hide"?: ((...args: any[]) => any) | undefined;
182
+ }>, {
183
+ popperRef: Ref<import('element-plus').PopperInstance | undefined, import('element-plus').PopperInstance | undefined>;
184
+ contentRef: Ref<import('element-plus').TooltipContentInstance | undefined, import('element-plus').TooltipContentInstance | undefined>;
185
+ isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
186
+ updatePopper: () => void;
187
+ onOpen: (event?: Event, delay?: number) => void;
188
+ onClose: (event?: Event, delay?: number) => void;
189
+ hide: (event?: Event) => void;
190
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
191
+ close: (...args: any[]) => void;
192
+ hide: (...args: any[]) => void;
193
+ show: (...args: any[]) => void;
194
+ open: (...args: any[]) => void;
195
+ "update:visible": (...args: any[]) => void;
196
+ "before-show": (...args: any[]) => void;
197
+ "before-hide": (...args: any[]) => void;
198
+ }, string, {
199
+ offset: number;
200
+ teleported: boolean;
201
+ effect: import('element-plus').PopperEffect;
202
+ visible: boolean | null;
203
+ content: string;
204
+ style: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
205
+ enterable: boolean;
206
+ pure: boolean;
207
+ focusOnShow: boolean;
208
+ trapping: boolean;
209
+ popperStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
210
+ stopPopperMouseEvent: boolean;
211
+ virtualTriggering: boolean;
212
+ loop: boolean;
213
+ boundariesPadding: number;
214
+ gpuAcceleration: boolean;
215
+ placement: import('element-plus').Placement;
216
+ popperOptions: Partial<import('element-plus').Options>;
217
+ strategy: "fixed" | "absolute";
218
+ arrowOffset: number;
219
+ showArrow: boolean;
220
+ role: "dialog" | "menu" | "grid" | "group" | "listbox" | "navigation" | "tooltip" | "tree";
221
+ showAfter: number;
222
+ hideAfter: number;
223
+ autoClose: number;
224
+ trigger: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').TooltipTriggerType>;
225
+ triggerKeys: string[];
226
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
227
+ beforeCreate?: (() => void) | (() => void)[];
228
+ created?: (() => void) | (() => void)[];
229
+ beforeMount?: (() => void) | (() => void)[];
230
+ mounted?: (() => void) | (() => void)[];
231
+ beforeUpdate?: (() => void) | (() => void)[];
232
+ updated?: (() => void) | (() => void)[];
233
+ activated?: (() => void) | (() => void)[];
234
+ deactivated?: (() => void) | (() => void)[];
235
+ beforeDestroy?: (() => void) | (() => void)[];
236
+ beforeUnmount?: (() => void) | (() => void)[];
237
+ destroyed?: (() => void) | (() => void)[];
238
+ unmounted?: (() => void) | (() => void)[];
239
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
240
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
241
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
242
+ };
243
+ $forceUpdate: () => void;
244
+ $nextTick: typeof nextTick;
245
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
246
+ } & Readonly<{
247
+ offset: number;
248
+ teleported: boolean;
249
+ effect: import('element-plus').PopperEffect;
250
+ visible: boolean | null;
251
+ content: string;
252
+ style: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
253
+ enterable: boolean;
254
+ pure: boolean;
255
+ focusOnShow: boolean;
256
+ trapping: boolean;
257
+ popperStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
258
+ stopPopperMouseEvent: boolean;
259
+ virtualTriggering: boolean;
260
+ loop: boolean;
261
+ boundariesPadding: number;
262
+ gpuAcceleration: boolean;
263
+ placement: import('element-plus').Placement;
264
+ popperOptions: Partial<import('element-plus').Options>;
265
+ strategy: "fixed" | "absolute";
266
+ arrowOffset: number;
267
+ showArrow: boolean;
268
+ role: "dialog" | "menu" | "grid" | "group" | "listbox" | "navigation" | "tooltip" | "tree";
269
+ showAfter: number;
270
+ hideAfter: number;
271
+ autoClose: number;
272
+ trigger: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').TooltipTriggerType>;
273
+ triggerKeys: string[];
274
+ }> & Omit<Readonly<import('element-plus').UseTooltipProps> & Readonly<{
275
+ onClose?: ((...args: any[]) => any) | undefined;
276
+ onHide?: ((...args: any[]) => any) | undefined;
277
+ onShow?: ((...args: any[]) => any) | undefined;
278
+ onOpen?: ((...args: any[]) => any) | undefined;
279
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
280
+ "onBefore-show"?: ((...args: any[]) => any) | undefined;
281
+ "onBefore-hide"?: ((...args: any[]) => any) | undefined;
282
+ }>, "placement" | "style" | "onClose" | "visible" | "effect" | "enterable" | "pure" | "focusOnShow" | "trapping" | "popperStyle" | "stopPopperMouseEvent" | "virtualTriggering" | "loop" | "boundariesPadding" | "gpuAcceleration" | "offset" | "popperOptions" | "strategy" | "arrowOffset" | "showArrow" | "role" | "content" | "teleported" | "showAfter" | "hideAfter" | "autoClose" | "trigger" | "triggerKeys" | "onOpen" | "popperRef" | "contentRef" | "isFocusInsideContent" | "updatePopper" | "hide"> & import('vue').ShallowUnwrapRef<{
283
+ popperRef: Ref<import('element-plus').PopperInstance | undefined, import('element-plus').PopperInstance | undefined>;
284
+ contentRef: Ref<import('element-plus').TooltipContentInstance | undefined, import('element-plus').TooltipContentInstance | undefined>;
285
+ isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
286
+ updatePopper: () => void;
287
+ onOpen: (event?: Event, delay?: number) => void;
288
+ onClose: (event?: Event, delay?: number) => void;
289
+ hide: (event?: Event) => void;
290
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
291
+ $slots: {
292
+ default?: (props: {}) => any;
293
+ } & {
294
+ content?: (props: {}) => any;
295
+ };
296
+ }) | null;
297
+ }, HTMLDivElement>;
298
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { TtIconProps } from '../index';
2
+ type __VLS_Props = Omit<TtIconProps, "icon">;
3
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
4
+ size: number;
5
+ isCustomSvg: boolean;
6
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { TtIconProps } from '../index';
2
+ type __VLS_Props = Omit<TtIconProps, "icon">;
3
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
4
+ size: number;
5
+ isCustomSvg: boolean;
6
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ export default _default;
@@ -1,33 +1,124 @@
1
- import { TtIconProps } from '.';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: Readonly<{
1
+ import { HTMLAttributes } from 'vue';
2
+ export declare const TtIcon: import('../../../../utils/src').SFCWithInstall<{
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<TtIconProps> & Readonly<{
4
+ onClick?: (() => any) | undefined;
5
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ click: () => any;
7
+ }, import('vue').PublicProps, {
8
+ disabled: boolean;
9
+ size: number;
10
+ isSymbol: boolean;
11
+ isCustomSvg: boolean;
12
+ isImg: boolean;
13
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
14
+ P: {};
15
+ B: {};
16
+ D: {};
17
+ C: {};
18
+ M: {};
19
+ Defaults: {};
20
+ }, Readonly<TtIconProps> & Readonly<{
21
+ onClick?: (() => any) | undefined;
22
+ }>, {}, {}, {}, {}, {
23
+ disabled: boolean;
24
+ size: number;
25
+ isSymbol: boolean;
26
+ isCustomSvg: boolean;
27
+ isImg: boolean;
28
+ }>;
29
+ __isFragment?: never;
30
+ __isTeleport?: never;
31
+ __isSuspense?: never;
32
+ } & import('vue').ComponentOptionsBase<Readonly<TtIconProps> & Readonly<{
33
+ onClick?: (() => any) | undefined;
34
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
+ click: () => any;
36
+ }, string, {
37
+ disabled: boolean;
38
+ size: number;
39
+ isSymbol: boolean;
40
+ isCustomSvg: boolean;
41
+ isImg: boolean;
42
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
43
+ $slots: Readonly<{
6
44
  default?: () => any;
7
45
  prefix?: () => any;
8
46
  }> & {
9
47
  default?: () => any;
10
48
  prefix?: () => any;
11
49
  };
12
- refs: {};
13
- rootEl: any;
14
- };
15
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
- declare const __VLS_component: DefineComponent<TtIconProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
17
- click: () => any;
18
- }, string, PublicProps, Readonly<TtIconProps> & Readonly<{
19
- onClick?: (() => any) | undefined;
20
- }>, {
21
- disabled: boolean;
50
+ })> & Record<string, any>;
51
+ export declare const TtAddIcon: import('../../../../utils/src').SFCWithInstall<import('vue').DefineComponent<{
52
+ title?: string | undefined;
53
+ disabled?: boolean | undefined;
54
+ size?: number | undefined;
55
+ class?: HTMLAttributes["class"];
56
+ isSymbol?: boolean | undefined;
57
+ isCustomSvg?: boolean | undefined;
58
+ iconFont?: string | undefined;
59
+ isImg?: boolean | undefined;
60
+ color?: string | undefined;
61
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
62
+ title?: string | undefined;
63
+ disabled?: boolean | undefined;
64
+ size?: number | undefined;
65
+ class?: HTMLAttributes["class"];
66
+ isSymbol?: boolean | undefined;
67
+ isCustomSvg?: boolean | undefined;
68
+ iconFont?: string | undefined;
69
+ isImg?: boolean | undefined;
70
+ color?: string | undefined;
71
+ }> & Readonly<{}>, {
22
72
  size: number;
23
- isSymbol: boolean;
24
73
  isCustomSvg: boolean;
25
- isImg: boolean;
26
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
27
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
- export default _default;
29
- type __VLS_WithTemplateSlots<T, S> = T & {
30
- new (): {
31
- $slots: S;
32
- };
74
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>> & Record<string, any>;
75
+ export declare const TtSubIcon: import('../../../../utils/src').SFCWithInstall<import('vue').DefineComponent<{
76
+ title?: string | undefined;
77
+ disabled?: boolean | undefined;
78
+ size?: number | undefined;
79
+ class?: HTMLAttributes["class"];
80
+ isSymbol?: boolean | undefined;
81
+ isCustomSvg?: boolean | undefined;
82
+ iconFont?: string | undefined;
83
+ isImg?: boolean | undefined;
84
+ color?: string | undefined;
85
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
86
+ title?: string | undefined;
87
+ disabled?: boolean | undefined;
88
+ size?: number | undefined;
89
+ class?: HTMLAttributes["class"];
90
+ isSymbol?: boolean | undefined;
91
+ isCustomSvg?: boolean | undefined;
92
+ iconFont?: string | undefined;
93
+ isImg?: boolean | undefined;
94
+ color?: string | undefined;
95
+ }> & Readonly<{}>, {
96
+ size: number;
97
+ isCustomSvg: boolean;
98
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>> & Record<string, any>;
99
+ export default TtIcon;
100
+ export * from './index.vue';
101
+ export type TtIconProps = {
102
+ /** 图标地址 */
103
+ icon?: string;
104
+ /** 是否是symbol */
105
+ isSymbol?: boolean;
106
+ /** 是否是自定义svg */
107
+ isCustomSvg?: boolean;
108
+ /** 标题 */
109
+ title?: string;
110
+ /**
111
+ * 是否是iconfont, iconfont 图标使用
112
+ */
113
+ iconFont?: string;
114
+ /** 是否是图片 */
115
+ isImg?: boolean;
116
+ /** size */
117
+ size?: number;
118
+ /** 是否禁用 */
119
+ disabled?: boolean;
120
+ /** 类名 */
121
+ class?: HTMLAttributes["class"];
122
+ /** 类名 */
123
+ color?: HTMLAttributes["color"];
33
124
  };
@@ -0,0 +1,32 @@
1
+ import { TtIconProps } from '.';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: Readonly<{
5
+ default?: () => any;
6
+ prefix?: () => any;
7
+ }> & {
8
+ default?: () => any;
9
+ prefix?: () => any;
10
+ };
11
+ refs: {};
12
+ rootEl: any;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<TtIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ click: () => any;
17
+ }, string, import('vue').PublicProps, Readonly<TtIconProps> & Readonly<{
18
+ onClick?: (() => any) | undefined;
19
+ }>, {
20
+ disabled: boolean;
21
+ size: number;
22
+ isSymbol: boolean;
23
+ isCustomSvg: boolean;
24
+ isImg: boolean;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
+ export default _default;
28
+ type __VLS_WithTemplateSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };