@ni/nimble-angular 18.2.11 → 18.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/directives/anchor/nimble-anchor.directive.mjs +1 -5
- package/esm2020/directives/anchor-button/nimble-anchor-button.directive.mjs +1 -5
- package/esm2020/directives/banner/nimble-banner.directive.mjs +1 -5
- package/esm2020/directives/button/nimble-button.directive.mjs +1 -5
- package/esm2020/directives/combobox/nimble-combobox.directive.mjs +1 -5
- package/esm2020/directives/dialog/nimble-dialog.directive.mjs +1 -7
- package/esm2020/directives/drawer/nimble-drawer.directive.mjs +1 -5
- package/esm2020/directives/menu-button/nimble-menu-button.directive.mjs +1 -3
- package/esm2020/directives/number-field/nimble-number-field.directive.mjs +1 -8
- package/esm2020/directives/select/nimble-select.directive.mjs +1 -5
- package/esm2020/directives/text-area/nimble-text-area.directive.mjs +1 -7
- package/esm2020/directives/text-field/nimble-text-field.directive.mjs +1 -8
- package/esm2020/directives/toggle-button/nimble-toggle-button.directive.mjs +1 -3
- package/esm2020/directives/tooltip/nimble-tooltip.directive.mjs +1 -3
- package/esm2020/directives/tree-view/nimble-tree-view.directive.mjs +1 -3
- package/esm2020/label-provider/core/nimble-label-provider-core.directive.mjs +1 -7
- package/esm2020/label-provider/rich-text/nimble-label-provider-rich-text.directive.mjs +1 -9
- package/esm2020/label-provider/table/nimble-label-provider-table.directive.mjs +1 -23
- package/esm2020/mapping/user/nimble-mapping-user.directive.mjs +1 -3
- package/esm2020/rich-text/editor/nimble-rich-text-editor.directive.mjs +1 -7
- package/esm2020/rich-text-mention/nimble-rich-text-mention-base.directive.mjs +1 -3
- package/esm2020/table/nimble-table.directive.mjs +1 -5
- package/esm2020/table-column/anchor/nimble-table-column-anchor.directive.mjs +1 -15
- package/esm2020/table-column/date-text/nimble-table-column-date-text.directive.mjs +1 -49
- package/esm2020/table-column/duration-text/nimble-table-column-duration-text.directive.mjs +1 -11
- package/esm2020/table-column/enum-text/nimble-table-column-enum-text.directive.mjs +1 -13
- package/esm2020/table-column/icon/nimble-table-column-icon.directive.mjs +1 -13
- package/esm2020/table-column/nimble-table-column-base.directive.mjs +1 -13
- package/esm2020/table-column/number-text/nimble-table-column-number-text.directive.mjs +1 -15
- package/esm2020/table-column/text/nimble-table-column-text.directive.mjs +1 -11
- package/fesm2015/ni-nimble-angular-label-provider-core.mjs +0 -6
- package/fesm2015/ni-nimble-angular-label-provider-core.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-label-provider-rich-text.mjs +0 -8
- package/fesm2015/ni-nimble-angular-label-provider-rich-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-label-provider-table.mjs +0 -22
- package/fesm2015/ni-nimble-angular-label-provider-table.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-mapping-user.mjs +0 -2
- package/fesm2015/ni-nimble-angular-mapping-user.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-rich-text-editor.mjs +0 -6
- package/fesm2015/ni-nimble-angular-rich-text-editor.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-rich-text-mention.mjs +0 -2
- package/fesm2015/ni-nimble-angular-rich-text-mention.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-anchor.mjs +0 -14
- package/fesm2015/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-date-text.mjs +0 -48
- package/fesm2015/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-duration-text.mjs +0 -10
- package/fesm2015/ni-nimble-angular-table-column-duration-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-enum-text.mjs +0 -12
- package/fesm2015/ni-nimble-angular-table-column-enum-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-icon.mjs +0 -12
- package/fesm2015/ni-nimble-angular-table-column-icon.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-number-text.mjs +0 -14
- package/fesm2015/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-text.mjs +0 -10
- package/fesm2015/ni-nimble-angular-table-column-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column.mjs +0 -12
- package/fesm2015/ni-nimble-angular-table-column.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table.mjs +0 -4
- package/fesm2015/ni-nimble-angular-table.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular.mjs +0 -62
- package/fesm2015/ni-nimble-angular.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-label-provider-core.mjs +0 -6
- package/fesm2020/ni-nimble-angular-label-provider-core.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-label-provider-rich-text.mjs +0 -8
- package/fesm2020/ni-nimble-angular-label-provider-rich-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-label-provider-table.mjs +0 -22
- package/fesm2020/ni-nimble-angular-label-provider-table.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-mapping-user.mjs +0 -2
- package/fesm2020/ni-nimble-angular-mapping-user.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-rich-text-editor.mjs +0 -6
- package/fesm2020/ni-nimble-angular-rich-text-editor.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-rich-text-mention.mjs +0 -2
- package/fesm2020/ni-nimble-angular-rich-text-mention.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-anchor.mjs +0 -14
- package/fesm2020/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-date-text.mjs +0 -48
- package/fesm2020/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-duration-text.mjs +0 -10
- package/fesm2020/ni-nimble-angular-table-column-duration-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-enum-text.mjs +0 -12
- package/fesm2020/ni-nimble-angular-table-column-enum-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-icon.mjs +0 -12
- package/fesm2020/ni-nimble-angular-table-column-icon.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-number-text.mjs +0 -14
- package/fesm2020/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-text.mjs +0 -10
- package/fesm2020/ni-nimble-angular-table-column-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column.mjs +0 -12
- package/fesm2020/ni-nimble-angular-table-column.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table.mjs +0 -4
- package/fesm2020/ni-nimble-angular-table.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular.mjs +0 -62
- package/fesm2020/ni-nimble-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -17,8 +17,6 @@ class NimbleTableColumnDateTextDirective extends NimbleTableColumnBaseDirective
|
|
|
17
17
|
get fieldName() {
|
|
18
18
|
return this.elementRef.nativeElement.fieldName;
|
|
19
19
|
}
|
|
20
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
21
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
22
20
|
set fieldName(value) {
|
|
23
21
|
this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);
|
|
24
22
|
}
|
|
@@ -31,96 +29,72 @@ class NimbleTableColumnDateTextDirective extends NimbleTableColumnBaseDirective
|
|
|
31
29
|
get customLocaleMatcher() {
|
|
32
30
|
return this.elementRef.nativeElement.customLocaleMatcher;
|
|
33
31
|
}
|
|
34
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
35
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
36
32
|
set customLocaleMatcher(value) {
|
|
37
33
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customLocaleMatcher', value);
|
|
38
34
|
}
|
|
39
35
|
get customWeekday() {
|
|
40
36
|
return this.elementRef.nativeElement.customWeekday;
|
|
41
37
|
}
|
|
42
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
43
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
44
38
|
set customWeekday(value) {
|
|
45
39
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customWeekday', value);
|
|
46
40
|
}
|
|
47
41
|
get customEra() {
|
|
48
42
|
return this.elementRef.nativeElement.customEra;
|
|
49
43
|
}
|
|
50
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
51
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
52
44
|
set customEra(value) {
|
|
53
45
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customEra', value);
|
|
54
46
|
}
|
|
55
47
|
get customYear() {
|
|
56
48
|
return this.elementRef.nativeElement.customYear;
|
|
57
49
|
}
|
|
58
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
59
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
60
50
|
set customYear(value) {
|
|
61
51
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customYear', value);
|
|
62
52
|
}
|
|
63
53
|
get customMonth() {
|
|
64
54
|
return this.elementRef.nativeElement.customMonth;
|
|
65
55
|
}
|
|
66
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
67
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
68
56
|
set customMonth(value) {
|
|
69
57
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customMonth', value);
|
|
70
58
|
}
|
|
71
59
|
get customDay() {
|
|
72
60
|
return this.elementRef.nativeElement.customDay;
|
|
73
61
|
}
|
|
74
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
75
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
76
62
|
set customDay(value) {
|
|
77
63
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customDay', value);
|
|
78
64
|
}
|
|
79
65
|
get customHour() {
|
|
80
66
|
return this.elementRef.nativeElement.customHour;
|
|
81
67
|
}
|
|
82
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
83
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
84
68
|
set customHour(value) {
|
|
85
69
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customHour', value);
|
|
86
70
|
}
|
|
87
71
|
get customMinute() {
|
|
88
72
|
return this.elementRef.nativeElement.customMinute;
|
|
89
73
|
}
|
|
90
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
91
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
92
74
|
set customMinute(value) {
|
|
93
75
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customMinute', value);
|
|
94
76
|
}
|
|
95
77
|
get customSecond() {
|
|
96
78
|
return this.elementRef.nativeElement.customSecond;
|
|
97
79
|
}
|
|
98
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
99
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
100
80
|
set customSecond(value) {
|
|
101
81
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customSecond', value);
|
|
102
82
|
}
|
|
103
83
|
get customTimeZoneName() {
|
|
104
84
|
return this.elementRef.nativeElement.customTimeZoneName;
|
|
105
85
|
}
|
|
106
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
107
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
108
86
|
set customTimeZoneName(value) {
|
|
109
87
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeZoneName', value);
|
|
110
88
|
}
|
|
111
89
|
get customFormatMatcher() {
|
|
112
90
|
return this.elementRef.nativeElement.customFormatMatcher;
|
|
113
91
|
}
|
|
114
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
115
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
116
92
|
set customFormatMatcher(value) {
|
|
117
93
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customFormatMatcher', value);
|
|
118
94
|
}
|
|
119
95
|
get customHour12() {
|
|
120
96
|
return this.elementRef.nativeElement.customHour12;
|
|
121
97
|
}
|
|
122
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
123
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
124
98
|
set customHour12(value) {
|
|
125
99
|
let convertedValue;
|
|
126
100
|
if (typeof value === 'boolean') {
|
|
@@ -137,88 +111,66 @@ class NimbleTableColumnDateTextDirective extends NimbleTableColumnBaseDirective
|
|
|
137
111
|
get customTimeZone() {
|
|
138
112
|
return this.elementRef.nativeElement.customTimeZone;
|
|
139
113
|
}
|
|
140
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
141
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
142
114
|
set customTimeZone(value) {
|
|
143
115
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeZone', value);
|
|
144
116
|
}
|
|
145
117
|
get customCalendar() {
|
|
146
118
|
return this.elementRef.nativeElement.customCalendar;
|
|
147
119
|
}
|
|
148
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
149
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
150
120
|
set customCalendar(value) {
|
|
151
121
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customCalendar', value);
|
|
152
122
|
}
|
|
153
123
|
get customDayPeriod() {
|
|
154
124
|
return this.elementRef.nativeElement.customDayPeriod;
|
|
155
125
|
}
|
|
156
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
157
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
158
126
|
set customDayPeriod(value) {
|
|
159
127
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customDayPeriod', value);
|
|
160
128
|
}
|
|
161
129
|
get customNumberingSystem() {
|
|
162
130
|
return this.elementRef.nativeElement.customNumberingSystem;
|
|
163
131
|
}
|
|
164
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
165
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
166
132
|
set customNumberingSystem(value) {
|
|
167
133
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customNumberingSystem', value);
|
|
168
134
|
}
|
|
169
135
|
get customDateStyle() {
|
|
170
136
|
return this.elementRef.nativeElement.customDateStyle;
|
|
171
137
|
}
|
|
172
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
173
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
174
138
|
set customDateStyle(value) {
|
|
175
139
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customDateStyle', value);
|
|
176
140
|
}
|
|
177
141
|
get customTimeStyle() {
|
|
178
142
|
return this.elementRef.nativeElement.customTimeStyle;
|
|
179
143
|
}
|
|
180
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
181
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
182
144
|
set customTimeStyle(value) {
|
|
183
145
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeStyle', value);
|
|
184
146
|
}
|
|
185
147
|
get customHourCycle() {
|
|
186
148
|
return this.elementRef.nativeElement.customHourCycle;
|
|
187
149
|
}
|
|
188
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
189
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
190
150
|
set customHourCycle(value) {
|
|
191
151
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customHourCycle', value);
|
|
192
152
|
}
|
|
193
153
|
get fractionalWidth() {
|
|
194
154
|
return this.elementRef.nativeElement.fractionalWidth;
|
|
195
155
|
}
|
|
196
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
197
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
198
156
|
set fractionalWidth(value) {
|
|
199
157
|
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
200
158
|
}
|
|
201
159
|
get minPixelWidth() {
|
|
202
160
|
return this.elementRef.nativeElement.minPixelWidth;
|
|
203
161
|
}
|
|
204
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
205
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
206
162
|
set minPixelWidth(value) {
|
|
207
163
|
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
208
164
|
}
|
|
209
165
|
get groupIndex() {
|
|
210
166
|
return this.elementRef.nativeElement.groupIndex;
|
|
211
167
|
}
|
|
212
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
213
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
214
168
|
set groupIndex(value) {
|
|
215
169
|
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
216
170
|
}
|
|
217
171
|
get groupingDisabled() {
|
|
218
172
|
return this.elementRef.nativeElement.groupingDisabled;
|
|
219
173
|
}
|
|
220
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
221
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
222
174
|
set groupingDisabled(value) {
|
|
223
175
|
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
224
176
|
}
|
|
@@ -1 +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 {\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 { DateStyle };\nexport { DateTextFormat };\nexport { DayFormat };\nexport { DayPeriodFormat };\nexport { EraFormat };\nexport { FormatMatcherAlgorithm };\nexport { HourCycleFormat };\nexport { HourFormat };\nexport { LocaleMatcherAlgorithm };\nexport { MinuteFormat };\nexport { MonthFormat };\nexport { SecondFormat };\nexport { TimeStyle };\nexport { TimeZoneNameFormat };\nexport { WeekdayFormat };\nexport { 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":";;;;;;;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BAClD,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,kCAAkC,CAAC;AAChD,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
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 {\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 { DateStyle };\nexport { DateTextFormat };\nexport { DayFormat };\nexport { DayPeriodFormat };\nexport { EraFormat };\nexport { FormatMatcherAlgorithm };\nexport { HourCycleFormat };\nexport { HourFormat };\nexport { LocaleMatcherAlgorithm };\nexport { MinuteFormat };\nexport { MonthFormat };\nexport { SecondFormat };\nexport { TimeStyle };\nexport { TimeZoneNameFormat };\nexport { WeekdayFormat };\nexport { 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 @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 @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 @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 @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 @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 @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 @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 @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 @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 @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 @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 @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 @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 @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 @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 @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 @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 @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 @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 @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 @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<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;IAiNvG,WAAmB,CAAA,QAAmB,EAAE,UAA2C,EAAA;AAC/E,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;KAC/B;AAlND,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,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,mB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AA,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,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,YAH9B,YAAY,CAAA,EAAA,CAAA,CAAA;4FAGb,+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;;;;"}
|
|
@@ -15,40 +15,30 @@ class NimbleTableColumnDurationTextDirective extends NimbleTableColumnBaseDirect
|
|
|
15
15
|
get fieldName() {
|
|
16
16
|
return this.elementRef.nativeElement.fieldName;
|
|
17
17
|
}
|
|
18
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
19
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
20
18
|
set fieldName(value) {
|
|
21
19
|
this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);
|
|
22
20
|
}
|
|
23
21
|
get fractionalWidth() {
|
|
24
22
|
return this.elementRef.nativeElement.fractionalWidth;
|
|
25
23
|
}
|
|
26
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
27
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
28
24
|
set fractionalWidth(value) {
|
|
29
25
|
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
30
26
|
}
|
|
31
27
|
get minPixelWidth() {
|
|
32
28
|
return this.elementRef.nativeElement.minPixelWidth;
|
|
33
29
|
}
|
|
34
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
35
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
36
30
|
set minPixelWidth(value) {
|
|
37
31
|
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
38
32
|
}
|
|
39
33
|
get groupIndex() {
|
|
40
34
|
return this.elementRef.nativeElement.groupIndex;
|
|
41
35
|
}
|
|
42
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
43
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
44
36
|
set groupIndex(value) {
|
|
45
37
|
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
46
38
|
}
|
|
47
39
|
get groupingDisabled() {
|
|
48
40
|
return this.elementRef.nativeElement.groupingDisabled;
|
|
49
41
|
}
|
|
50
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
51
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
52
42
|
set groupingDisabled(value) {
|
|
53
43
|
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
54
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-table-column-duration-text.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/duration-text/nimble-table-column-duration-text.directive.ts","../../../../projects/ni/nimble-angular/table-column/duration-text/nimble-table-column-duration-text.module.ts","../../../../projects/ni/nimble-angular/table-column/duration-text/ni-nimble-angular-table-column-duration-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnDurationText, tableColumnDurationTextTag } from '@ni/nimble-components/dist/esm/table-column/duration-text';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\n\nexport type { TableColumnDurationText };\nexport { tableColumnDurationTextTag };\n\n/**\n * Directive to provide Angular integration for the table column element for duration text.\n */\n@Directive({\n selector: 'nimble-table-column-duration-text'\n})\nexport class NimbleTableColumnDurationTextDirective extends NimbleTableColumnBaseDirective<TableColumnDurationText> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-table-column-duration-text.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/duration-text/nimble-table-column-duration-text.directive.ts","../../../../projects/ni/nimble-angular/table-column/duration-text/nimble-table-column-duration-text.module.ts","../../../../projects/ni/nimble-angular/table-column/duration-text/ni-nimble-angular-table-column-duration-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnDurationText, tableColumnDurationTextTag } from '@ni/nimble-components/dist/esm/table-column/duration-text';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\n\nexport type { TableColumnDurationText };\nexport { tableColumnDurationTextTag };\n\n/**\n * Directive to provide Angular integration for the table column element for duration text.\n */\n@Directive({\n selector: 'nimble-table-column-duration-text'\n})\nexport class NimbleTableColumnDurationTextDirective extends NimbleTableColumnBaseDirective<TableColumnDurationText> {\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 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<TableColumnDurationText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnDurationTextDirective } from './nimble-table-column-duration-text.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/duration-text';\n\n@NgModule({\n declarations: [NimbleTableColumnDurationTextDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnDurationTextDirective]\n})\nexport class NimbleTableColumnDurationTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAQA;;AAEG;AAIG,MAAO,sCAAuC,SAAQ,8BAAuD,CAAA;IAyC/G,WAAmB,CAAA,QAAmB,EAAE,UAA+C,EAAA;AACnF,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;KAC/B;AA1CD,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,aAA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,EAAA,EAAA,EAAA,IAAA,EAAA,mCAAmC,EAJ7B,YAAA,EAAA,CAAA,sCAAsC,CAC3C,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,sCAAsC,CAAA,EAAA,CAAA,CAAA;AAEvC,mCAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mCAAmC,YAHlC,YAAY,CAAA,EAAA,CAAA,CAAA;4FAGb,mCAAmC,EAAA,UAAA,EAAA,CAAA;kBAL/C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,sCAAsC,CAAC;oBACtD,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,sCAAsC,CAAC;AACpD,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -17,48 +17,36 @@ class NimbleTableColumnEnumTextDirective extends NimbleTableColumnBaseDirective
|
|
|
17
17
|
get fieldName() {
|
|
18
18
|
return this.elementRef.nativeElement.fieldName;
|
|
19
19
|
}
|
|
20
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
21
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
22
20
|
set fieldName(value) {
|
|
23
21
|
this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);
|
|
24
22
|
}
|
|
25
23
|
get keyType() {
|
|
26
24
|
return this.elementRef.nativeElement.keyType;
|
|
27
25
|
}
|
|
28
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
29
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
30
26
|
set keyType(value) {
|
|
31
27
|
this.renderer.setProperty(this.elementRef.nativeElement, 'keyType', value);
|
|
32
28
|
}
|
|
33
29
|
get fractionalWidth() {
|
|
34
30
|
return this.elementRef.nativeElement.fractionalWidth;
|
|
35
31
|
}
|
|
36
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
37
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
38
32
|
set fractionalWidth(value) {
|
|
39
33
|
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
40
34
|
}
|
|
41
35
|
get minPixelWidth() {
|
|
42
36
|
return this.elementRef.nativeElement.minPixelWidth;
|
|
43
37
|
}
|
|
44
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
45
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
46
38
|
set minPixelWidth(value) {
|
|
47
39
|
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
48
40
|
}
|
|
49
41
|
get groupIndex() {
|
|
50
42
|
return this.elementRef.nativeElement.groupIndex;
|
|
51
43
|
}
|
|
52
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
53
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
54
44
|
set groupIndex(value) {
|
|
55
45
|
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
56
46
|
}
|
|
57
47
|
get groupingDisabled() {
|
|
58
48
|
return this.elementRef.nativeElement.groupingDisabled;
|
|
59
49
|
}
|
|
60
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
61
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
62
50
|
set groupingDisabled(value) {
|
|
63
51
|
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
64
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-table-column-enum-text.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/enum-text/nimble-table-column-enum-text.directive.ts","../../../../projects/ni/nimble-angular/table-column/enum-text/nimble-table-column-enum-text.module.ts","../../../../projects/ni/nimble-angular/table-column/enum-text/ni-nimble-angular-table-column-enum-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnEnumText, tableColumnEnumTextTag } from '@ni/nimble-components/dist/esm/table-column/enum-text';\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';\n\nexport { MappingKeyType };\nexport type { TableColumnEnumText };\nexport { tableColumnEnumTextTag };\n\n/**\n * Directive to provide Angular integration for the table column element for enum text.\n */\n@Directive({\n selector: 'nimble-table-column-enum-text'\n})\nexport class NimbleTableColumnEnumTextDirective extends NimbleTableColumnBaseDirective<TableColumnEnumText> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-table-column-enum-text.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/enum-text/nimble-table-column-enum-text.directive.ts","../../../../projects/ni/nimble-angular/table-column/enum-text/nimble-table-column-enum-text.module.ts","../../../../projects/ni/nimble-angular/table-column/enum-text/ni-nimble-angular-table-column-enum-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnEnumText, tableColumnEnumTextTag } from '@ni/nimble-components/dist/esm/table-column/enum-text';\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';\n\nexport { MappingKeyType };\nexport type { TableColumnEnumText };\nexport { tableColumnEnumTextTag };\n\n/**\n * Directive to provide Angular integration for the table column element for enum text.\n */\n@Directive({\n selector: 'nimble-table-column-enum-text'\n})\nexport class NimbleTableColumnEnumTextDirective extends NimbleTableColumnBaseDirective<TableColumnEnumText> {\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 constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnEnumText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnEnumTextDirective } from './nimble-table-column-enum-text.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/text';\n\n@NgModule({\n declarations: [NimbleTableColumnEnumTextDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnEnumTextDirective]\n})\nexport class NimbleTableColumnEnumTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAUA;;AAEG;AAIG,MAAO,kCAAmC,SAAQ,8BAAmD,CAAA;IAiDvG,WAAmB,CAAA,QAAmB,EAAE,UAA2C,EAAA;AAC/E,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;KAC/B;AAlDD,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;IAED,IAA8B,OAAO,CAAC,KAAqB,EAAA;AACvD,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;KAC9E;AAED,IAAA,IAAW,eAAe,GAAA;AACtB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,eAAe,CAAC;KACxD;IAED,IAAsC,eAAe,CAAC,KAAgD,EAAA;AAClG,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,iBAAiB,EAAE,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;KAChH;AAED,IAAA,IAAW,aAAa,GAAA;AACpB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,aAAa,CAAC;KACtD;IAED,IAAqC,aAAa,CAAC,KAAgD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A+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;;;;"}
|
|
@@ -15,48 +15,36 @@ class NimbleTableColumnIconDirective extends NimbleTableColumnBaseDirective {
|
|
|
15
15
|
get fieldName() {
|
|
16
16
|
return this.elementRef.nativeElement.fieldName;
|
|
17
17
|
}
|
|
18
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
19
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
20
18
|
set fieldName(value) {
|
|
21
19
|
this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);
|
|
22
20
|
}
|
|
23
21
|
get keyType() {
|
|
24
22
|
return this.elementRef.nativeElement.keyType;
|
|
25
23
|
}
|
|
26
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
27
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
28
24
|
set keyType(value) {
|
|
29
25
|
this.renderer.setProperty(this.elementRef.nativeElement, 'keyType', value);
|
|
30
26
|
}
|
|
31
27
|
get fractionalWidth() {
|
|
32
28
|
return this.elementRef.nativeElement.fractionalWidth;
|
|
33
29
|
}
|
|
34
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
35
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
36
30
|
set fractionalWidth(value) {
|
|
37
31
|
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
38
32
|
}
|
|
39
33
|
get minPixelWidth() {
|
|
40
34
|
return this.elementRef.nativeElement.minPixelWidth;
|
|
41
35
|
}
|
|
42
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
43
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
44
36
|
set minPixelWidth(value) {
|
|
45
37
|
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
46
38
|
}
|
|
47
39
|
get groupIndex() {
|
|
48
40
|
return this.elementRef.nativeElement.groupIndex;
|
|
49
41
|
}
|
|
50
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
51
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
52
42
|
set groupIndex(value) {
|
|
53
43
|
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
54
44
|
}
|
|
55
45
|
get groupingDisabled() {
|
|
56
46
|
return this.elementRef.nativeElement.groupingDisabled;
|
|
57
47
|
}
|
|
58
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
59
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
60
48
|
set groupingDisabled(value) {
|
|
61
49
|
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
62
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-table-column-icon.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/icon/nimble-table-column-icon.directive.ts","../../../../projects/ni/nimble-angular/table-column/icon/nimble-table-column-icon.module.ts","../../../../projects/ni/nimble-angular/table-column/icon/ni-nimble-angular-table-column-icon.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnIcon, tableColumnIconTag } from '@ni/nimble-components/dist/esm/table-column/icon';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\nimport type { MappingKeyType } from '@ni/nimble-components/dist/esm/table-column/enum-base/types';\n\nexport type { TableColumnIcon };\nexport { tableColumnIconTag };\n\n/**\n * Directive to provide Angular integration for the table column element for icons/spinners.\n */\n@Directive({\n selector: 'nimble-table-column-icon'\n})\nexport class NimbleTableColumnIconDirective extends NimbleTableColumnBaseDirective<TableColumnIcon> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-table-column-icon.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/icon/nimble-table-column-icon.directive.ts","../../../../projects/ni/nimble-angular/table-column/icon/nimble-table-column-icon.module.ts","../../../../projects/ni/nimble-angular/table-column/icon/ni-nimble-angular-table-column-icon.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnIcon, tableColumnIconTag } from '@ni/nimble-components/dist/esm/table-column/icon';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\nimport type { MappingKeyType } from '@ni/nimble-components/dist/esm/table-column/enum-base/types';\n\nexport type { TableColumnIcon };\nexport { tableColumnIconTag };\n\n/**\n * Directive to provide Angular integration for the table column element for icons/spinners.\n */\n@Directive({\n selector: 'nimble-table-column-icon'\n})\nexport class NimbleTableColumnIconDirective extends NimbleTableColumnBaseDirective<TableColumnIcon> {\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 constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnIcon>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnIconDirective } from './nimble-table-column-icon.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/icon';\n\n@NgModule({\n declarations: [NimbleTableColumnIconDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnIconDirective]\n})\nexport class NimbleTableColumnIconModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AASA;;AAEG;AAIG,MAAO,8BAA+B,SAAQ,8BAA+C,CAAA;IAiD/F,WAAmB,CAAA,QAAmB,EAAE,UAAuC,EAAA;AAC3E,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;KAC/B;AAlDD,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,CAA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AAjD,KAAK;uBAAC,iBAAiB,CAAA;gBAQS,UAAU,EAAA,CAAA;sBAA1C,KAAK;uBAAC,aAAa,CAAA;gBAQmB,gBAAgB,EAAA,CAAA;sBAAtD,KAAK;uBAAC,mBAAmB,CAAA;;;MCjDjB,2BAA2B,CAAA;;yHAA3B,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA3B,2BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,2BAA2B,EAJrB,YAAA,EAAA,CAAA,8BAA8B,CACnC,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,8BAA8B,CAAA,EAAA,CAAA,CAAA;AAE/B,2BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,2BAA2B,YAH1B,YAAY,CAAA,EAAA,CAAA,CAAA;4FAGb,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBALvC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,8BAA8B,CAAC;oBAC9C,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,8BAA8B,CAAC;AAC5C,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -16,8 +16,6 @@ class NimbleTableColumnNumberTextDirective extends NimbleTableColumnBaseDirectiv
|
|
|
16
16
|
get fieldName() {
|
|
17
17
|
return this.elementRef.nativeElement.fieldName;
|
|
18
18
|
}
|
|
19
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
20
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
21
19
|
set fieldName(value) {
|
|
22
20
|
this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);
|
|
23
21
|
}
|
|
@@ -36,48 +34,36 @@ class NimbleTableColumnNumberTextDirective extends NimbleTableColumnBaseDirectiv
|
|
|
36
34
|
get decimalDigits() {
|
|
37
35
|
return this.elementRef.nativeElement.decimalDigits;
|
|
38
36
|
}
|
|
39
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
40
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
41
37
|
set decimalDigits(value) {
|
|
42
38
|
this.renderer.setProperty(this.elementRef.nativeElement, 'decimalDigits', toNullableNumberProperty(value));
|
|
43
39
|
}
|
|
44
40
|
get decimalMaximumDigits() {
|
|
45
41
|
return this.elementRef.nativeElement.decimalMaximumDigits;
|
|
46
42
|
}
|
|
47
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
48
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
49
43
|
set decimalMaximumDigits(value) {
|
|
50
44
|
this.renderer.setProperty(this.elementRef.nativeElement, 'decimalMaximumDigits', toNullableNumberProperty(value));
|
|
51
45
|
}
|
|
52
46
|
get fractionalWidth() {
|
|
53
47
|
return this.elementRef.nativeElement.fractionalWidth;
|
|
54
48
|
}
|
|
55
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
56
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
57
49
|
set fractionalWidth(value) {
|
|
58
50
|
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
59
51
|
}
|
|
60
52
|
get minPixelWidth() {
|
|
61
53
|
return this.elementRef.nativeElement.minPixelWidth;
|
|
62
54
|
}
|
|
63
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
64
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
65
55
|
set minPixelWidth(value) {
|
|
66
56
|
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
67
57
|
}
|
|
68
58
|
get groupIndex() {
|
|
69
59
|
return this.elementRef.nativeElement.groupIndex;
|
|
70
60
|
}
|
|
71
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
72
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
73
61
|
set groupIndex(value) {
|
|
74
62
|
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
75
63
|
}
|
|
76
64
|
get groupingDisabled() {
|
|
77
65
|
return this.elementRef.nativeElement.groupingDisabled;
|
|
78
66
|
}
|
|
79
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
80
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
81
67
|
set groupingDisabled(value) {
|
|
82
68
|
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
83
69
|
}
|