cps-ui-kit 0.146.0 → 0.148.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.
- package/esm2020/lib/components/cps-autocomplete/cps-autocomplete.component.mjs +40 -15
- package/esm2020/lib/components/cps-button-toggle/cps-button-toggle.component.mjs +4 -5
- package/esm2020/lib/components/cps-paginator/cps-paginator.component.mjs +1 -1
- package/esm2020/lib/components/cps-progress-circular/cps-progress-circular.component.mjs +3 -3
- package/esm2020/lib/components/cps-select/cps-select.component.mjs +39 -14
- package/esm2020/lib/components/cps-table/components/internal/table-column-filter/table-column-filter.component.mjs +2 -2
- package/esm2020/lib/components/cps-table/components/internal/table-column-filter-constraint/table-column-filter-constraint.component.mjs +1 -1
- package/esm2020/lib/components/cps-table/cps-table.component.mjs +4 -4
- package/esm2020/lib/components/cps-tree-autocomplete/cps-tree-autocomplete.component.mjs +3 -3
- package/esm2020/lib/components/cps-tree-table/cps-tree-table.component.mjs +4 -4
- package/esm2020/lib/pipes/internal/check-option-selected.pipe.mjs +3 -3
- package/fesm2015/cps-ui-kit.mjs +91 -42
- package/fesm2015/cps-ui-kit.mjs.map +1 -1
- package/fesm2020/cps-ui-kit.mjs +90 -41
- package/fesm2020/cps-ui-kit.mjs.map +1 -1
- package/lib/components/cps-autocomplete/cps-autocomplete.component.d.ts +7 -1
- package/lib/components/cps-button-toggle/cps-button-toggle.component.d.ts +1 -1
- package/lib/components/cps-select/cps-select.component.d.ts +7 -1
- package/package.json +1 -1
|
@@ -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
|
|
@@ -232,6 +237,7 @@ export declare class CpsAutocompleteComponent implements ControlValueAccessor, O
|
|
|
232
237
|
private _navigateOptionsByArrows;
|
|
233
238
|
private _confirmInput;
|
|
234
239
|
private _removeLastValue;
|
|
240
|
+
isEmptyValue(): boolean;
|
|
235
241
|
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>;
|
|
242
|
+
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
243
|
}
|
|
@@ -97,7 +97,7 @@ export declare class CpsButtonToggleComponent implements ControlValueAccessor, O
|
|
|
97
97
|
registerOnChange(fn: any): void;
|
|
98
98
|
registerOnTouched(fn: any): void;
|
|
99
99
|
writeValue(value: any): void;
|
|
100
|
-
updateValueEvent(event: any): void;
|
|
100
|
+
updateValueEvent(event: any, val: any): void;
|
|
101
101
|
private _updateValue;
|
|
102
102
|
private _setEqualWidths;
|
|
103
103
|
setDisabledState(disabled: boolean): void;
|
|
@@ -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
|
|
@@ -217,6 +222,7 @@ export declare class CpsSelectComponent implements ControlValueAccessor, OnInit,
|
|
|
217
222
|
setDisabledState(disabled: boolean): void;
|
|
218
223
|
onBlur(): void;
|
|
219
224
|
focus(): void;
|
|
225
|
+
isEmptyValue(): boolean;
|
|
220
226
|
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>;
|
|
227
|
+
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
228
|
}
|