@rocketui/vue 0.2.38 → 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 +75 -37
- package/dist/rocket-ui-vue.js +419 -416
- 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
|
|
|
@@ -2014,7 +2052,7 @@ export declare const RAlert: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_Wit
|
|
|
2014
2052
|
}, {
|
|
2015
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;
|
|
@@ -2078,11 +2116,11 @@ 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: "
|
|
2119
|
+
variant: "primary" | "success" | "error" | "warning" | "neutral";
|
|
2120
|
+
hover: boolean;
|
|
2121
|
+
placement: "bottom" | "left" | "right";
|
|
2082
2122
|
content: string;
|
|
2083
|
-
placement: "right" | "bottom" | "left";
|
|
2084
2123
|
overlap: boolean;
|
|
2085
|
-
hover: boolean;
|
|
2086
2124
|
outside: boolean;
|
|
2087
2125
|
animation: boolean;
|
|
2088
2126
|
contentClass: string | string[];
|
|
@@ -2138,13 +2176,13 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_Wi
|
|
|
2138
2176
|
}, {
|
|
2139
2177
|
height: string;
|
|
2140
2178
|
size: ButtonSize;
|
|
2141
|
-
icon: boolean;
|
|
2142
2179
|
variant: ButtonType;
|
|
2180
|
+
disabled: boolean;
|
|
2143
2181
|
prependIcon: string;
|
|
2144
2182
|
appendIcon: string;
|
|
2145
|
-
disabled: boolean;
|
|
2146
2183
|
block: boolean;
|
|
2147
2184
|
loading: boolean;
|
|
2185
|
+
icon: boolean;
|
|
2148
2186
|
}, {}>, {
|
|
2149
2187
|
prepend?(_: {
|
|
2150
2188
|
onlyIcon: boolean;
|
|
@@ -2179,12 +2217,12 @@ export declare const RCheckbox: DefineComponent<__VLS_WithDefaults_5<__VLS_TypeP
|
|
|
2179
2217
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2180
2218
|
}, {
|
|
2181
2219
|
label: string;
|
|
2182
|
-
id: string | undefined;
|
|
2183
2220
|
disabled: boolean | "true" | "false";
|
|
2221
|
+
id: string | undefined;
|
|
2184
2222
|
modelValue: any[] | Set<any> | (boolean | "true" | "false");
|
|
2185
|
-
indeterminate: boolean;
|
|
2186
|
-
hint: string;
|
|
2187
2223
|
errorMsg: string;
|
|
2224
|
+
hint: string;
|
|
2225
|
+
indeterminate: boolean;
|
|
2188
2226
|
}, {}>;
|
|
2189
2227
|
|
|
2190
2228
|
export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_7<Props_4>, {
|
|
@@ -2213,10 +2251,10 @@ 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: "
|
|
2254
|
+
variant: "primary" | "secondary" | "success" | "error" | "warning" | "info";
|
|
2255
|
+
disabled: boolean;
|
|
2217
2256
|
prependIcon: string;
|
|
2218
2257
|
appendIcon: string;
|
|
2219
|
-
disabled: boolean;
|
|
2220
2258
|
ghost: boolean;
|
|
2221
2259
|
clearable: boolean;
|
|
2222
2260
|
noWrap: boolean;
|
|
@@ -2282,24 +2320,24 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2282
2320
|
}>>> & {
|
|
2283
2321
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2284
2322
|
}, {
|
|
2285
|
-
|
|
2323
|
+
disabled: boolean;
|
|
2286
2324
|
prependIcon: string;
|
|
2287
2325
|
appendIcon: string;
|
|
2288
|
-
disabled: boolean;
|
|
2289
|
-
modelValue: any;
|
|
2290
|
-
loading: boolean;
|
|
2291
|
-
errorMsg: string;
|
|
2292
|
-
hideDetails: boolean;
|
|
2293
2326
|
clearable: boolean;
|
|
2294
2327
|
options: any;
|
|
2295
2328
|
tooltipClass: string;
|
|
2329
|
+
id: string;
|
|
2330
|
+
modelValue: any;
|
|
2296
2331
|
placeholder: string;
|
|
2297
2332
|
chips: boolean;
|
|
2298
2333
|
multiple: boolean;
|
|
2334
|
+
loading: boolean;
|
|
2299
2335
|
searchable: boolean;
|
|
2300
2336
|
closeOnSelect: boolean;
|
|
2301
2337
|
dropdownClass: string;
|
|
2302
2338
|
optionsClass: string;
|
|
2339
|
+
errorMsg: string;
|
|
2340
|
+
hideDetails: boolean;
|
|
2303
2341
|
autocomplete: "on" | "off";
|
|
2304
2342
|
noOptionsText: string;
|
|
2305
2343
|
hideOptionCheckIcon: boolean;
|
|
@@ -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
|
-
|
|
2493
|
-
modelValue: boolean;
|
|
2530
|
+
outsideClick: boolean;
|
|
2494
2531
|
block: boolean;
|
|
2532
|
+
modelValue: boolean;
|
|
2495
2533
|
description: string;
|
|
2496
|
-
|
|
2534
|
+
icon: string;
|
|
2497
2535
|
overlayClass: string | string[];
|
|
2498
2536
|
allowBodyScroll: boolean;
|
|
2499
2537
|
}, {}>, {
|
|
@@ -2602,9 +2640,9 @@ export declare const RSnackbar: __VLS_WithTemplateSlots_10<DefineComponent<__VLS
|
|
|
2602
2640
|
onAction?: ((...args: any[]) => any) | undefined;
|
|
2603
2641
|
}, {
|
|
2604
2642
|
text: string;
|
|
2643
|
+
left: boolean;
|
|
2605
2644
|
modelValue: boolean;
|
|
2606
2645
|
closable: boolean;
|
|
2607
|
-
left: boolean;
|
|
2608
2646
|
timeout: number;
|
|
2609
2647
|
}, {}>, {
|
|
2610
2648
|
icon?(_: {}): any;
|
|
@@ -2635,11 +2673,11 @@ export declare const RSwitch: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePr
|
|
|
2635
2673
|
}, {
|
|
2636
2674
|
size: "small" | "medium" | "large";
|
|
2637
2675
|
label: string;
|
|
2638
|
-
id: string | undefined;
|
|
2639
2676
|
disabled: boolean | "true" | "false";
|
|
2677
|
+
id: string | undefined;
|
|
2640
2678
|
modelValue: any[] | Set<any> | (boolean | "true" | "false");
|
|
2641
|
-
hint: string;
|
|
2642
2679
|
errorMsg: string;
|
|
2680
|
+
hint: string;
|
|
2643
2681
|
}, {}>;
|
|
2644
2682
|
|
|
2645
2683
|
export declare const RTabItem: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<IProps_4>, {
|
|
@@ -2669,13 +2707,13 @@ export declare const RTabItem: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_
|
|
|
2669
2707
|
}, {
|
|
2670
2708
|
label: string;
|
|
2671
2709
|
variant: TabItemVariant;
|
|
2710
|
+
disabled: boolean;
|
|
2672
2711
|
prependIcon: string;
|
|
2673
2712
|
appendIcon: string;
|
|
2674
|
-
disabled: boolean;
|
|
2675
|
-
modelValue: string | number;
|
|
2676
|
-
tile: boolean;
|
|
2677
2713
|
block: boolean;
|
|
2714
|
+
modelValue: string | number;
|
|
2678
2715
|
color: string;
|
|
2716
|
+
tile: boolean;
|
|
2679
2717
|
}, {}>, {
|
|
2680
2718
|
prepend?(_: {
|
|
2681
2719
|
active: boolean;
|
|
@@ -2707,9 +2745,9 @@ export declare const RTabs: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_Wit
|
|
|
2707
2745
|
}>>> & {
|
|
2708
2746
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2709
2747
|
}, {
|
|
2748
|
+
block: boolean;
|
|
2710
2749
|
modelValue: string | number;
|
|
2711
2750
|
tile: boolean;
|
|
2712
|
-
block: boolean;
|
|
2713
2751
|
tabs: Tab[];
|
|
2714
2752
|
scrollable: boolean;
|
|
2715
2753
|
}, {}>, {
|
|
@@ -2740,12 +2778,12 @@ export declare const RTextArea: DefineComponent<__VLS_WithDefaults_16<__VLS_Type
|
|
|
2740
2778
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2741
2779
|
}, {
|
|
2742
2780
|
label: string;
|
|
2743
|
-
id: string | undefined;
|
|
2744
2781
|
disabled: boolean | "true" | "false";
|
|
2782
|
+
id: string | undefined;
|
|
2745
2783
|
modelValue: any;
|
|
2746
|
-
hint: string;
|
|
2747
|
-
errorMsg: string;
|
|
2748
2784
|
placeholder: string;
|
|
2785
|
+
errorMsg: string;
|
|
2786
|
+
hint: string;
|
|
2749
2787
|
}, {}>;
|
|
2750
2788
|
|
|
2751
2789
|
export declare const RTextfield: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<Props_6>, {
|
|
@@ -2767,9 +2805,9 @@ export declare const RTextfield: __VLS_WithTemplateSlots_13<DefineComponent<__VL
|
|
|
2767
2805
|
readonly: boolean;
|
|
2768
2806
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2769
2807
|
input: (...args: any[]) => void;
|
|
2770
|
-
"update:modelValue": (...args: any[]) => void;
|
|
2771
2808
|
blur: (...args: any[]) => void;
|
|
2772
2809
|
focus: (...args: any[]) => void;
|
|
2810
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2773
2811
|
"click:icon": (...args: any[]) => void;
|
|
2774
2812
|
"click:clear": (...args: any[]) => void;
|
|
2775
2813
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<Props_6>, {
|
|
@@ -2799,18 +2837,18 @@ export declare const RTextfield: __VLS_WithTemplateSlots_13<DefineComponent<__VL
|
|
|
2799
2837
|
}, {
|
|
2800
2838
|
type: "number" | "text" | "email" | "password" | "tel" | "url";
|
|
2801
2839
|
label: string;
|
|
2802
|
-
|
|
2840
|
+
disabled: boolean;
|
|
2803
2841
|
prependIcon: string;
|
|
2804
2842
|
appendIcon: string;
|
|
2805
|
-
|
|
2843
|
+
clearable: boolean;
|
|
2844
|
+
id: string | undefined;
|
|
2845
|
+
role: string;
|
|
2806
2846
|
modelValue: any;
|
|
2847
|
+
placeholder: string;
|
|
2807
2848
|
loading: boolean;
|
|
2808
|
-
hint: string;
|
|
2809
2849
|
errorMsg: string;
|
|
2850
|
+
hint: string;
|
|
2810
2851
|
hideDetails: boolean;
|
|
2811
|
-
clearable: boolean;
|
|
2812
|
-
role: string;
|
|
2813
|
-
placeholder: string;
|
|
2814
2852
|
readonly: boolean;
|
|
2815
2853
|
}, {}>, {
|
|
2816
2854
|
prepend?(_: {
|