cnhis-design-vue 3.1.13 → 3.1.14-beta.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 (81) hide show
  1. package/README.md +1 -1
  2. package/es/packages/annotation-edit/index.d.ts +17 -0
  3. package/es/packages/annotation-edit/index.js +10 -0
  4. package/es/packages/annotation-edit/src/AnnotationEdit.d.ts +16 -0
  5. package/es/packages/annotation-edit/src/AnnotationEdit.js +119 -0
  6. package/es/packages/annotation-edit/style/index.css +15 -0
  7. package/es/packages/big-table/index.d.ts +3 -9
  8. package/es/packages/big-table/index.js +1 -0
  9. package/es/packages/big-table/src/BigTable.vue.d.ts +30 -18
  10. package/es/packages/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.js +53 -25
  11. package/es/packages/big-table/src/bigTableEmits.js +1 -1
  12. package/es/packages/big-table/src/components/edit-form/edit-separate.vue.d.ts +25 -8
  13. package/es/packages/big-table/src/components/edit-form/edit-separate.vue_vue_type_script_setup_true_lang.js +29 -9
  14. package/es/packages/big-table/src/components/separate.vue.d.ts +3 -4
  15. package/es/packages/big-table/src/components/separate.vue_vue_type_script_setup_true_lang.js +7 -3
  16. package/es/packages/big-table/src/hooks/export.d.ts +1 -0
  17. package/es/packages/big-table/src/hooks/export.js +1 -0
  18. package/es/packages/big-table/src/hooks/useColumnConfigAdaptor.d.ts +0 -1
  19. package/es/packages/big-table/src/hooks/useColumnConfigAdaptor.js +11 -8
  20. package/es/packages/big-table/src/hooks/useEdit.d.ts +25 -7
  21. package/es/packages/big-table/src/hooks/useSeparateRow.d.ts +1 -1
  22. package/es/packages/big-table/src/hooks/useSeparateRow.js +14 -10
  23. package/es/packages/big-table/src/utils.js +3 -3
  24. package/es/packages/big-table/style/index.css +15 -2
  25. package/es/packages/button-print/index.d.ts +1 -0
  26. package/es/packages/button-print/index.js +1 -0
  27. package/es/packages/button-print/src/ButtonPrint.vue_vue_type_script_setup_true_lang.js +5 -1
  28. package/es/packages/button-print/src/utils/index.d.ts +1 -0
  29. package/es/packages/button-print/src/utils/index.js +1 -0
  30. package/es/packages/button-print/src/utils/print.d.ts +1 -1
  31. package/es/packages/button-print/src/utils/print.js +1 -1
  32. package/es/packages/fabric-chart/index.d.ts +7 -2
  33. package/es/packages/fabric-chart/src/FabricChart.vue.d.ts +8 -3
  34. package/es/packages/fabric-chart/src/FabricChart.vue_vue_type_script_setup_true_lang.js +40 -9
  35. package/es/packages/fabric-chart/src/hooks/index.d.ts +1 -1
  36. package/es/packages/fabric-chart/src/hooks/index.js +2 -2
  37. package/es/packages/fabric-chart/src/hooks/useCenter.js +19 -14
  38. package/es/packages/fabric-chart/src/hooks/useDraw.js +1 -0
  39. package/es/packages/fabric-chart/src/hooks/useEvent.d.ts +6 -0
  40. package/es/packages/fabric-chart/src/hooks/useEvent.js +67 -1
  41. package/es/packages/fabric-chart/src/hooks/useLeft.js +14 -14
  42. package/es/packages/fabric-chart/src/hooks/useRight.js +2 -13
  43. package/es/packages/fabric-chart/src/hooks/useTop.js +10 -20
  44. package/es/packages/fabric-chart/src/interface.d.ts +7 -0
  45. package/es/packages/form-render/index.d.ts +1 -1
  46. package/es/packages/form-render/src/FormRender.vue.d.ts +1 -1
  47. package/es/packages/form-render/src/components/renderer/cascader.d.ts +1 -1
  48. package/es/packages/form-render/src/components/renderer/cascader.js +4 -8
  49. package/es/packages/form-render/src/components/renderer/formItem.js +8 -92
  50. package/es/packages/form-render/src/components/renderer/input.js +5 -16
  51. package/es/packages/form-render/src/components/renderer/inputNumber.d.ts +12 -0
  52. package/es/packages/form-render/src/components/renderer/inputNumber.js +11 -4
  53. package/es/packages/form-render/src/components/renderer/select.js +9 -2
  54. package/es/packages/form-render/src/components/renderer/simpleComponent.d.ts +15 -2
  55. package/es/packages/form-render/src/components/renderer/simpleComponent.js +16 -15
  56. package/es/packages/form-render/src/hooks/useAnchor.d.ts +1 -1
  57. package/es/packages/form-render/src/hooks/useAnchor.js +3 -3
  58. package/es/packages/form-render/src/hooks/useFieldListAdaptor.js +10 -6
  59. package/es/packages/form-render/src/types/fieldItem.d.ts +2 -1
  60. package/es/packages/form-render/src/utils/index.d.ts +9 -2
  61. package/es/packages/form-render/src/utils/index.js +43 -14
  62. package/es/packages/form-render/style/index.css +17 -15
  63. package/es/packages/index.css +32 -17
  64. package/es/packages/index.d.ts +2 -0
  65. package/es/packages/index.js +2 -0
  66. package/es/packages/info-header/index.d.ts +1375 -358
  67. package/es/packages/info-header/src/HiddenContent.vue.d.ts +689 -178
  68. package/es/packages/info-header/src/HiddenContent.vue_vue_type_script_setup_true_lang.js +11 -13
  69. package/es/packages/info-header/src/InfoEllipsis.js +4 -0
  70. package/es/packages/info-header/src/InfoEllipsis.vue.d.ts +833 -0
  71. package/es/packages/info-header/src/InfoEllipsis.vue_vue_type_script_setup_true_lang.js +41 -0
  72. package/es/packages/info-header/src/InfoHeader.vue.d.ts +1375 -358
  73. package/es/packages/info-header/src/InfoHeader.vue_vue_type_script_setup_true_lang.js +9 -13
  74. package/es/packages/steps-wheel/index.d.ts +14 -0
  75. package/es/packages/steps-wheel/src/StepsWheel.vue.d.ts +14 -0
  76. package/es/packages/steps-wheel/src/StepsWheel.vue_vue_type_script_setup_true_lang.js +20 -9
  77. package/es/{packages/info-header/src → src/components/SlotRender}/SlotRender.d.ts +3 -5
  78. package/es/{packages/info-header/src → src/components/SlotRender}/SlotRender.js +9 -9
  79. package/es/src/components/SlotRender/index.d.ts +2 -0
  80. package/es/src/components/SlotRender/index.js +2 -0
  81. package/package.json +2 -2
@@ -4,6 +4,7 @@ declare const _default: import("vue").DefineComponent<{
4
4
  type: StringConstructor;
5
5
  default: string;
6
6
  };
7
+ tip: StringConstructor;
7
8
  width: {
8
9
  type: NumberConstructor;
9
10
  };
@@ -17,6 +18,7 @@ declare const _default: import("vue").DefineComponent<{
17
18
  type: StringConstructor;
18
19
  default: string;
19
20
  };
21
+ tip: StringConstructor;
20
22
  width: {
21
23
  type: NumberConstructor;
22
24
  };
@@ -37,15 +39,344 @@ declare const _default: import("vue").DefineComponent<{
37
39
  maxWidth: string;
38
40
  })>;
39
41
  displayContent: import("vue").ComputedRef<string>;
40
- NEllipsis: import("vue").DefineComponent<{
41
- readonly expandTrigger: PropType<"click">;
42
- readonly lineClamp: PropType<string | number>;
43
- readonly tooltip: {
44
- readonly type: PropType<boolean | import("naive-ui").PopoverProps>;
45
- readonly default: true;
42
+ InfoEllipsis: import("vue").DefineComponent<{
43
+ content: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ tip: {
48
+ type: StringConstructor;
49
+ };
50
+ contentStyle: {
51
+ type: PropType<CSSProperties>;
52
+ default: () => {};
46
53
  };
47
- readonly theme: PropType<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
48
- Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
54
+ }, {
55
+ NEllipsis: import("vue").DefineComponent<{
56
+ readonly expandTrigger: PropType<"click">;
57
+ readonly lineClamp: PropType<string | number>;
58
+ readonly tooltip: {
59
+ readonly type: PropType<boolean | import("naive-ui").PopoverProps>;
60
+ readonly default: true;
61
+ };
62
+ readonly theme: PropType<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
63
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
64
+ borderRadius: string;
65
+ boxShadow: string;
66
+ color: string;
67
+ textColor: string;
68
+ padding: string;
69
+ }, {
70
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
71
+ fontSize: string;
72
+ borderRadius: string;
73
+ color: string;
74
+ dividerColor: string;
75
+ textColor: string;
76
+ boxShadow: string;
77
+ space: string;
78
+ spaceArrow: string;
79
+ arrowOffset: string;
80
+ arrowOffsetVertical: string;
81
+ arrowHeight: string;
82
+ padding: string;
83
+ }, any>;
84
+ }>;
85
+ }>>;
86
+ readonly themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
87
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
88
+ borderRadius: string;
89
+ boxShadow: string;
90
+ color: string;
91
+ textColor: string;
92
+ padding: string;
93
+ }, {
94
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
95
+ fontSize: string;
96
+ borderRadius: string;
97
+ color: string;
98
+ dividerColor: string;
99
+ textColor: string;
100
+ boxShadow: string;
101
+ space: string;
102
+ spaceArrow: string;
103
+ arrowOffset: string;
104
+ arrowOffsetVertical: string;
105
+ arrowHeight: string;
106
+ padding: string;
107
+ }, any>;
108
+ }>;
109
+ }>>>;
110
+ readonly builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
111
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
112
+ borderRadius: string;
113
+ boxShadow: string;
114
+ color: string;
115
+ textColor: string;
116
+ padding: string;
117
+ }, {
118
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
119
+ fontSize: string;
120
+ borderRadius: string;
121
+ color: string;
122
+ dividerColor: string;
123
+ textColor: string;
124
+ boxShadow: string;
125
+ space: string;
126
+ spaceArrow: string;
127
+ arrowOffset: string;
128
+ arrowOffsetVertical: string;
129
+ arrowHeight: string;
130
+ padding: string;
131
+ }, any>;
132
+ }>;
133
+ }>>>;
134
+ }, {
135
+ mergedTheme: import("vue").ComputedRef<{
136
+ common: {
137
+ baseColor: string;
138
+ primaryColor: string;
139
+ primaryColorHover: string;
140
+ primaryColorPressed: string;
141
+ primaryColorSuppl: string;
142
+ infoColor: string;
143
+ infoColorHover: string;
144
+ infoColorPressed: string;
145
+ infoColorSuppl: string;
146
+ successColor: string;
147
+ successColorHover: string;
148
+ successColorPressed: string;
149
+ successColorSuppl: string;
150
+ warningColor: string;
151
+ warningColorHover: string;
152
+ warningColorPressed: string;
153
+ warningColorSuppl: string;
154
+ errorColor: string;
155
+ errorColorHover: string;
156
+ errorColorPressed: string;
157
+ errorColorSuppl: string;
158
+ textColorBase: string;
159
+ textColor1: string;
160
+ textColor2: string;
161
+ textColor3: string;
162
+ textColorDisabled: string;
163
+ placeholderColor: string;
164
+ placeholderColorDisabled: string;
165
+ iconColor: string;
166
+ iconColorHover: string;
167
+ iconColorPressed: string;
168
+ iconColorDisabled: string;
169
+ opacity1: string;
170
+ opacity2: string;
171
+ opacity3: string;
172
+ opacity4: string;
173
+ opacity5: string;
174
+ dividerColor: string;
175
+ borderColor: string;
176
+ closeIconColor: string;
177
+ closeIconColorHover: string;
178
+ closeIconColorPressed: string;
179
+ closeColorHover: string;
180
+ closeColorPressed: string;
181
+ clearColor: string;
182
+ clearColorHover: string;
183
+ clearColorPressed: string;
184
+ scrollbarColor: string;
185
+ scrollbarColorHover: string;
186
+ scrollbarWidth: string;
187
+ scrollbarHeight: string;
188
+ scrollbarBorderRadius: string;
189
+ progressRailColor: string;
190
+ railColor: string;
191
+ popoverColor: string;
192
+ tableColor: string;
193
+ cardColor: string;
194
+ modalColor: string;
195
+ bodyColor: string;
196
+ tagColor: string;
197
+ avatarColor: string;
198
+ invertedColor: string;
199
+ inputColor: string;
200
+ codeColor: string;
201
+ tabColor: string;
202
+ actionColor: string;
203
+ tableHeaderColor: string;
204
+ hoverColor: string;
205
+ tableColorHover: string;
206
+ tableColorStriped: string;
207
+ pressedColor: string;
208
+ opacityDisabled: string;
209
+ inputColorDisabled: string;
210
+ buttonColor2: string;
211
+ buttonColor2Hover: string;
212
+ buttonColor2Pressed: string;
213
+ boxShadow1: string;
214
+ boxShadow2: string;
215
+ boxShadow3: string;
216
+ fontFamily: string;
217
+ fontFamilyMono: string;
218
+ fontWeight: string;
219
+ fontWeightStrong: string;
220
+ cubicBezierEaseInOut: string;
221
+ cubicBezierEaseOut: string;
222
+ cubicBezierEaseIn: string;
223
+ borderRadius: string;
224
+ borderRadiusSmall: string;
225
+ fontSize: string;
226
+ fontSizeMini: string;
227
+ fontSizeTiny: string;
228
+ fontSizeSmall: string;
229
+ fontSizeMedium: string;
230
+ fontSizeLarge: string;
231
+ fontSizeHuge: string;
232
+ lineHeight: string;
233
+ heightMini: string;
234
+ heightTiny: string;
235
+ heightSmall: string;
236
+ heightMedium: string;
237
+ heightLarge: string;
238
+ heightHuge: string;
239
+ name: "common";
240
+ };
241
+ self: unknown;
242
+ peers: {
243
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
244
+ borderRadius: string;
245
+ boxShadow: string;
246
+ color: string;
247
+ textColor: string;
248
+ padding: string;
249
+ }, {
250
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
251
+ fontSize: string;
252
+ borderRadius: string;
253
+ color: string;
254
+ dividerColor: string;
255
+ textColor: string;
256
+ boxShadow: string;
257
+ space: string;
258
+ spaceArrow: string;
259
+ arrowOffset: string;
260
+ arrowOffsetVertical: string;
261
+ arrowHeight: string;
262
+ padding: string;
263
+ }, any>;
264
+ }>;
265
+ };
266
+ peerOverrides: {
267
+ Tooltip?: {
268
+ peers?: {
269
+ Popover?: import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Popover", {
270
+ fontSize: string;
271
+ borderRadius: string;
272
+ color: string;
273
+ dividerColor: string;
274
+ textColor: string;
275
+ boxShadow: string;
276
+ space: string;
277
+ spaceArrow: string;
278
+ arrowOffset: string;
279
+ arrowOffsetVertical: string;
280
+ arrowHeight: string;
281
+ padding: string;
282
+ }, any>> | undefined;
283
+ } | undefined;
284
+ } | undefined;
285
+ };
286
+ }>;
287
+ triggerRef: import("vue").Ref<HTMLElement | null>;
288
+ triggerInnerRef: import("vue").Ref<HTMLElement | null>;
289
+ tooltipRef: import("vue").Ref<{
290
+ syncPosition: () => void;
291
+ setShow: (value: boolean) => void;
292
+ } | null>;
293
+ handleClick: import("vue").ComputedRef<(() => void) | undefined>;
294
+ renderTrigger: () => JSX.Element;
295
+ getTooltipDisabled: () => boolean;
296
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
297
+ readonly expandTrigger: PropType<"click">;
298
+ readonly lineClamp: PropType<string | number>;
299
+ readonly tooltip: {
300
+ readonly type: PropType<boolean | import("naive-ui").PopoverProps>;
301
+ readonly default: true;
302
+ };
303
+ readonly theme: PropType<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
304
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
305
+ borderRadius: string;
306
+ boxShadow: string;
307
+ color: string;
308
+ textColor: string;
309
+ padding: string;
310
+ }, {
311
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
312
+ fontSize: string;
313
+ borderRadius: string;
314
+ color: string;
315
+ dividerColor: string;
316
+ textColor: string;
317
+ boxShadow: string;
318
+ space: string;
319
+ spaceArrow: string;
320
+ arrowOffset: string;
321
+ arrowOffsetVertical: string;
322
+ arrowHeight: string;
323
+ padding: string;
324
+ }, any>;
325
+ }>;
326
+ }>>;
327
+ readonly themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
328
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
329
+ borderRadius: string;
330
+ boxShadow: string;
331
+ color: string;
332
+ textColor: string;
333
+ padding: string;
334
+ }, {
335
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
336
+ fontSize: string;
337
+ borderRadius: string;
338
+ color: string;
339
+ dividerColor: string;
340
+ textColor: string;
341
+ boxShadow: string;
342
+ space: string;
343
+ spaceArrow: string;
344
+ arrowOffset: string;
345
+ arrowOffsetVertical: string;
346
+ arrowHeight: string;
347
+ padding: string;
348
+ }, any>;
349
+ }>;
350
+ }>>>;
351
+ readonly builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
352
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
353
+ borderRadius: string;
354
+ boxShadow: string;
355
+ color: string;
356
+ textColor: string;
357
+ padding: string;
358
+ }, {
359
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
360
+ fontSize: string;
361
+ borderRadius: string;
362
+ color: string;
363
+ dividerColor: string;
364
+ textColor: string;
365
+ boxShadow: string;
366
+ space: string;
367
+ spaceArrow: string;
368
+ arrowOffset: string;
369
+ arrowOffsetVertical: string;
370
+ arrowHeight: string;
371
+ padding: string;
372
+ }, any>;
373
+ }>;
374
+ }>>>;
375
+ }>>, {
376
+ readonly tooltip: boolean | import("naive-ui").PopoverProps;
377
+ }>;
378
+ NTooltip: import("vue").DefineComponent<{
379
+ theme: PropType<import("naive-ui/es/_mixins").Theme<"Tooltip", {
49
380
  borderRadius: string;
50
381
  boxShadow: string;
51
382
  color: string;
@@ -66,10 +397,8 @@ declare const _default: import("vue").DefineComponent<{
66
397
  arrowHeight: string;
67
398
  padding: string;
68
399
  }, any>;
69
- }>;
70
- }>>;
71
- readonly themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
72
- Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
400
+ }>>;
401
+ themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Tooltip", {
73
402
  borderRadius: string;
74
403
  boxShadow: string;
75
404
  color: string;
@@ -90,10 +419,8 @@ declare const _default: import("vue").DefineComponent<{
90
419
  arrowHeight: string;
91
420
  padding: string;
92
421
  }, any>;
93
- }>;
94
- }>>>;
95
- readonly builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
96
- Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
422
+ }>>>;
423
+ builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Tooltip", {
97
424
  borderRadius: string;
98
425
  boxShadow: string;
99
426
  color: string;
@@ -114,124 +441,210 @@ declare const _default: import("vue").DefineComponent<{
114
441
  arrowHeight: string;
115
442
  padding: string;
116
443
  }, any>;
117
- }>;
118
- }>>>;
119
- }, {
120
- mergedTheme: import("vue").ComputedRef<{
121
- common: {
122
- baseColor: string;
123
- primaryColor: string;
124
- primaryColorHover: string;
125
- primaryColorPressed: string;
126
- primaryColorSuppl: string;
127
- infoColor: string;
128
- infoColorHover: string;
129
- infoColorPressed: string;
130
- infoColorSuppl: string;
131
- successColor: string;
132
- successColorHover: string;
133
- successColorPressed: string;
134
- successColorSuppl: string;
135
- warningColor: string;
136
- warningColorHover: string;
137
- warningColorPressed: string;
138
- warningColorSuppl: string;
139
- errorColor: string;
140
- errorColorHover: string;
141
- errorColorPressed: string;
142
- errorColorSuppl: string;
143
- textColorBase: string;
144
- textColor1: string;
145
- textColor2: string;
146
- textColor3: string;
147
- textColorDisabled: string;
148
- placeholderColor: string;
149
- placeholderColorDisabled: string;
150
- iconColor: string;
151
- iconColorHover: string;
152
- iconColorPressed: string;
153
- iconColorDisabled: string;
154
- opacity1: string;
155
- opacity2: string;
156
- opacity3: string;
157
- opacity4: string;
158
- opacity5: string;
159
- dividerColor: string;
160
- borderColor: string;
161
- closeIconColor: string;
162
- closeIconColorHover: string;
163
- closeIconColorPressed: string;
164
- closeColorHover: string;
165
- closeColorPressed: string;
166
- clearColor: string;
167
- clearColorHover: string;
168
- clearColorPressed: string;
169
- scrollbarColor: string;
170
- scrollbarColorHover: string;
171
- scrollbarWidth: string;
172
- scrollbarHeight: string;
173
- scrollbarBorderRadius: string;
174
- progressRailColor: string;
175
- railColor: string;
176
- popoverColor: string;
177
- tableColor: string;
178
- cardColor: string;
179
- modalColor: string;
180
- bodyColor: string;
181
- tagColor: string;
182
- avatarColor: string;
183
- invertedColor: string;
184
- inputColor: string;
185
- codeColor: string;
186
- tabColor: string;
187
- actionColor: string;
188
- tableHeaderColor: string;
189
- hoverColor: string;
190
- tableColorHover: string;
191
- tableColorStriped: string;
192
- pressedColor: string;
193
- opacityDisabled: string;
194
- inputColorDisabled: string;
195
- buttonColor2: string;
196
- buttonColor2Hover: string;
197
- buttonColor2Pressed: string;
198
- boxShadow1: string;
199
- boxShadow2: string;
200
- boxShadow3: string;
201
- fontFamily: string;
202
- fontFamilyMono: string;
203
- fontWeight: string;
204
- fontWeightStrong: string;
205
- cubicBezierEaseInOut: string;
206
- cubicBezierEaseOut: string;
207
- cubicBezierEaseIn: string;
208
- borderRadius: string;
209
- borderRadiusSmall: string;
210
- fontSize: string;
211
- fontSizeMini: string;
212
- fontSizeTiny: string;
213
- fontSizeSmall: string;
214
- fontSizeMedium: string;
215
- fontSizeLarge: string;
216
- fontSizeHuge: string;
217
- lineHeight: string;
218
- heightMini: string;
219
- heightTiny: string;
220
- heightSmall: string;
221
- heightMedium: string;
222
- heightLarge: string;
223
- heightHuge: string;
224
- name: "common";
225
- };
226
- self: unknown;
227
- peers: {
228
- Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
444
+ }>>>;
445
+ show: {
446
+ type: PropType<boolean | undefined>;
447
+ default: undefined;
448
+ };
449
+ defaultShow: BooleanConstructor;
450
+ showArrow: {
451
+ type: BooleanConstructor;
452
+ default: boolean;
453
+ };
454
+ trigger: {
455
+ type: PropType<import("naive-ui").PopoverTrigger>;
456
+ default: string;
457
+ };
458
+ delay: {
459
+ type: NumberConstructor;
460
+ default: number;
461
+ };
462
+ duration: {
463
+ type: NumberConstructor;
464
+ default: number;
465
+ };
466
+ raw: BooleanConstructor;
467
+ placement: {
468
+ type: PropType<import("vueuc").FollowerPlacement>;
469
+ default: string;
470
+ };
471
+ x: NumberConstructor;
472
+ y: NumberConstructor;
473
+ arrowPointToCenter: BooleanConstructor;
474
+ disabled: BooleanConstructor;
475
+ getDisabled: PropType<() => boolean>;
476
+ displayDirective: {
477
+ type: PropType<"show" | "if">;
478
+ default: string;
479
+ };
480
+ arrowStyle: PropType<string | CSSProperties>;
481
+ flip: {
482
+ type: BooleanConstructor;
483
+ default: boolean;
484
+ };
485
+ animated: {
486
+ type: BooleanConstructor;
487
+ default: boolean;
488
+ };
489
+ width: {
490
+ type: PropType<number | "trigger">;
491
+ default: undefined;
492
+ };
493
+ overlap: BooleanConstructor;
494
+ keepAliveOnHover: {
495
+ type: BooleanConstructor;
496
+ default: boolean;
497
+ };
498
+ zIndex: NumberConstructor;
499
+ to: {
500
+ type: PropType<string | boolean | HTMLElement>;
501
+ default: undefined;
502
+ };
503
+ scrollable: BooleanConstructor;
504
+ contentStyle: PropType<string | CSSProperties>;
505
+ headerStyle: PropType<string | CSSProperties>;
506
+ footerStyle: PropType<string | CSSProperties>;
507
+ onClickoutside: PropType<(e: MouseEvent) => void>;
508
+ 'onUpdate:show': PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void>>;
509
+ onUpdateShow: PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void>>;
510
+ internalDeactivateImmediately: BooleanConstructor;
511
+ internalSyncTargetWithParent: BooleanConstructor;
512
+ internalInheritedEventHandlers: {
513
+ type: PropType<import("naive-ui/es/popover/src/Popover").TriggerEventHandlers[]>;
514
+ default: () => never[];
515
+ };
516
+ internalTrapFocus: BooleanConstructor;
517
+ internalExtraClass: {
518
+ type: PropType<string[]>;
519
+ default: () => never[];
520
+ };
521
+ onShow: PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void> | undefined>;
522
+ onHide: PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void> | undefined>;
523
+ arrow: {
524
+ type: PropType<boolean | undefined>;
525
+ default: undefined;
526
+ };
527
+ minWidth: NumberConstructor;
528
+ maxWidth: NumberConstructor;
529
+ }, {
530
+ popoverRef: import("vue").Ref<{
531
+ syncPosition: () => void;
532
+ setShow: (value: boolean) => void;
533
+ } | null>;
534
+ mergedTheme: import("vue").ComputedRef<{
535
+ common: {
536
+ baseColor: string;
537
+ primaryColor: string;
538
+ primaryColorHover: string;
539
+ primaryColorPressed: string;
540
+ primaryColorSuppl: string;
541
+ infoColor: string;
542
+ infoColorHover: string;
543
+ infoColorPressed: string;
544
+ infoColorSuppl: string;
545
+ successColor: string;
546
+ successColorHover: string;
547
+ successColorPressed: string;
548
+ successColorSuppl: string;
549
+ warningColor: string;
550
+ warningColorHover: string;
551
+ warningColorPressed: string;
552
+ warningColorSuppl: string;
553
+ errorColor: string;
554
+ errorColorHover: string;
555
+ errorColorPressed: string;
556
+ errorColorSuppl: string;
557
+ textColorBase: string;
558
+ textColor1: string;
559
+ textColor2: string;
560
+ textColor3: string;
561
+ textColorDisabled: string;
562
+ placeholderColor: string;
563
+ placeholderColorDisabled: string;
564
+ iconColor: string;
565
+ iconColorHover: string;
566
+ iconColorPressed: string;
567
+ iconColorDisabled: string;
568
+ opacity1: string;
569
+ opacity2: string;
570
+ opacity3: string;
571
+ opacity4: string;
572
+ opacity5: string;
573
+ dividerColor: string;
574
+ borderColor: string;
575
+ closeIconColor: string;
576
+ closeIconColorHover: string;
577
+ closeIconColorPressed: string;
578
+ closeColorHover: string;
579
+ closeColorPressed: string;
580
+ clearColor: string;
581
+ clearColorHover: string;
582
+ clearColorPressed: string;
583
+ scrollbarColor: string;
584
+ scrollbarColorHover: string;
585
+ scrollbarWidth: string;
586
+ scrollbarHeight: string;
587
+ scrollbarBorderRadius: string;
588
+ progressRailColor: string;
589
+ railColor: string;
590
+ popoverColor: string;
591
+ tableColor: string;
592
+ cardColor: string;
593
+ modalColor: string;
594
+ bodyColor: string;
595
+ tagColor: string;
596
+ avatarColor: string;
597
+ invertedColor: string;
598
+ inputColor: string;
599
+ codeColor: string;
600
+ tabColor: string;
601
+ actionColor: string;
602
+ tableHeaderColor: string;
603
+ hoverColor: string;
604
+ tableColorHover: string;
605
+ tableColorStriped: string;
606
+ pressedColor: string;
607
+ opacityDisabled: string;
608
+ inputColorDisabled: string;
609
+ buttonColor2: string;
610
+ buttonColor2Hover: string;
611
+ buttonColor2Pressed: string;
612
+ boxShadow1: string;
613
+ boxShadow2: string;
614
+ boxShadow3: string;
615
+ fontFamily: string;
616
+ fontFamilyMono: string;
617
+ fontWeight: string;
618
+ fontWeightStrong: string;
619
+ cubicBezierEaseInOut: string;
620
+ cubicBezierEaseOut: string;
621
+ cubicBezierEaseIn: string;
622
+ borderRadius: string;
623
+ borderRadiusSmall: string;
624
+ fontSize: string;
625
+ fontSizeMini: string;
626
+ fontSizeTiny: string;
627
+ fontSizeSmall: string;
628
+ fontSizeMedium: string;
629
+ fontSizeLarge: string;
630
+ fontSizeHuge: string;
631
+ lineHeight: string;
632
+ heightMini: string;
633
+ heightTiny: string;
634
+ heightSmall: string;
635
+ heightMedium: string;
636
+ heightLarge: string;
637
+ heightHuge: string;
638
+ name: "common";
639
+ };
640
+ self: {
229
641
  borderRadius: string;
230
642
  boxShadow: string;
231
643
  color: string;
232
644
  textColor: string;
233
645
  padding: string;
234
- }, {
646
+ };
647
+ peers: {
235
648
  Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
236
649
  fontSize: string;
237
650
  borderRadius: string;
@@ -246,47 +659,26 @@ declare const _default: import("vue").DefineComponent<{
246
659
  arrowHeight: string;
247
660
  padding: string;
248
661
  }, any>;
249
- }>;
250
- };
251
- peerOverrides: {
252
- Tooltip?: {
253
- peers?: {
254
- Popover?: import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Popover", {
255
- fontSize: string;
256
- borderRadius: string;
257
- color: string;
258
- dividerColor: string;
259
- textColor: string;
260
- boxShadow: string;
261
- space: string;
262
- spaceArrow: string;
263
- arrowOffset: string;
264
- arrowOffsetVertical: string;
265
- arrowHeight: string;
266
- padding: string;
267
- }, any>> | undefined;
662
+ };
663
+ peerOverrides: {
664
+ Popover?: {
665
+ peers?: {
666
+ [x: string]: any;
667
+ } | undefined;
268
668
  } | undefined;
269
- } | undefined;
270
- };
271
- }>;
272
- triggerRef: import("vue").Ref<HTMLElement | null>;
273
- triggerInnerRef: import("vue").Ref<HTMLElement | null>;
274
- tooltipRef: import("vue").Ref<{
669
+ };
670
+ }>;
671
+ popoverThemeOverrides: import("vue").ComputedRef<{
672
+ borderRadius: string;
673
+ boxShadow: string;
674
+ color: string;
675
+ textColor: string;
676
+ padding: string;
677
+ }>;
275
678
  syncPosition: () => void;
276
679
  setShow: (value: boolean) => void;
277
- } | null>;
278
- handleClick: import("vue").ComputedRef<(() => void) | undefined>;
279
- renderTrigger: () => JSX.Element;
280
- getTooltipDisabled: () => boolean;
281
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
282
- readonly expandTrigger: PropType<"click">;
283
- readonly lineClamp: PropType<string | number>;
284
- readonly tooltip: {
285
- readonly type: PropType<boolean | import("naive-ui").PopoverProps>;
286
- readonly default: true;
287
- };
288
- readonly theme: PropType<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
289
- Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
680
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
681
+ theme: PropType<import("naive-ui/es/_mixins").Theme<"Tooltip", {
290
682
  borderRadius: string;
291
683
  boxShadow: string;
292
684
  color: string;
@@ -307,10 +699,8 @@ declare const _default: import("vue").DefineComponent<{
307
699
  arrowHeight: string;
308
700
  padding: string;
309
701
  }, any>;
310
- }>;
311
- }>>;
312
- readonly themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
313
- Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
702
+ }>>;
703
+ themeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Tooltip", {
314
704
  borderRadius: string;
315
705
  boxShadow: string;
316
706
  color: string;
@@ -331,10 +721,8 @@ declare const _default: import("vue").DefineComponent<{
331
721
  arrowHeight: string;
332
722
  padding: string;
333
723
  }, any>;
334
- }>;
335
- }>>>;
336
- readonly builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Ellipsis", unknown, {
337
- Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
724
+ }>>>;
725
+ builtinThemeOverrides: PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Tooltip", {
338
726
  borderRadius: string;
339
727
  boxShadow: string;
340
728
  color: string;
@@ -355,16 +743,139 @@ declare const _default: import("vue").DefineComponent<{
355
743
  arrowHeight: string;
356
744
  padding: string;
357
745
  }, any>;
358
- }>;
359
- }>>>;
746
+ }>>>;
747
+ show: {
748
+ type: PropType<boolean | undefined>;
749
+ default: undefined;
750
+ };
751
+ defaultShow: BooleanConstructor;
752
+ showArrow: {
753
+ type: BooleanConstructor;
754
+ default: boolean;
755
+ };
756
+ trigger: {
757
+ type: PropType<import("naive-ui").PopoverTrigger>;
758
+ default: string;
759
+ };
760
+ delay: {
761
+ type: NumberConstructor;
762
+ default: number;
763
+ };
764
+ duration: {
765
+ type: NumberConstructor;
766
+ default: number;
767
+ };
768
+ raw: BooleanConstructor;
769
+ placement: {
770
+ type: PropType<import("vueuc").FollowerPlacement>;
771
+ default: string;
772
+ };
773
+ x: NumberConstructor;
774
+ y: NumberConstructor;
775
+ arrowPointToCenter: BooleanConstructor;
776
+ disabled: BooleanConstructor;
777
+ getDisabled: PropType<() => boolean>;
778
+ displayDirective: {
779
+ type: PropType<"show" | "if">;
780
+ default: string;
781
+ };
782
+ arrowStyle: PropType<string | CSSProperties>;
783
+ flip: {
784
+ type: BooleanConstructor;
785
+ default: boolean;
786
+ };
787
+ animated: {
788
+ type: BooleanConstructor;
789
+ default: boolean;
790
+ };
791
+ width: {
792
+ type: PropType<number | "trigger">;
793
+ default: undefined;
794
+ };
795
+ overlap: BooleanConstructor;
796
+ keepAliveOnHover: {
797
+ type: BooleanConstructor;
798
+ default: boolean;
799
+ };
800
+ zIndex: NumberConstructor;
801
+ to: {
802
+ type: PropType<string | boolean | HTMLElement>;
803
+ default: undefined;
804
+ };
805
+ scrollable: BooleanConstructor;
806
+ contentStyle: PropType<string | CSSProperties>;
807
+ headerStyle: PropType<string | CSSProperties>;
808
+ footerStyle: PropType<string | CSSProperties>;
809
+ onClickoutside: PropType<(e: MouseEvent) => void>;
810
+ 'onUpdate:show': PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void>>;
811
+ onUpdateShow: PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void>>;
812
+ internalDeactivateImmediately: BooleanConstructor;
813
+ internalSyncTargetWithParent: BooleanConstructor;
814
+ internalInheritedEventHandlers: {
815
+ type: PropType<import("naive-ui/es/popover/src/Popover").TriggerEventHandlers[]>;
816
+ default: () => never[];
817
+ };
818
+ internalTrapFocus: BooleanConstructor;
819
+ internalExtraClass: {
820
+ type: PropType<string[]>;
821
+ default: () => never[];
822
+ };
823
+ onShow: PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void> | undefined>;
824
+ onHide: PropType<import("naive-ui/es/_utils").MaybeArray<(value: boolean) => void> | undefined>;
825
+ arrow: {
826
+ type: PropType<boolean | undefined>;
827
+ default: undefined;
828
+ };
829
+ minWidth: NumberConstructor;
830
+ maxWidth: NumberConstructor;
831
+ }>>, {
832
+ show: boolean | undefined;
833
+ flip: boolean;
834
+ width: number | "trigger";
835
+ disabled: boolean;
836
+ duration: number;
837
+ to: string | boolean | HTMLElement;
838
+ raw: boolean;
839
+ placement: import("vueuc").FollowerPlacement;
840
+ overlap: boolean;
841
+ scrollable: boolean;
842
+ trigger: import("naive-ui").PopoverTrigger;
843
+ showArrow: boolean;
844
+ delay: number;
845
+ arrowPointToCenter: boolean;
846
+ displayDirective: "show" | "if";
847
+ keepAliveOnHover: boolean;
848
+ internalDeactivateImmediately: boolean;
849
+ animated: boolean;
850
+ internalTrapFocus: boolean;
851
+ defaultShow: boolean;
852
+ internalSyncTargetWithParent: boolean;
853
+ internalInheritedEventHandlers: import("naive-ui/es/popover/src/Popover").TriggerEventHandlers[];
854
+ internalExtraClass: string[];
855
+ arrow: boolean | undefined;
856
+ }>;
857
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
858
+ content: {
859
+ type: StringConstructor;
860
+ default: string;
861
+ };
862
+ tip: {
863
+ type: StringConstructor;
864
+ };
865
+ contentStyle: {
866
+ type: PropType<CSSProperties>;
867
+ default: () => {};
868
+ };
360
869
  }>>, {
361
- readonly tooltip: boolean | import("naive-ui").PopoverProps;
870
+ contentStyle: CSSProperties;
871
+ content: string;
362
872
  }>;
363
873
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
364
874
  content: {
365
875
  type: StringConstructor;
366
876
  default: string;
367
877
  };
878
+ tip: StringConstructor;
368
879
  width: {
369
880
  type: NumberConstructor;
370
881
  };