@ni/nimble-angular 17.5.14 → 17.6.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/table-column/anchor/nimble-table-column-anchor.directive.mjs +5 -49
- package/esm2020/table-column/date-text/nimble-table-column-date-text.directive.mjs +4 -49
- package/esm2020/table-column/enum-text/nimble-table-column-enum-text.directive.mjs +4 -49
- package/esm2020/table-column/icon/nimble-table-column-icon.directive.mjs +4 -49
- package/esm2020/table-column/mixins/fractional-width-column.mjs +42 -0
- package/esm2020/table-column/mixins/groupable-column.mjs +42 -0
- 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 +5 -49
- package/esm2020/table-column/public-api.mjs +3 -1
- package/esm2020/table-column/text/nimble-table-column-text.directive.mjs +6 -54
- package/fesm2015/ni-nimble-angular-table-column-anchor.mjs +4 -48
- package/fesm2015/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-date-text.mjs +3 -48
- package/fesm2015/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-enum-text.mjs +3 -48
- package/fesm2015/ni-nimble-angular-table-column-enum-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-icon.mjs +3 -48
- package/fesm2015/ni-nimble-angular-table-column-icon.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-number-text.mjs +4 -48
- package/fesm2015/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-text.mjs +5 -53
- package/fesm2015/ni-nimble-angular-table-column-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column.mjs +79 -1
- package/fesm2015/ni-nimble-angular-table-column.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-anchor.mjs +4 -48
- package/fesm2020/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-date-text.mjs +3 -48
- package/fesm2020/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-enum-text.mjs +3 -48
- package/fesm2020/ni-nimble-angular-table-column-enum-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-icon.mjs +3 -48
- package/fesm2020/ni-nimble-angular-table-column-icon.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-number-text.mjs +4 -48
- package/fesm2020/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-text.mjs +5 -53
- package/fesm2020/ni-nimble-angular-table-column-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column.mjs +79 -1
- package/fesm2020/ni-nimble-angular-table-column.mjs.map +1 -1
- package/package.json +2 -2
- package/table-column/anchor/nimble-table-column-anchor.directive.d.ts +40 -11
- package/table-column/date-text/nimble-table-column-date-text.directive.d.ts +39 -11
- package/table-column/enum-text/nimble-table-column-enum-text.directive.d.ts +39 -11
- package/table-column/icon/nimble-table-column-icon.directive.d.ts +39 -11
- package/table-column/mixins/fractional-width-column.d.ts +22 -0
- package/table-column/mixins/groupable-column.d.ts +22 -0
- package/table-column/nimble-table-column-base.directive.d.ts +4 -2
- package/table-column/number-text/nimble-table-column-number-text.directive.d.ts +40 -11
- package/table-column/public-api.d.ts +2 -0
- package/table-column/text/nimble-table-column-text.directive.d.ts +39 -13
|
@@ -1,16 +1,53 @@
|
|
|
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
|
|
4
|
+
import { BooleanValueOrAttribute } 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
|
+
};
|
|
10
47
|
/**
|
|
11
48
|
* Directive to provide Angular integration for the table column element for links.
|
|
12
49
|
*/
|
|
13
|
-
export declare class NimbleTableColumnAnchorDirective extends
|
|
50
|
+
export declare class NimbleTableColumnAnchorDirective extends NimbleTableColumnAnchorDirective_base {
|
|
14
51
|
get labelFieldName(): string | undefined;
|
|
15
52
|
set labelFieldName(value: string | undefined);
|
|
16
53
|
get hrefFieldName(): string | undefined;
|
|
@@ -33,15 +70,7 @@ export declare class NimbleTableColumnAnchorDirective extends NimbleTableColumnB
|
|
|
33
70
|
set type(value: string | undefined);
|
|
34
71
|
get download(): string | undefined;
|
|
35
72
|
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);
|
|
44
73
|
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnAnchor>);
|
|
45
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnAnchorDirective, never>;
|
|
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";
|
|
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>;
|
|
47
76
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
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';
|
|
4
3
|
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
5
4
|
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';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
@@ -22,10 +21,47 @@ export { TimeZoneNameFormat };
|
|
|
22
21
|
export { WeekdayFormat };
|
|
23
22
|
export { YearFormat };
|
|
24
23
|
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
|
+
};
|
|
25
61
|
/**
|
|
26
62
|
* Directive to provide Angular integration for the table column element for date text.
|
|
27
63
|
*/
|
|
28
|
-
export declare class NimbleTableColumnDateTextDirective extends
|
|
64
|
+
export declare class NimbleTableColumnDateTextDirective extends NimbleTableColumnDateTextDirective_base {
|
|
29
65
|
get fieldName(): string | undefined;
|
|
30
66
|
set fieldName(value: string | undefined);
|
|
31
67
|
get format(): DateTextFormat;
|
|
@@ -68,15 +104,7 @@ export declare class NimbleTableColumnDateTextDirective extends NimbleTableColum
|
|
|
68
104
|
set customTimeStyle(value: TimeStyle);
|
|
69
105
|
get customHourCycle(): HourCycleFormat;
|
|
70
106
|
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);
|
|
79
107
|
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnDateText>);
|
|
80
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnDateTextDirective, never>;
|
|
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";
|
|
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>;
|
|
82
110
|
}
|
|
@@ -1,29 +1,57 @@
|
|
|
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';
|
|
4
3
|
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
5
4
|
import { MappingKeyType } from '@ni/nimble-components/dist/esm/table-column/enum-base/types';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export { MappingKeyType };
|
|
8
7
|
export type { TableColumnEnumText };
|
|
9
8
|
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
|
+
};
|
|
10
46
|
/**
|
|
11
47
|
* Directive to provide Angular integration for the table column element for enum text.
|
|
12
48
|
*/
|
|
13
|
-
export declare class NimbleTableColumnEnumTextDirective extends
|
|
49
|
+
export declare class NimbleTableColumnEnumTextDirective extends NimbleTableColumnEnumTextDirective_base {
|
|
14
50
|
get fieldName(): string | undefined;
|
|
15
51
|
set fieldName(value: string | undefined);
|
|
16
52
|
get keyType(): MappingKeyType;
|
|
17
53
|
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);
|
|
26
54
|
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnEnumText>);
|
|
27
55
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnEnumTextDirective, never>;
|
|
28
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnEnumTextDirective, "nimble-table-column-enum-text", never, { "fieldName": "field-name"; "keyType": "key-type";
|
|
56
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnEnumTextDirective, "nimble-table-column-enum-text", never, { "fieldName": "field-name"; "keyType": "key-type"; }, {}, never, never, false>;
|
|
29
57
|
}
|
|
@@ -1,28 +1,56 @@
|
|
|
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';
|
|
4
3
|
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
5
4
|
import type { MappingKeyType } from '@ni/nimble-components/dist/esm/table-column/enum-base/types';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export type { TableColumnIcon };
|
|
8
7
|
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
|
+
};
|
|
9
45
|
/**
|
|
10
46
|
* Directive to provide Angular integration for the table column element for icons/spinners.
|
|
11
47
|
*/
|
|
12
|
-
export declare class NimbleTableColumnIconDirective extends
|
|
48
|
+
export declare class NimbleTableColumnIconDirective extends NimbleTableColumnIconDirective_base {
|
|
13
49
|
get fieldName(): string | undefined;
|
|
14
50
|
set fieldName(value: string | undefined);
|
|
15
51
|
get keyType(): MappingKeyType;
|
|
16
52
|
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);
|
|
25
53
|
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnIcon>);
|
|
26
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnIconDirective, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnIconDirective, "nimble-table-column-icon", never, { "fieldName": "field-name"; "keyType": "key-type";
|
|
55
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnIconDirective, "nimble-table-column-icon", never, { "fieldName": "field-name"; "keyType": "key-type"; }, {}, never, never, false>;
|
|
28
56
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,22 @@
|
|
|
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 {};
|
|
@@ -9,8 +9,6 @@ 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>;
|
|
14
12
|
get columnId(): string | undefined;
|
|
15
13
|
set columnId(value: string | undefined);
|
|
16
14
|
get actionMenuSlot(): string | undefined;
|
|
@@ -23,6 +21,10 @@ export declare class NimbleTableColumnBaseDirective<T extends TableColumn> {
|
|
|
23
21
|
set sortDirection(value: TableColumnSortDirection);
|
|
24
22
|
get sortIndex(): number | null | undefined;
|
|
25
23
|
set sortIndex(value: NumberValueOrAttribute | null | undefined);
|
|
24
|
+
/** @internal */
|
|
25
|
+
readonly renderer: Renderer2;
|
|
26
|
+
/** @internal */
|
|
27
|
+
readonly elementRef: ElementRef<T>;
|
|
26
28
|
constructor(renderer: Renderer2, elementRef: ElementRef<T>);
|
|
27
29
|
checkValidity(): boolean;
|
|
28
30
|
get validity(): TableColumnValidity;
|
|
@@ -1,15 +1,52 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { 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
|
+
};
|
|
9
46
|
/**
|
|
10
47
|
* Directive to provide Angular integration for the table column element for number text.
|
|
11
48
|
*/
|
|
12
|
-
export declare class NimbleTableColumnNumberTextDirective extends
|
|
49
|
+
export declare class NimbleTableColumnNumberTextDirective extends NimbleTableColumnNumberTextDirective_base {
|
|
13
50
|
get fieldName(): string | undefined;
|
|
14
51
|
set fieldName(value: string | undefined);
|
|
15
52
|
get format(): NumberTextFormat;
|
|
@@ -18,15 +55,7 @@ export declare class NimbleTableColumnNumberTextDirective extends NimbleTableCol
|
|
|
18
55
|
set alignment(value: NumberTextAlignment);
|
|
19
56
|
get decimalDigits(): number | null | undefined;
|
|
20
57
|
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);
|
|
29
58
|
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnNumberText>);
|
|
30
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnNumberTextDirective, never>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnNumberTextDirective, "nimble-table-column-number-text", never, { "fieldName": "field-name"; "format": "format"; "alignment": "alignment"; "decimalDigits": "decimal-digits";
|
|
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>;
|
|
32
61
|
}
|
|
@@ -1,25 +1,51 @@
|
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
1
|
import { type TableColumnText, tableColumnTextTag } from '@ni/nimble-components/dist/esm/table-column/text';
|
|
3
|
-
import { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
4
2
|
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export type { TableColumnText };
|
|
7
5
|
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
|
+
};
|
|
8
43
|
/**
|
|
9
44
|
* Directive to provide Angular integration for the table column element for text.
|
|
10
45
|
*/
|
|
11
|
-
export declare class NimbleTableColumnTextDirective extends
|
|
46
|
+
export declare class NimbleTableColumnTextDirective extends NimbleTableColumnTextDirective_base {
|
|
12
47
|
get fieldName(): string | undefined;
|
|
13
48
|
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>);
|
|
23
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnTextDirective, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnTextDirective, "nimble-table-column-text", never, { "fieldName": "field-name";
|
|
50
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnTextDirective, "nimble-table-column-text", never, { "fieldName": "field-name"; }, {}, never, never, false>;
|
|
25
51
|
}
|