@ni/nimble-angular 17.6.0 → 17.6.2
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/directives/radio/nimble-radio-control-value-accessor.directive.mjs +1 -1
- package/esm2020/table-column/anchor/nimble-table-column-anchor.directive.mjs +49 -5
- package/esm2020/table-column/date-text/nimble-table-column-date-text.directive.mjs +49 -4
- package/esm2020/table-column/enum-text/nimble-table-column-enum-text.directive.mjs +49 -4
- package/esm2020/table-column/icon/nimble-table-column-icon.directive.mjs +49 -4
- package/esm2020/table-column/nimble-table-column-base.directive.mjs +1 -1
- package/esm2020/table-column/number-text/nimble-table-column-number-text.directive.mjs +49 -5
- package/esm2020/table-column/public-api.mjs +1 -3
- package/esm2020/table-column/text/nimble-table-column-text.directive.mjs +54 -6
- package/fesm2015/ni-nimble-angular-table-column-anchor.mjs +48 -4
- package/fesm2015/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-date-text.mjs +48 -3
- package/fesm2015/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-enum-text.mjs +48 -3
- package/fesm2015/ni-nimble-angular-table-column-enum-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-icon.mjs +48 -3
- package/fesm2015/ni-nimble-angular-table-column-icon.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-number-text.mjs +48 -4
- package/fesm2015/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-text.mjs +53 -5
- package/fesm2015/ni-nimble-angular-table-column-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column.mjs +1 -79
- package/fesm2015/ni-nimble-angular-table-column.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-anchor.mjs +48 -4
- package/fesm2020/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-date-text.mjs +48 -3
- package/fesm2020/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-enum-text.mjs +48 -3
- package/fesm2020/ni-nimble-angular-table-column-enum-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-icon.mjs +48 -3
- package/fesm2020/ni-nimble-angular-table-column-icon.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-number-text.mjs +48 -4
- package/fesm2020/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-text.mjs +53 -5
- package/fesm2020/ni-nimble-angular-table-column-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column.mjs +1 -79
- package/fesm2020/ni-nimble-angular-table-column.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/table-column/anchor/nimble-table-column-anchor.directive.d.ts +11 -40
- package/table-column/date-text/nimble-table-column-date-text.directive.d.ts +11 -39
- package/table-column/enum-text/nimble-table-column-enum-text.directive.d.ts +11 -39
- package/table-column/icon/nimble-table-column-icon.directive.d.ts +11 -39
- package/table-column/nimble-table-column-base.directive.d.ts +2 -4
- package/table-column/number-text/nimble-table-column-number-text.directive.d.ts +11 -40
- package/table-column/public-api.d.ts +0 -2
- package/table-column/text/nimble-table-column-text.directive.d.ts +13 -39
- package/esm2020/table-column/mixins/fractional-width-column.mjs +0 -42
- package/esm2020/table-column/mixins/groupable-column.mjs +0 -42
- package/table-column/mixins/fractional-width-column.d.ts +0 -22
- package/table-column/mixins/groupable-column.d.ts +0 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/nimble-angular",
|
|
3
|
-
"version": "17.6.
|
|
3
|
+
"version": "17.6.2",
|
|
4
4
|
"description": "Angular components for the NI Nimble Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"@angular/forms": "^14.2.0",
|
|
197
197
|
"@angular/localize": "^14.2.0",
|
|
198
198
|
"@angular/router": "^14.2.0",
|
|
199
|
-
"@ni/nimble-components": "^20.6.
|
|
199
|
+
"@ni/nimble-components": "^20.6.3"
|
|
200
200
|
},
|
|
201
201
|
"dependencies": {
|
|
202
202
|
"tslib": "^2.2.0"
|
|
@@ -1,53 +1,16 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
2
|
import { type TableColumnAnchor, tableColumnAnchorTag } from '@ni/nimble-components/dist/esm/table-column/anchor';
|
|
3
3
|
import { AnchorAppearance } from '@ni/nimble-components/dist/esm/anchor/types';
|
|
4
|
-
import { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
4
|
+
import { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
5
5
|
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export type { TableColumnAnchor };
|
|
8
8
|
export { tableColumnAnchorTag };
|
|
9
9
|
export { AnchorAppearance };
|
|
10
|
-
declare const NimbleTableColumnAnchorDirective_base: (abstract new (...args: any[]) => {
|
|
11
|
-
fractionalWidth: number | null | undefined;
|
|
12
|
-
minPixelWidth: number | null | undefined;
|
|
13
|
-
columnId: string | undefined;
|
|
14
|
-
actionMenuSlot: string | undefined;
|
|
15
|
-
actionMenuLabel: string | undefined;
|
|
16
|
-
columnHidden: boolean;
|
|
17
|
-
sortDirection: import("@ni/nimble-angular/table-column").TableColumnSortDirection;
|
|
18
|
-
sortIndex: number | null | undefined;
|
|
19
|
-
readonly renderer: Renderer2;
|
|
20
|
-
readonly elementRef: ElementRef<import("@ni/nimble-components/dist/esm/table-column/base").TableColumn<unknown> & {
|
|
21
|
-
fractionalWidth?: number | null | undefined;
|
|
22
|
-
minPixelWidth?: number | null | undefined;
|
|
23
|
-
}>;
|
|
24
|
-
checkValidity(): boolean;
|
|
25
|
-
readonly validity: import("@ni/nimble-angular/table-column").TableColumnValidity;
|
|
26
|
-
}) & (abstract new (...args: any[]) => {
|
|
27
|
-
groupIndex: number | null | undefined;
|
|
28
|
-
groupingDisabled: boolean;
|
|
29
|
-
columnId: string | undefined;
|
|
30
|
-
actionMenuSlot: string | undefined;
|
|
31
|
-
actionMenuLabel: string | undefined;
|
|
32
|
-
columnHidden: boolean;
|
|
33
|
-
sortDirection: import("@ni/nimble-angular/table-column").TableColumnSortDirection;
|
|
34
|
-
sortIndex: number | null | undefined;
|
|
35
|
-
readonly renderer: Renderer2;
|
|
36
|
-
readonly elementRef: ElementRef<import("@ni/nimble-components/dist/esm/table-column/base").TableColumn<unknown> & {
|
|
37
|
-
groupingDisabled: boolean;
|
|
38
|
-
groupIndex?: number | null | undefined;
|
|
39
|
-
}>;
|
|
40
|
-
checkValidity(): boolean;
|
|
41
|
-
readonly validity: import("@ni/nimble-angular/table-column").TableColumnValidity;
|
|
42
|
-
}) & {
|
|
43
|
-
new (renderer: Renderer2, elementRef: ElementRef<TableColumnAnchor>): NimbleTableColumnBaseDirective<TableColumnAnchor>;
|
|
44
|
-
ɵfac: unknown;
|
|
45
|
-
ɵdir: unknown;
|
|
46
|
-
};
|
|
47
10
|
/**
|
|
48
11
|
* Directive to provide Angular integration for the table column element for links.
|
|
49
12
|
*/
|
|
50
|
-
export declare class NimbleTableColumnAnchorDirective extends
|
|
13
|
+
export declare class NimbleTableColumnAnchorDirective extends NimbleTableColumnBaseDirective<TableColumnAnchor> {
|
|
51
14
|
get labelFieldName(): string | undefined;
|
|
52
15
|
set labelFieldName(value: string | undefined);
|
|
53
16
|
get hrefFieldName(): string | undefined;
|
|
@@ -70,7 +33,15 @@ export declare class NimbleTableColumnAnchorDirective extends NimbleTableColumnA
|
|
|
70
33
|
set type(value: string | undefined);
|
|
71
34
|
get download(): string | undefined;
|
|
72
35
|
set download(value: string | undefined);
|
|
36
|
+
get fractionalWidth(): number | null | undefined;
|
|
37
|
+
set fractionalWidth(value: NumberValueOrAttribute | null | undefined);
|
|
38
|
+
get minPixelWidth(): number | null | undefined;
|
|
39
|
+
set minPixelWidth(value: NumberValueOrAttribute | null | undefined);
|
|
40
|
+
get groupIndex(): number | null | undefined;
|
|
41
|
+
set groupIndex(value: NumberValueOrAttribute | null | undefined);
|
|
42
|
+
get groupingDisabled(): boolean;
|
|
43
|
+
set groupingDisabled(value: BooleanValueOrAttribute);
|
|
73
44
|
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnAnchor>);
|
|
74
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnAnchorDirective, never>;
|
|
75
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnAnchorDirective, "nimble-table-column-anchor", never, { "labelFieldName": "label-field-name"; "hrefFieldName": "href-field-name"; "appearance": "appearance"; "underlineHidden": "underline-hidden"; "hreflang": "hreflang"; "ping": "ping"; "referrerpolicy": "referrerpolicy"; "rel": "rel"; "target": "target"; "type": "type"; "download": "download"; }, {}, never, never, false>;
|
|
46
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnAnchorDirective, "nimble-table-column-anchor", never, { "labelFieldName": "label-field-name"; "hrefFieldName": "href-field-name"; "appearance": "appearance"; "underlineHidden": "underline-hidden"; "hreflang": "hreflang"; "ping": "ping"; "referrerpolicy": "referrerpolicy"; "rel": "rel"; "target": "target"; "type": "type"; "download": "download"; "fractionalWidth": "fractional-width"; "minPixelWidth": "min-pixel-width"; "groupIndex": "group-index"; "groupingDisabled": "grouping-disabled"; }, {}, never, never, false>;
|
|
76
47
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
2
|
import { type TableColumnDateText, tableColumnDateTextTag } from '@ni/nimble-components/dist/esm/table-column/date-text';
|
|
3
|
+
import { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
3
4
|
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
4
5
|
import { DateTextFormat, DateStyle, DayFormat, DayPeriodFormat, EraFormat, FormatMatcherAlgorithm, HourCycleFormat, HourFormat, LocaleMatcherAlgorithm, MinuteFormat, MonthFormat, SecondFormat, TimeStyle, TimeZoneNameFormat, WeekdayFormat, YearFormat } from '@ni/nimble-components/dist/esm/table-column/date-text/types';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
@@ -21,47 +22,10 @@ export { TimeZoneNameFormat };
|
|
|
21
22
|
export { WeekdayFormat };
|
|
22
23
|
export { YearFormat };
|
|
23
24
|
export { tableColumnDateTextTag };
|
|
24
|
-
declare const NimbleTableColumnDateTextDirective_base: (abstract new (...args: any[]) => {
|
|
25
|
-
fractionalWidth: number | null | undefined;
|
|
26
|
-
minPixelWidth: number | null | undefined;
|
|
27
|
-
columnId: string | undefined;
|
|
28
|
-
actionMenuSlot: string | undefined;
|
|
29
|
-
actionMenuLabel: string | undefined;
|
|
30
|
-
columnHidden: boolean;
|
|
31
|
-
sortDirection: import("@ni/nimble-angular/table-column").TableColumnSortDirection;
|
|
32
|
-
sortIndex: number | null | undefined;
|
|
33
|
-
readonly renderer: Renderer2;
|
|
34
|
-
readonly elementRef: ElementRef<import("@ni/nimble-components/dist/esm/table-column/base").TableColumn<unknown> & {
|
|
35
|
-
fractionalWidth?: number | null | undefined;
|
|
36
|
-
minPixelWidth?: number | null | undefined;
|
|
37
|
-
}>;
|
|
38
|
-
checkValidity(): boolean;
|
|
39
|
-
readonly validity: import("@ni/nimble-angular/table-column").TableColumnValidity;
|
|
40
|
-
}) & (abstract new (...args: any[]) => {
|
|
41
|
-
groupIndex: number | null | undefined;
|
|
42
|
-
groupingDisabled: boolean;
|
|
43
|
-
columnId: string | undefined;
|
|
44
|
-
actionMenuSlot: string | undefined;
|
|
45
|
-
actionMenuLabel: string | undefined;
|
|
46
|
-
columnHidden: boolean;
|
|
47
|
-
sortDirection: import("@ni/nimble-angular/table-column").TableColumnSortDirection;
|
|
48
|
-
sortIndex: number | null | undefined;
|
|
49
|
-
readonly renderer: Renderer2;
|
|
50
|
-
readonly elementRef: ElementRef<import("@ni/nimble-components/dist/esm/table-column/base").TableColumn<unknown> & {
|
|
51
|
-
groupingDisabled: boolean;
|
|
52
|
-
groupIndex?: number | null | undefined;
|
|
53
|
-
}>;
|
|
54
|
-
checkValidity(): boolean;
|
|
55
|
-
readonly validity: import("@ni/nimble-angular/table-column").TableColumnValidity;
|
|
56
|
-
}) & {
|
|
57
|
-
new (renderer: Renderer2, elementRef: ElementRef<TableColumnDateText>): NimbleTableColumnBaseDirective<TableColumnDateText>;
|
|
58
|
-
ɵfac: unknown;
|
|
59
|
-
ɵdir: unknown;
|
|
60
|
-
};
|
|
61
25
|
/**
|
|
62
26
|
* Directive to provide Angular integration for the table column element for date text.
|
|
63
27
|
*/
|
|
64
|
-
export declare class NimbleTableColumnDateTextDirective extends
|
|
28
|
+
export declare class NimbleTableColumnDateTextDirective extends NimbleTableColumnBaseDirective<TableColumnDateText> {
|
|
65
29
|
get fieldName(): string | undefined;
|
|
66
30
|
set fieldName(value: string | undefined);
|
|
67
31
|
get format(): DateTextFormat;
|
|
@@ -104,7 +68,15 @@ export declare class NimbleTableColumnDateTextDirective extends NimbleTableColum
|
|
|
104
68
|
set customTimeStyle(value: TimeStyle);
|
|
105
69
|
get customHourCycle(): HourCycleFormat;
|
|
106
70
|
set customHourCycle(value: HourCycleFormat);
|
|
71
|
+
get fractionalWidth(): number | null | undefined;
|
|
72
|
+
set fractionalWidth(value: NumberValueOrAttribute | null | undefined);
|
|
73
|
+
get minPixelWidth(): number | null | undefined;
|
|
74
|
+
set minPixelWidth(value: NumberValueOrAttribute | null | undefined);
|
|
75
|
+
get groupIndex(): number | null | undefined;
|
|
76
|
+
set groupIndex(value: NumberValueOrAttribute | null | undefined);
|
|
77
|
+
get groupingDisabled(): boolean;
|
|
78
|
+
set groupingDisabled(value: BooleanValueOrAttribute);
|
|
107
79
|
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnDateText>);
|
|
108
80
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnDateTextDirective, never>;
|
|
109
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnDateTextDirective, "nimble-table-column-date-text", never, { "fieldName": "field-name"; "format": "format"; "customLocaleMatcher": "custom-locale-matcher"; "customWeekday": "custom-weekday"; "customEra": "custom-era"; "customYear": "custom-year"; "customMonth": "custom-month"; "customDay": "custom-day"; "customHour": "custom-hour"; "customMinute": "custom-minute"; "customSecond": "custom-second"; "customTimeZoneName": "custom-time-zone-name"; "customFormatMatcher": "custom-format-matcher"; "customHour12": "custom-hour12"; "customTimeZone": "custom-time-zone"; "customCalendar": "custom-calendar"; "customDayPeriod": "custom-day-period"; "customNumberingSystem": "custom-numbering-system"; "customDateStyle": "custom-date-style"; "customTimeStyle": "custom-time-style"; "customHourCycle": "custom-hour-cycle"; }, {}, never, never, false>;
|
|
81
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnDateTextDirective, "nimble-table-column-date-text", never, { "fieldName": "field-name"; "format": "format"; "customLocaleMatcher": "custom-locale-matcher"; "customWeekday": "custom-weekday"; "customEra": "custom-era"; "customYear": "custom-year"; "customMonth": "custom-month"; "customDay": "custom-day"; "customHour": "custom-hour"; "customMinute": "custom-minute"; "customSecond": "custom-second"; "customTimeZoneName": "custom-time-zone-name"; "customFormatMatcher": "custom-format-matcher"; "customHour12": "custom-hour12"; "customTimeZone": "custom-time-zone"; "customCalendar": "custom-calendar"; "customDayPeriod": "custom-day-period"; "customNumberingSystem": "custom-numbering-system"; "customDateStyle": "custom-date-style"; "customTimeStyle": "custom-time-style"; "customHourCycle": "custom-hour-cycle"; "fractionalWidth": "fractional-width"; "minPixelWidth": "min-pixel-width"; "groupIndex": "group-index"; "groupingDisabled": "grouping-disabled"; }, {}, never, never, false>;
|
|
110
82
|
}
|
|
@@ -1,57 +1,29 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
2
|
import { type TableColumnEnumText, tableColumnEnumTextTag } from '@ni/nimble-components/dist/esm/table-column/enum-text';
|
|
3
|
+
import { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
3
4
|
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
4
5
|
import { MappingKeyType } from '@ni/nimble-components/dist/esm/table-column/enum-base/types';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export { MappingKeyType };
|
|
7
8
|
export type { TableColumnEnumText };
|
|
8
9
|
export { tableColumnEnumTextTag };
|
|
9
|
-
declare const NimbleTableColumnEnumTextDirective_base: (abstract new (...args: any[]) => {
|
|
10
|
-
fractionalWidth: number | null | undefined;
|
|
11
|
-
minPixelWidth: number | null | undefined;
|
|
12
|
-
columnId: string | undefined;
|
|
13
|
-
actionMenuSlot: string | undefined;
|
|
14
|
-
actionMenuLabel: string | undefined;
|
|
15
|
-
columnHidden: boolean;
|
|
16
|
-
sortDirection: import("@ni/nimble-angular/table-column").TableColumnSortDirection;
|
|
17
|
-
sortIndex: number | null | undefined;
|
|
18
|
-
readonly renderer: Renderer2;
|
|
19
|
-
readonly elementRef: ElementRef<import("@ni/nimble-components/dist/esm/table-column/base").TableColumn<unknown> & {
|
|
20
|
-
fractionalWidth?: number | null | undefined;
|
|
21
|
-
minPixelWidth?: number | null | undefined;
|
|
22
|
-
}>;
|
|
23
|
-
checkValidity(): boolean;
|
|
24
|
-
readonly validity: import("@ni/nimble-angular/table-column").TableColumnValidity;
|
|
25
|
-
}) & (abstract new (...args: any[]) => {
|
|
26
|
-
groupIndex: number | null | undefined;
|
|
27
|
-
groupingDisabled: boolean;
|
|
28
|
-
columnId: string | undefined;
|
|
29
|
-
actionMenuSlot: string | undefined;
|
|
30
|
-
actionMenuLabel: string | undefined;
|
|
31
|
-
columnHidden: boolean;
|
|
32
|
-
sortDirection: import("@ni/nimble-angular/table-column").TableColumnSortDirection;
|
|
33
|
-
sortIndex: number | null | undefined;
|
|
34
|
-
readonly renderer: Renderer2;
|
|
35
|
-
readonly elementRef: ElementRef<import("@ni/nimble-components/dist/esm/table-column/base").TableColumn<unknown> & {
|
|
36
|
-
groupingDisabled: boolean;
|
|
37
|
-
groupIndex?: number | null | undefined;
|
|
38
|
-
}>;
|
|
39
|
-
checkValidity(): boolean;
|
|
40
|
-
readonly validity: import("@ni/nimble-angular/table-column").TableColumnValidity;
|
|
41
|
-
}) & {
|
|
42
|
-
new (renderer: Renderer2, elementRef: ElementRef<TableColumnEnumText>): NimbleTableColumnBaseDirective<TableColumnEnumText>;
|
|
43
|
-
ɵfac: unknown;
|
|
44
|
-
ɵdir: unknown;
|
|
45
|
-
};
|
|
46
10
|
/**
|
|
47
11
|
* Directive to provide Angular integration for the table column element for enum text.
|
|
48
12
|
*/
|
|
49
|
-
export declare class NimbleTableColumnEnumTextDirective extends
|
|
13
|
+
export declare class NimbleTableColumnEnumTextDirective extends NimbleTableColumnBaseDirective<TableColumnEnumText> {
|
|
50
14
|
get fieldName(): string | undefined;
|
|
51
15
|
set fieldName(value: string | undefined);
|
|
52
16
|
get keyType(): MappingKeyType;
|
|
53
17
|
set keyType(value: MappingKeyType);
|
|
18
|
+
get fractionalWidth(): number | null | undefined;
|
|
19
|
+
set fractionalWidth(value: NumberValueOrAttribute | null | undefined);
|
|
20
|
+
get minPixelWidth(): number | null | undefined;
|
|
21
|
+
set minPixelWidth(value: NumberValueOrAttribute | null | undefined);
|
|
22
|
+
get groupIndex(): number | null | undefined;
|
|
23
|
+
set groupIndex(value: NumberValueOrAttribute | null | undefined);
|
|
24
|
+
get groupingDisabled(): boolean;
|
|
25
|
+
set groupingDisabled(value: BooleanValueOrAttribute);
|
|
54
26
|
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnEnumText>);
|
|
55
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnEnumTextDirective, never>;
|
|
56
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnEnumTextDirective, "nimble-table-column-enum-text", never, { "fieldName": "field-name"; "keyType": "key-type"; }, {}, never, never, false>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnEnumTextDirective, "nimble-table-column-enum-text", never, { "fieldName": "field-name"; "keyType": "key-type"; "fractionalWidth": "fractional-width"; "minPixelWidth": "min-pixel-width"; "groupIndex": "group-index"; "groupingDisabled": "grouping-disabled"; }, {}, never, never, false>;
|
|
57
29
|
}
|
|
@@ -1,56 +1,28 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
2
|
import { type TableColumnIcon, tableColumnIconTag } from '@ni/nimble-components/dist/esm/table-column/icon';
|
|
3
|
+
import { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
3
4
|
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
4
5
|
import type { MappingKeyType } from '@ni/nimble-components/dist/esm/table-column/enum-base/types';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export type { TableColumnIcon };
|
|
7
8
|
export { tableColumnIconTag };
|
|
8
|
-
declare const NimbleTableColumnIconDirective_base: (abstract new (...args: any[]) => {
|
|
9
|
-
fractionalWidth: number | null | undefined;
|
|
10
|
-
minPixelWidth: number | null | undefined;
|
|
11
|
-
columnId: string | undefined;
|
|
12
|
-
actionMenuSlot: string | undefined;
|
|
13
|
-
actionMenuLabel: string | undefined;
|
|
14
|
-
columnHidden: boolean;
|
|
15
|
-
sortDirection: import("@ni/nimble-angular/table-column").TableColumnSortDirection;
|
|
16
|
-
sortIndex: number | null | undefined;
|
|
17
|
-
readonly renderer: Renderer2;
|
|
18
|
-
readonly elementRef: ElementRef<import("@ni/nimble-components/dist/esm/table-column/base").TableColumn<unknown> & {
|
|
19
|
-
fractionalWidth?: number | null | undefined;
|
|
20
|
-
minPixelWidth?: number | null | undefined;
|
|
21
|
-
}>;
|
|
22
|
-
checkValidity(): boolean;
|
|
23
|
-
readonly validity: import("@ni/nimble-angular/table-column").TableColumnValidity;
|
|
24
|
-
}) & (abstract new (...args: any[]) => {
|
|
25
|
-
groupIndex: number | null | undefined;
|
|
26
|
-
groupingDisabled: boolean;
|
|
27
|
-
columnId: string | undefined;
|
|
28
|
-
actionMenuSlot: string | undefined;
|
|
29
|
-
actionMenuLabel: string | undefined;
|
|
30
|
-
columnHidden: boolean;
|
|
31
|
-
sortDirection: import("@ni/nimble-angular/table-column").TableColumnSortDirection;
|
|
32
|
-
sortIndex: number | null | undefined;
|
|
33
|
-
readonly renderer: Renderer2;
|
|
34
|
-
readonly elementRef: ElementRef<import("@ni/nimble-components/dist/esm/table-column/base").TableColumn<unknown> & {
|
|
35
|
-
groupingDisabled: boolean;
|
|
36
|
-
groupIndex?: number | null | undefined;
|
|
37
|
-
}>;
|
|
38
|
-
checkValidity(): boolean;
|
|
39
|
-
readonly validity: import("@ni/nimble-angular/table-column").TableColumnValidity;
|
|
40
|
-
}) & {
|
|
41
|
-
new (renderer: Renderer2, elementRef: ElementRef<TableColumnIcon>): NimbleTableColumnBaseDirective<TableColumnIcon>;
|
|
42
|
-
ɵfac: unknown;
|
|
43
|
-
ɵdir: unknown;
|
|
44
|
-
};
|
|
45
9
|
/**
|
|
46
10
|
* Directive to provide Angular integration for the table column element for icons/spinners.
|
|
47
11
|
*/
|
|
48
|
-
export declare class NimbleTableColumnIconDirective extends
|
|
12
|
+
export declare class NimbleTableColumnIconDirective extends NimbleTableColumnBaseDirective<TableColumnIcon> {
|
|
49
13
|
get fieldName(): string | undefined;
|
|
50
14
|
set fieldName(value: string | undefined);
|
|
51
15
|
get keyType(): MappingKeyType;
|
|
52
16
|
set keyType(value: MappingKeyType);
|
|
17
|
+
get fractionalWidth(): number | null | undefined;
|
|
18
|
+
set fractionalWidth(value: NumberValueOrAttribute | null | undefined);
|
|
19
|
+
get minPixelWidth(): number | null | undefined;
|
|
20
|
+
set minPixelWidth(value: NumberValueOrAttribute | null | undefined);
|
|
21
|
+
get groupIndex(): number | null | undefined;
|
|
22
|
+
set groupIndex(value: NumberValueOrAttribute | null | undefined);
|
|
23
|
+
get groupingDisabled(): boolean;
|
|
24
|
+
set groupingDisabled(value: BooleanValueOrAttribute);
|
|
53
25
|
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnIcon>);
|
|
54
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnIconDirective, never>;
|
|
55
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnIconDirective, "nimble-table-column-icon", never, { "fieldName": "field-name"; "keyType": "key-type"; }, {}, never, never, false>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnIconDirective, "nimble-table-column-icon", never, { "fieldName": "field-name"; "keyType": "key-type"; "fractionalWidth": "fractional-width"; "minPixelWidth": "min-pixel-width"; "groupIndex": "group-index"; "groupingDisabled": "grouping-disabled"; }, {}, never, never, false>;
|
|
56
28
|
}
|
|
@@ -9,6 +9,8 @@ export { TableColumnSortDirection, DelegatedEventEventDetails, TableColumnValidi
|
|
|
9
9
|
* Base class for table column directives.
|
|
10
10
|
*/
|
|
11
11
|
export declare class NimbleTableColumnBaseDirective<T extends TableColumn> {
|
|
12
|
+
protected readonly renderer: Renderer2;
|
|
13
|
+
protected readonly elementRef: ElementRef<T>;
|
|
12
14
|
get columnId(): string | undefined;
|
|
13
15
|
set columnId(value: string | undefined);
|
|
14
16
|
get actionMenuSlot(): string | undefined;
|
|
@@ -21,10 +23,6 @@ export declare class NimbleTableColumnBaseDirective<T extends TableColumn> {
|
|
|
21
23
|
set sortDirection(value: TableColumnSortDirection);
|
|
22
24
|
get sortIndex(): number | null | undefined;
|
|
23
25
|
set sortIndex(value: NumberValueOrAttribute | null | undefined);
|
|
24
|
-
/** @internal */
|
|
25
|
-
readonly renderer: Renderer2;
|
|
26
|
-
/** @internal */
|
|
27
|
-
readonly elementRef: ElementRef<T>;
|
|
28
26
|
constructor(renderer: Renderer2, elementRef: ElementRef<T>);
|
|
29
27
|
checkValidity(): boolean;
|
|
30
28
|
get validity(): TableColumnValidity;
|
|
@@ -1,52 +1,15 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
2
|
+
import { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
3
3
|
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
4
4
|
import { type TableColumnNumberText, tableColumnNumberTextTag } from '@ni/nimble-components/dist/esm/table-column/number-text';
|
|
5
5
|
import { NumberTextAlignment, NumberTextFormat } from '@ni/nimble-components/dist/esm/table-column/number-text/types';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export type { TableColumnNumberText };
|
|
8
8
|
export { tableColumnNumberTextTag, NumberTextFormat, NumberTextAlignment };
|
|
9
|
-
declare const NimbleTableColumnNumberTextDirective_base: (abstract new (...args: any[]) => {
|
|
10
|
-
fractionalWidth: number | null | undefined;
|
|
11
|
-
minPixelWidth: number | null | undefined;
|
|
12
|
-
columnId: string | undefined;
|
|
13
|
-
actionMenuSlot: string | undefined;
|
|
14
|
-
actionMenuLabel: string | undefined;
|
|
15
|
-
columnHidden: boolean;
|
|
16
|
-
sortDirection: import("@ni/nimble-angular/table-column").TableColumnSortDirection;
|
|
17
|
-
sortIndex: number | null | undefined;
|
|
18
|
-
readonly renderer: Renderer2;
|
|
19
|
-
readonly elementRef: ElementRef<import("@ni/nimble-components/dist/esm/table-column/base").TableColumn<unknown> & {
|
|
20
|
-
fractionalWidth?: number | null | undefined;
|
|
21
|
-
minPixelWidth?: number | null | undefined;
|
|
22
|
-
}>;
|
|
23
|
-
checkValidity(): boolean;
|
|
24
|
-
readonly validity: import("@ni/nimble-angular/table-column").TableColumnValidity;
|
|
25
|
-
}) & (abstract new (...args: any[]) => {
|
|
26
|
-
groupIndex: number | null | undefined;
|
|
27
|
-
groupingDisabled: boolean;
|
|
28
|
-
columnId: string | undefined;
|
|
29
|
-
actionMenuSlot: string | undefined;
|
|
30
|
-
actionMenuLabel: string | undefined;
|
|
31
|
-
columnHidden: boolean;
|
|
32
|
-
sortDirection: import("@ni/nimble-angular/table-column").TableColumnSortDirection;
|
|
33
|
-
sortIndex: number | null | undefined;
|
|
34
|
-
readonly renderer: Renderer2;
|
|
35
|
-
readonly elementRef: ElementRef<import("@ni/nimble-components/dist/esm/table-column/base").TableColumn<unknown> & {
|
|
36
|
-
groupingDisabled: boolean;
|
|
37
|
-
groupIndex?: number | null | undefined;
|
|
38
|
-
}>;
|
|
39
|
-
checkValidity(): boolean;
|
|
40
|
-
readonly validity: import("@ni/nimble-angular/table-column").TableColumnValidity;
|
|
41
|
-
}) & {
|
|
42
|
-
new (renderer: Renderer2, elementRef: ElementRef<TableColumnNumberText>): NimbleTableColumnBaseDirective<TableColumnNumberText>;
|
|
43
|
-
ɵfac: unknown;
|
|
44
|
-
ɵdir: unknown;
|
|
45
|
-
};
|
|
46
9
|
/**
|
|
47
10
|
* Directive to provide Angular integration for the table column element for number text.
|
|
48
11
|
*/
|
|
49
|
-
export declare class NimbleTableColumnNumberTextDirective extends
|
|
12
|
+
export declare class NimbleTableColumnNumberTextDirective extends NimbleTableColumnBaseDirective<TableColumnNumberText> {
|
|
50
13
|
get fieldName(): string | undefined;
|
|
51
14
|
set fieldName(value: string | undefined);
|
|
52
15
|
get format(): NumberTextFormat;
|
|
@@ -55,7 +18,15 @@ export declare class NimbleTableColumnNumberTextDirective extends NimbleTableCol
|
|
|
55
18
|
set alignment(value: NumberTextAlignment);
|
|
56
19
|
get decimalDigits(): number | null | undefined;
|
|
57
20
|
set decimalDigits(value: NumberValueOrAttribute | null | undefined);
|
|
21
|
+
get fractionalWidth(): number | null | undefined;
|
|
22
|
+
set fractionalWidth(value: NumberValueOrAttribute | null | undefined);
|
|
23
|
+
get minPixelWidth(): number | null | undefined;
|
|
24
|
+
set minPixelWidth(value: NumberValueOrAttribute | null | undefined);
|
|
25
|
+
get groupIndex(): number | null | undefined;
|
|
26
|
+
set groupIndex(value: NumberValueOrAttribute | null | undefined);
|
|
27
|
+
get groupingDisabled(): boolean;
|
|
28
|
+
set groupingDisabled(value: BooleanValueOrAttribute);
|
|
58
29
|
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnNumberText>);
|
|
59
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnNumberTextDirective, never>;
|
|
60
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnNumberTextDirective, "nimble-table-column-number-text", never, { "fieldName": "field-name"; "format": "format"; "alignment": "alignment"; "decimalDigits": "decimal-digits"; }, {}, never, never, false>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnNumberTextDirective, "nimble-table-column-number-text", never, { "fieldName": "field-name"; "format": "format"; "alignment": "alignment"; "decimalDigits": "decimal-digits"; "fractionalWidth": "fractional-width"; "minPixelWidth": "min-pixel-width"; "groupIndex": "group-index"; "groupingDisabled": "grouping-disabled"; }, {}, never, never, false>;
|
|
61
32
|
}
|
|
@@ -1,51 +1,25 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
1
2
|
import { type TableColumnText, tableColumnTextTag } from '@ni/nimble-components/dist/esm/table-column/text';
|
|
3
|
+
import { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
2
4
|
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
6
|
export type { TableColumnText };
|
|
5
7
|
export { tableColumnTextTag };
|
|
6
|
-
declare const NimbleTableColumnTextDirective_base: (abstract new (...args: any[]) => {
|
|
7
|
-
fractionalWidth: number | null | undefined;
|
|
8
|
-
minPixelWidth: number | null | undefined;
|
|
9
|
-
columnId: string | undefined;
|
|
10
|
-
actionMenuSlot: string | undefined;
|
|
11
|
-
actionMenuLabel: string | undefined;
|
|
12
|
-
columnHidden: boolean;
|
|
13
|
-
sortDirection: import("@ni/nimble-angular/table-column").TableColumnSortDirection;
|
|
14
|
-
sortIndex: number | null | undefined;
|
|
15
|
-
readonly renderer: import("@angular/core").Renderer2;
|
|
16
|
-
readonly elementRef: import("@angular/core").ElementRef<import("@ni/nimble-components/dist/esm/table-column/base").TableColumn<unknown> & {
|
|
17
|
-
fractionalWidth?: number | null | undefined;
|
|
18
|
-
minPixelWidth?: number | null | undefined;
|
|
19
|
-
}>;
|
|
20
|
-
checkValidity(): boolean;
|
|
21
|
-
readonly validity: import("@ni/nimble-angular/table-column").TableColumnValidity;
|
|
22
|
-
}) & (abstract new (...args: any[]) => {
|
|
23
|
-
groupIndex: number | null | undefined;
|
|
24
|
-
groupingDisabled: boolean;
|
|
25
|
-
columnId: string | undefined;
|
|
26
|
-
actionMenuSlot: string | undefined;
|
|
27
|
-
actionMenuLabel: string | undefined;
|
|
28
|
-
columnHidden: boolean;
|
|
29
|
-
sortDirection: import("@ni/nimble-angular/table-column").TableColumnSortDirection;
|
|
30
|
-
sortIndex: number | null | undefined;
|
|
31
|
-
readonly renderer: import("@angular/core").Renderer2;
|
|
32
|
-
readonly elementRef: import("@angular/core").ElementRef<import("@ni/nimble-components/dist/esm/table-column/base").TableColumn<unknown> & {
|
|
33
|
-
groupingDisabled: boolean;
|
|
34
|
-
groupIndex?: number | null | undefined;
|
|
35
|
-
}>;
|
|
36
|
-
checkValidity(): boolean;
|
|
37
|
-
readonly validity: import("@ni/nimble-angular/table-column").TableColumnValidity;
|
|
38
|
-
}) & {
|
|
39
|
-
new (renderer: import("@angular/core").Renderer2, elementRef: import("@angular/core").ElementRef<TableColumnText>): NimbleTableColumnBaseDirective<TableColumnText>;
|
|
40
|
-
ɵfac: unknown;
|
|
41
|
-
ɵdir: unknown;
|
|
42
|
-
};
|
|
43
8
|
/**
|
|
44
9
|
* Directive to provide Angular integration for the table column element for text.
|
|
45
10
|
*/
|
|
46
|
-
export declare class NimbleTableColumnTextDirective extends
|
|
11
|
+
export declare class NimbleTableColumnTextDirective extends NimbleTableColumnBaseDirective<TableColumnText> {
|
|
47
12
|
get fieldName(): string | undefined;
|
|
48
13
|
set fieldName(value: string | undefined);
|
|
14
|
+
get fractionalWidth(): number | null | undefined;
|
|
15
|
+
set fractionalWidth(value: NumberValueOrAttribute | null | undefined);
|
|
16
|
+
get minPixelWidth(): number | null | undefined;
|
|
17
|
+
set minPixelWidth(value: NumberValueOrAttribute | null | undefined);
|
|
18
|
+
get groupIndex(): number | null | undefined;
|
|
19
|
+
set groupIndex(value: NumberValueOrAttribute | null | undefined);
|
|
20
|
+
get groupingDisabled(): boolean;
|
|
21
|
+
set groupingDisabled(value: BooleanValueOrAttribute);
|
|
22
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnText>);
|
|
49
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnTextDirective, never>;
|
|
50
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnTextDirective, "nimble-table-column-text", never, { "fieldName": "field-name"; }, {}, never, never, false>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnTextDirective, "nimble-table-column-text", never, { "fieldName": "field-name"; "fractionalWidth": "fractional-width"; "minPixelWidth": "min-pixel-width"; "groupIndex": "group-index"; "groupingDisabled": "grouping-disabled"; }, {}, never, never, false>;
|
|
51
25
|
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Directive, Input } from '@angular/core';
|
|
2
|
-
import { toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
// As the returned class is internal to the function, we can't write a signature that uses is directly, so rely on inference
|
|
5
|
-
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/explicit-function-return-type
|
|
6
|
-
export function mixinFractionalWidthColumnAPI(base) {
|
|
7
|
-
/**
|
|
8
|
-
* The Mixin that provides a concrete column directive with the API to support being resized
|
|
9
|
-
* proportionally within a Table.
|
|
10
|
-
*/
|
|
11
|
-
class FractionalWidthColumnDirective extends base {
|
|
12
|
-
get fractionalWidth() {
|
|
13
|
-
return this.elementRef.nativeElement.fractionalWidth;
|
|
14
|
-
}
|
|
15
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
16
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
17
|
-
set fractionalWidth(value) {
|
|
18
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
19
|
-
}
|
|
20
|
-
get minPixelWidth() {
|
|
21
|
-
return this.elementRef.nativeElement.minPixelWidth;
|
|
22
|
-
}
|
|
23
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
24
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
25
|
-
set minPixelWidth(value) {
|
|
26
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
FractionalWidthColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FractionalWidthColumnDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
30
|
-
FractionalWidthColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: FractionalWidthColumnDirective, inputs: { fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"] }, usesInheritance: true, ngImport: i0 });
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: FractionalWidthColumnDirective, decorators: [{
|
|
32
|
-
type: Directive
|
|
33
|
-
}], propDecorators: { fractionalWidth: [{
|
|
34
|
-
type: Input,
|
|
35
|
-
args: ['fractional-width']
|
|
36
|
-
}], minPixelWidth: [{
|
|
37
|
-
type: Input,
|
|
38
|
-
args: ['min-pixel-width']
|
|
39
|
-
}] } });
|
|
40
|
-
return FractionalWidthColumnDirective;
|
|
41
|
-
}
|
|
42
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnJhY3Rpb25hbC13aWR0aC1jb2x1bW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaS9uaW1ibGUtYW5ndWxhci90YWJsZS1jb2x1bW4vbWl4aW5zL2ZyYWN0aW9uYWwtd2lkdGgtY29sdW1uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBMEIsd0JBQXdCLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQzs7QUFZekcsNEhBQTRIO0FBQzVILCtIQUErSDtBQUMvSCxNQUFNLFVBQVUsNkJBQTZCLENBQWlGLElBQVc7SUFDckk7OztPQUdHO0lBQ0gsTUFDZSw4QkFBK0IsU0FBUSxJQUFJO1FBQ3RELElBQVcsZUFBZTtZQUN0QixPQUFPLElBQUksQ0FBQyxVQUFVLENBQUMsYUFBYSxDQUFDLGVBQWUsQ0FBQztRQUN6RCxDQUFDO1FBRUQsK0VBQStFO1FBQy9FLDJEQUEyRDtRQUMzRCxJQUFzQyxlQUFlLENBQUMsS0FBZ0Q7WUFDbEcsSUFBSSxDQUFDLFFBQVEsQ0FBQyxXQUFXLENBQUMsSUFBSSxDQUFD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bFdpZHRoKCk6IG51bWJlciB8IG51bGwgfCB1bmRlZmluZWQge1xuICAgICAgICAgICAgcmV0dXJuIHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50Lm1pblBpeGVsV2lkdGg7XG4gICAgICAgIH1cblxuICAgICAgICAvLyBSZW5hbWluZyBiZWNhdXNlIHByb3BlcnR5IHNob3VsZCBoYXZlIGNhbWVsIGNhc2luZywgYnV0IGF0dHJpYnV0ZSBzaG91bGQgbm90XG4gICAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAYW5ndWxhci1lc2xpbnQvbm8taW5wdXQtcmVuYW1lXG4gICAgICAgIEBJbnB1dCgnbWluLXBpeGVsLXdpZHRoJykgcHVibGljIHNldCBtaW5QaXhlbFdpZHRoKHZhbHVlOiBOdW1iZXJWYWx1ZU9yQXR0cmlidXRlIHwgbnVsbCB8IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRQcm9wZXJ0eSh0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgJ21pblBpeGVsV2lkdGgnLCB0b051bGxhYmxlTnVtYmVyUHJvcGVydHkodmFsdWUpKTtcbiAgICAgICAgfVxuICAgIH1cbiAgICByZXR1cm4gRnJhY3Rpb25hbFdpZHRoQ29sdW1uRGlyZWN0aXZlO1xufSJdfQ==
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Directive, Input } from '@angular/core';
|
|
2
|
-
import { toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
// As the returned class is internal to the function, we can't write a signature that uses is directly, so rely on inference
|
|
5
|
-
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/explicit-function-return-type
|
|
6
|
-
export function mixinGroupableColumnAPI(base) {
|
|
7
|
-
/**
|
|
8
|
-
* The Mixin that provides a concrete column directive with the API to allow grouping
|
|
9
|
-
* by the values in that column.
|
|
10
|
-
*/
|
|
11
|
-
class GroupableColumnDirective extends base {
|
|
12
|
-
get groupIndex() {
|
|
13
|
-
return this.elementRef.nativeElement.groupIndex;
|
|
14
|
-
}
|
|
15
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
16
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
17
|
-
set groupIndex(value) {
|
|
18
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
19
|
-
}
|
|
20
|
-
get groupingDisabled() {
|
|
21
|
-
return this.elementRef.nativeElement.groupingDisabled;
|
|
22
|
-
}
|
|
23
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
24
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
25
|
-
set groupingDisabled(value) {
|
|
26
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
GroupableColumnDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GroupableColumnDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
30
|
-
GroupableColumnDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: GroupableColumnDirective, inputs: { groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"] }, usesInheritance: true, ngImport: i0 });
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: GroupableColumnDirective, decorators: [{
|
|
32
|
-
type: Directive
|
|
33
|
-
}], propDecorators: { groupIndex: [{
|
|
34
|
-
type: Input,
|
|
35
|
-
args: ['group-index']
|
|
36
|
-
}], groupingDisabled: [{
|
|
37
|
-
type: Input,
|
|
38
|
-
args: ['grouping-disabled']
|
|
39
|
-
}] } });
|
|
40
|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ZGlzYWJsZS1uZXh0LWxpbmUgQGFuZ3VsYXItZXNsaW50L25vLWlucHV0LXJlbmFtZVxuICAgICAgICBASW5wdXQoJ2dyb3VwaW5nLWRpc2FibGVkJykgcHVibGljIHNldCBncm91cGluZ0Rpc2FibGVkKHZhbHVlOiBCb29sZWFuVmFsdWVPckF0dHJpYnV0ZSkge1xuICAgICAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRQcm9wZXJ0eSh0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgJ2dyb3VwaW5nRGlzYWJsZWQnLCB0b0Jvb2xlYW5Qcm9wZXJ0eSh2YWx1ZSkpO1xuICAgICAgICB9XG4gICAgfVxuICAgIHJldHVybiBHcm91cGFibGVDb2x1bW5EaXJlY3RpdmU7XG59Il19
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { TableColumn } from '@ni/nimble-components/dist/esm/table-column/base';
|
|
2
|
-
import type { NimbleTableColumnBaseDirective } from '../nimble-table-column-base.directive';
|
|
3
|
-
declare type FractionalWidthColumn = TableColumn & {
|
|
4
|
-
fractionalWidth?: number | null;
|
|
5
|
-
minPixelWidth?: number | null;
|
|
6
|
-
};
|
|
7
|
-
declare type FractionalWidthColumnDirectiveConstructor<T extends FractionalWidthColumn> = abstract new (...args: any[]) => NimbleTableColumnBaseDirective<T>;
|
|
8
|
-
export declare function mixinFractionalWidthColumnAPI<TBase extends FractionalWidthColumnDirectiveConstructor<FractionalWidthColumn>>(base: TBase): (abstract new (...args: any[]) => {
|
|
9
|
-
fractionalWidth: number | null | undefined;
|
|
10
|
-
minPixelWidth: number | null | undefined;
|
|
11
|
-
columnId: string | undefined;
|
|
12
|
-
actionMenuSlot: string | undefined;
|
|
13
|
-
actionMenuLabel: string | undefined;
|
|
14
|
-
columnHidden: boolean;
|
|
15
|
-
sortDirection: import("@ni/nimble-components/dist/esm/table/types").TableColumnSortDirection;
|
|
16
|
-
sortIndex: number | null | undefined;
|
|
17
|
-
readonly renderer: import("@angular/core").Renderer2;
|
|
18
|
-
readonly elementRef: import("@angular/core").ElementRef<FractionalWidthColumn>;
|
|
19
|
-
checkValidity(): boolean;
|
|
20
|
-
readonly validity: import("@ni/nimble-components/dist/esm/table-column/base/types").TableColumnValidity;
|
|
21
|
-
}) & TBase;
|
|
22
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { TableColumn } from '@ni/nimble-components/dist/esm/table-column/base';
|
|
2
|
-
import type { NimbleTableColumnBaseDirective } from '../nimble-table-column-base.directive';
|
|
3
|
-
declare type GroupableColumn = TableColumn & {
|
|
4
|
-
groupingDisabled: boolean;
|
|
5
|
-
groupIndex?: number | null;
|
|
6
|
-
};
|
|
7
|
-
declare type GroupableColumnDirectiveConstructor<T extends GroupableColumn> = abstract new (...args: any[]) => NimbleTableColumnBaseDirective<T>;
|
|
8
|
-
export declare function mixinGroupableColumnAPI<TBase extends GroupableColumnDirectiveConstructor<GroupableColumn>>(base: TBase): (abstract new (...args: any[]) => {
|
|
9
|
-
groupIndex: number | null | undefined;
|
|
10
|
-
groupingDisabled: boolean;
|
|
11
|
-
columnId: string | undefined;
|
|
12
|
-
actionMenuSlot: string | undefined;
|
|
13
|
-
actionMenuLabel: string | undefined;
|
|
14
|
-
columnHidden: boolean;
|
|
15
|
-
sortDirection: import("@ni/nimble-components/dist/esm/table/types").TableColumnSortDirection;
|
|
16
|
-
sortIndex: number | null | undefined;
|
|
17
|
-
readonly renderer: import("@angular/core").Renderer2;
|
|
18
|
-
readonly elementRef: import("@angular/core").ElementRef<GroupableColumn>;
|
|
19
|
-
checkValidity(): boolean;
|
|
20
|
-
readonly validity: import("@ni/nimble-components/dist/esm/table-column/base/types").TableColumnValidity;
|
|
21
|
-
}) & TBase;
|
|
22
|
-
export {};
|