@rocketui/vue 0.2.16 → 0.2.18

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.
@@ -1731,13 +1731,21 @@ declare interface Props_4 {
1731
1731
  */
1732
1732
  ghost?: boolean;
1733
1733
  /**
1734
- * Closable state of the Chip
1734
+ * Clearable state of the Chip
1735
1735
  * @type boolean
1736
1736
  * @default false
1737
1737
  * @example
1738
- * <Chip closable />
1738
+ * <Chip clearable />
1739
1739
  */
1740
- closable?: boolean;
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;
1741
1749
  }
1742
1750
 
1743
1751
  declare interface Props_5 {
@@ -2165,7 +2173,8 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_With
2165
2173
  prependIcon: string;
2166
2174
  appendIcon: string;
2167
2175
  ghost: boolean;
2168
- closable: boolean;
2176
+ clearable: boolean;
2177
+ noWrap: boolean;
2169
2178
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2170
2179
  "click:chip": (...args: any[]) => void;
2171
2180
  "click:close": (...args: any[]) => void;
@@ -2176,7 +2185,8 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_With
2176
2185
  prependIcon: string;
2177
2186
  appendIcon: string;
2178
2187
  ghost: boolean;
2179
- closable: boolean;
2188
+ clearable: boolean;
2189
+ noWrap: boolean;
2180
2190
  }>>> & {
2181
2191
  "onClick:chip"?: ((...args: any[]) => any) | undefined;
2182
2192
  "onClick:close"?: ((...args: any[]) => any) | undefined;
@@ -2187,7 +2197,8 @@ export declare const RChip: __VLS_WithTemplateSlots_5<DefineComponent<__VLS_With
2187
2197
  prependIcon: string;
2188
2198
  appendIcon: string;
2189
2199
  ghost: boolean;
2190
- closable: boolean;
2200
+ clearable: boolean;
2201
+ noWrap: boolean;
2191
2202
  }, {}>, {
2192
2203
  prepend?(_: {}): any;
2193
2204
  append?(_: {}): any;
@@ -2197,7 +2208,7 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
2197
2208
  options: () => never[];
2198
2209
  modelValue: any;
2199
2210
  placeholder: string;
2200
- taggable: boolean;
2211
+ chips: boolean;
2201
2212
  multiple: boolean;
2202
2213
  disabled: boolean;
2203
2214
  loading: boolean;
@@ -2215,13 +2226,14 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
2215
2226
  autocomplete: string;
2216
2227
  noOptionsText: string;
2217
2228
  hideOptionCheckIcon: boolean;
2229
+ hideChipClear: boolean;
2218
2230
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2219
2231
  "update:modelValue": (...args: any[]) => void;
2220
2232
  }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_8<SelectProps>, {
2221
2233
  options: () => never[];
2222
2234
  modelValue: any;
2223
2235
  placeholder: string;
2224
- taggable: boolean;
2236
+ chips: boolean;
2225
2237
  multiple: boolean;
2226
2238
  disabled: boolean;
2227
2239
  loading: boolean;
@@ -2239,6 +2251,7 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
2239
2251
  autocomplete: string;
2240
2252
  noOptionsText: string;
2241
2253
  hideOptionCheckIcon: boolean;
2254
+ hideChipClear: boolean;
2242
2255
  }>>> & {
2243
2256
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
2244
2257
  }, {
@@ -2249,11 +2262,11 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
2249
2262
  options: any;
2250
2263
  id: string;
2251
2264
  modelValue: any;
2265
+ clearable: boolean;
2252
2266
  placeholder: string;
2253
- taggable: boolean;
2267
+ chips: boolean;
2254
2268
  multiple: boolean;
2255
2269
  searchable: boolean;
2256
- clearable: boolean;
2257
2270
  closeOnSelect: boolean;
2258
2271
  dropdownClass: string;
2259
2272
  optionsClass: string;
@@ -2262,18 +2275,20 @@ export declare const RDropdown: __VLS_WithTemplateSlots_6<DefineComponent<__VLS_
2262
2275
  autocomplete: "on" | "off";
2263
2276
  noOptionsText: string;
2264
2277
  hideOptionCheckIcon: boolean;
2278
+ hideChipClear: boolean;
2265
2279
  }, {}>, {
2266
2280
  prepend?(_: {}): any;
2267
- tags?(_: {
2268
- options: {
2281
+ selection?(_: {
2282
+ key: number;
2283
+ index: number;
2284
+ option: {
2269
2285
  [x: string]: any;
2270
2286
  value: string | number;
2271
2287
  label: string;
2272
2288
  prependIcon?: string | undefined;
2273
2289
  disabled?: boolean | undefined;
2274
- }[];
2290
+ };
2275
2291
  removeOption: typeof removeOption;
2276
- updatePosition: () => void;
2277
2292
  }): any;
2278
2293
  append?(_: {}): any;
2279
2294
  option?(_: {
@@ -2722,8 +2737,8 @@ export declare const RTextfield: __VLS_WithTemplateSlots_13<DefineComponent<__VL
2722
2737
  id: string | undefined;
2723
2738
  role: string;
2724
2739
  modelValue: any;
2725
- placeholder: string;
2726
2740
  clearable: boolean;
2741
+ placeholder: string;
2727
2742
  errorMsg: string;
2728
2743
  hint: string;
2729
2744
  hideDetails: boolean;
@@ -2852,13 +2867,13 @@ declare interface SelectProps {
2852
2867
  */
2853
2868
  placeholder?: string;
2854
2869
  /**
2855
- * Allow to create new options
2870
+ * Allow to select multiple options as chips
2856
2871
  * @type {boolean}
2857
2872
  * @default false
2858
2873
  * @example
2859
- * <Dropdown taggable />
2874
+ * <Dropdown chips />
2860
2875
  */
2861
- taggable?: boolean;
2876
+ chips?: boolean;
2862
2877
  /**
2863
2878
  * Allow to select multiple options
2864
2879
  * @type {boolean}
@@ -2995,6 +3010,14 @@ declare interface SelectProps {
2995
3010
  * <Dropdown hideOptionCheckIcon />
2996
3011
  */
2997
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;
2998
3021
  }
2999
3022
 
3000
3023
  declare interface Tab {