@nuxt/ui 2.18.2 → 2.18.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.d.mts +1 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/data/Table.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Accordion.vue.d.ts +2 -3
- package/dist/runtime/components/elements/Alert.vue.d.ts +4 -4
- package/dist/runtime/components/elements/Avatar.vue.d.ts +3 -3
- package/dist/runtime/components/elements/AvatarGroup.d.ts +1 -1
- package/dist/runtime/components/elements/Badge.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Button.vue.d.ts +15 -15
- package/dist/runtime/components/elements/ButtonGroup.d.ts +1 -1
- package/dist/runtime/components/elements/Carousel.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Chip.vue.d.ts +4 -4
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Kbd.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Link.vue.d.ts +9 -9
- package/dist/runtime/components/elements/Meter.vue.d.ts +2 -2
- package/dist/runtime/components/elements/MeterGroup.d.ts +2 -2
- package/dist/runtime/components/elements/Progress.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Form.vue +2 -5
- package/dist/runtime/components/forms/Form.vue.d.ts +1 -1
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +2 -2
- package/dist/runtime/components/forms/Input.vue.d.ts +5 -5
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +6 -6
- package/dist/runtime/components/forms/Radio.vue.d.ts +3 -3
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Range.vue.d.ts +3 -3
- package/dist/runtime/components/forms/Select.vue.d.ts +5 -5
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +6 -6
- package/dist/runtime/components/forms/Textarea.vue.d.ts +4 -4
- package/dist/runtime/components/forms/Toggle.vue.d.ts +2 -2
- package/dist/runtime/components/layout/Card.vue.d.ts +1 -1
- package/dist/runtime/components/layout/Container.vue.d.ts +1 -1
- package/dist/runtime/components/layout/Divider.vue.d.ts +3 -3
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/Tabs.vue +5 -2
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +2 -2
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +2 -2
- package/dist/runtime/components/overlays/Modal.vue.d.ts +2 -2
- package/dist/runtime/components/overlays/Notification.vue.d.ts +4 -4
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +5 -5
- package/dist/runtime/components/overlays/Popover.vue.d.ts +2 -2
- package/dist/runtime/components/overlays/Slideover.vue +1 -1
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +3 -3
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +3 -3
- package/dist/runtime/composables/useFormGroup.d.ts +1 -1
- package/dist/runtime/composables/useFormGroup.js +13 -17
- package/dist/runtime/composables/usePopper.d.ts +6 -6
- package/dist/runtime/composables/useUI.d.ts +1 -1
- package/dist/runtime/plugins/colors.js +3 -3
- package/dist/runtime/types/accordion.d.ts +7 -6
- package/dist/runtime/types/alert.d.ts +10 -8
- package/dist/runtime/types/avatar.d.ts +15 -13
- package/dist/runtime/types/badge.d.ts +13 -11
- package/dist/runtime/types/breadcrumb.d.ts +8 -6
- package/dist/runtime/types/button.d.ts +29 -27
- package/dist/runtime/types/chip.d.ts +13 -11
- package/dist/runtime/types/clipboard.d.ts +1 -7
- package/dist/runtime/types/command-palette.d.ts +25 -23
- package/dist/runtime/types/component.d.ts +14 -17
- package/dist/runtime/types/divider.d.ts +3 -2
- package/dist/runtime/types/dropdown.d.ts +13 -12
- package/dist/runtime/types/form-group.d.ts +5 -4
- package/dist/runtime/types/form.d.ts +28 -29
- package/dist/runtime/types/horizontal-navigation.d.ts +11 -10
- package/dist/runtime/types/index.js +31 -31
- package/dist/runtime/types/input.d.ts +8 -7
- package/dist/runtime/types/kbd.d.ts +5 -4
- package/dist/runtime/types/link.d.ts +10 -9
- package/dist/runtime/types/meter.d.ts +5 -4
- package/dist/runtime/types/modal.d.ts +15 -13
- package/dist/runtime/types/notification.d.ts +20 -17
- package/dist/runtime/types/popper.d.ts +15 -13
- package/dist/runtime/types/progress.d.ts +6 -5
- package/dist/runtime/types/range.d.ts +7 -6
- package/dist/runtime/types/select.d.ts +8 -7
- package/dist/runtime/types/slideover.d.ts +12 -10
- package/dist/runtime/types/tabs.d.ts +6 -6
- package/dist/runtime/types/textarea.d.ts +8 -7
- package/dist/runtime/types/toggle.d.ts +7 -6
- package/dist/runtime/types/tooltip.d.ts +5 -5
- package/dist/runtime/types/utils.d.ts +31 -11
- package/dist/runtime/types/vertical-navigation.d.ts +11 -10
- package/dist/runtime/utils/colors.js +75 -67
- package/dist/runtime/utils/index.d.ts +1 -1
- package/dist/runtime/utils/link.d.ts +1 -1
- package/package.json +6 -6
- package/dist/runtime/types/accordion.js +0 -0
- package/dist/runtime/types/alert.js +0 -0
- package/dist/runtime/types/avatar.js +0 -0
- package/dist/runtime/types/badge.js +0 -0
- package/dist/runtime/types/breadcrumb.js +0 -0
- package/dist/runtime/types/button.js +0 -0
- package/dist/runtime/types/chip.js +0 -0
- package/dist/runtime/types/clipboard.js +0 -0
- package/dist/runtime/types/command-palette.js +0 -0
- package/dist/runtime/types/component.js +0 -0
- package/dist/runtime/types/divider.js +0 -0
- package/dist/runtime/types/dropdown.js +0 -0
- package/dist/runtime/types/form-group.js +0 -0
- package/dist/runtime/types/form.js +0 -0
- package/dist/runtime/types/horizontal-navigation.js +0 -0
- package/dist/runtime/types/input.js +0 -0
- package/dist/runtime/types/kbd.js +0 -0
- package/dist/runtime/types/link.js +0 -0
- package/dist/runtime/types/meter.js +0 -0
- package/dist/runtime/types/modal.js +0 -0
- package/dist/runtime/types/notification.js +0 -0
- package/dist/runtime/types/popper.js +0 -0
- package/dist/runtime/types/progress.js +0 -0
- package/dist/runtime/types/range.js +0 -0
- package/dist/runtime/types/select.js +0 -0
- package/dist/runtime/types/slideover.js +0 -0
- package/dist/runtime/types/tabs.js +0 -0
- package/dist/runtime/types/textarea.js +0 -0
- package/dist/runtime/types/toggle.js +0 -0
- package/dist/runtime/types/tooltip.js +0 -0
- package/dist/runtime/types/utils.js +0 -0
- package/dist/runtime/types/vertical-navigation.js +0 -0
package/dist/module.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
2
|
import * as config from '../dist/runtime/ui.config/index.js';
|
|
3
|
-
import { Strategy, DeepPartial } from '../dist/runtime/types/
|
|
3
|
+
import { Strategy, DeepPartial } from '../dist/runtime/types/index.js';
|
|
4
4
|
|
|
5
5
|
type UI = {
|
|
6
6
|
primary?: string;
|
package/dist/module.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
2
|
import * as config from '../dist/runtime/ui.config/index.js';
|
|
3
|
-
import { Strategy, DeepPartial } from '../dist/runtime/types/
|
|
3
|
+
import { Strategy, DeepPartial } from '../dist/runtime/types/index.js';
|
|
4
4
|
|
|
5
5
|
type UI = {
|
|
6
6
|
primary?: string;
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -14,7 +14,7 @@ const __filename = __cjs_url__.fileURLToPath(import.meta.url);
|
|
|
14
14
|
const __dirname = __cjs_path__.dirname(__filename);
|
|
15
15
|
const require = __cjs_mod__.createRequire(import.meta.url);
|
|
16
16
|
const name = "@nuxt/ui";
|
|
17
|
-
const version = "2.18.
|
|
17
|
+
const version = "2.18.4";
|
|
18
18
|
|
|
19
19
|
function createTemplates(nuxt = useNuxt()) {
|
|
20
20
|
const template = addTemplate({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType, AriaAttributes } from 'vue';
|
|
2
|
-
import type { Strategy, Button, ProgressColor, ProgressAnimation } from '../../types.js';
|
|
2
|
+
import type { Strategy, Button, ProgressColor, ProgressAnimation } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
base: string;
|
|
@@ -408,13 +408,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
408
408
|
direction: "asc" | "desc";
|
|
409
409
|
};
|
|
410
410
|
class: any;
|
|
411
|
-
ui: {};
|
|
412
411
|
caption: string;
|
|
413
412
|
columns: Column[];
|
|
414
413
|
progress: {
|
|
415
414
|
color: ProgressColor;
|
|
416
415
|
animation: ProgressAnimation;
|
|
417
416
|
};
|
|
417
|
+
ui: {};
|
|
418
418
|
modelValue: unknown[];
|
|
419
419
|
loading: boolean;
|
|
420
420
|
loadingState: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import type { AccordionItem, Strategy } from '../../types.js';
|
|
2
|
+
import type { AccordionItem, Strategy } from '../../types/index.js';
|
|
4
3
|
declare const config: {
|
|
5
4
|
wrapper: string;
|
|
6
5
|
container: string;
|
|
@@ -169,7 +168,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
169
168
|
close: (e: EventTarget) => {};
|
|
170
169
|
}[]>;
|
|
171
170
|
closeOthers: (currentIndex: number, e: Event) => void;
|
|
172
|
-
omit:
|
|
171
|
+
omit: any;
|
|
173
172
|
onEnter: (_el: Element, done: () => void) => void;
|
|
174
173
|
onBeforeLeave: (_el: Element) => void;
|
|
175
174
|
onAfterEnter: (_el: Element) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { Avatar, Button, AlertColor, AlertVariant, AlertAction, Strategy } from '../../types.js';
|
|
2
|
+
import type { Avatar, Button, AlertColor, AlertVariant, AlertAction, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
inner: string;
|
|
@@ -181,13 +181,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
181
181
|
onClose?: (...args: any[]) => any;
|
|
182
182
|
}, {
|
|
183
183
|
class: any;
|
|
184
|
-
|
|
184
|
+
avatar: any;
|
|
185
185
|
color: AlertColor;
|
|
186
186
|
variant: AlertVariant;
|
|
187
|
-
avatar: any;
|
|
188
|
-
icon: string;
|
|
189
187
|
title: string;
|
|
188
|
+
ui: {};
|
|
190
189
|
description: string;
|
|
190
|
+
icon: string;
|
|
191
191
|
closeButton: Button;
|
|
192
192
|
actions: AlertAction[];
|
|
193
193
|
}, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { AvatarSize, AvatarChipColor, AvatarChipPosition, Strategy } from '../../types.js';
|
|
2
|
+
import type { AvatarSize, AvatarChipColor, AvatarChipPosition, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
background: string;
|
|
@@ -242,10 +242,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
242
242
|
size: AvatarSize;
|
|
243
243
|
class: any;
|
|
244
244
|
as: string | Record<string, any>;
|
|
245
|
-
ui: {};
|
|
246
|
-
icon: string;
|
|
247
245
|
text: string;
|
|
248
246
|
alt: string;
|
|
247
|
+
ui: {};
|
|
248
|
+
icon: string;
|
|
249
249
|
src: string | boolean;
|
|
250
250
|
chipColor: AvatarChipColor;
|
|
251
251
|
chipPosition: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { BadgeColor, BadgeSize, BadgeVariant, Strategy } from '../../types.js';
|
|
2
|
+
import type { BadgeColor, BadgeSize, BadgeVariant, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
base: string;
|
|
5
5
|
rounded: string;
|
|
@@ -101,9 +101,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
101
101
|
}>>, {
|
|
102
102
|
size: BadgeSize;
|
|
103
103
|
class: any;
|
|
104
|
-
ui: {};
|
|
105
104
|
color: BadgeColor;
|
|
106
105
|
variant: BadgeVariant;
|
|
107
106
|
label: string | number;
|
|
107
|
+
ui: {};
|
|
108
108
|
}, {}>;
|
|
109
109
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { ButtonColor, ButtonSize, ButtonVariant, Strategy } from '../../types.js';
|
|
2
|
+
import type { ButtonColor, ButtonSize, ButtonVariant, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
base: string;
|
|
5
5
|
font: string;
|
|
@@ -178,7 +178,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
178
178
|
readonly required: false;
|
|
179
179
|
};
|
|
180
180
|
rel: {
|
|
181
|
-
readonly type: PropType<
|
|
181
|
+
readonly type: PropType<any>;
|
|
182
182
|
readonly default: any;
|
|
183
183
|
readonly required: false;
|
|
184
184
|
};
|
|
@@ -418,7 +418,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
418
418
|
readonly required: false;
|
|
419
419
|
};
|
|
420
420
|
rel: {
|
|
421
|
-
readonly type: PropType<
|
|
421
|
+
readonly type: PropType<any>;
|
|
422
422
|
readonly default: any;
|
|
423
423
|
readonly required: false;
|
|
424
424
|
};
|
|
@@ -472,26 +472,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
472
472
|
type: string;
|
|
473
473
|
replace: boolean;
|
|
474
474
|
class: any;
|
|
475
|
+
truncate: boolean;
|
|
476
|
+
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
475
477
|
to: any;
|
|
476
478
|
activeClass: string;
|
|
477
479
|
exactActiveClass: string;
|
|
478
480
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
479
|
-
disabled: boolean;
|
|
480
|
-
truncate: boolean;
|
|
481
|
-
ui: {};
|
|
482
|
-
color: ButtonColor;
|
|
483
|
-
variant: ButtonVariant;
|
|
484
|
-
label: string;
|
|
485
|
-
icon: string;
|
|
486
|
-
href: any;
|
|
487
|
-
external: boolean;
|
|
488
|
-
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
489
|
-
rel: (string & {}) | "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc";
|
|
490
481
|
noRel: boolean;
|
|
491
|
-
prefetchedClass: string;
|
|
492
482
|
prefetch: boolean;
|
|
493
483
|
noPrefetch: boolean;
|
|
484
|
+
prefetchedClass: string;
|
|
485
|
+
external: boolean;
|
|
494
486
|
leading: boolean;
|
|
487
|
+
color: ButtonColor;
|
|
488
|
+
variant: ButtonVariant;
|
|
489
|
+
disabled: boolean;
|
|
490
|
+
href: any;
|
|
491
|
+
rel: any;
|
|
492
|
+
label: string;
|
|
493
|
+
ui: {};
|
|
494
|
+
icon: string;
|
|
495
495
|
block: boolean;
|
|
496
496
|
square: boolean;
|
|
497
497
|
loading: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { ChipSize, ChipColor, ChipPosition, Strategy } from '../../types.js';
|
|
2
|
+
import type { ChipSize, ChipColor, ChipPosition, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
base: string;
|
|
@@ -150,13 +150,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
150
150
|
default: () => {};
|
|
151
151
|
};
|
|
152
152
|
}>>, {
|
|
153
|
-
size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "
|
|
153
|
+
size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "2xl" | "3xs" | "3xl";
|
|
154
154
|
class: any;
|
|
155
|
-
ui: {};
|
|
156
|
-
color: ChipColor;
|
|
157
155
|
inset: boolean;
|
|
158
156
|
position: "top-right" | "bottom-right" | "top-left" | "bottom-left";
|
|
157
|
+
color: ChipColor;
|
|
159
158
|
text: string | number;
|
|
159
|
+
ui: {};
|
|
160
160
|
show: boolean;
|
|
161
161
|
}, {}>;
|
|
162
162
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
import { twJoin } from 'tailwind-merge';
|
|
3
|
-
import type { DropdownItem, PopperOptions, Strategy } from '../../types.js';
|
|
3
|
+
import type { DropdownItem, PopperOptions, Strategy } from '../../types/index.js';
|
|
4
4
|
declare const config: {
|
|
5
5
|
wrapper: string;
|
|
6
6
|
container: string;
|
|
@@ -243,9 +243,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
243
243
|
}, {
|
|
244
244
|
mode: "click" | "hover";
|
|
245
245
|
class: any;
|
|
246
|
+
popper: PopperOptions;
|
|
246
247
|
disabled: boolean;
|
|
247
248
|
ui: {};
|
|
248
|
-
popper: PopperOptions;
|
|
249
249
|
open: boolean;
|
|
250
250
|
items: DropdownItem[][];
|
|
251
251
|
openDelay: number;
|
|
@@ -47,7 +47,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
readonly required: false;
|
|
48
48
|
};
|
|
49
49
|
rel: {
|
|
50
|
-
readonly type: import("vue").PropType<
|
|
50
|
+
readonly type: import("vue").PropType<any>;
|
|
51
51
|
readonly default: any;
|
|
52
52
|
readonly required: false;
|
|
53
53
|
};
|
|
@@ -150,7 +150,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
150
150
|
readonly required: false;
|
|
151
151
|
};
|
|
152
152
|
rel: {
|
|
153
|
-
readonly type: import("vue").PropType<
|
|
153
|
+
readonly type: import("vue").PropType<any>;
|
|
154
154
|
readonly default: any;
|
|
155
155
|
readonly required: false;
|
|
156
156
|
};
|
|
@@ -202,10 +202,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
202
202
|
}>>, {
|
|
203
203
|
type: string;
|
|
204
204
|
replace: boolean;
|
|
205
|
+
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
205
206
|
to: any;
|
|
206
207
|
activeClass: string;
|
|
207
208
|
exactActiveClass: string;
|
|
208
209
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
210
|
+
noRel: boolean;
|
|
211
|
+
prefetch: boolean;
|
|
212
|
+
noPrefetch: boolean;
|
|
213
|
+
prefetchedClass: string;
|
|
214
|
+
external: boolean;
|
|
209
215
|
as: string;
|
|
210
216
|
disabled: boolean;
|
|
211
217
|
active: boolean;
|
|
@@ -214,12 +220,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
214
220
|
exactHash: boolean;
|
|
215
221
|
inactiveClass: string;
|
|
216
222
|
href: any;
|
|
217
|
-
|
|
218
|
-
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
219
|
-
rel: (string & {}) | "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc";
|
|
220
|
-
noRel: boolean;
|
|
221
|
-
prefetchedClass: string;
|
|
222
|
-
prefetch: boolean;
|
|
223
|
-
noPrefetch: boolean;
|
|
223
|
+
rel: any;
|
|
224
224
|
}, {}>;
|
|
225
225
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SlotsType, PropType } from 'vue';
|
|
2
|
-
import type { Strategy, MeterColor, MeterSize } from '../../types.js';
|
|
2
|
+
import type { Strategy, MeterColor, MeterSize } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
indicator: {
|
|
@@ -258,9 +258,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
258
258
|
}>>, {
|
|
259
259
|
size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "2xl";
|
|
260
260
|
class: any;
|
|
261
|
-
ui: {};
|
|
262
261
|
color: MeterColor;
|
|
263
262
|
label: string;
|
|
263
|
+
ui: {};
|
|
264
264
|
icon: string;
|
|
265
265
|
indicator: boolean;
|
|
266
266
|
value: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { VNode, SlotsType, PropType } from 'vue';
|
|
2
2
|
import Meter from './Meter.vue.js';
|
|
3
|
-
import type { Strategy, MeterSize } from '../../types.js';
|
|
3
|
+
import type { Strategy, MeterSize } from '../../types/index.js';
|
|
4
4
|
declare const meterGroupConfig: {
|
|
5
5
|
wrapper: string;
|
|
6
6
|
base: string;
|
|
@@ -121,8 +121,8 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
121
121
|
}>>, {
|
|
122
122
|
size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "2xl";
|
|
123
123
|
ui: {};
|
|
124
|
-
icon: string;
|
|
125
124
|
class: any;
|
|
125
|
+
icon: string;
|
|
126
126
|
max: number;
|
|
127
127
|
min: number;
|
|
128
128
|
indicator: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { Strategy, ProgressSize, ProgressAnimation, ProgressColor } from '../../types.js';
|
|
2
|
+
import type { Strategy, ProgressSize, ProgressAnimation, ProgressColor } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
indicator: {
|
|
@@ -270,8 +270,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
270
270
|
}>>, {
|
|
271
271
|
size: "xs" | "sm" | "2xs" | "md" | "lg" | "xl" | "2xl";
|
|
272
272
|
class: any;
|
|
273
|
-
ui: {};
|
|
274
273
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
274
|
+
ui: {};
|
|
275
275
|
indicator: boolean;
|
|
276
276
|
animation: "carousel" | "carousel-inverse" | "swing" | "elastic";
|
|
277
277
|
value: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { Strategy } from '../../types.js';
|
|
2
|
+
import type { Strategy } from '../../types/index.js';
|
|
3
3
|
import colors from '#ui-colors';
|
|
4
4
|
declare const config: {
|
|
5
5
|
wrapper: string;
|
|
@@ -165,10 +165,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
165
165
|
name: string;
|
|
166
166
|
required: boolean;
|
|
167
167
|
class: any;
|
|
168
|
-
disabled: boolean;
|
|
169
|
-
ui: {};
|
|
170
168
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
169
|
+
disabled: boolean;
|
|
171
170
|
label: string;
|
|
171
|
+
ui: {};
|
|
172
172
|
id: string;
|
|
173
173
|
modelValue: boolean | unknown[];
|
|
174
174
|
value: string | number | boolean | Record<string, any>;
|
|
@@ -100,11 +100,8 @@ export default defineComponent({
|
|
|
100
100
|
if (props.validateOn?.includes("submit")) {
|
|
101
101
|
await validate();
|
|
102
102
|
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
data: props.state
|
|
106
|
-
};
|
|
107
|
-
emit("submit", submitEvent);
|
|
103
|
+
event.data = props.state;
|
|
104
|
+
emit("submit", event);
|
|
108
105
|
} catch (error) {
|
|
109
106
|
if (!(error instanceof FormException)) {
|
|
110
107
|
throw error;
|
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
};
|
|
26
26
|
}, {
|
|
27
27
|
onSubmit: (payload: Event) => Promise<void>;
|
|
28
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
28
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("error" | "submit")[], "error" | "submit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
29
|
schema: {
|
|
30
30
|
type: PropType<ZodSchema> | PropType<YupObjectSchema<any>> | PropType<JoiSchema> | PropType<ValibotSchema30 | ValibotSchemaAsync30> | PropType<ValibotSchema31 | ValibotSchemaAsync31> | PropType<ValibotSafeParser31<any, any> | ValibotSafeParserAsync31<any, any>> | PropType<ValibotSchema | ValibotSchemaAsync> | PropType<ValibotSafeParser<any, any> | ValibotSafeParserAsync<any, any>>;
|
|
31
31
|
default: any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Ref, PropType } from 'vue';
|
|
2
|
-
import type { FormGroupSize, Strategy } from '../../types.js';
|
|
2
|
+
import type { FormGroupSize, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
inner: string;
|
|
@@ -158,9 +158,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
158
158
|
size: FormGroupSize;
|
|
159
159
|
required: boolean;
|
|
160
160
|
class: any;
|
|
161
|
-
ui: {};
|
|
162
161
|
label: string;
|
|
163
162
|
error: string | boolean;
|
|
163
|
+
ui: {};
|
|
164
164
|
description: string;
|
|
165
165
|
help: string;
|
|
166
166
|
hint: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { InputSize, InputColor, InputVariant, Strategy } from '../../types.js';
|
|
2
|
+
import type { InputSize, InputColor, InputVariant, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
base: string;
|
|
@@ -459,13 +459,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
459
459
|
type: string;
|
|
460
460
|
required: boolean;
|
|
461
461
|
class: any;
|
|
462
|
-
|
|
463
|
-
ui: {};
|
|
462
|
+
leading: boolean;
|
|
464
463
|
color: InputColor;
|
|
465
464
|
variant: InputVariant;
|
|
466
|
-
|
|
465
|
+
disabled: boolean;
|
|
466
|
+
ui: {};
|
|
467
467
|
id: string;
|
|
468
|
-
|
|
468
|
+
icon: string;
|
|
469
469
|
modelValue: string | number;
|
|
470
470
|
loading: boolean;
|
|
471
471
|
padded: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { InputSize, InputColor, InputVariant, PopperOptions, Strategy } from '../../types.js';
|
|
2
|
+
import type { InputSize, InputColor, InputVariant, PopperOptions, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
base: string;
|
|
@@ -665,14 +665,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
665
665
|
required: boolean;
|
|
666
666
|
search: (query: string) => Promise<any[]> | any[];
|
|
667
667
|
class: any;
|
|
668
|
-
|
|
669
|
-
|
|
668
|
+
leading: boolean;
|
|
669
|
+
popper: PopperOptions;
|
|
670
670
|
color: InputColor;
|
|
671
671
|
variant: InputVariant;
|
|
672
|
-
|
|
672
|
+
disabled: boolean;
|
|
673
|
+
ui: {};
|
|
673
674
|
id: string;
|
|
674
|
-
|
|
675
|
-
popper: PopperOptions;
|
|
675
|
+
icon: string;
|
|
676
676
|
options: string[] | {
|
|
677
677
|
[key: string]: any;
|
|
678
678
|
disabled?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { Strategy } from '../../types.js';
|
|
2
|
+
import type { Strategy } from '../../types/index.js';
|
|
3
3
|
import colors from '#ui-colors';
|
|
4
4
|
declare const config: {
|
|
5
5
|
wrapper: string;
|
|
@@ -155,10 +155,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
155
155
|
name: string;
|
|
156
156
|
required: boolean;
|
|
157
157
|
class: any;
|
|
158
|
-
disabled: boolean;
|
|
159
|
-
ui: {};
|
|
160
158
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
159
|
+
disabled: boolean;
|
|
161
160
|
label: string;
|
|
161
|
+
ui: {};
|
|
162
162
|
id: string;
|
|
163
163
|
modelValue: string | number | boolean | Record<string, any>;
|
|
164
164
|
value: string | number | boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { Strategy } from '../../types.js';
|
|
2
|
+
import type { Strategy } from '../../types/index.js';
|
|
3
3
|
import colors from '#ui-colors';
|
|
4
4
|
declare const config: {
|
|
5
5
|
wrapper: string;
|
|
@@ -163,10 +163,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
163
163
|
}, {
|
|
164
164
|
name: string;
|
|
165
165
|
class: any;
|
|
166
|
-
disabled: boolean;
|
|
167
|
-
ui: {};
|
|
168
166
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
167
|
+
disabled: boolean;
|
|
169
168
|
legend: string;
|
|
169
|
+
ui: {};
|
|
170
170
|
options: unknown[];
|
|
171
171
|
modelValue: string | number | boolean | Record<string, any>;
|
|
172
172
|
optionAttribute: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { RangeSize, RangeColor, Strategy } from '../../types.js';
|
|
2
|
+
import type { RangeSize, RangeColor, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
base: string;
|
|
@@ -255,10 +255,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
255
255
|
name: string;
|
|
256
256
|
size: RangeSize;
|
|
257
257
|
class: any;
|
|
258
|
+
step: number;
|
|
259
|
+
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
258
260
|
disabled: boolean;
|
|
259
261
|
ui: {};
|
|
260
|
-
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
261
|
-
step: number;
|
|
262
262
|
id: string;
|
|
263
263
|
modelValue: number;
|
|
264
264
|
max: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType, ComputedRef } from 'vue';
|
|
2
|
-
import type { SelectSize, SelectColor, SelectVariant, Strategy } from '../../types.js';
|
|
2
|
+
import type { SelectSize, SelectColor, SelectVariant, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
form: string;
|
|
5
5
|
placeholder: string;
|
|
@@ -448,13 +448,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
448
448
|
size: SelectSize;
|
|
449
449
|
required: boolean;
|
|
450
450
|
class: any;
|
|
451
|
-
|
|
452
|
-
ui: {};
|
|
451
|
+
leading: boolean;
|
|
453
452
|
color: SelectColor;
|
|
454
453
|
variant: SelectVariant;
|
|
455
|
-
|
|
454
|
+
disabled: boolean;
|
|
455
|
+
ui: {};
|
|
456
456
|
id: string;
|
|
457
|
-
|
|
457
|
+
icon: string;
|
|
458
458
|
options: unknown[];
|
|
459
459
|
modelValue: string | number | Record<string, any>;
|
|
460
460
|
loading: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { SelectSize, SelectColor, SelectVariant, PopperOptions, Strategy } from '../../types.js';
|
|
2
|
+
import type { SelectSize, SelectColor, SelectVariant, PopperOptions, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
form: string;
|
|
5
5
|
placeholder: string;
|
|
@@ -714,14 +714,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
714
714
|
size: SelectSize;
|
|
715
715
|
required: boolean;
|
|
716
716
|
class: any;
|
|
717
|
-
|
|
718
|
-
|
|
717
|
+
leading: boolean;
|
|
718
|
+
popper: PopperOptions;
|
|
719
719
|
color: SelectColor;
|
|
720
720
|
variant: SelectVariant;
|
|
721
|
-
|
|
721
|
+
disabled: boolean;
|
|
722
|
+
ui: {};
|
|
722
723
|
id: string;
|
|
723
|
-
|
|
724
|
-
popper: PopperOptions;
|
|
724
|
+
icon: string;
|
|
725
725
|
options: string[] | {
|
|
726
726
|
[key: string]: any;
|
|
727
727
|
disabled?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { TextareaSize, TextareaColor, TextareaVariant, Strategy } from '../../types.js';
|
|
2
|
+
import type { TextareaSize, TextareaColor, TextareaVariant, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
form: string;
|
|
5
5
|
default: {
|
|
@@ -416,12 +416,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
416
416
|
size: TextareaSize;
|
|
417
417
|
required: boolean;
|
|
418
418
|
class: any;
|
|
419
|
-
|
|
420
|
-
ui: {};
|
|
419
|
+
resize: boolean;
|
|
421
420
|
color: TextareaColor;
|
|
422
421
|
variant: TextareaVariant;
|
|
422
|
+
disabled: boolean;
|
|
423
|
+
ui: {};
|
|
423
424
|
id: string;
|
|
424
|
-
resize: boolean;
|
|
425
425
|
modelValue: string | number;
|
|
426
426
|
padded: boolean;
|
|
427
427
|
rows: number;
|