@ni/nimble-angular 18.2.11 → 18.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/directives/anchor/nimble-anchor.directive.mjs +1 -5
- package/esm2020/directives/anchor-button/nimble-anchor-button.directive.mjs +1 -5
- package/esm2020/directives/banner/nimble-banner.directive.mjs +1 -5
- package/esm2020/directives/button/nimble-button.directive.mjs +1 -5
- package/esm2020/directives/combobox/nimble-combobox.directive.mjs +1 -5
- package/esm2020/directives/dialog/nimble-dialog.directive.mjs +1 -7
- package/esm2020/directives/drawer/nimble-drawer.directive.mjs +1 -5
- package/esm2020/directives/menu-button/nimble-menu-button.directive.mjs +1 -3
- package/esm2020/directives/number-field/nimble-number-field.directive.mjs +1 -8
- package/esm2020/directives/select/nimble-select.directive.mjs +1 -5
- package/esm2020/directives/text-area/nimble-text-area.directive.mjs +1 -7
- package/esm2020/directives/text-field/nimble-text-field.directive.mjs +1 -8
- package/esm2020/directives/toggle-button/nimble-toggle-button.directive.mjs +1 -3
- package/esm2020/directives/tooltip/nimble-tooltip.directive.mjs +1 -3
- package/esm2020/directives/tree-view/nimble-tree-view.directive.mjs +1 -3
- package/esm2020/label-provider/core/nimble-label-provider-core.directive.mjs +1 -7
- package/esm2020/label-provider/rich-text/nimble-label-provider-rich-text.directive.mjs +1 -9
- package/esm2020/label-provider/table/nimble-label-provider-table.directive.mjs +1 -23
- package/esm2020/mapping/user/nimble-mapping-user.directive.mjs +1 -3
- package/esm2020/rich-text/editor/nimble-rich-text-editor.directive.mjs +1 -7
- package/esm2020/rich-text-mention/nimble-rich-text-mention-base.directive.mjs +1 -3
- package/esm2020/table/nimble-table.directive.mjs +1 -5
- package/esm2020/table-column/anchor/nimble-table-column-anchor.directive.mjs +1 -15
- package/esm2020/table-column/date-text/nimble-table-column-date-text.directive.mjs +1 -49
- package/esm2020/table-column/duration-text/nimble-table-column-duration-text.directive.mjs +1 -11
- package/esm2020/table-column/enum-text/nimble-table-column-enum-text.directive.mjs +1 -13
- package/esm2020/table-column/icon/nimble-table-column-icon.directive.mjs +1 -13
- package/esm2020/table-column/nimble-table-column-base.directive.mjs +1 -13
- package/esm2020/table-column/number-text/nimble-table-column-number-text.directive.mjs +1 -15
- package/esm2020/table-column/text/nimble-table-column-text.directive.mjs +1 -11
- package/fesm2015/ni-nimble-angular-label-provider-core.mjs +0 -6
- package/fesm2015/ni-nimble-angular-label-provider-core.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-label-provider-rich-text.mjs +0 -8
- package/fesm2015/ni-nimble-angular-label-provider-rich-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-label-provider-table.mjs +0 -22
- package/fesm2015/ni-nimble-angular-label-provider-table.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-mapping-user.mjs +0 -2
- package/fesm2015/ni-nimble-angular-mapping-user.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-rich-text-editor.mjs +0 -6
- package/fesm2015/ni-nimble-angular-rich-text-editor.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-rich-text-mention.mjs +0 -2
- package/fesm2015/ni-nimble-angular-rich-text-mention.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-anchor.mjs +0 -14
- package/fesm2015/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-date-text.mjs +0 -48
- package/fesm2015/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-duration-text.mjs +0 -10
- package/fesm2015/ni-nimble-angular-table-column-duration-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-enum-text.mjs +0 -12
- package/fesm2015/ni-nimble-angular-table-column-enum-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-icon.mjs +0 -12
- package/fesm2015/ni-nimble-angular-table-column-icon.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-number-text.mjs +0 -14
- package/fesm2015/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-text.mjs +0 -10
- package/fesm2015/ni-nimble-angular-table-column-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column.mjs +0 -12
- package/fesm2015/ni-nimble-angular-table-column.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table.mjs +0 -4
- package/fesm2015/ni-nimble-angular-table.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular.mjs +0 -62
- package/fesm2015/ni-nimble-angular.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-label-provider-core.mjs +0 -6
- package/fesm2020/ni-nimble-angular-label-provider-core.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-label-provider-rich-text.mjs +0 -8
- package/fesm2020/ni-nimble-angular-label-provider-rich-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-label-provider-table.mjs +0 -22
- package/fesm2020/ni-nimble-angular-label-provider-table.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-mapping-user.mjs +0 -2
- package/fesm2020/ni-nimble-angular-mapping-user.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-rich-text-editor.mjs +0 -6
- package/fesm2020/ni-nimble-angular-rich-text-editor.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-rich-text-mention.mjs +0 -2
- package/fesm2020/ni-nimble-angular-rich-text-mention.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-anchor.mjs +0 -14
- package/fesm2020/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-date-text.mjs +0 -48
- package/fesm2020/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-duration-text.mjs +0 -10
- package/fesm2020/ni-nimble-angular-table-column-duration-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-enum-text.mjs +0 -12
- package/fesm2020/ni-nimble-angular-table-column-enum-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-icon.mjs +0 -12
- package/fesm2020/ni-nimble-angular-table-column-icon.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-number-text.mjs +0 -14
- package/fesm2020/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-text.mjs +0 -10
- package/fesm2020/ni-nimble-angular-table-column-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column.mjs +0 -12
- package/fesm2020/ni-nimble-angular-table-column.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table.mjs +0 -4
- package/fesm2020/ni-nimble-angular-table.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular.mjs +0 -62
- package/fesm2020/ni-nimble-angular.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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 // 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 get decimalMaximumDigits(): number | null | undefined {\n return this.elementRef.nativeElement.decimalMaximumDigits;\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-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 // 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<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;IAuF3G,WAAmB,CAAA,QAAmB,EAAE,UAA6C,EAAA;AACjF,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;KAC/B;AAxFD,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA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AAjD,KAAK;uBAAC,iBAAiB,CAAA;gBAUS,UAAU,EAAA,CAAA;sBAA1C,KAAK;uBAAC,aAAa,CAAA;gBAUmB,gBAAgB,EAAA,CAAA;sBAAtD,KAAK;uBAAC,mBAAmB,CAAA;;;MCvFjB,iCAAiC,CAAA;;+HAAjC,iCAAiC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAjC,iCAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,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;iBAClD,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;IAyE3G,WAAmB,CAAA,QAAmB,EAAE,UAA6C,EAAA;AACjF,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;KAC/B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;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;;;MCzEjB,iCAAiC,CAAA;;+HAAjC,iCAAiC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAjC,iCAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,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;iBAClD,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -15,40 +15,30 @@ class NimbleTableColumnTextDirective extends NimbleTableColumnBaseDirective {
|
|
|
15
15
|
get fieldName() {
|
|
16
16
|
return this.elementRef.nativeElement.fieldName;
|
|
17
17
|
}
|
|
18
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
19
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
20
18
|
set fieldName(value) {
|
|
21
19
|
this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);
|
|
22
20
|
}
|
|
23
21
|
get fractionalWidth() {
|
|
24
22
|
return this.elementRef.nativeElement.fractionalWidth;
|
|
25
23
|
}
|
|
26
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
27
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
28
24
|
set fractionalWidth(value) {
|
|
29
25
|
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
30
26
|
}
|
|
31
27
|
get minPixelWidth() {
|
|
32
28
|
return this.elementRef.nativeElement.minPixelWidth;
|
|
33
29
|
}
|
|
34
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
35
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
36
30
|
set minPixelWidth(value) {
|
|
37
31
|
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
38
32
|
}
|
|
39
33
|
get groupIndex() {
|
|
40
34
|
return this.elementRef.nativeElement.groupIndex;
|
|
41
35
|
}
|
|
42
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
43
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
44
36
|
set groupIndex(value) {
|
|
45
37
|
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
46
38
|
}
|
|
47
39
|
get groupingDisabled() {
|
|
48
40
|
return this.elementRef.nativeElement.groupingDisabled;
|
|
49
41
|
}
|
|
50
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
51
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
52
42
|
set groupingDisabled(value) {
|
|
53
43
|
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
54
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-table-column-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
|
|
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,E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A,CAAA;sBAAtD,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;iBAC5C,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -14,48 +14,36 @@ class NimbleTableColumnBaseDirective {
|
|
|
14
14
|
get columnId() {
|
|
15
15
|
return this.elementRef.nativeElement.columnId;
|
|
16
16
|
}
|
|
17
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
18
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
19
17
|
set columnId(value) {
|
|
20
18
|
this.renderer.setProperty(this.elementRef.nativeElement, 'columnId', value);
|
|
21
19
|
}
|
|
22
20
|
get actionMenuSlot() {
|
|
23
21
|
return this.elementRef.nativeElement.actionMenuSlot;
|
|
24
22
|
}
|
|
25
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
26
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
27
23
|
set actionMenuSlot(value) {
|
|
28
24
|
this.renderer.setProperty(this.elementRef.nativeElement, 'actionMenuSlot', value);
|
|
29
25
|
}
|
|
30
26
|
get actionMenuLabel() {
|
|
31
27
|
return this.elementRef.nativeElement.actionMenuLabel;
|
|
32
28
|
}
|
|
33
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
34
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
35
29
|
set actionMenuLabel(value) {
|
|
36
30
|
this.renderer.setProperty(this.elementRef.nativeElement, 'actionMenuLabel', value);
|
|
37
31
|
}
|
|
38
32
|
get columnHidden() {
|
|
39
33
|
return this.elementRef.nativeElement.columnHidden;
|
|
40
34
|
}
|
|
41
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
42
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
43
35
|
set columnHidden(value) {
|
|
44
36
|
this.renderer.setProperty(this.elementRef.nativeElement, 'columnHidden', toBooleanProperty(value));
|
|
45
37
|
}
|
|
46
38
|
get sortDirection() {
|
|
47
39
|
return this.elementRef.nativeElement.sortDirection;
|
|
48
40
|
}
|
|
49
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
50
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
51
41
|
set sortDirection(value) {
|
|
52
42
|
this.renderer.setProperty(this.elementRef.nativeElement, 'sortDirection', value);
|
|
53
43
|
}
|
|
54
44
|
get sortIndex() {
|
|
55
45
|
return this.elementRef.nativeElement.sortIndex;
|
|
56
46
|
}
|
|
57
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
58
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
59
47
|
set sortIndex(value) {
|
|
60
48
|
this.renderer.setProperty(this.elementRef.nativeElement, 'sortIndex', toNullableNumberProperty(value));
|
|
61
49
|
}
|
|
@@ -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
|
|
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;AAAjE,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;AAAqB,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CA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MyB,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;;;;"}
|
|
@@ -38,16 +38,12 @@ class NimbleTableDirective {
|
|
|
38
38
|
get idFieldName() {
|
|
39
39
|
return this.elementRef.nativeElement.idFieldName;
|
|
40
40
|
}
|
|
41
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
42
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
43
41
|
set idFieldName(value) {
|
|
44
42
|
this.renderer.setProperty(this.elementRef.nativeElement, 'idFieldName', value);
|
|
45
43
|
}
|
|
46
44
|
get selectionMode() {
|
|
47
45
|
return this.elementRef.nativeElement.selectionMode;
|
|
48
46
|
}
|
|
49
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
50
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
51
47
|
set selectionMode(value) {
|
|
52
48
|
this.renderer.setProperty(this.elementRef.nativeElement, 'selectionMode', value);
|
|
53
49
|
}
|
|
@@ -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 } from '@ni/nimble-components/dist/esm/table/types';\nimport { TableRowSelectionMode } 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 };\nexport { TableRecord, TableFieldName, TableFieldValue, TableValidity, TableRowSelectionMode };\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
|
|
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 } from '@ni/nimble-components/dist/esm/table/types';\nimport { TableRowSelectionMode } 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 };\nexport { TableRecord, TableFieldName, TableFieldValue, TableValidity, TableRowSelectionMode };\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 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","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;IAkD7B,WAAoC,CAAA,QAAmB,EAAmB,UAAoC,EAAA;AAA1E,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;AAAmB,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CAA0B;KAAI;AAjDlH,IAAA,IAAW,KAAK,GAAA;QACZ,OAAO,IAAI,CAAC,cAAc,CAAC;KAC9B;AAED;;;;;;;;AAQG;IACH,IAAoB,KAAK,CAAC,KAAsC,EAAA;;AAC5D,QAAA,CAAA,EAAA,GAAA,IAAI,CAAC,gBAAgB,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,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,KA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AA,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;iBAClC,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -737,16 +737,12 @@ class NimbleAnchorDirective extends NimbleAnchorBaseDirective {
|
|
|
737
737
|
get underlineHidden() {
|
|
738
738
|
return this.elementRef.nativeElement.underlineHidden;
|
|
739
739
|
}
|
|
740
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
741
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
742
740
|
set underlineHidden(value) {
|
|
743
741
|
this.renderer.setProperty(this.elementRef.nativeElement, 'underlineHidden', toBooleanProperty(value));
|
|
744
742
|
}
|
|
745
743
|
get contentEditable() {
|
|
746
744
|
return this.elementRef.nativeElement.contentEditable;
|
|
747
745
|
}
|
|
748
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
749
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
750
746
|
set contentEditable(value) {
|
|
751
747
|
this.renderer.setProperty(this.elementRef.nativeElement, 'contentEditable', value);
|
|
752
748
|
}
|
|
@@ -873,16 +869,12 @@ class NimbleAnchorButtonDirective extends NimbleAnchorBaseDirective {
|
|
|
873
869
|
get appearanceVariant() {
|
|
874
870
|
return this.elementRef.nativeElement.appearanceVariant;
|
|
875
871
|
}
|
|
876
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
877
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
878
872
|
set appearanceVariant(value) {
|
|
879
873
|
this.renderer.setProperty(this.elementRef.nativeElement, 'appearanceVariant', value);
|
|
880
874
|
}
|
|
881
875
|
get contentHidden() {
|
|
882
876
|
return this.elementRef.nativeElement.contentHidden;
|
|
883
877
|
}
|
|
884
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
885
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
886
878
|
set contentHidden(value) {
|
|
887
879
|
this.renderer.setProperty(this.elementRef.nativeElement, 'contentHidden', toBooleanProperty(value));
|
|
888
880
|
}
|
|
@@ -1248,16 +1240,12 @@ class NimbleBannerDirective {
|
|
|
1248
1240
|
get titleHidden() {
|
|
1249
1241
|
return this.elementRef.nativeElement.titleHidden;
|
|
1250
1242
|
}
|
|
1251
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
1252
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1253
1243
|
set titleHidden(value) {
|
|
1254
1244
|
this.renderer.setProperty(this.elementRef.nativeElement, 'titleHidden', toBooleanProperty(value));
|
|
1255
1245
|
}
|
|
1256
1246
|
get preventDismiss() {
|
|
1257
1247
|
return this.elementRef.nativeElement.preventDismiss;
|
|
1258
1248
|
}
|
|
1259
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
1260
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1261
1249
|
set preventDismiss(value) {
|
|
1262
1250
|
this.renderer.setProperty(this.elementRef.nativeElement, 'preventDismiss', toBooleanProperty(value));
|
|
1263
1251
|
}
|
|
@@ -1468,8 +1456,6 @@ class NimbleButtonDirective {
|
|
|
1468
1456
|
get appearanceVariant() {
|
|
1469
1457
|
return this.elementRef.nativeElement.appearanceVariant;
|
|
1470
1458
|
}
|
|
1471
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
1472
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1473
1459
|
set appearanceVariant(value) {
|
|
1474
1460
|
this.renderer.setProperty(this.elementRef.nativeElement, 'appearanceVariant', value);
|
|
1475
1461
|
}
|
|
@@ -1488,8 +1474,6 @@ class NimbleButtonDirective {
|
|
|
1488
1474
|
get contentHidden() {
|
|
1489
1475
|
return this.elementRef.nativeElement.contentHidden;
|
|
1490
1476
|
}
|
|
1491
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
1492
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1493
1477
|
set contentHidden(value) {
|
|
1494
1478
|
this.renderer.setProperty(this.elementRef.nativeElement, 'contentHidden', toBooleanProperty(value));
|
|
1495
1479
|
}
|
|
@@ -2150,16 +2134,12 @@ class NimbleComboboxDirective {
|
|
|
2150
2134
|
get errorText() {
|
|
2151
2135
|
return this.elementRef.nativeElement.errorText;
|
|
2152
2136
|
}
|
|
2153
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
2154
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
2155
2137
|
set errorText(value) {
|
|
2156
2138
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorText', value);
|
|
2157
2139
|
}
|
|
2158
2140
|
get errorVisible() {
|
|
2159
2141
|
return this.elementRef.nativeElement.errorVisible;
|
|
2160
2142
|
}
|
|
2161
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
2162
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
2163
2143
|
set errorVisible(value) {
|
|
2164
2144
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorVisible', toBooleanProperty(value));
|
|
2165
2145
|
}
|
|
@@ -2230,24 +2210,18 @@ class NimbleDialogDirective {
|
|
|
2230
2210
|
get preventDismiss() {
|
|
2231
2211
|
return this.elementRef.nativeElement.preventDismiss;
|
|
2232
2212
|
}
|
|
2233
|
-
// preventDismiss property intentionally maps to the prevent-dismiss attribute
|
|
2234
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
2235
2213
|
set preventDismiss(value) {
|
|
2236
2214
|
this.renderer.setProperty(this.elementRef.nativeElement, 'preventDismiss', toBooleanProperty(value));
|
|
2237
2215
|
}
|
|
2238
2216
|
get headerHidden() {
|
|
2239
2217
|
return this.elementRef.nativeElement.headerHidden;
|
|
2240
2218
|
}
|
|
2241
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
2242
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
2243
2219
|
set headerHidden(value) {
|
|
2244
2220
|
this.renderer.setProperty(this.elementRef.nativeElement, 'headerHidden', toBooleanProperty(value));
|
|
2245
2221
|
}
|
|
2246
2222
|
get footerHidden() {
|
|
2247
2223
|
return this.elementRef.nativeElement.footerHidden;
|
|
2248
2224
|
}
|
|
2249
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
2250
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
2251
2225
|
set footerHidden(value) {
|
|
2252
2226
|
this.renderer.setProperty(this.elementRef.nativeElement, 'footerHidden', toBooleanProperty(value));
|
|
2253
2227
|
}
|
|
@@ -2321,16 +2295,12 @@ class NimbleDrawerDirective {
|
|
|
2321
2295
|
get preventDismiss() {
|
|
2322
2296
|
return this.elementRef.nativeElement.preventDismiss;
|
|
2323
2297
|
}
|
|
2324
|
-
// preventDismiss property intentionally maps to the prevent-dismiss attribute
|
|
2325
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
2326
2298
|
set preventDismiss(value) {
|
|
2327
2299
|
this.renderer.setProperty(this.elementRef.nativeElement, 'preventDismiss', toBooleanProperty(value));
|
|
2328
2300
|
}
|
|
2329
2301
|
get ariaLabel() {
|
|
2330
2302
|
return this.elementRef.nativeElement.ariaLabel;
|
|
2331
2303
|
}
|
|
2332
|
-
// ariaLabel property intentionally maps to the aria-label attribute
|
|
2333
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
2334
2304
|
set ariaLabel(value) {
|
|
2335
2305
|
this.renderer.setProperty(this.elementRef.nativeElement, 'ariaLabel', value);
|
|
2336
2306
|
}
|
|
@@ -8461,8 +8431,6 @@ class NimbleMenuButtonDirective {
|
|
|
8461
8431
|
get contentHidden() {
|
|
8462
8432
|
return this.elementRef.nativeElement.contentHidden;
|
|
8463
8433
|
}
|
|
8464
|
-
// contentHidden property intentionally maps to the content-hidden attribute
|
|
8465
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
8466
8434
|
set contentHidden(value) {
|
|
8467
8435
|
this.renderer.setProperty(this.elementRef.nativeElement, 'contentHidden', toBooleanProperty(value));
|
|
8468
8436
|
}
|
|
@@ -8671,7 +8639,6 @@ class NimbleNumberFieldDirective {
|
|
|
8671
8639
|
}
|
|
8672
8640
|
// readOnly property maps to the readonly attribute
|
|
8673
8641
|
// https://github.com/microsoft/fast/blob/46bb6d9aab2c37105f4434db3795e176c2354a4f/packages/web-components/fast-foundation/src/number-field/number-field.ts#L38
|
|
8674
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
8675
8642
|
set readOnly(value) {
|
|
8676
8643
|
this.renderer.setProperty(this.elementRef.nativeElement, 'readOnly', toBooleanProperty(value));
|
|
8677
8644
|
}
|
|
@@ -8696,8 +8663,6 @@ class NimbleNumberFieldDirective {
|
|
|
8696
8663
|
get hideStep() {
|
|
8697
8664
|
return this.elementRef.nativeElement.hideStep;
|
|
8698
8665
|
}
|
|
8699
|
-
// hideStep property maps to the hide-step attribute
|
|
8700
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
8701
8666
|
set hideStep(value) {
|
|
8702
8667
|
this.renderer.setProperty(this.elementRef.nativeElement, 'hideStep', toBooleanProperty(value));
|
|
8703
8668
|
}
|
|
@@ -8710,16 +8675,12 @@ class NimbleNumberFieldDirective {
|
|
|
8710
8675
|
get errorText() {
|
|
8711
8676
|
return this.elementRef.nativeElement.errorText;
|
|
8712
8677
|
}
|
|
8713
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
8714
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
8715
8678
|
set errorText(value) {
|
|
8716
8679
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorText', value);
|
|
8717
8680
|
}
|
|
8718
8681
|
get errorVisible() {
|
|
8719
8682
|
return this.elementRef.nativeElement.errorVisible;
|
|
8720
8683
|
}
|
|
8721
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
8722
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
8723
8684
|
set errorVisible(value) {
|
|
8724
8685
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorVisible', toBooleanProperty(value));
|
|
8725
8686
|
}
|
|
@@ -9197,16 +9158,12 @@ class NimbleSelectDirective {
|
|
|
9197
9158
|
get errorText() {
|
|
9198
9159
|
return this.elementRef.nativeElement.errorText;
|
|
9199
9160
|
}
|
|
9200
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
9201
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9202
9161
|
set errorText(value) {
|
|
9203
9162
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorText', value);
|
|
9204
9163
|
}
|
|
9205
9164
|
get errorVisible() {
|
|
9206
9165
|
return this.elementRef.nativeElement.errorVisible;
|
|
9207
9166
|
}
|
|
9208
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
9209
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9210
9167
|
set errorVisible(value) {
|
|
9211
9168
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorVisible', toBooleanProperty(value));
|
|
9212
9169
|
}
|
|
@@ -9700,7 +9657,6 @@ class NimbleTextAreaDirective {
|
|
|
9700
9657
|
}
|
|
9701
9658
|
// readOnly property maps to the readonly attribute
|
|
9702
9659
|
// See: https://github.com/microsoft/fast/blob/46bb6d9aab2c37105f4434db3795e176c2354a4f/packages/web-components/fast-foundation/src/text-area/text-area.ts#L22
|
|
9703
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9704
9660
|
set readOnly(value) {
|
|
9705
9661
|
this.renderer.setProperty(this.elementRef.nativeElement, 'readOnly', toBooleanProperty(value));
|
|
9706
9662
|
}
|
|
@@ -9725,16 +9681,12 @@ class NimbleTextAreaDirective {
|
|
|
9725
9681
|
get errorVisible() {
|
|
9726
9682
|
return this.elementRef.nativeElement.errorVisible;
|
|
9727
9683
|
}
|
|
9728
|
-
// errorVisible property maps to the error-visible attribute
|
|
9729
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9730
9684
|
set errorVisible(value) {
|
|
9731
9685
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorVisible', toBooleanProperty(value));
|
|
9732
9686
|
}
|
|
9733
9687
|
get errorText() {
|
|
9734
9688
|
return this.elementRef.nativeElement.errorText;
|
|
9735
9689
|
}
|
|
9736
|
-
// errorText property maps to the error-text attribute
|
|
9737
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9738
9690
|
set errorText(value) {
|
|
9739
9691
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorText', value);
|
|
9740
9692
|
}
|
|
@@ -9749,7 +9701,6 @@ class NimbleTextAreaDirective {
|
|
|
9749
9701
|
}
|
|
9750
9702
|
// formId property maps to the form attribute
|
|
9751
9703
|
// See: https://github.com/microsoft/fast/blob/46bb6d9aab2c37105f4434db3795e176c2354a4f/packages/web-components/fast-foundation/src/text-area/text-area.ts#L63
|
|
9752
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9753
9704
|
set formId(value) {
|
|
9754
9705
|
this.renderer.setProperty(this.elementRef.nativeElement, 'formId', value);
|
|
9755
9706
|
}
|
|
@@ -9901,7 +9852,6 @@ class NimbleTextFieldDirective {
|
|
|
9901
9852
|
}
|
|
9902
9853
|
// readOnly property maps to the readonly attribute
|
|
9903
9854
|
// See: https://github.com/microsoft/fast/blob/46bb6d9aab2c37105f4434db3795e176c2354a4f/packages/web-components/fast-foundation/src/text-field/text-field.ts#L33
|
|
9904
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9905
9855
|
set readOnly(value) {
|
|
9906
9856
|
this.renderer.setProperty(this.elementRef.nativeElement, 'readOnly', toBooleanProperty(value));
|
|
9907
9857
|
}
|
|
@@ -9956,16 +9906,12 @@ class NimbleTextFieldDirective {
|
|
|
9956
9906
|
get errorText() {
|
|
9957
9907
|
return this.elementRef.nativeElement.errorText;
|
|
9958
9908
|
}
|
|
9959
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
9960
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9961
9909
|
set errorText(value) {
|
|
9962
9910
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorText', value);
|
|
9963
9911
|
}
|
|
9964
9912
|
get errorVisible() {
|
|
9965
9913
|
return this.elementRef.nativeElement.errorVisible;
|
|
9966
9914
|
}
|
|
9967
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
9968
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9969
9915
|
set errorVisible(value) {
|
|
9970
9916
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorVisible', toBooleanProperty(value));
|
|
9971
9917
|
}
|
|
@@ -9984,8 +9930,6 @@ class NimbleTextFieldDirective {
|
|
|
9984
9930
|
get fullBleed() {
|
|
9985
9931
|
return this.elementRef.nativeElement.fullBleed;
|
|
9986
9932
|
}
|
|
9987
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
9988
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9989
9933
|
set fullBleed(value) {
|
|
9990
9934
|
this.renderer.setProperty(this.elementRef.nativeElement, 'fullBleed', toBooleanProperty(value));
|
|
9991
9935
|
}
|
|
@@ -10152,8 +10096,6 @@ class NimbleToggleButtonDirective {
|
|
|
10152
10096
|
get contentHidden() {
|
|
10153
10097
|
return this.elementRef.nativeElement.contentHidden;
|
|
10154
10098
|
}
|
|
10155
|
-
// contentHidden property intentionally maps to the content-hidden attribute
|
|
10156
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
10157
10099
|
set contentHidden(value) {
|
|
10158
10100
|
this.renderer.setProperty(this.elementRef.nativeElement, 'contentHidden', toBooleanProperty(value));
|
|
10159
10101
|
}
|
|
@@ -10304,8 +10246,6 @@ class NimbleTreeViewDirective {
|
|
|
10304
10246
|
get selectionMode() {
|
|
10305
10247
|
return this.elementRef.nativeElement.selectionMode;
|
|
10306
10248
|
}
|
|
10307
|
-
// selectionMode property intentionally maps to the selection-mode attribute
|
|
10308
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
10309
10249
|
set selectionMode(value) {
|
|
10310
10250
|
this.renderer.setProperty(this.elementRef.nativeElement, 'selectionMode', value);
|
|
10311
10251
|
}
|
|
@@ -10365,8 +10305,6 @@ class NimbleTooltipDirective {
|
|
|
10365
10305
|
get iconVisible() {
|
|
10366
10306
|
return this.elementRef.nativeElement.iconVisible;
|
|
10367
10307
|
}
|
|
10368
|
-
// iconVisible property intentionally maps to the icon-visible attribute
|
|
10369
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
10370
10308
|
set iconVisible(value) {
|
|
10371
10309
|
this.renderer.setProperty(this.elementRef.nativeElement, 'iconVisible', toBooleanProperty(value));
|
|
10372
10310
|
}
|