@well-insight/ui 0.1.5 → 0.1.6
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/CHANGELOG.md +6 -0
- package/README.md +21 -2
- package/README.zh-CN.md +22 -3
- package/dist/component-registry.d.ts +5 -0
- package/dist/component-registry.d.ts.map +1 -0
- package/dist/components/AutoComplete/AutoComplete.vue.d.ts +3 -3
- package/dist/components/Button/Button.vue.d.ts +3 -3
- package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts +2 -2
- package/dist/components/Checkbox/Checkbox.vue.d.ts +2 -2
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +2 -2
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts +4 -4
- package/dist/components/DatePicker/DatePicker.vue.d.ts +4 -4
- package/dist/components/Dialog/Dialog.vue.d.ts +4 -4
- package/dist/components/Dock/Dock.vue.d.ts +1 -1
- package/dist/components/Drawer/Drawer.vue.d.ts +2 -2
- package/dist/components/Dropdown/Dropdown.vue.d.ts +2 -2
- package/dist/components/FileUpload/FileUpload.vue.d.ts +5 -5
- package/dist/components/Inplace/Inplace.vue.d.ts +1 -1
- package/dist/components/Input/Input.vue.d.ts +6 -6
- package/dist/components/InputColor/InputColor.vue.d.ts +1 -1
- package/dist/components/InputNumber/InputNumber.vue.d.ts +2 -2
- package/dist/components/InputOtp/InputOtp.vue.d.ts +1 -1
- package/dist/components/InputPassword/InputPassword.vue.d.ts +2 -2
- package/dist/components/InputTags/InputTags.vue.d.ts +1 -1
- package/dist/components/Knob/Knob.vue.d.ts +2 -2
- package/dist/components/Listbox/Listbox.vue.d.ts +1 -1
- package/dist/components/Pagination/Pagination.vue.d.ts +3 -3
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts +1 -1
- package/dist/components/Radio/Radio.vue.d.ts +1 -1
- package/dist/components/Rating/Rating.vue.d.ts +1 -1
- package/dist/components/Select/Select.vue.d.ts +7 -7
- package/dist/components/SelectButton/SelectButton.vue.d.ts +1 -1
- package/dist/components/Slider/Slider.vue.d.ts +1 -1
- package/dist/components/SpeedDial/SpeedDial.vue.d.ts +1 -1
- package/dist/components/SplitButton/SplitButton.vue.d.ts +1 -1
- package/dist/components/Switch/Switch.vue.d.ts +2 -2
- package/dist/components/Table/Table.vue.d.ts +7 -7
- package/dist/components/Tabs/Tabs.vue.d.ts +2 -2
- package/dist/components/Textarea/Textarea.vue.d.ts +4 -4
- package/dist/components/ToggleButton/ToggleButton.vue.d.ts +1 -1
- package/dist/components/Tree/Tree.vue.d.ts +4 -4
- package/dist/components/Tree/Tree.vue.d.ts.map +1 -1
- package/dist/components/TreeSelect/TreeSelect.vue.d.ts +2 -2
- package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts +2 -2
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6809 -6706
- package/dist/shared/config.d.ts +34 -7
- package/dist/shared/config.d.ts.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -26,7 +26,24 @@ pnpm add @well-insight/ui
|
|
|
26
26
|
|
|
27
27
|
## Quick start
|
|
28
28
|
|
|
29
|
-
Import styles once at your app entry
|
|
29
|
+
Import styles once at your app entry. Two ways to use components:
|
|
30
|
+
|
|
31
|
+
### Full registration
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
import { createApp } from 'vue'
|
|
35
|
+
import WellInsight from '@well-insight/ui'
|
|
36
|
+
import App from './App.vue'
|
|
37
|
+
import '@well-insight/ui/styles.css'
|
|
38
|
+
|
|
39
|
+
createApp(App).use(WellInsight).mount('#app')
|
|
40
|
+
// or with defaults:
|
|
41
|
+
// createApp(App).use(WellInsight, { size: 'small', density: 'compact' }).mount('#app')
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Templates can then use `<WiButton>` / `<WiInput>` without importing.
|
|
45
|
+
|
|
46
|
+
### On-demand import
|
|
30
47
|
|
|
31
48
|
```ts
|
|
32
49
|
import { createApp } from 'vue'
|
|
@@ -58,7 +75,7 @@ For a fuller walkthrough, see the docs site [Quick start](./playground/src/docs/
|
|
|
58
75
|
|
|
59
76
|
## App defaults
|
|
60
77
|
|
|
61
|
-
|
|
78
|
+
`createWellInsight` / `WellInsight` set global defaults and **register all components by default**:
|
|
62
79
|
|
|
63
80
|
```ts
|
|
64
81
|
import { createApp } from 'vue'
|
|
@@ -79,6 +96,8 @@ createApp(App)
|
|
|
79
96
|
.mount('#app')
|
|
80
97
|
```
|
|
81
98
|
|
|
99
|
+
Pass `components: false` for config-only install (no global components).
|
|
100
|
+
|
|
82
101
|
| Option | Role |
|
|
83
102
|
| --- | --- |
|
|
84
103
|
| `appendTo` | Default Teleport target for overlays (`'body'` by default) |
|
package/README.zh-CN.md
CHANGED
|
@@ -26,7 +26,24 @@ pnpm add @well-insight/ui
|
|
|
26
26
|
|
|
27
27
|
## 快速开始
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
在应用入口引入样式。两种用法:
|
|
30
|
+
|
|
31
|
+
### 全量注册
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
import { createApp } from 'vue'
|
|
35
|
+
import WellInsight from '@well-insight/ui'
|
|
36
|
+
import App from './App.vue'
|
|
37
|
+
import '@well-insight/ui/styles.css'
|
|
38
|
+
|
|
39
|
+
createApp(App).use(WellInsight).mount('#app')
|
|
40
|
+
// 或带全局默认:
|
|
41
|
+
// createApp(App).use(WellInsight, { size: 'small', density: 'compact' }).mount('#app')
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
之后模板里可直接写 `<WiButton>` / `<WiInput>`,无需再 import。
|
|
45
|
+
|
|
46
|
+
### 按需引入
|
|
30
47
|
|
|
31
48
|
```ts
|
|
32
49
|
import { createApp } from 'vue'
|
|
@@ -52,13 +69,13 @@ const name = ref('')
|
|
|
52
69
|
</template>
|
|
53
70
|
```
|
|
54
71
|
|
|
55
|
-
|
|
72
|
+
按需导入支持 Tree-shaking。样式需单独引入 `@well-insight/ui/styles.css`。
|
|
56
73
|
|
|
57
74
|
更完整的上手说明见文档站 [快速上手](./playground/src/docs/guide/quick-start.md)。
|
|
58
75
|
|
|
59
76
|
## 应用级默认配置
|
|
60
77
|
|
|
61
|
-
|
|
78
|
+
`createWellInsight` / `WellInsight` 会设置全局默认值,并**默认注册全部组件**:
|
|
62
79
|
|
|
63
80
|
```ts
|
|
64
81
|
import { createApp } from 'vue'
|
|
@@ -79,6 +96,8 @@ createApp(App)
|
|
|
79
96
|
.mount('#app')
|
|
80
97
|
```
|
|
81
98
|
|
|
99
|
+
只要配置、不注册组件时传 `components: false`。
|
|
100
|
+
|
|
82
101
|
| 选项 | 作用 |
|
|
83
102
|
| --- | --- |
|
|
84
103
|
| `appendTo` | 浮层默认 Teleport 目标(默认 `'body'`) |
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
/** Public components available for global registration (`app.use`). */
|
|
3
|
+
export declare const wiComponents: Record<string, Component>;
|
|
4
|
+
export declare const wiComponentNames: string[];
|
|
5
|
+
//# sourceMappingURL=component-registry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-registry.d.ts","sourceRoot":"","sources":["../src/component-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAwFpC,uEAAuE;AACvE,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAuFlD,CAAA;AAED,eAAO,MAAM,gBAAgB,UAA4B,CAAA"}
|
|
@@ -7,12 +7,12 @@ declare const __VLS_export: DefineComponent<AutoCompleteProps, {}, {}, {}, {}, C
|
|
|
7
7
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
8
8
|
onComplete?: ((query: string) => any) | undefined;
|
|
9
9
|
}>, {
|
|
10
|
-
disabled: boolean;
|
|
11
10
|
modelValue: string;
|
|
12
|
-
|
|
13
|
-
placeholder: string;
|
|
11
|
+
disabled: boolean;
|
|
14
12
|
suggestions: string[];
|
|
15
13
|
dropdown: boolean;
|
|
14
|
+
placeholder: string;
|
|
15
|
+
teleport: boolean;
|
|
16
16
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
18
18
|
export default _default;
|
|
@@ -19,10 +19,11 @@ declare const __VLS_base: DefineComponent<ButtonProps, {
|
|
|
19
19
|
}, string, PublicProps, Readonly<ButtonProps> & Readonly<{
|
|
20
20
|
onClick?: ((value: MouseEvent) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
|
-
loading: boolean;
|
|
23
22
|
link: boolean;
|
|
24
|
-
outlined: boolean;
|
|
25
23
|
text: boolean;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
loading: boolean;
|
|
26
|
+
outlined: boolean;
|
|
26
27
|
iconPos: ButtonIconPos;
|
|
27
28
|
iconOnly: boolean;
|
|
28
29
|
raised: boolean;
|
|
@@ -30,7 +31,6 @@ declare const __VLS_base: DefineComponent<ButtonProps, {
|
|
|
30
31
|
plain: boolean;
|
|
31
32
|
fluid: boolean;
|
|
32
33
|
block: boolean;
|
|
33
|
-
disabled: boolean;
|
|
34
34
|
badgeSeverity: ButtonBadgeSeverity;
|
|
35
35
|
autofocus: boolean;
|
|
36
36
|
nativeType: "button" | "submit" | "reset";
|
|
@@ -5,10 +5,10 @@ declare const __VLS_export: DefineComponent<CascadeSelectProps, {}, {}, {}, {},
|
|
|
5
5
|
}, string, PublicProps, Readonly<CascadeSelectProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: CascadeSelectValue) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
-
disabled: boolean;
|
|
9
8
|
modelValue: CascadeSelectValue;
|
|
10
|
-
|
|
9
|
+
disabled: boolean;
|
|
11
10
|
placeholder: string;
|
|
11
|
+
teleport: boolean;
|
|
12
12
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
export default _default;
|
|
@@ -9,10 +9,10 @@ declare const __VLS_base: DefineComponent<CheckboxProps, {}, {}, {}, {}, Compone
|
|
|
9
9
|
}, string, PublicProps, Readonly<CheckboxProps> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
-
|
|
12
|
+
modelValue: boolean;
|
|
13
13
|
disabled: boolean;
|
|
14
|
+
required: boolean;
|
|
14
15
|
invalid: boolean;
|
|
15
|
-
modelValue: boolean;
|
|
16
16
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
@@ -10,13 +10,13 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
footer?: (props: typeof __VLS_17) => any;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_base: DefineComponent<ConfirmDialogProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
13
|
+
"update:modelValue": (value: boolean) => any;
|
|
13
14
|
accept: () => any;
|
|
14
15
|
reject: () => any;
|
|
15
|
-
"update:modelValue": (value: boolean) => any;
|
|
16
16
|
}, string, PublicProps, Readonly<ConfirmDialogProps> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
17
18
|
onAccept?: (() => any) | undefined;
|
|
18
19
|
onReject?: (() => any) | undefined;
|
|
19
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
modelValue: boolean;
|
|
22
22
|
teleport: boolean;
|
|
@@ -5,21 +5,21 @@ type __VLS_Slots = {} & {
|
|
|
5
5
|
default?: (props: typeof __VLS_13) => any;
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_base: DefineComponent<ConfirmPopupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
8
|
+
"update:modelValue": (value: boolean) => any;
|
|
8
9
|
accept: () => any;
|
|
9
10
|
reject: () => any;
|
|
10
|
-
"update:modelValue": (value: boolean) => any;
|
|
11
11
|
}, string, PublicProps, Readonly<ConfirmPopupProps> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
12
13
|
onAccept?: (() => any) | undefined;
|
|
13
14
|
onReject?: (() => any) | undefined;
|
|
14
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
modelValue: boolean;
|
|
17
|
+
teleport: boolean;
|
|
18
|
+
target: HTMLElement | null;
|
|
17
19
|
position: {
|
|
18
20
|
top: number;
|
|
19
21
|
left: number;
|
|
20
22
|
} | null;
|
|
21
|
-
teleport: boolean;
|
|
22
|
-
target: HTMLElement | null;
|
|
23
23
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
@@ -5,12 +5,12 @@ declare const __VLS_export: DefineComponent<DatePickerProps, {}, {}, {}, {}, Com
|
|
|
5
5
|
}, string, PublicProps, Readonly<DatePickerProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
-
fluid: boolean;
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
invalid: boolean;
|
|
11
8
|
modelValue: DatePickerValue;
|
|
12
|
-
|
|
9
|
+
disabled: boolean;
|
|
13
10
|
placeholder: string;
|
|
11
|
+
teleport: boolean;
|
|
12
|
+
invalid: boolean;
|
|
13
|
+
fluid: boolean;
|
|
14
14
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
16
16
|
export default _default;
|
|
@@ -9,27 +9,27 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
footer?: (props: typeof __VLS_17) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: DefineComponent<DialogProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
|
+
"update:modelValue": (value: boolean) => any;
|
|
12
13
|
close: () => any;
|
|
13
14
|
maximize: () => any;
|
|
14
|
-
"update:modelValue": (value: boolean) => any;
|
|
15
15
|
show: () => any;
|
|
16
16
|
hide: () => any;
|
|
17
17
|
unmaximize: () => any;
|
|
18
18
|
}, string, PublicProps, Readonly<DialogProps> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
19
20
|
onClose?: (() => any) | undefined;
|
|
20
21
|
onMaximize?: (() => any) | undefined;
|
|
21
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
22
22
|
onShow?: (() => any) | undefined;
|
|
23
23
|
onHide?: (() => any) | undefined;
|
|
24
24
|
onUnmaximize?: (() => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
modelValue: boolean;
|
|
27
|
+
teleport: boolean;
|
|
28
|
+
position: DialogPosition;
|
|
27
29
|
closeOnEsc: boolean;
|
|
28
30
|
closable: boolean;
|
|
29
31
|
maximizable: boolean;
|
|
30
32
|
modal: boolean;
|
|
31
|
-
position: DialogPosition;
|
|
32
|
-
teleport: boolean;
|
|
33
33
|
blockScroll: boolean;
|
|
34
34
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DockItem, DockProps } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const __VLS_export: DefineComponent<DockProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DockProps> & Readonly<{}>, {
|
|
4
|
-
position: "bottom" | "top";
|
|
5
4
|
model: DockItem[];
|
|
5
|
+
position: "bottom" | "top";
|
|
6
6
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
7
7
|
declare const _default: typeof __VLS_export;
|
|
8
8
|
export default _default;
|
|
@@ -16,9 +16,9 @@ declare const __VLS_base: DefineComponent<DrawerProps, {}, {}, {}, {}, Component
|
|
|
16
16
|
onHide?: (() => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
modelValue: boolean;
|
|
19
|
-
modal: boolean;
|
|
20
|
-
position: DrawerPosition;
|
|
21
19
|
teleport: boolean;
|
|
20
|
+
position: DrawerPosition;
|
|
21
|
+
modal: boolean;
|
|
22
22
|
blockScroll: boolean;
|
|
23
23
|
dismissable: boolean;
|
|
24
24
|
showCloseIcon: boolean;
|
|
@@ -9,11 +9,11 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
item?: (props: typeof __VLS_15) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: DefineComponent<DropdownProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
|
-
select: (item: DropdownItem) => any;
|
|
13
12
|
"update:modelValue": (value: boolean) => any;
|
|
13
|
+
select: (item: DropdownItem) => any;
|
|
14
14
|
}, string, PublicProps, Readonly<DropdownProps> & Readonly<{
|
|
15
|
-
onSelect?: ((item: DropdownItem) => any) | undefined;
|
|
16
15
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
16
|
+
onSelect?: ((item: DropdownItem) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
modelValue: boolean;
|
|
19
19
|
teleport: boolean;
|
|
@@ -71,9 +71,9 @@ declare const __VLS_base: DefineComponent<FileUploadProps, {
|
|
|
71
71
|
clear: typeof clearFiles;
|
|
72
72
|
clearFiles: typeof clearFiles;
|
|
73
73
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
74
|
-
remove: (file: FileUploadFile) => any;
|
|
75
74
|
progress: (file: FileUploadFile, percent: number) => any;
|
|
76
75
|
select: (files: File[]) => any;
|
|
76
|
+
remove: (file: FileUploadFile) => any;
|
|
77
77
|
success: (file: FileUploadFile, response: unknown) => any;
|
|
78
78
|
error: (file: FileUploadFile, error: Error) => any;
|
|
79
79
|
change: (file: FileUploadFile, fileList: FileUploadFile[]) => any;
|
|
@@ -81,9 +81,9 @@ declare const __VLS_base: DefineComponent<FileUploadProps, {
|
|
|
81
81
|
"update:fileList": (files: FileUploadFile[]) => any;
|
|
82
82
|
preview: (file: FileUploadFile) => any;
|
|
83
83
|
}, string, PublicProps, Readonly<FileUploadProps> & Readonly<{
|
|
84
|
-
onRemove?: ((file: FileUploadFile) => any) | undefined;
|
|
85
84
|
onProgress?: ((file: FileUploadFile, percent: number) => any) | undefined;
|
|
86
85
|
onSelect?: ((files: File[]) => any) | undefined;
|
|
86
|
+
onRemove?: ((file: FileUploadFile) => any) | undefined;
|
|
87
87
|
onSuccess?: ((file: FileUploadFile, response: unknown) => any) | undefined;
|
|
88
88
|
onError?: ((file: FileUploadFile, error: Error) => any) | undefined;
|
|
89
89
|
onChange?: ((file: FileUploadFile, fileList: FileUploadFile[]) => any) | undefined;
|
|
@@ -91,11 +91,11 @@ declare const __VLS_base: DefineComponent<FileUploadProps, {
|
|
|
91
91
|
"onUpdate:fileList"?: ((files: FileUploadFile[]) => any) | undefined;
|
|
92
92
|
onPreview?: ((file: FileUploadFile) => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
|
-
|
|
94
|
+
multiple: boolean;
|
|
95
95
|
disabled: boolean;
|
|
96
|
-
drag: boolean;
|
|
97
96
|
mode: FileUploadMode;
|
|
98
|
-
|
|
97
|
+
name: string;
|
|
98
|
+
drag: boolean;
|
|
99
99
|
showFileList: boolean;
|
|
100
100
|
listType: FileUploadListType;
|
|
101
101
|
method: string;
|
|
@@ -18,8 +18,8 @@ declare const __VLS_base: DefineComponent<InplaceProps, {
|
|
|
18
18
|
}, string, PublicProps, Readonly<InplaceProps> & Readonly<{
|
|
19
19
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
|
-
disabled: boolean;
|
|
22
21
|
modelValue: boolean;
|
|
22
|
+
disabled: boolean;
|
|
23
23
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
25
|
declare const _default: typeof __VLS_export;
|
|
@@ -10,18 +10,18 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
declare const __VLS_base: DefineComponent<InputProps, {
|
|
11
11
|
focus: typeof focus;
|
|
12
12
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
13
|
-
clear: () => any;
|
|
14
13
|
"update:modelValue": (value: string) => any;
|
|
14
|
+
clear: () => any;
|
|
15
15
|
}, string, PublicProps, Readonly<InputProps> & Readonly<{
|
|
16
|
-
onClear?: (() => any) | undefined;
|
|
17
16
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
|
+
onClear?: (() => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
-
|
|
20
|
-
type: "text" | "email" | "password" | "search" | "url" | "tel";
|
|
21
|
-
fluid: boolean;
|
|
19
|
+
modelValue: string;
|
|
22
20
|
disabled: boolean;
|
|
21
|
+
type: "text" | "email" | "password" | "search" | "url" | "tel";
|
|
22
|
+
error: boolean;
|
|
23
23
|
invalid: boolean;
|
|
24
|
-
|
|
24
|
+
fluid: boolean;
|
|
25
25
|
readonly: boolean;
|
|
26
26
|
clearable: boolean;
|
|
27
27
|
showCount: boolean;
|
|
@@ -5,8 +5,8 @@ declare const __VLS_export: DefineComponent<InputColorProps, {}, {}, {}, {}, Com
|
|
|
5
5
|
}, string, PublicProps, Readonly<InputColorProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
-
disabled: boolean;
|
|
9
8
|
modelValue: string;
|
|
9
|
+
disabled: boolean;
|
|
10
10
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
12
12
|
export default _default;
|
|
@@ -5,11 +5,11 @@ declare const __VLS_export: DefineComponent<InputNumberProps, {}, {}, {}, {}, Co
|
|
|
5
5
|
}, string, PublicProps, Readonly<InputNumberProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
-
|
|
8
|
+
modelValue: number | null;
|
|
9
9
|
disabled: boolean;
|
|
10
10
|
invalid: boolean;
|
|
11
|
-
modelValue: number | null;
|
|
12
11
|
step: number;
|
|
12
|
+
fluid: boolean;
|
|
13
13
|
showButtons: boolean;
|
|
14
14
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
@@ -5,9 +5,9 @@ declare const __VLS_export: DefineComponent<InputOtpProps, {}, {}, {}, {}, Compo
|
|
|
5
5
|
}, string, PublicProps, Readonly<InputOtpProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
+
modelValue: string;
|
|
8
9
|
length: number;
|
|
9
10
|
disabled: boolean;
|
|
10
|
-
modelValue: string;
|
|
11
11
|
integerOnly: boolean;
|
|
12
12
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
@@ -16,10 +16,10 @@ declare const __VLS_base: DefineComponent<InputPasswordProps, {}, {}, {}, {}, Co
|
|
|
16
16
|
}, string, PublicProps, Readonly<InputPasswordProps> & Readonly<{
|
|
17
17
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
-
|
|
19
|
+
modelValue: string;
|
|
20
20
|
disabled: boolean;
|
|
21
21
|
invalid: boolean;
|
|
22
|
-
|
|
22
|
+
fluid: boolean;
|
|
23
23
|
feedback: boolean;
|
|
24
24
|
toggleMask: boolean;
|
|
25
25
|
showIcon: IconName | Component;
|
|
@@ -5,8 +5,8 @@ declare const __VLS_export: DefineComponent<InputTagsProps, {}, {}, {}, {}, Comp
|
|
|
5
5
|
}, string, PublicProps, Readonly<InputTagsProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
-
disabled: boolean;
|
|
9
8
|
modelValue: string[];
|
|
9
|
+
disabled: boolean;
|
|
10
10
|
addOnBlur: boolean;
|
|
11
11
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
@@ -5,9 +5,9 @@ declare const __VLS_export: DefineComponent<KnobProps, {}, {}, {}, {}, Component
|
|
|
5
5
|
}, string, PublicProps, Readonly<KnobProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
-
size: number;
|
|
9
|
-
disabled: boolean;
|
|
10
8
|
modelValue: number;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
size: number;
|
|
11
11
|
step: number;
|
|
12
12
|
min: number;
|
|
13
13
|
max: number;
|
|
@@ -5,9 +5,9 @@ declare const __VLS_export: DefineComponent<ListboxProps, {}, {}, {}, {}, Compon
|
|
|
5
5
|
}, string, PublicProps, Readonly<ListboxProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: ListboxValue | ListboxValue[] | undefined) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
+
multiple: boolean;
|
|
8
9
|
filter: boolean;
|
|
9
10
|
disabled: boolean;
|
|
10
|
-
multiple: boolean;
|
|
11
11
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
13
13
|
export default _default;
|
|
@@ -4,14 +4,14 @@ declare const __VLS_export: DefineComponent<PaginationProps, {
|
|
|
4
4
|
first: ComputedRef<number>;
|
|
5
5
|
pageCount: ComputedRef<number>;
|
|
6
6
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
7
|
-
page: (value: number) => any;
|
|
8
7
|
"update:modelValue": (value: number) => any;
|
|
8
|
+
page: (value: number) => any;
|
|
9
9
|
}, string, PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
10
|
-
onPage?: ((value: number) => any) | undefined;
|
|
11
10
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
11
|
+
onPage?: ((value: number) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
|
-
disabled: boolean;
|
|
14
13
|
modelValue: number;
|
|
14
|
+
disabled: boolean;
|
|
15
15
|
rows: number;
|
|
16
16
|
pageLinkSize: number;
|
|
17
17
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ProgressBarProps, ProgressBarMode } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const __VLS_export: DefineComponent<ProgressBarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ProgressBarProps> & Readonly<{}>, {
|
|
4
|
-
value: number;
|
|
5
4
|
mode: ProgressBarMode;
|
|
5
|
+
value: number;
|
|
6
6
|
showValue: boolean;
|
|
7
7
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
declare const _default: typeof __VLS_export;
|
|
@@ -9,8 +9,8 @@ declare const __VLS_base: DefineComponent<RadioProps, {}, {}, {}, {}, ComponentO
|
|
|
9
9
|
}, string, PublicProps, Readonly<RadioProps> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
-
required: boolean;
|
|
13
12
|
disabled: boolean;
|
|
13
|
+
required: boolean;
|
|
14
14
|
invalid: boolean;
|
|
15
15
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -5,9 +5,9 @@ declare const __VLS_export: DefineComponent<RatingProps, {}, {}, {}, {}, Compone
|
|
|
5
5
|
}, string, PublicProps, Readonly<RatingProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
+
modelValue: number;
|
|
8
9
|
disabled: boolean;
|
|
9
10
|
cancel: boolean;
|
|
10
|
-
modelValue: number;
|
|
11
11
|
readonly: boolean;
|
|
12
12
|
stars: number;
|
|
13
13
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { SelectProps, SelectValue } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
declare const __VLS_export: DefineComponent<SelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
4
|
+
"update:modelValue": (value: SelectValue | undefined) => any;
|
|
4
5
|
clear: () => any;
|
|
5
6
|
change: (value: SelectValue | undefined) => any;
|
|
6
|
-
"update:modelValue": (value: SelectValue | undefined) => any;
|
|
7
7
|
show: () => any;
|
|
8
8
|
hide: () => any;
|
|
9
9
|
}, string, PublicProps, Readonly<SelectProps> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: ((value: SelectValue | undefined) => any) | undefined;
|
|
10
11
|
onClear?: (() => any) | undefined;
|
|
11
12
|
onChange?: ((value: SelectValue | undefined) => any) | undefined;
|
|
12
|
-
"onUpdate:modelValue"?: ((value: SelectValue | undefined) => any) | undefined;
|
|
13
13
|
onShow?: (() => any) | undefined;
|
|
14
14
|
onHide?: (() => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
|
|
17
|
-
error: boolean;
|
|
16
|
+
modelValue: SelectValue;
|
|
18
17
|
filter: boolean;
|
|
19
|
-
fluid: boolean;
|
|
20
18
|
disabled: boolean;
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
required: boolean;
|
|
20
|
+
error: boolean;
|
|
23
21
|
teleport: boolean;
|
|
22
|
+
invalid: boolean;
|
|
23
|
+
fluid: boolean;
|
|
24
24
|
placement: "bottom-start" | "bottom-end";
|
|
25
25
|
showClear: boolean;
|
|
26
26
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -5,9 +5,9 @@ declare const __VLS_export: DefineComponent<SelectButtonProps, {}, {}, {}, {}, C
|
|
|
5
5
|
}, string, PublicProps, Readonly<SelectButtonProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: SelectButtonValue | SelectButtonValue[] | undefined) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
+
multiple: boolean;
|
|
8
9
|
disabled: boolean;
|
|
9
10
|
invalid: boolean;
|
|
10
|
-
multiple: boolean;
|
|
11
11
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
13
13
|
export default _default;
|
|
@@ -5,8 +5,8 @@ declare const __VLS_export: DefineComponent<SliderProps, {}, {}, {}, {}, Compone
|
|
|
5
5
|
}, string, PublicProps, Readonly<SliderProps> & Readonly<{
|
|
6
6
|
"onUpdate:modelValue"?: ((value: number | number[]) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
-
disabled: boolean;
|
|
9
8
|
modelValue: number | number[];
|
|
9
|
+
disabled: boolean;
|
|
10
10
|
range: boolean;
|
|
11
11
|
step: number;
|
|
12
12
|
min: number;
|
|
@@ -9,8 +9,8 @@ declare const __VLS_base: DefineComponent<SpeedDialProps, {}, {}, {}, {}, Compon
|
|
|
9
9
|
}, string, PublicProps, Readonly<SpeedDialProps> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
-
disabled: boolean;
|
|
13
12
|
modelValue: boolean;
|
|
13
|
+
disabled: boolean;
|
|
14
14
|
teleport: boolean;
|
|
15
15
|
model: SpeedDialItem[];
|
|
16
16
|
direction: SpeedDialDirection;
|
|
@@ -7,8 +7,8 @@ declare const __VLS_export: DefineComponent<SplitButtonProps, {}, {}, {}, {}, Co
|
|
|
7
7
|
onClick?: ((value: MouseEvent) => any) | undefined;
|
|
8
8
|
onCommand?: ((item: SplitButtonItem) => any) | undefined;
|
|
9
9
|
}>, {
|
|
10
|
-
outlined: boolean;
|
|
11
10
|
disabled: boolean;
|
|
11
|
+
outlined: boolean;
|
|
12
12
|
teleport: boolean;
|
|
13
13
|
model: SplitButtonItem[];
|
|
14
14
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -9,10 +9,10 @@ declare const __VLS_base: DefineComponent<SwitchProps, {}, {}, {}, {}, Component
|
|
|
9
9
|
}, string, PublicProps, Readonly<SwitchProps> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
-
|
|
12
|
+
modelValue: boolean;
|
|
13
13
|
disabled: boolean;
|
|
14
|
+
required: boolean;
|
|
14
15
|
invalid: boolean;
|
|
15
|
-
modelValue: boolean;
|
|
16
16
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|