@unizhen/ui 0.0.70 → 0.0.71

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.
@@ -1,11 +1,10 @@
1
1
  import { PropType, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, VNodeChild, Ref, ComputedRef, SlotsType, Component } from 'vue';
2
- import { Size, Type } from 'naive-ui/es/button/src/interface';
2
+ import { ButtonSize, ButtonType, ButtonSpinProps, ButtonSlots } from 'naive-ui';
3
3
  import { MaybeArray } from 'naive-ui/es/_utils';
4
4
  import { Theme } from 'naive-ui/es/_mixins';
5
5
  import { ExtractThemeOverrides } from 'naive-ui/es/_mixins/use-theme';
6
6
  import { BaseWaveRef } from 'naive-ui/es/_internal';
7
7
  import { RtlItem } from 'naive-ui/es/config-provider/src/internal-interface';
8
- import { ButtonSlots } from 'naive-ui';
9
8
  import { Depth } from 'naive-ui/es/icon/src/Icon';
10
9
  declare const _default: DefineComponent<ExtractPropTypes<{
11
10
  to: {
@@ -31,7 +30,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
31
30
  readonly loading: BooleanConstructor;
32
31
  readonly disabled: BooleanConstructor;
33
32
  readonly circle: BooleanConstructor;
34
- readonly size: PropType< Size>;
33
+ readonly size: PropType< ButtonSize>;
35
34
  readonly ghost: BooleanConstructor;
36
35
  readonly round: BooleanConstructor;
37
36
  readonly secondary: BooleanConstructor;
@@ -51,7 +50,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
51
50
  readonly default: "button";
52
51
  };
53
52
  readonly type: {
54
- readonly type: PropType< Type>;
53
+ readonly type: PropType< ButtonType>;
55
54
  readonly default: "default";
56
55
  };
57
56
  readonly dashed: BooleanConstructor;
@@ -73,6 +72,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
73
72
  readonly type: BooleanConstructor;
74
73
  readonly default: boolean;
75
74
  };
75
+ readonly spinProps: PropType< ButtonSpinProps>;
76
76
  readonly theme: PropType< Theme<"Button", {
77
77
  heightTiny: string;
78
78
  heightSmall: string;
@@ -751,7 +751,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
751
751
  readonly loading: BooleanConstructor;
752
752
  readonly disabled: BooleanConstructor;
753
753
  readonly circle: BooleanConstructor;
754
- readonly size: PropType< Size>;
754
+ readonly size: PropType< ButtonSize>;
755
755
  readonly ghost: BooleanConstructor;
756
756
  readonly round: BooleanConstructor;
757
757
  readonly secondary: BooleanConstructor;
@@ -771,7 +771,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
771
771
  readonly default: "button";
772
772
  };
773
773
  readonly type: {
774
- readonly type: PropType< Type>;
774
+ readonly type: PropType< ButtonType>;
775
775
  readonly default: "default";
776
776
  };
777
777
  readonly dashed: BooleanConstructor;
@@ -793,6 +793,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
793
793
  readonly type: BooleanConstructor;
794
794
  readonly default: boolean;
795
795
  };
796
+ readonly spinProps: PropType< ButtonSpinProps>;
796
797
  readonly theme: PropType< Theme<"Button", {
797
798
  heightTiny: string;
798
799
  heightSmall: string;
@@ -1407,7 +1408,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1407
1408
  }, any>>>;
1408
1409
  }>> & Readonly<{}>, {
1409
1410
  readonly disabled: boolean;
1410
- readonly type: Type;
1411
+ readonly type: ButtonType;
1411
1412
  readonly bordered: boolean;
1412
1413
  readonly block: boolean;
1413
1414
  readonly loading: boolean;
@@ -1,11 +1,10 @@
1
1
  import { PropType, DefineComponent, ExtractPropTypes, Ref, ComponentOptionsMixin, PublicProps, VNodeChild, ComputedRef, SlotsType, ComponentProvideOptions, CSSProperties } from 'vue';
2
- import { Size, Type } from 'naive-ui/es/button/src/interface';
2
+ import { ButtonSize, ButtonType, ButtonSpinProps, ButtonSlots, ButtonProps, CardSegmented, CardSize, ModalSlots } from 'naive-ui';
3
3
  import { MaybeArray } from 'naive-ui/es/_utils';
4
4
  import { Theme } from 'naive-ui/es/_mixins';
5
5
  import { ExtractThemeOverrides } from 'naive-ui/es/_mixins/use-theme';
6
6
  import { BaseWaveRef } from 'naive-ui/es/_internal';
7
7
  import { RtlItem } from 'naive-ui/es/config-provider/src/internal-interface';
8
- import { ButtonSlots, ButtonProps, CardSegmented, ModalSlots } from 'naive-ui';
9
8
  import { ModalDraggableOptions } from 'naive-ui/es/modal/src/interface';
10
9
  import { IconPlacement } from 'naive-ui/es/dialog/src/interface';
11
10
  declare const _default: DefineComponent<ExtractPropTypes<{
@@ -64,7 +63,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
64
63
  readonly loading: BooleanConstructor;
65
64
  readonly disabled: BooleanConstructor;
66
65
  readonly circle: BooleanConstructor;
67
- readonly size: PropType< Size>;
66
+ readonly size: PropType< ButtonSize>;
68
67
  readonly ghost: BooleanConstructor;
69
68
  readonly round: BooleanConstructor;
70
69
  readonly secondary: BooleanConstructor;
@@ -84,7 +83,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
84
83
  readonly default: "button";
85
84
  };
86
85
  readonly type: {
87
- readonly type: PropType< Type>;
86
+ readonly type: PropType< ButtonType>;
88
87
  readonly default: "default";
89
88
  };
90
89
  readonly dashed: BooleanConstructor;
@@ -106,6 +105,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
106
105
  readonly type: BooleanConstructor;
107
106
  readonly default: boolean;
108
107
  };
108
+ readonly spinProps: PropType< ButtonSpinProps>;
109
109
  readonly theme: PropType< Theme<"Button", {
110
110
  heightTiny: string;
111
111
  heightSmall: string;
@@ -784,7 +784,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
784
784
  readonly loading: BooleanConstructor;
785
785
  readonly disabled: BooleanConstructor;
786
786
  readonly circle: BooleanConstructor;
787
- readonly size: PropType< Size>;
787
+ readonly size: PropType< ButtonSize>;
788
788
  readonly ghost: BooleanConstructor;
789
789
  readonly round: BooleanConstructor;
790
790
  readonly secondary: BooleanConstructor;
@@ -804,7 +804,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
804
804
  readonly default: "button";
805
805
  };
806
806
  readonly type: {
807
- readonly type: PropType< Type>;
807
+ readonly type: PropType< ButtonType>;
808
808
  readonly default: "default";
809
809
  };
810
810
  readonly dashed: BooleanConstructor;
@@ -826,6 +826,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
826
826
  readonly type: BooleanConstructor;
827
827
  readonly default: boolean;
828
828
  };
829
+ readonly spinProps: PropType< ButtonSpinProps>;
829
830
  readonly theme: PropType< Theme<"Button", {
830
831
  heightTiny: string;
831
832
  heightSmall: string;
@@ -1440,7 +1441,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1440
1441
  }, any>>>;
1441
1442
  }>> & Readonly<{}>, {
1442
1443
  readonly disabled: boolean;
1443
- readonly type: Type;
1444
+ readonly type: ButtonType;
1444
1445
  readonly bordered: boolean;
1445
1446
  readonly block: boolean;
1446
1447
  readonly loading: boolean;
@@ -1516,6 +1517,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1516
1517
  actionClass: PropType<string | Array<string | undefined>>;
1517
1518
  actionStyle: PropType<string | CSSProperties>;
1518
1519
  closeFocusable: BooleanConstructor;
1520
+ contentScrollable: BooleanConstructor;
1519
1521
  headerClass: StringConstructor;
1520
1522
  headerStyle: PropType< CSSProperties | string>;
1521
1523
  headerExtraClass: StringConstructor;
@@ -1527,10 +1529,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1527
1529
  readonly type: PropType<boolean | CardSegmented>;
1528
1530
  readonly default: false;
1529
1531
  };
1530
- size: {
1531
- readonly type: PropType<"small" | "medium" | "large" | "huge">;
1532
- readonly default: "medium";
1533
- };
1532
+ size: PropType< CardSize>;
1534
1533
  hoverable: BooleanConstructor;
1535
1534
  role: StringConstructor;
1536
1535
  tag: {
@@ -2530,6 +2529,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
2530
2529
  actionClass: PropType<string | Array<string | undefined>>;
2531
2530
  actionStyle: PropType<string | CSSProperties>;
2532
2531
  closeFocusable: BooleanConstructor;
2532
+ contentScrollable: BooleanConstructor;
2533
2533
  headerClass: StringConstructor;
2534
2534
  headerStyle: PropType< CSSProperties | string>;
2535
2535
  headerExtraClass: StringConstructor;
@@ -2541,10 +2541,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
2541
2541
  readonly type: PropType<boolean | CardSegmented>;
2542
2542
  readonly default: false;
2543
2543
  };
2544
- size: {
2545
- readonly type: PropType<"small" | "medium" | "large" | "huge">;
2546
- readonly default: "medium";
2547
- };
2544
+ size: PropType< CardSize>;
2548
2545
  hoverable: BooleanConstructor;
2549
2546
  role: StringConstructor;
2550
2547
  tag: {
@@ -3468,7 +3465,6 @@ declare const _default: DefineComponent<ExtractPropTypes<{
3468
3465
  }>>>;
3469
3466
  }>> & Readonly<{}>, {
3470
3467
  type: "default" | "info" | "warning" | "error" | "success";
3471
- size: "small" | "medium" | "large" | "huge";
3472
3468
  showIcon: boolean;
3473
3469
  bordered: boolean;
3474
3470
  closable: boolean;
@@ -3476,6 +3472,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
3476
3472
  show: boolean;
3477
3473
  transformOrigin: "center" | "mouse";
3478
3474
  tag: keyof HTMLElementTagNameMap;
3475
+ contentScrollable: boolean;
3479
3476
  embedded: boolean;
3480
3477
  segmented: boolean | CardSegmented;
3481
3478
  hoverable: boolean;
@@ -445,23 +445,23 @@ declare const _default: DefineComponent<ExtractPropTypes<{
445
445
  }>> & Readonly<{}>, {
446
446
  disabled: boolean;
447
447
  raw: boolean;
448
+ width: number | "trigger";
449
+ duration: number;
450
+ scrollable: boolean;
451
+ trigger: PopoverTrigger;
448
452
  to: string | boolean | HTMLElement;
449
453
  placement: PopoverPlacement;
450
- width: number | "trigger";
451
454
  show: boolean | undefined;
452
455
  showArrow: boolean;
453
- trigger: PopoverTrigger;
454
456
  arrow: boolean | undefined;
455
457
  defaultShow: boolean;
456
458
  delay: number;
457
- duration: number;
458
459
  arrowPointToCenter: boolean;
459
460
  displayDirective: "show" | "if";
460
461
  flip: boolean;
461
462
  animated: boolean;
462
463
  overlap: boolean;
463
464
  keepAliveOnHover: boolean;
464
- scrollable: boolean;
465
465
  internalDeactivateImmediately: boolean;
466
466
  internalSyncTargetWithParent: boolean;
467
467
  internalInheritedEventHandlers: TriggerEventHandlers[];