@ni/nimble-angular 17.5.15 → 17.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/table-column/anchor/nimble-table-column-anchor.directive.mjs +5 -49
- package/esm2020/table-column/date-text/nimble-table-column-date-text.directive.mjs +4 -49
- package/esm2020/table-column/enum-text/nimble-table-column-enum-text.directive.mjs +4 -49
- package/esm2020/table-column/icon/nimble-table-column-icon.directive.mjs +4 -49
- package/esm2020/table-column/mixins/fractional-width-column.mjs +42 -0
- package/esm2020/table-column/mixins/groupable-column.mjs +42 -0
- package/esm2020/table-column/nimble-table-column-base.directive.mjs +1 -1
- package/esm2020/table-column/number-text/nimble-table-column-number-text.directive.mjs +5 -49
- package/esm2020/table-column/public-api.mjs +3 -1
- package/esm2020/table-column/text/nimble-table-column-text.directive.mjs +6 -54
- package/fesm2015/ni-nimble-angular-table-column-anchor.mjs +4 -48
- package/fesm2015/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-date-text.mjs +3 -48
- package/fesm2015/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-enum-text.mjs +3 -48
- package/fesm2015/ni-nimble-angular-table-column-enum-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-icon.mjs +3 -48
- package/fesm2015/ni-nimble-angular-table-column-icon.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-number-text.mjs +4 -48
- package/fesm2015/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-text.mjs +5 -53
- package/fesm2015/ni-nimble-angular-table-column-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column.mjs +79 -1
- package/fesm2015/ni-nimble-angular-table-column.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-anchor.mjs +4 -48
- package/fesm2020/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-date-text.mjs +3 -48
- package/fesm2020/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-enum-text.mjs +3 -48
- package/fesm2020/ni-nimble-angular-table-column-enum-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-icon.mjs +3 -48
- package/fesm2020/ni-nimble-angular-table-column-icon.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-number-text.mjs +4 -48
- package/fesm2020/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-text.mjs +5 -53
- package/fesm2020/ni-nimble-angular-table-column-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column.mjs +79 -1
- package/fesm2020/ni-nimble-angular-table-column.mjs.map +1 -1
- package/package.json +1 -1
- package/table-column/anchor/nimble-table-column-anchor.directive.d.ts +40 -11
- package/table-column/date-text/nimble-table-column-date-text.directive.d.ts +39 -11
- package/table-column/enum-text/nimble-table-column-enum-text.directive.d.ts +39 -11
- package/table-column/icon/nimble-table-column-icon.directive.d.ts +39 -11
- package/table-column/mixins/fractional-width-column.d.ts +22 -0
- package/table-column/mixins/groupable-column.d.ts +22 -0
- package/table-column/nimble-table-column-base.directive.d.ts +4 -2
- package/table-column/number-text/nimble-table-column-number-text.directive.d.ts +40 -11
- package/table-column/public-api.d.ts +2 -0
- package/table-column/text/nimble-table-column-text.directive.d.ts +39 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-table-column-date-text.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/date-text/nimble-table-column-date-text.directive.ts","../../../../projects/ni/nimble-angular/table-column/date-text/nimble-table-column-date-text.module.ts","../../../../projects/ni/nimble-angular/table-column/date-text/ni-nimble-angular-table-column-date-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnDateText, tableColumnDateTextTag } from '@ni/nimble-components/dist/esm/table-column/date-text';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\nimport {\n DateTextFormat,\n DateStyle,\n DayFormat,\n DayPeriodFormat,\n EraFormat,\n FormatMatcherAlgorithm,\n HourCycleFormat,\n HourFormat,\n LocaleMatcherAlgorithm,\n MinuteFormat,\n MonthFormat,\n SecondFormat,\n TimeStyle,\n TimeZoneNameFormat,\n WeekdayFormat,\n YearFormat\n} from '@ni/nimble-components/dist/esm/table-column/date-text/types';\n\nexport type { TableColumnDateText };\nexport { DateStyle };\nexport { DateTextFormat };\nexport { DayFormat };\nexport { DayPeriodFormat };\nexport { EraFormat };\nexport { FormatMatcherAlgorithm };\nexport { HourCycleFormat };\nexport { HourFormat };\nexport { LocaleMatcherAlgorithm };\nexport { MinuteFormat };\nexport { MonthFormat };\nexport { SecondFormat };\nexport { TimeStyle };\nexport { TimeZoneNameFormat };\nexport { WeekdayFormat };\nexport { YearFormat };\nexport { tableColumnDateTextTag };\n\n/**\n * Directive to provide Angular integration for the table column element for date text.\n */\n@Directive({\n selector: 'nimble-table-column-date-text'\n})\nexport class NimbleTableColumnDateTextDirective extends NimbleTableColumnBaseDirective<TableColumnDateText> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get format(): DateTextFormat {\n return this.elementRef.nativeElement.format;\n }\n\n @Input() public set format(value: DateTextFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'format', value);\n }\n\n public get customLocaleMatcher(): LocaleMatcherAlgorithm {\n return this.elementRef.nativeElement.customLocaleMatcher;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-locale-matcher') public set customLocaleMatcher(value: LocaleMatcherAlgorithm) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customLocaleMatcher', value);\n }\n\n public get customWeekday(): WeekdayFormat {\n return this.elementRef.nativeElement.customWeekday;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-weekday') public set customWeekday(value: WeekdayFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customWeekday', value);\n }\n\n public get customEra(): EraFormat {\n return this.elementRef.nativeElement.customEra;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-era') public set customEra(value: EraFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customEra', value);\n }\n\n public get customYear(): YearFormat {\n return this.elementRef.nativeElement.customYear;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-year') public set customYear(value: YearFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customYear', value);\n }\n\n public get customMonth(): MonthFormat {\n return this.elementRef.nativeElement.customMonth;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-month') public set customMonth(value: MonthFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customMonth', value);\n }\n\n public get customDay(): DayFormat {\n return this.elementRef.nativeElement.customDay;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-day') public set customDay(value: DayFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customDay', value);\n }\n\n public get customHour(): HourFormat {\n return this.elementRef.nativeElement.customHour;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-hour') public set customHour(value: HourFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customHour', value);\n }\n\n public get customMinute(): MinuteFormat {\n return this.elementRef.nativeElement.customMinute;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-minute') public set customMinute(value: MinuteFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customMinute', value);\n }\n\n public get customSecond(): SecondFormat {\n return this.elementRef.nativeElement.customSecond;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-second') public set customSecond(value: SecondFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customSecond', value);\n }\n\n public get customTimeZoneName(): TimeZoneNameFormat {\n return this.elementRef.nativeElement.customTimeZoneName;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-time-zone-name') public set customTimeZoneName(value: TimeZoneNameFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeZoneName', value);\n }\n\n public get customFormatMatcher(): FormatMatcherAlgorithm {\n return this.elementRef.nativeElement.customFormatMatcher;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-format-matcher') public set customFormatMatcher(value: FormatMatcherAlgorithm) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customFormatMatcher', value);\n }\n\n public get customHour12(): boolean | undefined {\n return this.elementRef.nativeElement.customHour12;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-hour12') public set customHour12(value: boolean | 'true' | 'false' | undefined) {\n let convertedValue;\n if (typeof value === 'boolean') {\n convertedValue = value;\n } else if (value === undefined) {\n convertedValue = undefined;\n } else {\n convertedValue = value === 'true';\n }\n this.renderer.setProperty(this.elementRef.nativeElement, 'customHour12', convertedValue);\n }\n\n public get customTimeZone(): string | undefined {\n return this.elementRef.nativeElement.customTimeZone;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-time-zone') public set customTimeZone(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeZone', value);\n }\n\n public get customCalendar(): string | undefined {\n return this.elementRef.nativeElement.customCalendar;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-calendar') public set customCalendar(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customCalendar', value);\n }\n\n public get customDayPeriod(): DayPeriodFormat {\n return this.elementRef.nativeElement.customDayPeriod;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-day-period') public set customDayPeriod(value: DayPeriodFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customDayPeriod', value);\n }\n\n public get customNumberingSystem(): string | undefined {\n return this.elementRef.nativeElement.customNumberingSystem;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-numbering-system') public set customNumberingSystem(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customNumberingSystem', value);\n }\n\n public get customDateStyle(): DateStyle {\n return this.elementRef.nativeElement.customDateStyle;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-date-style') public set customDateStyle(value: DateStyle) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customDateStyle', value);\n }\n\n public get customTimeStyle(): TimeStyle {\n return this.elementRef.nativeElement.customTimeStyle;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-time-style') public set customTimeStyle(value: TimeStyle) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeStyle', value);\n }\n\n public get customHourCycle(): HourCycleFormat {\n return this.elementRef.nativeElement.customHourCycle;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-hour-cycle') public set customHourCycle(value: HourCycleFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customHourCycle', value);\n }\n\n public get fractionalWidth(): number | null | undefined {\n return this.elementRef.nativeElement.fractionalWidth;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('fractional-width') public set fractionalWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));\n }\n\n public get minPixelWidth(): number | null | undefined {\n return this.elementRef.nativeElement.minPixelWidth;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('min-pixel-width') public set minPixelWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));\n }\n\n public get groupIndex(): number | null | undefined {\n return this.elementRef.nativeElement.groupIndex;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('group-index') public set groupIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));\n }\n\n public get groupingDisabled(): boolean {\n return this.elementRef.nativeElement.groupingDisabled;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('grouping-disabled') public set groupingDisabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));\n }\n\n public constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnDateText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnDateTextDirective } from './nimble-table-column-date-text.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/text';\n\n@NgModule({\n declarations: [NimbleTableColumnDateTextDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnDateTextDirective]\n})\nexport class NimbleTableColumnDateTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AA0CA;;AAEG;AAIG,MAAO,kCAAmC,SAAQ,8BAAmD,CAAA;IAiQvG,WAAmB,CAAA,QAAmB,EAAE,UAA2C,EAAA;AAC/E,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;KAC/B;AAlQD,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;KAClD;;;IAID,IAAgC,SAAS,CAAC,KAAyB,EAAA;AAC/D,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;KAChF;AAED,IAAA,IAAW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC;KAC/C;IAED,IAAoB,MAAM,CAAC,KAAqB,EAAA;AAC5C,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;KAC7E;AAED,IAAA,IAAW,mBAAmB,GAAA;AAC1B,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,mBAAmB,CAAC;KAC5D;;;IAID,IAA2C,mBAAmB,CAAC,KAA6B,EAAA;AACxF,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE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AAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,YAH9B,YAAY,CAAA,EAAA,CAAA,CAAA;2FAGb,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAL3C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,kCAAkC,CAAC;oBAClD,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,kCAAkC,CAAC;iBAChD,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 { NimbleTableColumnBaseDirective, mixinFractionalWidthColumnAPI, mixinGroupableColumnAPI } 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 mixinFractionalWidthColumnAPI(mixinGroupableColumnAPI(NimbleTableColumnBaseDirective<TableColumnDateText>)) {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get format(): DateTextFormat {\n return this.elementRef.nativeElement.format;\n }\n\n @Input() public set format(value: DateTextFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'format', value);\n }\n\n public get customLocaleMatcher(): LocaleMatcherAlgorithm {\n return this.elementRef.nativeElement.customLocaleMatcher;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-locale-matcher') public set customLocaleMatcher(value: LocaleMatcherAlgorithm) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customLocaleMatcher', value);\n }\n\n public get customWeekday(): WeekdayFormat {\n return this.elementRef.nativeElement.customWeekday;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-weekday') public set customWeekday(value: WeekdayFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customWeekday', value);\n }\n\n public get customEra(): EraFormat {\n return this.elementRef.nativeElement.customEra;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-era') public set customEra(value: EraFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customEra', value);\n }\n\n public get customYear(): YearFormat {\n return this.elementRef.nativeElement.customYear;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-year') public set customYear(value: YearFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customYear', value);\n }\n\n public get customMonth(): MonthFormat {\n return this.elementRef.nativeElement.customMonth;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-month') public set customMonth(value: MonthFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customMonth', value);\n }\n\n public get customDay(): DayFormat {\n return this.elementRef.nativeElement.customDay;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-day') public set customDay(value: DayFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customDay', value);\n }\n\n public get customHour(): HourFormat {\n return this.elementRef.nativeElement.customHour;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-hour') public set customHour(value: HourFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customHour', value);\n }\n\n public get customMinute(): MinuteFormat {\n return this.elementRef.nativeElement.customMinute;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-minute') public set customMinute(value: MinuteFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customMinute', value);\n }\n\n public get customSecond(): SecondFormat {\n return this.elementRef.nativeElement.customSecond;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-second') public set customSecond(value: SecondFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customSecond', value);\n }\n\n public get customTimeZoneName(): TimeZoneNameFormat {\n return this.elementRef.nativeElement.customTimeZoneName;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-time-zone-name') public set customTimeZoneName(value: TimeZoneNameFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeZoneName', value);\n }\n\n public get customFormatMatcher(): FormatMatcherAlgorithm {\n return this.elementRef.nativeElement.customFormatMatcher;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-format-matcher') public set customFormatMatcher(value: FormatMatcherAlgorithm) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customFormatMatcher', value);\n }\n\n public get customHour12(): boolean | undefined {\n return this.elementRef.nativeElement.customHour12;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-hour12') public set customHour12(value: boolean | 'true' | 'false' | undefined) {\n let convertedValue;\n if (typeof value === 'boolean') {\n convertedValue = value;\n } else if (value === undefined) {\n convertedValue = undefined;\n } else {\n convertedValue = value === 'true';\n }\n this.renderer.setProperty(this.elementRef.nativeElement, 'customHour12', convertedValue);\n }\n\n public get customTimeZone(): string | undefined {\n return this.elementRef.nativeElement.customTimeZone;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-time-zone') public set customTimeZone(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeZone', value);\n }\n\n public get customCalendar(): string | undefined {\n return this.elementRef.nativeElement.customCalendar;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-calendar') public set customCalendar(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customCalendar', value);\n }\n\n public get customDayPeriod(): DayPeriodFormat {\n return this.elementRef.nativeElement.customDayPeriod;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-day-period') public set customDayPeriod(value: DayPeriodFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customDayPeriod', value);\n }\n\n public get customNumberingSystem(): string | undefined {\n return this.elementRef.nativeElement.customNumberingSystem;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-numbering-system') public set customNumberingSystem(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customNumberingSystem', value);\n }\n\n public get customDateStyle(): DateStyle {\n return this.elementRef.nativeElement.customDateStyle;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-date-style') public set customDateStyle(value: DateStyle) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customDateStyle', value);\n }\n\n public get customTimeStyle(): TimeStyle {\n return this.elementRef.nativeElement.customTimeStyle;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-time-style') public set customTimeStyle(value: TimeStyle) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeStyle', value);\n }\n\n public get customHourCycle(): HourCycleFormat {\n return this.elementRef.nativeElement.customHourCycle;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-hour-cycle') public set customHourCycle(value: HourCycleFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customHourCycle', value);\n }\n\n public 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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AUmB,qBAAqB,EAAA,CAAA;sBAAjE,KAAK;uBAAC,yBAAyB,CAAA;gBAUO,eAAe,EAAA,CAAA;sBAArD,KAAK;uBAAC,mBAAmB,CAAA;gBAUa,eAAe,EAAA,CAAA;sBAArD,KAAK;uBAAC,mBAAmB,CAAA;gBAUa,eAAe,EAAA,CAAA;sBAArD,KAAK;uBAAC,mBAAmB,CAAA;;;MCzPjB,+BAA+B,CAAA;;4HAA/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,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,EAJzB,YAAA,EAAA,CAAA,kCAAkC,CACvC,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,kCAAkC,CAAA,EAAA,CAAA,CAAA;AAEnC,+BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,YAH9B,YAAY,CAAA,EAAA,CAAA,CAAA;2FAGb,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAL3C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,kCAAkC,CAAC;oBAClD,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,kCAAkC,CAAC;iBAChD,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
3
|
export { tableColumnEnumTextTag } from '@ni/nimble-components/dist/esm/table-column/enum-text';
|
|
4
|
-
import {
|
|
5
|
-
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
4
|
+
import { mixinFractionalWidthColumnAPI, mixinGroupableColumnAPI, NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
6
5
|
export { MappingKeyType } from '@ni/nimble-components/dist/esm/table-column/enum-base/types';
|
|
7
6
|
import { CommonModule } from '@angular/common';
|
|
8
7
|
import '@ni/nimble-components/dist/esm/table-column/text';
|
|
@@ -10,7 +9,7 @@ import '@ni/nimble-components/dist/esm/table-column/text';
|
|
|
10
9
|
/**
|
|
11
10
|
* Directive to provide Angular integration for the table column element for enum text.
|
|
12
11
|
*/
|
|
13
|
-
class NimbleTableColumnEnumTextDirective extends NimbleTableColumnBaseDirective {
|
|
12
|
+
class NimbleTableColumnEnumTextDirective extends mixinFractionalWidthColumnAPI(mixinGroupableColumnAPI((NimbleTableColumnBaseDirective))) {
|
|
14
13
|
constructor(renderer, elementRef) {
|
|
15
14
|
super(renderer, elementRef);
|
|
16
15
|
}
|
|
@@ -30,41 +29,9 @@ class NimbleTableColumnEnumTextDirective extends NimbleTableColumnBaseDirective
|
|
|
30
29
|
set keyType(value) {
|
|
31
30
|
this.renderer.setProperty(this.elementRef.nativeElement, 'keyType', value);
|
|
32
31
|
}
|
|
33
|
-
get fractionalWidth() {
|
|
34
|
-
return this.elementRef.nativeElement.fractionalWidth;
|
|
35
|
-
}
|
|
36
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
37
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
38
|
-
set fractionalWidth(value) {
|
|
39
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
40
|
-
}
|
|
41
|
-
get minPixelWidth() {
|
|
42
|
-
return this.elementRef.nativeElement.minPixelWidth;
|
|
43
|
-
}
|
|
44
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
45
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
46
|
-
set minPixelWidth(value) {
|
|
47
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
48
|
-
}
|
|
49
|
-
get groupIndex() {
|
|
50
|
-
return this.elementRef.nativeElement.groupIndex;
|
|
51
|
-
}
|
|
52
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
53
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
54
|
-
set groupIndex(value) {
|
|
55
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
56
|
-
}
|
|
57
|
-
get groupingDisabled() {
|
|
58
|
-
return this.elementRef.nativeElement.groupingDisabled;
|
|
59
|
-
}
|
|
60
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
61
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
62
|
-
set groupingDisabled(value) {
|
|
63
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
64
|
-
}
|
|
65
32
|
}
|
|
66
33
|
NimbleTableColumnEnumTextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnEnumTextDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
67
|
-
NimbleTableColumnEnumTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnEnumTextDirective, selector: "nimble-table-column-enum-text", inputs: { fieldName: ["field-name", "fieldName"], keyType: ["key-type", "keyType"]
|
|
34
|
+
NimbleTableColumnEnumTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnEnumTextDirective, selector: "nimble-table-column-enum-text", inputs: { fieldName: ["field-name", "fieldName"], keyType: ["key-type", "keyType"] }, usesInheritance: true, ngImport: i0 });
|
|
68
35
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnEnumTextDirective, decorators: [{
|
|
69
36
|
type: Directive,
|
|
70
37
|
args: [{
|
|
@@ -76,18 +43,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
76
43
|
}], keyType: [{
|
|
77
44
|
type: Input,
|
|
78
45
|
args: ['key-type']
|
|
79
|
-
}], fractionalWidth: [{
|
|
80
|
-
type: Input,
|
|
81
|
-
args: ['fractional-width']
|
|
82
|
-
}], minPixelWidth: [{
|
|
83
|
-
type: Input,
|
|
84
|
-
args: ['min-pixel-width']
|
|
85
|
-
}], groupIndex: [{
|
|
86
|
-
type: Input,
|
|
87
|
-
args: ['group-index']
|
|
88
|
-
}], groupingDisabled: [{
|
|
89
|
-
type: Input,
|
|
90
|
-
args: ['grouping-disabled']
|
|
91
46
|
}] } });
|
|
92
47
|
|
|
93
48
|
class NimbleTableColumnEnumTextModule {
|
|
@@ -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 {
|
|
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 { NimbleTableColumnBaseDirective, mixinFractionalWidthColumnAPI, mixinGroupableColumnAPI } 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 mixinFractionalWidthColumnAPI(mixinGroupableColumnAPI(NimbleTableColumnBaseDirective<TableColumnEnumText>)) {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get keyType(): MappingKeyType {\n return this.elementRef.nativeElement.keyType;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('key-type') public set keyType(value: MappingKeyType) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'keyType', 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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CAAA;kBAH9C,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,+BAA+B;iBAC5C,CAAA;yHAQmC,SAAS,EAAA,CAAA;sBAAxC,KAAK;uBAAC,YAAY,CAAA;gBAUW,OAAO,EAAA,CAAA;sBAApC,KAAK;uBAAC,UAAU,CAAA;;;MCrBR,+BAA+B,CAAA;;4HAA/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,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,EAJzB,YAAA,EAAA,CAAA,kCAAkC,CACvC,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,kCAAkC,CAAA,EAAA,CAAA,CAAA;AAEnC,+BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,YAH9B,YAAY,CAAA,EAAA,CAAA,CAAA;2FAGb,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAL3C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,kCAAkC,CAAC;oBAClD,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,kCAAkC,CAAC;iBAChD,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
3
|
export { tableColumnIconTag } from '@ni/nimble-components/dist/esm/table-column/icon';
|
|
4
|
-
import {
|
|
5
|
-
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
4
|
+
import { mixinFractionalWidthColumnAPI, mixinGroupableColumnAPI, NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
6
5
|
import { CommonModule } from '@angular/common';
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* Directive to provide Angular integration for the table column element for icons/spinners.
|
|
10
9
|
*/
|
|
11
|
-
class NimbleTableColumnIconDirective extends NimbleTableColumnBaseDirective {
|
|
10
|
+
class NimbleTableColumnIconDirective extends mixinFractionalWidthColumnAPI(mixinGroupableColumnAPI((NimbleTableColumnBaseDirective))) {
|
|
12
11
|
constructor(renderer, elementRef) {
|
|
13
12
|
super(renderer, elementRef);
|
|
14
13
|
}
|
|
@@ -28,41 +27,9 @@ class NimbleTableColumnIconDirective extends NimbleTableColumnBaseDirective {
|
|
|
28
27
|
set keyType(value) {
|
|
29
28
|
this.renderer.setProperty(this.elementRef.nativeElement, 'keyType', value);
|
|
30
29
|
}
|
|
31
|
-
get fractionalWidth() {
|
|
32
|
-
return this.elementRef.nativeElement.fractionalWidth;
|
|
33
|
-
}
|
|
34
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
35
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
36
|
-
set fractionalWidth(value) {
|
|
37
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
38
|
-
}
|
|
39
|
-
get minPixelWidth() {
|
|
40
|
-
return this.elementRef.nativeElement.minPixelWidth;
|
|
41
|
-
}
|
|
42
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
43
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
44
|
-
set minPixelWidth(value) {
|
|
45
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
46
|
-
}
|
|
47
|
-
get groupIndex() {
|
|
48
|
-
return this.elementRef.nativeElement.groupIndex;
|
|
49
|
-
}
|
|
50
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
51
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
52
|
-
set groupIndex(value) {
|
|
53
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
54
|
-
}
|
|
55
|
-
get groupingDisabled() {
|
|
56
|
-
return this.elementRef.nativeElement.groupingDisabled;
|
|
57
|
-
}
|
|
58
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
59
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
60
|
-
set groupingDisabled(value) {
|
|
61
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
62
|
-
}
|
|
63
30
|
}
|
|
64
31
|
NimbleTableColumnIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnIconDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
65
|
-
NimbleTableColumnIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnIconDirective, selector: "nimble-table-column-icon", inputs: { fieldName: ["field-name", "fieldName"], keyType: ["key-type", "keyType"]
|
|
32
|
+
NimbleTableColumnIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnIconDirective, selector: "nimble-table-column-icon", inputs: { fieldName: ["field-name", "fieldName"], keyType: ["key-type", "keyType"] }, usesInheritance: true, ngImport: i0 });
|
|
66
33
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnIconDirective, decorators: [{
|
|
67
34
|
type: Directive,
|
|
68
35
|
args: [{
|
|
@@ -74,18 +41,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
74
41
|
}], keyType: [{
|
|
75
42
|
type: Input,
|
|
76
43
|
args: ['key-type']
|
|
77
|
-
}], fractionalWidth: [{
|
|
78
|
-
type: Input,
|
|
79
|
-
args: ['fractional-width']
|
|
80
|
-
}], minPixelWidth: [{
|
|
81
|
-
type: Input,
|
|
82
|
-
args: ['min-pixel-width']
|
|
83
|
-
}], groupIndex: [{
|
|
84
|
-
type: Input,
|
|
85
|
-
args: ['group-index']
|
|
86
|
-
}], groupingDisabled: [{
|
|
87
|
-
type: Input,
|
|
88
|
-
args: ['grouping-disabled']
|
|
89
44
|
}] } });
|
|
90
45
|
|
|
91
46
|
class NimbleTableColumnIconModule {
|
|
@@ -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 {
|
|
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 { NimbleTableColumnBaseDirective, mixinFractionalWidthColumnAPI, mixinGroupableColumnAPI } 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 mixinFractionalWidthColumnAPI(mixinGroupableColumnAPI(NimbleTableColumnBaseDirective<TableColumnIcon>)) {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get keyType(): MappingKeyType {\n return this.elementRef.nativeElement.keyType;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('key-type') public set keyType(value: MappingKeyType) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'keyType', 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":";;;;;;AAQA;;AAEG;AAIG,MAAO,8BAA+B,SAAQ,6BAA6B,CAAC,uBAAuB,EAAC,8BAA+C,EAAC,CAAC,CAAA;IAqBvJ,WAAmB,CAAA,QAAmB,EAAE,UAAuC,EAAA;AAC3E,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;KAC/B;AAtBD,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,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AA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA3B,2BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,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,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,2BAA2B,YAH1B,YAAY,CAAA,EAAA,CAAA,CAAA;2FAGb,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;iBAC5C,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
|
-
import { toNullableNumberProperty
|
|
4
|
-
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
3
|
+
import { toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';
|
|
4
|
+
import { mixinFractionalWidthColumnAPI, mixinGroupableColumnAPI, NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
5
5
|
export { tableColumnNumberTextTag } from '@ni/nimble-components/dist/esm/table-column/number-text';
|
|
6
6
|
export { NumberTextAlignment, NumberTextFormat } from '@ni/nimble-components/dist/esm/table-column/number-text/types';
|
|
7
7
|
import { CommonModule } from '@angular/common';
|
|
@@ -9,7 +9,7 @@ import { CommonModule } from '@angular/common';
|
|
|
9
9
|
/**
|
|
10
10
|
* Directive to provide Angular integration for the table column element for number text.
|
|
11
11
|
*/
|
|
12
|
-
class NimbleTableColumnNumberTextDirective extends NimbleTableColumnBaseDirective {
|
|
12
|
+
class NimbleTableColumnNumberTextDirective extends mixinFractionalWidthColumnAPI(mixinGroupableColumnAPI((NimbleTableColumnBaseDirective))) {
|
|
13
13
|
constructor(renderer, elementRef) {
|
|
14
14
|
super(renderer, elementRef);
|
|
15
15
|
}
|
|
@@ -41,41 +41,9 @@ class NimbleTableColumnNumberTextDirective extends NimbleTableColumnBaseDirectiv
|
|
|
41
41
|
set decimalDigits(value) {
|
|
42
42
|
this.renderer.setProperty(this.elementRef.nativeElement, 'decimalDigits', toNullableNumberProperty(value));
|
|
43
43
|
}
|
|
44
|
-
get fractionalWidth() {
|
|
45
|
-
return this.elementRef.nativeElement.fractionalWidth;
|
|
46
|
-
}
|
|
47
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
48
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
49
|
-
set fractionalWidth(value) {
|
|
50
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
51
|
-
}
|
|
52
|
-
get minPixelWidth() {
|
|
53
|
-
return this.elementRef.nativeElement.minPixelWidth;
|
|
54
|
-
}
|
|
55
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
56
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
57
|
-
set minPixelWidth(value) {
|
|
58
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
59
|
-
}
|
|
60
|
-
get groupIndex() {
|
|
61
|
-
return this.elementRef.nativeElement.groupIndex;
|
|
62
|
-
}
|
|
63
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
64
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
65
|
-
set groupIndex(value) {
|
|
66
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
67
|
-
}
|
|
68
|
-
get groupingDisabled() {
|
|
69
|
-
return this.elementRef.nativeElement.groupingDisabled;
|
|
70
|
-
}
|
|
71
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
72
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
73
|
-
set groupingDisabled(value) {
|
|
74
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
75
|
-
}
|
|
76
44
|
}
|
|
77
45
|
NimbleTableColumnNumberTextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnNumberTextDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
78
|
-
NimbleTableColumnNumberTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnNumberTextDirective, selector: "nimble-table-column-number-text", inputs: { fieldName: ["field-name", "fieldName"], format: "format", alignment: "alignment", decimalDigits: ["decimal-digits", "decimalDigits"]
|
|
46
|
+
NimbleTableColumnNumberTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnNumberTextDirective, selector: "nimble-table-column-number-text", inputs: { fieldName: ["field-name", "fieldName"], format: "format", alignment: "alignment", decimalDigits: ["decimal-digits", "decimalDigits"] }, usesInheritance: true, ngImport: i0 });
|
|
79
47
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnNumberTextDirective, decorators: [{
|
|
80
48
|
type: Directive,
|
|
81
49
|
args: [{
|
|
@@ -91,18 +59,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
91
59
|
}], decimalDigits: [{
|
|
92
60
|
type: Input,
|
|
93
61
|
args: ['decimal-digits']
|
|
94
|
-
}], fractionalWidth: [{
|
|
95
|
-
type: Input,
|
|
96
|
-
args: ['fractional-width']
|
|
97
|
-
}], minPixelWidth: [{
|
|
98
|
-
type: Input,
|
|
99
|
-
args: ['min-pixel-width']
|
|
100
|
-
}], groupIndex: [{
|
|
101
|
-
type: Input,
|
|
102
|
-
args: ['group-index']
|
|
103
|
-
}], groupingDisabled: [{
|
|
104
|
-
type: Input,
|
|
105
|
-
args: ['grouping-disabled']
|
|
106
62
|
}] } });
|
|
107
63
|
|
|
108
64
|
class NimbleTableColumnNumberTextModule {
|
|
@@ -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 {
|
|
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 { NumberValueOrAttribute, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective, mixinFractionalWidthColumnAPI, mixinGroupableColumnAPI } 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 mixinFractionalWidthColumnAPI(mixinGroupableColumnAPI(NimbleTableColumnBaseDirective<TableColumnNumberText>)) {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get format(): 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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 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 NimbleTableColumnNumber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,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,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iCAAiC,YAHhC,YAAY,CAAA,EAAA,CAAA,CAAA;2FAGb,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;iBAClD,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
3
|
export { tableColumnTextTag } from '@ni/nimble-components/dist/esm/table-column/text';
|
|
4
|
-
import {
|
|
5
|
-
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
4
|
+
import { mixinFractionalWidthColumnAPI, mixinGroupableColumnAPI, NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
6
5
|
import { CommonModule } from '@angular/common';
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* Directive to provide Angular integration for the table column element for text.
|
|
10
9
|
*/
|
|
11
|
-
class NimbleTableColumnTextDirective extends NimbleTableColumnBaseDirective {
|
|
12
|
-
constructor(renderer, elementRef) {
|
|
13
|
-
super(renderer, elementRef);
|
|
14
|
-
}
|
|
10
|
+
class NimbleTableColumnTextDirective extends mixinFractionalWidthColumnAPI(mixinGroupableColumnAPI((NimbleTableColumnBaseDirective))) {
|
|
15
11
|
get fieldName() {
|
|
16
12
|
return this.elementRef.nativeElement.fieldName;
|
|
17
13
|
}
|
|
@@ -20,61 +16,17 @@ class NimbleTableColumnTextDirective extends NimbleTableColumnBaseDirective {
|
|
|
20
16
|
set fieldName(value) {
|
|
21
17
|
this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);
|
|
22
18
|
}
|
|
23
|
-
get fractionalWidth() {
|
|
24
|
-
return this.elementRef.nativeElement.fractionalWidth;
|
|
25
|
-
}
|
|
26
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
27
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
28
|
-
set fractionalWidth(value) {
|
|
29
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
30
|
-
}
|
|
31
|
-
get minPixelWidth() {
|
|
32
|
-
return this.elementRef.nativeElement.minPixelWidth;
|
|
33
|
-
}
|
|
34
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
35
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
36
|
-
set minPixelWidth(value) {
|
|
37
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
38
|
-
}
|
|
39
|
-
get groupIndex() {
|
|
40
|
-
return this.elementRef.nativeElement.groupIndex;
|
|
41
|
-
}
|
|
42
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
43
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
44
|
-
set groupIndex(value) {
|
|
45
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
46
|
-
}
|
|
47
|
-
get groupingDisabled() {
|
|
48
|
-
return this.elementRef.nativeElement.groupingDisabled;
|
|
49
|
-
}
|
|
50
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
51
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
52
|
-
set groupingDisabled(value) {
|
|
53
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
54
|
-
}
|
|
55
19
|
}
|
|
56
|
-
NimbleTableColumnTextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnTextDirective, deps:
|
|
57
|
-
NimbleTableColumnTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnTextDirective, selector: "nimble-table-column-text", inputs: { fieldName: ["field-name", "fieldName"]
|
|
20
|
+
NimbleTableColumnTextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnTextDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
21
|
+
NimbleTableColumnTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnTextDirective, selector: "nimble-table-column-text", inputs: { fieldName: ["field-name", "fieldName"] }, usesInheritance: true, ngImport: i0 });
|
|
58
22
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnTextDirective, decorators: [{
|
|
59
23
|
type: Directive,
|
|
60
24
|
args: [{
|
|
61
25
|
selector: 'nimble-table-column-text'
|
|
62
26
|
}]
|
|
63
|
-
}],
|
|
27
|
+
}], propDecorators: { fieldName: [{
|
|
64
28
|
type: Input,
|
|
65
29
|
args: ['field-name']
|
|
66
|
-
}], fractionalWidth: [{
|
|
67
|
-
type: Input,
|
|
68
|
-
args: ['fractional-width']
|
|
69
|
-
}], minPixelWidth: [{
|
|
70
|
-
type: Input,
|
|
71
|
-
args: ['min-pixel-width']
|
|
72
|
-
}], groupIndex: [{
|
|
73
|
-
type: Input,
|
|
74
|
-
args: ['group-index']
|
|
75
|
-
}], groupingDisabled: [{
|
|
76
|
-
type: Input,
|
|
77
|
-
args: ['grouping-disabled']
|
|
78
30
|
}] } });
|
|
79
31
|
|
|
80
32
|
class NimbleTableColumnTextModule {
|
|
@@ -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,
|
|
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, Input } from '@angular/core';\nimport { type TableColumnText, tableColumnTextTag } from '@ni/nimble-components/dist/esm/table-column/text';\nimport { NimbleTableColumnBaseDirective, mixinGroupableColumnAPI, mixinFractionalWidthColumnAPI } 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 mixinFractionalWidthColumnAPI(mixinGroupableColumnAPI(NimbleTableColumnBaseDirective<TableColumnText>)) {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n}\n","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})\n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