lew-ui 2.7.6 → 2.7.8
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.
- package/dist/components/{collapse → data/collapse}/src/LewCollapse.vue.d.ts +3 -7
- package/dist/components/{collapse → data/collapse}/src/LewCollapseItem.vue.d.ts +8 -8
- package/dist/components/{collapse → data/collapse}/src/props.d.ts +16 -12
- package/dist/components/{desc → data/desc}/src/LewDesc.vue.d.ts +16 -16
- package/dist/components/{desc → data/desc}/src/LewDescItem.vue.d.ts +11 -11
- package/dist/components/{desc → data/desc}/src/props.d.ts +1 -1
- package/dist/components/data/index.d.ts +6 -0
- package/dist/components/{pagination → data/pagination}/src/LewPagination.vue.d.ts +10 -10
- package/dist/components/{pagination → data/pagination}/src/props.d.ts +1 -1
- package/dist/components/{table → data/table}/src/LewTable.vue.d.ts +18 -18
- package/dist/components/{table → data/table}/src/props.d.ts +1 -1
- package/dist/components/{tree → data/tree}/src/LewTree.vue.d.ts +10 -10
- package/dist/components/{tree → data/tree}/src/LewTreeItem.vue.d.ts +8 -8
- package/dist/components/{tree → data/tree}/src/props.d.ts +3 -3
- package/dist/components/{tree → data/tree}/src/transformTree.d.ts +2 -2
- package/dist/components/{alert → feedback/alert}/src/LewAlert.vue.d.ts +2 -2
- package/dist/components/{alert → feedback/alert}/src/props.d.ts +1 -1
- package/dist/components/{drawer → feedback/drawer}/src/LewDrawer.vue.d.ts +7 -7
- package/dist/components/{drawer → feedback/drawer}/src/props.d.ts +1 -1
- package/dist/components/{empty → feedback/empty}/src/LewEmpty.vue.d.ts +7 -7
- package/dist/components/feedback/index.d.ts +6 -0
- package/dist/components/{modal → feedback/modal}/src/LewModal.vue.d.ts +9 -9
- package/dist/components/{modal → feedback/modal}/src/props.d.ts +1 -1
- package/dist/components/{popok → feedback/popok}/src/LewPopok.vue.d.ts +110 -110
- package/dist/components/{popover → feedback/popover}/src/LewPopover.vue.d.ts +11 -11
- package/dist/components/{cascader → form/cascader}/src/LewCascader.vue.d.ts +58 -58
- package/dist/components/{cascader → form/cascader}/src/props.d.ts +3 -3
- package/dist/components/{checkbox → form/checkbox}/src/LewCheckbox.vue.d.ts +6 -6
- package/dist/components/{checkbox → form/checkbox}/src/LewCheckboxGroup.vue.d.ts +11 -11
- package/dist/components/{checkbox → form/checkbox}/src/props.d.ts +1 -1
- package/dist/components/{color-picker → form/color-picker}/src/LewColorPicker.vue.d.ts +5 -5
- package/dist/components/{color-picker → form/color-picker}/src/props.d.ts +1 -1
- package/dist/components/{date-picker → form/date-picker}/src/LewDatePicker.vue.d.ts +34 -34
- package/dist/components/{date-picker → form/date-picker}/src/props.d.ts +1 -1
- package/dist/components/{date-range-picker → form/date-range-picker}/src/LewDateRangePicker.vue.d.ts +25 -25
- package/dist/components/{date-range-picker → form/date-range-picker}/src/props.d.ts +1 -1
- package/dist/components/form/form/index.d.ts +3 -0
- package/dist/components/form/{src → form/src}/LewForm.vue.d.ts +13 -13
- package/dist/components/form/{src → form/src}/LewFormItem.vue.d.ts +13 -13
- package/dist/components/form/{src → form/src}/LewGetLabelWidth.vue.d.ts +1 -1
- package/dist/components/form/{src → form/src}/props.d.ts +1 -1
- package/dist/components/form/index.d.ts +22 -3
- package/dist/components/{input → form/input}/src/LewInput.vue.d.ts +22 -22
- package/dist/components/{input → form/input}/src/props.d.ts +1 -1
- package/dist/components/{input-number → form/input-number}/src/LewInputNumber.vue.d.ts +11 -11
- package/dist/components/{input-number → form/input-number}/src/props.d.ts +1 -1
- package/dist/components/{input-table → form/input-table}/src/FormModal.vue.d.ts +14 -15
- package/dist/components/{input-table → form/input-table}/src/LewInputTable.vue.d.ts +61 -60
- package/dist/components/{input-table → form/input-table}/src/props.d.ts +1 -1
- package/dist/components/{input-tag → form/input-tag}/src/LewInputTag.vue.d.ts +33 -33
- package/dist/components/{radio → form/radio}/src/LewRadio.vue.d.ts +6 -6
- package/dist/components/{radio → form/radio}/src/LewRadioGroup.vue.d.ts +11 -11
- package/dist/components/{radio → form/radio}/src/props.d.ts +1 -1
- package/dist/components/{rate → form/rate}/src/LewRate.vue.d.ts +5 -5
- package/dist/components/{rate → form/rate}/src/props.d.ts +1 -1
- package/dist/components/{select → form/select}/src/LewSelect.vue.d.ts +68 -68
- package/dist/components/{select → form/select}/src/props.d.ts +3 -3
- package/dist/components/{select-multiple → form/select-multiple}/src/LewSelectMultiple.vue.d.ts +105 -105
- package/dist/components/{select-multiple → form/select-multiple}/src/props.d.ts +3 -3
- package/dist/components/{slider → form/slider}/src/LewSlider.vue.d.ts +6 -6
- package/dist/components/{slider → form/slider}/src/props.d.ts +1 -1
- package/dist/components/{slider-range → form/slider-range}/src/LewSliderRange.vue.d.ts +6 -6
- package/dist/components/{slider-range → form/slider-range}/src/props.d.ts +1 -1
- package/dist/components/{switch → form/switch}/src/LewSwitch.vue.d.ts +6 -6
- package/dist/components/{switch → form/switch}/src/props.d.ts +1 -1
- package/dist/components/{textarea → form/textarea}/src/LewTextarea.vue.d.ts +10 -10
- package/dist/components/{textarea → form/textarea}/src/props.d.ts +1 -1
- package/dist/components/{tree-select → form/tree-select}/src/LewTreeSelect.vue.d.ts +172 -172
- package/dist/components/{tree-select → form/tree-select}/src/props.d.ts +4 -4
- package/dist/components/{upload → form/upload}/src/LewUpload.vue.d.ts +53 -40
- package/dist/components/{upload → form/upload}/src/LewUploadByCard.vue.d.ts +5 -5
- package/dist/components/{upload → form/upload}/src/LewUploadByList.vue.d.ts +5 -5
- package/dist/components/{upload → form/upload}/src/props.d.ts +7 -5
- package/dist/components/{avatar → general/avatar}/src/LewAvatar.vue.d.ts +5 -5
- package/dist/components/{button → general/button}/src/LewButton.vue.d.ts +8 -8
- package/dist/components/{button → general/button}/src/props.d.ts +1 -1
- package/dist/components/{dropdown → general/dropdown}/src/LewDropdown.vue.d.ts +59 -59
- package/dist/components/{dropdown → general/dropdown}/src/props.d.ts +1 -1
- package/dist/components/{image → general/image}/src/LewImage.vue.d.ts +5 -5
- package/dist/components/general/index.d.ts +10 -0
- package/dist/components/{mark → general/mark}/src/LewMark.vue.d.ts +5 -5
- package/dist/components/{tag → general/tag}/src/LewTag.vue.d.ts +11 -11
- package/dist/components/{tag → general/tag}/src/props.d.ts +1 -1
- package/dist/components/index.d.ts +4 -48
- package/dist/components/{action-box → navigation/action-box}/src/LewActionBox.vue.d.ts +8 -8
- package/dist/components/{action-box → navigation/action-box}/src/props.d.ts +1 -1
- package/dist/components/navigation/index.d.ts +6 -0
- package/dist/components/{menu → navigation/menu}/src/props.d.ts +1 -1
- package/dist/components/{menu-tree → navigation/menu-tree}/src/LewMenuTreeItem.vue.d.ts +12 -12
- package/dist/components/{menu-tree → navigation/menu-tree}/src/props.d.ts +1 -1
- package/dist/components/{steps → navigation/steps}/src/LewSteps.vue.d.ts +10 -10
- package/dist/index.css +1 -1
- package/dist/index.js +21737 -21576
- package/dist/index.umd.cjs +5 -5
- package/dist/locals/zh.d.ts +7 -0
- package/dist/methods/dialog/src/LewDialog.vue.d.ts +28 -29
- package/dist/utils/RenderComponent.vue.d.ts +31 -0
- package/dist/utils/index.d.ts +1 -2
- package/dist/utils/render.d.ts +13 -0
- package/package.json +17 -4
- package/dist/components/{collapse → data/collapse}/index.d.ts +0 -0
- package/dist/components/{desc → data/desc}/index.d.ts +0 -0
- package/dist/components/{expand → data/expand}/index.d.ts +0 -0
- package/dist/components/{expand → data/expand}/src/LewExpand.vue.d.ts +0 -0
- package/dist/components/{expand → data/expand}/src/props.d.ts +0 -0
- package/dist/components/{pagination → data/pagination}/index.d.ts +0 -0
- package/dist/components/{table → data/table}/index.d.ts +0 -0
- package/dist/components/{table → data/table}/src/SortIcon.vue.d.ts +0 -0
- package/dist/components/{tree → data/tree}/index.d.ts +0 -0
- package/dist/components/{alert → feedback/alert}/index.d.ts +0 -0
- package/dist/components/{drawer → feedback/drawer}/index.d.ts +0 -0
- package/dist/components/{empty → feedback/empty}/index.d.ts +0 -0
- package/dist/components/{empty → feedback/empty}/src/props.d.ts +0 -0
- package/dist/components/{modal → feedback/modal}/index.d.ts +0 -0
- package/dist/components/{popok → feedback/popok}/index.d.ts +0 -0
- package/dist/components/{popok → feedback/popok}/src/props.d.ts +0 -0
- package/dist/components/{popover → feedback/popover}/index.d.ts +0 -0
- package/dist/components/{popover → feedback/popover}/src/props.d.ts +0 -0
- package/dist/components/{cascader → form/cascader}/index.d.ts +0 -0
- package/dist/components/{checkbox → form/checkbox}/index.d.ts +0 -0
- package/dist/components/{color-picker → form/color-picker}/index.d.ts +0 -0
- package/dist/components/{date-picker → form/date-picker}/index.d.ts +0 -0
- package/dist/components/{date-picker → form/date-picker}/src/LewDate.vue.d.ts +0 -0
- package/dist/components/{date-picker → form/date-picker}/src/date.d.ts +0 -0
- package/dist/components/{date-range-picker → form/date-range-picker}/index.d.ts +0 -0
- package/dist/components/{date-range-picker → form/date-range-picker}/src/LewDateRange.vue.d.ts +0 -0
- package/dist/components/form/{src → form/src}/RequiredIcon.vue.d.ts +0 -0
- package/dist/components/{input → form/input}/index.d.ts +0 -0
- package/dist/components/{input-number → form/input-number}/index.d.ts +0 -0
- package/dist/components/{input-table → form/input-table}/index.d.ts +0 -0
- package/dist/components/{input-tag → form/input-tag}/index.d.ts +0 -0
- package/dist/components/{input-tag → form/input-tag}/src/props.d.ts +0 -0
- package/dist/components/{input-tree → form/input-tree}/index.d.ts +0 -0
- package/dist/components/{input-tree → form/input-tree}/src/LewInputTree.vue.d.ts +0 -0
- package/dist/components/{input-tree → form/input-tree}/src/props.d.ts +0 -0
- package/dist/components/{radio → form/radio}/index.d.ts +0 -0
- package/dist/components/{rate → form/rate}/index.d.ts +0 -0
- package/dist/components/{select → form/select}/index.d.ts +0 -0
- package/dist/components/{select → form/select}/src/util.d.ts +0 -0
- package/dist/components/{select-multiple → form/select-multiple}/index.d.ts +0 -0
- package/dist/components/{slider → form/slider}/index.d.ts +0 -0
- package/dist/components/{slider-range → form/slider-range}/index.d.ts +0 -0
- package/dist/components/{switch → form/switch}/index.d.ts +0 -0
- package/dist/components/{tabs → form/tabs}/index.d.ts +0 -0
- package/dist/components/{tabs → form/tabs}/src/LewTabs.vue.d.ts +2 -2
- package/dist/components/{tabs → form/tabs}/src/props.d.ts +0 -0
- package/dist/components/{textarea → form/textarea}/index.d.ts +0 -0
- package/dist/components/{tree-select → form/tree-select}/index.d.ts +0 -0
- package/dist/components/{upload → form/upload}/index.d.ts +0 -0
- package/dist/components/{avatar → general/avatar}/index.d.ts +0 -0
- package/dist/components/{avatar → general/avatar}/src/props.d.ts +0 -0
- package/dist/components/{badge → general/badge}/index.d.ts +0 -0
- package/dist/components/{badge → general/badge}/src/LewBadge.vue.d.ts +1 -1
- package/dist/components/{badge → general/badge}/src/props.d.ts +0 -0
- package/dist/components/{button → general/button}/index.d.ts +0 -0
- package/dist/components/{dropdown → general/dropdown}/index.d.ts +0 -0
- package/dist/components/{flex → general/flex}/index.d.ts +0 -0
- package/dist/components/{flex → general/flex}/src/LewFlex.vue.d.ts +1 -1
- package/dist/components/{flex → general/flex}/src/props.d.ts +0 -0
- package/dist/components/{image → general/image}/index.d.ts +0 -0
- package/dist/components/{image → general/image}/src/props.d.ts +0 -0
- package/dist/components/{mark → general/mark}/index.d.ts +0 -0
- package/dist/components/{mark → general/mark}/src/props.d.ts +0 -0
- package/dist/components/{tag → general/tag}/index.d.ts +0 -0
- package/dist/components/{text-trim → general/text-trim}/index.d.ts +0 -0
- package/dist/components/{text-trim → general/text-trim}/src/LewTextTrim.vue.d.ts +4 -4
- package/dist/components/{text-trim → general/text-trim}/src/props.d.ts +0 -0
- package/dist/components/{text-trim → general/text-trim}/src/text-trim.d.ts +0 -0
- package/dist/components/{title → general/title}/index.d.ts +0 -0
- package/dist/components/{title → general/title}/src/LewTitle.vue.d.ts +1 -1
- /package/dist/components/{title → general/title}/src/props.d.ts +0 -0
- /package/dist/components/{action-box → navigation/action-box}/index.d.ts +0 -0
- /package/dist/components/{back-top → navigation/back-top}/index.d.ts +0 -0
- /package/dist/components/{back-top → navigation/back-top}/src/LewBackTop.vue.d.ts +0 -0
- /package/dist/components/{back-top → navigation/back-top}/src/props.d.ts +0 -0
- /package/dist/components/{breadcrumb → navigation/breadcrumb}/index.d.ts +0 -0
- /package/dist/components/{breadcrumb → navigation/breadcrumb}/src/LewBreadcrumb.vue.d.ts +0 -0
- /package/dist/components/{breadcrumb → navigation/breadcrumb}/src/props.d.ts +0 -0
- /package/dist/components/{menu → navigation/menu}/index.d.ts +0 -0
- /package/dist/components/{menu → navigation/menu}/src/LewMenu.vue.d.ts +0 -0
- /package/dist/components/{menu-tree → navigation/menu-tree}/index.d.ts +0 -0
- /package/dist/components/{menu-tree → navigation/menu-tree}/src/LewMenuTree.vue.d.ts +0 -0
- /package/dist/components/{steps → navigation/steps}/index.d.ts +0 -0
- /package/dist/components/{steps → navigation/steps}/src/props.d.ts +0 -0
- /package/dist/utils/{Icon.vue.d.ts → LewCommonIcon.vue.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LewSize } from '
|
|
1
|
+
import { LewSize } from '../../../..';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
import { TreeDataSource } from '
|
|
3
|
+
import { TreeDataSource } from '../../../data/tree';
|
|
4
4
|
export interface TreeSelectOptions {
|
|
5
5
|
label: string;
|
|
6
6
|
value: string | number;
|
|
@@ -139,12 +139,12 @@ export declare const treeSelectProps: {
|
|
|
139
139
|
default: string;
|
|
140
140
|
description: string;
|
|
141
141
|
};
|
|
142
|
-
|
|
142
|
+
initMethod: {
|
|
143
143
|
type: PropType<() => void>;
|
|
144
144
|
default: undefined;
|
|
145
145
|
description: string;
|
|
146
146
|
};
|
|
147
|
-
|
|
147
|
+
initMethodId: {
|
|
148
148
|
type: StringConstructor;
|
|
149
149
|
default: string;
|
|
150
150
|
hidden: boolean;
|
|
@@ -38,10 +38,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
38
38
|
validator: (value: number) => boolean;
|
|
39
39
|
};
|
|
40
40
|
size: {
|
|
41
|
-
type: PropType<import('
|
|
41
|
+
type: PropType<import('../../../..').LewSize>;
|
|
42
42
|
default: string;
|
|
43
43
|
description: string;
|
|
44
|
-
validator: (value: import('
|
|
44
|
+
validator: (value: import('../../../..').LewSize) => boolean;
|
|
45
45
|
};
|
|
46
46
|
tips: {
|
|
47
47
|
type: StringConstructor;
|
|
@@ -67,6 +67,12 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
67
67
|
description: string;
|
|
68
68
|
validator: (value: string) => boolean;
|
|
69
69
|
};
|
|
70
|
+
beforeDelete: {
|
|
71
|
+
type: FunctionConstructor;
|
|
72
|
+
default: undefined;
|
|
73
|
+
description: string;
|
|
74
|
+
validator: (value: any) => boolean;
|
|
75
|
+
};
|
|
70
76
|
modelValue: {
|
|
71
77
|
type: globalThis.PropType<UploadFileItem[]>;
|
|
72
78
|
};
|
|
@@ -113,10 +119,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
113
119
|
validator: (value: number) => boolean;
|
|
114
120
|
};
|
|
115
121
|
size: {
|
|
116
|
-
type: PropType<import('
|
|
122
|
+
type: PropType<import('../../../..').LewSize>;
|
|
117
123
|
default: string;
|
|
118
124
|
description: string;
|
|
119
|
-
validator: (value: import('
|
|
125
|
+
validator: (value: import('../../../..').LewSize) => boolean;
|
|
120
126
|
};
|
|
121
127
|
tips: {
|
|
122
128
|
type: StringConstructor;
|
|
@@ -142,6 +148,12 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
142
148
|
description: string;
|
|
143
149
|
validator: (value: string) => boolean;
|
|
144
150
|
};
|
|
151
|
+
beforeDelete: {
|
|
152
|
+
type: FunctionConstructor;
|
|
153
|
+
default: undefined;
|
|
154
|
+
description: string;
|
|
155
|
+
validator: (value: any) => boolean;
|
|
156
|
+
};
|
|
145
157
|
modelValue: {
|
|
146
158
|
type: globalThis.PropType<UploadFileItem[]>;
|
|
147
159
|
};
|
|
@@ -150,11 +162,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
150
162
|
onDelete?: ((...args: any[]) => any) | undefined;
|
|
151
163
|
"onUpdate:modelValue"?: ((value: UploadFileItem[]) => any) | undefined;
|
|
152
164
|
}>, {
|
|
153
|
-
size: import('
|
|
165
|
+
size: import('../../../..').LewSize;
|
|
154
166
|
tips: string;
|
|
155
167
|
disabled: boolean;
|
|
156
|
-
multiple: boolean;
|
|
157
168
|
readonly: boolean;
|
|
169
|
+
multiple: boolean;
|
|
158
170
|
immediate: boolean;
|
|
159
171
|
accept: string;
|
|
160
172
|
limit: number;
|
|
@@ -162,27 +174,28 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
162
174
|
uploadHelper: Function;
|
|
163
175
|
uploadHelperId: string;
|
|
164
176
|
viewMode: string;
|
|
177
|
+
beforeDelete: Function;
|
|
165
178
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
166
179
|
dropRef: ({
|
|
167
180
|
$: import('vue').ComponentInternalInstance;
|
|
168
181
|
$data: {};
|
|
169
182
|
$props: Partial<{
|
|
170
|
-
direction: import('
|
|
171
|
-
x: import('../../..').FlexXAlignment;
|
|
183
|
+
direction: import('../../../..').FlexDirection;
|
|
172
184
|
width: string | number;
|
|
173
|
-
|
|
174
|
-
|
|
185
|
+
x: import('../../../..').FlexXAlignment;
|
|
186
|
+
y: import('../../../..').FlexYAlignment;
|
|
187
|
+
mode: import('../../../..').FlexMode;
|
|
175
188
|
wrap: boolean;
|
|
176
189
|
gap: string | number;
|
|
177
190
|
}> & Omit<{
|
|
178
|
-
readonly direction: import('
|
|
179
|
-
readonly x: import('../../..').FlexXAlignment;
|
|
191
|
+
readonly direction: import('../../../..').FlexDirection;
|
|
180
192
|
readonly width: string | number;
|
|
181
|
-
readonly
|
|
182
|
-
readonly
|
|
193
|
+
readonly x: import('../../../..').FlexXAlignment;
|
|
194
|
+
readonly y: import('../../../..').FlexYAlignment;
|
|
195
|
+
readonly mode: import('../../../..').FlexMode;
|
|
183
196
|
readonly wrap: boolean;
|
|
184
197
|
readonly gap: string | number;
|
|
185
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "direction" | "
|
|
198
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "direction" | "width" | "x" | "y" | "mode" | "wrap" | "gap">;
|
|
186
199
|
$attrs: {
|
|
187
200
|
[x: string]: unknown;
|
|
188
201
|
};
|
|
@@ -199,28 +212,28 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
199
212
|
$el: HTMLDivElement;
|
|
200
213
|
$options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
201
214
|
direction: {
|
|
202
|
-
type: PropType<import('
|
|
215
|
+
type: PropType<import('../../../..').FlexDirection>;
|
|
203
216
|
default: string;
|
|
204
217
|
typeDesc: string;
|
|
205
|
-
validator(value: import('
|
|
218
|
+
validator(value: import('../../../..').FlexDirection): boolean;
|
|
206
219
|
};
|
|
207
220
|
x: {
|
|
208
|
-
type: PropType<import('
|
|
221
|
+
type: PropType<import('../../../..').FlexXAlignment>;
|
|
209
222
|
default: string;
|
|
210
223
|
typeDesc: string;
|
|
211
|
-
validator(value: import('
|
|
224
|
+
validator(value: import('../../../..').FlexXAlignment): boolean;
|
|
212
225
|
};
|
|
213
226
|
y: {
|
|
214
|
-
type: PropType<import('
|
|
227
|
+
type: PropType<import('../../../..').FlexYAlignment>;
|
|
215
228
|
default: string;
|
|
216
229
|
typeDesc: string;
|
|
217
|
-
validator(value: import('
|
|
230
|
+
validator(value: import('../../../..').FlexYAlignment): boolean;
|
|
218
231
|
};
|
|
219
232
|
mode: {
|
|
220
|
-
type: PropType<import('
|
|
233
|
+
type: PropType<import('../../../..').FlexMode>;
|
|
221
234
|
default: string;
|
|
222
235
|
typeDesc: string;
|
|
223
|
-
validator(value: import('
|
|
236
|
+
validator(value: import('../../../..').FlexMode): boolean;
|
|
224
237
|
};
|
|
225
238
|
wrap: {
|
|
226
239
|
type: BooleanConstructor;
|
|
@@ -237,11 +250,11 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
237
250
|
validator(value: string | number): boolean;
|
|
238
251
|
};
|
|
239
252
|
}>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
240
|
-
direction: import('
|
|
241
|
-
x: import('../../..').FlexXAlignment;
|
|
253
|
+
direction: import('../../../..').FlexDirection;
|
|
242
254
|
width: string | number;
|
|
243
|
-
|
|
244
|
-
|
|
255
|
+
x: import('../../../..').FlexXAlignment;
|
|
256
|
+
y: import('../../../..').FlexYAlignment;
|
|
257
|
+
mode: import('../../../..').FlexMode;
|
|
245
258
|
wrap: boolean;
|
|
246
259
|
gap: string | number;
|
|
247
260
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
@@ -265,37 +278,37 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
265
278
|
$nextTick: typeof import('vue').nextTick;
|
|
266
279
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
267
280
|
} & Readonly<{
|
|
268
|
-
direction: import('
|
|
269
|
-
x: import('../../..').FlexXAlignment;
|
|
281
|
+
direction: import('../../../..').FlexDirection;
|
|
270
282
|
width: string | number;
|
|
271
|
-
|
|
272
|
-
|
|
283
|
+
x: import('../../../..').FlexXAlignment;
|
|
284
|
+
y: import('../../../..').FlexYAlignment;
|
|
285
|
+
mode: import('../../../..').FlexMode;
|
|
273
286
|
wrap: boolean;
|
|
274
287
|
gap: string | number;
|
|
275
288
|
}> & Omit<Readonly<globalThis.ExtractPropTypes<{
|
|
276
289
|
direction: {
|
|
277
|
-
type: PropType<import('
|
|
290
|
+
type: PropType<import('../../../..').FlexDirection>;
|
|
278
291
|
default: string;
|
|
279
292
|
typeDesc: string;
|
|
280
|
-
validator(value: import('
|
|
293
|
+
validator(value: import('../../../..').FlexDirection): boolean;
|
|
281
294
|
};
|
|
282
295
|
x: {
|
|
283
|
-
type: PropType<import('
|
|
296
|
+
type: PropType<import('../../../..').FlexXAlignment>;
|
|
284
297
|
default: string;
|
|
285
298
|
typeDesc: string;
|
|
286
|
-
validator(value: import('
|
|
299
|
+
validator(value: import('../../../..').FlexXAlignment): boolean;
|
|
287
300
|
};
|
|
288
301
|
y: {
|
|
289
|
-
type: PropType<import('
|
|
302
|
+
type: PropType<import('../../../..').FlexYAlignment>;
|
|
290
303
|
default: string;
|
|
291
304
|
typeDesc: string;
|
|
292
|
-
validator(value: import('
|
|
305
|
+
validator(value: import('../../../..').FlexYAlignment): boolean;
|
|
293
306
|
};
|
|
294
307
|
mode: {
|
|
295
|
-
type: PropType<import('
|
|
308
|
+
type: PropType<import('../../../..').FlexMode>;
|
|
296
309
|
default: string;
|
|
297
310
|
typeDesc: string;
|
|
298
|
-
validator(value: import('
|
|
311
|
+
validator(value: import('../../../..').FlexMode): boolean;
|
|
299
312
|
};
|
|
300
313
|
wrap: {
|
|
301
314
|
type: BooleanConstructor;
|
|
@@ -311,7 +324,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
311
324
|
default: string;
|
|
312
325
|
validator(value: string | number): boolean;
|
|
313
326
|
};
|
|
314
|
-
}>> & Readonly<{}>, "direction" | "
|
|
327
|
+
}>> & Readonly<{}>, "direction" | "width" | "x" | "y" | "mode" | "wrap" | "gap"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
315
328
|
$slots: {
|
|
316
329
|
default?(_: {}): any;
|
|
317
330
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { UploadFileItem } from './props';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
3
3
|
size: {
|
|
4
|
-
type: PropType<import('
|
|
4
|
+
type: PropType<import('../../../..').LewSize>;
|
|
5
5
|
default: string;
|
|
6
6
|
description: string;
|
|
7
|
-
validator: (value: import('
|
|
7
|
+
validator: (value: import('../../../..').LewSize) => boolean;
|
|
8
8
|
};
|
|
9
9
|
modelValue: {
|
|
10
10
|
type: globalThis.PropType<UploadFileItem[]>;
|
|
@@ -15,10 +15,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
15
15
|
"update:modelValue": (value: UploadFileItem[]) => void;
|
|
16
16
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
17
17
|
size: {
|
|
18
|
-
type: PropType<import('
|
|
18
|
+
type: PropType<import('../../../..').LewSize>;
|
|
19
19
|
default: string;
|
|
20
20
|
description: string;
|
|
21
|
-
validator: (value: import('
|
|
21
|
+
validator: (value: import('../../../..').LewSize) => boolean;
|
|
22
22
|
};
|
|
23
23
|
modelValue: {
|
|
24
24
|
type: globalThis.PropType<UploadFileItem[]>;
|
|
@@ -28,6 +28,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
28
28
|
onReUpload?: ((...args: any[]) => any) | undefined;
|
|
29
29
|
onDeleteFile?: ((...args: any[]) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
|
-
size: import('
|
|
31
|
+
size: import('../../../..').LewSize;
|
|
32
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
33
33
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { UploadFileItem } from './props';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
3
3
|
size: {
|
|
4
|
-
type: PropType<import('
|
|
4
|
+
type: PropType<import('../../../..').LewSize>;
|
|
5
5
|
default: string;
|
|
6
6
|
description: string;
|
|
7
|
-
validator: (value: import('
|
|
7
|
+
validator: (value: import('../../../..').LewSize) => boolean;
|
|
8
8
|
};
|
|
9
9
|
modelValue: {
|
|
10
10
|
type: globalThis.PropType<UploadFileItem[]>;
|
|
@@ -15,10 +15,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
15
15
|
"update:modelValue": (value: UploadFileItem[]) => void;
|
|
16
16
|
}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
17
17
|
size: {
|
|
18
|
-
type: PropType<import('
|
|
18
|
+
type: PropType<import('../../../..').LewSize>;
|
|
19
19
|
default: string;
|
|
20
20
|
description: string;
|
|
21
|
-
validator: (value: import('
|
|
21
|
+
validator: (value: import('../../../..').LewSize) => boolean;
|
|
22
22
|
};
|
|
23
23
|
modelValue: {
|
|
24
24
|
type: globalThis.PropType<UploadFileItem[]>;
|
|
@@ -28,6 +28,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
28
28
|
onReUpload?: ((...args: any[]) => any) | undefined;
|
|
29
29
|
onDeleteFile?: ((...args: any[]) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
|
-
size: import('
|
|
31
|
+
size: import('../../../..').LewSize;
|
|
32
32
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
33
33
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LewSize } from '
|
|
1
|
+
import { LewSize } from '../../../..';
|
|
2
2
|
import { ExtractPropTypes } from 'vue';
|
|
3
3
|
export type UploadStatus = 'success' | 'fail' | 'uploading' | 'complete' | 'wrong_type' | 'wrong_size' | 'pending';
|
|
4
4
|
export interface UploadFileItem {
|
|
@@ -81,6 +81,12 @@ export declare const uploadProps: {
|
|
|
81
81
|
description: string;
|
|
82
82
|
validator: (value: string) => boolean;
|
|
83
83
|
};
|
|
84
|
+
beforeDelete: {
|
|
85
|
+
type: FunctionConstructor;
|
|
86
|
+
default: undefined;
|
|
87
|
+
description: string;
|
|
88
|
+
validator: (value: any) => boolean;
|
|
89
|
+
};
|
|
84
90
|
};
|
|
85
91
|
export declare const uploadByListProps: {
|
|
86
92
|
size: {
|
|
@@ -98,8 +104,4 @@ export declare const uploadByCardProps: {
|
|
|
98
104
|
validator: (value: LewSize) => boolean;
|
|
99
105
|
};
|
|
100
106
|
};
|
|
101
|
-
export declare const statusConfig: Record<UploadStatus, {
|
|
102
|
-
text: string;
|
|
103
|
-
color: string;
|
|
104
|
-
}>;
|
|
105
107
|
export type UploadProps = ExtractPropTypes<typeof uploadProps>;
|
|
@@ -28,10 +28,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
28
28
|
validator(value: string): boolean;
|
|
29
29
|
};
|
|
30
30
|
status: {
|
|
31
|
-
type: PropType<("
|
|
31
|
+
type: PropType<("offline" | "online" | "processing" | "away" | "busy") | undefined>;
|
|
32
32
|
default: undefined;
|
|
33
33
|
description: string;
|
|
34
|
-
validator(value: "
|
|
34
|
+
validator(value: "offline" | "online" | "processing" | "away" | "busy"): boolean;
|
|
35
35
|
};
|
|
36
36
|
objectFit: {
|
|
37
37
|
type: PropType<import('../..').ObjectFit>;
|
|
@@ -81,10 +81,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
81
81
|
validator(value: string): boolean;
|
|
82
82
|
};
|
|
83
83
|
status: {
|
|
84
|
-
type: PropType<("
|
|
84
|
+
type: PropType<("offline" | "online" | "processing" | "away" | "busy") | undefined>;
|
|
85
85
|
default: undefined;
|
|
86
86
|
description: string;
|
|
87
|
-
validator(value: "
|
|
87
|
+
validator(value: "offline" | "online" | "processing" | "away" | "busy"): boolean;
|
|
88
88
|
};
|
|
89
89
|
objectFit: {
|
|
90
90
|
type: PropType<import('../..').ObjectFit>;
|
|
@@ -107,12 +107,12 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
107
107
|
}>> & Readonly<{}>, {
|
|
108
108
|
size: string | number;
|
|
109
109
|
loading: boolean;
|
|
110
|
+
status: ("offline" | "online" | "processing" | "away" | "busy") | undefined;
|
|
110
111
|
src: string;
|
|
111
112
|
alt: string;
|
|
112
113
|
objectFit: import('../..').ObjectFit;
|
|
113
114
|
objectPosition: string;
|
|
114
115
|
shape: "circle" | "square" | "sharp";
|
|
115
|
-
status: ("online" | "processing" | "away" | "offline" | "busy") | undefined;
|
|
116
116
|
statusPlacement: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
117
117
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
118
118
|
export default _default;
|
|
@@ -40,10 +40,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
40
40
|
description: string;
|
|
41
41
|
};
|
|
42
42
|
color: {
|
|
43
|
-
type: PropType<import('
|
|
43
|
+
type: PropType<import('../../../..').LewColor>;
|
|
44
44
|
default: string;
|
|
45
45
|
description: string;
|
|
46
|
-
validator(value: import('
|
|
46
|
+
validator(value: import('../../../..').LewColor): boolean;
|
|
47
47
|
};
|
|
48
48
|
round: {
|
|
49
49
|
type: BooleanConstructor;
|
|
@@ -104,10 +104,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
104
104
|
description: string;
|
|
105
105
|
};
|
|
106
106
|
color: {
|
|
107
|
-
type: PropType<import('
|
|
107
|
+
type: PropType<import('../../../..').LewColor>;
|
|
108
108
|
default: string;
|
|
109
109
|
description: string;
|
|
110
|
-
validator(value: import('
|
|
110
|
+
validator(value: import('../../../..').LewColor): boolean;
|
|
111
111
|
};
|
|
112
112
|
round: {
|
|
113
113
|
type: BooleanConstructor;
|
|
@@ -138,14 +138,14 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
138
138
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
139
139
|
}>, {
|
|
140
140
|
type: import('./props').ButtonType;
|
|
141
|
-
color: import('
|
|
141
|
+
color: import('../../../..').LewColor;
|
|
142
142
|
size: import('./props').ButtonSize;
|
|
143
143
|
loading: boolean;
|
|
144
|
-
disabled: boolean;
|
|
145
|
-
width: string | number;
|
|
146
144
|
text: string;
|
|
147
|
-
|
|
145
|
+
width: string | number;
|
|
146
|
+
disabled: boolean;
|
|
148
147
|
singleIcon: boolean;
|
|
148
|
+
round: boolean;
|
|
149
149
|
dashed: boolean;
|
|
150
150
|
request: Function;
|
|
151
151
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|