straw-ui-vue 0.1.43 → 0.1.44
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/README.md +7 -6
- package/dist/components/st-badge/index.d.ts +12 -12
- package/dist/components/st-badge/st-badge-group-content.d.ts +1 -1
- package/dist/components/st-badge/st-badge.d.ts +2 -2
- package/dist/components/st-button/index.d.ts +6 -6
- package/dist/components/st-button/st-button-group.d.ts +1 -1
- package/dist/components/st-cascade/desktop/st-cascade-desktop.d.ts +5 -4
- package/dist/components/st-cascade/desktop/types/st-cascade-desktop.d.ts +2 -0
- package/dist/components/st-cascade/index.d.ts +96 -81
- package/dist/components/st-cascade/phone/st-cascade-phone.d.ts +8 -7
- package/dist/components/st-cascade/phone/types/st-cascade-phone.d.ts +2 -0
- package/dist/components/st-cascade/st-cascade-group.d.ts +2 -2
- package/dist/components/st-cascade/st-cascade.d.ts +3 -2
- package/dist/components/st-checkbox/index.d.ts +6 -6
- package/dist/components/st-checkbox/st-checkbox-group.d.ts +1 -1
- package/dist/components/st-color-picker/index.d.ts +9 -6
- package/dist/components/st-color-picker/st-color-picker.d.ts +3 -2
- package/dist/components/st-color-picker/types/st-color-picker.d.ts +128 -126
- package/dist/components/st-confirm/confirm.d.ts +10 -0
- package/dist/components/st-confirm/index.d.ts +234 -0
- package/dist/components/st-confirm/layers.d.ts +22 -0
- package/dist/components/st-confirm/st-confirm-group-footer.d.ts +23 -0
- package/dist/components/st-confirm/st-confirm-group-message.d.ts +11 -0
- package/dist/components/st-confirm/st-confirm.d.ts +46 -0
- package/dist/components/st-confirm/types/index.d.ts +4 -0
- package/dist/components/st-confirm/types/st-confirm-api.d.ts +22 -0
- package/dist/components/st-confirm/types/st-confirm-group-footer.d.ts +31 -0
- package/dist/components/st-confirm/types/st-confirm-group-message.d.ts +13 -0
- package/dist/components/st-confirm/types/st-confirm.d.ts +101 -0
- package/dist/components/st-date-picker/desktop/st-date-picker-desktop.d.ts +12 -11
- package/dist/components/st-date-picker/desktop/st-date-picker-panel.d.ts +6 -6
- package/dist/components/st-date-picker/desktop/st-datetime-picker-desktop.d.ts +7 -6
- package/dist/components/st-date-picker/desktop/st-datetime-picker-panel.d.ts +9 -9
- package/dist/components/st-date-picker/desktop/st-time-picker-desktop.d.ts +9 -8
- package/dist/components/st-date-picker/desktop/st-time-picker-panel.d.ts +9 -9
- package/dist/components/st-date-picker/desktop/types/st-date-picker-desktop.d.ts +2 -0
- package/dist/components/st-date-picker/desktop/types/st-datetime-picker-desktop.d.ts +6 -0
- package/dist/components/st-date-picker/desktop/types/st-datetime-picker-panel.d.ts +113 -115
- package/dist/components/st-date-picker/desktop/types/st-time-picker-desktop.d.ts +2 -0
- package/dist/components/st-date-picker/index.d.ts +498 -456
- package/dist/components/st-date-picker/phone/st-date-picker-phone.d.ts +6 -5
- package/dist/components/st-date-picker/phone/st-datetime-picker-phone.d.ts +9 -8
- package/dist/components/st-date-picker/phone/st-time-picker-phone.d.ts +7 -6
- package/dist/components/st-date-picker/st-picker-cell.d.ts +2 -2
- package/dist/components/st-date-picker/st-picker-footer.d.ts +2 -2
- package/dist/components/st-date-picker/st-picker-quick-row.d.ts +1 -1
- package/dist/components/st-date-picker/st-picker-time-column.d.ts +1 -1
- package/dist/components/st-date-picker/st-picker-time-columns.d.ts +1 -1
- package/dist/components/st-date-picker/st-picker-trigger.d.ts +5 -4
- package/dist/components/st-date-picker/st-picker-wheel-column.d.ts +1 -1
- package/dist/components/st-date-picker/types/st-picker-atoms.d.ts +2 -0
- package/dist/components/st-dialog/desktop/st-dialog-desktop.d.ts +8 -4
- package/dist/components/st-dialog/index.d.ts +149 -69
- package/dist/components/st-dialog/phone/st-dialog-phone.d.ts +7 -3
- package/dist/components/st-dialog/st-dialog-group-body.d.ts +10 -4
- package/dist/components/st-dialog/st-dialog.d.ts +9 -5
- package/dist/components/st-dialog/types/st-dialog-group-body.d.ts +23 -18
- package/dist/components/st-dialog/types/st-dialog.d.ts +4 -0
- package/dist/components/st-drawer/desktop/st-drawer-desktop-group.d.ts +1 -1
- package/dist/components/st-drawer/desktop/st-drawer-desktop.d.ts +6 -2
- package/dist/components/st-drawer/index.d.ts +146 -66
- package/dist/components/st-drawer/phone/st-drawer-phone-group.d.ts +1 -1
- package/dist/components/st-drawer/phone/st-drawer-phone.d.ts +7 -3
- package/dist/components/st-drawer/st-drawer-group-body.d.ts +9 -3
- package/dist/components/st-drawer/st-drawer-group.d.ts +1 -1
- package/dist/components/st-drawer/st-drawer.d.ts +8 -4
- package/dist/components/st-drawer/types/st-drawer-group-body.d.ts +24 -19
- package/dist/components/st-drawer/types/st-drawer.d.ts +4 -0
- package/dist/components/st-image/index.d.ts +5 -5
- package/dist/components/st-image/st-image.d.ts +2 -2
- package/dist/components/st-input/index.d.ts +179 -119
- package/dist/components/st-input/st-input-group-input.d.ts +2 -2
- package/dist/components/st-input/st-input-group-placeholder.d.ts +11 -0
- package/dist/components/st-input/st-input-group-textarea.d.ts +2 -2
- package/dist/components/st-input/st-input-group.d.ts +1 -0
- package/dist/components/st-input/st-input-number.d.ts +4 -2
- package/dist/components/st-input/st-input.d.ts +14 -12
- package/dist/components/st-input/st-textarea.d.ts +11 -10
- package/dist/components/st-input/types/index.d.ts +10 -9
- package/dist/components/st-input/types/st-input-group-placeholder.d.ts +9 -0
- package/dist/components/st-input/types/st-input-group.d.ts +13 -1
- package/dist/components/st-input/types/st-input-number.d.ts +4 -0
- package/dist/components/st-input/types/st-input.d.ts +4 -0
- package/dist/components/st-input/types/st-textarea.d.ts +2 -0
- package/dist/components/st-menu/index.d.ts +9 -9
- package/dist/components/st-menu/st-menu-container.d.ts +1 -1
- package/dist/components/st-menu/st-menu.d.ts +1 -1
- package/dist/components/st-message/base.d.ts +49 -0
- package/dist/components/st-message/host.d.ts +16 -0
- package/dist/components/st-message/index.d.ts +213 -0
- package/dist/components/st-message/message.d.ts +9 -0
- package/dist/components/st-message/st-message-group-close.d.ts +10 -0
- package/dist/components/st-message/st-message-group-content.d.ts +16 -0
- package/dist/components/st-message/st-message-group-icon.d.ts +6 -0
- package/dist/components/st-message/st-message-group.d.ts +24 -0
- package/dist/components/st-message/st-message-host.d.ts +13 -0
- package/dist/components/st-message/st-message.d.ts +24 -0
- package/dist/components/st-message/store.d.ts +63 -0
- package/dist/components/st-message/types/index.d.ts +8 -0
- package/dist/components/st-message/types/st-message-api.d.ts +40 -0
- package/dist/components/st-message/types/st-message-context.d.ts +11 -0
- package/dist/components/st-message/types/st-message-group-close.d.ts +13 -0
- package/dist/components/st-message/types/st-message-group-content.d.ts +18 -0
- package/dist/components/st-message/types/st-message-group-icon.d.ts +14 -0
- package/dist/components/st-message/types/st-message-group.d.ts +51 -0
- package/dist/components/st-message/types/st-message-record.d.ts +51 -0
- package/dist/components/st-message/types/st-message.d.ts +68 -0
- package/dist/components/st-message/useMessageState.d.ts +3 -0
- package/dist/components/st-popover/index.d.ts +30 -27
- package/dist/components/st-popover/st-popover-container.d.ts +3 -3
- package/dist/components/st-popover/st-popover.d.ts +4 -3
- package/dist/components/st-popover/types/st-popover.d.ts +2 -0
- package/dist/components/st-popover/usePopoverState.d.ts +6 -0
- package/dist/components/st-progress/index.d.ts +6 -6
- package/dist/components/st-progress/st-progress.d.ts +2 -2
- package/dist/components/st-prompt/index.d.ts +278 -0
- package/dist/components/st-prompt/prompt.d.ts +10 -0
- package/dist/components/st-prompt/st-prompt-group-error.d.ts +11 -0
- package/dist/components/st-prompt/st-prompt-group-input.d.ts +29 -0
- package/dist/components/st-prompt/st-prompt.d.ts +57 -0
- package/dist/components/st-prompt/types/index.d.ts +3 -0
- package/dist/components/st-prompt/types/st-prompt-group-error.d.ts +13 -0
- package/dist/components/st-prompt/types/st-prompt-group-input.d.ts +38 -0
- package/dist/components/st-prompt/types/st-prompt.d.ts +99 -0
- package/dist/components/st-radio/index.d.ts +15 -15
- package/dist/components/st-radio/st-radio-group.d.ts +2 -2
- package/dist/components/st-radio/st-radio.d.ts +1 -1
- package/dist/components/st-scrollbar/desktop/st-scrollbar-desktop.d.ts +1 -1
- package/dist/components/st-scrollbar/index.d.ts +101 -101
- package/dist/components/st-scrollbar/phone/st-scrollbar-phone-group.d.ts +2 -2
- package/dist/components/st-scrollbar/phone/st-scrollbar-phone.d.ts +9 -9
- package/dist/components/st-scrollbar/st-scrollbar-group.d.ts +2 -2
- package/dist/components/st-scrollbar/st-scrollbar.d.ts +11 -11
- package/dist/components/st-scrollbar/types/st-scrollbar-context.d.ts +8 -0
- package/dist/components/st-scrollbar/useScrollbarBaseState.d.ts +3 -0
- package/dist/components/st-segmented/index.d.ts +6 -6
- package/dist/components/st-segmented/st-segmented-group-item.d.ts +1 -1
- package/dist/components/st-select/desktop/st-select-desktop.d.ts +6 -5
- package/dist/components/st-select/desktop/types/st-select-desktop.d.ts +2 -0
- package/dist/components/st-select/index.d.ts +147 -107
- package/dist/components/st-select/phone/st-select-phone-footer.d.ts +2 -2
- package/dist/components/st-select/phone/st-select-phone-wheel.d.ts +12 -0
- package/dist/components/st-select/phone/st-select-phone.d.ts +5 -4
- package/dist/components/st-select/phone/types/index.d.ts +1 -0
- package/dist/components/st-select/phone/types/st-select-phone-wheel.d.ts +62 -0
- package/dist/components/st-select/phone/types/st-select-phone.d.ts +2 -0
- package/dist/components/st-select/st-select-container.d.ts +2 -2
- package/dist/components/st-select/st-select-group-list.d.ts +1 -1
- package/dist/components/st-select/st-select-trigger.d.ts +5 -4
- package/dist/components/st-select/st-select.d.ts +3 -2
- package/dist/components/st-select/types/st-select-trigger.d.ts +2 -0
- package/dist/components/st-slider/index.d.ts +15 -15
- package/dist/components/st-slider/st-slider.d.ts +5 -5
- package/dist/components/st-splitter/index.d.ts +6 -6
- package/dist/components/st-splitter/st-splitter-panel.d.ts +1 -1
- package/dist/components/st-table/index.d.ts +99 -99
- package/dist/components/st-table/st-table-group.d.ts +11 -11
- package/dist/components/st-table/st-table.d.ts +11 -11
- package/dist/components/st-tabs/index.d.ts +3 -3
- package/dist/components/st-tabs/st-tabs.d.ts +1 -1
- package/dist/components/st-toggle/index.d.ts +18 -18
- package/dist/components/st-toggle/st-toggle.d.ts +6 -6
- package/dist/components/st-tooltip/index.d.ts +24 -24
- package/dist/components/st-tooltip/st-tooltip.d.ts +8 -8
- package/dist/components/st-tree/index.d.ts +46 -46
- package/dist/components/st-tree/st-tree-group.d.ts +3 -3
- package/dist/components/st-tree/st-tree-node.d.ts +1 -1
- package/dist/components/st-tree/st-tree-sub-group.d.ts +1 -1
- package/dist/components/st-tree/st-tree.d.ts +8 -8
- package/dist/components/st-tree/types/st-tree-context.d.ts +2 -0
- package/dist/components/st-upload/index.d.ts +30 -30
- package/dist/components/st-upload/st-upload-group.d.ts +4 -4
- package/dist/components/st-upload/st-upload.d.ts +4 -4
- package/dist/constants/config.d.ts +21 -0
- package/dist/constants/message-type.d.ts +10 -0
- package/dist/{array-Ch8Uq7R-.js → forward-props-kqtcqOsj.js} +853 -715
- package/dist/global.d.ts +232 -217
- package/dist/index.d.ts +61 -9
- package/dist/straw-ui.js +11420 -9656
- package/dist/types/config.d.ts +131 -0
- package/dist/types.d.ts +4 -0
- package/dist/utils/config.d.ts +24 -0
- package/dist/utils/forward-props.d.ts +15 -0
- package/dist/utils/imperative-mount.d.ts +21 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/with-config-defaults.d.ts +15 -0
- package/dist/utils/z-index.d.ts +0 -14
- package/dist/utils.js +3 -3
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- 🚀 **Vue 3 + TypeScript** - 完整的类型支持
|
|
8
8
|
- 🎨 **UnoCSS** - 原子化 CSS,按需生成
|
|
9
|
-
- 📦
|
|
9
|
+
- 📦 **运行时依赖极轻** - 仅 `@vueuse/core`、`@vueuse/math`、`clsx`、`tailwind-merge`,Vue 3 为 peerDependency
|
|
10
10
|
- 🔧 **按需导入** - 支持 tree-shaking
|
|
11
11
|
- 🌙 **暗色主题** - 内置暗色模式支持
|
|
12
12
|
|
|
@@ -48,7 +48,7 @@ Straw UI 基于 UnoCSS 构建,需要配置 `content` 以确保组件库中使
|
|
|
48
48
|
```ts
|
|
49
49
|
// uno.config.ts
|
|
50
50
|
import { defineConfig, presetWind4, presetIcons } from 'unocss';
|
|
51
|
-
import { presetStrawUI } from 'straw-ui-vue';
|
|
51
|
+
import { presetStrawUI } from 'straw-ui-vue/unocss';
|
|
52
52
|
|
|
53
53
|
export default defineConfig({
|
|
54
54
|
presets: [
|
|
@@ -78,7 +78,7 @@ export default defineConfig({
|
|
|
78
78
|
import 'straw-ui-vue/variables.css'; // 主题预设变量,或使用自己的变量文件
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
-
详细配置请参阅 [
|
|
81
|
+
详细配置请参阅 [快速开始](./docs/guide/quick-start.md#unocss-配置)。
|
|
82
82
|
|
|
83
83
|
## TypeScript 支持
|
|
84
84
|
|
|
@@ -148,12 +148,13 @@ Straw UI 使用 CSS 变量定义主题,你可以通过覆盖变量来自定义
|
|
|
148
148
|
}
|
|
149
149
|
```
|
|
150
150
|
|
|
151
|
-
完整变量列表请参阅 [
|
|
151
|
+
完整变量列表请参阅 [快速开始](./docs/guide/quick-start.md#主题配置)。
|
|
152
152
|
|
|
153
153
|
## 文档
|
|
154
154
|
|
|
155
|
-
- [
|
|
156
|
-
- [
|
|
155
|
+
- [快速开始](./docs/guide/quick-start.md)
|
|
156
|
+
- [全局配置](./docs/guide/global-config.md)
|
|
157
|
+
- 类型可从 `straw-ui-vue/types` 子路径导入,组件的 props/emits/slots 均有声明。
|
|
157
158
|
|
|
158
159
|
## License
|
|
159
160
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export declare const StBadge: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').StBadgeProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
3
|
+
max: number;
|
|
4
|
+
dot: boolean;
|
|
3
5
|
variant: import('./index.ts').StBadgeVariant;
|
|
4
6
|
position: import('./index.ts').StBadgePosition;
|
|
5
7
|
offset: import('./index.ts').StBadgeOffset;
|
|
6
|
-
max: number;
|
|
7
8
|
show: boolean;
|
|
8
|
-
dot: boolean;
|
|
9
9
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
10
10
|
P: {};
|
|
11
11
|
B: {};
|
|
@@ -14,23 +14,23 @@ export declare const StBadge: {
|
|
|
14
14
|
M: {};
|
|
15
15
|
Defaults: {};
|
|
16
16
|
}, Readonly<import('./index.ts').StBadgeProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
17
|
+
max: number;
|
|
18
|
+
dot: boolean;
|
|
17
19
|
variant: import('./index.ts').StBadgeVariant;
|
|
18
20
|
position: import('./index.ts').StBadgePosition;
|
|
19
21
|
offset: import('./index.ts').StBadgeOffset;
|
|
20
|
-
max: number;
|
|
21
22
|
show: boolean;
|
|
22
|
-
dot: boolean;
|
|
23
23
|
}>;
|
|
24
24
|
__isFragment?: never;
|
|
25
25
|
__isTeleport?: never;
|
|
26
26
|
__isSuspense?: never;
|
|
27
27
|
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').StBadgeProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
28
|
+
max: number;
|
|
29
|
+
dot: boolean;
|
|
28
30
|
variant: import('./index.ts').StBadgeVariant;
|
|
29
31
|
position: import('./index.ts').StBadgePosition;
|
|
30
32
|
offset: import('./index.ts').StBadgeOffset;
|
|
31
|
-
max: number;
|
|
32
33
|
show: boolean;
|
|
33
|
-
dot: boolean;
|
|
34
34
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
35
35
|
$slots: import('./index.ts').StBadgeSlots;
|
|
36
36
|
}) & {
|
|
@@ -60,9 +60,9 @@ export declare const StBadge: {
|
|
|
60
60
|
});
|
|
61
61
|
StBadgeGroupContent: {
|
|
62
62
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').StBadgeGroupContentProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
63
|
+
max: number;
|
|
63
64
|
variant: import('./index.ts').StBadgeVariant;
|
|
64
65
|
offset: import('./index.ts').StBadgeOffset;
|
|
65
|
-
max: number;
|
|
66
66
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
67
67
|
P: {};
|
|
68
68
|
B: {};
|
|
@@ -71,17 +71,17 @@ export declare const StBadge: {
|
|
|
71
71
|
M: {};
|
|
72
72
|
Defaults: {};
|
|
73
73
|
}, Readonly<import('./index.ts').StBadgeGroupContentProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
74
|
+
max: number;
|
|
74
75
|
variant: import('./index.ts').StBadgeVariant;
|
|
75
76
|
offset: import('./index.ts').StBadgeOffset;
|
|
76
|
-
max: number;
|
|
77
77
|
}>;
|
|
78
78
|
__isFragment?: never;
|
|
79
79
|
__isTeleport?: never;
|
|
80
80
|
__isSuspense?: never;
|
|
81
81
|
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').StBadgeGroupContentProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
82
|
+
max: number;
|
|
82
83
|
variant: import('./index.ts').StBadgeVariant;
|
|
83
84
|
offset: import('./index.ts').StBadgeOffset;
|
|
84
|
-
max: number;
|
|
85
85
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
86
86
|
$slots: import('./index.ts').StBadgeGroupContentSlots;
|
|
87
87
|
});
|
|
@@ -136,9 +136,9 @@ export declare const StBadgeGroup: {
|
|
|
136
136
|
});
|
|
137
137
|
export declare const StBadgeGroupContent: {
|
|
138
138
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./index.ts').StBadgeGroupContentProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
139
|
+
max: number;
|
|
139
140
|
variant: import('./index.ts').StBadgeVariant;
|
|
140
141
|
offset: import('./index.ts').StBadgeOffset;
|
|
141
|
-
max: number;
|
|
142
142
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
143
143
|
P: {};
|
|
144
144
|
B: {};
|
|
@@ -147,17 +147,17 @@ export declare const StBadgeGroupContent: {
|
|
|
147
147
|
M: {};
|
|
148
148
|
Defaults: {};
|
|
149
149
|
}, Readonly<import('./index.ts').StBadgeGroupContentProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
150
|
+
max: number;
|
|
150
151
|
variant: import('./index.ts').StBadgeVariant;
|
|
151
152
|
offset: import('./index.ts').StBadgeOffset;
|
|
152
|
-
max: number;
|
|
153
153
|
}>;
|
|
154
154
|
__isFragment?: never;
|
|
155
155
|
__isTeleport?: never;
|
|
156
156
|
__isSuspense?: never;
|
|
157
157
|
} & import('vue').ComponentOptionsBase<Readonly<import('./index.ts').StBadgeGroupContentProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
158
|
+
max: number;
|
|
158
159
|
variant: import('./index.ts').StBadgeVariant;
|
|
159
160
|
offset: import('./index.ts').StBadgeOffset;
|
|
160
|
-
max: number;
|
|
161
161
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
162
162
|
$slots: import('./index.ts').StBadgeGroupContentSlots;
|
|
163
163
|
});
|
|
@@ -2,9 +2,9 @@ import { StBadgeGroupContentProps, StBadgeGroupContentSlots } from './types/st-b
|
|
|
2
2
|
import { StBadgeOffset } from './types/st-badge.d.ts';
|
|
3
3
|
type __VLS_Slots = StBadgeGroupContentSlots;
|
|
4
4
|
declare const __VLS_base: import('vue').DefineComponent<StBadgeGroupContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StBadgeGroupContentProps> & Readonly<{}>, {
|
|
5
|
+
max: number;
|
|
5
6
|
variant: import('./index.ts').StBadgeVariant;
|
|
6
7
|
offset: StBadgeOffset;
|
|
7
|
-
max: number;
|
|
8
8
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
9
9
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
10
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { StBadgeOffset, StBadgePosition, StBadgeProps, StBadgeSlots } from './types/st-badge.d.ts';
|
|
2
2
|
type __VLS_Slots = StBadgeSlots;
|
|
3
3
|
declare const __VLS_base: import('vue').DefineComponent<StBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StBadgeProps> & Readonly<{}>, {
|
|
4
|
+
max: number;
|
|
5
|
+
dot: boolean;
|
|
4
6
|
variant: import('./index.ts').StBadgeVariant;
|
|
5
7
|
position: StBadgePosition;
|
|
6
8
|
offset: StBadgeOffset;
|
|
7
|
-
max: number;
|
|
8
9
|
show: boolean;
|
|
9
|
-
dot: boolean;
|
|
10
10
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
12
|
declare const _default: typeof __VLS_export;
|
|
@@ -34,8 +34,8 @@ export declare const StButton: {
|
|
|
34
34
|
size: import('../../types.ts').StSize;
|
|
35
35
|
variant: import('./index.ts').StButtonVariant;
|
|
36
36
|
color: import('../../types.ts').StColor;
|
|
37
|
-
disabled: boolean;
|
|
38
37
|
shape: import('./index.ts').StButtonShape;
|
|
38
|
+
disabled: boolean;
|
|
39
39
|
loading: boolean;
|
|
40
40
|
direction: import('./index.ts').StButtonGroupDirection;
|
|
41
41
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -49,8 +49,8 @@ export declare const StButton: {
|
|
|
49
49
|
size: import('../../types.ts').StSize;
|
|
50
50
|
variant: import('./index.ts').StButtonVariant;
|
|
51
51
|
color: import('../../types.ts').StColor;
|
|
52
|
-
disabled: boolean;
|
|
53
52
|
shape: import('./index.ts').StButtonShape;
|
|
53
|
+
disabled: boolean;
|
|
54
54
|
loading: boolean;
|
|
55
55
|
direction: import('./index.ts').StButtonGroupDirection;
|
|
56
56
|
}>;
|
|
@@ -61,8 +61,8 @@ export declare const StButton: {
|
|
|
61
61
|
size: import('../../types.ts').StSize;
|
|
62
62
|
variant: import('./index.ts').StButtonVariant;
|
|
63
63
|
color: import('../../types.ts').StColor;
|
|
64
|
-
disabled: boolean;
|
|
65
64
|
shape: import('./index.ts').StButtonShape;
|
|
65
|
+
disabled: boolean;
|
|
66
66
|
loading: boolean;
|
|
67
67
|
direction: import('./index.ts').StButtonGroupDirection;
|
|
68
68
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -126,8 +126,8 @@ export declare const StButtonGroup: {
|
|
|
126
126
|
size: import('../../types.ts').StSize;
|
|
127
127
|
variant: import('./index.ts').StButtonVariant;
|
|
128
128
|
color: import('../../types.ts').StColor;
|
|
129
|
-
disabled: boolean;
|
|
130
129
|
shape: import('./index.ts').StButtonShape;
|
|
130
|
+
disabled: boolean;
|
|
131
131
|
loading: boolean;
|
|
132
132
|
direction: import('./index.ts').StButtonGroupDirection;
|
|
133
133
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -141,8 +141,8 @@ export declare const StButtonGroup: {
|
|
|
141
141
|
size: import('../../types.ts').StSize;
|
|
142
142
|
variant: import('./index.ts').StButtonVariant;
|
|
143
143
|
color: import('../../types.ts').StColor;
|
|
144
|
-
disabled: boolean;
|
|
145
144
|
shape: import('./index.ts').StButtonShape;
|
|
145
|
+
disabled: boolean;
|
|
146
146
|
loading: boolean;
|
|
147
147
|
direction: import('./index.ts').StButtonGroupDirection;
|
|
148
148
|
}>;
|
|
@@ -153,8 +153,8 @@ export declare const StButtonGroup: {
|
|
|
153
153
|
size: import('../../types.ts').StSize;
|
|
154
154
|
variant: import('./index.ts').StButtonVariant;
|
|
155
155
|
color: import('../../types.ts').StColor;
|
|
156
|
-
disabled: boolean;
|
|
157
156
|
shape: import('./index.ts').StButtonShape;
|
|
157
|
+
disabled: boolean;
|
|
158
158
|
loading: boolean;
|
|
159
159
|
direction: import('./index.ts').StButtonGroupDirection;
|
|
160
160
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -7,8 +7,8 @@ declare const __VLS_base: import('vue').DefineComponent<StButtonGroupProps, {},
|
|
|
7
7
|
size: import('../../types.ts').StSize;
|
|
8
8
|
variant: import('./index.ts').StButtonVariant;
|
|
9
9
|
color: import('../../types.ts').StColor;
|
|
10
|
-
disabled: boolean;
|
|
11
10
|
shape: import('./index.ts').StButtonShape;
|
|
11
|
+
disabled: boolean;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
direction: StButtonGroupDirection;
|
|
14
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -23,16 +23,17 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, StCas
|
|
|
23
23
|
"onUpdate:multipleValue"?: (value: StCascadePath[]) => any;
|
|
24
24
|
}>, {
|
|
25
25
|
size: import('../../../types.ts').StSize;
|
|
26
|
-
separator: string;
|
|
27
|
-
multiple: boolean;
|
|
28
26
|
disabled: boolean;
|
|
29
|
-
placeholder: string;
|
|
30
|
-
clearable: boolean;
|
|
31
27
|
list: StCascadeOption[];
|
|
32
28
|
labelKey: string;
|
|
33
29
|
valueKey: string;
|
|
34
30
|
childrenKey: string;
|
|
31
|
+
placeholder: string;
|
|
32
|
+
clearable: boolean;
|
|
33
|
+
multiple: boolean;
|
|
34
|
+
separator: string;
|
|
35
35
|
defaultExpandedAll: boolean;
|
|
36
|
+
floatingLabel: boolean;
|
|
36
37
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
37
38
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
39
|
declare const _default: typeof __VLS_export;
|