@rocketui/vue 0.2.37 → 0.2.39-alpha.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/dist/rocket-ui-vue.d.ts +53 -17
- package/dist/rocket-ui-vue.js +465 -454
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/rocket-ui-vue.d.ts
CHANGED
|
@@ -1446,12 +1446,50 @@ declare interface Option_2 {
|
|
|
1446
1446
|
}
|
|
1447
1447
|
|
|
1448
1448
|
declare interface PaginationProps {
|
|
1449
|
+
/**
|
|
1450
|
+
* @default 1
|
|
1451
|
+
* The current page number.
|
|
1452
|
+
* @type number
|
|
1453
|
+
*/
|
|
1449
1454
|
page: number;
|
|
1455
|
+
/**
|
|
1456
|
+
* @default 10
|
|
1457
|
+
* The number of items per page.
|
|
1458
|
+
* @type number
|
|
1459
|
+
*/
|
|
1450
1460
|
perPage: number;
|
|
1461
|
+
/**
|
|
1462
|
+
* @default 100
|
|
1463
|
+
* The total number of items.
|
|
1464
|
+
* @type number
|
|
1465
|
+
*/
|
|
1451
1466
|
totalItems: number;
|
|
1467
|
+
/**
|
|
1468
|
+
* @default [10, 20, 50, 100]
|
|
1469
|
+
* The options to display in the per page dropdown.
|
|
1470
|
+
* @type number[]
|
|
1471
|
+
*/
|
|
1452
1472
|
perPageOptions?: number[];
|
|
1473
|
+
/**
|
|
1474
|
+
* @default 'Items per page:'
|
|
1475
|
+
* The text to display for the items per page label.
|
|
1476
|
+
*/
|
|
1453
1477
|
itemsPerPageText?: string;
|
|
1478
|
+
/**
|
|
1479
|
+
* @default 'right'
|
|
1480
|
+
* The position of the pagination component.
|
|
1481
|
+
* @type 'left' | 'center' | 'right' | string
|
|
1482
|
+
*/
|
|
1454
1483
|
position?: 'left' | 'center' | 'right' | string;
|
|
1484
|
+
/**
|
|
1485
|
+
* @default '1-10 of 100'
|
|
1486
|
+
* The text to display for the info section.
|
|
1487
|
+
* The text can contain the following placeholders:
|
|
1488
|
+
* - `{{ start }}` - The start index of the current page.
|
|
1489
|
+
* - `{{ end }}` - The end index of the current page.
|
|
1490
|
+
* - `{{ total }}` - The total number of items.
|
|
1491
|
+
* @type string
|
|
1492
|
+
*/
|
|
1455
1493
|
infoText?: string;
|
|
1456
1494
|
}
|
|
1457
1495
|
|
|
@@ -2012,9 +2050,9 @@ export declare const RAlert: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_Wit
|
|
|
2012
2050
|
}>>> & {
|
|
2013
2051
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
2014
2052
|
}, {
|
|
2015
|
-
type: "success" | "
|
|
2053
|
+
type: "success" | "error" | "warning" | "info";
|
|
2016
2054
|
title: string;
|
|
2017
|
-
variant: "
|
|
2055
|
+
variant: "ghost" | "solid" | "outline";
|
|
2018
2056
|
block: boolean;
|
|
2019
2057
|
description: string;
|
|
2020
2058
|
closable: boolean;
|
|
@@ -2045,9 +2083,9 @@ export declare const RAvatar: DefineComponent<__VLS_WithDefaults_2<__VLS_TypePro
|
|
|
2045
2083
|
size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
2046
2084
|
type: "image" | "text";
|
|
2047
2085
|
text: string;
|
|
2048
|
-
online: boolean;
|
|
2049
2086
|
src: string;
|
|
2050
2087
|
alt: string;
|
|
2088
|
+
online: boolean;
|
|
2051
2089
|
}, {}>;
|
|
2052
2090
|
|
|
2053
2091
|
export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_4<BadgeProps>, {
|
|
@@ -2078,7 +2116,7 @@ export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_Wit
|
|
|
2078
2116
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
2079
2117
|
}, {
|
|
2080
2118
|
class: string | string[];
|
|
2081
|
-
variant: "primary" | "success" | "
|
|
2119
|
+
variant: "primary" | "success" | "error" | "warning" | "neutral";
|
|
2082
2120
|
hover: boolean;
|
|
2083
2121
|
placement: "bottom" | "left" | "right";
|
|
2084
2122
|
content: string;
|
|
@@ -2139,12 +2177,12 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_Wi
|
|
|
2139
2177
|
height: string;
|
|
2140
2178
|
size: ButtonSize;
|
|
2141
2179
|
variant: ButtonType;
|
|
2142
|
-
loading: boolean;
|
|
2143
2180
|
disabled: boolean;
|
|
2144
2181
|
prependIcon: string;
|
|
2145
2182
|
appendIcon: string;
|
|
2146
|
-
icon: boolean;
|
|
2147
2183
|
block: boolean;
|
|
2184
|
+
loading: boolean;
|
|
2185
|
+
icon: boolean;
|
|
2148
2186
|
}, {}>, {
|
|
2149
2187
|
prepend?(_: {
|
|
2150
2188
|
onlyIcon: boolean;
|
|
@@ -2213,7 +2251,7 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_With
|
|
|
2213
2251
|
"onClick:close"?: ((...args: any[]) => any) | undefined;
|
|
2214
2252
|
}, {
|
|
2215
2253
|
label: string | number;
|
|
2216
|
-
variant: "primary" | "secondary" | "success" | "
|
|
2254
|
+
variant: "primary" | "secondary" | "success" | "error" | "warning" | "info";
|
|
2217
2255
|
disabled: boolean;
|
|
2218
2256
|
prependIcon: string;
|
|
2219
2257
|
appendIcon: string;
|
|
@@ -2282,18 +2320,18 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2282
2320
|
}>>> & {
|
|
2283
2321
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2284
2322
|
}, {
|
|
2285
|
-
loading: boolean;
|
|
2286
2323
|
disabled: boolean;
|
|
2287
2324
|
prependIcon: string;
|
|
2288
2325
|
appendIcon: string;
|
|
2326
|
+
clearable: boolean;
|
|
2289
2327
|
options: any;
|
|
2290
2328
|
tooltipClass: string;
|
|
2291
2329
|
id: string;
|
|
2292
2330
|
modelValue: any;
|
|
2293
|
-
clearable: boolean;
|
|
2294
2331
|
placeholder: string;
|
|
2295
2332
|
chips: boolean;
|
|
2296
2333
|
multiple: boolean;
|
|
2334
|
+
loading: boolean;
|
|
2297
2335
|
searchable: boolean;
|
|
2298
2336
|
closeOnSelect: boolean;
|
|
2299
2337
|
dropdownClass: string;
|
|
@@ -2425,10 +2463,10 @@ export declare const RItemGroup: __VLS_WithTemplateSlots_17<DefineComponent<__VL
|
|
|
2425
2463
|
}, {
|
|
2426
2464
|
disabled: boolean;
|
|
2427
2465
|
modelValue: string[] | number[];
|
|
2428
|
-
max: number;
|
|
2429
2466
|
as: string;
|
|
2430
2467
|
selectedClass: string | string[];
|
|
2431
2468
|
mandatory: boolean;
|
|
2469
|
+
max: number;
|
|
2432
2470
|
}, {}>, {
|
|
2433
2471
|
default?(_: {
|
|
2434
2472
|
isSelected: typeof isSelected;
|
|
@@ -2489,11 +2527,11 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_Wit
|
|
|
2489
2527
|
style: string;
|
|
2490
2528
|
title: string;
|
|
2491
2529
|
class: string | string[];
|
|
2492
|
-
icon: string;
|
|
2493
|
-
block: boolean;
|
|
2494
2530
|
outsideClick: boolean;
|
|
2531
|
+
block: boolean;
|
|
2495
2532
|
modelValue: boolean;
|
|
2496
2533
|
description: string;
|
|
2534
|
+
icon: string;
|
|
2497
2535
|
overlayClass: string | string[];
|
|
2498
2536
|
allowBodyScroll: boolean;
|
|
2499
2537
|
}, {}>, {
|
|
@@ -2654,7 +2692,6 @@ export declare const RTabItem: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_
|
|
|
2654
2692
|
color: string;
|
|
2655
2693
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2656
2694
|
"update:modelValue": (...args: any[]) => void;
|
|
2657
|
-
"click:icon": (...args: any[]) => void;
|
|
2658
2695
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<IProps_4>, {
|
|
2659
2696
|
label: string;
|
|
2660
2697
|
variant: TabItemVariants;
|
|
@@ -2667,16 +2704,15 @@ export declare const RTabItem: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_
|
|
|
2667
2704
|
color: string;
|
|
2668
2705
|
}>>> & {
|
|
2669
2706
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2670
|
-
"onClick:icon"?: ((...args: any[]) => any) | undefined;
|
|
2671
2707
|
}, {
|
|
2672
2708
|
label: string;
|
|
2673
2709
|
variant: TabItemVariant;
|
|
2674
|
-
color: string;
|
|
2675
2710
|
disabled: boolean;
|
|
2676
2711
|
prependIcon: string;
|
|
2677
2712
|
appendIcon: string;
|
|
2678
2713
|
block: boolean;
|
|
2679
2714
|
modelValue: string | number;
|
|
2715
|
+
color: string;
|
|
2680
2716
|
tile: boolean;
|
|
2681
2717
|
}, {}>, {
|
|
2682
2718
|
prepend?(_: {
|
|
@@ -2801,15 +2837,15 @@ export declare const RTextfield: __VLS_WithTemplateSlots_13<DefineComponent<__VL
|
|
|
2801
2837
|
}, {
|
|
2802
2838
|
type: "number" | "text" | "email" | "password" | "tel" | "url";
|
|
2803
2839
|
label: string;
|
|
2804
|
-
loading: boolean;
|
|
2805
2840
|
disabled: boolean;
|
|
2806
2841
|
prependIcon: string;
|
|
2807
2842
|
appendIcon: string;
|
|
2843
|
+
clearable: boolean;
|
|
2808
2844
|
id: string | undefined;
|
|
2809
2845
|
role: string;
|
|
2810
2846
|
modelValue: any;
|
|
2811
|
-
clearable: boolean;
|
|
2812
2847
|
placeholder: string;
|
|
2848
|
+
loading: boolean;
|
|
2813
2849
|
errorMsg: string;
|
|
2814
2850
|
hint: string;
|
|
2815
2851
|
hideDetails: boolean;
|