@v1nt1248/3nclient-lib 0.0.41 → 0.1.0
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 +4 -4
- package/dist/components/index.d.ts +22 -38
- package/dist/components/ui3n-badge-simple.vue.d.ts +3 -3
- package/dist/components/ui3n-badge.vue.d.ts +2 -2
- package/dist/components/ui3n-breadcrumb.vue.d.ts +7 -7
- package/dist/components/ui3n-breadcrumbs.vue.d.ts +3 -3
- package/dist/components/ui3n-button.vue.d.ts +29 -4
- package/dist/components/ui3n-checkbox.vue.d.ts +3 -3
- package/dist/components/ui3n-chip.vue.d.ts +3 -3
- package/dist/components/ui3n-dialog.vue.d.ts +6 -5
- package/dist/components/ui3n-drop-files.vue.d.ts +23 -3
- package/dist/components/ui3n-emoji.vue.d.ts +3 -3
- package/dist/components/ui3n-icon.vue.d.ts +29 -3
- package/dist/components/ui3n-input.vue.d.ts +9 -9
- package/dist/components/ui3n-list.vue.d.ts +4 -4
- package/dist/components/ui3n-menu.vue.d.ts +3 -3
- package/dist/components/ui3n-notification.vue.d.ts +32 -2
- package/dist/components/ui3n-switch.vue.d.ts +55 -0
- package/dist/components/ui3n-table-sort-icon.vue.d.ts +1 -1
- package/dist/components/ui3n-table.vue.d.ts +4 -3
- package/dist/components/ui3n-tabs.vue.d.ts +3 -3
- package/dist/components/ui3n-text.vue.d.ts +29 -3
- package/dist/components/ui3n-virtual-scroll.vue.d.ts +12 -9
- package/dist/constants/types.d.ts +2 -4
- package/dist/directives/index.d.ts +3 -2
- package/dist/directives/ui3n-click-outside.d.ts +2 -1
- package/dist/directives/ui3n-html.d.ts +1 -0
- package/dist/index.d.ts +27 -29
- package/dist/plugins/dialogs.d.ts +3 -3
- package/dist/plugins/i18n.d.ts +2 -2
- package/dist/plugins/icons.d.ts +1 -0
- package/dist/plugins/index.d.ts +5 -8
- package/dist/plugins/notifications.d.ts +2 -2
- package/dist/plugins/store-dialogs.d.ts +2 -1
- package/dist/plugins/store-notifications.d.ts +2 -1
- package/dist/plugins/store-vue-bus.d.ts +2 -1
- package/dist/plugins/vue-bus.d.ts +3 -3
- package/dist/style.css +1 -1
- package/dist/tools/sqlite-on-3nstorage/index.d.ts +3 -2
- package/dist/tools/ui.helpers.d.ts +1 -0
- package/dist/ui-3n-lib.js +6953 -6615
- package/package.json +57 -58
- package/src/components/index.ts +47 -41
- package/src/components/ui3n-badge-simple.vue +35 -38
- package/src/components/ui3n-badge.vue +25 -25
- package/src/components/ui3n-breadcrumb.vue +44 -44
- package/src/components/ui3n-breadcrumbs.vue +19 -19
- package/src/components/ui3n-button.vue +240 -150
- package/src/components/ui3n-checkbox.vue +199 -158
- package/src/components/ui3n-chip.vue +96 -98
- package/src/components/ui3n-dialog.vue +225 -235
- package/src/components/ui3n-drop-files.vue +146 -154
- package/src/components/ui3n-emoji.vue +62 -64
- package/src/components/ui3n-icon.vue +32 -13
- package/src/components/ui3n-input.vue +239 -221
- package/src/components/ui3n-list.vue +92 -111
- package/src/components/ui3n-menu.vue +101 -100
- package/src/components/ui3n-notification.vue +182 -113
- package/src/components/ui3n-switch.vue +146 -0
- package/src/components/ui3n-table-sort-icon.vue +1 -2
- package/src/components/ui3n-table.vue +229 -223
- package/src/components/ui3n-tabs.vue +141 -148
- package/src/components/ui3n-text.vue +235 -146
- package/src/components/ui3n-virtual-scroll.vue +68 -68
- package/dist/stories/Ui3nBadge.stories.d.ts +0 -124
- package/dist/stories/Ui3nBreadcrumbs.stories.d.ts +0 -252
- package/dist/stories/Ui3nButton.stories.d.ts +0 -152
- package/dist/stories/Ui3nCheckbox.stories.d.ts +0 -186
- package/dist/stories/Ui3nChip.stories.d.ts +0 -562
- package/dist/stories/Ui3nDialog.stories.d.ts +0 -41
- package/dist/stories/Ui3nDropFiles.stories.d.ts +0 -73
- package/dist/stories/Ui3nEmoji.stories.d.ts +0 -39
- package/dist/stories/Ui3nIcon.stories.d.ts +0 -80
- package/dist/stories/Ui3nInput.stories.d.ts +0 -456
- package/dist/stories/Ui3nList.stories.d.ts +0 -54
- package/dist/stories/Ui3nTabs.stories.d.ts +0 -177
- package/dist/stories/data/data-to-list.d.ts +0 -8
- package/dist/stories/data/icons.d.ts +0 -1
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryFn, StoryObj } from '@storybook/vue3';
|
|
2
|
-
import Ui3nEmoji from '../components/ui3n-emoji.vue';
|
|
3
|
-
declare const meta: Meta<typeof Ui3nEmoji>;
|
|
4
|
-
export default meta;
|
|
5
|
-
export declare const Default: StoryObj<typeof meta>;
|
|
6
|
-
export declare const All: StoryFn<import("vue").DefineComponent<{
|
|
7
|
-
size: {
|
|
8
|
-
type: import("vue").PropType<string | number>;
|
|
9
|
-
default: number;
|
|
10
|
-
};
|
|
11
|
-
emoji: {
|
|
12
|
-
type: import("vue").PropType<string>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
readonly: {
|
|
16
|
-
type: import("vue").PropType<boolean>;
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
-
click: (value: Event) => void;
|
|
21
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
-
size: {
|
|
23
|
-
type: import("vue").PropType<string | number>;
|
|
24
|
-
default: number;
|
|
25
|
-
};
|
|
26
|
-
emoji: {
|
|
27
|
-
type: import("vue").PropType<string>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
readonly: {
|
|
31
|
-
type: import("vue").PropType<boolean>;
|
|
32
|
-
default: boolean;
|
|
33
|
-
};
|
|
34
|
-
}>> & {
|
|
35
|
-
onClick?: ((value: Event) => any) | undefined;
|
|
36
|
-
}, {
|
|
37
|
-
size: string | number;
|
|
38
|
-
readonly: boolean;
|
|
39
|
-
}, {}>>;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryFn, StoryObj } from '@storybook/vue3';
|
|
2
|
-
import Ui3nIcon from '../components/ui3n-icon.vue';
|
|
3
|
-
declare const meta: Meta<typeof Ui3nIcon>;
|
|
4
|
-
export default meta;
|
|
5
|
-
export declare const Default: StoryObj<typeof meta>;
|
|
6
|
-
export declare const All: StoryFn<import("vue").DefineComponent<{
|
|
7
|
-
icon: {
|
|
8
|
-
type: import("vue").PropType<string>;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
title: {
|
|
12
|
-
type: import("vue").PropType<string>;
|
|
13
|
-
};
|
|
14
|
-
inline: {
|
|
15
|
-
type: import("vue").PropType<boolean>;
|
|
16
|
-
};
|
|
17
|
-
width: {
|
|
18
|
-
type: import("vue").PropType<string | number>;
|
|
19
|
-
};
|
|
20
|
-
height: {
|
|
21
|
-
type: import("vue").PropType<string | number>;
|
|
22
|
-
};
|
|
23
|
-
horizontalFlip: {
|
|
24
|
-
type: import("vue").PropType<boolean>;
|
|
25
|
-
};
|
|
26
|
-
verticalFlip: {
|
|
27
|
-
type: import("vue").PropType<boolean>;
|
|
28
|
-
};
|
|
29
|
-
flip: {
|
|
30
|
-
type: import("vue").PropType<string>;
|
|
31
|
-
};
|
|
32
|
-
rotate: {
|
|
33
|
-
type: import("vue").PropType<number>;
|
|
34
|
-
};
|
|
35
|
-
color: {
|
|
36
|
-
type: import("vue").PropType<string>;
|
|
37
|
-
};
|
|
38
|
-
onLoad: {
|
|
39
|
-
type: import("vue").PropType<Function>;
|
|
40
|
-
};
|
|
41
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
|
-
click: (value: Event) => void;
|
|
43
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
-
icon: {
|
|
45
|
-
type: import("vue").PropType<string>;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
|
-
title: {
|
|
49
|
-
type: import("vue").PropType<string>;
|
|
50
|
-
};
|
|
51
|
-
inline: {
|
|
52
|
-
type: import("vue").PropType<boolean>;
|
|
53
|
-
};
|
|
54
|
-
width: {
|
|
55
|
-
type: import("vue").PropType<string | number>;
|
|
56
|
-
};
|
|
57
|
-
height: {
|
|
58
|
-
type: import("vue").PropType<string | number>;
|
|
59
|
-
};
|
|
60
|
-
horizontalFlip: {
|
|
61
|
-
type: import("vue").PropType<boolean>;
|
|
62
|
-
};
|
|
63
|
-
verticalFlip: {
|
|
64
|
-
type: import("vue").PropType<boolean>;
|
|
65
|
-
};
|
|
66
|
-
flip: {
|
|
67
|
-
type: import("vue").PropType<string>;
|
|
68
|
-
};
|
|
69
|
-
rotate: {
|
|
70
|
-
type: import("vue").PropType<number>;
|
|
71
|
-
};
|
|
72
|
-
color: {
|
|
73
|
-
type: import("vue").PropType<string>;
|
|
74
|
-
};
|
|
75
|
-
onLoad: {
|
|
76
|
-
type: import("vue").PropType<Function>;
|
|
77
|
-
};
|
|
78
|
-
}>> & {
|
|
79
|
-
onClick?: ((value: Event) => any) | undefined;
|
|
80
|
-
}, {}, {}>>;
|
|
@@ -1,456 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryFn, StoryObj } from '@storybook/vue3';
|
|
2
|
-
import Ui3nInput from '../components/ui3n-input.vue';
|
|
3
|
-
declare const meta: Meta<typeof Ui3nInput>;
|
|
4
|
-
export default meta;
|
|
5
|
-
export declare const Default: StoryObj<typeof meta>;
|
|
6
|
-
export declare const With_label: StoryFn<import("vue").DefineComponent<{
|
|
7
|
-
value: {
|
|
8
|
-
type: import("vue").PropType<string>;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
label: {
|
|
12
|
-
type: import("vue").PropType<string>;
|
|
13
|
-
};
|
|
14
|
-
placeholder: {
|
|
15
|
-
type: import("vue").PropType<string>;
|
|
16
|
-
};
|
|
17
|
-
clearable: {
|
|
18
|
-
type: import("vue").PropType<boolean>;
|
|
19
|
-
};
|
|
20
|
-
autofocus: {
|
|
21
|
-
type: import("vue").PropType<boolean>;
|
|
22
|
-
};
|
|
23
|
-
rules: {
|
|
24
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
25
|
-
};
|
|
26
|
-
disabled: {
|
|
27
|
-
type: import("vue").PropType<boolean>;
|
|
28
|
-
};
|
|
29
|
-
icon: {
|
|
30
|
-
type: import("vue").PropType<string>;
|
|
31
|
-
};
|
|
32
|
-
iconColor: {
|
|
33
|
-
type: import("vue").PropType<string>;
|
|
34
|
-
};
|
|
35
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
-
input: (value: string) => void;
|
|
37
|
-
focus: (value: Event) => void;
|
|
38
|
-
blur: (value: Event) => void;
|
|
39
|
-
clear: (value: string) => void;
|
|
40
|
-
change: (value: string) => void;
|
|
41
|
-
"update:value": (value: string) => void;
|
|
42
|
-
"update:valid": (value: boolean) => void;
|
|
43
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
-
value: {
|
|
45
|
-
type: import("vue").PropType<string>;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
|
-
label: {
|
|
49
|
-
type: import("vue").PropType<string>;
|
|
50
|
-
};
|
|
51
|
-
placeholder: {
|
|
52
|
-
type: import("vue").PropType<string>;
|
|
53
|
-
};
|
|
54
|
-
clearable: {
|
|
55
|
-
type: import("vue").PropType<boolean>;
|
|
56
|
-
};
|
|
57
|
-
autofocus: {
|
|
58
|
-
type: import("vue").PropType<boolean>;
|
|
59
|
-
};
|
|
60
|
-
rules: {
|
|
61
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
62
|
-
};
|
|
63
|
-
disabled: {
|
|
64
|
-
type: import("vue").PropType<boolean>;
|
|
65
|
-
};
|
|
66
|
-
icon: {
|
|
67
|
-
type: import("vue").PropType<string>;
|
|
68
|
-
};
|
|
69
|
-
iconColor: {
|
|
70
|
-
type: import("vue").PropType<string>;
|
|
71
|
-
};
|
|
72
|
-
}>> & {
|
|
73
|
-
onFocus?: ((value: Event) => any) | undefined;
|
|
74
|
-
onBlur?: ((value: Event) => any) | undefined;
|
|
75
|
-
onChange?: ((value: string) => any) | undefined;
|
|
76
|
-
onInput?: ((value: string) => any) | undefined;
|
|
77
|
-
onClear?: ((value: string) => any) | undefined;
|
|
78
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
79
|
-
"onUpdate:valid"?: ((value: boolean) => any) | undefined;
|
|
80
|
-
}, {}, {}>>;
|
|
81
|
-
export declare const With_Placeholder: StoryFn<import("vue").DefineComponent<{
|
|
82
|
-
value: {
|
|
83
|
-
type: import("vue").PropType<string>;
|
|
84
|
-
required: true;
|
|
85
|
-
};
|
|
86
|
-
label: {
|
|
87
|
-
type: import("vue").PropType<string>;
|
|
88
|
-
};
|
|
89
|
-
placeholder: {
|
|
90
|
-
type: import("vue").PropType<string>;
|
|
91
|
-
};
|
|
92
|
-
clearable: {
|
|
93
|
-
type: import("vue").PropType<boolean>;
|
|
94
|
-
};
|
|
95
|
-
autofocus: {
|
|
96
|
-
type: import("vue").PropType<boolean>;
|
|
97
|
-
};
|
|
98
|
-
rules: {
|
|
99
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
100
|
-
};
|
|
101
|
-
disabled: {
|
|
102
|
-
type: import("vue").PropType<boolean>;
|
|
103
|
-
};
|
|
104
|
-
icon: {
|
|
105
|
-
type: import("vue").PropType<string>;
|
|
106
|
-
};
|
|
107
|
-
iconColor: {
|
|
108
|
-
type: import("vue").PropType<string>;
|
|
109
|
-
};
|
|
110
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
111
|
-
input: (value: string) => void;
|
|
112
|
-
focus: (value: Event) => void;
|
|
113
|
-
blur: (value: Event) => void;
|
|
114
|
-
clear: (value: string) => void;
|
|
115
|
-
change: (value: string) => void;
|
|
116
|
-
"update:value": (value: string) => void;
|
|
117
|
-
"update:valid": (value: boolean) => void;
|
|
118
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
119
|
-
value: {
|
|
120
|
-
type: import("vue").PropType<string>;
|
|
121
|
-
required: true;
|
|
122
|
-
};
|
|
123
|
-
label: {
|
|
124
|
-
type: import("vue").PropType<string>;
|
|
125
|
-
};
|
|
126
|
-
placeholder: {
|
|
127
|
-
type: import("vue").PropType<string>;
|
|
128
|
-
};
|
|
129
|
-
clearable: {
|
|
130
|
-
type: import("vue").PropType<boolean>;
|
|
131
|
-
};
|
|
132
|
-
autofocus: {
|
|
133
|
-
type: import("vue").PropType<boolean>;
|
|
134
|
-
};
|
|
135
|
-
rules: {
|
|
136
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
137
|
-
};
|
|
138
|
-
disabled: {
|
|
139
|
-
type: import("vue").PropType<boolean>;
|
|
140
|
-
};
|
|
141
|
-
icon: {
|
|
142
|
-
type: import("vue").PropType<string>;
|
|
143
|
-
};
|
|
144
|
-
iconColor: {
|
|
145
|
-
type: import("vue").PropType<string>;
|
|
146
|
-
};
|
|
147
|
-
}>> & {
|
|
148
|
-
onFocus?: ((value: Event) => any) | undefined;
|
|
149
|
-
onBlur?: ((value: Event) => any) | undefined;
|
|
150
|
-
onChange?: ((value: string) => any) | undefined;
|
|
151
|
-
onInput?: ((value: string) => any) | undefined;
|
|
152
|
-
onClear?: ((value: string) => any) | undefined;
|
|
153
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
154
|
-
"onUpdate:valid"?: ((value: boolean) => any) | undefined;
|
|
155
|
-
}, {}, {}>>;
|
|
156
|
-
export declare const Clearable: StoryFn<import("vue").DefineComponent<{
|
|
157
|
-
value: {
|
|
158
|
-
type: import("vue").PropType<string>;
|
|
159
|
-
required: true;
|
|
160
|
-
};
|
|
161
|
-
label: {
|
|
162
|
-
type: import("vue").PropType<string>;
|
|
163
|
-
};
|
|
164
|
-
placeholder: {
|
|
165
|
-
type: import("vue").PropType<string>;
|
|
166
|
-
};
|
|
167
|
-
clearable: {
|
|
168
|
-
type: import("vue").PropType<boolean>;
|
|
169
|
-
};
|
|
170
|
-
autofocus: {
|
|
171
|
-
type: import("vue").PropType<boolean>;
|
|
172
|
-
};
|
|
173
|
-
rules: {
|
|
174
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
175
|
-
};
|
|
176
|
-
disabled: {
|
|
177
|
-
type: import("vue").PropType<boolean>;
|
|
178
|
-
};
|
|
179
|
-
icon: {
|
|
180
|
-
type: import("vue").PropType<string>;
|
|
181
|
-
};
|
|
182
|
-
iconColor: {
|
|
183
|
-
type: import("vue").PropType<string>;
|
|
184
|
-
};
|
|
185
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
186
|
-
input: (value: string) => void;
|
|
187
|
-
focus: (value: Event) => void;
|
|
188
|
-
blur: (value: Event) => void;
|
|
189
|
-
clear: (value: string) => void;
|
|
190
|
-
change: (value: string) => void;
|
|
191
|
-
"update:value": (value: string) => void;
|
|
192
|
-
"update:valid": (value: boolean) => void;
|
|
193
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
194
|
-
value: {
|
|
195
|
-
type: import("vue").PropType<string>;
|
|
196
|
-
required: true;
|
|
197
|
-
};
|
|
198
|
-
label: {
|
|
199
|
-
type: import("vue").PropType<string>;
|
|
200
|
-
};
|
|
201
|
-
placeholder: {
|
|
202
|
-
type: import("vue").PropType<string>;
|
|
203
|
-
};
|
|
204
|
-
clearable: {
|
|
205
|
-
type: import("vue").PropType<boolean>;
|
|
206
|
-
};
|
|
207
|
-
autofocus: {
|
|
208
|
-
type: import("vue").PropType<boolean>;
|
|
209
|
-
};
|
|
210
|
-
rules: {
|
|
211
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
212
|
-
};
|
|
213
|
-
disabled: {
|
|
214
|
-
type: import("vue").PropType<boolean>;
|
|
215
|
-
};
|
|
216
|
-
icon: {
|
|
217
|
-
type: import("vue").PropType<string>;
|
|
218
|
-
};
|
|
219
|
-
iconColor: {
|
|
220
|
-
type: import("vue").PropType<string>;
|
|
221
|
-
};
|
|
222
|
-
}>> & {
|
|
223
|
-
onFocus?: ((value: Event) => any) | undefined;
|
|
224
|
-
onBlur?: ((value: Event) => any) | undefined;
|
|
225
|
-
onChange?: ((value: string) => any) | undefined;
|
|
226
|
-
onInput?: ((value: string) => any) | undefined;
|
|
227
|
-
onClear?: ((value: string) => any) | undefined;
|
|
228
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
229
|
-
"onUpdate:valid"?: ((value: boolean) => any) | undefined;
|
|
230
|
-
}, {}, {}>>;
|
|
231
|
-
export declare const With_Icon: StoryFn<import("vue").DefineComponent<{
|
|
232
|
-
value: {
|
|
233
|
-
type: import("vue").PropType<string>;
|
|
234
|
-
required: true;
|
|
235
|
-
};
|
|
236
|
-
label: {
|
|
237
|
-
type: import("vue").PropType<string>;
|
|
238
|
-
};
|
|
239
|
-
placeholder: {
|
|
240
|
-
type: import("vue").PropType<string>;
|
|
241
|
-
};
|
|
242
|
-
clearable: {
|
|
243
|
-
type: import("vue").PropType<boolean>;
|
|
244
|
-
};
|
|
245
|
-
autofocus: {
|
|
246
|
-
type: import("vue").PropType<boolean>;
|
|
247
|
-
};
|
|
248
|
-
rules: {
|
|
249
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
250
|
-
};
|
|
251
|
-
disabled: {
|
|
252
|
-
type: import("vue").PropType<boolean>;
|
|
253
|
-
};
|
|
254
|
-
icon: {
|
|
255
|
-
type: import("vue").PropType<string>;
|
|
256
|
-
};
|
|
257
|
-
iconColor: {
|
|
258
|
-
type: import("vue").PropType<string>;
|
|
259
|
-
};
|
|
260
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
261
|
-
input: (value: string) => void;
|
|
262
|
-
focus: (value: Event) => void;
|
|
263
|
-
blur: (value: Event) => void;
|
|
264
|
-
clear: (value: string) => void;
|
|
265
|
-
change: (value: string) => void;
|
|
266
|
-
"update:value": (value: string) => void;
|
|
267
|
-
"update:valid": (value: boolean) => void;
|
|
268
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
269
|
-
value: {
|
|
270
|
-
type: import("vue").PropType<string>;
|
|
271
|
-
required: true;
|
|
272
|
-
};
|
|
273
|
-
label: {
|
|
274
|
-
type: import("vue").PropType<string>;
|
|
275
|
-
};
|
|
276
|
-
placeholder: {
|
|
277
|
-
type: import("vue").PropType<string>;
|
|
278
|
-
};
|
|
279
|
-
clearable: {
|
|
280
|
-
type: import("vue").PropType<boolean>;
|
|
281
|
-
};
|
|
282
|
-
autofocus: {
|
|
283
|
-
type: import("vue").PropType<boolean>;
|
|
284
|
-
};
|
|
285
|
-
rules: {
|
|
286
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
287
|
-
};
|
|
288
|
-
disabled: {
|
|
289
|
-
type: import("vue").PropType<boolean>;
|
|
290
|
-
};
|
|
291
|
-
icon: {
|
|
292
|
-
type: import("vue").PropType<string>;
|
|
293
|
-
};
|
|
294
|
-
iconColor: {
|
|
295
|
-
type: import("vue").PropType<string>;
|
|
296
|
-
};
|
|
297
|
-
}>> & {
|
|
298
|
-
onFocus?: ((value: Event) => any) | undefined;
|
|
299
|
-
onBlur?: ((value: Event) => any) | undefined;
|
|
300
|
-
onChange?: ((value: string) => any) | undefined;
|
|
301
|
-
onInput?: ((value: string) => any) | undefined;
|
|
302
|
-
onClear?: ((value: string) => any) | undefined;
|
|
303
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
304
|
-
"onUpdate:valid"?: ((value: boolean) => any) | undefined;
|
|
305
|
-
}, {}, {}>>;
|
|
306
|
-
export declare const With_Color_Icon: StoryFn<import("vue").DefineComponent<{
|
|
307
|
-
value: {
|
|
308
|
-
type: import("vue").PropType<string>;
|
|
309
|
-
required: true;
|
|
310
|
-
};
|
|
311
|
-
label: {
|
|
312
|
-
type: import("vue").PropType<string>;
|
|
313
|
-
};
|
|
314
|
-
placeholder: {
|
|
315
|
-
type: import("vue").PropType<string>;
|
|
316
|
-
};
|
|
317
|
-
clearable: {
|
|
318
|
-
type: import("vue").PropType<boolean>;
|
|
319
|
-
};
|
|
320
|
-
autofocus: {
|
|
321
|
-
type: import("vue").PropType<boolean>;
|
|
322
|
-
};
|
|
323
|
-
rules: {
|
|
324
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
325
|
-
};
|
|
326
|
-
disabled: {
|
|
327
|
-
type: import("vue").PropType<boolean>;
|
|
328
|
-
};
|
|
329
|
-
icon: {
|
|
330
|
-
type: import("vue").PropType<string>;
|
|
331
|
-
};
|
|
332
|
-
iconColor: {
|
|
333
|
-
type: import("vue").PropType<string>;
|
|
334
|
-
};
|
|
335
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
336
|
-
input: (value: string) => void;
|
|
337
|
-
focus: (value: Event) => void;
|
|
338
|
-
blur: (value: Event) => void;
|
|
339
|
-
clear: (value: string) => void;
|
|
340
|
-
change: (value: string) => void;
|
|
341
|
-
"update:value": (value: string) => void;
|
|
342
|
-
"update:valid": (value: boolean) => void;
|
|
343
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
344
|
-
value: {
|
|
345
|
-
type: import("vue").PropType<string>;
|
|
346
|
-
required: true;
|
|
347
|
-
};
|
|
348
|
-
label: {
|
|
349
|
-
type: import("vue").PropType<string>;
|
|
350
|
-
};
|
|
351
|
-
placeholder: {
|
|
352
|
-
type: import("vue").PropType<string>;
|
|
353
|
-
};
|
|
354
|
-
clearable: {
|
|
355
|
-
type: import("vue").PropType<boolean>;
|
|
356
|
-
};
|
|
357
|
-
autofocus: {
|
|
358
|
-
type: import("vue").PropType<boolean>;
|
|
359
|
-
};
|
|
360
|
-
rules: {
|
|
361
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
362
|
-
};
|
|
363
|
-
disabled: {
|
|
364
|
-
type: import("vue").PropType<boolean>;
|
|
365
|
-
};
|
|
366
|
-
icon: {
|
|
367
|
-
type: import("vue").PropType<string>;
|
|
368
|
-
};
|
|
369
|
-
iconColor: {
|
|
370
|
-
type: import("vue").PropType<string>;
|
|
371
|
-
};
|
|
372
|
-
}>> & {
|
|
373
|
-
onFocus?: ((value: Event) => any) | undefined;
|
|
374
|
-
onBlur?: ((value: Event) => any) | undefined;
|
|
375
|
-
onChange?: ((value: string) => any) | undefined;
|
|
376
|
-
onInput?: ((value: string) => any) | undefined;
|
|
377
|
-
onClear?: ((value: string) => any) | undefined;
|
|
378
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
379
|
-
"onUpdate:valid"?: ((value: boolean) => any) | undefined;
|
|
380
|
-
}, {}, {}>>;
|
|
381
|
-
export declare const With_Rule: StoryFn<import("vue").DefineComponent<{
|
|
382
|
-
value: {
|
|
383
|
-
type: import("vue").PropType<string>;
|
|
384
|
-
required: true;
|
|
385
|
-
};
|
|
386
|
-
label: {
|
|
387
|
-
type: import("vue").PropType<string>;
|
|
388
|
-
};
|
|
389
|
-
placeholder: {
|
|
390
|
-
type: import("vue").PropType<string>;
|
|
391
|
-
};
|
|
392
|
-
clearable: {
|
|
393
|
-
type: import("vue").PropType<boolean>;
|
|
394
|
-
};
|
|
395
|
-
autofocus: {
|
|
396
|
-
type: import("vue").PropType<boolean>;
|
|
397
|
-
};
|
|
398
|
-
rules: {
|
|
399
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
400
|
-
};
|
|
401
|
-
disabled: {
|
|
402
|
-
type: import("vue").PropType<boolean>;
|
|
403
|
-
};
|
|
404
|
-
icon: {
|
|
405
|
-
type: import("vue").PropType<string>;
|
|
406
|
-
};
|
|
407
|
-
iconColor: {
|
|
408
|
-
type: import("vue").PropType<string>;
|
|
409
|
-
};
|
|
410
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
411
|
-
input: (value: string) => void;
|
|
412
|
-
focus: (value: Event) => void;
|
|
413
|
-
blur: (value: Event) => void;
|
|
414
|
-
clear: (value: string) => void;
|
|
415
|
-
change: (value: string) => void;
|
|
416
|
-
"update:value": (value: string) => void;
|
|
417
|
-
"update:valid": (value: boolean) => void;
|
|
418
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
419
|
-
value: {
|
|
420
|
-
type: import("vue").PropType<string>;
|
|
421
|
-
required: true;
|
|
422
|
-
};
|
|
423
|
-
label: {
|
|
424
|
-
type: import("vue").PropType<string>;
|
|
425
|
-
};
|
|
426
|
-
placeholder: {
|
|
427
|
-
type: import("vue").PropType<string>;
|
|
428
|
-
};
|
|
429
|
-
clearable: {
|
|
430
|
-
type: import("vue").PropType<boolean>;
|
|
431
|
-
};
|
|
432
|
-
autofocus: {
|
|
433
|
-
type: import("vue").PropType<boolean>;
|
|
434
|
-
};
|
|
435
|
-
rules: {
|
|
436
|
-
type: import("vue").PropType<((v: string) => any)[]>;
|
|
437
|
-
};
|
|
438
|
-
disabled: {
|
|
439
|
-
type: import("vue").PropType<boolean>;
|
|
440
|
-
};
|
|
441
|
-
icon: {
|
|
442
|
-
type: import("vue").PropType<string>;
|
|
443
|
-
};
|
|
444
|
-
iconColor: {
|
|
445
|
-
type: import("vue").PropType<string>;
|
|
446
|
-
};
|
|
447
|
-
}>> & {
|
|
448
|
-
onFocus?: ((value: Event) => any) | undefined;
|
|
449
|
-
onBlur?: ((value: Event) => any) | undefined;
|
|
450
|
-
onChange?: ((value: string) => any) | undefined;
|
|
451
|
-
onInput?: ((value: string) => any) | undefined;
|
|
452
|
-
onClear?: ((value: string) => any) | undefined;
|
|
453
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
454
|
-
"onUpdate:valid"?: ((value: boolean) => any) | undefined;
|
|
455
|
-
}, {}, {}>>;
|
|
456
|
-
export declare const Disabled: StoryObj<typeof meta>;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
-
import Ui3nList from '../components/ui3n-list.vue';
|
|
3
|
-
declare const meta: Meta<typeof Ui3nList>;
|
|
4
|
-
export default meta;
|
|
5
|
-
export declare const Default: StoryFn<(<T extends {
|
|
6
|
-
id?: string | undefined;
|
|
7
|
-
}>(__VLS_props: {
|
|
8
|
-
title?: string | undefined;
|
|
9
|
-
onSelect?: ((value: {
|
|
10
|
-
value: T;
|
|
11
|
-
index: number;
|
|
12
|
-
}) => any) | undefined;
|
|
13
|
-
disabled?: boolean | undefined;
|
|
14
|
-
sticky?: boolean | undefined;
|
|
15
|
-
items: T[];
|
|
16
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
17
|
-
attrs: any;
|
|
18
|
-
slots: Readonly<import("../components/ui3n-list.vue").Ui3nListSlots<T>> & import("../components/ui3n-list.vue").Ui3nListSlots<T>;
|
|
19
|
-
emit: import("../components/ui3n-list.vue").Ui3nListEmits<T>;
|
|
20
|
-
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
21
|
-
props: {
|
|
22
|
-
title?: string | undefined;
|
|
23
|
-
onSelect?: ((value: {
|
|
24
|
-
value: T;
|
|
25
|
-
index: number;
|
|
26
|
-
}) => any) | undefined;
|
|
27
|
-
disabled?: boolean | undefined;
|
|
28
|
-
sticky?: boolean | undefined;
|
|
29
|
-
items: T[];
|
|
30
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
31
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
32
|
-
attrs: any;
|
|
33
|
-
slots: Readonly<import("../components/ui3n-list.vue").Ui3nListSlots<T>> & import("../components/ui3n-list.vue").Ui3nListSlots<T>;
|
|
34
|
-
emit: import("../components/ui3n-list.vue").Ui3nListEmits<T>;
|
|
35
|
-
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
}> & {
|
|
38
|
-
__ctx?: {
|
|
39
|
-
props: {
|
|
40
|
-
title?: string | undefined;
|
|
41
|
-
onSelect?: ((value: {
|
|
42
|
-
value: T;
|
|
43
|
-
index: number;
|
|
44
|
-
}) => any) | undefined;
|
|
45
|
-
disabled?: boolean | undefined;
|
|
46
|
-
sticky?: boolean | undefined;
|
|
47
|
-
items: T[];
|
|
48
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
49
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
50
|
-
attrs: any;
|
|
51
|
-
slots: Readonly<import("../components/ui3n-list.vue").Ui3nListSlots<T>> & import("../components/ui3n-list.vue").Ui3nListSlots<T>;
|
|
52
|
-
emit: import("../components/ui3n-list.vue").Ui3nListEmits<T>;
|
|
53
|
-
} | undefined;
|
|
54
|
-
})>;
|