ud-components 0.5.27 → 0.5.28
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.
|
@@ -72,6 +72,10 @@ export interface TableDisplayColumn {
|
|
|
72
72
|
* Options for editable columns that use a dropdown (the enum values to pick from).
|
|
73
73
|
*/
|
|
74
74
|
editOptions?: UdSelectOption[];
|
|
75
|
+
/**
|
|
76
|
+
* When provided, the column filter renders a dropdown instead of a text input.
|
|
77
|
+
*/
|
|
78
|
+
filterOptions?: UdSelectOption[];
|
|
75
79
|
/**
|
|
76
80
|
* When true, the edit dropdown allows selecting multiple values.
|
|
77
81
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { UdInputSize } from '../text-input/text-input.component';
|
|
2
3
|
import { FormControl } from '@angular/forms';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export interface UdSelectOption {
|
|
@@ -37,6 +38,7 @@ export declare class MultiSelectComponent implements OnInit, OnChanges, OnDestro
|
|
|
37
38
|
* Default: "+{n} more"
|
|
38
39
|
*/
|
|
39
40
|
moreText: string;
|
|
41
|
+
size: UdInputSize;
|
|
40
42
|
loading: boolean;
|
|
41
43
|
disabled: boolean;
|
|
42
44
|
hint: string;
|
|
@@ -52,5 +54,5 @@ export declare class MultiSelectComponent implements OnInit, OnChanges, OnDestro
|
|
|
52
54
|
getMoreText(count: number): string;
|
|
53
55
|
private buildLabelMap;
|
|
54
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "ud-multi-select", never, { "controlName": { "alias": "controlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFontSet": { "alias": "iconFontSet"; "required": false; }; "options": { "alias": "options"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "maxChipsVisible": { "alias": "maxChipsVisible"; "required": false; }; "moreText": { "alias": "moreText"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; }, {}, never, never, true, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "ud-multi-select", never, { "controlName": { "alias": "controlName"; "required": true; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconFontSet": { "alias": "iconFontSet"; "required": false; }; "options": { "alias": "options"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "maxChipsVisible": { "alias": "maxChipsVisible"; "required": false; }; "moreText": { "alias": "moreText"; "required": false; }; "size": { "alias": "size"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; }, {}, never, never, true, never>;
|
|
56
58
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ud-components",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.28",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": ">=19",
|
|
6
6
|
"@angular/common": ">=19",
|
|
@@ -21,30 +21,6 @@
|
|
|
21
21
|
".": {
|
|
22
22
|
"types": "./index.d.ts",
|
|
23
23
|
"default": "./fesm2022/ud-components.mjs"
|
|
24
|
-
},
|
|
25
|
-
"./enums/role.enum": {
|
|
26
|
-
"types": "./enums/role.enum.d.ts",
|
|
27
|
-
"default": "./enums/role.enum.js"
|
|
28
|
-
},
|
|
29
|
-
"./lib/kpi/kpi.enum": {
|
|
30
|
-
"types": "./lib/kpi/kpi.enum.d.ts",
|
|
31
|
-
"default": "./lib/kpi/kpi.enum.js"
|
|
32
|
-
},
|
|
33
|
-
"./lib/edit-view/edit-view-section.directive": {
|
|
34
|
-
"types": "./lib/edit-view/edit-view-section.directive.d.ts",
|
|
35
|
-
"default": "./lib/edit-view/edit-view-section.directive.js"
|
|
36
|
-
},
|
|
37
|
-
"./interfaces/page-request.interface": {
|
|
38
|
-
"types": "./interfaces/page-request.interface.d.ts",
|
|
39
|
-
"default": "./interfaces/page-request.interface.js"
|
|
40
|
-
},
|
|
41
|
-
"./interfaces/table.interface": {
|
|
42
|
-
"types": "./interfaces/table.interface.d.ts",
|
|
43
|
-
"default": "./interfaces/table.interface.js"
|
|
44
|
-
},
|
|
45
|
-
"./interfaces/table-display-column.interface": {
|
|
46
|
-
"types": "./interfaces/table-display-column.interface.d.ts",
|
|
47
|
-
"default": "./interfaces/table-display-column.interface.js"
|
|
48
24
|
}
|
|
49
25
|
}
|
|
50
|
-
}
|
|
26
|
+
}
|