@rocketui/vue 0.2.59 → 0.2.61

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.
@@ -44,6 +44,8 @@ declare type __VLS_NonUndefinedable_23<T> = T extends undefined ? never : T;
44
44
 
45
45
  declare type __VLS_NonUndefinedable_24<T> = T extends undefined ? never : T;
46
46
 
47
+ declare type __VLS_NonUndefinedable_25<T> = T extends undefined ? never : T;
48
+
47
49
  declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
48
50
 
49
51
  declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
@@ -122,6 +124,10 @@ declare type __VLS_Prettify_23<T> = {
122
124
  [K in keyof T]: T[K];
123
125
  } & {};
124
126
 
127
+ declare type __VLS_Prettify_24<T> = {
128
+ [K in keyof T]: T[K];
129
+ } & {};
130
+
125
131
  declare type __VLS_Prettify_3<T> = {
126
132
  [K in keyof T]: T[K];
127
133
  } & {};
@@ -303,6 +309,15 @@ declare type __VLS_TypePropsToRuntimeProps_24<T> = {
303
309
  };
304
310
  };
305
311
 
312
+ declare type __VLS_TypePropsToRuntimeProps_25<T> = {
313
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
314
+ type: PropType<__VLS_NonUndefinedable_25<T[K]>>;
315
+ } : {
316
+ type: PropType<T[K]>;
317
+ required: true;
318
+ };
319
+ };
320
+
306
321
  declare type __VLS_TypePropsToRuntimeProps_3<T> = {
307
322
  [K in keyof T]-?: {} extends Pick<T, K> ? {
308
323
  type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
@@ -462,6 +477,12 @@ declare type __VLS_WithDefaults_23<P, D> = {
462
477
  }> : P[K];
463
478
  };
464
479
 
480
+ declare type __VLS_WithDefaults_24<P, D> = {
481
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_24<P[K] & {
482
+ default: D[K];
483
+ }> : P[K];
484
+ };
485
+
465
486
  declare type __VLS_WithDefaults_3<P, D> = {
466
487
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify_3<P[K] & {
467
488
  default: D[K];
@@ -2016,6 +2037,17 @@ declare interface Props_6 {
2016
2037
  readonly?: boolean;
2017
2038
  }
2018
2039
 
2040
+ declare interface Props_7 {
2041
+ id: string;
2042
+ modelValue?: boolean;
2043
+ name?: string;
2044
+ disabled?: boolean;
2045
+ label?: string;
2046
+ hint?: string;
2047
+ errorMsg?: string;
2048
+ title?: string;
2049
+ }
2050
+
2019
2051
  export declare const RAccordion: __VLS_WithTemplateSlots<DefineComponent<__VLS_TypePropsToRuntimeProps<AccordionProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<AccordionProps>>>, {}, {}>, {
2020
2052
  title?(_: {
2021
2053
  accordion: Accordion & {
@@ -2050,12 +2082,12 @@ export declare const RAlert: __VLS_WithTemplateSlots_2<DefineComponent<__VLS_Wit
2050
2082
  }>>> & {
2051
2083
  onClose?: ((...args: any[]) => any) | undefined;
2052
2084
  }, {
2053
- type: "success" | "error" | "warning" | "info";
2054
2085
  title: string;
2055
- variant: "ghost" | "solid" | "outline";
2056
- block: boolean;
2086
+ type: "success" | "error" | "warning" | "info";
2087
+ variant: "solid" | "outline" | "ghost";
2057
2088
  description: string;
2058
2089
  closable: boolean;
2090
+ block: boolean;
2059
2091
  }, {}>, {
2060
2092
  "alert-icon"?(_: {}): any;
2061
2093
  content?(_: {}): any;
@@ -2080,9 +2112,9 @@ export declare const RAvatar: DefineComponent<__VLS_WithDefaults_2<__VLS_TypePro
2080
2112
  online: boolean;
2081
2113
  text: string;
2082
2114
  }>>>, {
2083
- size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
2084
2115
  type: "image" | "text";
2085
2116
  text: string;
2117
+ size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
2086
2118
  src: string;
2087
2119
  alt: string;
2088
2120
  online: boolean;
@@ -2116,11 +2148,11 @@ export declare const RBadge: __VLS_WithTemplateSlots_3<DefineComponent<__VLS_Wit
2116
2148
  onClick?: ((...args: any[]) => any) | undefined;
2117
2149
  }, {
2118
2150
  class: string | string[];
2119
- variant: "primary" | "success" | "error" | "warning" | "neutral";
2120
- hover: boolean;
2121
- placement: "bottom" | "left" | "right";
2122
2151
  content: string;
2152
+ variant: "success" | "error" | "warning" | "primary" | "neutral";
2153
+ placement: "right" | "bottom" | "left";
2123
2154
  overlap: boolean;
2155
+ hover: boolean;
2124
2156
  outside: boolean;
2125
2157
  animation: boolean;
2126
2158
  contentClass: string | string[];
@@ -2174,15 +2206,15 @@ export declare const RButton: __VLS_WithTemplateSlots_4<DefineComponent<__VLS_Wi
2174
2206
  }>>> & {
2175
2207
  onClick?: ((...args: any[]) => any) | undefined;
2176
2208
  }, {
2209
+ disabled: boolean;
2177
2210
  height: string;
2178
2211
  size: ButtonSize;
2179
2212
  variant: ButtonType;
2180
- disabled: boolean;
2181
- prependIcon: string;
2182
- appendIcon: string;
2183
2213
  block: boolean;
2184
- loading: boolean;
2185
2214
  icon: boolean;
2215
+ loading: boolean;
2216
+ prependIcon: string;
2217
+ appendIcon: string;
2186
2218
  }, {}>, {
2187
2219
  prepend?(_: {
2188
2220
  onlyIcon: boolean;
@@ -2216,12 +2248,12 @@ export declare const RCheckbox: DefineComponent<__VLS_WithDefaults_5<__VLS_TypeP
2216
2248
  }>>> & {
2217
2249
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2218
2250
  }, {
2219
- label: string;
2220
- disabled: boolean | "true" | "false";
2221
2251
  id: string | undefined;
2222
2252
  modelValue: any[] | Set<any> | (boolean | "true" | "false");
2223
- errorMsg: string;
2253
+ disabled: boolean | "true" | "false";
2254
+ label: string;
2224
2255
  hint: string;
2256
+ errorMsg: string;
2225
2257
  indeterminate: boolean;
2226
2258
  }, {}>;
2227
2259
 
@@ -2250,12 +2282,12 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_With
2250
2282
  "onClick:chip"?: ((...args: any[]) => any) | undefined;
2251
2283
  "onClick:close"?: ((...args: any[]) => any) | undefined;
2252
2284
  }, {
2253
- label: string | number;
2254
- variant: "primary" | "secondary" | "success" | "error" | "warning" | "info";
2255
2285
  disabled: boolean;
2286
+ label: string | number;
2287
+ ghost: boolean;
2288
+ variant: "success" | "error" | "warning" | "info" | "primary" | "secondary";
2256
2289
  prependIcon: string;
2257
2290
  appendIcon: string;
2258
- ghost: boolean;
2259
2291
  clearable: boolean;
2260
2292
  noWrap: boolean;
2261
2293
  }, {}>, {
@@ -2330,24 +2362,24 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
2330
2362
  onClear?: ((...args: any[]) => any) | undefined;
2331
2363
  onRemoveOption?: ((...args: any[]) => any) | undefined;
2332
2364
  }, {
2365
+ id: string;
2366
+ modelValue: any;
2333
2367
  disabled: boolean;
2368
+ errorMsg: string;
2369
+ loading: boolean;
2334
2370
  prependIcon: string;
2335
2371
  appendIcon: string;
2372
+ hideDetails: boolean;
2336
2373
  clearable: boolean;
2337
2374
  options: any;
2338
2375
  tooltipClass: string;
2339
- id: string;
2340
- modelValue: any;
2341
2376
  placeholder: string;
2342
2377
  chips: boolean;
2343
2378
  multiple: boolean;
2344
- loading: boolean;
2345
2379
  searchable: boolean;
2346
2380
  closeOnSelect: boolean;
2347
2381
  dropdownClass: string;
2348
2382
  optionsClass: string;
2349
- errorMsg: string;
2350
- hideDetails: boolean;
2351
2383
  autocomplete: "on" | "off";
2352
2384
  noOptionsText: string;
2353
2385
  hideOptionCheckIcon: boolean;
@@ -2475,8 +2507,8 @@ export declare const RItemGroup: __VLS_WithTemplateSlots_17<DefineComponent<__VL
2475
2507
  }>>> & {
2476
2508
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2477
2509
  }, {
2478
- disabled: boolean;
2479
2510
  modelValue: string[] | number[];
2511
+ disabled: boolean;
2480
2512
  as: string;
2481
2513
  selectedClass: string | string[];
2482
2514
  mandatory: boolean;
@@ -2498,8 +2530,8 @@ export declare const RLabel: __VLS_WithTemplateSlots_7<DefineComponent<__VLS_Wit
2498
2530
  for: string;
2499
2531
  text: string;
2500
2532
  }>>>, {
2501
- text: string | number;
2502
2533
  id: string | undefined;
2534
+ text: string | number;
2503
2535
  for: string | undefined;
2504
2536
  }, {}>, {
2505
2537
  default?(_: {}): any;
@@ -2536,16 +2568,16 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_Wit
2536
2568
  }>>> & {
2537
2569
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2538
2570
  }, {
2539
- width: string;
2540
- height: string;
2541
- style: string;
2571
+ modelValue: boolean;
2542
2572
  title: string;
2573
+ style: string;
2543
2574
  class: string | string[];
2544
- outsideClick: boolean;
2545
- block: boolean;
2546
- modelValue: boolean;
2575
+ width: string;
2576
+ height: string;
2547
2577
  description: string;
2578
+ block: boolean;
2548
2579
  icon: string;
2580
+ outsideClick: boolean;
2549
2581
  overlayClass: string | string[];
2550
2582
  allowBodyScroll: boolean;
2551
2583
  }, {}>, {
@@ -2604,6 +2636,39 @@ export declare const RProgressbar: DefineComponent<__VLS_WithDefaults_21<__VLS_T
2604
2636
  value: number;
2605
2637
  }, {}>;
2606
2638
 
2639
+ export declare const RRadio: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_25<Props_7>, {
2640
+ id: string;
2641
+ modelValue: boolean;
2642
+ name: string;
2643
+ disabled: boolean;
2644
+ label: string;
2645
+ hint: string;
2646
+ errorMsg: string;
2647
+ title: string;
2648
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2649
+ "update:modelValue": (...args: any[]) => void;
2650
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_25<Props_7>, {
2651
+ id: string;
2652
+ modelValue: boolean;
2653
+ name: string;
2654
+ disabled: boolean;
2655
+ label: string;
2656
+ hint: string;
2657
+ errorMsg: string;
2658
+ title: string;
2659
+ }>>> & {
2660
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2661
+ }, {
2662
+ id: string;
2663
+ modelValue: boolean;
2664
+ name: string;
2665
+ disabled: boolean;
2666
+ label: string;
2667
+ hint: string;
2668
+ errorMsg: string;
2669
+ title: string;
2670
+ }, {}>;
2671
+
2607
2672
  export declare const RSidebar: __VLS_WithTemplateSlots_9<DefineComponent<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_12<RSidebarProps>, {
2608
2673
  modelValue: boolean;
2609
2674
  showTrigger: boolean;
@@ -2653,10 +2718,10 @@ export declare const RSnackbar: __VLS_WithTemplateSlots_10<DefineComponent<__VLS
2653
2718
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2654
2719
  onAction?: ((...args: any[]) => any) | undefined;
2655
2720
  }, {
2656
- text: string;
2657
- left: boolean;
2658
2721
  modelValue: boolean;
2722
+ text: string;
2659
2723
  closable: boolean;
2724
+ left: boolean;
2660
2725
  timeout: number;
2661
2726
  }, {}>, {
2662
2727
  icon?(_: {}): any;
@@ -2685,13 +2750,13 @@ export declare const RSwitch: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePr
2685
2750
  }>>> & {
2686
2751
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2687
2752
  }, {
2688
- size: "small" | "medium" | "large";
2689
- label: string;
2690
- disabled: boolean | "true" | "false";
2691
2753
  id: string | undefined;
2692
2754
  modelValue: any[] | Set<any> | (boolean | "true" | "false");
2693
- errorMsg: string;
2755
+ disabled: boolean | "true" | "false";
2756
+ label: string;
2694
2757
  hint: string;
2758
+ errorMsg: string;
2759
+ size: "small" | "medium" | "large";
2695
2760
  }, {}>;
2696
2761
 
2697
2762
  export declare const RTabItem: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_15<IProps_4>, {
@@ -2719,14 +2784,14 @@ export declare const RTabItem: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_
2719
2784
  }>>> & {
2720
2785
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2721
2786
  }, {
2787
+ modelValue: string | number;
2788
+ disabled: boolean;
2722
2789
  label: string;
2790
+ color: string;
2723
2791
  variant: TabItemVariant;
2724
- disabled: boolean;
2792
+ block: boolean;
2725
2793
  prependIcon: string;
2726
2794
  appendIcon: string;
2727
- block: boolean;
2728
- modelValue: string | number;
2729
- color: string;
2730
2795
  tile: boolean;
2731
2796
  }, {}>, {
2732
2797
  prepend?(_: {
@@ -2759,8 +2824,8 @@ export declare const RTabs: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_Wit
2759
2824
  }>>> & {
2760
2825
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2761
2826
  }, {
2762
- block: boolean;
2763
2827
  modelValue: string | number;
2828
+ block: boolean;
2764
2829
  tile: boolean;
2765
2830
  tabs: Tab[];
2766
2831
  scrollable: boolean;
@@ -2791,13 +2856,13 @@ export declare const RTextArea: DefineComponent<__VLS_WithDefaults_16<__VLS_Type
2791
2856
  }>>> & {
2792
2857
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2793
2858
  }, {
2794
- label: string;
2795
- disabled: boolean | "true" | "false";
2796
2859
  id: string | undefined;
2797
2860
  modelValue: any;
2798
- placeholder: string;
2799
- errorMsg: string;
2861
+ disabled: boolean | "true" | "false";
2862
+ label: string;
2800
2863
  hint: string;
2864
+ errorMsg: string;
2865
+ placeholder: string;
2801
2866
  }, {}>;
2802
2867
 
2803
2868
  export declare const RTextfield: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<Props_6>, {
@@ -2818,10 +2883,10 @@ export declare const RTextfield: __VLS_WithTemplateSlots_13<DefineComponent<__VL
2818
2883
  role: string;
2819
2884
  readonly: boolean;
2820
2885
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2886
+ "update:modelValue": (...args: any[]) => void;
2821
2887
  input: (...args: any[]) => void;
2822
2888
  blur: (...args: any[]) => void;
2823
2889
  focus: (...args: any[]) => void;
2824
- "update:modelValue": (...args: any[]) => void;
2825
2890
  "click:icon": (...args: any[]) => void;
2826
2891
  "click:clear": (...args: any[]) => void;
2827
2892
  }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_18<Props_6>, {
@@ -2842,27 +2907,27 @@ export declare const RTextfield: __VLS_WithTemplateSlots_13<DefineComponent<__VL
2842
2907
  role: string;
2843
2908
  readonly: boolean;
2844
2909
  }>>> & {
2910
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2845
2911
  onFocus?: ((...args: any[]) => any) | undefined;
2846
2912
  onBlur?: ((...args: any[]) => any) | undefined;
2847
2913
  onInput?: ((...args: any[]) => any) | undefined;
2848
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2849
2914
  "onClick:icon"?: ((...args: any[]) => any) | undefined;
2850
2915
  "onClick:clear"?: ((...args: any[]) => any) | undefined;
2851
2916
  }, {
2852
- type: "number" | "text" | "email" | "password" | "tel" | "url";
2853
- label: string;
2917
+ id: string | undefined;
2918
+ modelValue: any;
2854
2919
  disabled: boolean;
2920
+ label: string;
2921
+ hint: string;
2922
+ errorMsg: string;
2923
+ type: "number" | "text" | "email" | "password" | "tel" | "url";
2924
+ loading: boolean;
2855
2925
  prependIcon: string;
2856
2926
  appendIcon: string;
2927
+ hideDetails: boolean;
2857
2928
  clearable: boolean;
2858
- id: string | undefined;
2859
2929
  role: string;
2860
- modelValue: any;
2861
2930
  placeholder: string;
2862
- loading: boolean;
2863
- errorMsg: string;
2864
- hint: string;
2865
- hideDetails: boolean;
2866
2931
  readonly: boolean;
2867
2932
  }, {}>, {
2868
2933
  prepend?(_: {
@@ -2922,9 +2987,9 @@ export declare const RTooltip: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_
2922
2987
  onShow?: ((...args: any[]) => any) | undefined;
2923
2988
  onHide?: ((...args: any[]) => any) | undefined;
2924
2989
  }, {
2990
+ disabled: boolean;
2925
2991
  type: string;
2926
2992
  text: string;
2927
- disabled: boolean;
2928
2993
  placement: Placements;
2929
2994
  padding: number;
2930
2995
  dark: boolean;