@unipin/angular-applet 18.9.4 → 18.9.5
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/package.json +1 -1
- package/projects/unipin-angular/package.json +1 -1
- package/projects/unipin-angular/src/lib/components/filter/filter.component.html +1 -0
- package/projects/unipin-angular/src/lib/components/filter/interfaces/filter-field.interface.ts +7 -0
- package/projects/unipin-angular/src/lib/components/forms/select/form-select.component.html +1 -0
- package/projects/unipin-angular/src/lib/components/forms/select/form-select.component.ts +7 -0
package/package.json
CHANGED
package/projects/unipin-angular/src/lib/components/filter/interfaces/filter-field.interface.ts
CHANGED
|
@@ -70,4 +70,11 @@ export interface FilterField {
|
|
|
70
70
|
* @type {string}
|
|
71
71
|
*/
|
|
72
72
|
max?: string;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Property to group options for select-like fields (select, searchable-select, checkbox).
|
|
76
|
+
* It allows to group options by a specified field.
|
|
77
|
+
* @type {string}
|
|
78
|
+
*/
|
|
79
|
+
groupBy?: string;
|
|
73
80
|
}
|
|
@@ -108,6 +108,13 @@ export class FormSelectComponent implements ControlValueAccessor, Validator {
|
|
|
108
108
|
*/
|
|
109
109
|
@Input() public appendTo: string = '';
|
|
110
110
|
|
|
111
|
+
/**
|
|
112
|
+
* Input variable specifying how to group the items in the select input.
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @default ''
|
|
115
|
+
*/
|
|
116
|
+
@Input() public groupBy: string = '';
|
|
117
|
+
|
|
111
118
|
/**
|
|
112
119
|
* Boolean flag indicating whether the select input has been touched.
|
|
113
120
|
* @type {boolean}
|