lew-ui 2.4.3 → 2.4.4

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.
@@ -106,7 +106,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
106
106
  disabled: boolean;
107
107
  readonly: boolean;
108
108
  checked: boolean;
109
- certain: boolean;
110
109
  iconable: boolean;
110
+ certain: boolean;
111
111
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
112
112
  export default _default;
@@ -29,10 +29,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
29
29
  validator: (value: import('../../..').LewSize) => boolean;
30
30
  };
31
31
  direction: {
32
- type: StringConstructor;
32
+ type: PropType<import('../../..').LewDirection>;
33
33
  default: string;
34
34
  description: string;
35
- validator: (value: string) => boolean;
35
+ validator: (value: import('../../..').LewDirection) => boolean;
36
36
  };
37
37
  block: {
38
38
  type: BooleanConstructor;
@@ -80,10 +80,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
80
80
  validator: (value: import('../../..').LewSize) => boolean;
81
81
  };
82
82
  direction: {
83
- type: StringConstructor;
83
+ type: PropType<import('../../..').LewDirection>;
84
84
  default: string;
85
85
  description: string;
86
- validator: (value: string) => boolean;
86
+ validator: (value: import('../../..').LewDirection) => boolean;
87
87
  };
88
88
  block: {
89
89
  type: BooleanConstructor;
@@ -104,7 +104,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
104
104
  onChange?: ((...args: any[]) => any) | undefined;
105
105
  }>, {
106
106
  size: import('../../..').LewSize;
107
- direction: string;
107
+ direction: import('../../..').LewDirection;
108
108
  block: boolean;
109
109
  round: boolean;
110
110
  options: CheckboxOptions[];
@@ -1,5 +1,5 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- import { LewSize } from '../../..';
2
+ import { LewSize, LewDirection } from '../../..';
3
3
 
4
4
  export type CheckboxGroupDirectionType = 'x' | 'y';
5
5
  export type CheckboxValue = string | number;
@@ -96,10 +96,10 @@ export declare const checkboxGroupProps: {
96
96
  validator: (value: LewSize) => boolean;
97
97
  };
98
98
  direction: {
99
- type: StringConstructor;
99
+ type: PropType<LewDirection>;
100
100
  default: string;
101
101
  description: string;
102
- validator: (value: string) => boolean;
102
+ validator: (value: LewDirection) => boolean;
103
103
  };
104
104
  block: {
105
105
  type: BooleanConstructor;
@@ -44,7 +44,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
44
44
  description: string;
45
45
  };
46
46
  okProps: {
47
- type: PropType<import('../..').ButtonProps>;
47
+ type: PropType<import('../../..').ButtonProps>;
48
48
  default: () => {
49
49
  text: string;
50
50
  color: string;
@@ -52,7 +52,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
52
52
  description: string;
53
53
  };
54
54
  cancelProps: {
55
- type: PropType<import('../..').ButtonProps>;
55
+ type: PropType<import('../../..').ButtonProps>;
56
56
  default: () => {
57
57
  type: string;
58
58
  text: string;
@@ -104,7 +104,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
104
104
  description: string;
105
105
  };
106
106
  okProps: {
107
- type: PropType<import('../..').ButtonProps>;
107
+ type: PropType<import('../../..').ButtonProps>;
108
108
  default: () => {
109
109
  text: string;
110
110
  color: string;
@@ -112,7 +112,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
112
112
  description: string;
113
113
  };
114
114
  cancelProps: {
115
- type: PropType<import('../..').ButtonProps>;
115
+ type: PropType<import('../../..').ButtonProps>;
116
116
  default: () => {
117
117
  type: string;
118
118
  text: string;
@@ -130,8 +130,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
130
130
  hideFooter: boolean;
131
131
  closeByEsc: boolean;
132
132
  okProps: {
133
- type: import('../..').ButtonType;
134
- size: import('../..').ButtonSize;
133
+ type: import('../../..').ButtonType;
134
+ size: import('../../..').ButtonSize;
135
135
  text: string;
136
136
  color: import('../../..').LewColor;
137
137
  round: boolean;
@@ -142,8 +142,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
142
142
  request: Function;
143
143
  };
144
144
  cancelProps: {
145
- type: import('../..').ButtonType;
146
- size: import('../..').ButtonSize;
145
+ type: import('../../..').ButtonType;
146
+ size: import('../../..').ButtonSize;
147
147
  text: string;
148
148
  color: import('../../..').LewColor;
149
149
  round: boolean;
@@ -28,10 +28,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
28
28
  validator: (value: number | string) => boolean;
29
29
  };
30
30
  objectFit: {
31
- type: PropType<import('./props').ObjectFit>;
31
+ type: PropType<import('../../..').ObjectFit>;
32
32
  default: string;
33
33
  description: string;
34
- validator: (value: import('./props').ObjectFit) => boolean;
34
+ validator: (value: import('../../..').ObjectFit) => boolean;
35
35
  };
36
36
  objectPosition: {
37
37
  type: StringConstructor;
@@ -87,10 +87,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
87
87
  validator: (value: number | string) => boolean;
88
88
  };
89
89
  objectFit: {
90
- type: PropType<import('./props').ObjectFit>;
90
+ type: PropType<import('../../..').ObjectFit>;
91
91
  default: string;
92
92
  description: string;
93
- validator: (value: import('./props').ObjectFit) => boolean;
93
+ validator: (value: import('../../..').ObjectFit) => boolean;
94
94
  };
95
95
  objectPosition: {
96
96
  type: StringConstructor;
@@ -127,7 +127,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
127
127
  loading: boolean;
128
128
  height: string | number;
129
129
  alt: string;
130
- objectFit: import('./props').ObjectFit;
130
+ objectFit: import('../../..').ObjectFit;
131
131
  objectPosition: string;
132
132
  previewKey: string;
133
133
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,191 @@
1
+ import { InputTableColumn } from './props';
2
+
3
+ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
4
+ modelValue: {
5
+ required: true;
6
+ type: import('vue').PropType<any>;
7
+ };
8
+ columns: {
9
+ type: PropType<InputTableColumn[]>;
10
+ default: () => {
11
+ title: string;
12
+ width: number;
13
+ field: string;
14
+ as: string;
15
+ }[];
16
+ description: string;
17
+ validator(value: InputTableColumn[]): boolean;
18
+ };
19
+ size: {
20
+ type: PropType<import('../../..').LewSize>;
21
+ default: string;
22
+ description: string;
23
+ validator(value: import('../../..').LewSize): boolean;
24
+ };
25
+ width: {
26
+ type: (StringConstructor | NumberConstructor)[];
27
+ default: string;
28
+ description: string;
29
+ validator(value: number | string): boolean;
30
+ };
31
+ rowKey: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ description: string;
35
+ validator(value: string): boolean;
36
+ };
37
+ batchDeletable: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ description: string;
41
+ };
42
+ addable: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ description: string;
46
+ };
47
+ defaultForm: {
48
+ type: ObjectConstructor;
49
+ default: {};
50
+ description: string;
51
+ };
52
+ deletable: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ description: string;
56
+ };
57
+ maxRows: {
58
+ type: NumberConstructor;
59
+ default: number;
60
+ description: string;
61
+ validator(value: number): boolean;
62
+ };
63
+ minRows: {
64
+ type: NumberConstructor;
65
+ default: number;
66
+ description: string;
67
+ validator(value: number): boolean;
68
+ };
69
+ clearable: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ description: string;
73
+ };
74
+ sortable: {
75
+ type: BooleanConstructor;
76
+ default: boolean;
77
+ description: string;
78
+ };
79
+ autoUniqueId: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ description: string;
83
+ };
84
+ uniqueField: {
85
+ type: StringConstructor;
86
+ default: string;
87
+ description: string;
88
+ };
89
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
90
+ modelValue: {
91
+ required: true;
92
+ type: import('vue').PropType<any>;
93
+ };
94
+ columns: {
95
+ type: PropType<InputTableColumn[]>;
96
+ default: () => {
97
+ title: string;
98
+ width: number;
99
+ field: string;
100
+ as: string;
101
+ }[];
102
+ description: string;
103
+ validator(value: InputTableColumn[]): boolean;
104
+ };
105
+ size: {
106
+ type: PropType<import('../../..').LewSize>;
107
+ default: string;
108
+ description: string;
109
+ validator(value: import('../../..').LewSize): boolean;
110
+ };
111
+ width: {
112
+ type: (StringConstructor | NumberConstructor)[];
113
+ default: string;
114
+ description: string;
115
+ validator(value: number | string): boolean;
116
+ };
117
+ rowKey: {
118
+ type: StringConstructor;
119
+ default: string;
120
+ description: string;
121
+ validator(value: string): boolean;
122
+ };
123
+ batchDeletable: {
124
+ type: BooleanConstructor;
125
+ default: boolean;
126
+ description: string;
127
+ };
128
+ addable: {
129
+ type: BooleanConstructor;
130
+ default: boolean;
131
+ description: string;
132
+ };
133
+ defaultForm: {
134
+ type: ObjectConstructor;
135
+ default: {};
136
+ description: string;
137
+ };
138
+ deletable: {
139
+ type: BooleanConstructor;
140
+ default: boolean;
141
+ description: string;
142
+ };
143
+ maxRows: {
144
+ type: NumberConstructor;
145
+ default: number;
146
+ description: string;
147
+ validator(value: number): boolean;
148
+ };
149
+ minRows: {
150
+ type: NumberConstructor;
151
+ default: number;
152
+ description: string;
153
+ validator(value: number): boolean;
154
+ };
155
+ clearable: {
156
+ type: BooleanConstructor;
157
+ default: boolean;
158
+ description: string;
159
+ };
160
+ sortable: {
161
+ type: BooleanConstructor;
162
+ default: boolean;
163
+ description: string;
164
+ };
165
+ autoUniqueId: {
166
+ type: BooleanConstructor;
167
+ default: boolean;
168
+ description: string;
169
+ };
170
+ uniqueField: {
171
+ type: StringConstructor;
172
+ default: string;
173
+ description: string;
174
+ };
175
+ }>> & Readonly<{}>, {
176
+ size: import('../../..').LewSize;
177
+ width: string | number;
178
+ clearable: boolean;
179
+ columns: InputTableColumn[];
180
+ rowKey: string;
181
+ batchDeletable: boolean;
182
+ addable: boolean;
183
+ defaultForm: Record<string, any>;
184
+ deletable: boolean;
185
+ maxRows: number;
186
+ minRows: number;
187
+ sortable: boolean;
188
+ autoUniqueId: boolean;
189
+ uniqueField: string;
190
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
191
+ export default _default;
@@ -1,7 +1,7 @@
1
1
  import { PropType } from 'vue';
2
2
  import { LewSize } from '../../..';
3
3
 
4
- interface InputTableColumn {
4
+ export interface InputTableColumn {
5
5
  title: string;
6
6
  width?: number;
7
7
  field: string;
@@ -97,4 +97,3 @@ export declare const inputTableProps: {
97
97
  description: string;
98
98
  };
99
99
  };
100
- export {};
@@ -107,7 +107,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
107
107
  width: string | number;
108
108
  trigger: import('../../..').PopoverTrigger;
109
109
  placement: import('../../..').PopoverPlacement;
110
- content: string;
111
110
  okProps: {
112
111
  type: import('../../..').ButtonType;
113
112
  size: import('../../..').ButtonSize;
@@ -132,6 +131,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
132
131
  dashed: boolean;
133
132
  request: Function;
134
133
  };
134
+ content: string;
135
135
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
136
136
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
137
137
  export default _default;
@@ -1,6 +1,7 @@
1
- import { LewColor, LewSize, LewStatusColor, LewThemeColor } from '../types';
1
+ import { LewColor, LewDirection, LewSize, LewStatusColor, LewThemeColor } from '../types';
2
2
 
3
3
  export declare const validColors: LewColor[];
4
4
  export declare const vailThemeColor: LewThemeColor[];
5
5
  export declare const validStatusColors: LewStatusColor[];
6
6
  export declare const validSizes: LewSize[];
7
+ export declare const validDirection: LewDirection[];