@rocketui/vue 0.2.1 → 0.2.2-2.alpha.1
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 +80 -30
- package/dist/rocket-ui-vue.js +857 -851
- 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
|
@@ -683,7 +683,34 @@ declare interface BadgeProps {
|
|
|
683
683
|
* <Badge animation />
|
|
684
684
|
*/
|
|
685
685
|
animation?: boolean;
|
|
686
|
+
/**
|
|
687
|
+
* Class of the Badge
|
|
688
|
+
* @type { string | string[] }
|
|
689
|
+
* @example
|
|
690
|
+
* <Badge class="text-red-500" />
|
|
691
|
+
*/
|
|
686
692
|
class?: string | string[];
|
|
693
|
+
/**
|
|
694
|
+
* Content of the Badge
|
|
695
|
+
* @type { string }
|
|
696
|
+
* @example
|
|
697
|
+
* <Badge content="99+" />
|
|
698
|
+
*/
|
|
699
|
+
content?: string;
|
|
700
|
+
/**
|
|
701
|
+
* Class of the content of the Badge
|
|
702
|
+
* @type { string | string[] }
|
|
703
|
+
* @example
|
|
704
|
+
* <Badge contentClass="text-red-500" />
|
|
705
|
+
*/
|
|
706
|
+
contentClass?: string | string[];
|
|
707
|
+
/**
|
|
708
|
+
* Wrapper class of the Badge
|
|
709
|
+
* @type { string | string[] }
|
|
710
|
+
* @example
|
|
711
|
+
* <Badge wrapperClass="text-red-500" />
|
|
712
|
+
*/
|
|
713
|
+
wrapperClass?: string | string[];
|
|
687
714
|
}
|
|
688
715
|
|
|
689
716
|
declare interface BreadcrumbItem {
|
|
@@ -1262,14 +1289,6 @@ declare interface ItemProps {
|
|
|
1262
1289
|
* <RItem :value="1" />
|
|
1263
1290
|
*/
|
|
1264
1291
|
value: any;
|
|
1265
|
-
/**
|
|
1266
|
-
* Whether the item is disabled
|
|
1267
|
-
* @default false
|
|
1268
|
-
* @type boolean
|
|
1269
|
-
* @example
|
|
1270
|
-
* <RItem :disabled="true" />
|
|
1271
|
-
*/
|
|
1272
|
-
disabled?: boolean;
|
|
1273
1292
|
/**
|
|
1274
1293
|
* The class to apply to the selected item
|
|
1275
1294
|
* @default ''
|
|
@@ -1417,6 +1436,7 @@ declare function onMouseLeave(): void;
|
|
|
1417
1436
|
declare function onMouseMove(): void;
|
|
1418
1437
|
|
|
1419
1438
|
declare interface Option_2 {
|
|
1439
|
+
[key: string]: any;
|
|
1420
1440
|
value: string | number;
|
|
1421
1441
|
label: string;
|
|
1422
1442
|
prependIcon?: string;
|
|
@@ -1711,13 +1731,21 @@ declare interface Props_4 {
|
|
|
1711
1731
|
*/
|
|
1712
1732
|
ghost?: boolean;
|
|
1713
1733
|
/**
|
|
1714
|
-
*
|
|
1734
|
+
* Clearable state of the Chip
|
|
1715
1735
|
* @type boolean
|
|
1716
1736
|
* @default false
|
|
1717
1737
|
* @example
|
|
1718
|
-
* <Chip
|
|
1738
|
+
* <Chip clearable />
|
|
1719
1739
|
*/
|
|
1720
|
-
|
|
1740
|
+
clearable?: boolean;
|
|
1741
|
+
/**
|
|
1742
|
+
* No wrap state of the Chip
|
|
1743
|
+
* @type boolean
|
|
1744
|
+
* @default false
|
|
1745
|
+
* @example
|
|
1746
|
+
* <Chip noWrap />
|
|
1747
|
+
*/
|
|
1748
|
+
noWrap?: boolean;
|
|
1721
1749
|
}
|
|
1722
1750
|
|
|
1723
1751
|
declare interface Props_5 {
|
|
@@ -2016,6 +2044,8 @@ export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_Wit
|
|
|
2016
2044
|
outside: boolean;
|
|
2017
2045
|
animation: boolean;
|
|
2018
2046
|
class: string;
|
|
2047
|
+
contentClass: string;
|
|
2048
|
+
wrapperClass: string;
|
|
2019
2049
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2020
2050
|
click: (...args: any[]) => void;
|
|
2021
2051
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_3<__VLS_TypePropsToRuntimeProps_4<BadgeProps>, {
|
|
@@ -2027,6 +2057,8 @@ export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_Wit
|
|
|
2027
2057
|
outside: boolean;
|
|
2028
2058
|
animation: boolean;
|
|
2029
2059
|
class: string;
|
|
2060
|
+
contentClass: string;
|
|
2061
|
+
wrapperClass: string;
|
|
2030
2062
|
}>>> & {
|
|
2031
2063
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
2032
2064
|
}, {
|
|
@@ -2034,9 +2066,12 @@ export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_Wit
|
|
|
2034
2066
|
variant: "primary" | "success" | "warning" | "error" | "neutral";
|
|
2035
2067
|
hover: boolean;
|
|
2036
2068
|
placement: "bottom" | "left" | "right";
|
|
2069
|
+
content: string;
|
|
2037
2070
|
overlap: boolean;
|
|
2038
2071
|
outside: boolean;
|
|
2039
2072
|
animation: boolean;
|
|
2073
|
+
contentClass: string | string[];
|
|
2074
|
+
wrapperClass: string | string[];
|
|
2040
2075
|
}, {}>, {
|
|
2041
2076
|
default?(_: {}): any;
|
|
2042
2077
|
}>;
|
|
@@ -2138,7 +2173,8 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_With
|
|
|
2138
2173
|
prependIcon: string;
|
|
2139
2174
|
appendIcon: string;
|
|
2140
2175
|
ghost: boolean;
|
|
2141
|
-
|
|
2176
|
+
clearable: boolean;
|
|
2177
|
+
noWrap: boolean;
|
|
2142
2178
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2143
2179
|
"click:chip": (...args: any[]) => void;
|
|
2144
2180
|
"click:close": (...args: any[]) => void;
|
|
@@ -2149,7 +2185,8 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_With
|
|
|
2149
2185
|
prependIcon: string;
|
|
2150
2186
|
appendIcon: string;
|
|
2151
2187
|
ghost: boolean;
|
|
2152
|
-
|
|
2188
|
+
clearable: boolean;
|
|
2189
|
+
noWrap: boolean;
|
|
2153
2190
|
}>>> & {
|
|
2154
2191
|
"onClick:chip"?: ((...args: any[]) => any) | undefined;
|
|
2155
2192
|
"onClick:close"?: ((...args: any[]) => any) | undefined;
|
|
@@ -2160,7 +2197,8 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_With
|
|
|
2160
2197
|
prependIcon: string;
|
|
2161
2198
|
appendIcon: string;
|
|
2162
2199
|
ghost: boolean;
|
|
2163
|
-
|
|
2200
|
+
clearable: boolean;
|
|
2201
|
+
noWrap: boolean;
|
|
2164
2202
|
}, {}>, {
|
|
2165
2203
|
prepend?(_: {}): any;
|
|
2166
2204
|
append?(_: {}): any;
|
|
@@ -2168,9 +2206,9 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_With
|
|
|
2168
2206
|
|
|
2169
2207
|
export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_8<SelectProps>, {
|
|
2170
2208
|
options: () => never[];
|
|
2171
|
-
modelValue:
|
|
2209
|
+
modelValue: any;
|
|
2172
2210
|
placeholder: string;
|
|
2173
|
-
|
|
2211
|
+
chips: boolean;
|
|
2174
2212
|
multiple: boolean;
|
|
2175
2213
|
disabled: boolean;
|
|
2176
2214
|
loading: boolean;
|
|
@@ -2188,13 +2226,14 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2188
2226
|
autocomplete: string;
|
|
2189
2227
|
noOptionsText: string;
|
|
2190
2228
|
hideOptionCheckIcon: boolean;
|
|
2229
|
+
hideChipClear: boolean;
|
|
2191
2230
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2192
2231
|
"update:modelValue": (...args: any[]) => void;
|
|
2193
2232
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_8<SelectProps>, {
|
|
2194
2233
|
options: () => never[];
|
|
2195
|
-
modelValue:
|
|
2234
|
+
modelValue: any;
|
|
2196
2235
|
placeholder: string;
|
|
2197
|
-
|
|
2236
|
+
chips: boolean;
|
|
2198
2237
|
multiple: boolean;
|
|
2199
2238
|
disabled: boolean;
|
|
2200
2239
|
loading: boolean;
|
|
@@ -2212,6 +2251,7 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2212
2251
|
autocomplete: string;
|
|
2213
2252
|
noOptionsText: string;
|
|
2214
2253
|
hideOptionCheckIcon: boolean;
|
|
2254
|
+
hideChipClear: boolean;
|
|
2215
2255
|
}>>> & {
|
|
2216
2256
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2217
2257
|
}, {
|
|
@@ -2222,11 +2262,11 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2222
2262
|
options: any;
|
|
2223
2263
|
id: string;
|
|
2224
2264
|
modelValue: any;
|
|
2265
|
+
clearable: boolean;
|
|
2225
2266
|
placeholder: string;
|
|
2226
|
-
|
|
2267
|
+
chips: boolean;
|
|
2227
2268
|
multiple: boolean;
|
|
2228
2269
|
searchable: boolean;
|
|
2229
|
-
clearable: boolean;
|
|
2230
2270
|
closeOnSelect: boolean;
|
|
2231
2271
|
dropdownClass: string;
|
|
2232
2272
|
optionsClass: string;
|
|
@@ -2235,21 +2275,25 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2235
2275
|
autocomplete: "on" | "off";
|
|
2236
2276
|
noOptionsText: string;
|
|
2237
2277
|
hideOptionCheckIcon: boolean;
|
|
2278
|
+
hideChipClear: boolean;
|
|
2238
2279
|
}, {}>, {
|
|
2239
2280
|
prepend?(_: {}): any;
|
|
2240
|
-
|
|
2241
|
-
|
|
2281
|
+
selection?(_: {
|
|
2282
|
+
key: number;
|
|
2283
|
+
index: number;
|
|
2284
|
+
option: {
|
|
2285
|
+
[x: string]: any;
|
|
2242
2286
|
value: string | number;
|
|
2243
2287
|
label: string;
|
|
2244
2288
|
prependIcon?: string | undefined;
|
|
2245
2289
|
disabled?: boolean | undefined;
|
|
2246
|
-
}
|
|
2290
|
+
};
|
|
2247
2291
|
removeOption: typeof removeOption;
|
|
2248
|
-
updatePosition: () => void;
|
|
2249
2292
|
}): any;
|
|
2250
2293
|
append?(_: {}): any;
|
|
2251
2294
|
option?(_: {
|
|
2252
2295
|
isSelected: boolean | {
|
|
2296
|
+
[x: string]: any;
|
|
2253
2297
|
value: string | number;
|
|
2254
2298
|
label: string;
|
|
2255
2299
|
prependIcon?: string | undefined;
|
|
@@ -2290,7 +2334,6 @@ export declare const RItem: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_Wit
|
|
|
2290
2334
|
selectedClass: string;
|
|
2291
2335
|
value: null;
|
|
2292
2336
|
}>>>, {
|
|
2293
|
-
disabled: boolean;
|
|
2294
2337
|
value: any;
|
|
2295
2338
|
selectedClass: string | string[];
|
|
2296
2339
|
}, {}>, {
|
|
@@ -2300,7 +2343,6 @@ export declare const RItem: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_Wit
|
|
|
2300
2343
|
select: typeof handleSelect;
|
|
2301
2344
|
selectedClass: (string | string[]) & (false | (string | string[])[]);
|
|
2302
2345
|
toggle: typeof handleToggle;
|
|
2303
|
-
value: any;
|
|
2304
2346
|
}): any;
|
|
2305
2347
|
}>;
|
|
2306
2348
|
|
|
@@ -2695,8 +2737,8 @@ export declare const RTextfield: __VLS_WithTemplateSlots_13<DefineComponent<__VL
|
|
|
2695
2737
|
id: string | undefined;
|
|
2696
2738
|
role: string;
|
|
2697
2739
|
modelValue: any;
|
|
2698
|
-
placeholder: string;
|
|
2699
2740
|
clearable: boolean;
|
|
2741
|
+
placeholder: string;
|
|
2700
2742
|
errorMsg: string;
|
|
2701
2743
|
hint: string;
|
|
2702
2744
|
hideDetails: boolean;
|
|
@@ -2825,13 +2867,13 @@ declare interface SelectProps {
|
|
|
2825
2867
|
*/
|
|
2826
2868
|
placeholder?: string;
|
|
2827
2869
|
/**
|
|
2828
|
-
* Allow to
|
|
2870
|
+
* Allow to select multiple options as chips
|
|
2829
2871
|
* @type {boolean}
|
|
2830
2872
|
* @default false
|
|
2831
2873
|
* @example
|
|
2832
|
-
* <Dropdown
|
|
2874
|
+
* <Dropdown chips />
|
|
2833
2875
|
*/
|
|
2834
|
-
|
|
2876
|
+
chips?: boolean;
|
|
2835
2877
|
/**
|
|
2836
2878
|
* Allow to select multiple options
|
|
2837
2879
|
* @type {boolean}
|
|
@@ -2968,6 +3010,14 @@ declare interface SelectProps {
|
|
|
2968
3010
|
* <Dropdown hideOptionCheckIcon />
|
|
2969
3011
|
*/
|
|
2970
3012
|
hideOptionCheckIcon?: boolean;
|
|
3013
|
+
/**
|
|
3014
|
+
* Clearable state of the chips
|
|
3015
|
+
* @type {boolean}
|
|
3016
|
+
* @default false
|
|
3017
|
+
* @example
|
|
3018
|
+
* <Dropdown hideChipClear />
|
|
3019
|
+
*/
|
|
3020
|
+
hideChipClear?: boolean;
|
|
2971
3021
|
}
|
|
2972
3022
|
|
|
2973
3023
|
declare interface Tab {
|