@rocketui/vue 0.1.27 → 0.2.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 +43 -8
- package/dist/rocket-ui-vue.js +790 -704
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/rocket-ui-vue.d.ts
CHANGED
|
@@ -1427,7 +1427,9 @@ declare interface PaginationProps {
|
|
|
1427
1427
|
page: number;
|
|
1428
1428
|
perPage: number;
|
|
1429
1429
|
totalItems: number;
|
|
1430
|
-
|
|
1430
|
+
perPageOptions?: number[];
|
|
1431
|
+
itemsPerPageText?: string;
|
|
1432
|
+
position?: 'left' | 'center' | 'right';
|
|
1431
1433
|
}
|
|
1432
1434
|
|
|
1433
1435
|
declare enum Placement {
|
|
@@ -2183,6 +2185,8 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2183
2185
|
errorMsg: string;
|
|
2184
2186
|
hideDetails: boolean;
|
|
2185
2187
|
autocomplete: string;
|
|
2188
|
+
noOptionsText: string;
|
|
2189
|
+
hideOptionCheckIcon: boolean;
|
|
2186
2190
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2187
2191
|
"update:modelValue": (...args: any[]) => void;
|
|
2188
2192
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_8<SelectProps>, {
|
|
@@ -2205,6 +2209,8 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2205
2209
|
errorMsg: string;
|
|
2206
2210
|
hideDetails: boolean;
|
|
2207
2211
|
autocomplete: string;
|
|
2212
|
+
noOptionsText: string;
|
|
2213
|
+
hideOptionCheckIcon: boolean;
|
|
2208
2214
|
}>>> & {
|
|
2209
2215
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2210
2216
|
}, {
|
|
@@ -2212,9 +2218,9 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2212
2218
|
disabled: boolean;
|
|
2213
2219
|
prependIcon: string;
|
|
2214
2220
|
appendIcon: string;
|
|
2215
|
-
options:
|
|
2221
|
+
options: any;
|
|
2216
2222
|
id: string;
|
|
2217
|
-
modelValue:
|
|
2223
|
+
modelValue: any;
|
|
2218
2224
|
placeholder: string;
|
|
2219
2225
|
taggable: boolean;
|
|
2220
2226
|
multiple: boolean;
|
|
@@ -2226,6 +2232,8 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2226
2232
|
errorMsg: string;
|
|
2227
2233
|
hideDetails: boolean;
|
|
2228
2234
|
autocomplete: "on" | "off";
|
|
2235
|
+
noOptionsText: string;
|
|
2236
|
+
hideOptionCheckIcon: boolean;
|
|
2229
2237
|
}, {}>, {
|
|
2230
2238
|
prepend?(_: {}): any;
|
|
2231
2239
|
tags?(_: {
|
|
@@ -2239,7 +2247,16 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2239
2247
|
updatePosition: () => void;
|
|
2240
2248
|
}): any;
|
|
2241
2249
|
append?(_: {}): any;
|
|
2250
|
+
option?(_: {
|
|
2251
|
+
isSelected: boolean | {
|
|
2252
|
+
value: string | number;
|
|
2253
|
+
label: string;
|
|
2254
|
+
prependIcon?: string | undefined;
|
|
2255
|
+
disabled?: boolean | undefined;
|
|
2256
|
+
} | undefined;
|
|
2257
|
+
}): any;
|
|
2242
2258
|
"option-prepend"?(_: {}): any;
|
|
2259
|
+
"option-append"?(_: {}): any;
|
|
2243
2260
|
"not-options"?(_: {}): any;
|
|
2244
2261
|
}>;
|
|
2245
2262
|
|
|
@@ -2388,24 +2405,34 @@ export declare const RPagination: __VLS_WithTemplateSlots_16<DefineComponent<__V
|
|
|
2388
2405
|
page: number;
|
|
2389
2406
|
perPage: number;
|
|
2390
2407
|
totalItems: number;
|
|
2391
|
-
|
|
2408
|
+
perPageOptions: () => number[];
|
|
2409
|
+
itemsPerPageText: string;
|
|
2410
|
+
position: string;
|
|
2392
2411
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2393
2412
|
"update:page": (...args: any[]) => void;
|
|
2413
|
+
"update:perPage": (...args: any[]) => void;
|
|
2394
2414
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_21<PaginationProps>, {
|
|
2395
2415
|
page: number;
|
|
2396
2416
|
perPage: number;
|
|
2397
2417
|
totalItems: number;
|
|
2398
|
-
|
|
2418
|
+
perPageOptions: () => number[];
|
|
2419
|
+
itemsPerPageText: string;
|
|
2420
|
+
position: string;
|
|
2399
2421
|
}>>> & {
|
|
2400
2422
|
"onUpdate:page"?: ((...args: any[]) => any) | undefined;
|
|
2423
|
+
"onUpdate:perPage"?: ((...args: any[]) => any) | undefined;
|
|
2401
2424
|
}, {
|
|
2402
2425
|
page: number;
|
|
2403
2426
|
perPage: number;
|
|
2404
2427
|
totalItems: number;
|
|
2405
|
-
|
|
2428
|
+
perPageOptions: number[];
|
|
2429
|
+
itemsPerPageText: string;
|
|
2430
|
+
position: "left" | "right" | "center";
|
|
2406
2431
|
}, {}>, {
|
|
2432
|
+
first?(_: {}): any;
|
|
2407
2433
|
prev?(_: {}): any;
|
|
2408
2434
|
next?(_: {}): any;
|
|
2435
|
+
last?(_: {}): any;
|
|
2409
2436
|
}>;
|
|
2410
2437
|
|
|
2411
2438
|
export declare const RProgressbar: DefineComponent<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_22<ProgressBarProps>, {
|
|
@@ -2773,7 +2800,7 @@ declare interface SelectProps {
|
|
|
2773
2800
|
* ]"
|
|
2774
2801
|
* />
|
|
2775
2802
|
*/
|
|
2776
|
-
options: Option_2[];
|
|
2803
|
+
options: Option_2[] | any;
|
|
2777
2804
|
/**
|
|
2778
2805
|
* Value of the Dropdown
|
|
2779
2806
|
* @type {string | number | Option | Option[]}
|
|
@@ -2781,7 +2808,7 @@ declare interface SelectProps {
|
|
|
2781
2808
|
* @example
|
|
2782
2809
|
* <Dropdown v-model="model" />
|
|
2783
2810
|
*/
|
|
2784
|
-
modelValue: string | number | Option_2 | Option_2[];
|
|
2811
|
+
modelValue: string | number | Option_2 | Option_2[] | any;
|
|
2785
2812
|
/**
|
|
2786
2813
|
* Placeholder Dropdown
|
|
2787
2814
|
* @type {InputHTMLAttributes['placeholder']}
|
|
@@ -2927,6 +2954,14 @@ declare interface SelectProps {
|
|
|
2927
2954
|
* <Dropdown noOptionsText="No options" />
|
|
2928
2955
|
*/
|
|
2929
2956
|
noOptionsText?: string;
|
|
2957
|
+
/**
|
|
2958
|
+
* Hide the check icon of the selected option
|
|
2959
|
+
* @type {boolean}
|
|
2960
|
+
* @default false
|
|
2961
|
+
* @example
|
|
2962
|
+
* <Dropdown hideOptionCheckIcon />
|
|
2963
|
+
*/
|
|
2964
|
+
hideOptionCheckIcon?: boolean;
|
|
2930
2965
|
}
|
|
2931
2966
|
|
|
2932
2967
|
declare interface Tab {
|