lew-ui 2.4.4 → 2.4.7

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.
@@ -30,10 +30,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
30
30
  description: string;
31
31
  };
32
32
  size: {
33
- type: StringConstructor;
33
+ type: PropType<import('../../..').LewSize>;
34
34
  default: string;
35
35
  description: string;
36
- validator(value: import('./props').RadioSize): boolean;
36
+ validator: (value: import('../../..').LewSize) => boolean;
37
37
  };
38
38
  block: {
39
39
  type: BooleanConstructor;
@@ -74,10 +74,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
74
74
  description: string;
75
75
  };
76
76
  size: {
77
- type: StringConstructor;
77
+ type: PropType<import('../../..').LewSize>;
78
78
  default: string;
79
79
  description: string;
80
- validator(value: import('./props').RadioSize): boolean;
80
+ validator: (value: import('../../..').LewSize) => boolean;
81
81
  };
82
82
  block: {
83
83
  type: BooleanConstructor;
@@ -87,7 +87,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
87
87
  }>> & Readonly<{
88
88
  onChange?: ((...args: any[]) => any) | undefined;
89
89
  }>, {
90
- size: string;
90
+ size: import('../../..').LewSize;
91
91
  label: string;
92
92
  block: boolean;
93
93
  round: boolean;
@@ -8,10 +8,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
8
8
  description: string;
9
9
  };
10
10
  direction: {
11
- type: StringConstructor;
11
+ type: PropType<import('../../..').LewDirection>;
12
12
  default: string;
13
13
  description: string;
14
- validator(value: import('./props').RadioDirection): boolean;
14
+ validator: (value: import('../../..').LewDirection) => boolean;
15
15
  };
16
16
  disabled: {
17
17
  type: BooleanConstructor;
@@ -39,10 +39,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
39
39
  description: string;
40
40
  };
41
41
  size: {
42
- type: StringConstructor;
42
+ type: PropType<import('../../..').LewSize>;
43
43
  default: string;
44
44
  description: string;
45
- validator(value: import('./props').RadioSize): boolean;
45
+ validator: (value: import('../../..').LewSize) => boolean;
46
46
  };
47
47
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
48
48
  change: (...args: any[]) => void;
@@ -54,10 +54,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
54
54
  description: string;
55
55
  };
56
56
  direction: {
57
- type: StringConstructor;
57
+ type: PropType<import('../../..').LewDirection>;
58
58
  default: string;
59
59
  description: string;
60
- validator(value: import('./props').RadioDirection): boolean;
60
+ validator: (value: import('../../..').LewDirection) => boolean;
61
61
  };
62
62
  disabled: {
63
63
  type: BooleanConstructor;
@@ -85,16 +85,16 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
85
85
  description: string;
86
86
  };
87
87
  size: {
88
- type: StringConstructor;
88
+ type: PropType<import('../../..').LewSize>;
89
89
  default: string;
90
90
  description: string;
91
- validator(value: import('./props').RadioSize): boolean;
91
+ validator: (value: import('../../..').LewSize) => boolean;
92
92
  };
93
93
  }>> & Readonly<{
94
94
  onChange?: ((...args: any[]) => any) | undefined;
95
95
  }>, {
96
- size: string;
97
- direction: string;
96
+ size: import('../../..').LewSize;
97
+ direction: import('../../..').LewDirection;
98
98
  block: boolean;
99
99
  round: boolean;
100
100
  options: RadioOptions[];
@@ -1,4 +1,5 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
+ import { LewSize, LewDirection } from '../../..';
2
3
 
3
4
  export type RadioSize = 'small' | 'medium' | 'large';
4
5
  export type RadioDirection = 'x' | 'y';
@@ -39,10 +40,10 @@ export declare const radioProps: {
39
40
  description: string;
40
41
  };
41
42
  size: {
42
- type: StringConstructor;
43
+ type: PropType<LewSize>;
43
44
  default: string;
44
45
  description: string;
45
- validator(value: RadioSize): boolean;
46
+ validator: (value: LewSize) => boolean;
46
47
  };
47
48
  block: {
48
49
  type: BooleanConstructor;
@@ -64,10 +65,10 @@ export declare const radioGroupProps: {
64
65
  description: string;
65
66
  };
66
67
  direction: {
67
- type: StringConstructor;
68
+ type: PropType<LewDirection>;
68
69
  default: string;
69
70
  description: string;
70
- validator(value: RadioDirection): boolean;
71
+ validator: (value: LewDirection) => boolean;
71
72
  };
72
73
  disabled: {
73
74
  type: BooleanConstructor;
@@ -95,10 +96,10 @@ export declare const radioGroupProps: {
95
96
  description: string;
96
97
  };
97
98
  size: {
98
- type: StringConstructor;
99
+ type: PropType<LewSize>;
99
100
  default: string;
100
101
  description: string;
101
- validator(value: RadioSize): boolean;
102
+ validator: (value: LewSize) => boolean;
102
103
  };
103
104
  };
104
105
  export type RadioProps = ExtractPropTypes<typeof radioProps>;
@@ -1,33 +1,33 @@
1
1
  declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
2
2
  modelValue: import('vue').PropType<any>;
3
3
  options: {
4
- type: PropType<import('./props').StepsOptions[]>;
4
+ type: PropType<import('../../..').StepsOptions[]>;
5
5
  default: () => never[];
6
6
  description: string;
7
- validator: (value: import('./props').StepsOptions[]) => boolean;
7
+ validator: (value: import('../../..').StepsOptions[]) => boolean;
8
8
  };
9
9
  status: {
10
- type: PropType<import('./props').StepsStatus>;
10
+ type: PropType<import('../../..').StepsStatus>;
11
11
  default: string;
12
12
  description: string;
13
- validator: (value: import('./props').StepsStatus) => boolean;
13
+ validator: (value: import('../../..').StepsStatus) => boolean;
14
14
  };
15
15
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
16
16
  modelValue: import('vue').PropType<any>;
17
17
  options: {
18
- type: PropType<import('./props').StepsOptions[]>;
18
+ type: PropType<import('../../..').StepsOptions[]>;
19
19
  default: () => never[];
20
20
  description: string;
21
- validator: (value: import('./props').StepsOptions[]) => boolean;
21
+ validator: (value: import('../../..').StepsOptions[]) => boolean;
22
22
  };
23
23
  status: {
24
- type: PropType<import('./props').StepsStatus>;
24
+ type: PropType<import('../../..').StepsStatus>;
25
25
  default: string;
26
26
  description: string;
27
- validator: (value: import('./props').StepsStatus) => boolean;
27
+ validator: (value: import('../../..').StepsStatus) => boolean;
28
28
  };
29
29
  }>> & Readonly<{}>, {
30
- options: import('./props').StepsOptions[];
31
- status: import('./props').StepsStatus;
30
+ options: import('../../..').StepsOptions[];
31
+ status: import('../../..').StepsStatus;
32
32
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
33
33
  export default _default;
@@ -10,10 +10,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
10
10
  description: string;
11
11
  };
12
12
  type: {
13
- type: PropType<import('./props').TagType>;
13
+ type: PropType<import('../../..').TagType>;
14
14
  default: string;
15
15
  description: string;
16
- validator(value: import('./props').TagType): boolean;
16
+ validator(value: import('../../..').TagType): boolean;
17
17
  };
18
18
  color: {
19
19
  type: PropType<import('../../..').LewColor>;
@@ -51,10 +51,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
51
51
  description: string;
52
52
  };
53
53
  type: {
54
- type: PropType<import('./props').TagType>;
54
+ type: PropType<import('../../..').TagType>;
55
55
  default: string;
56
56
  description: string;
57
- validator(value: import('./props').TagType): boolean;
57
+ validator(value: import('../../..').TagType): boolean;
58
58
  };
59
59
  color: {
60
60
  type: PropType<import('../../..').LewColor>;
@@ -86,7 +86,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
86
86
  }>> & Readonly<{
87
87
  onClose?: ((...args: any[]) => any) | undefined;
88
88
  }>, {
89
- type: import('./props').TagType;
89
+ type: import('../../..').TagType;
90
90
  size: import('../../..').LewSize;
91
91
  text: string;
92
92
  color: import('../../..').LewColor;
@@ -1,7 +1,4 @@
1
- export * from './message';
2
- export * from './dialog';
3
1
  export * from './tooltip';
4
2
  export * from './backtop';
5
- export * from './notification';
6
3
  export * from './loading';
7
4
  export * from './context-menu';
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import { App } from 'vue';
2
2
 
3
3
  export * from './components';
4
4
  export * from './directives';
5
+ export * from './methods';
5
6
  export * from './types';
6
7
  export * from './utils';
7
8
  declare const _default: {