@ni/nimble-angular 20.2.19 → 20.2.21

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.
Files changed (135) hide show
  1. package/directives/combobox/nimble-combobox-control-value-accessor.directive.d.ts +1 -1
  2. package/esm2020/directives/anchor/nimble-anchor.directive.mjs +4 -4
  3. package/esm2020/directives/anchor-base/nimble-anchor-base.directive.mjs +5 -5
  4. package/esm2020/directives/anchor-button/nimble-anchor-button.directive.mjs +4 -4
  5. package/esm2020/directives/anchor-menu-item/nimble-anchor-menu-item.directive.mjs +4 -4
  6. package/esm2020/directives/anchor-tab/nimble-anchor-tab.directive.mjs +4 -4
  7. package/esm2020/directives/anchor-tabs/nimble-anchor-tabs.directive.mjs +5 -5
  8. package/esm2020/directives/anchor-tree-item/nimble-anchor-tree-item.directive.mjs +4 -4
  9. package/esm2020/directives/banner/nimble-banner.directive.mjs +6 -6
  10. package/esm2020/directives/breadcrumb/nimble-breadcrumb.directive.mjs +5 -5
  11. package/esm2020/directives/breadcrumb-item/nimble-breadcrumb-item-router-link-with-href.directive.mjs +4 -4
  12. package/esm2020/directives/button/nimble-button.directive.mjs +5 -5
  13. package/esm2020/directives/card-button/nimble-card-button.directive.mjs +5 -5
  14. package/esm2020/directives/checkbox/nimble-checkbox.directive.mjs +5 -5
  15. package/esm2020/directives/combobox/nimble-combobox-control-value-accessor.directive.mjs +9 -9
  16. package/esm2020/directives/combobox/nimble-combobox.directive.mjs +5 -5
  17. package/esm2020/directives/dialog/nimble-dialog.directive.mjs +5 -5
  18. package/esm2020/directives/drawer/nimble-drawer.directive.mjs +5 -5
  19. package/esm2020/directives/icon-base/nimble-icon-base.directive.mjs +5 -5
  20. package/esm2020/directives/list-option/nimble-combobox-list-option.directive.mjs +6 -6
  21. package/esm2020/directives/list-option/nimble-list-option.directive.mjs +5 -5
  22. package/esm2020/directives/menu-button/nimble-menu-button.directive.mjs +5 -5
  23. package/esm2020/directives/menu-item/nimble-menu-item.directive.mjs +5 -5
  24. package/esm2020/directives/number-field/nimble-number-field.directive.mjs +5 -5
  25. package/esm2020/directives/radio/nimble-radio.directive.mjs +5 -5
  26. package/esm2020/directives/radio-group/nimble-radio-group.directive.mjs +5 -5
  27. package/esm2020/directives/select/nimble-select.directive.mjs +5 -5
  28. package/esm2020/directives/spinner/nimble-spinner.directive.mjs +5 -5
  29. package/esm2020/directives/switch/nimble-switch.directive.mjs +5 -5
  30. package/esm2020/directives/tab/nimble-tab.directive.mjs +5 -5
  31. package/esm2020/directives/tabs/nimble-tabs.directive.mjs +6 -6
  32. package/esm2020/directives/text-area/nimble-text-area.directive.mjs +5 -5
  33. package/esm2020/directives/text-field/nimble-text-field.directive.mjs +5 -5
  34. package/esm2020/directives/theme-provider/nimble-theme-provider.directive.mjs +5 -5
  35. package/esm2020/directives/toggle-button/nimble-toggle-button.directive.mjs +5 -5
  36. package/esm2020/directives/tooltip/nimble-tooltip.directive.mjs +5 -5
  37. package/esm2020/directives/tree-item/nimble-tree-item.directive.mjs +6 -6
  38. package/esm2020/directives/tree-view/nimble-tree-view.directive.mjs +5 -5
  39. package/esm2020/mapping/base/nimble-mapping-base.directive.mjs +5 -5
  40. package/esm2020/mapping/icon/nimble-mapping-icon.directive.mjs +6 -6
  41. package/esm2020/mapping/spinner/nimble-mapping-spinner.directive.mjs +6 -6
  42. package/esm2020/mapping/text/nimble-mapping-text.directive.mjs +6 -6
  43. package/esm2020/mapping/user/nimble-mapping-user.directive.mjs +6 -6
  44. package/esm2020/rich-text/editor/nimble-rich-text-editor.directive.mjs +6 -6
  45. package/esm2020/rich-text/viewer/nimble-rich-text-viewer.directive.mjs +5 -5
  46. package/esm2020/rich-text-mention/nimble-rich-text-mention-base.directive.mjs +5 -5
  47. package/esm2020/table/nimble-table.directive.mjs +5 -5
  48. package/esm2020/table-column/anchor/nimble-table-column-anchor.directive.mjs +4 -4
  49. package/esm2020/table-column/date-text/nimble-table-column-date-text.directive.mjs +4 -4
  50. package/esm2020/table-column/duration-text/nimble-table-column-duration-text.directive.mjs +4 -4
  51. package/esm2020/table-column/enum-text/nimble-table-column-enum-text.directive.mjs +4 -4
  52. package/esm2020/table-column/icon/nimble-table-column-icon.directive.mjs +4 -4
  53. package/esm2020/table-column/nimble-table-column-base.directive.mjs +5 -5
  54. package/esm2020/table-column/number-text/nimble-table-column-number-text.directive.mjs +4 -4
  55. package/esm2020/table-column/text/nimble-table-column-text.directive.mjs +4 -4
  56. package/esm2020/unit/byte/nimble-unit-byte.directive.mjs +5 -5
  57. package/fesm2015/ni-nimble-angular-mapping-base.mjs +4 -4
  58. package/fesm2015/ni-nimble-angular-mapping-base.mjs.map +1 -1
  59. package/fesm2015/ni-nimble-angular-mapping-icon.mjs +5 -5
  60. package/fesm2015/ni-nimble-angular-mapping-icon.mjs.map +1 -1
  61. package/fesm2015/ni-nimble-angular-mapping-spinner.mjs +5 -5
  62. package/fesm2015/ni-nimble-angular-mapping-spinner.mjs.map +1 -1
  63. package/fesm2015/ni-nimble-angular-mapping-text.mjs +5 -5
  64. package/fesm2015/ni-nimble-angular-mapping-text.mjs.map +1 -1
  65. package/fesm2015/ni-nimble-angular-mapping-user.mjs +5 -5
  66. package/fesm2015/ni-nimble-angular-mapping-user.mjs.map +1 -1
  67. package/fesm2015/ni-nimble-angular-rich-text-editor.mjs +5 -5
  68. package/fesm2015/ni-nimble-angular-rich-text-editor.mjs.map +1 -1
  69. package/fesm2015/ni-nimble-angular-rich-text-mention.mjs +4 -4
  70. package/fesm2015/ni-nimble-angular-rich-text-mention.mjs.map +1 -1
  71. package/fesm2015/ni-nimble-angular-rich-text-viewer.mjs +4 -4
  72. package/fesm2015/ni-nimble-angular-rich-text-viewer.mjs.map +1 -1
  73. package/fesm2015/ni-nimble-angular-table-column-anchor.mjs +3 -3
  74. package/fesm2015/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
  75. package/fesm2015/ni-nimble-angular-table-column-date-text.mjs +3 -3
  76. package/fesm2015/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
  77. package/fesm2015/ni-nimble-angular-table-column-duration-text.mjs +3 -3
  78. package/fesm2015/ni-nimble-angular-table-column-duration-text.mjs.map +1 -1
  79. package/fesm2015/ni-nimble-angular-table-column-enum-text.mjs +3 -3
  80. package/fesm2015/ni-nimble-angular-table-column-enum-text.mjs.map +1 -1
  81. package/fesm2015/ni-nimble-angular-table-column-icon.mjs +3 -3
  82. package/fesm2015/ni-nimble-angular-table-column-icon.mjs.map +1 -1
  83. package/fesm2015/ni-nimble-angular-table-column-number-text.mjs +3 -3
  84. package/fesm2015/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
  85. package/fesm2015/ni-nimble-angular-table-column-text.mjs +3 -3
  86. package/fesm2015/ni-nimble-angular-table-column-text.mjs.map +1 -1
  87. package/fesm2015/ni-nimble-angular-table-column.mjs +4 -4
  88. package/fesm2015/ni-nimble-angular-table-column.mjs.map +1 -1
  89. package/fesm2015/ni-nimble-angular-table.mjs +4 -4
  90. package/fesm2015/ni-nimble-angular-table.mjs.map +1 -1
  91. package/fesm2015/ni-nimble-angular-unit-byte.mjs +4 -4
  92. package/fesm2015/ni-nimble-angular-unit-byte.mjs.map +1 -1
  93. package/fesm2015/ni-nimble-angular.mjs +150 -150
  94. package/fesm2015/ni-nimble-angular.mjs.map +1 -1
  95. package/fesm2020/ni-nimble-angular-mapping-base.mjs +4 -4
  96. package/fesm2020/ni-nimble-angular-mapping-base.mjs.map +1 -1
  97. package/fesm2020/ni-nimble-angular-mapping-icon.mjs +5 -5
  98. package/fesm2020/ni-nimble-angular-mapping-icon.mjs.map +1 -1
  99. package/fesm2020/ni-nimble-angular-mapping-spinner.mjs +5 -5
  100. package/fesm2020/ni-nimble-angular-mapping-spinner.mjs.map +1 -1
  101. package/fesm2020/ni-nimble-angular-mapping-text.mjs +5 -5
  102. package/fesm2020/ni-nimble-angular-mapping-text.mjs.map +1 -1
  103. package/fesm2020/ni-nimble-angular-mapping-user.mjs +5 -5
  104. package/fesm2020/ni-nimble-angular-mapping-user.mjs.map +1 -1
  105. package/fesm2020/ni-nimble-angular-rich-text-editor.mjs +5 -5
  106. package/fesm2020/ni-nimble-angular-rich-text-editor.mjs.map +1 -1
  107. package/fesm2020/ni-nimble-angular-rich-text-mention.mjs +4 -4
  108. package/fesm2020/ni-nimble-angular-rich-text-mention.mjs.map +1 -1
  109. package/fesm2020/ni-nimble-angular-rich-text-viewer.mjs +4 -4
  110. package/fesm2020/ni-nimble-angular-rich-text-viewer.mjs.map +1 -1
  111. package/fesm2020/ni-nimble-angular-table-column-anchor.mjs +3 -3
  112. package/fesm2020/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
  113. package/fesm2020/ni-nimble-angular-table-column-date-text.mjs +3 -3
  114. package/fesm2020/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
  115. package/fesm2020/ni-nimble-angular-table-column-duration-text.mjs +3 -3
  116. package/fesm2020/ni-nimble-angular-table-column-duration-text.mjs.map +1 -1
  117. package/fesm2020/ni-nimble-angular-table-column-enum-text.mjs +3 -3
  118. package/fesm2020/ni-nimble-angular-table-column-enum-text.mjs.map +1 -1
  119. package/fesm2020/ni-nimble-angular-table-column-icon.mjs +3 -3
  120. package/fesm2020/ni-nimble-angular-table-column-icon.mjs.map +1 -1
  121. package/fesm2020/ni-nimble-angular-table-column-number-text.mjs +3 -3
  122. package/fesm2020/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
  123. package/fesm2020/ni-nimble-angular-table-column-text.mjs +3 -3
  124. package/fesm2020/ni-nimble-angular-table-column-text.mjs.map +1 -1
  125. package/fesm2020/ni-nimble-angular-table-column.mjs +4 -4
  126. package/fesm2020/ni-nimble-angular-table-column.mjs.map +1 -1
  127. package/fesm2020/ni-nimble-angular-table.mjs +4 -4
  128. package/fesm2020/ni-nimble-angular-table.mjs.map +1 -1
  129. package/fesm2020/ni-nimble-angular-unit-byte.mjs +4 -4
  130. package/fesm2020/ni-nimble-angular-unit-byte.mjs.map +1 -1
  131. package/fesm2020/ni-nimble-angular.mjs +150 -150
  132. package/fesm2020/ni-nimble-angular.mjs.map +1 -1
  133. package/internal-utilities/template-value-helpers.d.ts +3 -3
  134. package/package.json +2 -2
  135. package/table-column/anchor/nimble-table-column-anchor-navigation-guard.directive.d.ts +1 -1
@@ -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 @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,aAA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AA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,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,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;;;;"}
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;AACvG,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;KAClD;IAED,IAAgC,SAAS,CAAC,KAAyB,EAAA;A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B,CAAA;gBAQY,eAAe,EAAA,CAAA;sBAApD,KAAK;uBAAC,kBAAkB,CAAA;gBAQY,aAAa,EAAA,CAAA;sBAAjD,KAAK;uBAAC,iBAAiB,CAAA;gBAQS,UAAU,EAAA,CAAA;sBAA1C,KAAK;uBAAC,aAAa,CAAA;gBAQmB,gBAAgB,EAAA,CAAA;sBAAtD,KAAK;uBAAC,mBAAmB,CAAA;;;MClPjB,+BAA+B,CAAA;;6HAA/B,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA/B,+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,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;;;;"}
@@ -9,9 +9,6 @@ import { CommonModule } from '@angular/common';
9
9
  * Directive to provide Angular integration for the table column element for duration text.
10
10
  */
11
11
  class NimbleTableColumnDurationTextDirective extends NimbleTableColumnBaseDirective {
12
- constructor(renderer, elementRef) {
13
- super(renderer, elementRef);
14
- }
15
12
  get fieldName() {
16
13
  return this.elementRef.nativeElement.fieldName;
17
14
  }
@@ -42,6 +39,9 @@ class NimbleTableColumnDurationTextDirective extends NimbleTableColumnBaseDirect
42
39
  set groupingDisabled(value) {
43
40
  this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
44
41
  }
42
+ constructor(renderer, elementRef) {
43
+ super(renderer, elementRef);
44
+ }
45
45
  }
46
46
  NimbleTableColumnDurationTextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleTableColumnDurationTextDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
47
47
  NimbleTableColumnDurationTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleTableColumnDurationTextDirective, selector: "nimble-table-column-duration-text", inputs: { fieldName: ["field-name", "fieldName"], fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"] }, usesInheritance: true, ngImport: i0 });
@@ -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 @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,aAAa,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;KAChF;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,EAAA;AAC/F,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,eAAe,EAAE,wBAAwB,CAAC,KAAK,CAAC,CAAC,CAAC;KAC9G;AAED,IAAA,IAAW,UAAU,GAAA;AACjB,QAAA,OAAO,IAAI,CAA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/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;AAC/G,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,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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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;;;;"}
@@ -11,9 +11,6 @@ import '@ni/nimble-components/dist/esm/table-column/text';
11
11
  * Directive to provide Angular integration for the table column element for enum text.
12
12
  */
13
13
  class NimbleTableColumnEnumTextDirective extends NimbleTableColumnBaseDirective {
14
- constructor(renderer, elementRef) {
15
- super(renderer, elementRef);
16
- }
17
14
  get fieldName() {
18
15
  return this.elementRef.nativeElement.fieldName;
19
16
  }
@@ -50,6 +47,9 @@ class NimbleTableColumnEnumTextDirective extends NimbleTableColumnBaseDirective
50
47
  set groupingDisabled(value) {
51
48
  this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
52
49
  }
50
+ constructor(renderer, elementRef) {
51
+ super(renderer, elementRef);
52
+ }
53
53
  }
54
54
  NimbleTableColumnEnumTextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleTableColumnEnumTextDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
55
55
  NimbleTableColumnEnumTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleTableColumnEnumTextDirective, selector: "nimble-table-column-enum-text", inputs: { fieldName: ["field-name", "fieldName"], keyType: ["key-type", "keyType"], fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"] }, usesInheritance: true, ngImport: i0 });
@@ -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 @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,KAA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C,KAAK;uBAAC,aAAa,CAAA;gBAQmB,gBAAgB,EAAA,CAAA;sBAAtD,KAAK;uBAAC,mBAAmB,CAAA;;;MClDjB,+BAA+B,CAAA;;6HAA/B,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA/B,+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,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;;;;"}
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;AACvG,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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AA,SAAA,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,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;;;;"}
@@ -9,9 +9,6 @@ import { CommonModule } from '@angular/common';
9
9
  * Directive to provide Angular integration for the table column element for icons/spinners.
10
10
  */
11
11
  class NimbleTableColumnIconDirective extends NimbleTableColumnBaseDirective {
12
- constructor(renderer, elementRef) {
13
- super(renderer, elementRef);
14
- }
15
12
  get fieldName() {
16
13
  return this.elementRef.nativeElement.fieldName;
17
14
  }
@@ -48,6 +45,9 @@ class NimbleTableColumnIconDirective extends NimbleTableColumnBaseDirective {
48
45
  set groupingDisabled(value) {
49
46
  this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
50
47
  }
48
+ constructor(renderer, elementRef) {
49
+ super(renderer, elementRef);
50
+ }
51
51
  }
52
52
  NimbleTableColumnIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleTableColumnIconDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
53
53
  NimbleTableColumnIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleTableColumnIconDirective, selector: "nimble-table-column-icon", inputs: { fieldName: ["field-name", "fieldName"], keyType: ["key-type", "keyType"], fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"] }, usesInheritance: true, ngImport: i0 });
@@ -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 @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,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-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;AAC/F,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;KAClD;IAED,IAAgC,SAAS,CAAC,KAAyB,EAAA;AAC/D,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;KAChF;AAED,IAAA,IAAW,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,KAA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A,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;;;;"}
@@ -10,9 +10,6 @@ import { CommonModule } from '@angular/common';
10
10
  * Directive to provide Angular integration for the table column element for number text.
11
11
  */
12
12
  class NimbleTableColumnNumberTextDirective extends NimbleTableColumnBaseDirective {
13
- constructor(renderer, elementRef) {
14
- super(renderer, elementRef);
15
- }
16
13
  get fieldName() {
17
14
  return this.elementRef.nativeElement.fieldName;
18
15
  }
@@ -67,6 +64,9 @@ class NimbleTableColumnNumberTextDirective extends NimbleTableColumnBaseDirectiv
67
64
  set groupingDisabled(value) {
68
65
  this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
69
66
  }
67
+ constructor(renderer, elementRef) {
68
+ super(renderer, elementRef);
69
+ }
70
70
  }
71
71
  NimbleTableColumnNumberTextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleTableColumnNumberTextDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
72
72
  NimbleTableColumnNumberTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleTableColumnNumberTextDirective, selector: "nimble-table-column-number-text", inputs: { fieldName: ["field-name", "fieldName"], format: "format", alignment: "alignment", decimalDigits: ["decimal-digits", "decimalDigits"], decimalMaximumDigits: ["decimal-maximum-digits", "decimalMaximumDigits"], fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"] }, usesInheritance: true, ngImport: i0 });
@@ -1 +1 @@
1
- {"version":3,"file":"ni-nimble-angular-table-column-number-text.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/number-text/nimble-table-column-number-text.directive.ts","../../../../projects/ni/nimble-angular/table-column/number-text/nimble-table-column-number-text.module.ts","../../../../projects/ni/nimble-angular/table-column/number-text/ni-nimble-angular-table-column-number-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\nimport { type TableColumnNumberText, tableColumnNumberTextTag } from '@ni/nimble-components/dist/esm/table-column/number-text';\nimport { NumberTextAlignment, NumberTextFormat } from '@ni/nimble-components/dist/esm/table-column/number-text/types';\n\nexport type { TableColumnNumberText };\nexport { tableColumnNumberTextTag, NumberTextFormat, NumberTextAlignment };\n\n/**\n * Directive to provide Angular integration for the table column element for number text.\n */\n@Directive({\n selector: 'nimble-table-column-number-text'\n})\nexport class NimbleTableColumnNumberTextDirective extends NimbleTableColumnBaseDirective<TableColumnNumberText> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get format(): NumberTextFormat {\n return this.elementRef.nativeElement.format;\n }\n\n @Input() public set format(value: NumberTextFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'format', value);\n }\n\n public get alignment(): NumberTextAlignment {\n return this.elementRef.nativeElement.alignment;\n }\n\n @Input() public set alignment(value: NumberTextAlignment) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'alignment', value);\n }\n\n public get decimalDigits(): number | null | undefined {\n return this.elementRef.nativeElement.decimalDigits;\n }\n\n @Input('decimal-digits') public set decimalDigits(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'decimalDigits', toNullableNumberProperty(value));\n }\n\n public get decimalMaximumDigits(): number | null | undefined {\n return this.elementRef.nativeElement.decimalMaximumDigits;\n }\n\n @Input('decimal-maximum-digits') public set decimalMaximumDigits(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'decimalMaximumDigits', toNullableNumberProperty(value));\n }\n\n public get fractionalWidth(): number | null | undefined {\n return this.elementRef.nativeElement.fractionalWidth;\n }\n\n @Input('fractional-width') public set fractionalWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));\n }\n\n public get minPixelWidth(): number | null | undefined {\n return this.elementRef.nativeElement.minPixelWidth;\n }\n\n @Input('min-pixel-width') public set minPixelWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));\n }\n\n public get groupIndex(): number | null | undefined {\n return this.elementRef.nativeElement.groupIndex;\n }\n\n @Input('group-index') public set groupIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));\n }\n\n public get groupingDisabled(): boolean {\n return this.elementRef.nativeElement.groupingDisabled;\n }\n\n @Input('grouping-disabled') public set groupingDisabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));\n }\n\n public constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnNumberText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnNumberTextDirective } from './nimble-table-column-number-text.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/number-text';\n\n@NgModule({\n declarations: [NimbleTableColumnNumberTextDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnNumberTextDirective]\n})\nexport class NimbleTableColumnNumberTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AASA;;AAEG;AAIG,MAAO,oCAAqC,SAAQ,8BAAqD,CAAA;IAyE3G,WAAmB,CAAA,QAAmB,EAAE,UAA6C,EAAA;AACjF,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;KAC/B;AA1ED,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,KAAuB,EAAA;AAC9C,QAAA,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AA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iCAAiC,EAJ3B,YAAA,EAAA,CAAA,oCAAoC,CACzC,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,oCAAoC,CAAA,EAAA,CAAA,CAAA;AAErC,iCAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iCAAiC,YAHhC,YAAY,CAAA,EAAA,CAAA,CAAA;4FAGb,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAL7C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,oCAAoC,CAAC;oBACpD,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,oCAAoC,CAAC;AAClD,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"ni-nimble-angular-table-column-number-text.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/number-text/nimble-table-column-number-text.directive.ts","../../../../projects/ni/nimble-angular/table-column/number-text/nimble-table-column-number-text.module.ts","../../../../projects/ni/nimble-angular/table-column/number-text/ni-nimble-angular-table-column-number-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\nimport { type TableColumnNumberText, tableColumnNumberTextTag } from '@ni/nimble-components/dist/esm/table-column/number-text';\nimport { NumberTextAlignment, NumberTextFormat } from '@ni/nimble-components/dist/esm/table-column/number-text/types';\n\nexport type { TableColumnNumberText };\nexport { tableColumnNumberTextTag, NumberTextFormat, NumberTextAlignment };\n\n/**\n * Directive to provide Angular integration for the table column element for number text.\n */\n@Directive({\n selector: 'nimble-table-column-number-text'\n})\nexport class NimbleTableColumnNumberTextDirective extends NimbleTableColumnBaseDirective<TableColumnNumberText> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get format(): NumberTextFormat {\n return this.elementRef.nativeElement.format;\n }\n\n @Input() public set format(value: NumberTextFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'format', value);\n }\n\n public get alignment(): NumberTextAlignment {\n return this.elementRef.nativeElement.alignment;\n }\n\n @Input() public set alignment(value: NumberTextAlignment) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'alignment', value);\n }\n\n public get decimalDigits(): number | null | undefined {\n return this.elementRef.nativeElement.decimalDigits;\n }\n\n @Input('decimal-digits') public set decimalDigits(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'decimalDigits', toNullableNumberProperty(value));\n }\n\n public get decimalMaximumDigits(): number | null | undefined {\n return this.elementRef.nativeElement.decimalMaximumDigits;\n }\n\n @Input('decimal-maximum-digits') public set decimalMaximumDigits(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'decimalMaximumDigits', toNullableNumberProperty(value));\n }\n\n public get fractionalWidth(): number | null | undefined {\n return this.elementRef.nativeElement.fractionalWidth;\n }\n\n @Input('fractional-width') public set fractionalWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));\n }\n\n public get minPixelWidth(): number | null | undefined {\n return this.elementRef.nativeElement.minPixelWidth;\n }\n\n @Input('min-pixel-width') public set minPixelWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));\n }\n\n public get groupIndex(): number | null | undefined {\n return this.elementRef.nativeElement.groupIndex;\n }\n\n @Input('group-index') public set groupIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));\n }\n\n public get groupingDisabled(): boolean {\n return this.elementRef.nativeElement.groupingDisabled;\n }\n\n @Input('grouping-disabled') public set groupingDisabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));\n }\n\n public constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnNumberText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnNumberTextDirective } from './nimble-table-column-number-text.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/number-text';\n\n@NgModule({\n declarations: [NimbleTableColumnNumberTextDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnNumberTextDirective]\n})\nexport class NimbleTableColumnNumberTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AASA;;AAEG;AAIG,MAAO,oCAAqC,SAAQ,8BAAqD,CAAA;AAC3G,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;KAClD;IAED,IAAgC,SAAS,CAAC,KAAyB,EAAA;AAC/D,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;KAChF;AAED,IAAA,IAAW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC;KAC/C;IAED,IAAoB,MAAM,CAAC,KAAuB,EAAA;AAC9C,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,QAA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AA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iCAAiC,EAJ3B,YAAA,EAAA,CAAA,oCAAoC,CACzC,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,oCAAoC,CAAA,EAAA,CAAA,CAAA;AAErC,iCAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iCAAiC,YAHhC,YAAY,CAAA,EAAA,CAAA,CAAA;4FAGb,iCAAiC,EAAA,UAAA,EAAA,CAAA;kBAL7C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,oCAAoC,CAAC;oBACpD,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,oCAAoC,CAAC;AAClD,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
@@ -9,9 +9,6 @@ import { CommonModule } from '@angular/common';
9
9
  * Directive to provide Angular integration for the table column element for text.
10
10
  */
11
11
  class NimbleTableColumnTextDirective extends NimbleTableColumnBaseDirective {
12
- constructor(renderer, elementRef) {
13
- super(renderer, elementRef);
14
- }
15
12
  get fieldName() {
16
13
  return this.elementRef.nativeElement.fieldName;
17
14
  }
@@ -42,6 +39,9 @@ class NimbleTableColumnTextDirective extends NimbleTableColumnBaseDirective {
42
39
  set groupingDisabled(value) {
43
40
  this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
44
41
  }
42
+ constructor(renderer, elementRef) {
43
+ super(renderer, elementRef);
44
+ }
45
45
  }
46
46
  NimbleTableColumnTextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleTableColumnTextDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
47
47
  NimbleTableColumnTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleTableColumnTextDirective, selector: "nimble-table-column-text", inputs: { fieldName: ["field-name", "fieldName"], fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"] }, usesInheritance: true, ngImport: i0 });
@@ -1 +1 @@
1
- {"version":3,"file":"ni-nimble-angular-table-column-text.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/text/nimble-table-column-text.directive.ts","../../../../projects/ni/nimble-angular/table-column/text/nimble-table-column-text.module.ts","../../../../projects/ni/nimble-angular/table-column/text/ni-nimble-angular-table-column-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnText, tableColumnTextTag } from '@ni/nimble-components/dist/esm/table-column/text';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\n\nexport type { TableColumnText };\nexport { tableColumnTextTag };\n\n/**\n * Directive to provide Angular integration for the table column element for text.\n */\n@Directive({\n selector: 'nimble-table-column-text'\n})\nexport class NimbleTableColumnTextDirective extends NimbleTableColumnBaseDirective<TableColumnText> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get fractionalWidth(): number | null | undefined {\n return this.elementRef.nativeElement.fractionalWidth;\n }\n\n @Input('fractional-width') public set fractionalWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));\n }\n\n public get minPixelWidth(): number | null | undefined {\n return this.elementRef.nativeElement.minPixelWidth;\n }\n\n @Input('min-pixel-width') public set minPixelWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));\n }\n\n public get groupIndex(): number | null | undefined {\n return this.elementRef.nativeElement.groupIndex;\n }\n\n @Input('group-index') public set groupIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));\n }\n\n public get groupingDisabled(): boolean {\n return this.elementRef.nativeElement.groupingDisabled;\n }\n\n @Input('grouping-disabled') public set groupingDisabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));\n }\n\n public constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnTextDirective } from './nimble-table-column-text.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/text';\n\n@NgModule({\n declarations: [NimbleTableColumnTextDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnTextDirective]\n})\nexport class NimbleTableColumnTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAQA;;AAEG;AAIG,MAAO,8BAA+B,SAAQ,8BAA+C,CAAA;IAyC/F,WAAmB,CAAA,QAAmB,EAAE,UAAuC,EAAA;AAC3E,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,UAA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,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;;;;"}
1
+ {"version":3,"file":"ni-nimble-angular-table-column-text.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/text/nimble-table-column-text.directive.ts","../../../../projects/ni/nimble-angular/table-column/text/nimble-table-column-text.module.ts","../../../../projects/ni/nimble-angular/table-column/text/ni-nimble-angular-table-column-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnText, tableColumnTextTag } from '@ni/nimble-components/dist/esm/table-column/text';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\n\nexport type { TableColumnText };\nexport { tableColumnTextTag };\n\n/**\n * Directive to provide Angular integration for the table column element for text.\n */\n@Directive({\n selector: 'nimble-table-column-text'\n})\nexport class NimbleTableColumnTextDirective extends NimbleTableColumnBaseDirective<TableColumnText> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get fractionalWidth(): number | null | undefined {\n return this.elementRef.nativeElement.fractionalWidth;\n }\n\n @Input('fractional-width') public set fractionalWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));\n }\n\n public get minPixelWidth(): number | null | undefined {\n return this.elementRef.nativeElement.minPixelWidth;\n }\n\n @Input('min-pixel-width') public set minPixelWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));\n }\n\n public get groupIndex(): number | null | undefined {\n return this.elementRef.nativeElement.groupIndex;\n }\n\n @Input('group-index') public set groupIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));\n }\n\n public get groupingDisabled(): boolean {\n return this.elementRef.nativeElement.groupingDisabled;\n }\n\n @Input('grouping-disabled') public set groupingDisabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));\n }\n\n public constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnTextDirective } from './nimble-table-column-text.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/text';\n\n@NgModule({\n declarations: [NimbleTableColumnTextDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnTextDirective]\n})\nexport class NimbleTableColumnTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAQA;;AAEG;AAIG,MAAO,8BAA+B,SAAQ,8BAA+C,CAAA;AAC/F,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,O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AtD,KAAK;uBAAC,mBAAmB,CAAA;;;MCxCjB,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;;;;"}
@@ -7,10 +7,6 @@ import { toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/
7
7
  * Base class for table column directives.
8
8
  */
9
9
  class NimbleTableColumnBaseDirective {
10
- constructor(renderer, elementRef) {
11
- this.renderer = renderer;
12
- this.elementRef = elementRef;
13
- }
14
10
  get columnId() {
15
11
  return this.elementRef.nativeElement.columnId;
16
12
  }
@@ -47,6 +43,10 @@ class NimbleTableColumnBaseDirective {
47
43
  set sortIndex(value) {
48
44
  this.renderer.setProperty(this.elementRef.nativeElement, 'sortIndex', toNullableNumberProperty(value));
49
45
  }
46
+ constructor(renderer, elementRef) {
47
+ this.renderer = renderer;
48
+ this.elementRef = elementRef;
49
+ }
50
50
  checkValidity() {
51
51
  return this.elementRef.nativeElement.checkValidity();
52
52
  }
@@ -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, 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 @Input('column-id') public set columnId(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'columnId', value);\n }\n\n public get actionMenuSlot(): string | undefined {\n return this.elementRef.nativeElement.actionMenuSlot;\n }\n\n @Input('action-menu-slot') public set actionMenuSlot(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'actionMenuSlot', value);\n }\n\n public get actionMenuLabel(): string | undefined {\n return this.elementRef.nativeElement.actionMenuLabel;\n }\n\n @Input('action-menu-label') public set actionMenuLabel(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'actionMenuLabel', value);\n }\n\n public get columnHidden(): boolean {\n return this.elementRef.nativeElement.columnHidden;\n }\n\n @Input('column-hidden') public set columnHidden(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'columnHidden', toBooleanProperty(value));\n }\n\n public get sortDirection(): TableColumnSortDirection {\n return this.elementRef.nativeElement.sortDirection;\n }\n\n @Input('sort-direction') public set sortDirection(value: TableColumnSortDirection) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sortDirection', value);\n }\n\n public get sortIndex(): number | null | undefined {\n return this.elementRef.nativeElement.sortIndex;\n }\n\n @Input('sort-index') public set sortIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sortIndex', toNullableNumberProperty(value));\n }\n\n public constructor(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;IAiDvC,WAAsC,CAAA,QAAmB,EAAqB,UAAyB,EAAA;QAAjE,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAe;KAAI;AAhD3G,IAAA,IAAW,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC;KACjD;IAED,IAA+B,QAAQ,CAAC,KAAyB,EAAA;AAC7D,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;KAC/E;AAED,IAAA,IAAW,cAAc,GAAA;AACrB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,cAAc,CAAC;KACvD;IAED,IAAsC,cAAc,CAAC,KAAyB,EAAA;AAC1E,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,E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IAAW,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC;KACjD;;4HAzDQ,8BAA8B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,SAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;gHAA9B,8BAA8B,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,CAAA,WAAA,EAAA,UAAA,CAAA,EAAA,cAAA,EAAA,CAAA,kBAAA,EAAA,gBAAA,CAAA,EAAA,eAAA,EAAA,CAAA,mBAAA,EAAA,iBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,eAAA,EAAA,cAAA,CAAA,EAAA,aAAA,EAAA,CAAA,gBAAA,EAAA,eAAA,CAAA,EAAA,SAAA,EAAA,CAAA,YAAA,EAAA,WAAA,CAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAA9B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAD1C,SAAS;yHAMyB,QAAQ,EAAA,CAAA;sBAAtC,KAAK;uBAAC,WAAW,CAAA;gBAQoB,cAAc,EAAA,CAAA;sBAAnD,KAAK;uBAAC,kBAAkB,CAAA;gBAQc,eAAe,EAAA,CAAA;sBAArD,KAAK;uBAAC,mBAAmB,CAAA;gBAQS,YAAY,EAAA,CAAA;sBAA9C,KAAK;uBAAC,eAAe,CAAA;gBAQc,aAAa,EAAA,CAAA;sBAAhD,KAAK;uBAAC,gBAAgB,CAAA;gBAQS,SAAS,EAAA,CAAA;sBAAxC,KAAK;uBAAC,YAAY,CAAA;;;ACzDvB;;AAEG;;;;"}
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 @Input('column-id') public set columnId(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'columnId', value);\n }\n\n public get actionMenuSlot(): string | undefined {\n return this.elementRef.nativeElement.actionMenuSlot;\n }\n\n @Input('action-menu-slot') public set actionMenuSlot(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'actionMenuSlot', value);\n }\n\n public get actionMenuLabel(): string | undefined {\n return this.elementRef.nativeElement.actionMenuLabel;\n }\n\n @Input('action-menu-label') public set actionMenuLabel(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'actionMenuLabel', value);\n }\n\n public get columnHidden(): boolean {\n return this.elementRef.nativeElement.columnHidden;\n }\n\n @Input('column-hidden') public set columnHidden(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'columnHidden', toBooleanProperty(value));\n }\n\n public get sortDirection(): TableColumnSortDirection {\n return this.elementRef.nativeElement.sortDirection;\n }\n\n @Input('sort-direction') public set sortDirection(value: TableColumnSortDirection) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sortDirection', value);\n }\n\n public get sortIndex(): number | null | undefined {\n return this.elementRef.nativeElement.sortIndex;\n }\n\n @Input('sort-index') public set sortIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'sortIndex', toNullableNumberProperty(value));\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<T>) {}\n\n public checkValidity(): boolean {\n return this.elementRef.nativeElement.checkValidity();\n }\n\n public get validity(): TableColumnValidity {\n return this.elementRef.nativeElement.validity;\n }\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAQA;;AAEG;MAEU,8BAA8B,CAAA;AACvC,IAAA,IAAW,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC;KACjD;IAED,IAA+B,QAAQ,CAAC,KAAyB,EAAA;AAC7D,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;KAC/E;AAED,IAAA,IAAW,cAAc,GAAA;AACrB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,cAAc,CAAC;KACvD;IAED,IAAsC,cAAc,CAAC,KAAyB,EAAA;AAC1E,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,gBAAgB,EAAE,KAAK,CAAC,CAAC;KACrF;AAED,IAAA,IAAW,eAAe,GAAA;AACtB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,eAAe,CAAC;KACxD;IAED,IAAuC,eAAe,CAAC,KAAyB,EAAA;AAC5E,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,iBAAiB,EAAE,KAAK,CAAC,CAAC;KACtF;AAED,IAAA,IAAW,YAAY,GAAA;AACnB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,YAAY,C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CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;gHAA9B,8BAA8B,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,CAAA,WAAA,EAAA,UAAA,CAAA,EAAA,cAAA,EAAA,CAAA,kBAAA,EAAA,gBAAA,CAAA,EAAA,eAAA,EAAA,CAAA,mBAAA,EAAA,iBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,eAAA,EAAA,cAAA,CAAA,EAAA,aAAA,EAAA,CAAA,gBAAA,EAAA,eAAA,CAAA,EAAA,SAAA,EAAA,CAAA,YAAA,EAAA,WAAA,CAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAA9B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAD1C,SAAS;yHAMyB,QAAQ,EAAA,CAAA;sBAAtC,KAAK;uBAAC,WAAW,CAAA;gBAQoB,cAAc,EAAA,CAAA;sBAAnD,KAAK;uBAAC,kBAAkB,CAAA;gBAQc,eAAe,EAAA,CAAA;sBAArD,KAAK;uBAAC,mBAAmB,CAAA;gBAQS,YAAY,EAAA,CAAA;sBAA9C,KAAK;uBAAC,eAAe,CAAA;gBAQc,aAAa,EAAA,CAAA;sBAAhD,KAAK;uBAAC,gBAAgB,CAAA;gBAQS,SAAS,EAAA,CAAA;sBAAxC,KAAK;uBAAC,YAAY,CAAA;;;ACzDvB;;AAEG;;;;"}
@@ -8,10 +8,6 @@ import { CommonModule } from '@angular/common';
8
8
  * Directive to provide Angular integration for the table element.
9
9
  */
10
10
  class NimbleTableDirective {
11
- constructor(renderer, elementRef) {
12
- this.renderer = renderer;
13
- this.elementRef = elementRef;
14
- }
15
11
  get data$() {
16
12
  return this.dataObservable;
17
13
  }
@@ -54,6 +50,10 @@ class NimbleTableDirective {
54
50
  get validity() {
55
51
  return this.elementRef.nativeElement.validity;
56
52
  }
53
+ constructor(renderer, elementRef) {
54
+ this.renderer = renderer;
55
+ this.elementRef = elementRef;
56
+ }
57
57
  ngOnDestroy() {
58
58
  this.dataSubscription?.unsubscribe();
59
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ni-nimble-angular-table.mjs","sources":["../../../../projects/ni/nimble-angular/table/nimble-table.directive.ts","../../../../projects/ni/nimble-angular/table/nimble-table.module.ts","../../../../projects/ni/nimble-angular/table/ni-nimble-angular-table.ts"],"sourcesContent":["import { Directive, ElementRef, Input, OnDestroy, Renderer2 } from '@angular/core';\nimport { type Table, tableTag } from '@ni/nimble-components/dist/esm/table';\nimport type { TableRecord, TableFieldName, TableFieldValue, TableValidity, TableActionMenuToggleEventDetail, TableRowSelectionEventDetail, TableColumnConfigurationChangeEventDetail, TableColumnConfiguration, TableRowExpansionToggleEventDetail } from '@ni/nimble-components/dist/esm/table/types';\nimport { TableRowSelectionMode, TableRecordDelayedHierarchyState, TableSetRecordHierarchyOptions, TableRecordHierarchyOptions } from '@ni/nimble-components/dist/esm/table/types';\nimport type { Observable, Subscription } from 'rxjs';\n\nexport type { Table };\nexport { tableTag };\nexport type { TableActionMenuToggleEventDetail, TableRowSelectionEventDetail, TableColumnConfigurationChangeEventDetail, TableColumnConfiguration, TableRowExpansionToggleEventDetail };\nexport { TableRecord, TableFieldName, TableFieldValue, TableValidity, TableRowSelectionMode, TableRecordDelayedHierarchyState, TableSetRecordHierarchyOptions, TableRecordHierarchyOptions };\n\n/**\n * Directive to provide Angular integration for the table element.\n */\n@Directive({\n selector: 'nimble-table'\n})\nexport class NimbleTableDirective<TData extends TableRecord = TableRecord> implements OnDestroy {\n public get data$(): Observable<TData[]> | undefined {\n return this.dataObservable;\n }\n\n /**\n * An `Observable<TData[]>` that emits data that should be set on the table.\n *\n * When using `data$`, the timing of when the table has been updated with a new collection of data\n * cannot be observed or await by an application. If an application needs to know when the data has\n * been applied, explicitly call `setData()` rather than using the `data$` property. For example,\n * calling `getSelectedRecordIds()` immediately after emitting a new value to the `data$` `Observable`\n * may not take the new data into account when determining the selected records.\n */\n @Input() public set data$(value: Observable<TData[]> | undefined) {\n this.dataSubscription?.unsubscribe();\n\n this.dataObservable = value;\n if (value) {\n this.dataSubscription = value.subscribe(\n next => {\n void this.setData(next);\n }\n );\n }\n }\n\n public get idFieldName(): string | null | undefined {\n return this.elementRef.nativeElement.idFieldName;\n }\n\n @Input('id-field-name') public set idFieldName(value: string | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'idFieldName', value);\n }\n\n public get parentIdFieldName(): string | null | undefined {\n return this.elementRef.nativeElement.parentIdFieldName;\n }\n\n @Input('parent-id-field-name') public set parentIdFieldName(value: string | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'parentIdFieldName', value);\n }\n\n public get selectionMode(): TableRowSelectionMode {\n return this.elementRef.nativeElement.selectionMode;\n }\n\n @Input('selection-mode') public set selectionMode(value: TableRowSelectionMode) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'selectionMode', value);\n }\n\n public get validity(): TableValidity {\n return this.elementRef.nativeElement.validity;\n }\n\n private dataObservable?: Observable<TData[]>;\n private dataSubscription?: Subscription;\n\n public constructor(private readonly renderer: Renderer2, private readonly elementRef: ElementRef<Table<TData>>) {}\n\n public ngOnDestroy(): void {\n this.dataSubscription?.unsubscribe();\n }\n\n public checkValidity(): boolean {\n return this.elementRef.nativeElement.checkValidity();\n }\n\n public async setData(data: readonly TData[]): Promise<void> {\n return this.elementRef.nativeElement.setData(data);\n }\n\n public async getSelectedRecordIds(): Promise<string[]> {\n return this.elementRef.nativeElement.getSelectedRecordIds();\n }\n\n public async setSelectedRecordIds(recordIds: string[]): Promise<void> {\n return this.elementRef.nativeElement.setSelectedRecordIds(recordIds);\n }\n\n public async setRecordHierarchyOptions(hierarchyOptions: TableSetRecordHierarchyOptions[]): Promise<void> {\n return this.elementRef.nativeElement.setRecordHierarchyOptions(hierarchyOptions);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableDirective } from './nimble-table.directive';\n\nimport '@ni/nimble-components/dist/esm/table';\n\n@NgModule({\n declarations: [NimbleTableDirective],\n imports: [CommonModule],\n exports: [NimbleTableDirective]\n})\nexport class NimbleTableModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAWA;;AAEG;MAIU,oBAAoB,CAAA;IA0D7B,WAAoC,CAAA,QAAmB,EAAmB,UAAoC,EAAA;QAA1E,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAmB,IAAU,CAAA,UAAA,GAAV,UAAU,CAA0B;KAAI;AAzDlH,IAAA,IAAW,KAAK,GAAA;QACZ,OAAO,IAAI,CAAC,cAAc,CAAC;KAC9B;AAED;;;;;;;;AAQG;IACH,IAAoB,KAAK,CAAC,KAAsC,EAAA;AAC5D,QAAA,IAAI,CAAC,gBAAgB,EAAE,WAAW,EAAE,CAAC;AAErC,QAAA,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;AAC5B,QAAA,IAAI,KAAK,EAAE;YACP,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC,SAAS,CACnC,IAAI,IAAG;AACH,gBAAA,KAAK,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAC5B,aAAC,CACJ,CAAC;AACL,SAAA;KACJ;AAED,IAAA,IAAW,WAAW,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC;KACpD;IAED,IAAmC,WAAW,CAAC,KAAgC,EAAA;AAC3E,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;KAClF;AAED,IAAA,IAAW,iBAAiB,GAAA;AACxB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,iBAAiB,CAAC;KAC1D;IAED,IAA0C,iBAAiB,CAAC,KAAgC,EAAA;AACxF,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,I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AA,EAAA,IAAA,EAAA,iBAAiB,YAHhB,YAAY,CAAA,EAAA,CAAA,CAAA;4FAGb,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAL7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,oBAAoB,CAAC;oBACpC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,oBAAoB,CAAC;AAClC,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"ni-nimble-angular-table.mjs","sources":["../../../../projects/ni/nimble-angular/table/nimble-table.directive.ts","../../../../projects/ni/nimble-angular/table/nimble-table.module.ts","../../../../projects/ni/nimble-angular/table/ni-nimble-angular-table.ts"],"sourcesContent":["import { Directive, ElementRef, Input, OnDestroy, Renderer2 } from '@angular/core';\nimport { type Table, tableTag } from '@ni/nimble-components/dist/esm/table';\nimport type { TableRecord, TableFieldName, TableFieldValue, TableValidity, TableActionMenuToggleEventDetail, TableRowSelectionEventDetail, TableColumnConfigurationChangeEventDetail, TableColumnConfiguration, TableRowExpansionToggleEventDetail } from '@ni/nimble-components/dist/esm/table/types';\nimport { TableRowSelectionMode, TableRecordDelayedHierarchyState, TableSetRecordHierarchyOptions, TableRecordHierarchyOptions } from '@ni/nimble-components/dist/esm/table/types';\nimport type { Observable, Subscription } from 'rxjs';\n\nexport type { Table };\nexport { tableTag };\nexport type { TableActionMenuToggleEventDetail, TableRowSelectionEventDetail, TableColumnConfigurationChangeEventDetail, TableColumnConfiguration, TableRowExpansionToggleEventDetail };\nexport { TableRecord, TableFieldName, TableFieldValue, TableValidity, TableRowSelectionMode, TableRecordDelayedHierarchyState, TableSetRecordHierarchyOptions, TableRecordHierarchyOptions };\n\n/**\n * Directive to provide Angular integration for the table element.\n */\n@Directive({\n selector: 'nimble-table'\n})\nexport class NimbleTableDirective<TData extends TableRecord = TableRecord> implements OnDestroy {\n public get data$(): Observable<TData[]> | undefined {\n return this.dataObservable;\n }\n\n /**\n * An `Observable<TData[]>` that emits data that should be set on the table.\n *\n * When using `data$`, the timing of when the table has been updated with a new collection of data\n * cannot be observed or await by an application. If an application needs to know when the data has\n * been applied, explicitly call `setData()` rather than using the `data$` property. For example,\n * calling `getSelectedRecordIds()` immediately after emitting a new value to the `data$` `Observable`\n * may not take the new data into account when determining the selected records.\n */\n @Input() public set data$(value: Observable<TData[]> | undefined) {\n this.dataSubscription?.unsubscribe();\n\n this.dataObservable = value;\n if (value) {\n this.dataSubscription = value.subscribe(\n next => {\n void this.setData(next);\n }\n );\n }\n }\n\n public get idFieldName(): string | null | undefined {\n return this.elementRef.nativeElement.idFieldName;\n }\n\n @Input('id-field-name') public set idFieldName(value: string | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'idFieldName', value);\n }\n\n public get parentIdFieldName(): string | null | undefined {\n return this.elementRef.nativeElement.parentIdFieldName;\n }\n\n @Input('parent-id-field-name') public set parentIdFieldName(value: string | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'parentIdFieldName', value);\n }\n\n public get selectionMode(): TableRowSelectionMode {\n return this.elementRef.nativeElement.selectionMode;\n }\n\n @Input('selection-mode') public set selectionMode(value: TableRowSelectionMode) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'selectionMode', value);\n }\n\n public get validity(): TableValidity {\n return this.elementRef.nativeElement.validity;\n }\n\n private dataObservable?: Observable<TData[]>;\n private dataSubscription?: Subscription;\n\n public constructor(private readonly renderer: Renderer2, private readonly elementRef: ElementRef<Table<TData>>) {}\n\n public ngOnDestroy(): void {\n this.dataSubscription?.unsubscribe();\n }\n\n public checkValidity(): boolean {\n return this.elementRef.nativeElement.checkValidity();\n }\n\n public async setData(data: readonly TData[]): Promise<void> {\n return this.elementRef.nativeElement.setData(data);\n }\n\n public async getSelectedRecordIds(): Promise<string[]> {\n return this.elementRef.nativeElement.getSelectedRecordIds();\n }\n\n public async setSelectedRecordIds(recordIds: string[]): Promise<void> {\n return this.elementRef.nativeElement.setSelectedRecordIds(recordIds);\n }\n\n public async setRecordHierarchyOptions(hierarchyOptions: TableSetRecordHierarchyOptions[]): Promise<void> {\n return this.elementRef.nativeElement.setRecordHierarchyOptions(hierarchyOptions);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableDirective } from './nimble-table.directive';\n\nimport '@ni/nimble-components/dist/esm/table';\n\n@NgModule({\n declarations: [NimbleTableDirective],\n imports: [CommonModule],\n exports: [NimbleTableDirective]\n})\nexport class NimbleTableModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAWA;;AAEG;MAIU,oBAAoB,CAAA;AAC7B,IAAA,IAAW,KAAK,GAAA;QACZ,OAAO,IAAI,CAAC,cAAc,CAAC;KAC9B;AAED;;;;;;;;AAQG;IACH,IAAoB,KAAK,CAAC,KAAsC,EAAA;AAC5D,QAAA,IAAI,CAAC,gBAAgB,EAAE,WAAW,EAAE,CAAC;AAErC,QAAA,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;AAC5B,QAAA,IAAI,KAAK,EAAE;YACP,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC,SAAS,CACnC,IAAI,IAAG;AACH,gBAAA,KAAK,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAC5B,aAAC,CACJ,CAAC;AACL,SAAA;KACJ;AAED,IAAA,IAAW,WAAW,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC;KACpD;IAED,IAAmC,WAAW,CAAC,KAAgC,EAAA;AAC3E,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;KAClF;AAED,IAAA,IAAW,iBAAiB,GAAA;AACxB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,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AA,IAAA,EAAA,iBAAiB,EAJX,YAAA,EAAA,CAAA,oBAAoB,CACzB,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAErB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAHhB,YAAY,CAAA,EAAA,CAAA,CAAA;4FAGb,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAL7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,oBAAoB,CAAC;oBACpC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,oBAAoB,CAAC;AAClC,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
@@ -8,16 +8,16 @@ import { CommonModule } from '@angular/common';
8
8
  * Directive to provide Angular integration for the byte unit element used by the number-text column.
9
9
  */
10
10
  class NimbleUnitByteDirective {
11
- constructor(renderer, elementRef) {
12
- this.renderer = renderer;
13
- this.elementRef = elementRef;
14
- }
15
11
  get binary() {
16
12
  return this.elementRef.nativeElement.binary;
17
13
  }
18
14
  set binary(value) {
19
15
  this.renderer.setProperty(this.elementRef.nativeElement, 'binary', toBooleanProperty(value));
20
16
  }
17
+ constructor(renderer, elementRef) {
18
+ this.renderer = renderer;
19
+ this.elementRef = elementRef;
20
+ }
21
21
  }
22
22
  NimbleUnitByteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
23
23
  NimbleUnitByteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleUnitByteDirective, selector: "nimble-unit-byte", inputs: { binary: "binary" }, ngImport: i0 });
@@ -1 +1 @@
1
- {"version":3,"file":"ni-nimble-angular-unit-byte.mjs","sources":["../../../../projects/ni/nimble-angular/unit/byte/nimble-unit-byte.directive.ts","../../../../projects/ni/nimble-angular/unit/byte/nimble-unit-byte.module.ts","../../../../projects/ni/nimble-angular/unit/byte/ni-nimble-angular-unit-byte.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type UnitByte, unitByteTag } from '@ni/nimble-components/dist/esm/unit/byte';\nimport { toBooleanProperty, type BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';\n\nexport type { UnitByte };\nexport { unitByteTag };\n\n/**\n * Directive to provide Angular integration for the byte unit element used by the number-text column.\n */\n@Directive({\n selector: 'nimble-unit-byte'\n})\nexport class NimbleUnitByteDirective {\n public get binary(): boolean {\n return this.elementRef.nativeElement.binary;\n }\n\n @Input() public set binary(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'binary', toBooleanProperty(value));\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<UnitByte>) {}\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleUnitByteDirective } from './nimble-unit-byte.directive';\n\nimport '@ni/nimble-components/dist/esm/unit/byte';\n\n@NgModule({\n declarations: [NimbleUnitByteDirective],\n imports: [CommonModule],\n exports: [NimbleUnitByteDirective]\n})\nexport class NimbleUnitByteModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAOA;;AAEG;MAIU,uBAAuB,CAAA;IAShC,WAAsC,CAAA,QAAmB,EAAqB,UAAgC,EAAA;QAAxE,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAsB;KAAI;AARlH,IAAA,IAAW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,UAAU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A,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAHnB,YAAY,CAAA,EAAA,CAAA,CAAA;4FAGb,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,uBAAuB,CAAC;AACrC,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"ni-nimble-angular-unit-byte.mjs","sources":["../../../../projects/ni/nimble-angular/unit/byte/nimble-unit-byte.directive.ts","../../../../projects/ni/nimble-angular/unit/byte/nimble-unit-byte.module.ts","../../../../projects/ni/nimble-angular/unit/byte/ni-nimble-angular-unit-byte.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type UnitByte, unitByteTag } from '@ni/nimble-components/dist/esm/unit/byte';\nimport { toBooleanProperty, type BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';\n\nexport type { UnitByte };\nexport { unitByteTag };\n\n/**\n * Directive to provide Angular integration for the byte unit element used by the number-text column.\n */\n@Directive({\n selector: 'nimble-unit-byte'\n})\nexport class NimbleUnitByteDirective {\n public get binary(): boolean {\n return this.elementRef.nativeElement.binary;\n }\n\n @Input() public set binary(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'binary', toBooleanProperty(value));\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<UnitByte>) {}\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleUnitByteDirective } from './nimble-unit-byte.directive';\n\nimport '@ni/nimble-components/dist/esm/unit/byte';\n\n@NgModule({\n declarations: [NimbleUnitByteDirective],\n imports: [CommonModule],\n exports: [NimbleUnitByteDirective]\n})\nexport class NimbleUnitByteModule { }","/**\n * Generated bundle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