@ni/nimble-angular 24.4.5 → 24.4.7
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/esm2022/table-column/anchor/nimble-table-column-anchor.directive.mjs +29 -2
- package/esm2022/table-column/date-text/nimble-table-column-date-text.directive.mjs +29 -2
- package/esm2022/table-column/duration-text/nimble-table-column-duration-text.directive.mjs +29 -2
- package/esm2022/table-column/mapping/nimble-table-column-mapping.directive.mjs +29 -2
- package/esm2022/table-column/nimble-table-column-base.directive.mjs +3 -21
- package/esm2022/table-column/number-text/nimble-table-column-number-text.directive.mjs +29 -2
- package/esm2022/table-column/text/nimble-table-column-text.directive.mjs +29 -2
- package/fesm2022/ni-nimble-angular-table-column-anchor.mjs +28 -1
- package/fesm2022/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
- package/fesm2022/ni-nimble-angular-table-column-date-text.mjs +28 -1
- package/fesm2022/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
- package/fesm2022/ni-nimble-angular-table-column-duration-text.mjs +28 -1
- package/fesm2022/ni-nimble-angular-table-column-duration-text.mjs.map +1 -1
- package/fesm2022/ni-nimble-angular-table-column-mapping.mjs +28 -1
- package/fesm2022/ni-nimble-angular-table-column-mapping.mjs.map +1 -1
- package/fesm2022/ni-nimble-angular-table-column-number-text.mjs +28 -1
- package/fesm2022/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
- package/fesm2022/ni-nimble-angular-table-column-text.mjs +28 -1
- package/fesm2022/ni-nimble-angular-table-column-text.mjs.map +1 -1
- package/fesm2022/ni-nimble-angular-table-column.mjs +2 -20
- package/fesm2022/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 +8 -2
- package/table-column/date-text/nimble-table-column-date-text.directive.d.ts +8 -2
- package/table-column/duration-text/nimble-table-column-duration-text.directive.d.ts +8 -2
- package/table-column/mapping/nimble-table-column-mapping.directive.d.ts +8 -2
- package/table-column/nimble-table-column-base.directive.d.ts +2 -6
- package/table-column/number-text/nimble-table-column-number-text.directive.d.ts +8 -2
- package/table-column/text/nimble-table-column-text.directive.d.ts +8 -2
|
@@ -53,11 +53,29 @@ class NimbleTableColumnMappingDirective extends NimbleTableColumnBaseDirective {
|
|
|
53
53
|
set widthMode(value) {
|
|
54
54
|
this.renderer.setProperty(this.elementRef.nativeElement, 'widthMode', value);
|
|
55
55
|
}
|
|
56
|
+
get sortingDisabled() {
|
|
57
|
+
return this.elementRef.nativeElement.sortingDisabled;
|
|
58
|
+
}
|
|
59
|
+
set sortingDisabled(value) {
|
|
60
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'sortingDisabled', toBooleanProperty(value));
|
|
61
|
+
}
|
|
62
|
+
get sortDirection() {
|
|
63
|
+
return this.elementRef.nativeElement.sortDirection;
|
|
64
|
+
}
|
|
65
|
+
set sortDirection(value) {
|
|
66
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'sortDirection', value);
|
|
67
|
+
}
|
|
68
|
+
get sortIndex() {
|
|
69
|
+
return this.elementRef.nativeElement.sortIndex;
|
|
70
|
+
}
|
|
71
|
+
set sortIndex(value) {
|
|
72
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'sortIndex', toNullableNumberProperty(value));
|
|
73
|
+
}
|
|
56
74
|
constructor(renderer, elementRef) {
|
|
57
75
|
super(renderer, elementRef);
|
|
58
76
|
}
|
|
59
77
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleTableColumnMappingDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
60
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NimbleTableColumnMappingDirective, selector: "nimble-table-column-mapping", inputs: { fieldName: ["field-name", "fieldName"], keyType: ["key-type", "keyType"], fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"], widthMode: ["width-mode", "widthMode"] }, usesInheritance: true, ngImport: i0 }); }
|
|
78
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NimbleTableColumnMappingDirective, selector: "nimble-table-column-mapping", inputs: { fieldName: ["field-name", "fieldName"], keyType: ["key-type", "keyType"], fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"], widthMode: ["width-mode", "widthMode"], sortingDisabled: ["sorting-disabled", "sortingDisabled"], sortDirection: ["sort-direction", "sortDirection"], sortIndex: ["sort-index", "sortIndex"] }, usesInheritance: true, ngImport: i0 }); }
|
|
61
79
|
}
|
|
62
80
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleTableColumnMappingDirective, decorators: [{
|
|
63
81
|
type: Directive,
|
|
@@ -85,6 +103,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
85
103
|
}], widthMode: [{
|
|
86
104
|
type: Input,
|
|
87
105
|
args: ['width-mode']
|
|
106
|
+
}], sortingDisabled: [{
|
|
107
|
+
type: Input,
|
|
108
|
+
args: ['sorting-disabled']
|
|
109
|
+
}], sortDirection: [{
|
|
110
|
+
type: Input,
|
|
111
|
+
args: ['sort-direction']
|
|
112
|
+
}], sortIndex: [{
|
|
113
|
+
type: Input,
|
|
114
|
+
args: ['sort-index']
|
|
88
115
|
}] } });
|
|
89
116
|
|
|
90
117
|
class NimbleTableColumnMappingModule {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-table-column-mapping.mjs","sources":["../../../nimble-angular/table-column/mapping/nimble-table-column-mapping.directive.ts","../../../nimble-angular/table-column/mapping/nimble-table-column-mapping.module.ts","../../../nimble-angular/table-column/mapping/ni-nimble-angular-table-column-mapping.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnMapping, tableColumnMappingTag } from '@ni/nimble-components/dist/esm/table-column/mapping';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\nimport { MappingKeyType } from '@ni/nimble-components/dist/esm/table-column/enum-base/types';\nimport { TableColumnMappingWidthMode } from '@ni/nimble-components/dist/esm/table-column/mapping/types';\n\nexport { MappingKeyType, TableColumnMappingWidthMode };\nexport type { TableColumnMapping };\nexport { tableColumnMappingTag };\n\n/**\n * Directive to provide Angular integration for the table column element for mapped text/icons/spinners.\n */\n@Directive({\n selector: 'nimble-table-column-mapping'\n})\nexport class NimbleTableColumnMappingDirective extends NimbleTableColumnBaseDirective<TableColumnMapping> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get keyType(): MappingKeyType {\n return this.elementRef.nativeElement.keyType;\n }\n\n @Input('key-type') public set keyType(value: MappingKeyType) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'keyType', value);\n }\n\n public get fractionalWidth(): number | null | undefined {\n return this.elementRef.nativeElement.fractionalWidth;\n }\n\n @Input('fractional-width') public set fractionalWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));\n }\n\n public get minPixelWidth(): number | null | undefined {\n return this.elementRef.nativeElement.minPixelWidth;\n }\n\n @Input('min-pixel-width') public set minPixelWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));\n }\n\n public get groupIndex(): number | null | undefined {\n return this.elementRef.nativeElement.groupIndex;\n }\n\n @Input('group-index') public set groupIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));\n }\n\n public get groupingDisabled(): boolean {\n return this.elementRef.nativeElement.groupingDisabled;\n }\n\n @Input('grouping-disabled') public set groupingDisabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));\n }\n\n public get widthMode(): TableColumnMappingWidthMode {\n return this.elementRef.nativeElement.widthMode;\n }\n\n @Input('width-mode') public set widthMode(value: TableColumnMappingWidthMode) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'widthMode', value);\n }\n\n public constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnMapping>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnMappingDirective } from './nimble-table-column-mapping.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/mapping';\n\n@NgModule({\n declarations: [NimbleTableColumnMappingDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnMappingDirective]\n})\nexport class NimbleTableColumnMappingModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAWA;;AAEG;AAIG,MAAO,iCAAkC,SAAQ,8BAAkD,CAAA;AACrG,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;KAClD;IAED,IAAgC,SAAS,CAAC,KAAyB,EAAA;AAC/D,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,WAAW,EAAE,KAAK,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AED,IAAuC,gBAAgB,CAAC,KAA8B,EAAA;AAClF,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,kBAAkB,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC;KAC1G;AAED,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;KAClD;IAED,IAAgC,SAAS,CAAC,KAAkC,EAAA;AACxE,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;KAChF;IAED,WAAmB,CAAA,QAAmB,EAAE,UAA0C,EAAA;AAC9E,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;KAC/B;+
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-table-column-mapping.mjs","sources":["../../../nimble-angular/table-column/mapping/nimble-table-column-mapping.directive.ts","../../../nimble-angular/table-column/mapping/nimble-table-column-mapping.module.ts","../../../nimble-angular/table-column/mapping/ni-nimble-angular-table-column-mapping.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnMapping, tableColumnMappingTag } from '@ni/nimble-components/dist/esm/table-column/mapping';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective, TableColumnSortDirection } from '@ni/nimble-angular/table-column';\nimport { MappingKeyType } from '@ni/nimble-components/dist/esm/table-column/enum-base/types';\nimport { TableColumnMappingWidthMode } from '@ni/nimble-components/dist/esm/table-column/mapping/types';\n\nexport { MappingKeyType, TableColumnMappingWidthMode };\nexport type { TableColumnMapping };\nexport { tableColumnMappingTag };\n\n/**\n * Directive to provide Angular integration for the table column element for mapped text/icons/spinners.\n */\n@Directive({\n selector: 'nimble-table-column-mapping'\n})\nexport class NimbleTableColumnMappingDirective extends NimbleTableColumnBaseDirective<TableColumnMapping> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get keyType(): MappingKeyType {\n return this.elementRef.nativeElement.keyType;\n }\n\n @Input('key-type') public set keyType(value: MappingKeyType) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'keyType', value);\n }\n\n public get fractionalWidth(): number | null | undefined {\n return this.elementRef.nativeElement.fractionalWidth;\n }\n\n @Input('fractional-width') public set fractionalWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));\n }\n\n public get minPixelWidth(): number | null | undefined {\n return this.elementRef.nativeElement.minPixelWidth;\n }\n\n @Input('min-pixel-width') public set minPixelWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));\n }\n\n public get groupIndex(): number | null | undefined {\n return this.elementRef.nativeElement.groupIndex;\n }\n\n @Input('group-index') public set groupIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));\n }\n\n public get groupingDisabled(): boolean {\n return this.elementRef.nativeElement.groupingDisabled;\n }\n\n @Input('grouping-disabled') public set groupingDisabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));\n }\n\n public get widthMode(): TableColumnMappingWidthMode {\n return this.elementRef.nativeElement.widthMode;\n }\n\n @Input('width-mode') public set widthMode(value: TableColumnMappingWidthMode) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'widthMode', value);\n }\n\n public get sortingDisabled(): boolean {\n return this.elementRef.nativeElement.sortingDisabled;\n }\n\n @Input('sorting-disabled') public set sortingDisabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sortingDisabled', toBooleanProperty(value));\n }\n\n public get sortDirection(): TableColumnSortDirection {\n return this.elementRef.nativeElement.sortDirection;\n }\n\n @Input('sort-direction') public set sortDirection(value: TableColumnSortDirection) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sortDirection', value);\n }\n\n public get sortIndex(): number | null | undefined {\n return this.elementRef.nativeElement.sortIndex;\n }\n\n @Input('sort-index') public set sortIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sortIndex', toNullableNumberProperty(value));\n }\n\n public constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnMapping>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnMappingDirective } from './nimble-table-column-mapping.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/mapping';\n\n@NgModule({\n declarations: [NimbleTableColumnMappingDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnMappingDirective]\n})\nexport class NimbleTableColumnMappingModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAWA;;AAEG;AAIG,MAAO,iCAAkC,SAAQ,8BAAkD,CAAA;AACrG,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;KAClD;IAED,IAAgC,SAAS,CAAC,KAAyB,EAAA;AAC/D,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;KAChF;AAED,IAAA,IAAW,OAAO,GAAA;AACd,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,OAAO,CAAC;KAChD;IA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;ACVD;;AAEG;;;;"}
|
|
@@ -70,11 +70,29 @@ class NimbleTableColumnNumberTextDirective extends NimbleTableColumnBaseDirectiv
|
|
|
70
70
|
set groupingDisabled(value) {
|
|
71
71
|
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
72
72
|
}
|
|
73
|
+
get sortingDisabled() {
|
|
74
|
+
return this.elementRef.nativeElement.sortingDisabled;
|
|
75
|
+
}
|
|
76
|
+
set sortingDisabled(value) {
|
|
77
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'sortingDisabled', toBooleanProperty(value));
|
|
78
|
+
}
|
|
79
|
+
get sortDirection() {
|
|
80
|
+
return this.elementRef.nativeElement.sortDirection;
|
|
81
|
+
}
|
|
82
|
+
set sortDirection(value) {
|
|
83
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'sortDirection', value);
|
|
84
|
+
}
|
|
85
|
+
get sortIndex() {
|
|
86
|
+
return this.elementRef.nativeElement.sortIndex;
|
|
87
|
+
}
|
|
88
|
+
set sortIndex(value) {
|
|
89
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'sortIndex', toNullableNumberProperty(value));
|
|
90
|
+
}
|
|
73
91
|
constructor(renderer, elementRef) {
|
|
74
92
|
super(renderer, elementRef);
|
|
75
93
|
}
|
|
76
94
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleTableColumnNumberTextDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
77
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NimbleTableColumnNumberTextDirective, selector: "nimble-table-column-number-text", inputs: { fieldName: ["field-name", "fieldName"], placeholder: "placeholder", format: "format", alignment: "alignment", decimalDigits: ["decimal-digits", "decimalDigits"], decimalMaximumDigits: ["decimal-maximum-digits", "decimalMaximumDigits"], fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"] }, usesInheritance: true, ngImport: i0 }); }
|
|
95
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NimbleTableColumnNumberTextDirective, selector: "nimble-table-column-number-text", inputs: { fieldName: ["field-name", "fieldName"], placeholder: "placeholder", format: "format", alignment: "alignment", decimalDigits: ["decimal-digits", "decimalDigits"], decimalMaximumDigits: ["decimal-maximum-digits", "decimalMaximumDigits"], fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"], sortingDisabled: ["sorting-disabled", "sortingDisabled"], sortDirection: ["sort-direction", "sortDirection"], sortIndex: ["sort-index", "sortIndex"] }, usesInheritance: true, ngImport: i0 }); }
|
|
78
96
|
}
|
|
79
97
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleTableColumnNumberTextDirective, decorators: [{
|
|
80
98
|
type: Directive,
|
|
@@ -108,6 +126,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
108
126
|
}], groupingDisabled: [{
|
|
109
127
|
type: Input,
|
|
110
128
|
args: ['grouping-disabled']
|
|
129
|
+
}], sortingDisabled: [{
|
|
130
|
+
type: Input,
|
|
131
|
+
args: ['sorting-disabled']
|
|
132
|
+
}], sortDirection: [{
|
|
133
|
+
type: Input,
|
|
134
|
+
args: ['sort-direction']
|
|
135
|
+
}], sortIndex: [{
|
|
136
|
+
type: Input,
|
|
137
|
+
args: ['sort-index']
|
|
111
138
|
}] } });
|
|
112
139
|
|
|
113
140
|
class NimbleTableColumnNumberTextModule {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-table-column-number-text.mjs","sources":["../../../nimble-angular/table-column/number-text/nimble-table-column-number-text.directive.ts","../../../nimble-angular/table-column/number-text/nimble-table-column-number-text.module.ts","../../../nimble-angular/table-column/number-text/ni-nimble-angular-table-column-number-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\nimport { type TableColumnNumberText, tableColumnNumberTextTag } from '@ni/nimble-components/dist/esm/table-column/number-text';\nimport { NumberTextAlignment, NumberTextFormat } from '@ni/nimble-components/dist/esm/table-column/number-text/types';\n\nexport type { TableColumnNumberText };\nexport { tableColumnNumberTextTag, NumberTextFormat, NumberTextAlignment };\n\n/**\n * Directive to provide Angular integration for the table column element for number text.\n */\n@Directive({\n selector: 'nimble-table-column-number-text'\n})\nexport class NimbleTableColumnNumberTextDirective extends NimbleTableColumnBaseDirective<TableColumnNumberText> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get placeholder(): string | undefined {\n return this.elementRef.nativeElement.placeholder;\n }\n\n @Input() public set placeholder(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);\n }\n\n public get format(): NumberTextFormat {\n return this.elementRef.nativeElement.format;\n }\n\n @Input() public set format(value: NumberTextFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'format', value);\n }\n\n public get alignment(): NumberTextAlignment {\n return this.elementRef.nativeElement.alignment;\n }\n\n @Input() public set alignment(value: NumberTextAlignment) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'alignment', value);\n }\n\n public get decimalDigits(): number | null | undefined {\n return this.elementRef.nativeElement.decimalDigits;\n }\n\n @Input('decimal-digits') public set decimalDigits(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'decimalDigits', toNullableNumberProperty(value));\n }\n\n public get decimalMaximumDigits(): number | null | undefined {\n return this.elementRef.nativeElement.decimalMaximumDigits;\n }\n\n @Input('decimal-maximum-digits') public set decimalMaximumDigits(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'decimalMaximumDigits', toNullableNumberProperty(value));\n }\n\n public get fractionalWidth(): number | null | undefined {\n return this.elementRef.nativeElement.fractionalWidth;\n }\n\n @Input('fractional-width') public set fractionalWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));\n }\n\n public get minPixelWidth(): number | null | undefined {\n return this.elementRef.nativeElement.minPixelWidth;\n }\n\n @Input('min-pixel-width') public set minPixelWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));\n }\n\n public get groupIndex(): number | null | undefined {\n return this.elementRef.nativeElement.groupIndex;\n }\n\n @Input('group-index') public set groupIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));\n }\n\n public get groupingDisabled(): boolean {\n return this.elementRef.nativeElement.groupingDisabled;\n }\n\n @Input('grouping-disabled') public set groupingDisabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));\n }\n\n public constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnNumberText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnNumberTextDirective } from './nimble-table-column-number-text.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/number-text';\n\n@NgModule({\n declarations: [NimbleTableColumnNumberTextDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnNumberTextDirective]\n})\nexport class NimbleTableColumnNumberTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AASA;;AAEG;AAIG,MAAO,oCAAqC,SAAQ,8BAAqD,CAAA;AAC3G,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;KAClD;IAED,IAAgC,SAAS,CAAC,KAAyB,EAAA;AAC/D,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;KAChF;AAED,IAAA,IAAW,WAAW,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC;KACpD;IAED,IAAoB,WAAW,CAAC,KAAyB,EAAA;AACrD,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;KAClF;AAED,IAAA,IAAW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC;KAC/C;IAED,IAAoB,MAAM,CAAC,KAAuB,EAAA;AAC9C,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;KAC7E;AAED,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;KAClD;IAED,IAAoB,SAAS,CAAC,KAA0B,EAAA;AACpD,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAA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A,CAAA,YAAY,aACZ,oCAAoC,CAAA,EAAA,CAAA,CAAA,EAAA;AAErC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iCAAiC,YAHhC,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAGb,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAL7C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,oCAAoC,CAAC;oBACpD,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,oCAAoC,CAAC;AAClD,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-table-column-number-text.mjs","sources":["../../../nimble-angular/table-column/number-text/nimble-table-column-number-text.directive.ts","../../../nimble-angular/table-column/number-text/nimble-table-column-number-text.module.ts","../../../nimble-angular/table-column/number-text/ni-nimble-angular-table-column-number-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective, TableColumnSortDirection } from '@ni/nimble-angular/table-column';\nimport { type TableColumnNumberText, tableColumnNumberTextTag } from '@ni/nimble-components/dist/esm/table-column/number-text';\nimport { NumberTextAlignment, NumberTextFormat } from '@ni/nimble-components/dist/esm/table-column/number-text/types';\n\nexport type { TableColumnNumberText };\nexport { tableColumnNumberTextTag, NumberTextFormat, NumberTextAlignment };\n\n/**\n * Directive to provide Angular integration for the table column element for number text.\n */\n@Directive({\n selector: 'nimble-table-column-number-text'\n})\nexport class NimbleTableColumnNumberTextDirective extends NimbleTableColumnBaseDirective<TableColumnNumberText> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get placeholder(): string | undefined {\n return this.elementRef.nativeElement.placeholder;\n }\n\n @Input() public set placeholder(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);\n }\n\n public get format(): NumberTextFormat {\n return this.elementRef.nativeElement.format;\n }\n\n @Input() public set format(value: NumberTextFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'format', value);\n }\n\n public get alignment(): NumberTextAlignment {\n return this.elementRef.nativeElement.alignment;\n }\n\n @Input() public set alignment(value: NumberTextAlignment) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'alignment', value);\n }\n\n public get decimalDigits(): number | null | undefined {\n return this.elementRef.nativeElement.decimalDigits;\n }\n\n @Input('decimal-digits') public set decimalDigits(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'decimalDigits', toNullableNumberProperty(value));\n }\n\n public get decimalMaximumDigits(): number | null | undefined {\n return this.elementRef.nativeElement.decimalMaximumDigits;\n }\n\n @Input('decimal-maximum-digits') public set decimalMaximumDigits(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'decimalMaximumDigits', toNullableNumberProperty(value));\n }\n\n public get fractionalWidth(): number | null | undefined {\n return this.elementRef.nativeElement.fractionalWidth;\n }\n\n @Input('fractional-width') public set fractionalWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));\n }\n\n public get minPixelWidth(): number | null | undefined {\n return this.elementRef.nativeElement.minPixelWidth;\n }\n\n @Input('min-pixel-width') public set minPixelWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));\n }\n\n public get groupIndex(): number | null | undefined {\n return this.elementRef.nativeElement.groupIndex;\n }\n\n @Input('group-index') public set groupIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));\n }\n\n public get groupingDisabled(): boolean {\n return this.elementRef.nativeElement.groupingDisabled;\n }\n\n @Input('grouping-disabled') public set groupingDisabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));\n }\n\n public get sortingDisabled(): boolean {\n return this.elementRef.nativeElement.sortingDisabled;\n }\n\n @Input('sorting-disabled') public set sortingDisabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sortingDisabled', toBooleanProperty(value));\n }\n\n public get sortDirection(): TableColumnSortDirection {\n return this.elementRef.nativeElement.sortDirection;\n }\n\n @Input('sort-direction') public set sortDirection(value: TableColumnSortDirection) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sortDirection', value);\n }\n\n public get sortIndex(): number | null | undefined {\n return this.elementRef.nativeElement.sortIndex;\n }\n\n @Input('sort-index') public set sortIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sortIndex', toNullableNumberProperty(value));\n }\n\n public constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnNumberText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnNumberTextDirective } from './nimble-table-column-number-text.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/number-text';\n\n@NgModule({\n declarations: [NimbleTableColumnNumberTextDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnNumberTextDirective]\n})\nexport class NimbleTableColumnNumberTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AASA;;AAEG;AAIG,MAAO,oCAAqC,SAAQ,8BA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AAA;kBAL7C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,oCAAoC,CAAC;oBACpD,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,oCAAoC,CAAC;AAClD,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -45,11 +45,29 @@ class NimbleTableColumnTextDirective extends NimbleTableColumnBaseDirective {
|
|
|
45
45
|
set groupingDisabled(value) {
|
|
46
46
|
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
47
47
|
}
|
|
48
|
+
get sortingDisabled() {
|
|
49
|
+
return this.elementRef.nativeElement.sortingDisabled;
|
|
50
|
+
}
|
|
51
|
+
set sortingDisabled(value) {
|
|
52
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'sortingDisabled', toBooleanProperty(value));
|
|
53
|
+
}
|
|
54
|
+
get sortDirection() {
|
|
55
|
+
return this.elementRef.nativeElement.sortDirection;
|
|
56
|
+
}
|
|
57
|
+
set sortDirection(value) {
|
|
58
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'sortDirection', value);
|
|
59
|
+
}
|
|
60
|
+
get sortIndex() {
|
|
61
|
+
return this.elementRef.nativeElement.sortIndex;
|
|
62
|
+
}
|
|
63
|
+
set sortIndex(value) {
|
|
64
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'sortIndex', toNullableNumberProperty(value));
|
|
65
|
+
}
|
|
48
66
|
constructor(renderer, elementRef) {
|
|
49
67
|
super(renderer, elementRef);
|
|
50
68
|
}
|
|
51
69
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleTableColumnTextDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
52
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NimbleTableColumnTextDirective, selector: "nimble-table-column-text", inputs: { fieldName: ["field-name", "fieldName"], placeholder: "placeholder", fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"] }, usesInheritance: true, ngImport: i0 }); }
|
|
70
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NimbleTableColumnTextDirective, selector: "nimble-table-column-text", inputs: { fieldName: ["field-name", "fieldName"], placeholder: "placeholder", fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"], sortingDisabled: ["sorting-disabled", "sortingDisabled"], sortDirection: ["sort-direction", "sortDirection"], sortIndex: ["sort-index", "sortIndex"] }, usesInheritance: true, ngImport: i0 }); }
|
|
53
71
|
}
|
|
54
72
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleTableColumnTextDirective, decorators: [{
|
|
55
73
|
type: Directive,
|
|
@@ -73,6 +91,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
73
91
|
}], groupingDisabled: [{
|
|
74
92
|
type: Input,
|
|
75
93
|
args: ['grouping-disabled']
|
|
94
|
+
}], sortingDisabled: [{
|
|
95
|
+
type: Input,
|
|
96
|
+
args: ['sorting-disabled']
|
|
97
|
+
}], sortDirection: [{
|
|
98
|
+
type: Input,
|
|
99
|
+
args: ['sort-direction']
|
|
100
|
+
}], sortIndex: [{
|
|
101
|
+
type: Input,
|
|
102
|
+
args: ['sort-index']
|
|
76
103
|
}] } });
|
|
77
104
|
|
|
78
105
|
class NimbleTableColumnTextModule {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-table-column-text.mjs","sources":["../../../nimble-angular/table-column/text/nimble-table-column-text.directive.ts","../../../nimble-angular/table-column/text/nimble-table-column-text.module.ts","../../../nimble-angular/table-column/text/ni-nimble-angular-table-column-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnText, tableColumnTextTag } from '@ni/nimble-components/dist/esm/table-column/text';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\n\nexport type { TableColumnText };\nexport { tableColumnTextTag };\n\n/**\n * Directive to provide Angular integration for the table column element for text.\n */\n@Directive({\n selector: 'nimble-table-column-text'\n})\nexport class NimbleTableColumnTextDirective extends NimbleTableColumnBaseDirective<TableColumnText> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get placeholder(): string | undefined {\n return this.elementRef.nativeElement.placeholder;\n }\n\n @Input() public set placeholder(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);\n }\n\n public get fractionalWidth(): number | null | undefined {\n return this.elementRef.nativeElement.fractionalWidth;\n }\n\n @Input('fractional-width') public set fractionalWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));\n }\n\n public get minPixelWidth(): number | null | undefined {\n return this.elementRef.nativeElement.minPixelWidth;\n }\n\n @Input('min-pixel-width') public set minPixelWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));\n }\n\n public get groupIndex(): number | null | undefined {\n return this.elementRef.nativeElement.groupIndex;\n }\n\n @Input('group-index') public set groupIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));\n }\n\n public get groupingDisabled(): boolean {\n return this.elementRef.nativeElement.groupingDisabled;\n }\n\n @Input('grouping-disabled') public set groupingDisabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));\n }\n\n public constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnTextDirective } from './nimble-table-column-text.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/text';\n\n@NgModule({\n declarations: [NimbleTableColumnTextDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnTextDirective]\n})\nexport class NimbleTableColumnTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAQA;;AAEG;AAIG,MAAO,8BAA+B,SAAQ,8BAA+C,CAAA;AAC/F,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;KAClD;IAED,IAAgC,SAAS,CAAC,KAAyB,EAAA;AAC/D,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;KAChF;AAED,IAAA,IAAW,WAAW,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC;KACpD;IAED,IAAoB,WAAW,CAAC,KAAyB,EAAA;AACrD,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;KAClF;AAED,IAAA,IAAW,eAAe,GAAA;AACtB,Q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"file":"ni-nimble-angular-table-column-text.mjs","sources":["../../../nimble-angular/table-column/text/nimble-table-column-text.directive.ts","../../../nimble-angular/table-column/text/nimble-table-column-text.module.ts","../../../nimble-angular/table-column/text/ni-nimble-angular-table-column-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnText, tableColumnTextTag } from '@ni/nimble-components/dist/esm/table-column/text';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective, TableColumnSortDirection } from '@ni/nimble-angular/table-column';\n\nexport type { TableColumnText };\nexport { tableColumnTextTag };\n\n/**\n * Directive to provide Angular integration for the table column element for text.\n */\n@Directive({\n selector: 'nimble-table-column-text'\n})\nexport class NimbleTableColumnTextDirective extends NimbleTableColumnBaseDirective<TableColumnText> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get placeholder(): string | undefined {\n return this.elementRef.nativeElement.placeholder;\n }\n\n @Input() public set placeholder(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);\n }\n\n public get fractionalWidth(): number | null | undefined {\n return this.elementRef.nativeElement.fractionalWidth;\n }\n\n @Input('fractional-width') public set fractionalWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));\n }\n\n public get minPixelWidth(): number | null | undefined {\n return this.elementRef.nativeElement.minPixelWidth;\n }\n\n @Input('min-pixel-width') public set minPixelWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));\n }\n\n public get groupIndex(): number | null | undefined {\n return this.elementRef.nativeElement.groupIndex;\n }\n\n @Input('group-index') public set groupIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));\n }\n\n public get groupingDisabled(): boolean {\n return this.elementRef.nativeElement.groupingDisabled;\n }\n\n @Input('grouping-disabled') public set groupingDisabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));\n }\n\n public get sortingDisabled(): boolean {\n return this.elementRef.nativeElement.sortingDisabled;\n }\n\n @Input('sorting-disabled') public set sortingDisabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sortingDisabled', toBooleanProperty(value));\n }\n\n public get sortDirection(): TableColumnSortDirection {\n return this.elementRef.nativeElement.sortDirection;\n }\n\n @Input('sort-direction') public set sortDirection(value: TableColumnSortDirection) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sortDirection', value);\n }\n\n public get sortIndex(): number | null | undefined {\n return this.elementRef.nativeElement.sortIndex;\n }\n\n @Input('sort-index') public set sortIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sortIndex', toNullableNumberProperty(value));\n }\n\n public constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnTextDirective } from './nimble-table-column-text.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/text';\n\n@NgModule({\n declarations: [NimbleTableColumnTextDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnTextDirective]\n})\nexport class NimbleTableColumnTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAQA;;AAEG;AAIG,MAAO,8BAA+B,SAAQ,8BAA+C,CAAA;AAC/F,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC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angular/core';
|
|
3
3
|
export { TableColumnSortDirection } from '@ni/nimble-components/dist/esm/table/types';
|
|
4
|
-
import { toBooleanProperty
|
|
4
|
+
import { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Base class for table column directives.
|
|
@@ -31,18 +31,6 @@ class NimbleTableColumnBaseDirective {
|
|
|
31
31
|
set columnHidden(value) {
|
|
32
32
|
this.renderer.setProperty(this.elementRef.nativeElement, 'columnHidden', toBooleanProperty(value));
|
|
33
33
|
}
|
|
34
|
-
get sortDirection() {
|
|
35
|
-
return this.elementRef.nativeElement.sortDirection;
|
|
36
|
-
}
|
|
37
|
-
set sortDirection(value) {
|
|
38
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'sortDirection', value);
|
|
39
|
-
}
|
|
40
|
-
get sortIndex() {
|
|
41
|
-
return this.elementRef.nativeElement.sortIndex;
|
|
42
|
-
}
|
|
43
|
-
set sortIndex(value) {
|
|
44
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'sortIndex', toNullableNumberProperty(value));
|
|
45
|
-
}
|
|
46
34
|
constructor(renderer, elementRef) {
|
|
47
35
|
this.renderer = renderer;
|
|
48
36
|
this.elementRef = elementRef;
|
|
@@ -54,7 +42,7 @@ class NimbleTableColumnBaseDirective {
|
|
|
54
42
|
return this.elementRef.nativeElement.validity;
|
|
55
43
|
}
|
|
56
44
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleTableColumnBaseDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
57
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NimbleTableColumnBaseDirective, inputs: { columnId: ["column-id", "columnId"], actionMenuSlot: ["action-menu-slot", "actionMenuSlot"], actionMenuLabel: ["action-menu-label", "actionMenuLabel"], columnHidden: ["column-hidden", "columnHidden"]
|
|
45
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NimbleTableColumnBaseDirective, inputs: { columnId: ["column-id", "columnId"], actionMenuSlot: ["action-menu-slot", "actionMenuSlot"], actionMenuLabel: ["action-menu-label", "actionMenuLabel"], columnHidden: ["column-hidden", "columnHidden"] }, ngImport: i0 }); }
|
|
58
46
|
}
|
|
59
47
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleTableColumnBaseDirective, decorators: [{
|
|
60
48
|
type: Directive
|
|
@@ -70,12 +58,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
70
58
|
}], columnHidden: [{
|
|
71
59
|
type: Input,
|
|
72
60
|
args: ['column-hidden']
|
|
73
|
-
}], sortDirection: [{
|
|
74
|
-
type: Input,
|
|
75
|
-
args: ['sort-direction']
|
|
76
|
-
}], sortIndex: [{
|
|
77
|
-
type: Input,
|
|
78
|
-
args: ['sort-index']
|
|
79
61
|
}] } });
|
|
80
62
|
|
|
81
63
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-table-column.mjs","sources":["../../../nimble-angular/table-column/nimble-table-column-base.directive.ts","../../../nimble-angular/table-column/ni-nimble-angular-table-column.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { TableColumn } from '@ni/nimble-components/dist/esm/table-column/base';\nimport type { DelegatedEventEventDetails, TableColumnValidity } from '@ni/nimble-components/dist/esm/table-column/base/types';\nimport { TableColumnSortDirection } from '@ni/nimble-components/dist/esm/table/types';\nimport { BooleanValueOrAttribute,
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-table-column.mjs","sources":["../../../nimble-angular/table-column/nimble-table-column-base.directive.ts","../../../nimble-angular/table-column/ni-nimble-angular-table-column.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { TableColumn } from '@ni/nimble-components/dist/esm/table-column/base';\nimport type { DelegatedEventEventDetails, TableColumnValidity } from '@ni/nimble-components/dist/esm/table-column/base/types';\nimport { TableColumnSortDirection } from '@ni/nimble-components/dist/esm/table/types';\nimport { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';\n\nexport { TableColumnSortDirection, DelegatedEventEventDetails, TableColumnValidity };\n\n/**\n * Base class for table column directives.\n */\n@Directive()\nexport class NimbleTableColumnBaseDirective<T extends TableColumn> {\n public get columnId(): string | undefined {\n return this.elementRef.nativeElement.columnId;\n }\n\n @Input('column-id') public set columnId(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'columnId', value);\n }\n\n public get actionMenuSlot(): string | undefined {\n return this.elementRef.nativeElement.actionMenuSlot;\n }\n\n @Input('action-menu-slot') public set actionMenuSlot(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'actionMenuSlot', value);\n }\n\n public get actionMenuLabel(): string | undefined {\n return this.elementRef.nativeElement.actionMenuLabel;\n }\n\n @Input('action-menu-label') public set actionMenuLabel(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'actionMenuLabel', value);\n }\n\n public get columnHidden(): boolean {\n return this.elementRef.nativeElement.columnHidden;\n }\n\n @Input('column-hidden') public set columnHidden(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'columnHidden', toBooleanProperty(value));\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<T>) {}\n\n public checkValidity(): boolean {\n return this.elementRef.nativeElement.checkValidity();\n }\n\n public get validity(): TableColumnValidity {\n return this.elementRef.nativeElement.validity;\n }\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAQA;;AAEG;MAEU,8BAA8B,CAAA;AACvC,IAAA,IAAW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AI,CAAC,UAAU,CAAC,aAAa,CAAC,aAAa,EAAE,CAAC;KACxD;AAED,IAAA,IAAW,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC;KACjD;+GAzCQ,8BAA8B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,SAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAA9B,8BAA8B,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,CAAA,WAAA,EAAA,UAAA,CAAA,EAAA,cAAA,EAAA,CAAA,kBAAA,EAAA,gBAAA,CAAA,EAAA,eAAA,EAAA,CAAA,mBAAA,EAAA,iBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,eAAA,EAAA,cAAA,CAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAA9B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAD1C,SAAS;yHAMyB,QAAQ,EAAA,CAAA;sBAAtC,KAAK;uBAAC,WAAW,CAAA;gBAQoB,cAAc,EAAA,CAAA;sBAAnD,KAAK;uBAAC,kBAAkB,CAAA;gBAQc,eAAe,EAAA,CAAA;sBAArD,KAAK;uBAAC,mBAAmB,CAAA;gBAQS,YAAY,EAAA,CAAA;sBAA9C,KAAK;uBAAC,eAAe,CAAA;;;ACzC1B;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/nimble-angular",
|
|
3
|
-
"version": "24.4.
|
|
3
|
+
"version": "24.4.7",
|
|
4
4
|
"description": "Angular components for the NI Nimble Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
"@angular/forms": "^16.2.12",
|
|
230
230
|
"@angular/localize": "^16.2.12",
|
|
231
231
|
"@angular/router": "^16.2.12",
|
|
232
|
-
"@ni/nimble-components": "^29.3.
|
|
232
|
+
"@ni/nimble-components": "^29.3.6"
|
|
233
233
|
},
|
|
234
234
|
"dependencies": {
|
|
235
235
|
"tslib": "^2.2.0"
|
|
@@ -2,7 +2,7 @@ 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
4
|
import { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
5
|
-
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
5
|
+
import { NimbleTableColumnBaseDirective, TableColumnSortDirection } from '@ni/nimble-angular/table-column';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export type { TableColumnAnchor };
|
|
8
8
|
export { tableColumnAnchorTag };
|
|
@@ -43,7 +43,13 @@ export declare class NimbleTableColumnAnchorDirective extends NimbleTableColumnB
|
|
|
43
43
|
set groupIndex(value: NumberValueOrAttribute | null | undefined);
|
|
44
44
|
get groupingDisabled(): boolean;
|
|
45
45
|
set groupingDisabled(value: BooleanValueOrAttribute);
|
|
46
|
+
get sortingDisabled(): boolean;
|
|
47
|
+
set sortingDisabled(value: BooleanValueOrAttribute);
|
|
48
|
+
get sortDirection(): TableColumnSortDirection;
|
|
49
|
+
set sortDirection(value: TableColumnSortDirection);
|
|
50
|
+
get sortIndex(): number | null | undefined;
|
|
51
|
+
set sortIndex(value: NumberValueOrAttribute | null | undefined);
|
|
46
52
|
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnAnchor>);
|
|
47
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnAnchorDirective, never>;
|
|
48
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnAnchorDirective, "nimble-table-column-anchor", never, { "labelFieldName": { "alias": "label-field-name"; "required": false; }; "hrefFieldName": { "alias": "href-field-name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "underlineHidden": { "alias": "underline-hidden"; "required": false; }; "hreflang": { "alias": "hreflang"; "required": false; }; "ping": { "alias": "ping"; "required": false; }; "referrerpolicy": { "alias": "referrerpolicy"; "required": false; }; "rel": { "alias": "rel"; "required": false; }; "target": { "alias": "target"; "required": false; }; "type": { "alias": "type"; "required": false; }; "download": { "alias": "download"; "required": false; }; "fractionalWidth": { "alias": "fractional-width"; "required": false; }; "minPixelWidth": { "alias": "min-pixel-width"; "required": false; }; "groupIndex": { "alias": "group-index"; "required": false; }; "groupingDisabled": { "alias": "grouping-disabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
54
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnAnchorDirective, "nimble-table-column-anchor", never, { "labelFieldName": { "alias": "label-field-name"; "required": false; }; "hrefFieldName": { "alias": "href-field-name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "underlineHidden": { "alias": "underline-hidden"; "required": false; }; "hreflang": { "alias": "hreflang"; "required": false; }; "ping": { "alias": "ping"; "required": false; }; "referrerpolicy": { "alias": "referrerpolicy"; "required": false; }; "rel": { "alias": "rel"; "required": false; }; "target": { "alias": "target"; "required": false; }; "type": { "alias": "type"; "required": false; }; "download": { "alias": "download"; "required": false; }; "fractionalWidth": { "alias": "fractional-width"; "required": false; }; "minPixelWidth": { "alias": "min-pixel-width"; "required": false; }; "groupIndex": { "alias": "group-index"; "required": false; }; "groupingDisabled": { "alias": "grouping-disabled"; "required": false; }; "sortingDisabled": { "alias": "sorting-disabled"; "required": false; }; "sortDirection": { "alias": "sort-direction"; "required": false; }; "sortIndex": { "alias": "sort-index"; "required": false; }; }, {}, never, never, false, never>;
|
|
49
55
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
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
3
|
import { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
4
|
-
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
4
|
+
import { NimbleTableColumnBaseDirective, TableColumnSortDirection } from '@ni/nimble-angular/table-column';
|
|
5
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';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export type { TableColumnDateText };
|
|
@@ -78,7 +78,13 @@ export declare class NimbleTableColumnDateTextDirective extends NimbleTableColum
|
|
|
78
78
|
set groupIndex(value: NumberValueOrAttribute | null | undefined);
|
|
79
79
|
get groupingDisabled(): boolean;
|
|
80
80
|
set groupingDisabled(value: BooleanValueOrAttribute);
|
|
81
|
+
get sortingDisabled(): boolean;
|
|
82
|
+
set sortingDisabled(value: BooleanValueOrAttribute);
|
|
83
|
+
get sortDirection(): TableColumnSortDirection;
|
|
84
|
+
set sortDirection(value: TableColumnSortDirection);
|
|
85
|
+
get sortIndex(): number | null | undefined;
|
|
86
|
+
set sortIndex(value: NumberValueOrAttribute | null | undefined);
|
|
81
87
|
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnDateText>);
|
|
82
88
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnDateTextDirective, never>;
|
|
83
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnDateTextDirective, "nimble-table-column-date-text", never, { "fieldName": { "alias": "field-name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "format": { "alias": "format"; "required": false; }; "customLocaleMatcher": { "alias": "custom-locale-matcher"; "required": false; }; "customWeekday": { "alias": "custom-weekday"; "required": false; }; "customEra": { "alias": "custom-era"; "required": false; }; "customYear": { "alias": "custom-year"; "required": false; }; "customMonth": { "alias": "custom-month"; "required": false; }; "customDay": { "alias": "custom-day"; "required": false; }; "customHour": { "alias": "custom-hour"; "required": false; }; "customMinute": { "alias": "custom-minute"; "required": false; }; "customSecond": { "alias": "custom-second"; "required": false; }; "customTimeZoneName": { "alias": "custom-time-zone-name"; "required": false; }; "customFormatMatcher": { "alias": "custom-format-matcher"; "required": false; }; "customHour12": { "alias": "custom-hour12"; "required": false; }; "customTimeZone": { "alias": "custom-time-zone"; "required": false; }; "customCalendar": { "alias": "custom-calendar"; "required": false; }; "customDayPeriod": { "alias": "custom-day-period"; "required": false; }; "customNumberingSystem": { "alias": "custom-numbering-system"; "required": false; }; "customDateStyle": { "alias": "custom-date-style"; "required": false; }; "customTimeStyle": { "alias": "custom-time-style"; "required": false; }; "customHourCycle": { "alias": "custom-hour-cycle"; "required": false; }; "fractionalWidth": { "alias": "fractional-width"; "required": false; }; "minPixelWidth": { "alias": "min-pixel-width"; "required": false; }; "groupIndex": { "alias": "group-index"; "required": false; }; "groupingDisabled": { "alias": "grouping-disabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
89
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnDateTextDirective, "nimble-table-column-date-text", never, { "fieldName": { "alias": "field-name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "format": { "alias": "format"; "required": false; }; "customLocaleMatcher": { "alias": "custom-locale-matcher"; "required": false; }; "customWeekday": { "alias": "custom-weekday"; "required": false; }; "customEra": { "alias": "custom-era"; "required": false; }; "customYear": { "alias": "custom-year"; "required": false; }; "customMonth": { "alias": "custom-month"; "required": false; }; "customDay": { "alias": "custom-day"; "required": false; }; "customHour": { "alias": "custom-hour"; "required": false; }; "customMinute": { "alias": "custom-minute"; "required": false; }; "customSecond": { "alias": "custom-second"; "required": false; }; "customTimeZoneName": { "alias": "custom-time-zone-name"; "required": false; }; "customFormatMatcher": { "alias": "custom-format-matcher"; "required": false; }; "customHour12": { "alias": "custom-hour12"; "required": false; }; "customTimeZone": { "alias": "custom-time-zone"; "required": false; }; "customCalendar": { "alias": "custom-calendar"; "required": false; }; "customDayPeriod": { "alias": "custom-day-period"; "required": false; }; "customNumberingSystem": { "alias": "custom-numbering-system"; "required": false; }; "customDateStyle": { "alias": "custom-date-style"; "required": false; }; "customTimeStyle": { "alias": "custom-time-style"; "required": false; }; "customHourCycle": { "alias": "custom-hour-cycle"; "required": false; }; "fractionalWidth": { "alias": "fractional-width"; "required": false; }; "minPixelWidth": { "alias": "min-pixel-width"; "required": false; }; "groupIndex": { "alias": "group-index"; "required": false; }; "groupingDisabled": { "alias": "grouping-disabled"; "required": false; }; "sortingDisabled": { "alias": "sorting-disabled"; "required": false; }; "sortDirection": { "alias": "sort-direction"; "required": false; }; "sortIndex": { "alias": "sort-index"; "required": false; }; }, {}, never, never, false, never>;
|
|
84
90
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
2
|
import { type TableColumnDurationText, tableColumnDurationTextTag } from '@ni/nimble-components/dist/esm/table-column/duration-text';
|
|
3
3
|
import { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
4
|
-
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
4
|
+
import { NimbleTableColumnBaseDirective, TableColumnSortDirection } from '@ni/nimble-angular/table-column';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export type { TableColumnDurationText };
|
|
7
7
|
export { tableColumnDurationTextTag };
|
|
@@ -21,7 +21,13 @@ export declare class NimbleTableColumnDurationTextDirective extends NimbleTableC
|
|
|
21
21
|
set groupIndex(value: NumberValueOrAttribute | null | undefined);
|
|
22
22
|
get groupingDisabled(): boolean;
|
|
23
23
|
set groupingDisabled(value: BooleanValueOrAttribute);
|
|
24
|
+
get sortingDisabled(): boolean;
|
|
25
|
+
set sortingDisabled(value: BooleanValueOrAttribute);
|
|
26
|
+
get sortDirection(): TableColumnSortDirection;
|
|
27
|
+
set sortDirection(value: TableColumnSortDirection);
|
|
28
|
+
get sortIndex(): number | null | undefined;
|
|
29
|
+
set sortIndex(value: NumberValueOrAttribute | null | undefined);
|
|
24
30
|
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnDurationText>);
|
|
25
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnDurationTextDirective, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnDurationTextDirective, "nimble-table-column-duration-text", never, { "fieldName": { "alias": "field-name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "fractionalWidth": { "alias": "fractional-width"; "required": false; }; "minPixelWidth": { "alias": "min-pixel-width"; "required": false; }; "groupIndex": { "alias": "group-index"; "required": false; }; "groupingDisabled": { "alias": "grouping-disabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnDurationTextDirective, "nimble-table-column-duration-text", never, { "fieldName": { "alias": "field-name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "fractionalWidth": { "alias": "fractional-width"; "required": false; }; "minPixelWidth": { "alias": "min-pixel-width"; "required": false; }; "groupIndex": { "alias": "group-index"; "required": false; }; "groupingDisabled": { "alias": "grouping-disabled"; "required": false; }; "sortingDisabled": { "alias": "sorting-disabled"; "required": false; }; "sortDirection": { "alias": "sort-direction"; "required": false; }; "sortIndex": { "alias": "sort-index"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
33
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
2
|
import { type TableColumnMapping, tableColumnMappingTag } from '@ni/nimble-components/dist/esm/table-column/mapping';
|
|
3
3
|
import { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
4
|
-
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
4
|
+
import { NimbleTableColumnBaseDirective, TableColumnSortDirection } from '@ni/nimble-angular/table-column';
|
|
5
5
|
import { MappingKeyType } from '@ni/nimble-components/dist/esm/table-column/enum-base/types';
|
|
6
6
|
import { TableColumnMappingWidthMode } from '@ni/nimble-components/dist/esm/table-column/mapping/types';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -26,7 +26,13 @@ export declare class NimbleTableColumnMappingDirective extends NimbleTableColumn
|
|
|
26
26
|
set groupingDisabled(value: BooleanValueOrAttribute);
|
|
27
27
|
get widthMode(): TableColumnMappingWidthMode;
|
|
28
28
|
set widthMode(value: TableColumnMappingWidthMode);
|
|
29
|
+
get sortingDisabled(): boolean;
|
|
30
|
+
set sortingDisabled(value: BooleanValueOrAttribute);
|
|
31
|
+
get sortDirection(): TableColumnSortDirection;
|
|
32
|
+
set sortDirection(value: TableColumnSortDirection);
|
|
33
|
+
get sortIndex(): number | null | undefined;
|
|
34
|
+
set sortIndex(value: NumberValueOrAttribute | null | undefined);
|
|
29
35
|
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnMapping>);
|
|
30
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnMappingDirective, never>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnMappingDirective, "nimble-table-column-mapping", never, { "fieldName": { "alias": "field-name"; "required": false; }; "keyType": { "alias": "key-type"; "required": false; }; "fractionalWidth": { "alias": "fractional-width"; "required": false; }; "minPixelWidth": { "alias": "min-pixel-width"; "required": false; }; "groupIndex": { "alias": "group-index"; "required": false; }; "groupingDisabled": { "alias": "grouping-disabled"; "required": false; }; "widthMode": { "alias": "width-mode"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnMappingDirective, "nimble-table-column-mapping", never, { "fieldName": { "alias": "field-name"; "required": false; }; "keyType": { "alias": "key-type"; "required": false; }; "fractionalWidth": { "alias": "fractional-width"; "required": false; }; "minPixelWidth": { "alias": "min-pixel-width"; "required": false; }; "groupIndex": { "alias": "group-index"; "required": false; }; "groupingDisabled": { "alias": "grouping-disabled"; "required": false; }; "widthMode": { "alias": "width-mode"; "required": false; }; "sortingDisabled": { "alias": "sorting-disabled"; "required": false; }; "sortDirection": { "alias": "sort-direction"; "required": false; }; "sortIndex": { "alias": "sort-index"; "required": false; }; }, {}, never, never, false, never>;
|
|
32
38
|
}
|
|
@@ -2,7 +2,7 @@ import { ElementRef, Renderer2 } from '@angular/core';
|
|
|
2
2
|
import type { TableColumn } from '@ni/nimble-components/dist/esm/table-column/base';
|
|
3
3
|
import type { DelegatedEventEventDetails, TableColumnValidity } from '@ni/nimble-components/dist/esm/table-column/base/types';
|
|
4
4
|
import { TableColumnSortDirection } from '@ni/nimble-components/dist/esm/table/types';
|
|
5
|
-
import { BooleanValueOrAttribute
|
|
5
|
+
import { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export { TableColumnSortDirection, DelegatedEventEventDetails, TableColumnValidity };
|
|
8
8
|
/**
|
|
@@ -19,13 +19,9 @@ export declare class NimbleTableColumnBaseDirective<T extends TableColumn> {
|
|
|
19
19
|
set actionMenuLabel(value: string | undefined);
|
|
20
20
|
get columnHidden(): boolean;
|
|
21
21
|
set columnHidden(value: BooleanValueOrAttribute);
|
|
22
|
-
get sortDirection(): TableColumnSortDirection;
|
|
23
|
-
set sortDirection(value: TableColumnSortDirection);
|
|
24
|
-
get sortIndex(): number | null | undefined;
|
|
25
|
-
set sortIndex(value: NumberValueOrAttribute | null | undefined);
|
|
26
22
|
constructor(renderer: Renderer2, elementRef: ElementRef<T>);
|
|
27
23
|
checkValidity(): boolean;
|
|
28
24
|
get validity(): TableColumnValidity;
|
|
29
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnBaseDirective<any>, never>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnBaseDirective<any>, never, never, { "columnId": { "alias": "column-id"; "required": false; }; "actionMenuSlot": { "alias": "action-menu-slot"; "required": false; }; "actionMenuLabel": { "alias": "action-menu-label"; "required": false; }; "columnHidden": { "alias": "column-hidden"; "required": false; };
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnBaseDirective<any>, never, never, { "columnId": { "alias": "column-id"; "required": false; }; "actionMenuSlot": { "alias": "action-menu-slot"; "required": false; }; "actionMenuLabel": { "alias": "action-menu-label"; "required": false; }; "columnHidden": { "alias": "column-hidden"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
27
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
2
|
import { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
3
|
-
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
3
|
+
import { NimbleTableColumnBaseDirective, TableColumnSortDirection } 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";
|
|
@@ -30,7 +30,13 @@ export declare class NimbleTableColumnNumberTextDirective extends NimbleTableCol
|
|
|
30
30
|
set groupIndex(value: NumberValueOrAttribute | null | undefined);
|
|
31
31
|
get groupingDisabled(): boolean;
|
|
32
32
|
set groupingDisabled(value: BooleanValueOrAttribute);
|
|
33
|
+
get sortingDisabled(): boolean;
|
|
34
|
+
set sortingDisabled(value: BooleanValueOrAttribute);
|
|
35
|
+
get sortDirection(): TableColumnSortDirection;
|
|
36
|
+
set sortDirection(value: TableColumnSortDirection);
|
|
37
|
+
get sortIndex(): number | null | undefined;
|
|
38
|
+
set sortIndex(value: NumberValueOrAttribute | null | undefined);
|
|
33
39
|
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnNumberText>);
|
|
34
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnNumberTextDirective, never>;
|
|
35
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnNumberTextDirective, "nimble-table-column-number-text", never, { "fieldName": { "alias": "field-name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "format": { "alias": "format"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "decimalDigits": { "alias": "decimal-digits"; "required": false; }; "decimalMaximumDigits": { "alias": "decimal-maximum-digits"; "required": false; }; "fractionalWidth": { "alias": "fractional-width"; "required": false; }; "minPixelWidth": { "alias": "min-pixel-width"; "required": false; }; "groupIndex": { "alias": "group-index"; "required": false; }; "groupingDisabled": { "alias": "grouping-disabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnNumberTextDirective, "nimble-table-column-number-text", never, { "fieldName": { "alias": "field-name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "format": { "alias": "format"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "decimalDigits": { "alias": "decimal-digits"; "required": false; }; "decimalMaximumDigits": { "alias": "decimal-maximum-digits"; "required": false; }; "fractionalWidth": { "alias": "fractional-width"; "required": false; }; "minPixelWidth": { "alias": "min-pixel-width"; "required": false; }; "groupIndex": { "alias": "group-index"; "required": false; }; "groupingDisabled": { "alias": "grouping-disabled"; "required": false; }; "sortingDisabled": { "alias": "sorting-disabled"; "required": false; }; "sortDirection": { "alias": "sort-direction"; "required": false; }; "sortIndex": { "alias": "sort-index"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
42
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
2
|
import { type TableColumnText, tableColumnTextTag } from '@ni/nimble-components/dist/esm/table-column/text';
|
|
3
3
|
import { BooleanValueOrAttribute, NumberValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
4
|
-
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
4
|
+
import { NimbleTableColumnBaseDirective, TableColumnSortDirection } from '@ni/nimble-angular/table-column';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export type { TableColumnText };
|
|
7
7
|
export { tableColumnTextTag };
|
|
@@ -21,7 +21,13 @@ export declare class NimbleTableColumnTextDirective extends NimbleTableColumnBas
|
|
|
21
21
|
set groupIndex(value: NumberValueOrAttribute | null | undefined);
|
|
22
22
|
get groupingDisabled(): boolean;
|
|
23
23
|
set groupingDisabled(value: BooleanValueOrAttribute);
|
|
24
|
+
get sortingDisabled(): boolean;
|
|
25
|
+
set sortingDisabled(value: BooleanValueOrAttribute);
|
|
26
|
+
get sortDirection(): TableColumnSortDirection;
|
|
27
|
+
set sortDirection(value: TableColumnSortDirection);
|
|
28
|
+
get sortIndex(): number | null | undefined;
|
|
29
|
+
set sortIndex(value: NumberValueOrAttribute | null | undefined);
|
|
24
30
|
constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnText>);
|
|
25
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTableColumnTextDirective, never>;
|
|
26
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnTextDirective, "nimble-table-column-text", never, { "fieldName": { "alias": "field-name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "fractionalWidth": { "alias": "fractional-width"; "required": false; }; "minPixelWidth": { "alias": "min-pixel-width"; "required": false; }; "groupIndex": { "alias": "group-index"; "required": false; }; "groupingDisabled": { "alias": "grouping-disabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTableColumnTextDirective, "nimble-table-column-text", never, { "fieldName": { "alias": "field-name"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "fractionalWidth": { "alias": "fractional-width"; "required": false; }; "minPixelWidth": { "alias": "min-pixel-width"; "required": false; }; "groupIndex": { "alias": "group-index"; "required": false; }; "groupingDisabled": { "alias": "grouping-disabled"; "required": false; }; "sortingDisabled": { "alias": "sorting-disabled"; "required": false; }; "sortDirection": { "alias": "sort-direction"; "required": false; }; "sortIndex": { "alias": "sort-index"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
33
|
}
|