@ni/nimble-angular 2.1.1 → 2.3.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/bundles/ni-nimble-angular.umd.js +237 -5
- package/bundles/ni-nimble-angular.umd.js.map +1 -1
- package/directives/text-area/nimble-text-area-control-value-accessor.directive.d.ts +9 -0
- package/directives/text-area/nimble-text-area.directive.d.ts +39 -0
- package/directives/text-area/nimble-text-area.module.d.ts +3 -0
- package/directives/text-area/nimble-text-area.module.ngfactory.d.ts +3 -0
- package/directives/text-field/nimble-text-field.directive.d.ts +2 -0
- package/directives/toggle-button/nimble-toggle-button.directive.d.ts +1 -2
- package/esm2015/directives/text-area/nimble-text-area-control-value-accessor.directive.js +29 -0
- package/esm2015/directives/text-area/nimble-text-area-control-value-accessor.directive.ngsummary.json +1 -0
- package/esm2015/directives/text-area/nimble-text-area.directive.js +120 -0
- package/esm2015/directives/text-area/nimble-text-area.directive.ngsummary.json +1 -0
- package/esm2015/directives/text-area/nimble-text-area.module.js +15 -0
- package/esm2015/directives/text-area/nimble-text-area.module.ngfactory.js +12 -0
- package/esm2015/directives/text-area/nimble-text-area.module.ngsummary.json +1 -0
- package/esm2015/directives/text-field/nimble-text-field.directive.js +11 -2
- package/esm2015/directives/text-field/nimble-text-field.directive.ngsummary.json +1 -1
- package/esm2015/directives/toggle-button/nimble-toggle-button.directive.js +1 -1
- package/esm2015/ni-nimble-angular.ngsummary.json +1 -1
- package/esm2015/public-api.js +4 -1
- package/esm2015/public-api.ngsummary.json +1 -1
- package/fesm2015/ni-nimble-angular.js +167 -2
- package/fesm2015/ni-nimble-angular.js.map +1 -1
- package/ni-nimble-angular.metadata.json +1 -1
- package/package.json +2 -2
- package/public-api.d.ts +3 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@ni/nimble-components/dist/esm/breadcrumb'), require('@angular/router'), require('@ni/nimble-components/dist/esm/breadcrumb-item'), require('@ni/nimble-components/dist/esm/button/types'), require('@ni/nimble-components/dist/esm/button'), require('@angular/forms'), require('@ni/nimble-components/dist/esm/checkbox'), require('@ni/nimble-components/dist/esm/drawer/types'), require('@ni/nimble-components/dist/esm/drawer'), require('@ni/nimble-components/dist/esm/listbox-option'), require('@ni/nimble-components/dist/esm/menu'), require('@ni/nimble-components/dist/esm/menu-item'), require('@ni/nimble-components/dist/esm/number-field'), require('@ni/nimble-components/dist/esm/select'), require('@ni/nimble-components/dist/esm/tab'), require('@ni/nimble-components/dist/esm/tab-panel'), require('@ni/nimble-components/dist/esm/tabs'), require('@ni/nimble-components/dist/esm/tabs-toolbar'), require('@ni/nimble-components/dist/esm/text-field/types'), require('@ni/nimble-components/dist/esm/text-field'), require('@ni/nimble-components/dist/esm/theme-provider/types'), require('@ni/nimble-components/dist/esm/theme-provider'), require('@ni/nimble-components/dist/esm/toggle-button'), require('@ni/nimble-components/dist/esm/tree-item'), require('@ni/nimble-components/dist/esm/tree-view/types'), require('@ni/nimble-components/dist/esm/tree-view'), require('@ni/nimble-components/dist/esm/testing/async-helpers')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@ni/nimble-angular', ['exports', '@angular/core', '@angular/common', '@ni/nimble-components/dist/esm/breadcrumb', '@angular/router', '@ni/nimble-components/dist/esm/breadcrumb-item', '@ni/nimble-components/dist/esm/button/types', '@ni/nimble-components/dist/esm/button', '@angular/forms', '@ni/nimble-components/dist/esm/checkbox', '@ni/nimble-components/dist/esm/drawer/types', '@ni/nimble-components/dist/esm/drawer', '@ni/nimble-components/dist/esm/listbox-option', '@ni/nimble-components/dist/esm/menu', '@ni/nimble-components/dist/esm/menu-item', '@ni/nimble-components/dist/esm/number-field', '@ni/nimble-components/dist/esm/select', '@ni/nimble-components/dist/esm/tab', '@ni/nimble-components/dist/esm/tab-panel', '@ni/nimble-components/dist/esm/tabs', '@ni/nimble-components/dist/esm/tabs-toolbar', '@ni/nimble-components/dist/esm/text-field/types', '@ni/nimble-components/dist/esm/text-field', '@ni/nimble-components/dist/esm/theme-provider/types', '@ni/nimble-components/dist/esm/theme-provider', '@ni/nimble-components/dist/esm/toggle-button', '@ni/nimble-components/dist/esm/tree-item', '@ni/nimble-components/dist/esm/tree-view/types', '@ni/nimble-components/dist/esm/tree-view', '@ni/nimble-components/dist/esm/testing/async-helpers'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ni = global.ni || {}, global.ni["nimble-angular"] = {}), global.ng.core, global.ng.common, null, global.ng.router, null, global.types, null, global.ng.forms, null, global.types$1, null, null, null, null, null, null, null, null, null, null, global.types$2, null, global.types$3, null, null, null, global.types$4, null, global.asyncHelpers));
|
|
5
|
-
})(this, (function (exports, core, common, breadcrumb, router, breadcrumbItem, types, button, forms, checkbox, types$1, drawer, listboxOption, menu, menuItem, numberField, select, tab, tabPanel, tabs, tabsToolbar, types$2, textField, types$3, themeProvider, toggleButton, treeItem, types$4, treeView, asyncHelpers) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@ni/nimble-components/dist/esm/breadcrumb'), require('@angular/router'), require('@ni/nimble-components/dist/esm/breadcrumb-item'), require('@ni/nimble-components/dist/esm/button/types'), require('@ni/nimble-components/dist/esm/button'), require('@angular/forms'), require('@ni/nimble-components/dist/esm/checkbox'), require('@ni/nimble-components/dist/esm/drawer/types'), require('@ni/nimble-components/dist/esm/drawer'), require('@ni/nimble-components/dist/esm/listbox-option'), require('@ni/nimble-components/dist/esm/menu'), require('@ni/nimble-components/dist/esm/menu-item'), require('@ni/nimble-components/dist/esm/number-field'), require('@ni/nimble-components/dist/esm/select'), require('@ni/nimble-components/dist/esm/tab'), require('@ni/nimble-components/dist/esm/tab-panel'), require('@ni/nimble-components/dist/esm/tabs'), require('@ni/nimble-components/dist/esm/tabs-toolbar'), require('@ni/nimble-components/dist/esm/text-area'), require('@ni/nimble-components/dist/esm/text-field/types'), require('@ni/nimble-components/dist/esm/text-field'), require('@ni/nimble-components/dist/esm/theme-provider/types'), require('@ni/nimble-components/dist/esm/theme-provider'), require('@ni/nimble-components/dist/esm/toggle-button'), require('@ni/nimble-components/dist/esm/tree-item'), require('@ni/nimble-components/dist/esm/tree-view/types'), require('@ni/nimble-components/dist/esm/tree-view'), require('@ni/nimble-components/dist/esm/testing/async-helpers')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@ni/nimble-angular', ['exports', '@angular/core', '@angular/common', '@ni/nimble-components/dist/esm/breadcrumb', '@angular/router', '@ni/nimble-components/dist/esm/breadcrumb-item', '@ni/nimble-components/dist/esm/button/types', '@ni/nimble-components/dist/esm/button', '@angular/forms', '@ni/nimble-components/dist/esm/checkbox', '@ni/nimble-components/dist/esm/drawer/types', '@ni/nimble-components/dist/esm/drawer', '@ni/nimble-components/dist/esm/listbox-option', '@ni/nimble-components/dist/esm/menu', '@ni/nimble-components/dist/esm/menu-item', '@ni/nimble-components/dist/esm/number-field', '@ni/nimble-components/dist/esm/select', '@ni/nimble-components/dist/esm/tab', '@ni/nimble-components/dist/esm/tab-panel', '@ni/nimble-components/dist/esm/tabs', '@ni/nimble-components/dist/esm/tabs-toolbar', '@ni/nimble-components/dist/esm/text-area', '@ni/nimble-components/dist/esm/text-field/types', '@ni/nimble-components/dist/esm/text-field', '@ni/nimble-components/dist/esm/theme-provider/types', '@ni/nimble-components/dist/esm/theme-provider', '@ni/nimble-components/dist/esm/toggle-button', '@ni/nimble-components/dist/esm/tree-item', '@ni/nimble-components/dist/esm/tree-view/types', '@ni/nimble-components/dist/esm/tree-view', '@ni/nimble-components/dist/esm/testing/async-helpers'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ni = global.ni || {}, global.ni["nimble-angular"] = {}), global.ng.core, global.ng.common, null, global.ng.router, null, global.types, null, global.ng.forms, null, global.types$1, null, null, null, null, null, null, null, null, null, null, null, global.types$2, null, global.types$3, null, null, null, global.types$4, null, global.asyncHelpers));
|
|
5
|
+
})(this, (function (exports, core, common, breadcrumb, router, breadcrumbItem, types, button, forms, checkbox, types$1, drawer, listboxOption, menu, menuItem, numberField, select, tab, tabPanel, tabs, tabsToolbar, textArea, types$2, textField, types$3, themeProvider, toggleButton, treeItem, types$4, treeView, asyncHelpers) { 'use strict';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Directive to provide Angular integration for the breadcrumb.
|
|
@@ -1217,6 +1217,222 @@
|
|
|
1217
1217
|
},] }
|
|
1218
1218
|
];
|
|
1219
1219
|
|
|
1220
|
+
/**
|
|
1221
|
+
* Extension of Angular's DefaultValueAccessor to target the text-based inputs.
|
|
1222
|
+
*
|
|
1223
|
+
* Directive decorator based on DefaultValueAccessor decorator
|
|
1224
|
+
* https://github.com/angular/angular/blob/235bffc5f9a0faf00b9aeb4ef5f15c696ad4b522/packages/forms/src/directives/default_value_accessor.ts#L72
|
|
1225
|
+
*/
|
|
1226
|
+
var NimbleTextAreaControlValueAccessorDirective = /** @class */ (function (_super) {
|
|
1227
|
+
__extends(NimbleTextAreaControlValueAccessorDirective, _super);
|
|
1228
|
+
function NimbleTextAreaControlValueAccessorDirective() {
|
|
1229
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
1230
|
+
}
|
|
1231
|
+
return NimbleTextAreaControlValueAccessorDirective;
|
|
1232
|
+
}(forms.DefaultValueAccessor));
|
|
1233
|
+
NimbleTextAreaControlValueAccessorDirective.decorators = [
|
|
1234
|
+
{ type: core.Directive, args: [{
|
|
1235
|
+
selector: 'nimble-text-area[formControlName],nimble-text-area[formControl],nimble-text-area[ngModel]',
|
|
1236
|
+
// The following host metadata is duplicated from DefaultValueAccessor
|
|
1237
|
+
// eslint-disable-next-line @angular-eslint/no-host-metadata-property
|
|
1238
|
+
host: {
|
|
1239
|
+
'(input)': '$any(this)._handleInput($event.target.value)',
|
|
1240
|
+
'(blur)': 'onTouched()',
|
|
1241
|
+
'(compositionstart)': '$any(this)._compositionStart()',
|
|
1242
|
+
'(compositionend)': '$any(this)._compositionEnd($event.target.value)'
|
|
1243
|
+
},
|
|
1244
|
+
providers: [{
|
|
1245
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
1246
|
+
useExisting: core.forwardRef(function () { return NimbleTextAreaControlValueAccessorDirective; }),
|
|
1247
|
+
multi: true
|
|
1248
|
+
}]
|
|
1249
|
+
},] }
|
|
1250
|
+
];
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* Directive to provide Angular integration for the text area
|
|
1254
|
+
*/
|
|
1255
|
+
var NimbleTextAreaDirective = /** @class */ (function () {
|
|
1256
|
+
function NimbleTextAreaDirective(renderer, elementRef) {
|
|
1257
|
+
this.renderer = renderer;
|
|
1258
|
+
this.elementRef = elementRef;
|
|
1259
|
+
}
|
|
1260
|
+
Object.defineProperty(NimbleTextAreaDirective.prototype, "appearance", {
|
|
1261
|
+
get: function () {
|
|
1262
|
+
return this.elementRef.nativeElement.appearance;
|
|
1263
|
+
},
|
|
1264
|
+
set: function (value) {
|
|
1265
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);
|
|
1266
|
+
},
|
|
1267
|
+
enumerable: false,
|
|
1268
|
+
configurable: true
|
|
1269
|
+
});
|
|
1270
|
+
Object.defineProperty(NimbleTextAreaDirective.prototype, "readOnly", {
|
|
1271
|
+
get: function () {
|
|
1272
|
+
return this.elementRef.nativeElement.readOnly;
|
|
1273
|
+
},
|
|
1274
|
+
// readOnly property maps to the readonly attribute
|
|
1275
|
+
// See: https://github.com/microsoft/fast/blob/46bb6d9aab2c37105f4434db3795e176c2354a4f/packages/web-components/fast-foundation/src/text-area/text-area.ts#L22
|
|
1276
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1277
|
+
set: function (value) {
|
|
1278
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'readOnly', toBooleanProperty(value));
|
|
1279
|
+
},
|
|
1280
|
+
enumerable: false,
|
|
1281
|
+
configurable: true
|
|
1282
|
+
});
|
|
1283
|
+
Object.defineProperty(NimbleTextAreaDirective.prototype, "resize", {
|
|
1284
|
+
get: function () {
|
|
1285
|
+
return this.elementRef.nativeElement.resize;
|
|
1286
|
+
},
|
|
1287
|
+
set: function (value) {
|
|
1288
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'resize', value);
|
|
1289
|
+
},
|
|
1290
|
+
enumerable: false,
|
|
1291
|
+
configurable: true
|
|
1292
|
+
});
|
|
1293
|
+
Object.defineProperty(NimbleTextAreaDirective.prototype, "autofocus", {
|
|
1294
|
+
get: function () {
|
|
1295
|
+
return this.elementRef.nativeElement.autofocus;
|
|
1296
|
+
},
|
|
1297
|
+
set: function (value) {
|
|
1298
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'autofocus', toBooleanProperty(value));
|
|
1299
|
+
},
|
|
1300
|
+
enumerable: false,
|
|
1301
|
+
configurable: true
|
|
1302
|
+
});
|
|
1303
|
+
Object.defineProperty(NimbleTextAreaDirective.prototype, "disabled", {
|
|
1304
|
+
get: function () {
|
|
1305
|
+
return this.elementRef.nativeElement.disabled;
|
|
1306
|
+
},
|
|
1307
|
+
set: function (value) {
|
|
1308
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
|
|
1309
|
+
},
|
|
1310
|
+
enumerable: false,
|
|
1311
|
+
configurable: true
|
|
1312
|
+
});
|
|
1313
|
+
Object.defineProperty(NimbleTextAreaDirective.prototype, "required", {
|
|
1314
|
+
get: function () {
|
|
1315
|
+
return this.elementRef.nativeElement.required;
|
|
1316
|
+
},
|
|
1317
|
+
set: function (value) {
|
|
1318
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'required', toBooleanProperty(value));
|
|
1319
|
+
},
|
|
1320
|
+
enumerable: false,
|
|
1321
|
+
configurable: true
|
|
1322
|
+
});
|
|
1323
|
+
Object.defineProperty(NimbleTextAreaDirective.prototype, "formId", {
|
|
1324
|
+
get: function () {
|
|
1325
|
+
return this.elementRef.nativeElement.formId;
|
|
1326
|
+
},
|
|
1327
|
+
// formId property maps to the form attribute
|
|
1328
|
+
// See: https://github.com/microsoft/fast/blob/46bb6d9aab2c37105f4434db3795e176c2354a4f/packages/web-components/fast-foundation/src/text-area/text-area.ts#L63
|
|
1329
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1330
|
+
set: function (value) {
|
|
1331
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'formId', value);
|
|
1332
|
+
},
|
|
1333
|
+
enumerable: false,
|
|
1334
|
+
configurable: true
|
|
1335
|
+
});
|
|
1336
|
+
Object.defineProperty(NimbleTextAreaDirective.prototype, "maxlength", {
|
|
1337
|
+
get: function () {
|
|
1338
|
+
return this.elementRef.nativeElement.maxlength;
|
|
1339
|
+
},
|
|
1340
|
+
set: function (value) {
|
|
1341
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'maxlength', toNumberProperty(value));
|
|
1342
|
+
},
|
|
1343
|
+
enumerable: false,
|
|
1344
|
+
configurable: true
|
|
1345
|
+
});
|
|
1346
|
+
Object.defineProperty(NimbleTextAreaDirective.prototype, "minlength", {
|
|
1347
|
+
get: function () {
|
|
1348
|
+
return this.elementRef.nativeElement.minlength;
|
|
1349
|
+
},
|
|
1350
|
+
set: function (value) {
|
|
1351
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'minlength', toNumberProperty(value));
|
|
1352
|
+
},
|
|
1353
|
+
enumerable: false,
|
|
1354
|
+
configurable: true
|
|
1355
|
+
});
|
|
1356
|
+
Object.defineProperty(NimbleTextAreaDirective.prototype, "placeholder", {
|
|
1357
|
+
get: function () {
|
|
1358
|
+
return this.elementRef.nativeElement.placeholder;
|
|
1359
|
+
},
|
|
1360
|
+
set: function (value) {
|
|
1361
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);
|
|
1362
|
+
},
|
|
1363
|
+
enumerable: false,
|
|
1364
|
+
configurable: true
|
|
1365
|
+
});
|
|
1366
|
+
Object.defineProperty(NimbleTextAreaDirective.prototype, "cols", {
|
|
1367
|
+
get: function () {
|
|
1368
|
+
return this.elementRef.nativeElement.cols;
|
|
1369
|
+
},
|
|
1370
|
+
set: function (value) {
|
|
1371
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'cols', toNumberProperty(value));
|
|
1372
|
+
},
|
|
1373
|
+
enumerable: false,
|
|
1374
|
+
configurable: true
|
|
1375
|
+
});
|
|
1376
|
+
Object.defineProperty(NimbleTextAreaDirective.prototype, "rows", {
|
|
1377
|
+
get: function () {
|
|
1378
|
+
return this.elementRef.nativeElement.rows;
|
|
1379
|
+
},
|
|
1380
|
+
set: function (value) {
|
|
1381
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'rows', toNumberProperty(value));
|
|
1382
|
+
},
|
|
1383
|
+
enumerable: false,
|
|
1384
|
+
configurable: true
|
|
1385
|
+
});
|
|
1386
|
+
Object.defineProperty(NimbleTextAreaDirective.prototype, "spellcheck", {
|
|
1387
|
+
get: function () {
|
|
1388
|
+
return this.elementRef.nativeElement.spellcheck;
|
|
1389
|
+
},
|
|
1390
|
+
set: function (value) {
|
|
1391
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'spellcheck', toBooleanProperty(value));
|
|
1392
|
+
},
|
|
1393
|
+
enumerable: false,
|
|
1394
|
+
configurable: true
|
|
1395
|
+
});
|
|
1396
|
+
return NimbleTextAreaDirective;
|
|
1397
|
+
}());
|
|
1398
|
+
NimbleTextAreaDirective.decorators = [
|
|
1399
|
+
{ type: core.Directive, args: [{
|
|
1400
|
+
selector: 'nimble-text-area'
|
|
1401
|
+
},] }
|
|
1402
|
+
];
|
|
1403
|
+
NimbleTextAreaDirective.ctorParameters = function () { return [
|
|
1404
|
+
{ type: core.Renderer2 },
|
|
1405
|
+
{ type: core.ElementRef }
|
|
1406
|
+
]; };
|
|
1407
|
+
NimbleTextAreaDirective.propDecorators = {
|
|
1408
|
+
appearance: [{ type: core.Input }],
|
|
1409
|
+
readOnly: [{ type: core.Input, args: ['readonly',] }],
|
|
1410
|
+
resize: [{ type: core.Input }],
|
|
1411
|
+
autofocus: [{ type: core.Input }],
|
|
1412
|
+
disabled: [{ type: core.Input }],
|
|
1413
|
+
required: [{ type: core.Input }],
|
|
1414
|
+
formId: [{ type: core.Input, args: ['form',] }],
|
|
1415
|
+
maxlength: [{ type: core.Input }],
|
|
1416
|
+
minlength: [{ type: core.Input }],
|
|
1417
|
+
placeholder: [{ type: core.Input }],
|
|
1418
|
+
cols: [{ type: core.Input }],
|
|
1419
|
+
rows: [{ type: core.Input }],
|
|
1420
|
+
spellcheck: [{ type: core.Input }]
|
|
1421
|
+
};
|
|
1422
|
+
|
|
1423
|
+
var NimbleTextAreaModule = /** @class */ (function () {
|
|
1424
|
+
function NimbleTextAreaModule() {
|
|
1425
|
+
}
|
|
1426
|
+
return NimbleTextAreaModule;
|
|
1427
|
+
}());
|
|
1428
|
+
NimbleTextAreaModule.decorators = [
|
|
1429
|
+
{ type: core.NgModule, args: [{
|
|
1430
|
+
declarations: [NimbleTextAreaDirective, NimbleTextAreaControlValueAccessorDirective],
|
|
1431
|
+
imports: [common.CommonModule],
|
|
1432
|
+
exports: [NimbleTextAreaDirective, NimbleTextAreaControlValueAccessorDirective]
|
|
1433
|
+
},] }
|
|
1434
|
+
];
|
|
1435
|
+
|
|
1220
1436
|
/**
|
|
1221
1437
|
* Extension of Angular's DefaultValueAccessor to target the text-based inputs.
|
|
1222
1438
|
*
|
|
@@ -1280,6 +1496,18 @@
|
|
|
1280
1496
|
enumerable: false,
|
|
1281
1497
|
configurable: true
|
|
1282
1498
|
});
|
|
1499
|
+
Object.defineProperty(NimbleTextFieldDirective.prototype, "errorText", {
|
|
1500
|
+
get: function () {
|
|
1501
|
+
return this.elementRef.nativeElement.errorText;
|
|
1502
|
+
},
|
|
1503
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
1504
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1505
|
+
set: function (value) {
|
|
1506
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'errorText', value);
|
|
1507
|
+
},
|
|
1508
|
+
enumerable: false,
|
|
1509
|
+
configurable: true
|
|
1510
|
+
});
|
|
1283
1511
|
return NimbleTextFieldDirective;
|
|
1284
1512
|
}());
|
|
1285
1513
|
NimbleTextFieldDirective.decorators = [
|
|
@@ -1293,7 +1521,8 @@
|
|
|
1293
1521
|
]; };
|
|
1294
1522
|
NimbleTextFieldDirective.propDecorators = {
|
|
1295
1523
|
readOnly: [{ type: core.Input, args: ['readonly',] }],
|
|
1296
|
-
type: [{ type: core.Input }]
|
|
1524
|
+
type: [{ type: core.Input }],
|
|
1525
|
+
errorText: [{ type: core.Input, args: ['errortext',] }]
|
|
1297
1526
|
};
|
|
1298
1527
|
|
|
1299
1528
|
var NimbleTextFieldModule = /** @class */ (function () {
|
|
@@ -1667,6 +1896,9 @@
|
|
|
1667
1896
|
exports.NimbleTabsModule = NimbleTabsModule;
|
|
1668
1897
|
exports.NimbleTabsToolbarDirective = NimbleTabsToolbarDirective;
|
|
1669
1898
|
exports.NimbleTabsToolbarModule = NimbleTabsToolbarModule;
|
|
1899
|
+
exports.NimbleTextAreaControlValueAccessorDirective = NimbleTextAreaControlValueAccessorDirective;
|
|
1900
|
+
exports.NimbleTextAreaDirective = NimbleTextAreaDirective;
|
|
1901
|
+
exports.NimbleTextAreaModule = NimbleTextAreaModule;
|
|
1670
1902
|
exports.NimbleTextFieldControlValueAccessorDirective = NimbleTextFieldControlValueAccessorDirective;
|
|
1671
1903
|
exports.NimbleTextFieldDirective = NimbleTextFieldDirective;
|
|
1672
1904
|
exports.NimbleTextFieldModule = NimbleTextFieldModule;
|