@ni/nimble-angular 16.5.31 → 16.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/directives/anchor/nimble-anchor.directive.d.ts +1 -1
- package/directives/anchor-button/nimble-anchor-button.directive.d.ts +1 -1
- package/directives/anchor-menu-item/nimble-anchor-menu-item.directive.d.ts +1 -1
- package/directives/anchor-tab/nimble-anchor-tab.directive.d.ts +1 -1
- package/directives/anchor-tree-item/nimble-anchor-tree-item.directive.d.ts +1 -1
- package/directives/banner/nimble-banner.directive.d.ts +1 -1
- package/directives/button/nimble-button.directive.d.ts +1 -1
- package/directives/card-button/nimble-card-button.directive.d.ts +1 -1
- package/directives/checkbox/nimble-checkbox.directive.d.ts +1 -1
- package/directives/combobox/nimble-combobox.directive.d.ts +1 -1
- package/directives/dialog/nimble-dialog.directive.d.ts +1 -1
- package/directives/drawer/nimble-drawer.directive.d.ts +1 -1
- package/directives/list-option/nimble-combobox-list-option.directive.d.ts +1 -1
- package/directives/list-option/nimble-select-list-option.directive.d.ts +1 -1
- package/directives/menu-button/nimble-menu-button.directive.d.ts +1 -1
- package/directives/menu-item/nimble-menu-item.directive.d.ts +1 -1
- package/directives/number-field/nimble-number-field.directive.d.ts +1 -1
- package/directives/radio/nimble-radio.directive.d.ts +1 -1
- package/directives/radio-group/nimble-radio-group.directive.d.ts +1 -1
- package/directives/select/nimble-select.directive.d.ts +1 -1
- package/directives/switch/nimble-switch.directive.d.ts +1 -1
- package/directives/tab/nimble-tab.directive.d.ts +1 -1
- package/directives/text-area/nimble-text-area.directive.d.ts +1 -1
- package/directives/text-field/nimble-text-field.directive.d.ts +1 -1
- package/directives/toggle-button/nimble-toggle-button.directive.d.ts +1 -1
- package/directives/tooltip/nimble-tooltip.directive.d.ts +1 -1
- package/directives/tree-item/nimble-tree-item.directive.d.ts +1 -1
- package/esm2020/directives/anchor/nimble-anchor.directive.mjs +2 -2
- package/esm2020/directives/anchor-button/nimble-anchor-button.directive.mjs +2 -2
- package/esm2020/directives/anchor-menu-item/nimble-anchor-menu-item.directive.mjs +2 -2
- package/esm2020/directives/anchor-tab/nimble-anchor-tab.directive.mjs +2 -2
- package/esm2020/directives/anchor-tree-item/nimble-anchor-tree-item.directive.mjs +2 -2
- package/esm2020/directives/banner/nimble-banner.directive.mjs +2 -2
- package/esm2020/directives/button/nimble-button.directive.mjs +2 -2
- package/esm2020/directives/card-button/nimble-card-button.directive.mjs +2 -2
- package/esm2020/directives/checkbox/nimble-checkbox.directive.mjs +2 -2
- package/esm2020/directives/combobox/nimble-combobox.directive.mjs +2 -2
- package/esm2020/directives/dialog/nimble-dialog.directive.mjs +2 -2
- package/esm2020/directives/drawer/nimble-drawer.directive.mjs +2 -2
- package/esm2020/directives/list-option/nimble-combobox-list-option.directive.mjs +2 -2
- package/esm2020/directives/list-option/nimble-select-list-option.directive.mjs +2 -2
- package/esm2020/directives/menu-button/nimble-menu-button.directive.mjs +2 -2
- package/esm2020/directives/menu-item/nimble-menu-item.directive.mjs +2 -2
- package/esm2020/directives/number-field/nimble-number-field.directive.mjs +2 -2
- package/esm2020/directives/radio/nimble-radio.directive.mjs +2 -2
- package/esm2020/directives/radio-group/nimble-radio-group.directive.mjs +2 -2
- package/esm2020/directives/select/nimble-select.directive.mjs +2 -2
- package/esm2020/directives/switch/nimble-switch.directive.mjs +2 -2
- package/esm2020/directives/tab/nimble-tab.directive.mjs +2 -2
- package/esm2020/directives/text-area/nimble-text-area.directive.mjs +2 -2
- package/esm2020/directives/text-field/nimble-text-field.directive.mjs +2 -2
- package/esm2020/directives/toggle-button/nimble-toggle-button.directive.mjs +2 -2
- package/esm2020/directives/tooltip/nimble-tooltip.directive.mjs +2 -2
- package/esm2020/directives/tree-item/nimble-tree-item.directive.mjs +2 -2
- package/esm2020/internal-utilities/ni-nimble-angular-internal-utilities.mjs +5 -0
- package/esm2020/internal-utilities/public-api.mjs +2 -0
- package/esm2020/internal-utilities/template-value-helpers.mjs +47 -0
- package/esm2020/public-api.mjs +1 -9
- package/esm2020/table/ni-nimble-angular-table.mjs +5 -0
- package/esm2020/table/nimble-table.directive.mjs +76 -0
- package/esm2020/{directives/table → table}/nimble-table.module.mjs +1 -1
- package/esm2020/table/public-api.mjs +3 -0
- package/esm2020/table/testing/ni-nimble-angular-table-testing.mjs +5 -0
- package/esm2020/table/testing/public-api.mjs +2 -0
- package/esm2020/table/testing/table.pageobject.mjs +3 -0
- package/esm2020/table-column/anchor/ni-nimble-angular-table-column-anchor.mjs +5 -0
- package/esm2020/table-column/anchor/nimble-table-column-anchor-router-link-with-href.directive.mjs +41 -0
- package/esm2020/{directives/table-column → table-column}/anchor/nimble-table-column-anchor-router-link.directive.mjs +1 -1
- package/esm2020/table-column/anchor/nimble-table-column-anchor.directive.mjs +172 -0
- package/esm2020/table-column/anchor/nimble-table-column-anchor.module.mjs +21 -0
- package/esm2020/table-column/anchor/public-api.mjs +5 -0
- package/esm2020/table-column/ni-nimble-angular-table-column.mjs +5 -0
- package/esm2020/table-column/nimble-table-column-base.directive.mjs +86 -0
- package/esm2020/table-column/public-api.mjs +2 -0
- package/esm2020/table-column/text/ni-nimble-angular-table-column-text.mjs +5 -0
- package/esm2020/table-column/text/nimble-table-column-text.directive.mjs +82 -0
- package/esm2020/{directives/table-column → table-column}/text/nimble-table-column-text.module.mjs +1 -1
- package/esm2020/table-column/text/public-api.mjs +3 -0
- package/fesm2015/ni-nimble-angular-internal-utilities.mjs +53 -0
- package/fesm2015/ni-nimble-angular-internal-utilities.mjs.map +1 -0
- package/fesm2015/ni-nimble-angular-table-column-anchor.mjs +250 -0
- package/fesm2015/ni-nimble-angular-table-column-anchor.mjs.map +1 -0
- package/fesm2015/ni-nimble-angular-table-column-text.mjs +105 -0
- package/fesm2015/ni-nimble-angular-table-column-text.mjs.map +1 -0
- package/fesm2015/ni-nimble-angular-table-column.mjs +92 -0
- package/fesm2015/ni-nimble-angular-table-column.mjs.map +1 -0
- package/fesm2015/ni-nimble-angular-table-testing.mjs +6 -0
- package/fesm2015/ni-nimble-angular-table-testing.mjs.map +1 -0
- package/fesm2015/ni-nimble-angular-table.mjs +107 -0
- package/fesm2015/ni-nimble-angular-table.mjs.map +1 -0
- package/fesm2015/ni-nimble-angular.mjs +2 -555
- package/fesm2015/ni-nimble-angular.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-internal-utilities.mjs +53 -0
- package/fesm2020/ni-nimble-angular-internal-utilities.mjs.map +1 -0
- package/fesm2020/ni-nimble-angular-table-column-anchor.mjs +250 -0
- package/fesm2020/ni-nimble-angular-table-column-anchor.mjs.map +1 -0
- package/fesm2020/ni-nimble-angular-table-column-text.mjs +105 -0
- package/fesm2020/ni-nimble-angular-table-column-text.mjs.map +1 -0
- package/fesm2020/ni-nimble-angular-table-column.mjs +92 -0
- package/fesm2020/ni-nimble-angular-table-column.mjs.map +1 -0
- package/fesm2020/ni-nimble-angular-table-testing.mjs +6 -0
- package/fesm2020/ni-nimble-angular-table-testing.mjs.map +1 -0
- package/fesm2020/ni-nimble-angular-table.mjs +98 -0
- package/fesm2020/ni-nimble-angular-table.mjs.map +1 -0
- package/fesm2020/ni-nimble-angular.mjs +2 -547
- package/fesm2020/ni-nimble-angular.mjs.map +1 -1
- package/internal-utilities/index.d.ts +5 -0
- package/internal-utilities/public-api.d.ts +1 -0
- package/package.json +49 -1
- package/public-api.d.ts +0 -8
- package/table/index.d.ts +5 -0
- package/table/public-api.d.ts +2 -0
- package/table/testing/index.d.ts +5 -0
- package/table/testing/public-api.d.ts +1 -0
- package/table/testing/table.pageobject.d.ts +2 -0
- package/table-column/anchor/index.d.ts +5 -0
- package/{directives/table-column → table-column}/anchor/nimble-table-column-anchor.directive.d.ts +5 -5
- package/table-column/anchor/public-api.d.ts +4 -0
- package/table-column/index.d.ts +5 -0
- package/{directives/table-column/base → table-column}/nimble-table-column-base.directive.d.ts +1 -1
- package/table-column/public-api.d.ts +1 -0
- package/table-column/text/index.d.ts +5 -0
- package/{directives/table-column → table-column}/text/nimble-table-column-text.directive.d.ts +2 -2
- package/table-column/text/public-api.d.ts +2 -0
- package/esm2020/directives/table/nimble-table.directive.mjs +0 -76
- package/esm2020/directives/table-column/anchor/nimble-table-column-anchor-router-link-with-href.directive.mjs +0 -41
- package/esm2020/directives/table-column/anchor/nimble-table-column-anchor.directive.mjs +0 -170
- package/esm2020/directives/table-column/anchor/nimble-table-column-anchor.module.mjs +0 -21
- package/esm2020/directives/table-column/base/nimble-table-column-base.directive.mjs +0 -86
- package/esm2020/directives/table-column/text/nimble-table-column-text.directive.mjs +0 -82
- package/esm2020/directives/utilities/template-value-helpers.mjs +0 -47
- /package/{directives/utilities → internal-utilities}/template-value-helpers.d.ts +0 -0
- /package/{directives/table → table}/nimble-table.directive.d.ts +0 -0
- /package/{directives/table → table}/nimble-table.module.d.ts +0 -0
- /package/{directives/table-column → table-column}/anchor/nimble-table-column-anchor-router-link-with-href.directive.d.ts +0 -0
- /package/{directives/table-column → table-column}/anchor/nimble-table-column-anchor-router-link.directive.d.ts +0 -0
- /package/{directives/table-column → table-column}/anchor/nimble-table-column-anchor.module.d.ts +0 -0
- /package/{directives/table-column → table-column}/text/nimble-table-column-text.module.d.ts +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Conversion helpers for values coming from template attributes or property bindings
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Converts values from templates (empty string or null) or boolean bindings to a boolean property representation
|
|
6
|
+
*/
|
|
7
|
+
const toBooleanProperty = (value) => {
|
|
8
|
+
if (value === false || value === null) {
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
// For boolean attributes the empty string value is true
|
|
12
|
+
return true;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Converts values from templates (empty string or null) or boolean bindings to an Aria boolean
|
|
16
|
+
* attribute representation (the strings "true" or "false")
|
|
17
|
+
*/
|
|
18
|
+
const toBooleanAriaAttribute = (value) => {
|
|
19
|
+
if (value === false || value === null) {
|
|
20
|
+
return 'false';
|
|
21
|
+
}
|
|
22
|
+
// For boolean attributes the empty string value is true
|
|
23
|
+
return 'true';
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Converts values from templates (number representation as a string) or number bindings to a number property representation
|
|
27
|
+
*/
|
|
28
|
+
const toNumberProperty = (value) => {
|
|
29
|
+
// Angular: https://github.com/angular/angular/blob/2664bc2b3ef4ee5fd671f915828cfcc274a36c77/packages/forms/src/directives/number_value_accessor.ts#L67
|
|
30
|
+
// And Fast: https://github.com/microsoft/fast/blob/46bb6d9aab2c37105f4434db3795e176c2354a4f/packages/web-components/fast-element/src/components/attributes.ts#L100
|
|
31
|
+
// Handle numeric conversions from the view differently
|
|
32
|
+
// Since Number(val) https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-number-constructor-number-value
|
|
33
|
+
// and val * 1 https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-applystringornumericbinaryoperator
|
|
34
|
+
// Are identical (use ToNumeric algorithm), went with Number() for clarity
|
|
35
|
+
return Number(value);
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Converts values from templates (number representation as a string) or number bindings to a number property representation.
|
|
39
|
+
* The values of `null` and `undefined` are also supported, and they are not converted.
|
|
40
|
+
*/
|
|
41
|
+
const toNullableNumberProperty = (value) => {
|
|
42
|
+
if (value === undefined || value === null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return toNumberProperty(value);
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Generated bundle index. Do not edit.
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
export { toBooleanAriaAttribute, toBooleanProperty, toNullableNumberProperty, toNumberProperty };
|
|
53
|
+
//# sourceMappingURL=ni-nimble-angular-internal-utilities.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-internal-utilities.mjs","sources":["../../../../projects/ni/nimble-angular/internal-utilities/template-value-helpers.ts","../../../../projects/ni/nimble-angular/internal-utilities/ni-nimble-angular-internal-utilities.ts"],"sourcesContent":["/**\n * Conversion helpers for values coming from template attributes or property bindings\n */\n\n// Values assigned to directives can come from template attributes, ie <my-element my-number=\"4\"></my-element>\n// or from property bindings, ie <my-element [my-number]=\"someNumber\"></my-element>\n// So setters for our directives accept both string values from template attributes and\n// the expected property type. This file has helpers for common property types.\n// More context: https://v13.angular.io/guide/template-typecheck#input-setter-coercion\n\ntype BooleanAttribute = '' | null;\nexport type BooleanValueOrAttribute = boolean | BooleanAttribute;\nexport type NumberValueOrAttribute = number | string;\n\n/**\n * Converts values from templates (empty string or null) or boolean bindings to a boolean property representation\n */\nexport const toBooleanProperty = (value: BooleanValueOrAttribute): boolean => {\n if (value === false || value === null) {\n return false;\n }\n // For boolean attributes the empty string value is true\n return true;\n};\n\n/**\n * Converts values from templates (empty string or null) or boolean bindings to an Aria boolean\n * attribute representation (the strings \"true\" or \"false\")\n */\nexport const toBooleanAriaAttribute = (value: BooleanValueOrAttribute): 'true' | 'false' => {\n if (value === false || value === null) {\n return 'false';\n }\n // For boolean attributes the empty string value is true\n return 'true';\n};\n\n/**\n * Converts values from templates (number representation as a string) or number bindings to a number property representation\n */\nexport const toNumberProperty = (value: NumberValueOrAttribute): number => {\n // Angular: https://github.com/angular/angular/blob/2664bc2b3ef4ee5fd671f915828cfcc274a36c77/packages/forms/src/directives/number_value_accessor.ts#L67\n // And Fast: https://github.com/microsoft/fast/blob/46bb6d9aab2c37105f4434db3795e176c2354a4f/packages/web-components/fast-element/src/components/attributes.ts#L100\n // Handle numeric conversions from the view differently\n // Since Number(val) https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-number-constructor-number-value\n // and val * 1 https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-applystringornumericbinaryoperator\n // Are identical (use ToNumeric algorithm), went with Number() for clarity\n return Number(value);\n};\n\n/**\n * Converts values from templates (number representation as a string) or number bindings to a number property representation.\n * The values of `null` and `undefined` are also supported, and they are not converted.\n */\nexport const toNullableNumberProperty = (value: NumberValueOrAttribute | null | undefined): number | null | undefined => {\n if (value === undefined || value === null) {\n return value;\n }\n\n return toNumberProperty(value);\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAA;;AAEG;AAYH;;AAEG;AACU,MAAA,iBAAiB,GAAG,CAAC,KAA8B,KAAa;AACzE,IAAA,IAAI,KAAK,KAAK,KAAK,IAAI,KAAK,KAAK,IAAI,EAAE;AACnC,QAAA,OAAO,KAAK,CAAC;AAChB,KAAA;;AAED,IAAA,OAAO,IAAI,CAAC;AAChB,EAAE;AAEF;;;AAGG;AACU,MAAA,sBAAsB,GAAG,CAAC,KAA8B,KAAsB;AACvF,IAAA,IAAI,KAAK,KAAK,KAAK,IAAI,KAAK,KAAK,IAAI,EAAE;AACnC,QAAA,OAAO,OAAO,CAAC;AAClB,KAAA;;AAED,IAAA,OAAO,MAAM,CAAC;AAClB,EAAE;AAEF;;AAEG;AACU,MAAA,gBAAgB,GAAG,CAAC,KAA6B,KAAY;;;;;;;AAOtE,IAAA,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;AACzB,EAAE;AAEF;;;AAGG;AACU,MAAA,wBAAwB,GAAG,CAAC,KAAgD,KAA+B;AACpH,IAAA,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,EAAE;AACvC,QAAA,OAAO,KAAK,CAAC;AAChB,KAAA;AAED,IAAA,OAAO,gBAAgB,CAAC,KAAK,CAAC,CAAC;AACnC;;AC5DA;;AAEG;;;;"}
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, HostListener, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { RouterLinkWithHref } from '@angular/router';
|
|
4
|
+
export { AnchorAppearance } from '@ni/nimble-components/dist/esm/anchor/types';
|
|
5
|
+
import { toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';
|
|
6
|
+
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
7
|
+
import { CommonModule } from '@angular/common';
|
|
8
|
+
import '@ni/nimble-components/dist/esm/table-column/anchor';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Directive to handle nimble-table-column-anchor RouterLink support.
|
|
12
|
+
* Note: Clients need to use [nimbleRouterLink] instead of [routerLink], so that there
|
|
13
|
+
* won't also be an active RouterLink directive incorrectly handling navigation.
|
|
14
|
+
*/
|
|
15
|
+
class NimbleTableColumnAnchorRouterLinkWithHrefDirective extends RouterLinkWithHref {
|
|
16
|
+
set routerLink(_commands) {
|
|
17
|
+
throw new Error('Directly configuring the routerLink url is not supported. The router url is configured via the href-field-name of the column.');
|
|
18
|
+
}
|
|
19
|
+
onDelegatedEvent(delegatedEvent) {
|
|
20
|
+
if (delegatedEvent.type !== 'click') {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
const clickEvent = delegatedEvent;
|
|
24
|
+
const href = delegatedEvent.target.cellRecord.href;
|
|
25
|
+
if (!href) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
// Let the router handle this navigation
|
|
29
|
+
super.routerLink = href;
|
|
30
|
+
if (!this.onClick(clickEvent.button, clickEvent.ctrlKey, clickEvent.shiftKey, clickEvent.altKey, clickEvent.metaKey)) {
|
|
31
|
+
clickEvent.preventDefault();
|
|
32
|
+
}
|
|
33
|
+
super.routerLink = null;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
NimbleTableColumnAnchorRouterLinkWithHrefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnAnchorRouterLinkWithHrefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
37
|
+
NimbleTableColumnAnchorRouterLinkWithHrefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: NimbleTableColumnAnchorRouterLinkWithHrefDirective, selector: "nimble-table-column-anchor[nimbleRouterLink]", host: { listeners: { "delegated-event": "onDelegatedEvent($event.detail.originalEvent)" } }, usesInheritance: true, ngImport: i0 });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnAnchorRouterLinkWithHrefDirective, decorators: [{
|
|
39
|
+
type: Directive,
|
|
40
|
+
args: [{
|
|
41
|
+
selector: 'nimble-table-column-anchor[nimbleRouterLink]'
|
|
42
|
+
}]
|
|
43
|
+
}], propDecorators: { onDelegatedEvent: [{
|
|
44
|
+
type: HostListener,
|
|
45
|
+
args: ['delegated-event', ['$event.detail.originalEvent']]
|
|
46
|
+
}] } });
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Directive used solely to point consumers to use [nimbleRouterLink] / NimbleTableColumnAnchorRouterLinkWithHrefDirective.
|
|
50
|
+
*
|
|
51
|
+
* @see NimbleTableColumnAnchorRouterLinkWithHrefDirective
|
|
52
|
+
*/
|
|
53
|
+
class NimbleTableColumnAnchorRouterLinkDirective {
|
|
54
|
+
constructor() {
|
|
55
|
+
throw new Error('Use [nimbleRouterLink] instead of [routerLink].');
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
NimbleTableColumnAnchorRouterLinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnAnchorRouterLinkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
59
|
+
NimbleTableColumnAnchorRouterLinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: NimbleTableColumnAnchorRouterLinkDirective, selector: "nimble-table-column-anchor[routerLink]", ngImport: i0 });
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnAnchorRouterLinkDirective, decorators: [{
|
|
61
|
+
type: Directive,
|
|
62
|
+
args: [{ selector: 'nimble-table-column-anchor[routerLink]' }]
|
|
63
|
+
}], ctorParameters: function () { return []; } });
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Directive to provide Angular integration for the table column element for links.
|
|
67
|
+
*/
|
|
68
|
+
class NimbleTableColumnAnchorDirective extends NimbleTableColumnBaseDirective {
|
|
69
|
+
constructor(renderer, elementRef) {
|
|
70
|
+
super(renderer, elementRef);
|
|
71
|
+
}
|
|
72
|
+
get labelFieldName() {
|
|
73
|
+
return this.elementRef.nativeElement.labelFieldName;
|
|
74
|
+
}
|
|
75
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
76
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
77
|
+
set labelFieldName(value) {
|
|
78
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'labelFieldName', value);
|
|
79
|
+
}
|
|
80
|
+
get hrefFieldName() {
|
|
81
|
+
return this.elementRef.nativeElement.hrefFieldName;
|
|
82
|
+
}
|
|
83
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
84
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
85
|
+
set hrefFieldName(value) {
|
|
86
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'hrefFieldName', value);
|
|
87
|
+
}
|
|
88
|
+
get placeholder() {
|
|
89
|
+
return this.elementRef.nativeElement.placeholder;
|
|
90
|
+
}
|
|
91
|
+
set placeholder(value) {
|
|
92
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);
|
|
93
|
+
}
|
|
94
|
+
get appearance() {
|
|
95
|
+
return this.elementRef.nativeElement.appearance;
|
|
96
|
+
}
|
|
97
|
+
set appearance(value) {
|
|
98
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);
|
|
99
|
+
}
|
|
100
|
+
get underlineHidden() {
|
|
101
|
+
return this.elementRef.nativeElement.underlineHidden;
|
|
102
|
+
}
|
|
103
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
104
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
105
|
+
set underlineHidden(value) {
|
|
106
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'underlineHidden', toBooleanProperty(value));
|
|
107
|
+
}
|
|
108
|
+
get hreflang() {
|
|
109
|
+
return this.elementRef.nativeElement.hreflang;
|
|
110
|
+
}
|
|
111
|
+
set hreflang(value) {
|
|
112
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'hreflang', value);
|
|
113
|
+
}
|
|
114
|
+
get ping() {
|
|
115
|
+
return this.elementRef.nativeElement.ping;
|
|
116
|
+
}
|
|
117
|
+
set ping(value) {
|
|
118
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'ping', value);
|
|
119
|
+
}
|
|
120
|
+
get referrerpolicy() {
|
|
121
|
+
return this.elementRef.nativeElement.referrerpolicy;
|
|
122
|
+
}
|
|
123
|
+
set referrerpolicy(value) {
|
|
124
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'referrerpolicy', value);
|
|
125
|
+
}
|
|
126
|
+
get rel() {
|
|
127
|
+
return this.elementRef.nativeElement.rel;
|
|
128
|
+
}
|
|
129
|
+
set rel(value) {
|
|
130
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'rel', value);
|
|
131
|
+
}
|
|
132
|
+
get target() {
|
|
133
|
+
return this.elementRef.nativeElement.target;
|
|
134
|
+
}
|
|
135
|
+
set target(value) {
|
|
136
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'target', value);
|
|
137
|
+
}
|
|
138
|
+
get type() {
|
|
139
|
+
return this.elementRef.nativeElement.type;
|
|
140
|
+
}
|
|
141
|
+
set type(value) {
|
|
142
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'type', value);
|
|
143
|
+
}
|
|
144
|
+
get download() {
|
|
145
|
+
return this.elementRef.nativeElement.download;
|
|
146
|
+
}
|
|
147
|
+
set download(value) {
|
|
148
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'download', value);
|
|
149
|
+
}
|
|
150
|
+
get fractionalWidth() {
|
|
151
|
+
return this.elementRef.nativeElement.fractionalWidth;
|
|
152
|
+
}
|
|
153
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
154
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
155
|
+
set fractionalWidth(value) {
|
|
156
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
157
|
+
}
|
|
158
|
+
get minPixelWidth() {
|
|
159
|
+
return this.elementRef.nativeElement.minPixelWidth;
|
|
160
|
+
}
|
|
161
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
162
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
163
|
+
set minPixelWidth(value) {
|
|
164
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
165
|
+
}
|
|
166
|
+
get groupIndex() {
|
|
167
|
+
return this.elementRef.nativeElement.groupIndex;
|
|
168
|
+
}
|
|
169
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
170
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
171
|
+
set groupIndex(value) {
|
|
172
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
173
|
+
}
|
|
174
|
+
get groupingDisabled() {
|
|
175
|
+
return this.elementRef.nativeElement.groupingDisabled;
|
|
176
|
+
}
|
|
177
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
178
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
179
|
+
set groupingDisabled(value) {
|
|
180
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
NimbleTableColumnAnchorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnAnchorDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
184
|
+
NimbleTableColumnAnchorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: NimbleTableColumnAnchorDirective, selector: "nimble-table-column-anchor", inputs: { labelFieldName: ["label-field-name", "labelFieldName"], hrefFieldName: ["href-field-name", "hrefFieldName"], placeholder: "placeholder", 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 });
|
|
185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnAnchorDirective, decorators: [{
|
|
186
|
+
type: Directive,
|
|
187
|
+
args: [{
|
|
188
|
+
selector: 'nimble-table-column-anchor'
|
|
189
|
+
}]
|
|
190
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { labelFieldName: [{
|
|
191
|
+
type: Input,
|
|
192
|
+
args: ['label-field-name']
|
|
193
|
+
}], hrefFieldName: [{
|
|
194
|
+
type: Input,
|
|
195
|
+
args: ['href-field-name']
|
|
196
|
+
}], placeholder: [{
|
|
197
|
+
type: Input
|
|
198
|
+
}], appearance: [{
|
|
199
|
+
type: Input
|
|
200
|
+
}], underlineHidden: [{
|
|
201
|
+
type: Input,
|
|
202
|
+
args: ['underline-hidden']
|
|
203
|
+
}], hreflang: [{
|
|
204
|
+
type: Input
|
|
205
|
+
}], ping: [{
|
|
206
|
+
type: Input
|
|
207
|
+
}], referrerpolicy: [{
|
|
208
|
+
type: Input
|
|
209
|
+
}], rel: [{
|
|
210
|
+
type: Input
|
|
211
|
+
}], target: [{
|
|
212
|
+
type: Input
|
|
213
|
+
}], type: [{
|
|
214
|
+
type: Input
|
|
215
|
+
}], download: [{
|
|
216
|
+
type: Input
|
|
217
|
+
}], fractionalWidth: [{
|
|
218
|
+
type: Input,
|
|
219
|
+
args: ['fractional-width']
|
|
220
|
+
}], minPixelWidth: [{
|
|
221
|
+
type: Input,
|
|
222
|
+
args: ['min-pixel-width']
|
|
223
|
+
}], groupIndex: [{
|
|
224
|
+
type: Input,
|
|
225
|
+
args: ['group-index']
|
|
226
|
+
}], groupingDisabled: [{
|
|
227
|
+
type: Input,
|
|
228
|
+
args: ['grouping-disabled']
|
|
229
|
+
}] } });
|
|
230
|
+
|
|
231
|
+
class NimbleTableColumnAnchorModule {
|
|
232
|
+
}
|
|
233
|
+
NimbleTableColumnAnchorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnAnchorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
234
|
+
NimbleTableColumnAnchorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnAnchorModule, declarations: [NimbleTableColumnAnchorDirective, NimbleTableColumnAnchorRouterLinkDirective, NimbleTableColumnAnchorRouterLinkWithHrefDirective], imports: [CommonModule], exports: [NimbleTableColumnAnchorDirective, NimbleTableColumnAnchorRouterLinkDirective, NimbleTableColumnAnchorRouterLinkWithHrefDirective] });
|
|
235
|
+
NimbleTableColumnAnchorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnAnchorModule, imports: [CommonModule] });
|
|
236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnAnchorModule, decorators: [{
|
|
237
|
+
type: NgModule,
|
|
238
|
+
args: [{
|
|
239
|
+
declarations: [NimbleTableColumnAnchorDirective, NimbleTableColumnAnchorRouterLinkDirective, NimbleTableColumnAnchorRouterLinkWithHrefDirective],
|
|
240
|
+
imports: [CommonModule],
|
|
241
|
+
exports: [NimbleTableColumnAnchorDirective, NimbleTableColumnAnchorRouterLinkDirective, NimbleTableColumnAnchorRouterLinkWithHrefDirective]
|
|
242
|
+
}]
|
|
243
|
+
}] });
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Generated bundle index. Do not edit.
|
|
247
|
+
*/
|
|
248
|
+
|
|
249
|
+
export { NimbleTableColumnAnchorDirective, NimbleTableColumnAnchorModule, NimbleTableColumnAnchorRouterLinkDirective, NimbleTableColumnAnchorRouterLinkWithHrefDirective };
|
|
250
|
+
//# sourceMappingURL=ni-nimble-angular-table-column-anchor.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-table-column-anchor.mjs","sources":["../../../../projects/ni/nimble-angular/table-column/anchor/nimble-table-column-anchor-router-link-with-href.directive.ts","../../../../projects/ni/nimble-angular/table-column/anchor/nimble-table-column-anchor-router-link.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 } from '@angular/core';\nimport { RouterLinkWithHref } from '@angular/router';\nimport type { TableColumnAnchorCellView } from '@ni/nimble-components/dist/esm/table-column/anchor/cell-view';\n\n/**\n * Directive to handle nimble-table-column-anchor RouterLink support.\n * Note: Clients need to use [nimbleRouterLink] instead of [routerLink], so that there\n * won't also be an active RouterLink directive incorrectly handling navigation.\n */\n@Directive({\n selector: 'nimble-table-column-anchor[nimbleRouterLink]'\n})\nexport class NimbleTableColumnAnchorRouterLinkWithHrefDirective extends RouterLinkWithHref {\n public set routerLink(_commands: unknown[] | string | null | undefined) {\n throw new Error('Directly configuring the routerLink url is not supported. The router url is configured via the href-field-name of the column.');\n }\n\n @HostListener('delegated-event', ['$event.detail.originalEvent'])\n private onDelegatedEvent(delegatedEvent: Event): void {\n if (delegatedEvent.type !== 'click') {\n return;\n }\n\n const clickEvent = delegatedEvent as MouseEvent;\n const href = (delegatedEvent.target as TableColumnAnchorCellView).cellRecord.href;\n\n if (!href) {\n return;\n }\n\n // Let the router handle this navigation\n super.routerLink = href;\n if (!this.onClick(clickEvent.button, clickEvent.ctrlKey, clickEvent.shiftKey, clickEvent.altKey, clickEvent.metaKey)) {\n clickEvent.preventDefault();\n }\n super.routerLink = null;\n }\n}\n","import { Directive } from '@angular/core';\n\n/**\n * Directive used solely to point consumers to use [nimbleRouterLink] / NimbleTableColumnAnchorRouterLinkWithHrefDirective.\n *\n * @see NimbleTableColumnAnchorRouterLinkWithHrefDirective\n */\n@Directive({ selector: 'nimble-table-column-anchor[routerLink]' })\nexport class NimbleTableColumnAnchorRouterLinkDirective {\n public constructor() {\n throw new Error('Use [nimbleRouterLink] instead of [routerLink].');\n }\n}\n","import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { TableColumnAnchor } 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 { 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 placeholder(): string | undefined {\n return this.elementRef.nativeElement.placeholder;\n }\n\n @Input() public set placeholder(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', 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 { NimbleTableColumnAnchorRouterLinkWithHrefDirective } from './nimble-table-column-anchor-router-link-with-href.directive';\nimport { NimbleTableColumnAnchorRouterLinkDirective } from './nimble-table-column-anchor-router-link.directive';\n\nimport '@ni/nimble-components/dist/esm/table-column/anchor';\n\n@NgModule({\n declarations: [NimbleTableColumnAnchorDirective, NimbleTableColumnAnchorRouterLinkDirective, NimbleTableColumnAnchorRouterLinkWithHrefDirective],\n imports: [CommonModule],\n exports: [NimbleTableColumnAnchorDirective, NimbleTableColumnAnchorRouterLinkDirective, NimbleTableColumnAnchorRouterLinkWithHrefDirective]\n})\nexport class NimbleTableColumnAnchorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAIA;;;;AAIG;AAIG,MAAO,kDAAmD,SAAQ,kBAAkB,CAAA;IACtF,IAAW,UAAU,CAAC,SAAgD,EAAA;AAClE,QAAA,MAAM,IAAI,KAAK,CAAC,+HAA+H,CAAC,CAAC;KACpJ;AAGO,IAAA,gBAAgB,CAAC,cAAqB,EAAA;AAC1C,QAAA,IAAI,cAAc,CAAC,IAAI,KAAK,OAAO,EAAE;YACjC,OAAO;AACV,SAAA;QAED,MAAM,UAAU,GAAG,cAA4B,CAAC;QAChD,MAAM,IAAI,GAAI,cAAc,CAAC,MAAoC,CAAC,UAAU,CAAC,IAAI,CAAC;QAElF,IAAI,CAAC,IAAI,EAAE;YACP,OAAO;AACV,SAAA;;AAGD,QAAA,KAAK,CAAC,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Directive, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { toNullableNumberProperty, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
4
|
+
import { NimbleTableColumnBaseDirective } from '@ni/nimble-angular/table-column';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
import '@ni/nimble-components/dist/esm/table-column/text';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Directive to provide Angular integration for the table column element for text.
|
|
10
|
+
*/
|
|
11
|
+
class NimbleTableColumnTextDirective extends NimbleTableColumnBaseDirective {
|
|
12
|
+
constructor(renderer, elementRef) {
|
|
13
|
+
super(renderer, elementRef);
|
|
14
|
+
}
|
|
15
|
+
get fieldName() {
|
|
16
|
+
return this.elementRef.nativeElement.fieldName;
|
|
17
|
+
}
|
|
18
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
19
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
20
|
+
set fieldName(value) {
|
|
21
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'fieldName', value);
|
|
22
|
+
}
|
|
23
|
+
get placeholder() {
|
|
24
|
+
return this.elementRef.nativeElement.placeholder;
|
|
25
|
+
}
|
|
26
|
+
set placeholder(value) {
|
|
27
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);
|
|
28
|
+
}
|
|
29
|
+
get fractionalWidth() {
|
|
30
|
+
return this.elementRef.nativeElement.fractionalWidth;
|
|
31
|
+
}
|
|
32
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
33
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
34
|
+
set fractionalWidth(value) {
|
|
35
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'fractionalWidth', toNullableNumberProperty(value));
|
|
36
|
+
}
|
|
37
|
+
get minPixelWidth() {
|
|
38
|
+
return this.elementRef.nativeElement.minPixelWidth;
|
|
39
|
+
}
|
|
40
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
41
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
42
|
+
set minPixelWidth(value) {
|
|
43
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'minPixelWidth', toNullableNumberProperty(value));
|
|
44
|
+
}
|
|
45
|
+
get groupIndex() {
|
|
46
|
+
return this.elementRef.nativeElement.groupIndex;
|
|
47
|
+
}
|
|
48
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
49
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
50
|
+
set groupIndex(value) {
|
|
51
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'groupIndex', toNullableNumberProperty(value));
|
|
52
|
+
}
|
|
53
|
+
get groupingDisabled() {
|
|
54
|
+
return this.elementRef.nativeElement.groupingDisabled;
|
|
55
|
+
}
|
|
56
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
57
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
58
|
+
set groupingDisabled(value) {
|
|
59
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'groupingDisabled', toBooleanProperty(value));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
NimbleTableColumnTextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnTextDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
63
|
+
NimbleTableColumnTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: NimbleTableColumnTextDirective, selector: "nimble-table-column-text", inputs: { fieldName: ["field-name", "fieldName"], fractionalWidth: ["fractional-width", "fractionalWidth"], minPixelWidth: ["min-pixel-width", "minPixelWidth"], groupIndex: ["group-index", "groupIndex"], groupingDisabled: ["grouping-disabled", "groupingDisabled"] }, usesInheritance: true, ngImport: i0 });
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnTextDirective, decorators: [{
|
|
65
|
+
type: Directive,
|
|
66
|
+
args: [{
|
|
67
|
+
selector: 'nimble-table-column-text'
|
|
68
|
+
}]
|
|
69
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { fieldName: [{
|
|
70
|
+
type: Input,
|
|
71
|
+
args: ['field-name']
|
|
72
|
+
}], fractionalWidth: [{
|
|
73
|
+
type: Input,
|
|
74
|
+
args: ['fractional-width']
|
|
75
|
+
}], minPixelWidth: [{
|
|
76
|
+
type: Input,
|
|
77
|
+
args: ['min-pixel-width']
|
|
78
|
+
}], groupIndex: [{
|
|
79
|
+
type: Input,
|
|
80
|
+
args: ['group-index']
|
|
81
|
+
}], groupingDisabled: [{
|
|
82
|
+
type: Input,
|
|
83
|
+
args: ['grouping-disabled']
|
|
84
|
+
}] } });
|
|
85
|
+
|
|
86
|
+
class NimbleTableColumnTextModule {
|
|
87
|
+
}
|
|
88
|
+
NimbleTableColumnTextModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnTextModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
89
|
+
NimbleTableColumnTextModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnTextModule, declarations: [NimbleTableColumnTextDirective], imports: [CommonModule], exports: [NimbleTableColumnTextDirective] });
|
|
90
|
+
NimbleTableColumnTextModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnTextModule, imports: [CommonModule] });
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnTextModule, decorators: [{
|
|
92
|
+
type: NgModule,
|
|
93
|
+
args: [{
|
|
94
|
+
declarations: [NimbleTableColumnTextDirective],
|
|
95
|
+
imports: [CommonModule],
|
|
96
|
+
exports: [NimbleTableColumnTextDirective]
|
|
97
|
+
}]
|
|
98
|
+
}] });
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Generated bundle index. Do not edit.
|
|
102
|
+
*/
|
|
103
|
+
|
|
104
|
+
export { NimbleTableColumnTextDirective, NimbleTableColumnTextModule };
|
|
105
|
+
//# sourceMappingURL=ni-nimble-angular-table-column-text.mjs.map
|
|
@@ -0,0 +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 } 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 };\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 // 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 placeholder(): string | undefined {\n return this.elementRef.nativeElement.placeholder;\n }\n\n public set placeholder(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', 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<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":";;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ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, Input } from '@angular/core';
|
|
3
|
+
export { TableColumnSortDirection } from '@ni/nimble-components/dist/esm/table/types';
|
|
4
|
+
import { toBooleanProperty, toNullableNumberProperty } from '@ni/nimble-angular/internal-utilities';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Base class for table column directives.
|
|
8
|
+
*/
|
|
9
|
+
class NimbleTableColumnBaseDirective {
|
|
10
|
+
constructor(renderer, elementRef) {
|
|
11
|
+
this.renderer = renderer;
|
|
12
|
+
this.elementRef = elementRef;
|
|
13
|
+
}
|
|
14
|
+
get columnId() {
|
|
15
|
+
return this.elementRef.nativeElement.columnId;
|
|
16
|
+
}
|
|
17
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
18
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
19
|
+
set columnId(value) {
|
|
20
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'columnId', value);
|
|
21
|
+
}
|
|
22
|
+
get actionMenuSlot() {
|
|
23
|
+
return this.elementRef.nativeElement.actionMenuSlot;
|
|
24
|
+
}
|
|
25
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
26
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
27
|
+
set actionMenuSlot(value) {
|
|
28
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'actionMenuSlot', value);
|
|
29
|
+
}
|
|
30
|
+
get actionMenuLabel() {
|
|
31
|
+
return this.elementRef.nativeElement.actionMenuLabel;
|
|
32
|
+
}
|
|
33
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
34
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
35
|
+
set actionMenuLabel(value) {
|
|
36
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'actionMenuLabel', value);
|
|
37
|
+
}
|
|
38
|
+
get columnHidden() {
|
|
39
|
+
return this.elementRef.nativeElement.columnHidden;
|
|
40
|
+
}
|
|
41
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
42
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
43
|
+
set columnHidden(value) {
|
|
44
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'columnHidden', toBooleanProperty(value));
|
|
45
|
+
}
|
|
46
|
+
get sortDirection() {
|
|
47
|
+
return this.elementRef.nativeElement.sortDirection;
|
|
48
|
+
}
|
|
49
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
50
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
51
|
+
set sortDirection(value) {
|
|
52
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'sortDirection', value);
|
|
53
|
+
}
|
|
54
|
+
get sortIndex() {
|
|
55
|
+
return this.elementRef.nativeElement.sortIndex;
|
|
56
|
+
}
|
|
57
|
+
// Renaming because property should have camel casing, but attribute should not
|
|
58
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
59
|
+
set sortIndex(value) {
|
|
60
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'sortIndex', toNullableNumberProperty(value));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
NimbleTableColumnBaseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnBaseDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
64
|
+
NimbleTableColumnBaseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: NimbleTableColumnBaseDirective, inputs: { columnId: ["column-id", "columnId"], actionMenuSlot: ["action-menu-slot", "actionMenuSlot"], actionMenuLabel: ["action-menu-label", "actionMenuLabel"], columnHidden: ["column-hidden", "columnHidden"], sortDirection: ["sort-direction", "sortDirection"], sortIndex: ["sort-index", "sortIndex"] }, ngImport: i0 });
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleTableColumnBaseDirective, decorators: [{
|
|
66
|
+
type: Directive
|
|
67
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { columnId: [{
|
|
68
|
+
type: Input,
|
|
69
|
+
args: ['column-id']
|
|
70
|
+
}], actionMenuSlot: [{
|
|
71
|
+
type: Input,
|
|
72
|
+
args: ['action-menu-slot']
|
|
73
|
+
}], actionMenuLabel: [{
|
|
74
|
+
type: Input,
|
|
75
|
+
args: ['action-menu-label']
|
|
76
|
+
}], columnHidden: [{
|
|
77
|
+
type: Input,
|
|
78
|
+
args: ['column-hidden']
|
|
79
|
+
}], sortDirection: [{
|
|
80
|
+
type: Input,
|
|
81
|
+
args: ['sort-direction']
|
|
82
|
+
}], sortIndex: [{
|
|
83
|
+
type: Input,
|
|
84
|
+
args: ['sort-index']
|
|
85
|
+
}] } });
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Generated bundle index. Do not edit.
|
|
89
|
+
*/
|
|
90
|
+
|
|
91
|
+
export { NimbleTableColumnBaseDirective };
|
|
92
|
+
//# sourceMappingURL=ni-nimble-angular-table-column.mjs.map
|
|
@@ -0,0 +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 } 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 };\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 // Renaming because property should have camel casing, but attribute should not\n // eslint-disable-next-line @angular-eslint/no-input-rename\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 * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAQA;;AAEG;MAEU,8BAA8B,CAAA;IA6DvC,WAAsC,CAAA,QAAmB,EAAqB,UAAyB,EAAA;QAAjE,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAe;KAAI;AA5D3G,IAAA,IAAW,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC;KACjD;;;IAID,IAA+B,QAAQ,CAAC,KAAyB,EAAA;AAC7D,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,UAAU,EAAE,KAAK,CAAC,CAAC;KAC/E;AAED,IAAA,IAAW,cAAc,GAAA;AACrB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,cAAc,CAAC;KACvD;;;IAID,IAAsC,cAAc,CAAC,KAAyB,EAAA;AAC1E,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,gBAAgB,EAAE,KAAK,CAAC,CAAC;KACrF;AAED,IAAA,IAAW,eAAe,GAAA;AACtB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,eAAe,CAAC;KACxD;;;IAID,IAAuC,eAAe,CAAC,KAAyB,EAAA;AAC5E,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,iBAAiB,EAAE,KAAK,CAAC,CAAC;KACtF;A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EAAA,CAAA,eAAA,EAAA,cAAA,CAAA,EAAA,aAAA,EAAA,CAAA,gBAAA,EAAA,eAAA,CAAA,EAAA,SAAA,EAAA,CAAA,YAAA,EAAA,WAAA,CAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAA9B,8BAA8B,EAAA,UAAA,EAAA,CAAA;kBAD1C,SAAS;yHAQyB,QAAQ,EAAA,CAAA;sBAAtC,KAAK;uBAAC,WAAW,CAAA;gBAUoB,cAAc,EAAA,CAAA;sBAAnD,KAAK;uBAAC,kBAAkB,CAAA;gBAUc,eAAe,EAAA,CAAA;sBAArD,KAAK;uBAAC,mBAAmB,CAAA;gBAUS,YAAY,EAAA,CAAA;sBAA9C,KAAK;uBAAC,eAAe,CAAA;gBAUc,aAAa,EAAA,CAAA;sBAAhD,KAAK;uBAAC,gBAAgB,CAAA;gBAUS,SAAS,EAAA,CAAA;sBAAxC,KAAK;uBAAC,YAAY,CAAA;;;ACrEvB;;AAEG;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-table-testing.mjs","sources":["../../../../projects/ni/nimble-angular/table/testing/ni-nimble-angular-table-testing.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;AAAA;;AAEG"}
|