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