@ni/nimble-angular 17.6.0 → 17.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/table-column/anchor/nimble-table-column-anchor.directive.mjs +49 -5
- package/esm2020/table-column/date-text/nimble-table-column-date-text.directive.mjs +49 -4
- package/esm2020/table-column/enum-text/nimble-table-column-enum-text.directive.mjs +49 -4
- package/esm2020/table-column/icon/nimble-table-column-icon.directive.mjs +49 -4
- package/esm2020/table-column/nimble-table-column-base.directive.mjs +1 -1
- package/esm2020/table-column/number-text/nimble-table-column-number-text.directive.mjs +49 -5
- package/esm2020/table-column/public-api.mjs +1 -3
- package/esm2020/table-column/text/nimble-table-column-text.directive.mjs +54 -6
- package/fesm2015/ni-nimble-angular-table-column-anchor.mjs +48 -4
- package/fesm2015/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-date-text.mjs +48 -3
- package/fesm2015/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-enum-text.mjs +48 -3
- package/fesm2015/ni-nimble-angular-table-column-enum-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-icon.mjs +48 -3
- package/fesm2015/ni-nimble-angular-table-column-icon.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-number-text.mjs +48 -4
- package/fesm2015/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column-text.mjs +53 -5
- package/fesm2015/ni-nimble-angular-table-column-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-table-column.mjs +1 -79
- package/fesm2015/ni-nimble-angular-table-column.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-anchor.mjs +48 -4
- package/fesm2020/ni-nimble-angular-table-column-anchor.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-date-text.mjs +48 -3
- package/fesm2020/ni-nimble-angular-table-column-date-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-enum-text.mjs +48 -3
- package/fesm2020/ni-nimble-angular-table-column-enum-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-icon.mjs +48 -3
- package/fesm2020/ni-nimble-angular-table-column-icon.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-number-text.mjs +48 -4
- package/fesm2020/ni-nimble-angular-table-column-number-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column-text.mjs +53 -5
- package/fesm2020/ni-nimble-angular-table-column-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-table-column.mjs +1 -79
- package/fesm2020/ni-nimble-angular-table-column.mjs.map +1 -1
- package/package.json +1 -1
- package/table-column/anchor/nimble-table-column-anchor.directive.d.ts +11 -40
- package/table-column/date-text/nimble-table-column-date-text.directive.d.ts +11 -39
- package/table-column/enum-text/nimble-table-column-enum-text.directive.d.ts +11 -39
- package/table-column/icon/nimble-table-column-icon.directive.d.ts +11 -39
- package/table-column/nimble-table-column-base.directive.d.ts +2 -4
- package/table-column/number-text/nimble-table-column-number-text.directive.d.ts +11 -40
- package/table-column/public-api.d.ts +0 -2
- package/table-column/text/nimble-table-column-text.directive.d.ts +13 -39
- package/esm2020/table-column/mixins/fractional-width-column.mjs +0 -42
- package/esm2020/table-column/mixins/groupable-column.mjs +0 -42
- package/table-column/mixins/fractional-width-column.d.ts +0 -22
- package/table-column/mixins/groupable-column.d.ts +0 -22
|
@@ -2,8 +2,8 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Directive, Input, HostListener, NgModule } from '@angular/core';
|
|
3
3
|
export { tableColumnAnchorTag } from '@ni/nimble-components/dist/esm/table-column/anchor';
|
|
4
4
|
export { AnchorAppearance } from '@ni/nimble-components/dist/esm/anchor/types';
|
|
5
|
-
import { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
6
|
-
import {
|
|
5
|
+
import { toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';
|
|
6
|
+
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
7
7
|
import { CommonModule } from '@angular/common';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -56,7 +56,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
56
56
|
/**
|
|
57
57
|
* Directive to provide Angular integration for the table column element for links.
|
|
58
58
|
*/
|
|
59
|
-
class NimbleTableColumnAnchorDirective extends
|
|
59
|
+
class NimbleTableColumnAnchorDirective extends NimbleTableColumnBaseDirective {
|
|
60
60
|
constructor(renderer, elementRef) {
|
|
61
61
|
super(renderer, elementRef);
|
|
62
62
|
}
|
|
@@ -132,9 +132,41 @@ class NimbleTableColumnAnchorDirective extends mixinFractionalWidthColumnAPI(mix
|
|
|
132
132
|
set download(value) {
|
|
133
133
|
this.renderer.setProperty(this.elementRef.nativeElement, 'download', value);
|
|
134
134
|
}
|
|
135
|
+
get fractionalWidth() {
|
|
136
|
+
return this.elementRef.nativeElement.fractionalWidth;
|
|
137
|
+
}
|
|
138
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
139
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
140
|
+
set fractionalWidth(value) {
|
|
141
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
142
|
+
}
|
|
143
|
+
get minPixelWidth() {
|
|
144
|
+
return this.elementRef.nativeElement.minPixelWidth;
|
|
145
|
+
}
|
|
146
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
147
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
148
|
+
set minPixelWidth(value) {
|
|
149
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
150
|
+
}
|
|
151
|
+
get groupIndex() {
|
|
152
|
+
return this.elementRef.nativeElement.groupIndex;
|
|
153
|
+
}
|
|
154
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
155
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
156
|
+
set groupIndex(value) {
|
|
157
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
158
|
+
}
|
|
159
|
+
get groupingDisabled() {
|
|
160
|
+
return this.elementRef.nativeElement.groupingDisabled;
|
|
161
|
+
}
|
|
162
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
163
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
164
|
+
set groupingDisabled(value) {
|
|
165
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
166
|
+
}
|
|
135
167
|
}
|
|
136
168
|
NimbleTableColumnAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnAnchorDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
137
|
-
NimbleTableColumnAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnAnchorDirective, selector: "nimble-table-column-anchor", inputs: { labelFieldName: ["label-field-name", "labelFieldName"], hrefFieldName: ["href-field-name", "hrefFieldName"], appearance: "appearance", underlineHidden: ["underline-hidden", "underlineHidden"], hreflang: "hreflang", ping: "ping", referrerpolicy: "referrerpolicy", rel: "rel", target: "target", type: "type", download: "download" }, usesInheritance: true, ngImport: i0 });
|
|
169
|
+
NimbleTableColumnAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnAnchorDirective, selector: "nimble-table-column-anchor", inputs: { labelFieldName: ["label-field-name", "labelFieldName"], hrefFieldName: ["href-field-name", "hrefFieldName"], appearance: "appearance", underlineHidden: ["underline-hidden", "underlineHidden"], hreflang: "hreflang", ping: "ping", referrerpolicy: "referrerpolicy", rel: "rel", target: "target", type: "type", download: "download", fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"] }, usesInheritance: true, ngImport: i0 });
|
|
138
170
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnAnchorDirective, decorators: [{
|
|
139
171
|
type: Directive,
|
|
140
172
|
args: [{
|
|
@@ -165,6 +197,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
165
197
|
type: Input
|
|
166
198
|
}], download: [{
|
|
167
199
|
type: Input
|
|
200
|
+
}], fractionalWidth: [{
|
|
201
|
+
type: Input,
|
|
202
|
+
args: ['fractional-width']
|
|
203
|
+
}], minPixelWidth: [{
|
|
204
|
+
type: Input,
|
|
205
|
+
args: ['min-pixel-width']
|
|
206
|
+
}], groupIndex: [{
|
|
207
|
+
type: Input,
|
|
208
|
+
args: ['group-index']
|
|
209
|
+
}], groupingDisabled: [{
|
|
210
|
+
type: Input,
|
|
211
|
+
args: ['grouping-disabled']
|
|
168
212
|
}] } });
|
|
169
213
|
|
|
170
214
|
class NimbleTableColumnAnchorModule {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-table-column-anchor.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/anchor/nimble-table-column-anchor-navigation-guard.directive.ts","../../../../projects/ni/nimble-angular/table-column/anchor/nimble-table-column-anchor.directive.ts","../../../../projects/ni/nimble-angular/table-column/anchor/nimble-table-column-anchor.module.ts","../../../../projects/ni/nimble-angular/table-column/anchor/ni-nimble-angular-table-column-anchor.ts"],"sourcesContent":["import { Directive, HostListener, Input } from '@angular/core';\nimport type { TableColumnAnchorCellView } from '@ni/nimble-components/dist/esm/table-column/anchor/cell-view';\n\nexport type NavigationGuard = (rowRecordId: string | undefined) => boolean;\n\n/**\n * Directive to allow client to intercept anchor clicks and do router navigation instead of\n * letting the default action handle the navigation. The client supplies a function which is\n * expected to build the proper url and call one of the router's navigation functions, passing\n * the url and any navigation options. If the router successfully navigated, the function should\n * return false to prevent the link's default click handler from also performing the navigation.\n */\n@Directive({\n selector: 'nimble-table-column-anchor[navigationGuard]'\n})\nexport class NimbleTableColumnAnchorNavigationGuardDirective {\n @Input()\n public navigationGuard?: NavigationGuard;\n\n @HostListener('delegated-event', ['$event.detail.originalEvent', '$event.detail.recordId'])\n private onDelegatedEvent(delegatedEvent: Event, recordId: string | undefined): void {\n if (delegatedEvent.type !== 'click') {\n return;\n }\n\n const clickEvent = delegatedEvent as MouseEvent;\n // Only call the navigationGuard for plain left clicks.\n // Those are the only ones that should potentially use the router.\n // Based on: https://github.com/angular/angular/blob/35a3fde5b71ef3b50282fe6f7b37ca1c92b8d2a0/packages/router/src/directives/router_link.ts#L453\n if (clickEvent.button !== 0 || clickEvent.ctrlKey || clickEvent.shiftKey || clickEvent.altKey || clickEvent.metaKey) {\n return;\n }\n\n const cellView = delegatedEvent.target as TableColumnAnchorCellView;\n // Based on: https://github.com/angular/angular/blob/35a3fde5b71ef3b50282fe6f7b37ca1c92b8d2a0/packages/router/src/directives/router_link.ts#L457\n if (typeof cellView.columnConfig?.target === 'string' && cellView.columnConfig.target !== '_self') {\n return;\n }\n\n const href = cellView.cellRecord?.href;\n if (!href) {\n return;\n }\n\n if (this.navigationGuard && !this.navigationGuard(recordId)) {\n clickEvent.preventDefault();\n }\n }\n}\n","import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnAnchor, tableColumnAnchorTag } from '@ni/nimble-components/dist/esm/table-column/anchor';\nimport { AnchorAppearance } from '@ni/nimble-components/dist/esm/anchor/types';\nimport { BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective, mixinFractionalWidthColumnAPI, mixinGroupableColumnAPI } from '@ni/nimble-angular/table-column';\n\nexport type { TableColumnAnchor };\nexport { tableColumnAnchorTag };\nexport { AnchorAppearance };\n\n/**\n * Directive to provide Angular integration for the table column element for links.\n */\n@Directive({\n selector: 'nimble-table-column-anchor'\n})\nexport class NimbleTableColumnAnchorDirective extends mixinFractionalWidthColumnAPI(mixinGroupableColumnAPI(NimbleTableColumnBaseDirective<TableColumnAnchor>)) {\n public get labelFieldName(): string | undefined {\n return this.elementRef.nativeElement.labelFieldName;\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('label-field-name') public set labelFieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'labelFieldName', value);\n }\n\n public get hrefFieldName(): string | undefined {\n return this.elementRef.nativeElement.hrefFieldName;\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('href-field-name') public set hrefFieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'hrefFieldName', value);\n }\n\n public get appearance(): AnchorAppearance {\n return this.elementRef.nativeElement.appearance;\n }\n\n @Input() public set appearance(value: AnchorAppearance) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);\n }\n\n public get underlineHidden(): boolean {\n return this.elementRef.nativeElement.underlineHidden;\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('underline-hidden') public set underlineHidden(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'underlineHidden', toBooleanProperty(value));\n }\n\n public get hreflang(): string | undefined {\n return this.elementRef.nativeElement.hreflang;\n }\n\n @Input() public set hreflang(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'hreflang', value);\n }\n\n public get ping(): string | undefined {\n return this.elementRef.nativeElement.ping;\n }\n\n @Input() public set ping(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'ping', value);\n }\n\n public get referrerpolicy(): string | undefined {\n return this.elementRef.nativeElement.referrerpolicy;\n }\n\n @Input() public set referrerpolicy(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'referrerpolicy', value);\n }\n\n public get rel(): string | undefined {\n return this.elementRef.nativeElement.rel;\n }\n\n @Input() public set rel(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'rel', value);\n }\n\n public get target(): string | undefined {\n return this.elementRef.nativeElement.target;\n }\n\n @Input() public set target(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'target', value);\n }\n\n public get type(): string | undefined {\n return this.elementRef.nativeElement.type;\n }\n\n @Input() public set type(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'type', value);\n }\n\n public get download(): string | undefined {\n return this.elementRef.nativeElement.download;\n }\n\n @Input() public set download(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'download', value);\n }\n\n public constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnAnchor>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnAnchorDirective } from './nimble-table-column-anchor.directive';\nimport { NimbleTableColumnAnchorNavigationGuardDirective } from './nimble-table-column-anchor-navigation-guard.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/anchor';\n\n@NgModule({\n declarations: [NimbleTableColumnAnchorDirective, NimbleTableColumnAnchorNavigationGuardDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnAnchorDirective, NimbleTableColumnAnchorNavigationGuardDirective]\n})\nexport class NimbleTableColumnAnchorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAKA;;;;;;AAMG;MAIU,+CAA+C,CAAA;IAKhD,gBAAgB,CAAC,cAAqB,EAAE,QAA4B,EAAA;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A,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,6BAA6B,YAH5B,YAAY,CAAA,EAAA,CAAA,CAAA;2FAGb,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBALzC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,gCAAgC,EAAE,+CAA+C,CAAC;oBACjG,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE,CAAC,gCAAgC,EAAE,+CAA+C,CAAC;AAC/F,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-table-column-anchor.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/anchor/nimble-table-column-anchor-navigation-guard.directive.ts","../../../../projects/ni/nimble-angular/table-column/anchor/nimble-table-column-anchor.directive.ts","../../../../projects/ni/nimble-angular/table-column/anchor/nimble-table-column-anchor.module.ts","../../../../projects/ni/nimble-angular/table-column/anchor/ni-nimble-angular-table-column-anchor.ts"],"sourcesContent":["import { Directive, HostListener, Input } from '@angular/core';\nimport type { TableColumnAnchorCellView } from '@ni/nimble-components/dist/esm/table-column/anchor/cell-view';\n\nexport type NavigationGuard = (rowRecordId: string | undefined) => boolean;\n\n/**\n * Directive to allow client to intercept anchor clicks and do router navigation instead of\n * letting the default action handle the navigation. The client supplies a function which is\n * expected to build the proper url and call one of the router's navigation functions, passing\n * the url and any navigation options. If the router successfully navigated, the function should\n * return false to prevent the link's default click handler from also performing the navigation.\n */\n@Directive({\n selector: 'nimble-table-column-anchor[navigationGuard]'\n})\nexport class NimbleTableColumnAnchorNavigationGuardDirective {\n @Input()\n public navigationGuard?: NavigationGuard;\n\n @HostListener('delegated-event', ['$event.detail.originalEvent', '$event.detail.recordId'])\n private onDelegatedEvent(delegatedEvent: Event, recordId: string | undefined): void {\n if (delegatedEvent.type !== 'click') {\n return;\n }\n\n const clickEvent = delegatedEvent as MouseEvent;\n // Only call the navigationGuard for plain left clicks.\n // Those are the only ones that should potentially use the router.\n // Based on: https://github.com/angular/angular/blob/35a3fde5b71ef3b50282fe6f7b37ca1c92b8d2a0/packages/router/src/directives/router_link.ts#L453\n if (clickEvent.button !== 0 || clickEvent.ctrlKey || clickEvent.shiftKey || clickEvent.altKey || clickEvent.metaKey) {\n return;\n }\n\n const cellView = delegatedEvent.target as TableColumnAnchorCellView;\n // Based on: https://github.com/angular/angular/blob/35a3fde5b71ef3b50282fe6f7b37ca1c92b8d2a0/packages/router/src/directives/router_link.ts#L457\n if (typeof cellView.columnConfig?.target === 'string' && cellView.columnConfig.target !== '_self') {\n return;\n }\n\n const href = cellView.cellRecord?.href;\n if (!href) {\n return;\n }\n\n if (this.navigationGuard && !this.navigationGuard(recordId)) {\n clickEvent.preventDefault();\n }\n }\n}\n","import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnAnchor, tableColumnAnchorTag } from '@ni/nimble-components/dist/esm/table-column/anchor';\nimport { AnchorAppearance } from '@ni/nimble-components/dist/esm/anchor/types';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\n\nexport type { TableColumnAnchor };\nexport { tableColumnAnchorTag };\nexport { AnchorAppearance };\n\n/**\n * Directive to provide Angular integration for the table column element for links.\n */\n@Directive({\n selector: 'nimble-table-column-anchor'\n})\nexport class NimbleTableColumnAnchorDirective extends NimbleTableColumnBaseDirective<TableColumnAnchor> {\n public get labelFieldName(): string | undefined {\n return this.elementRef.nativeElement.labelFieldName;\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('label-field-name') public set labelFieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'labelFieldName', value);\n }\n\n public get hrefFieldName(): string | undefined {\n return this.elementRef.nativeElement.hrefFieldName;\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('href-field-name') public set hrefFieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'hrefFieldName', value);\n }\n\n public get appearance(): AnchorAppearance {\n return this.elementRef.nativeElement.appearance;\n }\n\n @Input() public set appearance(value: AnchorAppearance) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);\n }\n\n public get underlineHidden(): boolean {\n return this.elementRef.nativeElement.underlineHidden;\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('underline-hidden') public set underlineHidden(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'underlineHidden', toBooleanProperty(value));\n }\n\n public get hreflang(): string | undefined {\n return this.elementRef.nativeElement.hreflang;\n }\n\n @Input() public set hreflang(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'hreflang', value);\n }\n\n public get ping(): string | undefined {\n return this.elementRef.nativeElement.ping;\n }\n\n @Input() public set ping(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'ping', value);\n }\n\n public get referrerpolicy(): string | undefined {\n return this.elementRef.nativeElement.referrerpolicy;\n }\n\n @Input() public set referrerpolicy(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'referrerpolicy', value);\n }\n\n public get rel(): string | undefined {\n return this.elementRef.nativeElement.rel;\n }\n\n @Input() public set rel(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'rel', value);\n }\n\n public get target(): string | undefined {\n return this.elementRef.nativeElement.target;\n }\n\n @Input() public set target(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'target', value);\n }\n\n public get type(): string | undefined {\n return this.elementRef.nativeElement.type;\n }\n\n @Input() public set type(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'type', value);\n }\n\n public get download(): string | undefined {\n return this.elementRef.nativeElement.download;\n }\n\n @Input() public set download(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'download', 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<TableColumnAnchor>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnAnchorDirective } from './nimble-table-column-anchor.directive';\nimport { NimbleTableColumnAnchorNavigationGuardDirective } from './nimble-table-column-anchor-navigation-guard.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/anchor';\n\n@NgModule({\n declarations: [NimbleTableColumnAnchorDirective, NimbleTableColumnAnchorNavigationGuardDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnAnchorDirective, NimbleTableColumnAnchorNavigationGuardDirective]\n})\nexport class NimbleTableColumnAnchorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAKA;;;;;;AAMG;MAIU,+CAA+C,CAAA;IAKhD,gBAAgB,CAAC,cAAqB,EAAE,QAA4B,EAAA;AACxE,QAAA,IAAI,cAAc,CAAC,IAAI,KAAK,OAAO,EAAE;YACjC,OAAO;AACV,SAAA;QAED,MAAM,UAAU,GAAG,cAA4B,CAAC;;;;QAIhD,IAAI,UAAU,CAAC,MAAM,KAAK,CAAC,IAAI,UAAU,CAAC,OAAO,IAAI,UAAU,CAAC,QAAQ,IAAI,UAAU,CAAC,MAAM,IAAI,UAAU,CAAC,OAAO,EAAE;YACjH,OAAO;AACV,SAAA;AAED,QAAA,MAAM,QAAQ,GAAG,cAAc,CAAC,MAAmC,CAAC;;AAEpE,QAAA,IAAI,OAAO,QAAQ,CAAC,YAAY,EAAE,MAAM,KAAK,QAAQ,IAAI,QAAQ,CAAC,YAAY,CAAC,MAAM,KAAK,OAAO,EAAE;YAC/F,OAAO;AACV,SAAA;AAED,QAAA,MAAM,IAAI,GAAG,QAAQ,CAAC,UAAU,EAAE,IAAI,CAAC;QACvC,IAAI,CAAC,IAAI,EAAE;YACP,OAAO;AACV,SAAA;QAED,IAAI,IAAI,CAAC,eAAe,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE;YACzD,UAAU,CAAC,cAAc,EAAE,CAAC;AAC/B,SAAA;KACJ;;4IAhCQ,+CAA+C,EAAA,IAAA,EAAA,EAAA,EAAA,M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core';
|
|
2
2
|
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
3
|
export { tableColumnDateTextTag } from '@ni/nimble-components/dist/esm/table-column/date-text';
|
|
4
|
-
import {
|
|
4
|
+
import { toNullableNumberProperty, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
5
|
+
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
5
6
|
export { DateTextFormat } from '@ni/nimble-components/dist/esm/table-column/date-text/types';
|
|
6
7
|
import { CommonModule } from '@angular/common';
|
|
7
8
|
import '@ni/nimble-components/dist/esm/table-column/text';
|
|
@@ -9,7 +10,7 @@ import '@ni/nimble-components/dist/esm/table-column/text';
|
|
|
9
10
|
/**
|
|
10
11
|
* Directive to provide Angular integration for the table column element for date text.
|
|
11
12
|
*/
|
|
12
|
-
class NimbleTableColumnDateTextDirective extends
|
|
13
|
+
class NimbleTableColumnDateTextDirective extends NimbleTableColumnBaseDirective {
|
|
13
14
|
constructor(renderer, elementRef) {
|
|
14
15
|
super(renderer, elementRef);
|
|
15
16
|
}
|
|
@@ -189,9 +190,41 @@ class NimbleTableColumnDateTextDirective extends mixinFractionalWidthColumnAPI(m
|
|
|
189
190
|
set customHourCycle(value) {
|
|
190
191
|
this.renderer.setProperty(this.elementRef.nativeElement, 'customHourCycle', value);
|
|
191
192
|
}
|
|
193
|
+
get fractionalWidth() {
|
|
194
|
+
return this.elementRef.nativeElement.fractionalWidth;
|
|
195
|
+
}
|
|
196
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
197
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
198
|
+
set fractionalWidth(value) {
|
|
199
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
200
|
+
}
|
|
201
|
+
get minPixelWidth() {
|
|
202
|
+
return this.elementRef.nativeElement.minPixelWidth;
|
|
203
|
+
}
|
|
204
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
205
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
206
|
+
set minPixelWidth(value) {
|
|
207
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
208
|
+
}
|
|
209
|
+
get groupIndex() {
|
|
210
|
+
return this.elementRef.nativeElement.groupIndex;
|
|
211
|
+
}
|
|
212
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
213
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
214
|
+
set groupIndex(value) {
|
|
215
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
216
|
+
}
|
|
217
|
+
get groupingDisabled() {
|
|
218
|
+
return this.elementRef.nativeElement.groupingDisabled;
|
|
219
|
+
}
|
|
220
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
221
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
222
|
+
set groupingDisabled(value) {
|
|
223
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
224
|
+
}
|
|
192
225
|
}
|
|
193
226
|
NimbleTableColumnDateTextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnDateTextDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
194
|
-
NimbleTableColumnDateTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnDateTextDirective, selector: "nimble-table-column-date-text", inputs: { fieldName: ["field-name", "fieldName"], format: "format", customLocaleMatcher: ["custom-locale-matcher", "customLocaleMatcher"], customWeekday: ["custom-weekday", "customWeekday"], customEra: ["custom-era", "customEra"], customYear: ["custom-year", "customYear"], customMonth: ["custom-month", "customMonth"], customDay: ["custom-day", "customDay"], customHour: ["custom-hour", "customHour"], customMinute: ["custom-minute", "customMinute"], customSecond: ["custom-second", "customSecond"], customTimeZoneName: ["custom-time-zone-name", "customTimeZoneName"], customFormatMatcher: ["custom-format-matcher", "customFormatMatcher"], customHour12: ["custom-hour12", "customHour12"], customTimeZone: ["custom-time-zone", "customTimeZone"], customCalendar: ["custom-calendar", "customCalendar"], customDayPeriod: ["custom-day-period", "customDayPeriod"], customNumberingSystem: ["custom-numbering-system", "customNumberingSystem"], customDateStyle: ["custom-date-style", "customDateStyle"], customTimeStyle: ["custom-time-style", "customTimeStyle"], customHourCycle: ["custom-hour-cycle", "customHourCycle"] }, usesInheritance: true, ngImport: i0 });
|
|
227
|
+
NimbleTableColumnDateTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnDateTextDirective, selector: "nimble-table-column-date-text", inputs: { fieldName: ["field-name", "fieldName"], format: "format", customLocaleMatcher: ["custom-locale-matcher", "customLocaleMatcher"], customWeekday: ["custom-weekday", "customWeekday"], customEra: ["custom-era", "customEra"], customYear: ["custom-year", "customYear"], customMonth: ["custom-month", "customMonth"], customDay: ["custom-day", "customDay"], customHour: ["custom-hour", "customHour"], customMinute: ["custom-minute", "customMinute"], customSecond: ["custom-second", "customSecond"], customTimeZoneName: ["custom-time-zone-name", "customTimeZoneName"], customFormatMatcher: ["custom-format-matcher", "customFormatMatcher"], customHour12: ["custom-hour12", "customHour12"], customTimeZone: ["custom-time-zone", "customTimeZone"], customCalendar: ["custom-calendar", "customCalendar"], customDayPeriod: ["custom-day-period", "customDayPeriod"], customNumberingSystem: ["custom-numbering-system", "customNumberingSystem"], customDateStyle: ["custom-date-style", "customDateStyle"], customTimeStyle: ["custom-time-style", "customTimeStyle"], customHourCycle: ["custom-hour-cycle", "customHourCycle"], fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"] }, usesInheritance: true, ngImport: i0 });
|
|
195
228
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnDateTextDirective, decorators: [{
|
|
196
229
|
type: Directive,
|
|
197
230
|
args: [{
|
|
@@ -259,6 +292,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
259
292
|
}], customHourCycle: [{
|
|
260
293
|
type: Input,
|
|
261
294
|
args: ['custom-hour-cycle']
|
|
295
|
+
}], fractionalWidth: [{
|
|
296
|
+
type: Input,
|
|
297
|
+
args: ['fractional-width']
|
|
298
|
+
}], minPixelWidth: [{
|
|
299
|
+
type: Input,
|
|
300
|
+
args: ['min-pixel-width']
|
|
301
|
+
}], groupIndex: [{
|
|
302
|
+
type: Input,
|
|
303
|
+
args: ['group-index']
|
|
304
|
+
}], groupingDisabled: [{
|
|
305
|
+
type: Input,
|
|
306
|
+
args: ['grouping-disabled']
|
|
262
307
|
}] } });
|
|
263
308
|
|
|
264
309
|
class NimbleTableColumnDateTextModule {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-table-column-date-text.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/date-text/nimble-table-column-date-text.directive.ts","../../../../projects/ni/nimble-angular/table-column/date-text/nimble-table-column-date-text.module.ts","../../../../projects/ni/nimble-angular/table-column/date-text/ni-nimble-angular-table-column-date-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnDateText, tableColumnDateTextTag } from '@ni/nimble-components/dist/esm/table-column/date-text';\nimport { NimbleTableColumnBaseDirective, mixinFractionalWidthColumnAPI, mixinGroupableColumnAPI } from '@ni/nimble-angular/table-column';\nimport {\n DateTextFormat,\n DateStyle,\n DayFormat,\n DayPeriodFormat,\n EraFormat,\n FormatMatcherAlgorithm,\n HourCycleFormat,\n HourFormat,\n LocaleMatcherAlgorithm,\n MinuteFormat,\n MonthFormat,\n SecondFormat,\n TimeStyle,\n TimeZoneNameFormat,\n WeekdayFormat,\n YearFormat\n} from '@ni/nimble-components/dist/esm/table-column/date-text/types';\n\nexport type { TableColumnDateText };\nexport { DateStyle };\nexport { DateTextFormat };\nexport { DayFormat };\nexport { DayPeriodFormat };\nexport { EraFormat };\nexport { FormatMatcherAlgorithm };\nexport { HourCycleFormat };\nexport { HourFormat };\nexport { LocaleMatcherAlgorithm };\nexport { MinuteFormat };\nexport { MonthFormat };\nexport { SecondFormat };\nexport { TimeStyle };\nexport { TimeZoneNameFormat };\nexport { WeekdayFormat };\nexport { YearFormat };\nexport { tableColumnDateTextTag };\n\n/**\n * Directive to provide Angular integration for the table column element for date text.\n */\n@Directive({\n selector: 'nimble-table-column-date-text'\n})\nexport class NimbleTableColumnDateTextDirective extends mixinFractionalWidthColumnAPI(mixinGroupableColumnAPI(NimbleTableColumnBaseDirective<TableColumnDateText>)) {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get format(): DateTextFormat {\n return this.elementRef.nativeElement.format;\n }\n\n @Input() public set format(value: DateTextFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'format', value);\n }\n\n public get customLocaleMatcher(): LocaleMatcherAlgorithm {\n return this.elementRef.nativeElement.customLocaleMatcher;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-locale-matcher') public set customLocaleMatcher(value: LocaleMatcherAlgorithm) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customLocaleMatcher', value);\n }\n\n public get customWeekday(): WeekdayFormat {\n return this.elementRef.nativeElement.customWeekday;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-weekday') public set customWeekday(value: WeekdayFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customWeekday', value);\n }\n\n public get customEra(): EraFormat {\n return this.elementRef.nativeElement.customEra;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-era') public set customEra(value: EraFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customEra', value);\n }\n\n public get customYear(): YearFormat {\n return this.elementRef.nativeElement.customYear;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-year') public set customYear(value: YearFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customYear', value);\n }\n\n public get customMonth(): MonthFormat {\n return this.elementRef.nativeElement.customMonth;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-month') public set customMonth(value: MonthFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customMonth', value);\n }\n\n public get customDay(): DayFormat {\n return this.elementRef.nativeElement.customDay;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-day') public set customDay(value: DayFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customDay', value);\n }\n\n public get customHour(): HourFormat {\n return this.elementRef.nativeElement.customHour;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-hour') public set customHour(value: HourFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customHour', value);\n }\n\n public get customMinute(): MinuteFormat {\n return this.elementRef.nativeElement.customMinute;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-minute') public set customMinute(value: MinuteFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customMinute', value);\n }\n\n public get customSecond(): SecondFormat {\n return this.elementRef.nativeElement.customSecond;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-second') public set customSecond(value: SecondFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customSecond', value);\n }\n\n public get customTimeZoneName(): TimeZoneNameFormat {\n return this.elementRef.nativeElement.customTimeZoneName;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-time-zone-name') public set customTimeZoneName(value: TimeZoneNameFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeZoneName', value);\n }\n\n public get customFormatMatcher(): FormatMatcherAlgorithm {\n return this.elementRef.nativeElement.customFormatMatcher;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-format-matcher') public set customFormatMatcher(value: FormatMatcherAlgorithm) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customFormatMatcher', value);\n }\n\n public get customHour12(): boolean | undefined {\n return this.elementRef.nativeElement.customHour12;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-hour12') public set customHour12(value: boolean | 'true' | 'false' | undefined) {\n let convertedValue;\n if (typeof value === 'boolean') {\n convertedValue = value;\n } else if (value === undefined) {\n convertedValue = undefined;\n } else {\n convertedValue = value === 'true';\n }\n this.renderer.setProperty(this.elementRef.nativeElement, 'customHour12', convertedValue);\n }\n\n public get customTimeZone(): string | undefined {\n return this.elementRef.nativeElement.customTimeZone;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-time-zone') public set customTimeZone(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeZone', value);\n }\n\n public get customCalendar(): string | undefined {\n return this.elementRef.nativeElement.customCalendar;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-calendar') public set customCalendar(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customCalendar', value);\n }\n\n public get customDayPeriod(): DayPeriodFormat {\n return this.elementRef.nativeElement.customDayPeriod;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-day-period') public set customDayPeriod(value: DayPeriodFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customDayPeriod', value);\n }\n\n public get customNumberingSystem(): string | undefined {\n return this.elementRef.nativeElement.customNumberingSystem;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-numbering-system') public set customNumberingSystem(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customNumberingSystem', value);\n }\n\n public get customDateStyle(): DateStyle {\n return this.elementRef.nativeElement.customDateStyle;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-date-style') public set customDateStyle(value: DateStyle) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customDateStyle', value);\n }\n\n public get customTimeStyle(): TimeStyle {\n return this.elementRef.nativeElement.customTimeStyle;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-time-style') public set customTimeStyle(value: TimeStyle) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeStyle', value);\n }\n\n public get customHourCycle(): HourCycleFormat {\n return this.elementRef.nativeElement.customHourCycle;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-hour-cycle') public set customHourCycle(value: HourCycleFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customHourCycle', value);\n }\n\n public constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnDateText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnDateTextDirective } from './nimble-table-column-date-text.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/text';\n\n@NgModule({\n declarations: [NimbleTableColumnDateTextDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnDateTextDirective]\n})\nexport class NimbleTableColumnDateTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAyCA;;AAEG;AAIG,MAAO,kCAAmC,SAAQ,6BAA6B,CAAC,uBAAuB,EAAC,8BAAmD,EAAC,CAAC,CAAA;IAyN/J,WAAmB,CAAA,QAAmB,EAAE,UAA2C,EAAA;AAC/E,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;KAC/B;AA1ND,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;KAClD;;;IAID,IAAgC,SAAS,CAAC,KAAyB,EAAA;AAC/D,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;KAChF;AAED,IAAA,IAAW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC;KAC/C;IAED,IAAoB,MAAM,CAAC,KAAqB,EAAA;AAC5C,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;KAC7E;AAED,IAAA,IAAW,mBAAmB,GAAA;AAC1B,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,mBAAmB,CAAC;KAC5D;;;IAID,IAA2C,mBAAmB,CAAC,KAA6B,EAAA;AACxF,QAAA,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C,CAAC;oBAClD,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,kCAAkC,CAAC;AAChD,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-table-column-date-text.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/date-text/nimble-table-column-date-text.directive.ts","../../../../projects/ni/nimble-angular/table-column/date-text/nimble-table-column-date-text.module.ts","../../../../projects/ni/nimble-angular/table-column/date-text/ni-nimble-angular-table-column-date-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnDateText, tableColumnDateTextTag } from '@ni/nimble-components/dist/esm/table-column/date-text';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\nimport {\n DateTextFormat,\n DateStyle,\n DayFormat,\n DayPeriodFormat,\n EraFormat,\n FormatMatcherAlgorithm,\n HourCycleFormat,\n HourFormat,\n LocaleMatcherAlgorithm,\n MinuteFormat,\n MonthFormat,\n SecondFormat,\n TimeStyle,\n TimeZoneNameFormat,\n WeekdayFormat,\n YearFormat\n} from '@ni/nimble-components/dist/esm/table-column/date-text/types';\n\nexport type { TableColumnDateText };\nexport { DateStyle };\nexport { DateTextFormat };\nexport { DayFormat };\nexport { DayPeriodFormat };\nexport { EraFormat };\nexport { FormatMatcherAlgorithm };\nexport { HourCycleFormat };\nexport { HourFormat };\nexport { LocaleMatcherAlgorithm };\nexport { MinuteFormat };\nexport { MonthFormat };\nexport { SecondFormat };\nexport { TimeStyle };\nexport { TimeZoneNameFormat };\nexport { WeekdayFormat };\nexport { YearFormat };\nexport { tableColumnDateTextTag };\n\n/**\n * Directive to provide Angular integration for the table column element for date text.\n */\n@Directive({\n selector: 'nimble-table-column-date-text'\n})\nexport class NimbleTableColumnDateTextDirective extends NimbleTableColumnBaseDirective<TableColumnDateText> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get format(): DateTextFormat {\n return this.elementRef.nativeElement.format;\n }\n\n @Input() public set format(value: DateTextFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'format', value);\n }\n\n public get customLocaleMatcher(): LocaleMatcherAlgorithm {\n return this.elementRef.nativeElement.customLocaleMatcher;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-locale-matcher') public set customLocaleMatcher(value: LocaleMatcherAlgorithm) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customLocaleMatcher', value);\n }\n\n public get customWeekday(): WeekdayFormat {\n return this.elementRef.nativeElement.customWeekday;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-weekday') public set customWeekday(value: WeekdayFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customWeekday', value);\n }\n\n public get customEra(): EraFormat {\n return this.elementRef.nativeElement.customEra;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-era') public set customEra(value: EraFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customEra', value);\n }\n\n public get customYear(): YearFormat {\n return this.elementRef.nativeElement.customYear;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-year') public set customYear(value: YearFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customYear', value);\n }\n\n public get customMonth(): MonthFormat {\n return this.elementRef.nativeElement.customMonth;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-month') public set customMonth(value: MonthFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customMonth', value);\n }\n\n public get customDay(): DayFormat {\n return this.elementRef.nativeElement.customDay;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-day') public set customDay(value: DayFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customDay', value);\n }\n\n public get customHour(): HourFormat {\n return this.elementRef.nativeElement.customHour;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-hour') public set customHour(value: HourFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customHour', value);\n }\n\n public get customMinute(): MinuteFormat {\n return this.elementRef.nativeElement.customMinute;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-minute') public set customMinute(value: MinuteFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customMinute', value);\n }\n\n public get customSecond(): SecondFormat {\n return this.elementRef.nativeElement.customSecond;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-second') public set customSecond(value: SecondFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customSecond', value);\n }\n\n public get customTimeZoneName(): TimeZoneNameFormat {\n return this.elementRef.nativeElement.customTimeZoneName;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-time-zone-name') public set customTimeZoneName(value: TimeZoneNameFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeZoneName', value);\n }\n\n public get customFormatMatcher(): FormatMatcherAlgorithm {\n return this.elementRef.nativeElement.customFormatMatcher;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-format-matcher') public set customFormatMatcher(value: FormatMatcherAlgorithm) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customFormatMatcher', value);\n }\n\n public get customHour12(): boolean | undefined {\n return this.elementRef.nativeElement.customHour12;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-hour12') public set customHour12(value: boolean | 'true' | 'false' | undefined) {\n let convertedValue;\n if (typeof value === 'boolean') {\n convertedValue = value;\n } else if (value === undefined) {\n convertedValue = undefined;\n } else {\n convertedValue = value === 'true';\n }\n this.renderer.setProperty(this.elementRef.nativeElement, 'customHour12', convertedValue);\n }\n\n public get customTimeZone(): string | undefined {\n return this.elementRef.nativeElement.customTimeZone;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-time-zone') public set customTimeZone(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeZone', value);\n }\n\n public get customCalendar(): string | undefined {\n return this.elementRef.nativeElement.customCalendar;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-calendar') public set customCalendar(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customCalendar', value);\n }\n\n public get customDayPeriod(): DayPeriodFormat {\n return this.elementRef.nativeElement.customDayPeriod;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-day-period') public set customDayPeriod(value: DayPeriodFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customDayPeriod', value);\n }\n\n public get customNumberingSystem(): string | undefined {\n return this.elementRef.nativeElement.customNumberingSystem;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-numbering-system') public set customNumberingSystem(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customNumberingSystem', value);\n }\n\n public get customDateStyle(): DateStyle {\n return this.elementRef.nativeElement.customDateStyle;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-date-style') public set customDateStyle(value: DateStyle) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customDateStyle', value);\n }\n\n public get customTimeStyle(): TimeStyle {\n return this.elementRef.nativeElement.customTimeStyle;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-time-style') public set customTimeStyle(value: TimeStyle) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customTimeStyle', value);\n }\n\n public get customHourCycle(): HourCycleFormat {\n return this.elementRef.nativeElement.customHourCycle;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('custom-hour-cycle') public set customHourCycle(value: HourCycleFormat) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'customHourCycle', value);\n }\n\n public get fractionalWidth(): number | null | undefined {\n return this.elementRef.nativeElement.fractionalWidth;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('fractional-width') public set fractionalWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));\n }\n\n public get minPixelWidth(): number | null | undefined {\n return this.elementRef.nativeElement.minPixelWidth;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('min-pixel-width') public set minPixelWidth(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));\n }\n\n public get groupIndex(): number | null | undefined {\n return this.elementRef.nativeElement.groupIndex;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('group-index') public set groupIndex(value: NumberValueOrAttribute | null | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));\n }\n\n public get groupingDisabled(): boolean {\n return this.elementRef.nativeElement.groupingDisabled;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('grouping-disabled') public set groupingDisabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));\n }\n\n public constructor(renderer: Renderer2, elementRef: ElementRef<TableColumnDateText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnDateTextDirective } from './nimble-table-column-date-text.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/text';\n\n@NgModule({\n declarations: [NimbleTableColumnDateTextDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnDateTextDirective]\n})\nexport class NimbleTableColumnDateTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AA0CA;;AAEG;AAIG,MAAO,kCAAmC,SAAQ,8BAAmD,CAAA;IAiQvG,WAAmB,CAAA,QAAmB,EAAE,UAA2C,EAAA;AAC/E,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;KAC/B;AAlQD,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;KAClD;;;IAID,IAAgC,SAAS,CAAC,KAAyB,EAAA;AAC/D,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;KAChF;AAED,IAAA,IAAW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM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B,+BAA+B,CAAA;;4HAA/B,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA/B,+BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,EAJzB,YAAA,EAAA,CAAA,kCAAkC,CACvC,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,kCAAkC,CAAA,EAAA,CAAA,CAAA;AAEnC,+BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,YAH9B,YAAY,CAAA,EAAA,CAAA,CAAA;2FAGb,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAL3C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,kCAAkC,CAAC;oBAClD,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,kCAAkC,CAAC;AAChD,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
3
|
export { tableColumnEnumTextTag } from '@ni/nimble-components/dist/esm/table-column/enum-text';
|
|
4
|
-
import {
|
|
4
|
+
import { toNullableNumberProperty, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
5
|
+
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
5
6
|
export { MappingKeyType } from '@ni/nimble-components/dist/esm/table-column/enum-base/types';
|
|
6
7
|
import { CommonModule } from '@angular/common';
|
|
7
8
|
import '@ni/nimble-components/dist/esm/table-column/text';
|
|
@@ -9,7 +10,7 @@ import '@ni/nimble-components/dist/esm/table-column/text';
|
|
|
9
10
|
/**
|
|
10
11
|
* Directive to provide Angular integration for the table column element for enum text.
|
|
11
12
|
*/
|
|
12
|
-
class NimbleTableColumnEnumTextDirective extends
|
|
13
|
+
class NimbleTableColumnEnumTextDirective extends NimbleTableColumnBaseDirective {
|
|
13
14
|
constructor(renderer, elementRef) {
|
|
14
15
|
super(renderer, elementRef);
|
|
15
16
|
}
|
|
@@ -29,9 +30,41 @@ class NimbleTableColumnEnumTextDirective extends mixinFractionalWidthColumnAPI(m
|
|
|
29
30
|
set keyType(value) {
|
|
30
31
|
this.renderer.setProperty(this.elementRef.nativeElement, 'keyType', value);
|
|
31
32
|
}
|
|
33
|
+
get fractionalWidth() {
|
|
34
|
+
return this.elementRef.nativeElement.fractionalWidth;
|
|
35
|
+
}
|
|
36
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
37
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
38
|
+
set fractionalWidth(value) {
|
|
39
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
40
|
+
}
|
|
41
|
+
get minPixelWidth() {
|
|
42
|
+
return this.elementRef.nativeElement.minPixelWidth;
|
|
43
|
+
}
|
|
44
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
45
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
46
|
+
set minPixelWidth(value) {
|
|
47
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
48
|
+
}
|
|
49
|
+
get groupIndex() {
|
|
50
|
+
return this.elementRef.nativeElement.groupIndex;
|
|
51
|
+
}
|
|
52
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
53
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
54
|
+
set groupIndex(value) {
|
|
55
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
56
|
+
}
|
|
57
|
+
get groupingDisabled() {
|
|
58
|
+
return this.elementRef.nativeElement.groupingDisabled;
|
|
59
|
+
}
|
|
60
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
61
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
62
|
+
set groupingDisabled(value) {
|
|
63
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
64
|
+
}
|
|
32
65
|
}
|
|
33
66
|
NimbleTableColumnEnumTextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnEnumTextDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
34
|
-
NimbleTableColumnEnumTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnEnumTextDirective, selector: "nimble-table-column-enum-text", inputs: { fieldName: ["field-name", "fieldName"], keyType: ["key-type", "keyType"] }, usesInheritance: true, ngImport: i0 });
|
|
67
|
+
NimbleTableColumnEnumTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnEnumTextDirective, selector: "nimble-table-column-enum-text", inputs: { fieldName: ["field-name", "fieldName"], keyType: ["key-type", "keyType"], fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"] }, usesInheritance: true, ngImport: i0 });
|
|
35
68
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnEnumTextDirective, decorators: [{
|
|
36
69
|
type: Directive,
|
|
37
70
|
args: [{
|
|
@@ -43,6 +76,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
43
76
|
}], keyType: [{
|
|
44
77
|
type: Input,
|
|
45
78
|
args: ['key-type']
|
|
79
|
+
}], fractionalWidth: [{
|
|
80
|
+
type: Input,
|
|
81
|
+
args: ['fractional-width']
|
|
82
|
+
}], minPixelWidth: [{
|
|
83
|
+
type: Input,
|
|
84
|
+
args: ['min-pixel-width']
|
|
85
|
+
}], groupIndex: [{
|
|
86
|
+
type: Input,
|
|
87
|
+
args: ['group-index']
|
|
88
|
+
}], groupingDisabled: [{
|
|
89
|
+
type: Input,
|
|
90
|
+
args: ['grouping-disabled']
|
|
46
91
|
}] } });
|
|
47
92
|
|
|
48
93
|
class NimbleTableColumnEnumTextModule {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-table-column-enum-text.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/enum-text/nimble-table-column-enum-text.directive.ts","../../../../projects/ni/nimble-angular/table-column/enum-text/nimble-table-column-enum-text.module.ts","../../../../projects/ni/nimble-angular/table-column/enum-text/ni-nimble-angular-table-column-enum-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnEnumText, tableColumnEnumTextTag } from '@ni/nimble-components/dist/esm/table-column/enum-text';\nimport {
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-table-column-enum-text.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/enum-text/nimble-table-column-enum-text.directive.ts","../../../../projects/ni/nimble-angular/table-column/enum-text/nimble-table-column-enum-text.module.ts","../../../../projects/ni/nimble-angular/table-column/enum-text/ni-nimble-angular-table-column-enum-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnEnumText, tableColumnEnumTextTag } from '@ni/nimble-components/dist/esm/table-column/enum-text';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\nimport { MappingKeyType } from '@ni/nimble-components/dist/esm/table-column/enum-base/types';\n\nexport { MappingKeyType };\nexport type { TableColumnEnumText };\nexport { tableColumnEnumTextTag };\n\n/**\n * Directive to provide Angular integration for the table column element for enum text.\n */\n@Directive({\n selector: 'nimble-table-column-enum-text'\n})\nexport class NimbleTableColumnEnumTextDirective extends NimbleTableColumnBaseDirective<TableColumnEnumText> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get keyType(): MappingKeyType {\n return this.elementRef.nativeElement.keyType;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('key-type') public set keyType(value: MappingKeyType) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'keyType', value);\n }\n\n public 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<TableColumnEnumText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnEnumTextDirective } from './nimble-table-column-enum-text.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/text';\n\n@NgModule({\n declarations: [NimbleTableColumnEnumTextDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnEnumTextDirective]\n})\nexport class NimbleTableColumnEnumTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAUA;;AAEG;AAIG,MAAO,kCAAmC,SAAQ,8BAAmD,CAAA;IA6DvG,WAAmB,CAAA,QAAmB,EAAE,UAA2C,EAAA;AAC/E,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;KAC/B;AA9DD,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;KAClD;;;IAID,IAAgC,SAAS,CAAC,KAAyB,EAAA;AAC/D,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;KAChF;AAED,IAAA,IAAW,OAAO,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UmB,gBAAgB,EAAA,CAAA;sBAAtD,KAAK;uBAAC,mBAAmB,CAAA;;;MC9DjB,+BAA+B,CAAA;;4HAA/B,+BAA+B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA/B,+BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,EAJzB,YAAA,EAAA,CAAA,kCAAkC,CACvC,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,kCAAkC,CAAA,EAAA,CAAA,CAAA;AAEnC,+BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,+BAA+B,YAH9B,YAAY,CAAA,EAAA,CAAA,CAAA;2FAGb,+BAA+B,EAAA,UAAA,EAAA,CAAA;kBAL3C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,kCAAkC,CAAC;oBAClD,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,kCAAkC,CAAC;AAChD,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
3
|
export { tableColumnIconTag } from '@ni/nimble-components/dist/esm/table-column/icon';
|
|
4
|
-
import {
|
|
4
|
+
import { toNullableNumberProperty, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
5
|
+
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
5
6
|
import { CommonModule } from '@angular/common';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Directive to provide Angular integration for the table column element for icons/spinners.
|
|
9
10
|
*/
|
|
10
|
-
class NimbleTableColumnIconDirective extends
|
|
11
|
+
class NimbleTableColumnIconDirective extends NimbleTableColumnBaseDirective {
|
|
11
12
|
constructor(renderer, elementRef) {
|
|
12
13
|
super(renderer, elementRef);
|
|
13
14
|
}
|
|
@@ -27,9 +28,41 @@ class NimbleTableColumnIconDirective extends mixinFractionalWidthColumnAPI(mixin
|
|
|
27
28
|
set keyType(value) {
|
|
28
29
|
this.renderer.setProperty(this.elementRef.nativeElement, 'keyType', value);
|
|
29
30
|
}
|
|
31
|
+
get fractionalWidth() {
|
|
32
|
+
return this.elementRef.nativeElement.fractionalWidth;
|
|
33
|
+
}
|
|
34
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
35
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
36
|
+
set fractionalWidth(value) {
|
|
37
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
38
|
+
}
|
|
39
|
+
get minPixelWidth() {
|
|
40
|
+
return this.elementRef.nativeElement.minPixelWidth;
|
|
41
|
+
}
|
|
42
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
43
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
44
|
+
set minPixelWidth(value) {
|
|
45
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
46
|
+
}
|
|
47
|
+
get groupIndex() {
|
|
48
|
+
return this.elementRef.nativeElement.groupIndex;
|
|
49
|
+
}
|
|
50
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
51
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
52
|
+
set groupIndex(value) {
|
|
53
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
54
|
+
}
|
|
55
|
+
get groupingDisabled() {
|
|
56
|
+
return this.elementRef.nativeElement.groupingDisabled;
|
|
57
|
+
}
|
|
58
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
59
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
60
|
+
set groupingDisabled(value) {
|
|
61
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
62
|
+
}
|
|
30
63
|
}
|
|
31
64
|
NimbleTableColumnIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnIconDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
32
|
-
NimbleTableColumnIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnIconDirective, selector: "nimble-table-column-icon", inputs: { fieldName: ["field-name", "fieldName"], keyType: ["key-type", "keyType"] }, usesInheritance: true, ngImport: i0 });
|
|
65
|
+
NimbleTableColumnIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleTableColumnIconDirective, selector: "nimble-table-column-icon", inputs: { fieldName: ["field-name", "fieldName"], keyType: ["key-type", "keyType"], fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"] }, usesInheritance: true, ngImport: i0 });
|
|
33
66
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleTableColumnIconDirective, decorators: [{
|
|
34
67
|
type: Directive,
|
|
35
68
|
args: [{
|
|
@@ -41,6 +74,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
41
74
|
}], keyType: [{
|
|
42
75
|
type: Input,
|
|
43
76
|
args: ['key-type']
|
|
77
|
+
}], fractionalWidth: [{
|
|
78
|
+
type: Input,
|
|
79
|
+
args: ['fractional-width']
|
|
80
|
+
}], minPixelWidth: [{
|
|
81
|
+
type: Input,
|
|
82
|
+
args: ['min-pixel-width']
|
|
83
|
+
}], groupIndex: [{
|
|
84
|
+
type: Input,
|
|
85
|
+
args: ['group-index']
|
|
86
|
+
}], groupingDisabled: [{
|
|
87
|
+
type: Input,
|
|
88
|
+
args: ['grouping-disabled']
|
|
44
89
|
}] } });
|
|
45
90
|
|
|
46
91
|
class NimbleTableColumnIconModule {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-table-column-icon.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/icon/nimble-table-column-icon.directive.ts","../../../../projects/ni/nimble-angular/table-column/icon/nimble-table-column-icon.module.ts","../../../../projects/ni/nimble-angular/table-column/icon/ni-nimble-angular-table-column-icon.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnIcon, tableColumnIconTag } from '@ni/nimble-components/dist/esm/table-column/icon';\nimport {
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-table-column-icon.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/icon/nimble-table-column-icon.directive.ts","../../../../projects/ni/nimble-angular/table-column/icon/nimble-table-column-icon.module.ts","../../../../projects/ni/nimble-angular/table-column/icon/ni-nimble-angular-table-column-icon.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type TableColumnIcon, tableColumnIconTag } from '@ni/nimble-components/dist/esm/table-column/icon';\nimport { BooleanValueOrAttribute, NumberValueOrAttribute, toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';\nimport type { MappingKeyType } from '@ni/nimble-components/dist/esm/table-column/enum-base/types';\n\nexport type { TableColumnIcon };\nexport { tableColumnIconTag };\n\n/**\n * Directive to provide Angular integration for the table column element for icons/spinners.\n */\n@Directive({\n selector: 'nimble-table-column-icon'\n})\nexport class NimbleTableColumnIconDirective extends NimbleTableColumnBaseDirective<TableColumnIcon> {\n public get fieldName(): string | undefined {\n return this.elementRef.nativeElement.fieldName;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('field-name') public set fieldName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);\n }\n\n public get keyType(): MappingKeyType {\n return this.elementRef.nativeElement.keyType;\n }\n\n // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\n @Input('key-type') public set keyType(value: MappingKeyType) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'keyType', value);\n }\n\n public 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<TableColumnIcon>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleTableColumnIconDirective } from './nimble-table-column-icon.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/icon';\n\n@NgModule({\n declarations: [NimbleTableColumnIconDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnIconDirective]\n})\nexport class NimbleTableColumnIconModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AASA;;AAEG;AAIG,MAAO,8BAA+B,SAAQ,8BAA+C,CAAA;IA6D/F,WAAmB,CAAA,QAAmB,EAAE,UAAuC,EAAA;AAC3E,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;KAC/B;AA9DD,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,CAAC;KAClD;;;IAID,IAAgC,SAAS,CAAC,KAAyB,EAAA;AAC/D,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;KAChF;AAED,IAAA,IAAW,OAAO,GAAA;AACd,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,OAAO,CAAC;KAChD;;;IAID,IAA8B,OAAO,CAAC,KAAqB,EAAA;AACvD,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,SAAS,EAAE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