@ni/nimble-angular 16.2.2 → 16.2.4
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/directives/table-column/text/nimble-table-column-text.directive.d.ts +6 -1
- package/esm2020/directives/table-column/text/nimble-table-column-text.directive.mjs +25 -2
- package/fesm2015/ni-nimble-angular.mjs +23 -1
- package/fesm2015/ni-nimble-angular.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular.mjs +23 -1
- package/fesm2020/ni-nimble-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -7483,9 +7483,25 @@ class NimbleTableColumnTextDirective extends NimbleTableColumnBaseDirective {
|
|
|
7483
7483
|
set placeholder(value) {
|
|
7484
7484
|
this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);
|
|
7485
7485
|
}
|
|
7486
|
+
get fractionalWidth() {
|
|
7487
|
+
return this.elementRef.nativeElement.fractionalWidth;
|
|
7488
|
+
}
|
|
7489
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
7490
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
7491
|
+
set fractionalWidth(value) {
|
|
7492
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
7493
|
+
}
|
|
7494
|
+
get minPixelWidth() {
|
|
7495
|
+
return this.elementRef.nativeElement.minPixelWidth;
|
|
7496
|
+
}
|
|
7497
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
7498
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
7499
|
+
set minPixelWidth(value) {
|
|
7500
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
7501
|
+
}
|
|
7486
7502
|
}
|
|
7487
7503
|
NimbleTableColumnTextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnTextDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7488
|
-
NimbleTableColumnTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: NimbleTableColumnTextDirective, selector: "nimble-table-column-text", inputs: { fieldName: ["field-name", "fieldName"] }, usesInheritance: true, ngImport: i0 });
|
|
7504
|
+
NimbleTableColumnTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: NimbleTableColumnTextDirective, selector: "nimble-table-column-text", inputs: { fieldName: ["field-name", "fieldName"], fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"] }, usesInheritance: true, ngImport: i0 });
|
|
7489
7505
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnTextDirective, decorators: [{
|
|
7490
7506
|
type: Directive,
|
|
7491
7507
|
args: [{
|
|
@@ -7494,6 +7510,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
7494
7510
|
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { fieldName: [{
|
|
7495
7511
|
type: Input,
|
|
7496
7512
|
args: ['field-name']
|
|
7513
|
+
}], fractionalWidth: [{
|
|
7514
|
+
type: Input,
|
|
7515
|
+
args: ['fractional-width']
|
|
7516
|
+
}], minPixelWidth: [{
|
|
7517
|
+
type: Input,
|
|
7518
|
+
args: ['min-pixel-width']
|
|
7497
7519
|
}] } });
|
|
7498
7520
|
|
|
7499
7521
|
class NimbleTableColumnTextModule {
|