cps-ui-kit 0.146.0 → 0.147.0

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.
@@ -79,6 +79,11 @@ export declare class CpsAutocompleteComponent implements ControlValueAccessor, O
79
79
  * @group Props
80
80
  */
81
81
  options: any[];
82
+ /**
83
+ * If multiple, defines whether selected options should be ordered according to the initial order of the options.
84
+ * @group Props
85
+ */
86
+ keepInitialOrder: boolean;
82
87
  /**
83
88
  * Name of the label field of an option.
84
89
  * @group Props
@@ -233,5 +238,5 @@ export declare class CpsAutocompleteComponent implements ControlValueAccessor, O
233
238
  private _confirmInput;
234
239
  private _removeLastValue;
235
240
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsAutocompleteComponent, [{ optional: true; self: true; }, null]>;
236
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsAutocompleteComponent, "cps-autocomplete", never, { "label": "label"; "placeholder": "placeholder"; "hint": "hint"; "returnObject": "returnObject"; "multiple": "multiple"; "disabled": "disabled"; "width": "width"; "selectAll": "selectAll"; "chips": "chips"; "closableChips": "closableChips"; "clearable": "clearable"; "openOnClear": "openOnClear"; "options": "options"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "optionInfo": "optionInfo"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "prefixIcon": "prefixIcon"; "prefixIconSize": "prefixIconSize"; "loading": "loading"; "emptyMessage": "emptyMessage"; "virtualScroll": "virtualScroll"; "numToleratedItems": "numToleratedItems"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "appearance": "appearance"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
241
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsAutocompleteComponent, "cps-autocomplete", never, { "label": "label"; "placeholder": "placeholder"; "hint": "hint"; "returnObject": "returnObject"; "multiple": "multiple"; "disabled": "disabled"; "width": "width"; "selectAll": "selectAll"; "chips": "chips"; "closableChips": "closableChips"; "clearable": "clearable"; "openOnClear": "openOnClear"; "options": "options"; "keepInitialOrder": "keepInitialOrder"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "optionInfo": "optionInfo"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "prefixIcon": "prefixIcon"; "prefixIconSize": "prefixIconSize"; "loading": "loading"; "emptyMessage": "emptyMessage"; "virtualScroll": "virtualScroll"; "numToleratedItems": "numToleratedItems"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "appearance": "appearance"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
237
242
  }
@@ -77,6 +77,11 @@ export declare class CpsSelectComponent implements ControlValueAccessor, OnInit,
77
77
  * @group Props
78
78
  */
79
79
  options: any[];
80
+ /**
81
+ * If multiple, defines whether selected options should be ordered according to the initial order of the options.
82
+ * @group Props
83
+ */
84
+ keepInitialOrder: boolean;
80
85
  /**
81
86
  * Name of the label field of an option.
82
87
  * @group Props
@@ -218,5 +223,5 @@ export declare class CpsSelectComponent implements ControlValueAccessor, OnInit,
218
223
  onBlur(): void;
219
224
  focus(): void;
220
225
  static ɵfac: i0.ɵɵFactoryDeclaration<CpsSelectComponent, [{ optional: true; self: true; }]>;
221
- static ɵcmp: i0.ɵɵComponentDeclaration<CpsSelectComponent, "cps-select", never, { "label": "label"; "placeholder": "placeholder"; "hint": "hint"; "returnObject": "returnObject"; "multiple": "multiple"; "disabled": "disabled"; "width": "width"; "selectAll": "selectAll"; "chips": "chips"; "closableChips": "closableChips"; "clearable": "clearable"; "openOnClear": "openOnClear"; "options": "options"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "optionInfo": "optionInfo"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "prefixIcon": "prefixIcon"; "prefixIconSize": "prefixIconSize"; "loading": "loading"; "virtualScroll": "virtualScroll"; "numToleratedItems": "numToleratedItems"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "optionsClass": "optionsClass"; "appearance": "appearance"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
226
+ static ɵcmp: i0.ɵɵComponentDeclaration<CpsSelectComponent, "cps-select", never, { "label": "label"; "placeholder": "placeholder"; "hint": "hint"; "returnObject": "returnObject"; "multiple": "multiple"; "disabled": "disabled"; "width": "width"; "selectAll": "selectAll"; "chips": "chips"; "closableChips": "closableChips"; "clearable": "clearable"; "openOnClear": "openOnClear"; "options": "options"; "keepInitialOrder": "keepInitialOrder"; "optionLabel": "optionLabel"; "optionValue": "optionValue"; "optionInfo": "optionInfo"; "hideDetails": "hideDetails"; "persistentClear": "persistentClear"; "prefixIcon": "prefixIcon"; "prefixIconSize": "prefixIconSize"; "loading": "loading"; "virtualScroll": "virtualScroll"; "numToleratedItems": "numToleratedItems"; "infoTooltip": "infoTooltip"; "infoTooltipClass": "infoTooltipClass"; "infoTooltipMaxWidth": "infoTooltipMaxWidth"; "infoTooltipPersistent": "infoTooltipPersistent"; "infoTooltipPosition": "infoTooltipPosition"; "optionsClass": "optionsClass"; "appearance": "appearance"; "_value": "value"; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
222
227
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cps-ui-kit",
3
- "version": "0.146.0",
3
+ "version": "0.147.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "15 - 16",
6
6
  "@angular/core": "15 - 16",