@ni/nimble-angular 18.2.11 → 18.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/directives/anchor/nimble-anchor.directive.mjs +1 -5
- package/esm2020/directives/anchor-button/nimble-anchor-button.directive.mjs +1 -5
- package/esm2020/directives/banner/nimble-banner.directive.mjs +1 -5
- package/esm2020/directives/button/nimble-button.directive.mjs +1 -5
- package/esm2020/directives/combobox/nimble-combobox.directive.mjs +1 -5
- package/esm2020/directives/dialog/nimble-dialog.directive.mjs +1 -7
- package/esm2020/directives/drawer/nimble-drawer.directive.mjs +1 -5
- package/esm2020/directives/menu-button/nimble-menu-button.directive.mjs +1 -3
- package/esm2020/directives/number-field/nimble-number-field.directive.mjs +1 -8
- package/esm2020/directives/select/nimble-select.directive.mjs +1 -5
- package/esm2020/directives/text-area/nimble-text-area.directive.mjs +1 -7
- package/esm2020/directives/text-field/nimble-text-field.directive.mjs +1 -8
- package/esm2020/directives/toggle-button/nimble-toggle-button.directive.mjs +1 -3
- package/esm2020/directives/tooltip/nimble-tooltip.directive.mjs +1 -3
- package/esm2020/directives/tree-view/nimble-tree-view.directive.mjs +1 -3
- package/esm2020/label-provider/core/nimble-label-provider-core.directive.mjs +1 -7
- package/esm2020/label-provider/rich-text/nimble-label-provider-rich-text.directive.mjs +1 -9
- package/esm2020/label-provider/table/nimble-label-provider-table.directive.mjs +1 -23
- package/esm2020/mapping/user/nimble-mapping-user.directive.mjs +1 -3
- package/esm2020/rich-text/editor/nimble-rich-text-editor.directive.mjs +1 -7
- package/esm2020/rich-text-mention/nimble-rich-text-mention-base.directive.mjs +1 -3
- package/esm2020/table/nimble-table.directive.mjs +1 -5
- package/esm2020/table-column/anchor/nimble-table-column-anchor.directive.mjs +1 -15
- package/esm2020/table-column/date-text/nimble-table-column-date-text.directive.mjs +1 -49
- package/esm2020/table-column/duration-text/nimble-table-column-duration-text.directive.mjs +1 -11
- package/esm2020/table-column/enum-text/nimble-table-column-enum-text.directive.mjs +1 -13
- package/esm2020/table-column/icon/nimble-table-column-icon.directive.mjs +1 -13
- package/esm2020/table-column/nimble-table-column-base.directive.mjs +1 -13
- package/esm2020/table-column/number-text/nimble-table-column-number-text.directive.mjs +1 -15
- package/esm2020/table-column/text/nimble-table-column-text.directive.mjs +1 -11
- package/fesm2015/ni-nimble-angular-label-provider-core.mjs +0 -6
- package/fesm2015/ni-nimble-angular-label-provider-core.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-label-provider-rich-text.mjs +0 -8
- package/fesm2015/ni-nimble-angular-label-provider-rich-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-label-provider-table.mjs +0 -22
- package/fesm2015/ni-nimble-angular-label-provider-table.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-mapping-user.mjs +0 -2
- package/fesm2015/ni-nimble-angular-mapping-user.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-rich-text-editor.mjs +0 -6
- package/fesm2015/ni-nimble-angular-rich-text-editor.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-rich-text-mention.mjs +0 -2
- package/fesm2015/ni-nimble-angular-rich-text-mention.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-anchor.mjs +0 -14
- package/fesm2015/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-date-text.mjs +0 -48
- package/fesm2015/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-duration-text.mjs +0 -10
- package/fesm2015/ni-nimble-angular-table-column-duration-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-enum-text.mjs +0 -12
- package/fesm2015/ni-nimble-angular-table-column-enum-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-icon.mjs +0 -12
- package/fesm2015/ni-nimble-angular-table-column-icon.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-number-text.mjs +0 -14
- package/fesm2015/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-text.mjs +0 -10
- package/fesm2015/ni-nimble-angular-table-column-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column.mjs +0 -12
- package/fesm2015/ni-nimble-angular-table-column.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table.mjs +0 -4
- package/fesm2015/ni-nimble-angular-table.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular.mjs +0 -62
- package/fesm2015/ni-nimble-angular.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-label-provider-core.mjs +0 -6
- package/fesm2020/ni-nimble-angular-label-provider-core.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-label-provider-rich-text.mjs +0 -8
- package/fesm2020/ni-nimble-angular-label-provider-rich-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-label-provider-table.mjs +0 -22
- package/fesm2020/ni-nimble-angular-label-provider-table.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-mapping-user.mjs +0 -2
- package/fesm2020/ni-nimble-angular-mapping-user.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-rich-text-editor.mjs +0 -6
- package/fesm2020/ni-nimble-angular-rich-text-editor.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-rich-text-mention.mjs +0 -2
- package/fesm2020/ni-nimble-angular-rich-text-mention.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-anchor.mjs +0 -14
- package/fesm2020/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-date-text.mjs +0 -48
- package/fesm2020/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-duration-text.mjs +0 -10
- package/fesm2020/ni-nimble-angular-table-column-duration-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-enum-text.mjs +0 -12
- package/fesm2020/ni-nimble-angular-table-column-enum-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-icon.mjs +0 -12
- package/fesm2020/ni-nimble-angular-table-column-icon.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-number-text.mjs +0 -14
- package/fesm2020/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-text.mjs +0 -10
- package/fesm2020/ni-nimble-angular-table-column-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column.mjs +0 -12
- package/fesm2020/ni-nimble-angular-table-column.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table.mjs +0 -4
- package/fesm2020/ni-nimble-angular-table.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular.mjs +0 -62
- package/fesm2020/ni-nimble-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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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AA;sBAAjD,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;AAClD,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-table-column-number-text.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/number-text/nimble-table-column-number-text.directive.ts","../../../../projects/ni/nimble-angular/table-column/number-text/nimble-table-column-number-text.module.ts","../../../../projects/ni/nimble-angular/table-column/number-text/ni-nimble-angular-table-column-number-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\nimport { type TableColumnNumberText, tableColumnNumberTextTag } from '@ni/nimble-components/dist/esm/table-column/number-text';\nimport { NumberTextAlignment, NumberTextFormat } from '@ni/nimble-components/dist/esm/table-column/number-text/types';\n\nexport type { TableColumnNumberText };\nexport { tableColumnNumberTextTag, NumberTextFormat, NumberTextAlignment };\n\n/**\n * Directive to provide Angular integration for the table column element for number text.\n */\n@Directive({\n selector: 'nimble-table-column-number-text'\n})\nexport class NimbleTableColumnNumberTextDirective extends NimbleTableColumnBaseDirective<TableColumnNumberText> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get format(): NumberTextFormat {\n return this.elementRef.nativeElement.format;\n }\n\n @Input() public set format(value: NumberTextFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'format', value);\n }\n\n public get alignment(): NumberTextAlignment {\n return this.elementRef.nativeElement.alignment;\n }\n\n @Input() public set alignment(value: NumberTextAlignment) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'alignment', value);\n }\n\n public get decimalDigits(): number | null | undefined {\n return this.elementRef.nativeElement.decimalDigits;\n }\n\n @Input('decimal-digits') public set decimalDigits(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'decimalDigits', toNullableNumberProperty(value));\n }\n\n public get decimalMaximumDigits(): number | null | undefined {\n return this.elementRef.nativeElement.decimalMaximumDigits;\n }\n\n @Input('decimal-maximum-digits') public set decimalMaximumDigits(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'decimalMaximumDigits', toNullableNumberProperty(value));\n }\n\n public get fractionalWidth(): number | null | undefined {\n return this.elementRef.nativeElement.fractionalWidth;\n }\n\n @Input('fractional-width') public set fractionalWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));\n }\n\n public get minPixelWidth(): number | null | undefined {\n return this.elementRef.nativeElement.minPixelWidth;\n }\n\n @Input('min-pixel-width') public set minPixelWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));\n }\n\n public get groupIndex(): number | null | undefined {\n return this.elementRef.nativeElement.groupIndex;\n }\n\n @Input('group-index') public set groupIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));\n }\n\n public get groupingDisabled(): boolean {\n return this.elementRef.nativeElement.groupingDisabled;\n }\n\n @Input('grouping-disabled') public set groupingDisabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));\n }\n\n public constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnNumberText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnNumberTextDirective } from './nimble-table-column-number-text.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/number-text';\n\n@NgModule({\n declarations: [NimbleTableColumnNumberTextDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnNumberTextDirective]\n})\nexport class NimbleTableColumnNumberTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AASA;;AAEG;AAIG,MAAO,oCAAqC,SAAQ,8BAAqD,CAAA;IAyE3G,WAAmB,CAAA,QAAmB,EAAE,UAA6C,EAAA;AACjF,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,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AAC,kBAAkB,CAAA;gBAQY,aAAa,EAAA,CAAA;sBAAjD,KAAK;uBAAC,iBAAiB,CAAA;gBAQS,UAAU,EAAA,CAAA;sBAA1C,KAAK;uBAAC,aAAa,CAAA;gBAQmB,gBAAgB,EAAA,CAAA;sBAAtD,KAAK;uBAAC,mBAAmB,CAAA;;;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;AAClD,iBAAA,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/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Aa,CAAA;gBAQmB,gBAAgB,EAAA,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;AAC5C,iBAAA,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;QAAjE,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CA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CAAA;kBAD1C,SAAS;yHAMyB,QAAQ,EAAA,CAAA;sBAAtC,KAAK;uBAAC,WAAW,CAAA;gBAQoB,cAAc,EAAA,CAAA;sBAAnD,KAAK;uBAAC,kBAAkB,CAAA;gBAQc,eAAe,EAAA,CAAA;sBAArD,KAAK;uBAAC,mBAAmB,CAAA;gBAQS,YAAY,EAAA,CAAA;sBAA9C,KAAK;uBAAC,eAAe,CAAA;gBAQc,aAAa,EAAA,CAAA;sBAAhD,KAAK;uBAAC,gBAAgB,CAAA;gBAQS,SAAS,EAAA,CAAA;sBAAxC,KAAK;uBAAC,YAAY,CAAA;;;ACzDvB;;AAEG;;;;"}
|
|
@@ -36,16 +36,12 @@ class NimbleTableDirective {
|
|
|
36
36
|
get idFieldName() {
|
|
37
37
|
return this.elementRef.nativeElement.idFieldName;
|
|
38
38
|
}
|
|
39
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
40
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
41
39
|
set idFieldName(value) {
|
|
42
40
|
this.renderer.setProperty(this.elementRef.nativeElement, 'idFieldName', value);
|
|
43
41
|
}
|
|
44
42
|
get selectionMode() {
|
|
45
43
|
return this.elementRef.nativeElement.selectionMode;
|
|
46
44
|
}
|
|
47
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
48
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
49
45
|
set selectionMode(value) {
|
|
50
46
|
this.renderer.setProperty(this.elementRef.nativeElement, 'selectionMode', value);
|
|
51
47
|
}
|
|
@@ -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;QAA1E,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAmB,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,IAAI,CAAC,gBAAgB,EAAE,WAAW,EAAE,CAAC;AAErC,QAAA,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;AAC5B,QAAA,IAAI,KAAK,EAAE;YACP,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC,SAAS,CACnC,IAAI,IAAG;AACH,gBAAA,KAAK,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAC5B,aAAC,CACJ,CAAC;AACL,SAAA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AAA,CAAA,CAAA;4FAGb,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAL7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,oBAAoB,CAAC;oBACpC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,oBAAoB,CAAC;AAClC,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -732,16 +732,12 @@ class NimbleAnchorDirective extends NimbleAnchorBaseDirective {
|
|
|
732
732
|
get underlineHidden() {
|
|
733
733
|
return this.elementRef.nativeElement.underlineHidden;
|
|
734
734
|
}
|
|
735
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
736
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
737
735
|
set underlineHidden(value) {
|
|
738
736
|
this.renderer.setProperty(this.elementRef.nativeElement, 'underlineHidden', toBooleanProperty(value));
|
|
739
737
|
}
|
|
740
738
|
get contentEditable() {
|
|
741
739
|
return this.elementRef.nativeElement.contentEditable;
|
|
742
740
|
}
|
|
743
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
744
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
745
741
|
set contentEditable(value) {
|
|
746
742
|
this.renderer.setProperty(this.elementRef.nativeElement, 'contentEditable', value);
|
|
747
743
|
}
|
|
@@ -866,16 +862,12 @@ class NimbleAnchorButtonDirective extends NimbleAnchorBaseDirective {
|
|
|
866
862
|
get appearanceVariant() {
|
|
867
863
|
return this.elementRef.nativeElement.appearanceVariant;
|
|
868
864
|
}
|
|
869
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
870
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
871
865
|
set appearanceVariant(value) {
|
|
872
866
|
this.renderer.setProperty(this.elementRef.nativeElement, 'appearanceVariant', value);
|
|
873
867
|
}
|
|
874
868
|
get contentHidden() {
|
|
875
869
|
return this.elementRef.nativeElement.contentHidden;
|
|
876
870
|
}
|
|
877
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
878
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
879
871
|
set contentHidden(value) {
|
|
880
872
|
this.renderer.setProperty(this.elementRef.nativeElement, 'contentHidden', toBooleanProperty(value));
|
|
881
873
|
}
|
|
@@ -1240,16 +1232,12 @@ class NimbleBannerDirective {
|
|
|
1240
1232
|
get titleHidden() {
|
|
1241
1233
|
return this.elementRef.nativeElement.titleHidden;
|
|
1242
1234
|
}
|
|
1243
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
1244
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1245
1235
|
set titleHidden(value) {
|
|
1246
1236
|
this.renderer.setProperty(this.elementRef.nativeElement, 'titleHidden', toBooleanProperty(value));
|
|
1247
1237
|
}
|
|
1248
1238
|
get preventDismiss() {
|
|
1249
1239
|
return this.elementRef.nativeElement.preventDismiss;
|
|
1250
1240
|
}
|
|
1251
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
1252
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1253
1241
|
set preventDismiss(value) {
|
|
1254
1242
|
this.renderer.setProperty(this.elementRef.nativeElement, 'preventDismiss', toBooleanProperty(value));
|
|
1255
1243
|
}
|
|
@@ -1458,8 +1446,6 @@ class NimbleButtonDirective {
|
|
|
1458
1446
|
get appearanceVariant() {
|
|
1459
1447
|
return this.elementRef.nativeElement.appearanceVariant;
|
|
1460
1448
|
}
|
|
1461
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
1462
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1463
1449
|
set appearanceVariant(value) {
|
|
1464
1450
|
this.renderer.setProperty(this.elementRef.nativeElement, 'appearanceVariant', value);
|
|
1465
1451
|
}
|
|
@@ -1478,8 +1464,6 @@ class NimbleButtonDirective {
|
|
|
1478
1464
|
get contentHidden() {
|
|
1479
1465
|
return this.elementRef.nativeElement.contentHidden;
|
|
1480
1466
|
}
|
|
1481
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
1482
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
1483
1467
|
set contentHidden(value) {
|
|
1484
1468
|
this.renderer.setProperty(this.elementRef.nativeElement, 'contentHidden', toBooleanProperty(value));
|
|
1485
1469
|
}
|
|
@@ -2140,16 +2124,12 @@ class NimbleComboboxDirective {
|
|
|
2140
2124
|
get errorText() {
|
|
2141
2125
|
return this.elementRef.nativeElement.errorText;
|
|
2142
2126
|
}
|
|
2143
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
2144
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
2145
2127
|
set errorText(value) {
|
|
2146
2128
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorText', value);
|
|
2147
2129
|
}
|
|
2148
2130
|
get errorVisible() {
|
|
2149
2131
|
return this.elementRef.nativeElement.errorVisible;
|
|
2150
2132
|
}
|
|
2151
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
2152
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
2153
2133
|
set errorVisible(value) {
|
|
2154
2134
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorVisible', toBooleanProperty(value));
|
|
2155
2135
|
}
|
|
@@ -2220,24 +2200,18 @@ class NimbleDialogDirective {
|
|
|
2220
2200
|
get preventDismiss() {
|
|
2221
2201
|
return this.elementRef.nativeElement.preventDismiss;
|
|
2222
2202
|
}
|
|
2223
|
-
// preventDismiss property intentionally maps to the prevent-dismiss attribute
|
|
2224
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
2225
2203
|
set preventDismiss(value) {
|
|
2226
2204
|
this.renderer.setProperty(this.elementRef.nativeElement, 'preventDismiss', toBooleanProperty(value));
|
|
2227
2205
|
}
|
|
2228
2206
|
get headerHidden() {
|
|
2229
2207
|
return this.elementRef.nativeElement.headerHidden;
|
|
2230
2208
|
}
|
|
2231
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
2232
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
2233
2209
|
set headerHidden(value) {
|
|
2234
2210
|
this.renderer.setProperty(this.elementRef.nativeElement, 'headerHidden', toBooleanProperty(value));
|
|
2235
2211
|
}
|
|
2236
2212
|
get footerHidden() {
|
|
2237
2213
|
return this.elementRef.nativeElement.footerHidden;
|
|
2238
2214
|
}
|
|
2239
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
2240
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
2241
2215
|
set footerHidden(value) {
|
|
2242
2216
|
this.renderer.setProperty(this.elementRef.nativeElement, 'footerHidden', toBooleanProperty(value));
|
|
2243
2217
|
}
|
|
@@ -2309,16 +2283,12 @@ class NimbleDrawerDirective {
|
|
|
2309
2283
|
get preventDismiss() {
|
|
2310
2284
|
return this.elementRef.nativeElement.preventDismiss;
|
|
2311
2285
|
}
|
|
2312
|
-
// preventDismiss property intentionally maps to the prevent-dismiss attribute
|
|
2313
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
2314
2286
|
set preventDismiss(value) {
|
|
2315
2287
|
this.renderer.setProperty(this.elementRef.nativeElement, 'preventDismiss', toBooleanProperty(value));
|
|
2316
2288
|
}
|
|
2317
2289
|
get ariaLabel() {
|
|
2318
2290
|
return this.elementRef.nativeElement.ariaLabel;
|
|
2319
2291
|
}
|
|
2320
|
-
// ariaLabel property intentionally maps to the aria-label attribute
|
|
2321
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
2322
2292
|
set ariaLabel(value) {
|
|
2323
2293
|
this.renderer.setProperty(this.elementRef.nativeElement, 'ariaLabel', value);
|
|
2324
2294
|
}
|
|
@@ -8441,8 +8411,6 @@ class NimbleMenuButtonDirective {
|
|
|
8441
8411
|
get contentHidden() {
|
|
8442
8412
|
return this.elementRef.nativeElement.contentHidden;
|
|
8443
8413
|
}
|
|
8444
|
-
// contentHidden property intentionally maps to the content-hidden attribute
|
|
8445
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
8446
8414
|
set contentHidden(value) {
|
|
8447
8415
|
this.renderer.setProperty(this.elementRef.nativeElement, 'contentHidden', toBooleanProperty(value));
|
|
8448
8416
|
}
|
|
@@ -8651,7 +8619,6 @@ class NimbleNumberFieldDirective {
|
|
|
8651
8619
|
}
|
|
8652
8620
|
// readOnly property maps to the readonly attribute
|
|
8653
8621
|
// https://github.com/microsoft/fast/blob/46bb6d9aab2c37105f4434db3795e176c2354a4f/packages/web-components/fast-foundation/src/number-field/number-field.ts#L38
|
|
8654
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
8655
8622
|
set readOnly(value) {
|
|
8656
8623
|
this.renderer.setProperty(this.elementRef.nativeElement, 'readOnly', toBooleanProperty(value));
|
|
8657
8624
|
}
|
|
@@ -8676,8 +8643,6 @@ class NimbleNumberFieldDirective {
|
|
|
8676
8643
|
get hideStep() {
|
|
8677
8644
|
return this.elementRef.nativeElement.hideStep;
|
|
8678
8645
|
}
|
|
8679
|
-
// hideStep property maps to the hide-step attribute
|
|
8680
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
8681
8646
|
set hideStep(value) {
|
|
8682
8647
|
this.renderer.setProperty(this.elementRef.nativeElement, 'hideStep', toBooleanProperty(value));
|
|
8683
8648
|
}
|
|
@@ -8690,16 +8655,12 @@ class NimbleNumberFieldDirective {
|
|
|
8690
8655
|
get errorText() {
|
|
8691
8656
|
return this.elementRef.nativeElement.errorText;
|
|
8692
8657
|
}
|
|
8693
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
8694
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
8695
8658
|
set errorText(value) {
|
|
8696
8659
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorText', value);
|
|
8697
8660
|
}
|
|
8698
8661
|
get errorVisible() {
|
|
8699
8662
|
return this.elementRef.nativeElement.errorVisible;
|
|
8700
8663
|
}
|
|
8701
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
8702
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
8703
8664
|
set errorVisible(value) {
|
|
8704
8665
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorVisible', toBooleanProperty(value));
|
|
8705
8666
|
}
|
|
@@ -9177,16 +9138,12 @@ class NimbleSelectDirective {
|
|
|
9177
9138
|
get errorText() {
|
|
9178
9139
|
return this.elementRef.nativeElement.errorText;
|
|
9179
9140
|
}
|
|
9180
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
9181
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9182
9141
|
set errorText(value) {
|
|
9183
9142
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorText', value);
|
|
9184
9143
|
}
|
|
9185
9144
|
get errorVisible() {
|
|
9186
9145
|
return this.elementRef.nativeElement.errorVisible;
|
|
9187
9146
|
}
|
|
9188
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
9189
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9190
9147
|
set errorVisible(value) {
|
|
9191
9148
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorVisible', toBooleanProperty(value));
|
|
9192
9149
|
}
|
|
@@ -9678,7 +9635,6 @@ class NimbleTextAreaDirective {
|
|
|
9678
9635
|
}
|
|
9679
9636
|
// readOnly property maps to the readonly attribute
|
|
9680
9637
|
// See: https://github.com/microsoft/fast/blob/46bb6d9aab2c37105f4434db3795e176c2354a4f/packages/web-components/fast-foundation/src/text-area/text-area.ts#L22
|
|
9681
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9682
9638
|
set readOnly(value) {
|
|
9683
9639
|
this.renderer.setProperty(this.elementRef.nativeElement, 'readOnly', toBooleanProperty(value));
|
|
9684
9640
|
}
|
|
@@ -9703,16 +9659,12 @@ class NimbleTextAreaDirective {
|
|
|
9703
9659
|
get errorVisible() {
|
|
9704
9660
|
return this.elementRef.nativeElement.errorVisible;
|
|
9705
9661
|
}
|
|
9706
|
-
// errorVisible property maps to the error-visible attribute
|
|
9707
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9708
9662
|
set errorVisible(value) {
|
|
9709
9663
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorVisible', toBooleanProperty(value));
|
|
9710
9664
|
}
|
|
9711
9665
|
get errorText() {
|
|
9712
9666
|
return this.elementRef.nativeElement.errorText;
|
|
9713
9667
|
}
|
|
9714
|
-
// errorText property maps to the error-text attribute
|
|
9715
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9716
9668
|
set errorText(value) {
|
|
9717
9669
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorText', value);
|
|
9718
9670
|
}
|
|
@@ -9727,7 +9679,6 @@ class NimbleTextAreaDirective {
|
|
|
9727
9679
|
}
|
|
9728
9680
|
// formId property maps to the form attribute
|
|
9729
9681
|
// See: https://github.com/microsoft/fast/blob/46bb6d9aab2c37105f4434db3795e176c2354a4f/packages/web-components/fast-foundation/src/text-area/text-area.ts#L63
|
|
9730
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9731
9682
|
set formId(value) {
|
|
9732
9683
|
this.renderer.setProperty(this.elementRef.nativeElement, 'formId', value);
|
|
9733
9684
|
}
|
|
@@ -9879,7 +9830,6 @@ class NimbleTextFieldDirective {
|
|
|
9879
9830
|
}
|
|
9880
9831
|
// readOnly property maps to the readonly attribute
|
|
9881
9832
|
// See: https://github.com/microsoft/fast/blob/46bb6d9aab2c37105f4434db3795e176c2354a4f/packages/web-components/fast-foundation/src/text-field/text-field.ts#L33
|
|
9882
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9883
9833
|
set readOnly(value) {
|
|
9884
9834
|
this.renderer.setProperty(this.elementRef.nativeElement, 'readOnly', toBooleanProperty(value));
|
|
9885
9835
|
}
|
|
@@ -9934,16 +9884,12 @@ class NimbleTextFieldDirective {
|
|
|
9934
9884
|
get errorText() {
|
|
9935
9885
|
return this.elementRef.nativeElement.errorText;
|
|
9936
9886
|
}
|
|
9937
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
9938
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9939
9887
|
set errorText(value) {
|
|
9940
9888
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorText', value);
|
|
9941
9889
|
}
|
|
9942
9890
|
get errorVisible() {
|
|
9943
9891
|
return this.elementRef.nativeElement.errorVisible;
|
|
9944
9892
|
}
|
|
9945
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
9946
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9947
9893
|
set errorVisible(value) {
|
|
9948
9894
|
this.renderer.setProperty(this.elementRef.nativeElement, 'errorVisible', toBooleanProperty(value));
|
|
9949
9895
|
}
|
|
@@ -9962,8 +9908,6 @@ class NimbleTextFieldDirective {
|
|
|
9962
9908
|
get fullBleed() {
|
|
9963
9909
|
return this.elementRef.nativeElement.fullBleed;
|
|
9964
9910
|
}
|
|
9965
|
-
// Renaming because property should have camel casing, but attribute should not
|
|
9966
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
9967
9911
|
set fullBleed(value) {
|
|
9968
9912
|
this.renderer.setProperty(this.elementRef.nativeElement, 'fullBleed', toBooleanProperty(value));
|
|
9969
9913
|
}
|
|
@@ -10130,8 +10074,6 @@ class NimbleToggleButtonDirective {
|
|
|
10130
10074
|
get contentHidden() {
|
|
10131
10075
|
return this.elementRef.nativeElement.contentHidden;
|
|
10132
10076
|
}
|
|
10133
|
-
// contentHidden property intentionally maps to the content-hidden attribute
|
|
10134
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
10135
10077
|
set contentHidden(value) {
|
|
10136
10078
|
this.renderer.setProperty(this.elementRef.nativeElement, 'contentHidden', toBooleanProperty(value));
|
|
10137
10079
|
}
|
|
@@ -10282,8 +10224,6 @@ class NimbleTreeViewDirective {
|
|
|
10282
10224
|
get selectionMode() {
|
|
10283
10225
|
return this.elementRef.nativeElement.selectionMode;
|
|
10284
10226
|
}
|
|
10285
|
-
// selectionMode property intentionally maps to the selection-mode attribute
|
|
10286
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
10287
10227
|
set selectionMode(value) {
|
|
10288
10228
|
this.renderer.setProperty(this.elementRef.nativeElement, 'selectionMode', value);
|
|
10289
10229
|
}
|
|
@@ -10343,8 +10283,6 @@ class NimbleTooltipDirective {
|
|
|
10343
10283
|
get iconVisible() {
|
|
10344
10284
|
return this.elementRef.nativeElement.iconVisible;
|
|
10345
10285
|
}
|
|
10346
|
-
// iconVisible property intentionally maps to the icon-visible attribute
|
|
10347
|
-
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
10348
10286
|
set iconVisible(value) {
|
|
10349
10287
|
this.renderer.setProperty(this.elementRef.nativeElement, 'iconVisible', toBooleanProperty(value));
|
|
10350
10288
|
}
|