@nuxt/ui 2.18.5 → 2.18.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/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/data/Table.vue +3 -3
- package/dist/runtime/components/data/Table.vue.d.ts +281 -17
- package/dist/runtime/components/elements/Accordion.vue.d.ts +119 -11
- package/dist/runtime/components/elements/Alert.vue.d.ts +203 -15
- package/dist/runtime/components/elements/Avatar.vue.d.ts +66 -4
- package/dist/runtime/components/elements/AvatarGroup.d.ts +7 -1
- package/dist/runtime/components/elements/Badge.vue.d.ts +40 -4
- package/dist/runtime/components/elements/Button.vue.d.ts +91 -8
- package/dist/runtime/components/elements/ButtonGroup.d.ts +103 -2
- package/dist/runtime/components/elements/Carousel.vue.d.ts +121 -11
- package/dist/runtime/components/elements/Chip.vue.d.ts +41 -4
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +152 -10
- package/dist/runtime/components/elements/Kbd.vue.d.ts +23 -4
- package/dist/runtime/components/elements/Link.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Meter.vue.d.ts +83 -4
- package/dist/runtime/components/elements/MeterGroup.d.ts +54 -2
- package/dist/runtime/components/elements/Progress.vue.d.ts +81 -4
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +25 -4
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +32 -4
- package/dist/runtime/components/forms/Input.vue.d.ts +121 -5
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +251 -11
- package/dist/runtime/components/forms/Radio.vue.d.ts +24 -4
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +61 -10
- package/dist/runtime/components/forms/Range.vue.d.ts +70 -4
- package/dist/runtime/components/forms/Select.vue.d.ts +117 -4
- package/dist/runtime/components/forms/SelectMenu.vue +1 -1
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +258 -11
- package/dist/runtime/components/forms/Textarea.vue.d.ts +120 -5
- package/dist/runtime/components/forms/Toggle.vue.d.ts +69 -4
- package/dist/runtime/components/layout/Card.vue.d.ts +30 -4
- package/dist/runtime/components/layout/Container.vue.d.ts +12 -4
- package/dist/runtime/components/layout/Divider.vue.d.ts +124 -8
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +12 -4
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +29 -6
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +256 -18
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +87 -6
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +139 -12
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +131 -11
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +41 -4
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +269 -19
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +37 -4
- package/dist/runtime/components/overlays/Modal.vue +2 -2
- package/dist/runtime/components/overlays/Modal.vue.d.ts +50 -5
- package/dist/runtime/components/overlays/Notification.vue.d.ts +212 -15
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +224 -18
- package/dist/runtime/components/overlays/Popover.vue.d.ts +53 -4
- package/dist/runtime/components/overlays/Slideover.vue +2 -2
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +49 -5
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +65 -7
- package/dist/runtime/composables/useFormGroup.js +1 -1
- package/dist/runtime/composables/useUI.d.ts +2 -2
- package/dist/runtime/composables/useUI.js +1 -1
- package/dist/runtime/ui.config/navigation/tabs.js +1 -1
- package/package.json +4 -4
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.6";
|
|
18
18
|
|
|
19
19
|
function createTemplates(nuxt = useNuxt()) {
|
|
20
20
|
const template = addTemplate({
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
</thead>
|
|
45
45
|
<tbody :class="ui.tbody">
|
|
46
46
|
<tr v-if="loadingState && loading && !rows.length">
|
|
47
|
-
<td :colspan="columns.length + (modelValue ? 1 : 0)">
|
|
47
|
+
<td :colspan="columns.length + (modelValue ? 1 : 0) + ($slots.expand ? 1 : 0)">
|
|
48
48
|
<slot name="loading-state">
|
|
49
49
|
<div :class="ui.loadingState.wrapper">
|
|
50
50
|
<UIcon v-if="loadingState.icon" :name="loadingState.icon" :class="ui.loadingState.icon" aria-hidden="true" />
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
</tr>
|
|
58
58
|
|
|
59
59
|
<tr v-else-if="emptyState && !rows.length">
|
|
60
|
-
<td :colspan="columns.length + (modelValue ? 1 : 0)">
|
|
60
|
+
<td :colspan="columns.length + (modelValue ? 1 : 0) + ($slots.expand ? 1 : 0)">
|
|
61
61
|
<slot name="empty-state">
|
|
62
62
|
<div :class="ui.emptyState.wrapper">
|
|
63
63
|
<UIcon v-if="emptyState.icon" :name="emptyState.icon" :class="ui.emptyState.icon" aria-hidden="true" />
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
>
|
|
83
83
|
<UButton
|
|
84
84
|
v-bind="{ ...(ui.default.expandButton || {}), ...expandButton }"
|
|
85
|
-
:ui="{ icon: { base: [ui.expand.icon, openedRows.includes(index) && 'rotate-180'] } }"
|
|
85
|
+
:ui="{ icon: { base: [ui.expand.icon, openedRows.includes(index) && 'rotate-180'].join(' ') } }"
|
|
86
86
|
@click="toggleOpened(index)"
|
|
87
87
|
/>
|
|
88
88
|
</td>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType, AriaAttributes } from 'vue';
|
|
2
|
-
import type { Strategy, Button, ProgressColor, ProgressAnimation } from '../../types/index.js';
|
|
2
|
+
import type { Strategy, Button, ProgressColor, ProgressAnimation, DeepPartial } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
base: string;
|
|
@@ -183,7 +183,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
183
183
|
default: () => string;
|
|
184
184
|
};
|
|
185
185
|
ui: {
|
|
186
|
-
type: PropType<
|
|
186
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
187
187
|
strategy?: Strategy;
|
|
188
188
|
}>;
|
|
189
189
|
default: () => {};
|
|
@@ -397,7 +397,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
397
397
|
default: () => string;
|
|
398
398
|
};
|
|
399
399
|
ui: {
|
|
400
|
-
type: PropType<
|
|
400
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
401
401
|
strategy?: Strategy;
|
|
402
402
|
}>;
|
|
403
403
|
default: () => {};
|
|
@@ -417,7 +417,90 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
417
417
|
color: ProgressColor;
|
|
418
418
|
animation: ProgressAnimation;
|
|
419
419
|
};
|
|
420
|
-
ui: {
|
|
420
|
+
ui: {
|
|
421
|
+
wrapper?: string;
|
|
422
|
+
base?: string;
|
|
423
|
+
divide?: string;
|
|
424
|
+
thead?: string;
|
|
425
|
+
tbody?: string;
|
|
426
|
+
caption?: string;
|
|
427
|
+
tr?: DeepPartial<{
|
|
428
|
+
base: string;
|
|
429
|
+
selected: string;
|
|
430
|
+
active: string;
|
|
431
|
+
}, any>;
|
|
432
|
+
th?: DeepPartial<{
|
|
433
|
+
base: string;
|
|
434
|
+
padding: string;
|
|
435
|
+
color: string;
|
|
436
|
+
font: string;
|
|
437
|
+
size: string;
|
|
438
|
+
}, any>;
|
|
439
|
+
td?: DeepPartial<{
|
|
440
|
+
base: string;
|
|
441
|
+
padding: string;
|
|
442
|
+
color: string;
|
|
443
|
+
font: string;
|
|
444
|
+
size: string;
|
|
445
|
+
}, any>;
|
|
446
|
+
checkbox?: DeepPartial<{
|
|
447
|
+
padding: string;
|
|
448
|
+
}, any>;
|
|
449
|
+
loadingState?: DeepPartial<{
|
|
450
|
+
wrapper: string;
|
|
451
|
+
label: string;
|
|
452
|
+
icon: string;
|
|
453
|
+
}, any>;
|
|
454
|
+
emptyState?: DeepPartial<{
|
|
455
|
+
wrapper: string;
|
|
456
|
+
label: string;
|
|
457
|
+
icon: string;
|
|
458
|
+
}, any>;
|
|
459
|
+
expand?: DeepPartial<{
|
|
460
|
+
icon: string;
|
|
461
|
+
}, any>;
|
|
462
|
+
progress?: DeepPartial<{
|
|
463
|
+
wrapper: string;
|
|
464
|
+
}, any>;
|
|
465
|
+
default?: DeepPartial<{
|
|
466
|
+
sortAscIcon: string;
|
|
467
|
+
sortDescIcon: string;
|
|
468
|
+
sortButton: {
|
|
469
|
+
icon: string;
|
|
470
|
+
trailing: boolean;
|
|
471
|
+
square: boolean;
|
|
472
|
+
color: "gray";
|
|
473
|
+
variant: "ghost";
|
|
474
|
+
class: string;
|
|
475
|
+
};
|
|
476
|
+
expandButton: {
|
|
477
|
+
icon: string;
|
|
478
|
+
color: "gray";
|
|
479
|
+
variant: "ghost";
|
|
480
|
+
size: "xs";
|
|
481
|
+
class: string;
|
|
482
|
+
};
|
|
483
|
+
checkbox: {
|
|
484
|
+
color: "primary";
|
|
485
|
+
};
|
|
486
|
+
progress: {
|
|
487
|
+
color: "primary";
|
|
488
|
+
animation: "carousel";
|
|
489
|
+
};
|
|
490
|
+
loadingState: {
|
|
491
|
+
icon: string;
|
|
492
|
+
label: string;
|
|
493
|
+
};
|
|
494
|
+
emptyState: {
|
|
495
|
+
icon: string;
|
|
496
|
+
label: string;
|
|
497
|
+
};
|
|
498
|
+
}, any>;
|
|
499
|
+
} & {
|
|
500
|
+
[key: string]: any;
|
|
501
|
+
} & {
|
|
502
|
+
strategy?: Strategy;
|
|
503
|
+
};
|
|
421
504
|
modelValue: unknown[];
|
|
422
505
|
loading: boolean;
|
|
423
506
|
loadingState: {
|
|
@@ -561,7 +644,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
561
644
|
default: () => "";
|
|
562
645
|
};
|
|
563
646
|
ui: {
|
|
564
|
-
type: PropType<
|
|
647
|
+
type: PropType<DeepPartial<{
|
|
565
648
|
base: string;
|
|
566
649
|
font: string;
|
|
567
650
|
rounded: string;
|
|
@@ -880,7 +963,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
880
963
|
default: () => "";
|
|
881
964
|
};
|
|
882
965
|
ui: {
|
|
883
|
-
type: PropType<
|
|
966
|
+
type: PropType<DeepPartial<{
|
|
884
967
|
base: string;
|
|
885
968
|
font: string;
|
|
886
969
|
rounded: string;
|
|
@@ -1033,7 +1116,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1033
1116
|
type: string;
|
|
1034
1117
|
size: import("../../types/button").ButtonSize;
|
|
1035
1118
|
class: any;
|
|
1036
|
-
to:
|
|
1119
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1037
1120
|
disabled: boolean;
|
|
1038
1121
|
truncate: boolean;
|
|
1039
1122
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
@@ -1049,10 +1132,93 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1049
1132
|
leading: boolean;
|
|
1050
1133
|
color: import("../../types/button").ButtonColor;
|
|
1051
1134
|
variant: import("../../types/button").ButtonVariant;
|
|
1052
|
-
href:
|
|
1135
|
+
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1053
1136
|
rel: any;
|
|
1054
1137
|
label: string;
|
|
1055
|
-
ui: {
|
|
1138
|
+
ui: {
|
|
1139
|
+
base?: string;
|
|
1140
|
+
font?: string;
|
|
1141
|
+
rounded?: string;
|
|
1142
|
+
truncate?: string;
|
|
1143
|
+
block?: string;
|
|
1144
|
+
inline?: string;
|
|
1145
|
+
size?: DeepPartial<{
|
|
1146
|
+
'2xs': string;
|
|
1147
|
+
xs: string;
|
|
1148
|
+
sm: string;
|
|
1149
|
+
md: string;
|
|
1150
|
+
lg: string;
|
|
1151
|
+
xl: string;
|
|
1152
|
+
}, any>;
|
|
1153
|
+
gap?: DeepPartial<{
|
|
1154
|
+
'2xs': string;
|
|
1155
|
+
xs: string;
|
|
1156
|
+
sm: string;
|
|
1157
|
+
md: string;
|
|
1158
|
+
lg: string;
|
|
1159
|
+
xl: string;
|
|
1160
|
+
}, any>;
|
|
1161
|
+
padding?: DeepPartial<{
|
|
1162
|
+
'2xs': string;
|
|
1163
|
+
xs: string;
|
|
1164
|
+
sm: string;
|
|
1165
|
+
md: string;
|
|
1166
|
+
lg: string;
|
|
1167
|
+
xl: string;
|
|
1168
|
+
}, any>;
|
|
1169
|
+
square?: DeepPartial<{
|
|
1170
|
+
'2xs': string;
|
|
1171
|
+
xs: string;
|
|
1172
|
+
sm: string;
|
|
1173
|
+
md: string;
|
|
1174
|
+
lg: string;
|
|
1175
|
+
xl: string;
|
|
1176
|
+
}, any>;
|
|
1177
|
+
color?: DeepPartial<{
|
|
1178
|
+
white: {
|
|
1179
|
+
solid: string;
|
|
1180
|
+
ghost: string;
|
|
1181
|
+
};
|
|
1182
|
+
gray: {
|
|
1183
|
+
solid: string;
|
|
1184
|
+
ghost: string;
|
|
1185
|
+
link: string;
|
|
1186
|
+
};
|
|
1187
|
+
black: {
|
|
1188
|
+
solid: string;
|
|
1189
|
+
link: string;
|
|
1190
|
+
};
|
|
1191
|
+
}, any>;
|
|
1192
|
+
variant?: DeepPartial<{
|
|
1193
|
+
solid: string;
|
|
1194
|
+
outline: string;
|
|
1195
|
+
soft: string;
|
|
1196
|
+
ghost: string;
|
|
1197
|
+
link: string;
|
|
1198
|
+
}, any>;
|
|
1199
|
+
icon?: DeepPartial<{
|
|
1200
|
+
base: string;
|
|
1201
|
+
loading: string;
|
|
1202
|
+
size: {
|
|
1203
|
+
'2xs': string;
|
|
1204
|
+
xs: string;
|
|
1205
|
+
sm: string;
|
|
1206
|
+
md: string;
|
|
1207
|
+
lg: string;
|
|
1208
|
+
xl: string;
|
|
1209
|
+
};
|
|
1210
|
+
}, any>;
|
|
1211
|
+
default?: DeepPartial<{
|
|
1212
|
+
size: string;
|
|
1213
|
+
variant: string;
|
|
1214
|
+
color: string;
|
|
1215
|
+
loadingIcon: string;
|
|
1216
|
+
}, any>;
|
|
1217
|
+
} & {
|
|
1218
|
+
[key: string]: any;
|
|
1219
|
+
} & {
|
|
1220
|
+
strategy?: Strategy;
|
|
1221
|
+
};
|
|
1056
1222
|
icon: string;
|
|
1057
1223
|
block: boolean;
|
|
1058
1224
|
square: boolean;
|
|
@@ -1311,7 +1477,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1311
1477
|
};
|
|
1312
1478
|
}>> & Readonly<{}>, {
|
|
1313
1479
|
type: string;
|
|
1314
|
-
to:
|
|
1480
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1315
1481
|
disabled: boolean;
|
|
1316
1482
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1317
1483
|
activeClass: string;
|
|
@@ -1329,7 +1495,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1329
1495
|
exactQuery: boolean;
|
|
1330
1496
|
exactHash: boolean;
|
|
1331
1497
|
inactiveClass: string;
|
|
1332
|
-
href:
|
|
1498
|
+
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1333
1499
|
rel: any;
|
|
1334
1500
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1335
1501
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1381,7 +1547,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1381
1547
|
default: () => "";
|
|
1382
1548
|
};
|
|
1383
1549
|
ui: {
|
|
1384
|
-
type: PropType<
|
|
1550
|
+
type: PropType<DeepPartial<{
|
|
1385
1551
|
wrapper: string;
|
|
1386
1552
|
indicator: {
|
|
1387
1553
|
container: {
|
|
@@ -1594,7 +1760,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1594
1760
|
default: () => "";
|
|
1595
1761
|
};
|
|
1596
1762
|
ui: {
|
|
1597
|
-
type: PropType<
|
|
1763
|
+
type: PropType<DeepPartial<{
|
|
1598
1764
|
wrapper: string;
|
|
1599
1765
|
indicator: {
|
|
1600
1766
|
container: {
|
|
@@ -1678,7 +1844,84 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1678
1844
|
max: number | any[];
|
|
1679
1845
|
animation: "carousel" | "carousel-inverse" | "swing" | "elastic";
|
|
1680
1846
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
1681
|
-
ui: {
|
|
1847
|
+
ui: {
|
|
1848
|
+
wrapper?: string;
|
|
1849
|
+
indicator?: DeepPartial<{
|
|
1850
|
+
container: {
|
|
1851
|
+
base: string;
|
|
1852
|
+
width: string;
|
|
1853
|
+
transition: string;
|
|
1854
|
+
};
|
|
1855
|
+
align: string;
|
|
1856
|
+
width: string;
|
|
1857
|
+
color: string;
|
|
1858
|
+
size: {
|
|
1859
|
+
'2xs': string;
|
|
1860
|
+
xs: string;
|
|
1861
|
+
sm: string;
|
|
1862
|
+
md: string;
|
|
1863
|
+
lg: string;
|
|
1864
|
+
xl: string;
|
|
1865
|
+
'2xl': string;
|
|
1866
|
+
};
|
|
1867
|
+
}, any>;
|
|
1868
|
+
progress?: DeepPartial<{
|
|
1869
|
+
base: string;
|
|
1870
|
+
width: string;
|
|
1871
|
+
size: {
|
|
1872
|
+
'2xs': string;
|
|
1873
|
+
xs: string;
|
|
1874
|
+
sm: string;
|
|
1875
|
+
md: string;
|
|
1876
|
+
lg: string;
|
|
1877
|
+
xl: string;
|
|
1878
|
+
'2xl': string;
|
|
1879
|
+
};
|
|
1880
|
+
rounded: string;
|
|
1881
|
+
track: string;
|
|
1882
|
+
bar: string;
|
|
1883
|
+
color: string;
|
|
1884
|
+
background: string;
|
|
1885
|
+
indeterminate: {
|
|
1886
|
+
base: string;
|
|
1887
|
+
rounded: string;
|
|
1888
|
+
};
|
|
1889
|
+
}, any>;
|
|
1890
|
+
steps?: DeepPartial<{
|
|
1891
|
+
base: string;
|
|
1892
|
+
color: string;
|
|
1893
|
+
size: {
|
|
1894
|
+
'2xs': string;
|
|
1895
|
+
xs: string;
|
|
1896
|
+
sm: string;
|
|
1897
|
+
md: string;
|
|
1898
|
+
lg: string;
|
|
1899
|
+
xl: string;
|
|
1900
|
+
'2xl': string;
|
|
1901
|
+
};
|
|
1902
|
+
}, any>;
|
|
1903
|
+
step?: DeepPartial<{
|
|
1904
|
+
base: string;
|
|
1905
|
+
align: string;
|
|
1906
|
+
active: string;
|
|
1907
|
+
first: string;
|
|
1908
|
+
}, any>;
|
|
1909
|
+
animation?: DeepPartial<{
|
|
1910
|
+
carousel: string;
|
|
1911
|
+
'carousel-inverse': string;
|
|
1912
|
+
swing: string;
|
|
1913
|
+
elastic: string;
|
|
1914
|
+
}, any>;
|
|
1915
|
+
default?: DeepPartial<{
|
|
1916
|
+
color: string;
|
|
1917
|
+
size: string;
|
|
1918
|
+
animation: string;
|
|
1919
|
+
}, any>;
|
|
1920
|
+
} & {
|
|
1921
|
+
[key: string]: any;
|
|
1922
|
+
} & {
|
|
1923
|
+
strategy?: Strategy;
|
|
1924
|
+
};
|
|
1682
1925
|
value: number;
|
|
1683
1926
|
indicator: boolean;
|
|
1684
1927
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1733,7 +1976,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1733
1976
|
default: () => "";
|
|
1734
1977
|
};
|
|
1735
1978
|
ui: {
|
|
1736
|
-
type: PropType<
|
|
1979
|
+
type: PropType<DeepPartial<{
|
|
1737
1980
|
wrapper: string;
|
|
1738
1981
|
container: string;
|
|
1739
1982
|
base: string;
|
|
@@ -1833,7 +2076,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1833
2076
|
default: () => "";
|
|
1834
2077
|
};
|
|
1835
2078
|
ui: {
|
|
1836
|
-
type: PropType<
|
|
2079
|
+
type: PropType<DeepPartial<{
|
|
1837
2080
|
wrapper: string;
|
|
1838
2081
|
container: string;
|
|
1839
2082
|
base: string;
|
|
@@ -1865,7 +2108,28 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1865
2108
|
disabled: boolean;
|
|
1866
2109
|
color: "primary" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
1867
2110
|
label: string;
|
|
1868
|
-
ui: {
|
|
2111
|
+
ui: {
|
|
2112
|
+
wrapper?: string;
|
|
2113
|
+
container?: string;
|
|
2114
|
+
base?: string;
|
|
2115
|
+
form?: string;
|
|
2116
|
+
rounded?: string;
|
|
2117
|
+
color?: string;
|
|
2118
|
+
background?: string;
|
|
2119
|
+
border?: string;
|
|
2120
|
+
ring?: string;
|
|
2121
|
+
inner?: string;
|
|
2122
|
+
label?: string;
|
|
2123
|
+
required?: string;
|
|
2124
|
+
help?: string;
|
|
2125
|
+
default?: DeepPartial<{
|
|
2126
|
+
color: string;
|
|
2127
|
+
}, any>;
|
|
2128
|
+
} & {
|
|
2129
|
+
[key: string]: any;
|
|
2130
|
+
} & {
|
|
2131
|
+
strategy?: Strategy;
|
|
2132
|
+
};
|
|
1869
2133
|
id: string;
|
|
1870
2134
|
modelValue: boolean | unknown[];
|
|
1871
2135
|
value: string | number | boolean | Record<string, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { AccordionItem, Strategy } from '../../types/index.js';
|
|
2
|
+
import type { AccordionItem, DeepPartial, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
container: string;
|
|
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
52
52
|
default: () => string;
|
|
53
53
|
};
|
|
54
54
|
ui: {
|
|
55
|
-
type: PropType<
|
|
55
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
56
56
|
strategy?: Strategy;
|
|
57
57
|
}>;
|
|
58
58
|
default: () => {};
|
|
@@ -209,7 +209,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
209
209
|
default: () => string;
|
|
210
210
|
};
|
|
211
211
|
ui: {
|
|
212
|
-
type: PropType<
|
|
212
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
213
213
|
strategy?: Strategy;
|
|
214
214
|
}>;
|
|
215
215
|
default: () => {};
|
|
@@ -218,7 +218,32 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
218
218
|
onOpen?: (...args: any[]) => any;
|
|
219
219
|
}>, {
|
|
220
220
|
class: any;
|
|
221
|
-
ui: {
|
|
221
|
+
ui: {
|
|
222
|
+
wrapper?: string;
|
|
223
|
+
container?: string;
|
|
224
|
+
item?: DeepPartial<{
|
|
225
|
+
base: string;
|
|
226
|
+
size: string;
|
|
227
|
+
color: string;
|
|
228
|
+
padding: string;
|
|
229
|
+
icon: string;
|
|
230
|
+
}, any>;
|
|
231
|
+
transition?: DeepPartial<{
|
|
232
|
+
enterActiveClass: string;
|
|
233
|
+
leaveActiveClass: string;
|
|
234
|
+
}, any>;
|
|
235
|
+
default?: DeepPartial<{
|
|
236
|
+
openIcon: string;
|
|
237
|
+
closeIcon: string;
|
|
238
|
+
class: string;
|
|
239
|
+
variant: "soft";
|
|
240
|
+
truncate: boolean;
|
|
241
|
+
}, any>;
|
|
242
|
+
} & {
|
|
243
|
+
[key: string]: any;
|
|
244
|
+
} & {
|
|
245
|
+
strategy?: Strategy;
|
|
246
|
+
};
|
|
222
247
|
defaultOpen: boolean;
|
|
223
248
|
unmount: boolean;
|
|
224
249
|
items: AccordionItem[];
|
|
@@ -453,7 +478,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
453
478
|
default: () => "";
|
|
454
479
|
};
|
|
455
480
|
ui: {
|
|
456
|
-
type: PropType<
|
|
481
|
+
type: PropType<DeepPartial<{
|
|
457
482
|
base: string;
|
|
458
483
|
font: string;
|
|
459
484
|
rounded: string;
|
|
@@ -772,7 +797,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
772
797
|
default: () => "";
|
|
773
798
|
};
|
|
774
799
|
ui: {
|
|
775
|
-
type: PropType<
|
|
800
|
+
type: PropType<DeepPartial<{
|
|
776
801
|
base: string;
|
|
777
802
|
font: string;
|
|
778
803
|
rounded: string;
|
|
@@ -925,7 +950,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
925
950
|
type: string;
|
|
926
951
|
size: import("../../types/button").ButtonSize;
|
|
927
952
|
class: any;
|
|
928
|
-
to:
|
|
953
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
929
954
|
disabled: boolean;
|
|
930
955
|
truncate: boolean;
|
|
931
956
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
@@ -941,10 +966,93 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
941
966
|
leading: boolean;
|
|
942
967
|
color: import("../../types/button").ButtonColor;
|
|
943
968
|
variant: import("../../types/button").ButtonVariant;
|
|
944
|
-
href:
|
|
969
|
+
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
945
970
|
rel: any;
|
|
946
971
|
label: string;
|
|
947
|
-
ui: {
|
|
972
|
+
ui: {
|
|
973
|
+
base?: string;
|
|
974
|
+
font?: string;
|
|
975
|
+
rounded?: string;
|
|
976
|
+
truncate?: string;
|
|
977
|
+
block?: string;
|
|
978
|
+
inline?: string;
|
|
979
|
+
size?: DeepPartial<{
|
|
980
|
+
'2xs': string;
|
|
981
|
+
xs: string;
|
|
982
|
+
sm: string;
|
|
983
|
+
md: string;
|
|
984
|
+
lg: string;
|
|
985
|
+
xl: string;
|
|
986
|
+
}, any>;
|
|
987
|
+
gap?: DeepPartial<{
|
|
988
|
+
'2xs': string;
|
|
989
|
+
xs: string;
|
|
990
|
+
sm: string;
|
|
991
|
+
md: string;
|
|
992
|
+
lg: string;
|
|
993
|
+
xl: string;
|
|
994
|
+
}, any>;
|
|
995
|
+
padding?: DeepPartial<{
|
|
996
|
+
'2xs': string;
|
|
997
|
+
xs: string;
|
|
998
|
+
sm: string;
|
|
999
|
+
md: string;
|
|
1000
|
+
lg: string;
|
|
1001
|
+
xl: string;
|
|
1002
|
+
}, any>;
|
|
1003
|
+
square?: DeepPartial<{
|
|
1004
|
+
'2xs': string;
|
|
1005
|
+
xs: string;
|
|
1006
|
+
sm: string;
|
|
1007
|
+
md: string;
|
|
1008
|
+
lg: string;
|
|
1009
|
+
xl: string;
|
|
1010
|
+
}, any>;
|
|
1011
|
+
color?: DeepPartial<{
|
|
1012
|
+
white: {
|
|
1013
|
+
solid: string;
|
|
1014
|
+
ghost: string;
|
|
1015
|
+
};
|
|
1016
|
+
gray: {
|
|
1017
|
+
solid: string;
|
|
1018
|
+
ghost: string;
|
|
1019
|
+
link: string;
|
|
1020
|
+
};
|
|
1021
|
+
black: {
|
|
1022
|
+
solid: string;
|
|
1023
|
+
link: string;
|
|
1024
|
+
};
|
|
1025
|
+
}, any>;
|
|
1026
|
+
variant?: DeepPartial<{
|
|
1027
|
+
solid: string;
|
|
1028
|
+
outline: string;
|
|
1029
|
+
soft: string;
|
|
1030
|
+
ghost: string;
|
|
1031
|
+
link: string;
|
|
1032
|
+
}, any>;
|
|
1033
|
+
icon?: DeepPartial<{
|
|
1034
|
+
base: string;
|
|
1035
|
+
loading: string;
|
|
1036
|
+
size: {
|
|
1037
|
+
'2xs': string;
|
|
1038
|
+
xs: string;
|
|
1039
|
+
sm: string;
|
|
1040
|
+
md: string;
|
|
1041
|
+
lg: string;
|
|
1042
|
+
xl: string;
|
|
1043
|
+
};
|
|
1044
|
+
}, any>;
|
|
1045
|
+
default?: DeepPartial<{
|
|
1046
|
+
size: string;
|
|
1047
|
+
variant: string;
|
|
1048
|
+
color: string;
|
|
1049
|
+
loadingIcon: string;
|
|
1050
|
+
}, any>;
|
|
1051
|
+
} & {
|
|
1052
|
+
[key: string]: any;
|
|
1053
|
+
} & {
|
|
1054
|
+
strategy?: Strategy;
|
|
1055
|
+
};
|
|
948
1056
|
icon: string;
|
|
949
1057
|
block: boolean;
|
|
950
1058
|
square: boolean;
|
|
@@ -1203,7 +1311,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1203
1311
|
};
|
|
1204
1312
|
}>> & Readonly<{}>, {
|
|
1205
1313
|
type: string;
|
|
1206
|
-
to:
|
|
1314
|
+
to: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1207
1315
|
disabled: boolean;
|
|
1208
1316
|
target: "_blank" | "_parent" | "_self" | "_top" | (string & {});
|
|
1209
1317
|
activeClass: string;
|
|
@@ -1221,7 +1329,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1221
1329
|
exactQuery: boolean;
|
|
1222
1330
|
exactHash: boolean;
|
|
1223
1331
|
inactiveClass: string;
|
|
1224
|
-
href:
|
|
1332
|
+
href: string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric;
|
|
1225
1333
|
rel: any;
|
|
1226
1334
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1227
1335
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|