@unizhen/ui 0.0.78 → 0.0.80

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.
@@ -11,6 +11,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
11
11
  type: PropType<string>;
12
12
  default: string;
13
13
  };
14
+ text: {
15
+ type: PropType<string>;
16
+ default: string;
17
+ };
14
18
  }>, {
15
19
  back: () => void;
16
20
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
@@ -18,7 +22,12 @@ declare const _default: DefineComponent<ExtractPropTypes<{
18
22
  type: PropType<string>;
19
23
  default: string;
20
24
  };
25
+ text: {
26
+ type: PropType<string>;
27
+ default: string;
28
+ };
21
29
  }>> & Readonly<{}>, {
30
+ text: string;
22
31
  to: string;
23
32
  }, {}, {
24
33
  ArrowNarrowLeft: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
@@ -1,11 +1,4 @@
1
- import { PropType, DefineComponent, ExtractPropTypes, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, CSSProperties, SlotsType, ComponentProvideOptions } from 'vue';
2
- import { InternalRenderBody } from 'naive-ui/es/popover/src/interface';
3
- import { PopoverTrigger, PopoverPlacement, PopoverSlots } from 'naive-ui';
4
- import { MaybeArray } from 'naive-ui/es/_utils';
5
- import { TriggerEventHandlers } from 'naive-ui/es/popover/src/Popover';
6
- import { Theme } from 'naive-ui/es/_mixins';
7
- import { ExtractThemeOverrides } from 'naive-ui/es/_mixins/use-theme';
8
- import { BinderInst } from 'vueuc';
1
+ import { PropType, DefineComponent, ExtractPropTypes, ComputedRef, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
9
2
  declare const _default: DefineComponent<ExtractPropTypes<{
10
3
  circle: {
11
4
  required: true;
@@ -26,22 +19,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
26
19
  default: string;
27
20
  };
28
21
  }>, {
29
- popover: Ref<{
30
- show: boolean;
31
- text: string;
32
- x: number;
33
- y: number;
34
- }, {
35
- show: boolean;
36
- text: string;
37
- x: number;
38
- y: number;
39
- } | {
40
- show: boolean;
41
- text: string;
42
- x: number;
43
- y: number;
44
- }>;
45
22
  backgroundBg: ComputedRef<string>;
46
23
  strokeDasharray: Ref<any, any>;
47
24
  centerTransform: Ref<any, any>;
@@ -75,398 +52,5 @@ declare const _default: DefineComponent<ExtractPropTypes<{
75
52
  circle: string | number;
76
53
  mode: 0 | 1;
77
54
  circleUnit: string;
78
- }, {}, {
79
- NPopover: DefineComponent<ExtractPropTypes<{
80
- internalOnAfterLeave: PropType<() => void>;
81
- internalRenderBody: PropType< InternalRenderBody>;
82
- show: {
83
- type: PropType<boolean | undefined>;
84
- default: undefined;
85
- };
86
- defaultShow: BooleanConstructor;
87
- showArrow: {
88
- type: BooleanConstructor;
89
- default: boolean;
90
- };
91
- trigger: {
92
- type: PropType< PopoverTrigger>;
93
- default: string;
94
- };
95
- delay: {
96
- type: NumberConstructor;
97
- default: number;
98
- };
99
- duration: {
100
- type: NumberConstructor;
101
- default: number;
102
- };
103
- raw: BooleanConstructor;
104
- placement: {
105
- type: PropType< PopoverPlacement>;
106
- default: string;
107
- };
108
- x: NumberConstructor;
109
- y: NumberConstructor;
110
- arrowPointToCenter: BooleanConstructor;
111
- disabled: BooleanConstructor;
112
- getDisabled: PropType<() => boolean>;
113
- displayDirective: {
114
- type: PropType<"if" | "show">;
115
- default: string;
116
- };
117
- arrowClass: StringConstructor;
118
- arrowStyle: PropType<string | CSSProperties>;
119
- arrowWrapperClass: StringConstructor;
120
- arrowWrapperStyle: PropType<string | CSSProperties>;
121
- flip: {
122
- type: BooleanConstructor;
123
- default: boolean;
124
- };
125
- animated: {
126
- type: BooleanConstructor;
127
- default: boolean;
128
- };
129
- width: {
130
- type: PropType<number | "trigger">;
131
- default: undefined;
132
- };
133
- overlap: BooleanConstructor;
134
- keepAliveOnHover: {
135
- type: BooleanConstructor;
136
- default: boolean;
137
- };
138
- zIndex: NumberConstructor;
139
- to: {
140
- type: PropType<HTMLElement | string | boolean>;
141
- default: undefined;
142
- };
143
- scrollable: BooleanConstructor;
144
- contentClass: StringConstructor;
145
- contentStyle: PropType< CSSProperties | string>;
146
- headerClass: StringConstructor;
147
- headerStyle: PropType< CSSProperties | string>;
148
- footerClass: StringConstructor;
149
- footerStyle: PropType< CSSProperties | string>;
150
- onClickoutside: PropType<(e: MouseEvent) => void>;
151
- 'onUpdate:show': PropType< MaybeArray<(value: boolean) => void>>;
152
- onUpdateShow: PropType< MaybeArray<(value: boolean) => void>>;
153
- internalDeactivateImmediately: BooleanConstructor;
154
- internalSyncTargetWithParent: BooleanConstructor;
155
- internalInheritedEventHandlers: {
156
- type: PropType< TriggerEventHandlers[]>;
157
- default: () => never[];
158
- };
159
- internalTrapFocus: BooleanConstructor;
160
- internalExtraClass: {
161
- type: PropType<string[]>;
162
- default: () => never[];
163
- };
164
- onShow: PropType< MaybeArray<(value: boolean) => void> | undefined>;
165
- onHide: PropType< MaybeArray<(value: boolean) => void> | undefined>;
166
- arrow: {
167
- type: PropType<boolean | undefined>;
168
- default: undefined;
169
- };
170
- minWidth: NumberConstructor;
171
- maxWidth: NumberConstructor;
172
- theme: PropType< Theme<"Popover", {
173
- fontSize: string;
174
- borderRadius: string;
175
- color: string;
176
- dividerColor: string;
177
- textColor: string;
178
- boxShadow: string;
179
- space: string;
180
- spaceArrow: string;
181
- arrowOffset: string;
182
- arrowOffsetVertical: string;
183
- arrowHeight: string;
184
- padding: string;
185
- }, {
186
- Scrollbar: Theme<"Scrollbar", {
187
- height: string;
188
- width: string;
189
- borderRadius: string;
190
- color: string;
191
- colorHover: string;
192
- railInsetHorizontalBottom: string;
193
- railInsetHorizontalTop: string;
194
- railInsetVerticalRight: string;
195
- railInsetVerticalLeft: string;
196
- railColor: string;
197
- }, any>;
198
- }>>;
199
- themeOverrides: PropType< ExtractThemeOverrides<Theme<"Popover", {
200
- fontSize: string;
201
- borderRadius: string;
202
- color: string;
203
- dividerColor: string;
204
- textColor: string;
205
- boxShadow: string;
206
- space: string;
207
- spaceArrow: string;
208
- arrowOffset: string;
209
- arrowOffsetVertical: string;
210
- arrowHeight: string;
211
- padding: string;
212
- }, {
213
- Scrollbar: Theme<"Scrollbar", {
214
- height: string;
215
- width: string;
216
- borderRadius: string;
217
- color: string;
218
- colorHover: string;
219
- railInsetHorizontalBottom: string;
220
- railInsetHorizontalTop: string;
221
- railInsetVerticalRight: string;
222
- railInsetVerticalLeft: string;
223
- railColor: string;
224
- }, any>;
225
- }>>>;
226
- builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Popover", {
227
- fontSize: string;
228
- borderRadius: string;
229
- color: string;
230
- dividerColor: string;
231
- textColor: string;
232
- boxShadow: string;
233
- space: string;
234
- spaceArrow: string;
235
- arrowOffset: string;
236
- arrowOffsetVertical: string;
237
- arrowHeight: string;
238
- padding: string;
239
- }, {
240
- Scrollbar: Theme<"Scrollbar", {
241
- height: string;
242
- width: string;
243
- borderRadius: string;
244
- color: string;
245
- colorHover: string;
246
- railInsetHorizontalBottom: string;
247
- railInsetHorizontalTop: string;
248
- railInsetVerticalRight: string;
249
- railInsetVerticalLeft: string;
250
- railColor: string;
251
- }, any>;
252
- }>>>;
253
- }>, {
254
- binderInstRef: Ref<{
255
- targetRef: HTMLElement | null;
256
- } | null, BinderInst | {
257
- targetRef: HTMLElement | null;
258
- } | null>;
259
- positionManually: ComputedRef<boolean>;
260
- mergedShowConsideringDisabledProp: ComputedRef<boolean>;
261
- uncontrolledShow: Ref<boolean, boolean>;
262
- mergedShowArrow: ComputedRef<boolean>;
263
- getMergedShow: () => boolean;
264
- setShow: (value: boolean) => void;
265
- handleClick: () => void;
266
- handleMouseEnter: () => void;
267
- handleMouseLeave: () => void;
268
- handleFocus: () => void;
269
- handleBlur: () => void;
270
- syncPosition: () => void;
271
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
272
- internalOnAfterLeave: PropType<() => void>;
273
- internalRenderBody: PropType< InternalRenderBody>;
274
- show: {
275
- type: PropType<boolean | undefined>;
276
- default: undefined;
277
- };
278
- defaultShow: BooleanConstructor;
279
- showArrow: {
280
- type: BooleanConstructor;
281
- default: boolean;
282
- };
283
- trigger: {
284
- type: PropType< PopoverTrigger>;
285
- default: string;
286
- };
287
- delay: {
288
- type: NumberConstructor;
289
- default: number;
290
- };
291
- duration: {
292
- type: NumberConstructor;
293
- default: number;
294
- };
295
- raw: BooleanConstructor;
296
- placement: {
297
- type: PropType< PopoverPlacement>;
298
- default: string;
299
- };
300
- x: NumberConstructor;
301
- y: NumberConstructor;
302
- arrowPointToCenter: BooleanConstructor;
303
- disabled: BooleanConstructor;
304
- getDisabled: PropType<() => boolean>;
305
- displayDirective: {
306
- type: PropType<"if" | "show">;
307
- default: string;
308
- };
309
- arrowClass: StringConstructor;
310
- arrowStyle: PropType<string | CSSProperties>;
311
- arrowWrapperClass: StringConstructor;
312
- arrowWrapperStyle: PropType<string | CSSProperties>;
313
- flip: {
314
- type: BooleanConstructor;
315
- default: boolean;
316
- };
317
- animated: {
318
- type: BooleanConstructor;
319
- default: boolean;
320
- };
321
- width: {
322
- type: PropType<number | "trigger">;
323
- default: undefined;
324
- };
325
- overlap: BooleanConstructor;
326
- keepAliveOnHover: {
327
- type: BooleanConstructor;
328
- default: boolean;
329
- };
330
- zIndex: NumberConstructor;
331
- to: {
332
- type: PropType<HTMLElement | string | boolean>;
333
- default: undefined;
334
- };
335
- scrollable: BooleanConstructor;
336
- contentClass: StringConstructor;
337
- contentStyle: PropType< CSSProperties | string>;
338
- headerClass: StringConstructor;
339
- headerStyle: PropType< CSSProperties | string>;
340
- footerClass: StringConstructor;
341
- footerStyle: PropType< CSSProperties | string>;
342
- onClickoutside: PropType<(e: MouseEvent) => void>;
343
- 'onUpdate:show': PropType< MaybeArray<(value: boolean) => void>>;
344
- onUpdateShow: PropType< MaybeArray<(value: boolean) => void>>;
345
- internalDeactivateImmediately: BooleanConstructor;
346
- internalSyncTargetWithParent: BooleanConstructor;
347
- internalInheritedEventHandlers: {
348
- type: PropType< TriggerEventHandlers[]>;
349
- default: () => never[];
350
- };
351
- internalTrapFocus: BooleanConstructor;
352
- internalExtraClass: {
353
- type: PropType<string[]>;
354
- default: () => never[];
355
- };
356
- onShow: PropType< MaybeArray<(value: boolean) => void> | undefined>;
357
- onHide: PropType< MaybeArray<(value: boolean) => void> | undefined>;
358
- arrow: {
359
- type: PropType<boolean | undefined>;
360
- default: undefined;
361
- };
362
- minWidth: NumberConstructor;
363
- maxWidth: NumberConstructor;
364
- theme: PropType< Theme<"Popover", {
365
- fontSize: string;
366
- borderRadius: string;
367
- color: string;
368
- dividerColor: string;
369
- textColor: string;
370
- boxShadow: string;
371
- space: string;
372
- spaceArrow: string;
373
- arrowOffset: string;
374
- arrowOffsetVertical: string;
375
- arrowHeight: string;
376
- padding: string;
377
- }, {
378
- Scrollbar: Theme<"Scrollbar", {
379
- height: string;
380
- width: string;
381
- borderRadius: string;
382
- color: string;
383
- colorHover: string;
384
- railInsetHorizontalBottom: string;
385
- railInsetHorizontalTop: string;
386
- railInsetVerticalRight: string;
387
- railInsetVerticalLeft: string;
388
- railColor: string;
389
- }, any>;
390
- }>>;
391
- themeOverrides: PropType< ExtractThemeOverrides<Theme<"Popover", {
392
- fontSize: string;
393
- borderRadius: string;
394
- color: string;
395
- dividerColor: string;
396
- textColor: string;
397
- boxShadow: string;
398
- space: string;
399
- spaceArrow: string;
400
- arrowOffset: string;
401
- arrowOffsetVertical: string;
402
- arrowHeight: string;
403
- padding: string;
404
- }, {
405
- Scrollbar: Theme<"Scrollbar", {
406
- height: string;
407
- width: string;
408
- borderRadius: string;
409
- color: string;
410
- colorHover: string;
411
- railInsetHorizontalBottom: string;
412
- railInsetHorizontalTop: string;
413
- railInsetVerticalRight: string;
414
- railInsetVerticalLeft: string;
415
- railColor: string;
416
- }, any>;
417
- }>>>;
418
- builtinThemeOverrides: PropType< ExtractThemeOverrides<Theme<"Popover", {
419
- fontSize: string;
420
- borderRadius: string;
421
- color: string;
422
- dividerColor: string;
423
- textColor: string;
424
- boxShadow: string;
425
- space: string;
426
- spaceArrow: string;
427
- arrowOffset: string;
428
- arrowOffsetVertical: string;
429
- arrowHeight: string;
430
- padding: string;
431
- }, {
432
- Scrollbar: Theme<"Scrollbar", {
433
- height: string;
434
- width: string;
435
- borderRadius: string;
436
- color: string;
437
- colorHover: string;
438
- railInsetHorizontalBottom: string;
439
- railInsetHorizontalTop: string;
440
- railInsetVerticalRight: string;
441
- railInsetVerticalLeft: string;
442
- railColor: string;
443
- }, any>;
444
- }>>>;
445
- }>> & Readonly<{}>, {
446
- disabled: boolean;
447
- raw: boolean;
448
- width: number | "trigger";
449
- duration: number;
450
- scrollable: boolean;
451
- trigger: PopoverTrigger;
452
- to: string | boolean | HTMLElement;
453
- placement: PopoverPlacement;
454
- show: boolean | undefined;
455
- showArrow: boolean;
456
- arrow: boolean | undefined;
457
- defaultShow: boolean;
458
- delay: number;
459
- arrowPointToCenter: boolean;
460
- displayDirective: "show" | "if";
461
- flip: boolean;
462
- animated: boolean;
463
- overlap: boolean;
464
- keepAliveOnHover: boolean;
465
- internalDeactivateImmediately: boolean;
466
- internalSyncTargetWithParent: boolean;
467
- internalInheritedEventHandlers: TriggerEventHandlers[];
468
- internalTrapFocus: boolean;
469
- internalExtraClass: string[];
470
- }, SlotsType<PopoverSlots>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
471
- }, {}, string, ComponentProvideOptions, true, {}, any>;
55
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
472
56
  export default _default;