@rocketui/vue 0.0.94 → 0.0.96
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 +36 -0
- package/dist/rocket-ui-vue.js +821 -796
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/dist/rocket-ui-vue.d.ts
CHANGED
|
@@ -703,6 +703,8 @@ declare function handleSelect(): void;
|
|
|
703
703
|
|
|
704
704
|
declare function handleToggle(): void;
|
|
705
705
|
|
|
706
|
+
declare function handleUpdate(): void;
|
|
707
|
+
|
|
706
708
|
declare function hideTooltip(): void;
|
|
707
709
|
|
|
708
710
|
declare interface IProps {
|
|
@@ -2170,6 +2172,8 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2170
2172
|
dropdownClass: string;
|
|
2171
2173
|
optionsClass: string;
|
|
2172
2174
|
errorMsg: string;
|
|
2175
|
+
hideDetails: boolean;
|
|
2176
|
+
autocomplete: string;
|
|
2173
2177
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2174
2178
|
"update:modelValue": (...args: any[]) => void;
|
|
2175
2179
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_8<SelectProps>, {
|
|
@@ -2189,6 +2193,8 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2189
2193
|
dropdownClass: string;
|
|
2190
2194
|
optionsClass: string;
|
|
2191
2195
|
errorMsg: string;
|
|
2196
|
+
hideDetails: boolean;
|
|
2197
|
+
autocomplete: string;
|
|
2192
2198
|
}>>> & {
|
|
2193
2199
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2194
2200
|
}, {
|
|
@@ -2207,12 +2213,32 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
|
|
|
2207
2213
|
dropdownClass: string;
|
|
2208
2214
|
optionsClass: string;
|
|
2209
2215
|
errorMsg: string;
|
|
2216
|
+
hideDetails: boolean;
|
|
2217
|
+
autocomplete: "on" | "off";
|
|
2210
2218
|
}, {}>, {
|
|
2211
2219
|
prepend?(_: {}): any;
|
|
2220
|
+
tags?(_: {
|
|
2221
|
+
options: {
|
|
2222
|
+
value: string | number;
|
|
2223
|
+
label: string;
|
|
2224
|
+
prependIcon?: string | undefined;
|
|
2225
|
+
disabled?: boolean | undefined;
|
|
2226
|
+
}[];
|
|
2227
|
+
removeOption: typeof removeOption;
|
|
2228
|
+
updatePosition: () => void;
|
|
2229
|
+
}): any;
|
|
2212
2230
|
append?(_: {}): any;
|
|
2213
2231
|
"option-prepend"?(_: {}): any;
|
|
2232
|
+
"not-options"?(_: {}): any;
|
|
2214
2233
|
}>;
|
|
2215
2234
|
|
|
2235
|
+
/**
|
|
2236
|
+
* @description - Removes an option from the selected options
|
|
2237
|
+
* @param e option Option to remove
|
|
2238
|
+
* @returns void
|
|
2239
|
+
*/
|
|
2240
|
+
declare function removeOption(e: MouseEvent | KeyboardEvent, option: Option_2, updatePosition: any): void;
|
|
2241
|
+
|
|
2216
2242
|
export declare const RIcon: DefineComponent<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_9<IProps_2>, {
|
|
2217
2243
|
name: string;
|
|
2218
2244
|
size: number;
|
|
@@ -2684,9 +2710,11 @@ export declare const RTooltip: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_
|
|
|
2684
2710
|
mouseleave: typeof onMouseLeave;
|
|
2685
2711
|
mousemove: typeof onMouseMove;
|
|
2686
2712
|
};
|
|
2713
|
+
updatePosition: typeof handleUpdate;
|
|
2687
2714
|
}): any;
|
|
2688
2715
|
content?(_: {
|
|
2689
2716
|
hide: typeof hideTooltip;
|
|
2717
|
+
updatePosition: typeof handleUpdate;
|
|
2690
2718
|
}): any;
|
|
2691
2719
|
}>;
|
|
2692
2720
|
|
|
@@ -2833,6 +2861,14 @@ declare interface SelectProps {
|
|
|
2833
2861
|
* <Dropdown hideDetails />
|
|
2834
2862
|
*/
|
|
2835
2863
|
hideDetails?: boolean;
|
|
2864
|
+
/**
|
|
2865
|
+
* Autocomplete of the Dropdown
|
|
2866
|
+
* @type {'on' | 'off'}
|
|
2867
|
+
* @default 'off'
|
|
2868
|
+
* @example
|
|
2869
|
+
* <Dropdown autocomplete="on" />
|
|
2870
|
+
*/
|
|
2871
|
+
autocomplete?: 'on' | 'off';
|
|
2836
2872
|
}
|
|
2837
2873
|
|
|
2838
2874
|
declare type Tab = {
|