@ni/nimble-angular 17.0.17 → 17.1.1
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/combobox/nimble-combobox.directive.d.ts +1 -0
- package/esm2020/directives/combobox/nimble-combobox.directive.mjs +4 -1
- package/esm2020/table-column/date-text/ni-nimble-angular-table-column-date-text.mjs +5 -0
- package/esm2020/table-column/date-text/nimble-table-column-date-text.directive.mjs +305 -0
- package/esm2020/table-column/date-text/nimble-table-column-date-text.module.mjs +19 -0
- package/esm2020/table-column/date-text/public-api.mjs +3 -0
- package/esm2020/table-column/nimble-table-column-base.directive.mjs +7 -1
- package/fesm2015/ni-nimble-angular-table-column-date-text.mjs +327 -0
- package/fesm2015/ni-nimble-angular-table-column-date-text.mjs.map +1 -0
- package/fesm2015/ni-nimble-angular-table-column.mjs +6 -0
- package/fesm2015/ni-nimble-angular-table-column.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular.mjs +3 -0
- package/fesm2015/ni-nimble-angular.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-date-text.mjs +327 -0
- package/fesm2020/ni-nimble-angular-table-column-date-text.mjs.map +1 -0
- package/fesm2020/ni-nimble-angular-table-column.mjs +6 -0
- package/fesm2020/ni-nimble-angular-table-column.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular.mjs +3 -0
- package/fesm2020/ni-nimble-angular.mjs.map +1 -1
- package/package.json +10 -2
- package/table-column/date-text/index.d.ts +5 -0
- package/table-column/date-text/nimble-table-column-date-text.directive.d.ts +82 -0
- package/table-column/date-text/nimble-table-column-date-text.module.d.ts +9 -0
- package/table-column/date-text/public-api.d.ts +2 -0
- package/table-column/nimble-table-column-base.directive.d.ts +4 -2
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
|
+
export { tableColumnDateTextTag } from '@ni/nimble-components/dist/esm/table-column/date-text';
|
|
4
|
+
import { toNullableNumberProperty, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
5
|
+
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import '@ni/nimble-components/dist/esm/table-column/text';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Directive to provide Angular integration for the table column element for date text.
|
|
11
|
+
*/
|
|
12
|
+
class NimbleTableColumnDateTextDirective extends NimbleTableColumnBaseDirective {
|
|
13
|
+
constructor(renderer, elementRef) {
|
|
14
|
+
super(renderer, elementRef);
|
|
15
|
+
}
|
|
16
|
+
get fieldName() {
|
|
17
|
+
return this.elementRef.nativeElement.fieldName;
|
|
18
|
+
}
|
|
19
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
20
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
21
|
+
set fieldName(value) {
|
|
22
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);
|
|
23
|
+
}
|
|
24
|
+
get format() {
|
|
25
|
+
return this.elementRef.nativeElement.format;
|
|
26
|
+
}
|
|
27
|
+
set format(value) {
|
|
28
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'format', value);
|
|
29
|
+
}
|
|
30
|
+
get customLocaleMatcher() {
|
|
31
|
+
return this.elementRef.nativeElement.customLocaleMatcher;
|
|
32
|
+
}
|
|
33
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
34
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
35
|
+
set customLocaleMatcher(value) {
|
|
36
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customLocaleMatcher', value);
|
|
37
|
+
}
|
|
38
|
+
get customWeekday() {
|
|
39
|
+
return this.elementRef.nativeElement.customWeekday;
|
|
40
|
+
}
|
|
41
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
42
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
43
|
+
set customWeekday(value) {
|
|
44
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customWeekday', value);
|
|
45
|
+
}
|
|
46
|
+
get customEra() {
|
|
47
|
+
return this.elementRef.nativeElement.customEra;
|
|
48
|
+
}
|
|
49
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
50
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
51
|
+
set customEra(value) {
|
|
52
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customEra', value);
|
|
53
|
+
}
|
|
54
|
+
get customYear() {
|
|
55
|
+
return this.elementRef.nativeElement.customYear;
|
|
56
|
+
}
|
|
57
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
58
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
59
|
+
set customYear(value) {
|
|
60
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customYear', value);
|
|
61
|
+
}
|
|
62
|
+
get customMonth() {
|
|
63
|
+
return this.elementRef.nativeElement.customMonth;
|
|
64
|
+
}
|
|
65
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
66
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
67
|
+
set customMonth(value) {
|
|
68
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customMonth', value);
|
|
69
|
+
}
|
|
70
|
+
get customDay() {
|
|
71
|
+
return this.elementRef.nativeElement.customDay;
|
|
72
|
+
}
|
|
73
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
74
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
75
|
+
set customDay(value) {
|
|
76
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customDay', value);
|
|
77
|
+
}
|
|
78
|
+
get customHour() {
|
|
79
|
+
return this.elementRef.nativeElement.customHour;
|
|
80
|
+
}
|
|
81
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
82
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
83
|
+
set customHour(value) {
|
|
84
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customHour', value);
|
|
85
|
+
}
|
|
86
|
+
get customMinute() {
|
|
87
|
+
return this.elementRef.nativeElement.customMinute;
|
|
88
|
+
}
|
|
89
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
90
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
91
|
+
set customMinute(value) {
|
|
92
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customMinute', value);
|
|
93
|
+
}
|
|
94
|
+
get customSecond() {
|
|
95
|
+
return this.elementRef.nativeElement.customSecond;
|
|
96
|
+
}
|
|
97
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
98
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
99
|
+
set customSecond(value) {
|
|
100
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customSecond', value);
|
|
101
|
+
}
|
|
102
|
+
get customTimeZoneName() {
|
|
103
|
+
return this.elementRef.nativeElement.customTimeZoneName;
|
|
104
|
+
}
|
|
105
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
106
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
107
|
+
set customTimeZoneName(value) {
|
|
108
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeZoneName', value);
|
|
109
|
+
}
|
|
110
|
+
get customFormatMatcher() {
|
|
111
|
+
return this.elementRef.nativeElement.customFormatMatcher;
|
|
112
|
+
}
|
|
113
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
114
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
115
|
+
set customFormatMatcher(value) {
|
|
116
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customFormatMatcher', value);
|
|
117
|
+
}
|
|
118
|
+
get customHour12() {
|
|
119
|
+
return this.elementRef.nativeElement.customHour12;
|
|
120
|
+
}
|
|
121
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
122
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
123
|
+
set customHour12(value) {
|
|
124
|
+
let convertedValue;
|
|
125
|
+
if (typeof value === 'boolean') {
|
|
126
|
+
convertedValue = value;
|
|
127
|
+
}
|
|
128
|
+
else if (value === undefined) {
|
|
129
|
+
convertedValue = undefined;
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
convertedValue = value === 'true';
|
|
133
|
+
}
|
|
134
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customHour12', convertedValue);
|
|
135
|
+
}
|
|
136
|
+
get customTimeZone() {
|
|
137
|
+
return this.elementRef.nativeElement.customTimeZone;
|
|
138
|
+
}
|
|
139
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
140
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
141
|
+
set customTimeZone(value) {
|
|
142
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeZone', value);
|
|
143
|
+
}
|
|
144
|
+
get customCalendar() {
|
|
145
|
+
return this.elementRef.nativeElement.customCalendar;
|
|
146
|
+
}
|
|
147
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
148
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
149
|
+
set customCalendar(value) {
|
|
150
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customCalendar', value);
|
|
151
|
+
}
|
|
152
|
+
get customDayPeriod() {
|
|
153
|
+
return this.elementRef.nativeElement.customDayPeriod;
|
|
154
|
+
}
|
|
155
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
156
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
157
|
+
set customDayPeriod(value) {
|
|
158
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customDayPeriod', value);
|
|
159
|
+
}
|
|
160
|
+
get customNumberingSystem() {
|
|
161
|
+
return this.elementRef.nativeElement.customNumberingSystem;
|
|
162
|
+
}
|
|
163
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
164
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
165
|
+
set customNumberingSystem(value) {
|
|
166
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customNumberingSystem', value);
|
|
167
|
+
}
|
|
168
|
+
get customDateStyle() {
|
|
169
|
+
return this.elementRef.nativeElement.customDateStyle;
|
|
170
|
+
}
|
|
171
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
172
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
173
|
+
set customDateStyle(value) {
|
|
174
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customDateStyle', value);
|
|
175
|
+
}
|
|
176
|
+
get customTimeStyle() {
|
|
177
|
+
return this.elementRef.nativeElement.customTimeStyle;
|
|
178
|
+
}
|
|
179
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
180
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
181
|
+
set customTimeStyle(value) {
|
|
182
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeStyle', value);
|
|
183
|
+
}
|
|
184
|
+
get customHourCycle() {
|
|
185
|
+
return this.elementRef.nativeElement.customHourCycle;
|
|
186
|
+
}
|
|
187
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
188
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
189
|
+
set customHourCycle(value) {
|
|
190
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'customHourCycle', value);
|
|
191
|
+
}
|
|
192
|
+
get fractionalWidth() {
|
|
193
|
+
return this.elementRef.nativeElement.fractionalWidth;
|
|
194
|
+
}
|
|
195
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
196
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
197
|
+
set fractionalWidth(value) {
|
|
198
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
199
|
+
}
|
|
200
|
+
get minPixelWidth() {
|
|
201
|
+
return this.elementRef.nativeElement.minPixelWidth;
|
|
202
|
+
}
|
|
203
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
204
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
205
|
+
set minPixelWidth(value) {
|
|
206
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
207
|
+
}
|
|
208
|
+
get groupIndex() {
|
|
209
|
+
return this.elementRef.nativeElement.groupIndex;
|
|
210
|
+
}
|
|
211
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
212
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
213
|
+
set groupIndex(value) {
|
|
214
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
215
|
+
}
|
|
216
|
+
get groupingDisabled() {
|
|
217
|
+
return this.elementRef.nativeElement.groupingDisabled;
|
|
218
|
+
}
|
|
219
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
220
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
221
|
+
set groupingDisabled(value) {
|
|
222
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
NimbleTableColumnDateTextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnDateTextDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
226
|
+
NimbleTableColumnDateTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnDateTextDirective, selector: "nimble-table-column-date-text", inputs: { fieldName: ["field-name", "fieldName"], format: "format", customLocaleMatcher: ["custom-locale-matcher", "customLocaleMatcher"], customWeekday: ["custom-weekday", "customWeekday"], customEra: ["custom-era", "customEra"], customYear: ["custom-year", "customYear"], customMonth: ["custom-month", "customMonth"], customDay: ["custom-day", "customDay"], customHour: ["custom-hour", "customHour"], customMinute: ["custom-minute", "customMinute"], customSecond: ["custom-second", "customSecond"], customTimeZoneName: ["custom-time-zone-name", "customTimeZoneName"], customFormatMatcher: ["custom-format-matcher", "customFormatMatcher"], customHour12: ["custom-hour12", "customHour12"], customTimeZone: ["custom-time-zone", "customTimeZone"], customCalendar: ["custom-calendar", "customCalendar"], customDayPeriod: ["custom-day-period", "customDayPeriod"], customNumberingSystem: ["custom-numbering-system", "customNumberingSystem"], customDateStyle: ["custom-date-style", "customDateStyle"], customTimeStyle: ["custom-time-style", "customTimeStyle"], customHourCycle: ["custom-hour-cycle", "customHourCycle"], fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"] }, usesInheritance: true, ngImport: i0 });
|
|
227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnDateTextDirective, decorators: [{
|
|
228
|
+
type: Directive,
|
|
229
|
+
args: [{
|
|
230
|
+
selector: 'nimble-table-column-date-text'
|
|
231
|
+
}]
|
|
232
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { fieldName: [{
|
|
233
|
+
type: Input,
|
|
234
|
+
args: ['field-name']
|
|
235
|
+
}], format: [{
|
|
236
|
+
type: Input
|
|
237
|
+
}], customLocaleMatcher: [{
|
|
238
|
+
type: Input,
|
|
239
|
+
args: ['custom-locale-matcher']
|
|
240
|
+
}], customWeekday: [{
|
|
241
|
+
type: Input,
|
|
242
|
+
args: ['custom-weekday']
|
|
243
|
+
}], customEra: [{
|
|
244
|
+
type: Input,
|
|
245
|
+
args: ['custom-era']
|
|
246
|
+
}], customYear: [{
|
|
247
|
+
type: Input,
|
|
248
|
+
args: ['custom-year']
|
|
249
|
+
}], customMonth: [{
|
|
250
|
+
type: Input,
|
|
251
|
+
args: ['custom-month']
|
|
252
|
+
}], customDay: [{
|
|
253
|
+
type: Input,
|
|
254
|
+
args: ['custom-day']
|
|
255
|
+
}], customHour: [{
|
|
256
|
+
type: Input,
|
|
257
|
+
args: ['custom-hour']
|
|
258
|
+
}], customMinute: [{
|
|
259
|
+
type: Input,
|
|
260
|
+
args: ['custom-minute']
|
|
261
|
+
}], customSecond: [{
|
|
262
|
+
type: Input,
|
|
263
|
+
args: ['custom-second']
|
|
264
|
+
}], customTimeZoneName: [{
|
|
265
|
+
type: Input,
|
|
266
|
+
args: ['custom-time-zone-name']
|
|
267
|
+
}], customFormatMatcher: [{
|
|
268
|
+
type: Input,
|
|
269
|
+
args: ['custom-format-matcher']
|
|
270
|
+
}], customHour12: [{
|
|
271
|
+
type: Input,
|
|
272
|
+
args: ['custom-hour12']
|
|
273
|
+
}], customTimeZone: [{
|
|
274
|
+
type: Input,
|
|
275
|
+
args: ['custom-time-zone']
|
|
276
|
+
}], customCalendar: [{
|
|
277
|
+
type: Input,
|
|
278
|
+
args: ['custom-calendar']
|
|
279
|
+
}], customDayPeriod: [{
|
|
280
|
+
type: Input,
|
|
281
|
+
args: ['custom-day-period']
|
|
282
|
+
}], customNumberingSystem: [{
|
|
283
|
+
type: Input,
|
|
284
|
+
args: ['custom-numbering-system']
|
|
285
|
+
}], customDateStyle: [{
|
|
286
|
+
type: Input,
|
|
287
|
+
args: ['custom-date-style']
|
|
288
|
+
}], customTimeStyle: [{
|
|
289
|
+
type: Input,
|
|
290
|
+
args: ['custom-time-style']
|
|
291
|
+
}], customHourCycle: [{
|
|
292
|
+
type: Input,
|
|
293
|
+
args: ['custom-hour-cycle']
|
|
294
|
+
}], fractionalWidth: [{
|
|
295
|
+
type: Input,
|
|
296
|
+
args: ['fractional-width']
|
|
297
|
+
}], minPixelWidth: [{
|
|
298
|
+
type: Input,
|
|
299
|
+
args: ['min-pixel-width']
|
|
300
|
+
}], groupIndex: [{
|
|
301
|
+
type: Input,
|
|
302
|
+
args: ['group-index']
|
|
303
|
+
}], groupingDisabled: [{
|
|
304
|
+
type: Input,
|
|
305
|
+
args: ['grouping-disabled']
|
|
306
|
+
}] } });
|
|
307
|
+
|
|
308
|
+
class NimbleTableColumnDateTextModule {
|
|
309
|
+
}
|
|
310
|
+
NimbleTableColumnDateTextModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnDateTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
311
|
+
NimbleTableColumnDateTextModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnDateTextModule, declarations: [NimbleTableColumnDateTextDirective], imports: [CommonModule], exports: [NimbleTableColumnDateTextDirective] });
|
|
312
|
+
NimbleTableColumnDateTextModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnDateTextModule, imports: [CommonModule] });
|
|
313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnDateTextModule, decorators: [{
|
|
314
|
+
type: NgModule,
|
|
315
|
+
args: [{
|
|
316
|
+
declarations: [NimbleTableColumnDateTextDirective],
|
|
317
|
+
imports: [CommonModule],
|
|
318
|
+
exports: [NimbleTableColumnDateTextDirective]
|
|
319
|
+
}]
|
|
320
|
+
}] });
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Generated bundle index. Do not edit.
|
|
324
|
+
*/
|
|
325
|
+
|
|
326
|
+
export { NimbleTableColumnDateTextDirective, NimbleTableColumnDateTextModule };
|
|
327
|
+
//# sourceMappingURL=ni-nimble-angular-table-column-date-text.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-table-column-date-text.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/date-text/nimble-table-column-date-text.directive.ts","../../../../projects/ni/nimble-angular/table-column/date-text/nimble-table-column-date-text.module.ts","../../../../projects/ni/nimble-angular/table-column/date-text/ni-nimble-angular-table-column-date-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnDateText, tableColumnDateTextTag } from '@ni/nimble-components/dist/esm/table-column/date-text';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\nimport type {\n DateTextFormat,\n DateStyle,\n DayFormat,\n DayPeriodFormat,\n EraFormat,\n FormatMatcherAlgorithm,\n HourCycleFormat,\n HourFormat,\n LocaleMatcherAlgorithm,\n MinuteFormat,\n MonthFormat,\n SecondFormat,\n TimeStyle,\n TimeZoneNameFormat,\n WeekdayFormat,\n YearFormat\n} from '@ni/nimble-components/dist/esm/table-column/date-text/types';\n\nexport type { TableColumnDateText };\nexport type { DateStyle };\nexport type { DateTextFormat };\nexport type { DayFormat };\nexport type { DayPeriodFormat };\nexport type { EraFormat };\nexport type { FormatMatcherAlgorithm };\nexport type { HourCycleFormat };\nexport type { HourFormat };\nexport type { LocaleMatcherAlgorithm };\nexport type { MinuteFormat };\nexport type { MonthFormat };\nexport type { SecondFormat };\nexport type { TimeStyle };\nexport type { TimeZoneNameFormat };\nexport type { WeekdayFormat };\nexport type { YearFormat };\nexport { tableColumnDateTextTag };\n\n/**\n * Directive to provide Angular integration for the table column element for date text.\n */\n@Directive({\n selector: 'nimble-table-column-date-text'\n})\nexport class NimbleTableColumnDateTextDirective extends NimbleTableColumnBaseDirective<TableColumnDateText> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get format(): DateTextFormat {\n return this.elementRef.nativeElement.format;\n }\n\n @Input() public set format(value: DateTextFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'format', value);\n }\n\n public get customLocaleMatcher(): LocaleMatcherAlgorithm {\n return this.elementRef.nativeElement.customLocaleMatcher;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-locale-matcher') public set customLocaleMatcher(value: LocaleMatcherAlgorithm) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customLocaleMatcher', value);\n }\n\n public get customWeekday(): WeekdayFormat {\n return this.elementRef.nativeElement.customWeekday;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-weekday') public set customWeekday(value: WeekdayFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customWeekday', value);\n }\n\n public get customEra(): EraFormat {\n return this.elementRef.nativeElement.customEra;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-era') public set customEra(value: EraFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customEra', value);\n }\n\n public get customYear(): YearFormat {\n return this.elementRef.nativeElement.customYear;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-year') public set customYear(value: YearFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customYear', value);\n }\n\n public get customMonth(): MonthFormat {\n return this.elementRef.nativeElement.customMonth;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-month') public set customMonth(value: MonthFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customMonth', value);\n }\n\n public get customDay(): DayFormat {\n return this.elementRef.nativeElement.customDay;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-day') public set customDay(value: DayFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customDay', value);\n }\n\n public get customHour(): HourFormat {\n return this.elementRef.nativeElement.customHour;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-hour') public set customHour(value: HourFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customHour', value);\n }\n\n public get customMinute(): MinuteFormat {\n return this.elementRef.nativeElement.customMinute;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-minute') public set customMinute(value: MinuteFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customMinute', value);\n }\n\n public get customSecond(): SecondFormat {\n return this.elementRef.nativeElement.customSecond;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-second') public set customSecond(value: SecondFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customSecond', value);\n }\n\n public get customTimeZoneName(): TimeZoneNameFormat {\n return this.elementRef.nativeElement.customTimeZoneName;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-time-zone-name') public set customTimeZoneName(value: TimeZoneNameFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeZoneName', value);\n }\n\n public get customFormatMatcher(): FormatMatcherAlgorithm {\n return this.elementRef.nativeElement.customFormatMatcher;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-format-matcher') public set customFormatMatcher(value: FormatMatcherAlgorithm) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customFormatMatcher', value);\n }\n\n public get customHour12(): boolean | undefined {\n return this.elementRef.nativeElement.customHour12;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-hour12') public set customHour12(value: boolean | 'true' | 'false' | undefined) {\n let convertedValue;\n if (typeof value === 'boolean') {\n convertedValue = value;\n } else if (value === undefined) {\n convertedValue = undefined;\n } else {\n convertedValue = value === 'true';\n }\n this.renderer.setProperty(this.elementRef.nativeElement, 'customHour12', convertedValue);\n }\n\n public get customTimeZone(): string | undefined {\n return this.elementRef.nativeElement.customTimeZone;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-time-zone') public set customTimeZone(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeZone', value);\n }\n\n public get customCalendar(): string | undefined {\n return this.elementRef.nativeElement.customCalendar;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-calendar') public set customCalendar(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customCalendar', value);\n }\n\n public get customDayPeriod(): DayPeriodFormat {\n return this.elementRef.nativeElement.customDayPeriod;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-day-period') public set customDayPeriod(value: DayPeriodFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customDayPeriod', value);\n }\n\n public get customNumberingSystem(): string | undefined {\n return this.elementRef.nativeElement.customNumberingSystem;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-numbering-system') public set customNumberingSystem(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customNumberingSystem', value);\n }\n\n public get customDateStyle(): DateStyle {\n return this.elementRef.nativeElement.customDateStyle;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-date-style') public set customDateStyle(value: DateStyle) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customDateStyle', value);\n }\n\n public get customTimeStyle(): TimeStyle {\n return this.elementRef.nativeElement.customTimeStyle;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-time-style') public set customTimeStyle(value: TimeStyle) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeStyle', value);\n }\n\n public get customHourCycle(): HourCycleFormat {\n return this.elementRef.nativeElement.customHourCycle;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-hour-cycle') public set customHourCycle(value: HourCycleFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customHourCycle', value);\n }\n\n public get fractionalWidth(): number | null | undefined {\n return this.elementRef.nativeElement.fractionalWidth;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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<TableColumnDateText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnDateTextDirective } from './nimble-table-column-date-text.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/text';\n\n@NgModule({\n declarations: [NimbleTableColumnDateTextDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnDateTextDirective]\n})\nexport class NimbleTableColumnDateTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AA0CA;;AAEG;AAIG,MAAO,kCAAmC,SAAQ,8BAAmD,CAAA;IAiQvG,WAAmB,CAAA,QAAmB,EAAE,UAA2C,EAAA;AAC/E,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;KAC/B;AAlQD,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;KAClD;;;IAID,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,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC;KAC/C;IAED,IAAoB,MAAM,CAAC,KAAqB,EAAA;AAC5C,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;KAC7E;AAED,IAAA,IAAW,mBAAmB,GAAA;AAC1B,QAAA,OA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,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,EAJzB,YAAA,EAAA,CAAA,kCAAkC,CACvC,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,kCAAkC,CAAA,EAAA,CAAA,CAAA;AAEnC,+BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,YAH9B,YAAY,CAAA,EAAA,CAAA,CAAA;2FAGb,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAL3C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,kCAAkC,CAAC;oBAClD,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,kCAAkC,CAAC;AAChD,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -59,6 +59,12 @@ class NimbleTableColumnBaseDirective {
|
|
|
59
59
|
set sortIndex(value) {
|
|
60
60
|
this.renderer.setProperty(this.elementRef.nativeElement, 'sortIndex', toNullableNumberProperty(value));
|
|
61
61
|
}
|
|
62
|
+
checkValidity() {
|
|
63
|
+
return this.elementRef.nativeElement.checkValidity();
|
|
64
|
+
}
|
|
65
|
+
get validity() {
|
|
66
|
+
return this.elementRef.nativeElement.validity;
|
|
67
|
+
}
|
|
62
68
|
}
|
|
63
69
|
NimbleTableColumnBaseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnBaseDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
64
70
|
NimbleTableColumnBaseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnBaseDirective, inputs: { columnId: ["column-id", "columnId"], actionMenuSlot: ["action-menu-slot", "actionMenuSlot"], actionMenuLabel: ["action-menu-label", "actionMenuLabel"], columnHidden: ["column-hidden", "columnHidden"], sortDirection: ["sort-direction", "sortDirection"], sortIndex: ["sort-index", "sortIndex"] }, ngImport: i0 });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-table-column.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/nimble-table-column-base.directive.ts","../../../../projects/ni/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 } from '@ni/nimble-components/dist/esm/table-column/base/types';\nimport { TableColumnSortDirection } from '@ni/nimble-components/dist/esm/table/types';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\n\nexport { TableColumnSortDirection, DelegatedEventEventDetails };\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('column-hidden') public set columnHidden(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'columnHidden', toBooleanProperty(value));\n }\n\n public get sortDirection(): TableColumnSortDirection {\n return this.elementRef.nativeElement.sortDirection;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<T>) {}\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAQA;;AAEG;MAEU,8BAA8B,CAAA;IA6DvC,WAAsC,CAAA,QAAmB,EAAqB,UAAyB,EAAA;QAAjE,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAe;KAAI;AA5D3G,IAAA,IAAW,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC;KACjD;;;IAID,IAA+B,QAAQ,CAAC,KAAyB,EAAA;AAC7D,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,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AS,CAAC;KAClD;;;IAID,IAAgC,SAAS,CAAC,KAAgD,EAAA;AACtF,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,WAAW,EAAE,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;KAC1G;;
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-table-column.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/nimble-table-column-base.directive.ts","../../../../projects/ni/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, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } 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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('column-hidden') public set columnHidden(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'columnHidden', toBooleanProperty(value));\n }\n\n public get sortDirection(): TableColumnSortDirection {\n return this.elementRef.nativeElement.sortDirection;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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(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;IA6DvC,WAAsC,CAAA,QAAmB,EAAqB,UAAyB,EAAA;QAAjE,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAe;KAAI;AA5D3G,IAAA,IAAW,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,U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AUoB,cAAc,EAAA,CAAA;sBAAnD,KAAK;uBAAC,kBAAkB,CAAA;gBAUc,eAAe,EAAA,CAAA;sBAArD,KAAK;uBAAC,mBAAmB,CAAA;gBAUS,YAAY,EAAA,CAAA;sBAA9C,KAAK;uBAAC,eAAe,CAAA;gBAUc,aAAa,EAAA,CAAA;sBAAhD,KAAK;uBAAC,gBAAgB,CAAA;gBAUS,SAAS,EAAA,CAAA;sBAAxC,KAAK;uBAAC,YAAY,CAAA;;;ACrEvB;;AAEG;;;;"}
|
|
@@ -1400,6 +1400,9 @@ class NimbleComboboxDirective {
|
|
|
1400
1400
|
set errorVisible(value) {
|
|
1401
1401
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorVisible', toBooleanProperty(value));
|
|
1402
1402
|
}
|
|
1403
|
+
get value() {
|
|
1404
|
+
return this.elementRef.nativeElement.value;
|
|
1405
|
+
}
|
|
1403
1406
|
}
|
|
1404
1407
|
NimbleComboboxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleComboboxDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1405
1408
|
NimbleComboboxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleComboboxDirective, selector: "nimble-combobox", inputs: { appearance: "appearance", disabled: "disabled", autocomplete: "autocomplete", placeholder: "placeholder", errorText: ["error-text", "errorText"], errorVisible: ["error-visible", "errorVisible"] }, ngImport: i0 });
|