@ni/nimble-angular 16.8.9 → 16.9.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.
Files changed (30) hide show
  1. package/README.md +21 -0
  2. package/esm2020/label-provider/core/ni-nimble-angular-label-provider-core.mjs +5 -0
  3. package/esm2020/label-provider/core/nimble-label-provider-core-with-defaults.directive.mjs +25 -0
  4. package/esm2020/label-provider/core/nimble-label-provider-core.directive.mjs +54 -0
  5. package/esm2020/label-provider/core/nimble-label-provider-core.module.mjs +22 -0
  6. package/esm2020/label-provider/core/public-api.mjs +4 -0
  7. package/esm2020/label-provider/table/ni-nimble-angular-label-provider-table.mjs +5 -0
  8. package/esm2020/label-provider/table/nimble-label-provider-table-with-defaults.directive.mjs +27 -0
  9. package/esm2020/label-provider/table/nimble-label-provider-table.directive.mjs +76 -0
  10. package/esm2020/label-provider/table/nimble-label-provider-table.module.mjs +22 -0
  11. package/esm2020/label-provider/table/public-api.mjs +4 -0
  12. package/fesm2015/ni-nimble-angular-label-provider-core.mjs +102 -0
  13. package/fesm2015/ni-nimble-angular-label-provider-core.mjs.map +1 -0
  14. package/fesm2015/ni-nimble-angular-label-provider-table.mjs +126 -0
  15. package/fesm2015/ni-nimble-angular-label-provider-table.mjs.map +1 -0
  16. package/fesm2020/ni-nimble-angular-label-provider-core.mjs +102 -0
  17. package/fesm2020/ni-nimble-angular-label-provider-core.mjs.map +1 -0
  18. package/fesm2020/ni-nimble-angular-label-provider-table.mjs +126 -0
  19. package/fesm2020/ni-nimble-angular-label-provider-table.mjs.map +1 -0
  20. package/label-provider/core/index.d.ts +5 -0
  21. package/label-provider/core/nimble-label-provider-core-with-defaults.directive.d.ts +15 -0
  22. package/label-provider/core/nimble-label-provider-core.directive.d.ts +21 -0
  23. package/label-provider/core/nimble-label-provider-core.module.d.ts +10 -0
  24. package/label-provider/core/public-api.d.ts +3 -0
  25. package/label-provider/table/index.d.ts +5 -0
  26. package/label-provider/table/nimble-label-provider-table-with-defaults.directive.d.ts +15 -0
  27. package/label-provider/table/nimble-label-provider-table.directive.d.ts +25 -0
  28. package/label-provider/table/nimble-label-provider-table.module.d.ts +10 -0
  29. package/label-provider/table/public-api.d.ts +3 -0
  30. package/package.json +19 -2
package/README.md CHANGED
@@ -84,6 +84,27 @@ The steps to use components from Nimble Angular are similar to using components
84
84
 
85
85
  Note: Nimble components are exposed in Angular as Angular Directives and have the suffix `Directive`.
86
86
 
87
+ 8. If your application is localized, also follow the steps in the "Localization" section below.
88
+
89
+ ### Localization (Optional)
90
+
91
+ Most user-visible strings displayed by Nimble components are provided by the client application and are expected to be localized by the application if necessary. However, some strings are built into Nimble components and are provided only in English.
92
+
93
+ The standard way to use these in Angular (for localized apps using `@angular/localize`) is:
94
+ 1. Import the label provider module(s) from your app module:
95
+ - `NimbleLabelProviderCoreModule` from `@ni/nimble-angular/label-provider/core`: Used for labels for all components besides the table
96
+ - `NimbleLabelProviderTableModule` from `@ni/nimble-angular/label-provider/table`: Used for labels for the table (and table sub-components / column types)
97
+ 2. To use the Nimble-provided strings (which are already declared with `$localize`), use the `NimbleLabelProvider[Core/Table]WithDefaultsDirective`:
98
+ ```html
99
+ <nimble-theme-provider theme="light">
100
+ <nimble-label-provider-core withDefaults></nimble-label-provider-core>
101
+ <!-- if using the Nimble table component: -->
102
+ <nimble-label-provider-table withDefaults></nimble-label-provider-table>
103
+ <router-outlet></router-outlet>
104
+ </nimble-theme-provider>
105
+ ```
106
+ 3. Follow [the standard Angular internationalization guidance](https://angular.io/guide/i18n-common-overview) to extract the localizable strings, translate them, and merge translations back into the application.
107
+
87
108
  ### Learn more
88
109
 
89
110
  See the [README.md for the ni/nimble repository](/README.md) for documentation of individual components.
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmktbmltYmxlLWFuZ3VsYXItbGFiZWwtcHJvdmlkZXItY29yZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pL25pbWJsZS1hbmd1bGFyL2xhYmVsLXByb3ZpZGVyL2NvcmUvbmktbmltYmxlLWFuZ3VsYXItbGFiZWwtcHJvdmlkZXItY29yZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
@@ -0,0 +1,25 @@
1
+ import { Directive } from '@angular/core';
2
+ import '@angular/localize/init';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Directive for nimble-label-provider-core which will initialize all of the labels with $localize-tagged strings, for apps
6
+ * using @angular/localize.
7
+ */
8
+ export class NimbleLabelProviderCoreWithDefaultsDirective {
9
+ constructor(renderer, elementRef) {
10
+ this.renderer = renderer;
11
+ this.elementRef = elementRef;
12
+ this.elementRef.nativeElement.popupDismiss = $localize `:Nimble popup - dismiss|:Close`;
13
+ this.elementRef.nativeElement.numericDecrement = $localize `:Nimble numeric - decrement|:Decrement`;
14
+ this.elementRef.nativeElement.numericIncrement = $localize `:Nimble numeric - increment|:Increment`;
15
+ }
16
+ }
17
+ NimbleLabelProviderCoreWithDefaultsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreWithDefaultsDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
18
+ NimbleLabelProviderCoreWithDefaultsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleLabelProviderCoreWithDefaultsDirective, selector: "nimble-label-provider-core[withDefaults]", ngImport: i0 });
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreWithDefaultsDirective, decorators: [{
20
+ type: Directive,
21
+ args: [{
22
+ selector: 'nimble-label-provider-core[withDefaults]'
23
+ }]
24
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; } });
25
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLWxhYmVsLXByb3ZpZGVyLWNvcmUtd2l0aC1kZWZhdWx0cy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaS9uaW1ibGUtYW5ndWxhci9sYWJlbC1wcm92aWRlci9jb3JlL25pbWJsZS1sYWJlbC1wcm92aWRlci1jb3JlLXdpdGgtZGVmYXVsdHMuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQXlCLE1BQU0sZUFBZSxDQUFDO0FBR2pFLE9BQU8sd0JBQXdCLENBQUM7O0FBRWhDOzs7R0FHRztBQUlILE1BQU0sT0FBTyw0Q0FBNEM7SUFDckQsWUFBc0MsUUFBbUIsRUFBcUIsVUFBeUM7UUFBakYsYUFBUSxHQUFSLFFBQVEsQ0FBVztRQUFxQixlQUFVLEdBQVYsVUFBVSxDQUErQjtRQUNuSCxJQUFJLENBQUMsVUFBVSxDQUFDLGFBQWEsQ0FBQyxZQUFZLEdBQUcsU0FBUyxDQUFBLGdDQUFnQyxDQUFDO1FBQ3ZGLElBQUksQ0FBQyxVQUFVLENBQUMsYUFBYSxDQUFDLGdCQUFnQixHQUFHLFNBQVMsQ0FBQSx3Q0FBd0MsQ0FBQztRQUNuRyxJQUFJLENBQU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Qcm92aWRlckNvcmU+KSB7XG4gICAgICAgIHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LnBvcHVwRGlzbWlzcyA9ICRsb2NhbGl6ZWA6TmltYmxlIHBvcHVwIC0gZGlzbWlzc3w6Q2xvc2VgO1xuICAgICAgICB0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5udW1lcmljRGVjcmVtZW50ID0gJGxvY2FsaXplYDpOaW1ibGUgbnVtZXJpYyAtIGRlY3JlbWVudHw6RGVjcmVtZW50YDtcbiAgICAgICAgdGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQubnVtZXJpY0luY3JlbWVudCA9ICRsb2NhbGl6ZWA6TmltYmxlIG51bWVyaWMgLSBpbmNyZW1lbnR8OkluY3JlbWVudGA7XG4gICAgfVxufSJdfQ==
@@ -0,0 +1,54 @@
1
+ import { Directive, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Directive to provide Angular integration for the core label provider.
5
+ * To use the Nimble-provided strings declared via $localize, instead use NimbleLabelProviderTableWithDefaultsDirective.
6
+ */
7
+ export class NimbleLabelProviderCoreDirective {
8
+ constructor(renderer, elementRef) {
9
+ this.renderer = renderer;
10
+ this.elementRef = elementRef;
11
+ }
12
+ get popupDismiss() {
13
+ return this.elementRef.nativeElement.popupDismiss;
14
+ }
15
+ // Renaming because property should have camel casing, but attribute should not
16
+ // eslint-disable-next-line @angular-eslint/no-input-rename
17
+ set popupDismiss(value) {
18
+ this.renderer.setProperty(this.elementRef.nativeElement, 'popupDismiss', value);
19
+ }
20
+ get numericDecrement() {
21
+ return this.elementRef.nativeElement.numericDecrement;
22
+ }
23
+ // Renaming because property should have camel casing, but attribute should not
24
+ // eslint-disable-next-line @angular-eslint/no-input-rename
25
+ set numericDecrement(value) {
26
+ this.renderer.setProperty(this.elementRef.nativeElement, 'numericDecrement', value);
27
+ }
28
+ get numericIncrement() {
29
+ return this.elementRef.nativeElement.numericIncrement;
30
+ }
31
+ // Renaming because property should have camel casing, but attribute should not
32
+ // eslint-disable-next-line @angular-eslint/no-input-rename
33
+ set numericIncrement(value) {
34
+ this.renderer.setProperty(this.elementRef.nativeElement, 'numericIncrement', value);
35
+ }
36
+ }
37
+ NimbleLabelProviderCoreDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
38
+ NimbleLabelProviderCoreDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleLabelProviderCoreDirective, selector: "nimble-label-provider-core", inputs: { popupDismiss: ["popup-dismiss", "popupDismiss"], numericDecrement: ["numeric-decrement", "numericDecrement"], numericIncrement: ["numeric-increment", "numericIncrement"] }, ngImport: i0 });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreDirective, decorators: [{
40
+ type: Directive,
41
+ args: [{
42
+ selector: 'nimble-label-provider-core'
43
+ }]
44
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { popupDismiss: [{
45
+ type: Input,
46
+ args: ['popup-dismiss']
47
+ }], numericDecrement: [{
48
+ type: Input,
49
+ args: ['numeric-decrement']
50
+ }], numericIncrement: [{
51
+ type: Input,
52
+ args: ['numeric-increment']
53
+ }] } });
54
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLWxhYmVsLXByb3ZpZGVyLWNvcmUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmkvbmltYmxlLWFuZ3VsYXIvbGFiZWwtcHJvdmlkZXIvY29yZS9uaW1ibGUtb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5hdGl2ZUVsZW1lbnQsICdudW1lcmljSW5jcmVtZW50JywgdmFsdWUpO1xuICAgIH1cbn0iXX0=
@@ -0,0 +1,22 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { NimbleLabelProviderCoreDirective } from './nimble-label-provider-core.directive';
4
+ import { NimbleLabelProviderCoreWithDefaultsDirective } from './nimble-label-provider-core-with-defaults.directive';
5
+ import '@ni/nimble-components/dist/esm/label-provider/core';
6
+ import * as i0 from "@angular/core";
7
+ export class NimbleLabelProviderCoreModule {
8
+ }
9
+ NimbleLabelProviderCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
+ NimbleLabelProviderCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreModule, declarations: [NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreWithDefaultsDirective], imports: [CommonModule], exports: [NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreWithDefaultsDirective] });
11
+ NimbleLabelProviderCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreModule, imports: [CommonModule] });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreModule, decorators: [{
13
+ type: NgModule,
14
+ args: [{
15
+ declarations: [NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreWithDefaultsDirective],
16
+ imports: [
17
+ CommonModule
18
+ ],
19
+ exports: [NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreWithDefaultsDirective]
20
+ }]
21
+ }] });
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLWxhYmV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29tbW9uJztcbmltcG9ydCB7IE5pbWJsZUxhYmVsUHJvdmlkZXJDb3JlRGlyZWN0aXZlIH0gZnJvbSAnLi9uaW1ibGUtbGFiZWwtcHJvdmlkZXItY29yZS5kaXJlY3RpdmUnO1xuaW1wb3J0IHsgTmltYmxlTGFiZWxQcm92aWRlckNvcmVXaXRoRGVmYXVsdHNEaXJlY3RpdmUgfSBmcm9tICcuL25pbWJsZS1sYWJlbC1wcm92aWRlci1jb3JlLXdpdGgtZGVmYXVsdHMuZGlyZWN0aXZlJztcblxuaW1wb3J0ICdAbmkvbmltYmxlLWNvbXBvbmVudHMvZGlzdC9lc20vbGFiZWwtcHJvdmlkZXIvY29yZSc7XG5cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbTmltYmxlTGFiZWxQcm92aWRlckNvcmVEaXJlY3RpdmUsIE5pbWJsZUxhYmVsUHJvdmlkZXJDb3JlV2l0aERlZmF1bHRzRGlyZWN0aXZlXSxcbiAgICBpbXBvcnRzOiBbXG4gICAgICAgIENvbW1vbk1vZHVsZVxuICAgIF0sXG4gICAgZXhwb3J0czogW05pbWJsZUxhYmVsUHJvdmlkZXJDb3JlRGlyZWN0aXZlLCBOaW1ibGVMYWJlbFByb3ZpZGVyQ29yZVdpdGhEZWZhdWx0c0RpcmVjdGl2ZV1cbn0pXG5leHBvcnQgY2xhc3MgTmltYmxlTGFiZWxQcm92aWRlckNvcmVNb2R1bGUgeyB9XG4iXX0=
@@ -0,0 +1,4 @@
1
+ export * from './nimble-label-provider-core.directive';
2
+ export * from './nimble-label-provider-core-with-defaults.directive';
3
+ export * from './nimble-label-provider-core.module';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pL25pbWJsZS1hbmd1bGFyL2xhYmVsLXByb3ZpZGVyL2NvcmUvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELGNBQWMsc0RBQXNELENBQUM7QUFDckUsY0FBYyxxQ0FBcUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbmltYmxlLWxhYmVsLXByb3ZpZGVyLWNvcmUuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vbmltYmxlLWxhYmVsLXByb3ZpZGVyLWNvcmUtd2l0aC1kZWZhdWx0cy5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9uaW1ibGUtbGFiZWwtcHJvdmlkZXItY29yZS5tb2R1bGUnOyJdfQ==
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmktbmltYmxlLWFuZ3VsYXItbGFiZWwtcHJvdmlkZXItdGFibGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaS9uaW1ibGUtYW5ndWxhci9sYWJlbC1wcm92aWRlci90YWJsZS9uaS1uaW1ibGUtYW5ndWxhci1sYWJlbC1wcm92aWRlci10YWJsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
@@ -0,0 +1,27 @@
1
+ import { Directive } from '@angular/core';
2
+ import '@angular/localize/init';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Directive for nimble-label-provider-table which will initialize all of the labels with $localize-tagged strings, for apps
6
+ * using @angular/localize.
7
+ */
8
+ export class NimbleLabelProviderTableWithDefaultsDirective {
9
+ constructor(renderer, elementRef) {
10
+ this.renderer = renderer;
11
+ this.elementRef = elementRef;
12
+ this.elementRef.nativeElement.groupCollapse = $localize `:Nimble table - collapse group|:Collapse group`;
13
+ this.elementRef.nativeElement.groupExpand = $localize `:Nimble table - expand group|:Expand group`;
14
+ this.elementRef.nativeElement.groupsCollapseAll = $localize `:Nimble table - collapse all groups|:Collapse all groups`;
15
+ this.elementRef.nativeElement.cellActionMenu = $localize `:Nimble table - cell action menu|:Options`;
16
+ this.elementRef.nativeElement.columnHeaderGroupedIndicator = $localize `:Nimble table - column header grouped indicator|:Grouped`;
17
+ }
18
+ }
19
+ NimbleLabelProviderTableWithDefaultsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableWithDefaultsDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
20
+ NimbleLabelProviderTableWithDefaultsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleLabelProviderTableWithDefaultsDirective, selector: "nimble-label-provider-table[withDefaults]", ngImport: i0 });
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableWithDefaultsDirective, decorators: [{
22
+ type: Directive,
23
+ args: [{
24
+ selector: 'nimble-label-provider-table[withDefaults]'
25
+ }]
26
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; } });
27
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLWxhYmVsLXByb3ZpZGVyLXRhYmxlLXdpdGgtZGVmYXVsdHMuZGlyZWN0aX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uICAgICAgICB0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5ncm91cEV4cGFuZCA9ICRsb2NhbGl6ZWA6TmltYmxlIHRhYmxlIC0gZXhwYW5kIGdyb3VwfDpFeHBhbmQgZ3JvdXBgO1xuICAgICAgICB0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5ncm91cHNDb2xsYXBzZUFsbCA9ICRsb2NhbGl6ZWA6TmltYmxlIHRhYmxlIC0gY29sbGFwc2UgYWxsIGdyb3Vwc3w6Q29sbGFwc2UgYWxsIGdyb3Vwc2A7XG4gICAgICAgIHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmNlbGxBY3Rpb25NZW51ID0gJGxvY2FsaXplYDpOaW1ibGUgdGFibGUgLSBjZWxsIGFjdGlvbiBtZW51fDpPcHRpb25zYDtcbiAgICAgICAgdGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQuY29sdW1uSGVhZGVyR3JvdXBlZEluZGljYXRvciA9ICRsb2NhbGl6ZWA6TmltYmxlIHRhYmxlIC0gY29sdW1uIGhlYWRlciBncm91cGVkIGluZGljYXRvcnw6R3JvdXBlZGA7XG4gICAgfVxufSJdfQ==
@@ -0,0 +1,76 @@
1
+ import { Directive, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Directive to provide Angular integration for the nimble-table label provider.
5
+ * To use the Nimble-provided strings declared via $localize, instead use NimbleLabelProviderTableWithDefaultsDirective.
6
+ */
7
+ export class NimbleLabelProviderTableDirective {
8
+ constructor(renderer, elementRef) {
9
+ this.renderer = renderer;
10
+ this.elementRef = elementRef;
11
+ }
12
+ get groupCollapse() {
13
+ return this.elementRef.nativeElement.groupCollapse;
14
+ }
15
+ // Renaming because property should have camel casing, but attribute should not
16
+ // eslint-disable-next-line @angular-eslint/no-input-rename
17
+ set groupCollapse(value) {
18
+ this.renderer.setProperty(this.elementRef.nativeElement, 'groupCollapse', value);
19
+ }
20
+ get groupExpand() {
21
+ return this.elementRef.nativeElement.groupExpand;
22
+ }
23
+ // Renaming because property should have camel casing, but attribute should not
24
+ // eslint-disable-next-line @angular-eslint/no-input-rename
25
+ set groupExpand(value) {
26
+ this.renderer.setProperty(this.elementRef.nativeElement, 'groupExpand', value);
27
+ }
28
+ get groupsCollapseAll() {
29
+ return this.elementRef.nativeElement.groupsCollapseAll;
30
+ }
31
+ // Renaming because property should have camel casing, but attribute should not
32
+ // eslint-disable-next-line @angular-eslint/no-input-rename
33
+ set groupsCollapseAll(value) {
34
+ this.renderer.setProperty(this.elementRef.nativeElement, 'groupsCollapseAll', value);
35
+ }
36
+ get cellActionMenu() {
37
+ return this.elementRef.nativeElement.cellActionMenu;
38
+ }
39
+ // Renaming because property should have camel casing, but attribute should not
40
+ // eslint-disable-next-line @angular-eslint/no-input-rename
41
+ set cellActionMenu(value) {
42
+ this.renderer.setProperty(this.elementRef.nativeElement, 'cellActionMenu', value);
43
+ }
44
+ get columnHeaderGroupedIndicator() {
45
+ return this.elementRef.nativeElement.columnHeaderGroupedIndicator;
46
+ }
47
+ // Renaming because property should have camel casing, but attribute should not
48
+ // eslint-disable-next-line @angular-eslint/no-input-rename
49
+ set columnHeaderGroupedIndicator(value) {
50
+ this.renderer.setProperty(this.elementRef.nativeElement, 'columnHeaderGroupedIndicator', value);
51
+ }
52
+ }
53
+ NimbleLabelProviderTableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
54
+ NimbleLabelProviderTableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleLabelProviderTableDirective, selector: "nimble-label-provider-table", inputs: { groupCollapse: ["group-collapse", "groupCollapse"], groupExpand: ["group-expand", "groupExpand"], groupsCollapseAll: ["groups-collapse-all", "groupsCollapseAll"], cellActionMenu: ["cell-action-menu", "cellActionMenu"], columnHeaderGroupedIndicator: ["column-header-grouped-indicator", "columnHeaderGroupedIndicator"] }, ngImport: i0 });
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableDirective, decorators: [{
56
+ type: Directive,
57
+ args: [{
58
+ selector: 'nimble-label-provider-table'
59
+ }]
60
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { groupCollapse: [{
61
+ type: Input,
62
+ args: ['group-collapse']
63
+ }], groupExpand: [{
64
+ type: Input,
65
+ args: ['group-expand']
66
+ }], groupsCollapseAll: [{
67
+ type: Input,
68
+ args: ['groups-collapse-all']
69
+ }], cellActionMenu: [{
70
+ type: Input,
71
+ args: ['cell-action-menu']
72
+ }], columnHeaderGroupedIndicator: [{
73
+ type: Input,
74
+ args: ['column-header-grouped-indicator']
75
+ }] } });
76
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLWxhYmVsLXByb3ZpZGVyLXRhYmxlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pL25pbWJsZS1hbmd1bGFyL2xhYmVsLXByb3ZpZGVyL3RhYmxlL25pbWJsZS1sYWJlbC1wcm92aWRlci10YWJsZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQWEsTUFBTSxlQUFlLENBQUM7O0FBS3hFOzs7R0FHRztBQUlILE1BQU0sT0FBTyxpQ0FBaUM7SUFDMUMsWUFBc0MsUUFBbUIsRUFBcUIsVUFBMEM7UUFBbEYsYUFBUSxHQUFSLFFBQVEsQ0FBVztRQUFxQixlQUFVLEdBQVYsVU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jZWxsQWN0aW9uTWVudScsIHZhbHVlKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgZ2V0IGNvbHVtbkhlYWRlckdyb3VwZWRJbmRpY2F0b3IoKTogc3RyaW5nIHwgdW5kZWZpbmVkIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmNvbHVtbkhlYWRlckdyb3VwZWRJbmRpY2F0b3I7XG4gICAgfVxuXG4gICAgLy8gUmVuYW1pbmcgYmVjYXVzZSBwcm9wZXJ0eSBzaG91bGQgaGF2ZSBjYW1lbCBjYXNpbmcsIGJ1dCBhdHRyaWJ1dGUgc2hvdWxkIG5vdFxuICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAYW5ndWxhci1lc2xpbnQvbm8taW5wdXQtcmVuYW1lXG4gICAgQElucHV0KCdjb2x1bW4taGVhZGVyLWdyb3VwZWQtaW5kaWNhdG9yJykgcHVibGljIHNldCBjb2x1bW5IZWFkZXJHcm91cGVkSW5kaWNhdG9yKHZhbHVlOiBzdHJpbmcgfCB1bmRlZmluZWQpIHtcbiAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRQcm9wZXJ0eSh0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgJ2NvbHVtbkhlYWRlckdyb3VwZWRJbmRpY2F0b3InLCB2YWx1ZSk7XG4gICAgfVxufSJdfQ==
@@ -0,0 +1,22 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { NimbleLabelProviderTableDirective } from './nimble-label-provider-table.directive';
4
+ import { NimbleLabelProviderTableWithDefaultsDirective } from './nimble-label-provider-table-with-defaults.directive';
5
+ import '@ni/nimble-components/dist/esm/label-provider/table';
6
+ import * as i0 from "@angular/core";
7
+ export class NimbleLabelProviderTableModule {
8
+ }
9
+ NimbleLabelProviderTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
10
+ NimbleLabelProviderTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableModule, declarations: [NimbleLabelProviderTableDirective, NimbleLabelProviderTableWithDefaultsDirective], imports: [CommonModule], exports: [NimbleLabelProviderTableDirective, NimbleLabelProviderTableWithDefaultsDirective] });
11
+ NimbleLabelProviderTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableModule, imports: [CommonModule] });
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableModule, decorators: [{
13
+ type: NgModule,
14
+ args: [{
15
+ declarations: [NimbleLabelProviderTableDirective, NimbleLabelProviderTableWithDefaultsDirective],
16
+ imports: [
17
+ CommonModule
18
+ ],
19
+ exports: [NimbleLabelProviderTableDirective, NimbleLabelProviderTableWithDefaultsDirective]
20
+ }]
21
+ }] });
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLWxhYmVsLXByb3ZpZGVyLXRhYmxlLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pL25pbWJsZS1hbmd1bGFyL2xhYmVsLXByb3ZpZGVyL3RhYmxlL25pbWJsZS1sYWJlbC1wcm92aWRlci10YWJsZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGlDQUFpQyxFQU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nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtOaW1ibGVMYWJlbFByb3ZpZGVyVGFibGVEaXJlY3RpdmUsIE5pbWJsZUxhYmVsUHJvdmlkZXJUYWJsZVdpdGhEZWZhdWx0c0RpcmVjdGl2ZV0sXG4gICAgaW1wb3J0czogW1xuICAgICAgICBDb21tb25Nb2R1bGVcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtOaW1ibGVMYWJlbFByb3ZpZGVyVGFibGVEaXJlY3RpdmUsIE5pbWJsZUxhYmVsUHJvdmlkZXJUYWJsZVdpdGhEZWZhdWx0c0RpcmVjdGl2ZV1cbn0pXG5leHBvcnQgY2xhc3MgTmltYmxlTGFiZWxQcm92aWRlclRhYmxlTW9kdWxlIHsgfVxuIl19
@@ -0,0 +1,4 @@
1
+ export * from './nimble-label-provider-table.directive';
2
+ export * from './nimble-label-provider-table-with-defaults.directive';
3
+ export * from './nimble-label-provider-table.module';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pL25pbWJsZS1hbmd1bGFyL2xhYmVsLXByb3ZpZGVyL3RhYmxlL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5Q0FBeUMsQ0FBQztBQUN4RCxjQUFjLHVEQUF1RCxDQUFDO0FBQ3RFLGNBQWMsc0NBQXNDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL25pbWJsZS1sYWJlbC1wcm92aWRlci10YWJsZS5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9uaW1ibGUtbGFiZWwtcHJvdmlkZXItdGFibGUtd2l0aC1kZWZhdWx0cy5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9uaW1ibGUtbGFiZWwtcHJvdmlkZXItdGFibGUubW9kdWxlJzsiXX0=
@@ -0,0 +1,102 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, Input, NgModule } from '@angular/core';
3
+ import '@angular/localize/init';
4
+ import { CommonModule } from '@angular/common';
5
+ import '@ni/nimble-components/dist/esm/label-provider/core';
6
+
7
+ /**
8
+ * Directive to provide Angular integration for the core label provider.
9
+ * To use the Nimble-provided strings declared via $localize, instead use NimbleLabelProviderTableWithDefaultsDirective.
10
+ */
11
+ class NimbleLabelProviderCoreDirective {
12
+ constructor(renderer, elementRef) {
13
+ this.renderer = renderer;
14
+ this.elementRef = elementRef;
15
+ }
16
+ get popupDismiss() {
17
+ return this.elementRef.nativeElement.popupDismiss;
18
+ }
19
+ // Renaming because property should have camel casing, but attribute should not
20
+ // eslint-disable-next-line @angular-eslint/no-input-rename
21
+ set popupDismiss(value) {
22
+ this.renderer.setProperty(this.elementRef.nativeElement, 'popupDismiss', value);
23
+ }
24
+ get numericDecrement() {
25
+ return this.elementRef.nativeElement.numericDecrement;
26
+ }
27
+ // Renaming because property should have camel casing, but attribute should not
28
+ // eslint-disable-next-line @angular-eslint/no-input-rename
29
+ set numericDecrement(value) {
30
+ this.renderer.setProperty(this.elementRef.nativeElement, 'numericDecrement', value);
31
+ }
32
+ get numericIncrement() {
33
+ return this.elementRef.nativeElement.numericIncrement;
34
+ }
35
+ // Renaming because property should have camel casing, but attribute should not
36
+ // eslint-disable-next-line @angular-eslint/no-input-rename
37
+ set numericIncrement(value) {
38
+ this.renderer.setProperty(this.elementRef.nativeElement, 'numericIncrement', value);
39
+ }
40
+ }
41
+ NimbleLabelProviderCoreDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
42
+ NimbleLabelProviderCoreDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleLabelProviderCoreDirective, selector: "nimble-label-provider-core", inputs: { popupDismiss: ["popup-dismiss", "popupDismiss"], numericDecrement: ["numeric-decrement", "numericDecrement"], numericIncrement: ["numeric-increment", "numericIncrement"] }, ngImport: i0 });
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreDirective, decorators: [{
44
+ type: Directive,
45
+ args: [{
46
+ selector: 'nimble-label-provider-core'
47
+ }]
48
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { popupDismiss: [{
49
+ type: Input,
50
+ args: ['popup-dismiss']
51
+ }], numericDecrement: [{
52
+ type: Input,
53
+ args: ['numeric-decrement']
54
+ }], numericIncrement: [{
55
+ type: Input,
56
+ args: ['numeric-increment']
57
+ }] } });
58
+
59
+ /**
60
+ * Directive for nimble-label-provider-core which will initialize all of the labels with $localize-tagged strings, for apps
61
+ * using @angular/localize.
62
+ */
63
+ class NimbleLabelProviderCoreWithDefaultsDirective {
64
+ constructor(renderer, elementRef) {
65
+ this.renderer = renderer;
66
+ this.elementRef = elementRef;
67
+ this.elementRef.nativeElement.popupDismiss = $localize `:Nimble popup - dismiss|:Close`;
68
+ this.elementRef.nativeElement.numericDecrement = $localize `:Nimble numeric - decrement|:Decrement`;
69
+ this.elementRef.nativeElement.numericIncrement = $localize `:Nimble numeric - increment|:Increment`;
70
+ }
71
+ }
72
+ NimbleLabelProviderCoreWithDefaultsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreWithDefaultsDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
73
+ NimbleLabelProviderCoreWithDefaultsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleLabelProviderCoreWithDefaultsDirective, selector: "nimble-label-provider-core[withDefaults]", ngImport: i0 });
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreWithDefaultsDirective, decorators: [{
75
+ type: Directive,
76
+ args: [{
77
+ selector: 'nimble-label-provider-core[withDefaults]'
78
+ }]
79
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; } });
80
+
81
+ class NimbleLabelProviderCoreModule {
82
+ }
83
+ NimbleLabelProviderCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
84
+ NimbleLabelProviderCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreModule, declarations: [NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreWithDefaultsDirective], imports: [CommonModule], exports: [NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreWithDefaultsDirective] });
85
+ NimbleLabelProviderCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreModule, imports: [CommonModule] });
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreModule, decorators: [{
87
+ type: NgModule,
88
+ args: [{
89
+ declarations: [NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreWithDefaultsDirective],
90
+ imports: [
91
+ CommonModule
92
+ ],
93
+ exports: [NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreWithDefaultsDirective]
94
+ }]
95
+ }] });
96
+
97
+ /**
98
+ * Generated bundle index. Do not edit.
99
+ */
100
+
101
+ export { NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreModule, NimbleLabelProviderCoreWithDefaultsDirective };
102
+ //# sourceMappingURL=ni-nimble-angular-label-provider-core.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ni-nimble-angular-label-provider-core.mjs","sources":["../../../../projects/ni/nimble-angular/label-provider/core/nimble-label-provider-core.directive.ts","../../../../projects/ni/nimble-angular/label-provider/core/nimble-label-provider-core-with-defaults.directive.ts","../../../../projects/ni/nimble-angular/label-provider/core/nimble-label-provider-core.module.ts","../../../../projects/ni/nimble-angular/label-provider/core/ni-nimble-angular-label-provider-core.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { LabelProviderCore } from '@ni/nimble-components/dist/esm/label-provider/core';\n\nexport type { LabelProviderCore };\n\n/**\n * Directive to provide Angular integration for the core label provider.\n * To use the Nimble-provided strings declared via $localize, instead use NimbleLabelProviderTableWithDefaultsDirective.\n */\n@Directive({\n selector: 'nimble-label-provider-core'\n})\nexport class NimbleLabelProviderCoreDirective {\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<LabelProviderCore>) {\n }\n\n public get popupDismiss(): string | undefined {\n return this.elementRef.nativeElement.popupDismiss;\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('popup-dismiss') public set popupDismiss(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'popupDismiss', value);\n }\n\n public get numericDecrement(): string | undefined {\n return this.elementRef.nativeElement.numericDecrement;\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('numeric-decrement') public set numericDecrement(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'numericDecrement', value);\n }\n\n public get numericIncrement(): string | undefined {\n return this.elementRef.nativeElement.numericIncrement;\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('numeric-increment') public set numericIncrement(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'numericIncrement', value);\n }\n}","import { Directive, ElementRef, Renderer2 } from '@angular/core';\nimport type { LabelProviderCore } from '@ni/nimble-components/dist/esm/label-provider/core';\n\nimport '@angular/localize/init';\n\n/**\n * Directive for nimble-label-provider-core which will initialize all of the labels with $localize-tagged strings, for apps\n * using @angular/localize.\n */\n@Directive({\n selector: 'nimble-label-provider-core[withDefaults]'\n})\nexport class NimbleLabelProviderCoreWithDefaultsDirective {\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<LabelProviderCore>) {\n this.elementRef.nativeElement.popupDismiss = $localize`:Nimble popup - dismiss|:Close`;\n this.elementRef.nativeElement.numericDecrement = $localize`:Nimble numeric - decrement|:Decrement`;\n this.elementRef.nativeElement.numericIncrement = $localize`:Nimble numeric - increment|:Increment`;\n }\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleLabelProviderCoreDirective } from './nimble-label-provider-core.directive';\nimport { NimbleLabelProviderCoreWithDefaultsDirective } from './nimble-label-provider-core-with-defaults.directive';\n\nimport '@ni/nimble-components/dist/esm/label-provider/core';\n\n@NgModule({\n declarations: [NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreWithDefaultsDirective],\n imports: [\n CommonModule\n ],\n exports: [NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreWithDefaultsDirective]\n})\nexport class NimbleLabelProviderCoreModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAKA;;;AAGG;MAIU,gCAAgC,CAAA;IACzC,WAAsC,CAAA,QAAmB,EAAqB,UAAyC,EAAA;AAAjF,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;AAAqB,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CAA+B;KACtH;AAED,IAAA,IAAW,YAAY,GAAA;AACnB,QAAA,OAAO,IAAI,CAA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A7B,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;2HAA7B,6BAA6B,EAAA,YAAA,EAAA,CANvB,gCAAgC,EAAE,4CAA4C,aAEzF,YAAY,CAAA,EAAA,OAAA,EAAA,CAEN,gCAAgC,EAAE,4CAA4C,CAAA,EAAA,CAAA,CAAA;AAE/E,6BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,6BAA6B,YAJlC,YAAY,CAAA,EAAA,CAAA,CAAA;2FAIP,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAPzC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,gCAAgC,EAAE,4CAA4C,CAAC;AAC9F,oBAAA,OAAO,EAAE;wBACL,YAAY;AACf,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,gCAAgC,EAAE,4CAA4C,CAAC;iBAC5F,CAAA;;;ACbD;;AAEG;;;;"}
@@ -0,0 +1,126 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, Input, NgModule } from '@angular/core';
3
+ import '@angular/localize/init';
4
+ import { CommonModule } from '@angular/common';
5
+ import '@ni/nimble-components/dist/esm/label-provider/table';
6
+
7
+ /**
8
+ * Directive to provide Angular integration for the nimble-table label provider.
9
+ * To use the Nimble-provided strings declared via $localize, instead use NimbleLabelProviderTableWithDefaultsDirective.
10
+ */
11
+ class NimbleLabelProviderTableDirective {
12
+ constructor(renderer, elementRef) {
13
+ this.renderer = renderer;
14
+ this.elementRef = elementRef;
15
+ }
16
+ get groupCollapse() {
17
+ return this.elementRef.nativeElement.groupCollapse;
18
+ }
19
+ // Renaming because property should have camel casing, but attribute should not
20
+ // eslint-disable-next-line @angular-eslint/no-input-rename
21
+ set groupCollapse(value) {
22
+ this.renderer.setProperty(this.elementRef.nativeElement, 'groupCollapse', value);
23
+ }
24
+ get groupExpand() {
25
+ return this.elementRef.nativeElement.groupExpand;
26
+ }
27
+ // Renaming because property should have camel casing, but attribute should not
28
+ // eslint-disable-next-line @angular-eslint/no-input-rename
29
+ set groupExpand(value) {
30
+ this.renderer.setProperty(this.elementRef.nativeElement, 'groupExpand', value);
31
+ }
32
+ get groupsCollapseAll() {
33
+ return this.elementRef.nativeElement.groupsCollapseAll;
34
+ }
35
+ // Renaming because property should have camel casing, but attribute should not
36
+ // eslint-disable-next-line @angular-eslint/no-input-rename
37
+ set groupsCollapseAll(value) {
38
+ this.renderer.setProperty(this.elementRef.nativeElement, 'groupsCollapseAll', value);
39
+ }
40
+ get cellActionMenu() {
41
+ return this.elementRef.nativeElement.cellActionMenu;
42
+ }
43
+ // Renaming because property should have camel casing, but attribute should not
44
+ // eslint-disable-next-line @angular-eslint/no-input-rename
45
+ set cellActionMenu(value) {
46
+ this.renderer.setProperty(this.elementRef.nativeElement, 'cellActionMenu', value);
47
+ }
48
+ get columnHeaderGroupedIndicator() {
49
+ return this.elementRef.nativeElement.columnHeaderGroupedIndicator;
50
+ }
51
+ // Renaming because property should have camel casing, but attribute should not
52
+ // eslint-disable-next-line @angular-eslint/no-input-rename
53
+ set columnHeaderGroupedIndicator(value) {
54
+ this.renderer.setProperty(this.elementRef.nativeElement, 'columnHeaderGroupedIndicator', value);
55
+ }
56
+ }
57
+ NimbleLabelProviderTableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
58
+ NimbleLabelProviderTableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleLabelProviderTableDirective, selector: "nimble-label-provider-table", inputs: { groupCollapse: ["group-collapse", "groupCollapse"], groupExpand: ["group-expand", "groupExpand"], groupsCollapseAll: ["groups-collapse-all", "groupsCollapseAll"], cellActionMenu: ["cell-action-menu", "cellActionMenu"], columnHeaderGroupedIndicator: ["column-header-grouped-indicator", "columnHeaderGroupedIndicator"] }, ngImport: i0 });
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableDirective, decorators: [{
60
+ type: Directive,
61
+ args: [{
62
+ selector: 'nimble-label-provider-table'
63
+ }]
64
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { groupCollapse: [{
65
+ type: Input,
66
+ args: ['group-collapse']
67
+ }], groupExpand: [{
68
+ type: Input,
69
+ args: ['group-expand']
70
+ }], groupsCollapseAll: [{
71
+ type: Input,
72
+ args: ['groups-collapse-all']
73
+ }], cellActionMenu: [{
74
+ type: Input,
75
+ args: ['cell-action-menu']
76
+ }], columnHeaderGroupedIndicator: [{
77
+ type: Input,
78
+ args: ['column-header-grouped-indicator']
79
+ }] } });
80
+
81
+ /**
82
+ * Directive for nimble-label-provider-table which will initialize all of the labels with $localize-tagged strings, for apps
83
+ * using @angular/localize.
84
+ */
85
+ class NimbleLabelProviderTableWithDefaultsDirective {
86
+ constructor(renderer, elementRef) {
87
+ this.renderer = renderer;
88
+ this.elementRef = elementRef;
89
+ this.elementRef.nativeElement.groupCollapse = $localize `:Nimble table - collapse group|:Collapse group`;
90
+ this.elementRef.nativeElement.groupExpand = $localize `:Nimble table - expand group|:Expand group`;
91
+ this.elementRef.nativeElement.groupsCollapseAll = $localize `:Nimble table - collapse all groups|:Collapse all groups`;
92
+ this.elementRef.nativeElement.cellActionMenu = $localize `:Nimble table - cell action menu|:Options`;
93
+ this.elementRef.nativeElement.columnHeaderGroupedIndicator = $localize `:Nimble table - column header grouped indicator|:Grouped`;
94
+ }
95
+ }
96
+ NimbleLabelProviderTableWithDefaultsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableWithDefaultsDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
97
+ NimbleLabelProviderTableWithDefaultsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleLabelProviderTableWithDefaultsDirective, selector: "nimble-label-provider-table[withDefaults]", ngImport: i0 });
98
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableWithDefaultsDirective, decorators: [{
99
+ type: Directive,
100
+ args: [{
101
+ selector: 'nimble-label-provider-table[withDefaults]'
102
+ }]
103
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; } });
104
+
105
+ class NimbleLabelProviderTableModule {
106
+ }
107
+ NimbleLabelProviderTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
108
+ NimbleLabelProviderTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableModule, declarations: [NimbleLabelProviderTableDirective, NimbleLabelProviderTableWithDefaultsDirective], imports: [CommonModule], exports: [NimbleLabelProviderTableDirective, NimbleLabelProviderTableWithDefaultsDirective] });
109
+ NimbleLabelProviderTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableModule, imports: [CommonModule] });
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableModule, decorators: [{
111
+ type: NgModule,
112
+ args: [{
113
+ declarations: [NimbleLabelProviderTableDirective, NimbleLabelProviderTableWithDefaultsDirective],
114
+ imports: [
115
+ CommonModule
116
+ ],
117
+ exports: [NimbleLabelProviderTableDirective, NimbleLabelProviderTableWithDefaultsDirective]
118
+ }]
119
+ }] });
120
+
121
+ /**
122
+ * Generated bundle index. Do not edit.
123
+ */
124
+
125
+ export { NimbleLabelProviderTableDirective, NimbleLabelProviderTableModule, NimbleLabelProviderTableWithDefaultsDirective };
126
+ //# sourceMappingURL=ni-nimble-angular-label-provider-table.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ni-nimble-angular-label-provider-table.mjs","sources":["../../../../projects/ni/nimble-angular/label-provider/table/nimble-label-provider-table.directive.ts","../../../../projects/ni/nimble-angular/label-provider/table/nimble-label-provider-table-with-defaults.directive.ts","../../../../projects/ni/nimble-angular/label-provider/table/nimble-label-provider-table.module.ts","../../../../projects/ni/nimble-angular/label-provider/table/ni-nimble-angular-label-provider-table.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { LabelProviderTable } from '@ni/nimble-components/dist/esm/label-provider/table';\n\nexport type { LabelProviderTable };\n\n/**\n * Directive to provide Angular integration for the nimble-table label provider.\n * To use the Nimble-provided strings declared via $localize, instead use NimbleLabelProviderTableWithDefaultsDirective.\n */\n@Directive({\n selector: 'nimble-label-provider-table'\n})\nexport class NimbleLabelProviderTableDirective {\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<LabelProviderTable>) {\n }\n\n public get groupCollapse(): string | undefined {\n return this.elementRef.nativeElement.groupCollapse;\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-collapse') public set groupCollapse(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupCollapse', value);\n }\n\n public get groupExpand(): string | undefined {\n return this.elementRef.nativeElement.groupExpand;\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-expand') public set groupExpand(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupExpand', value);\n }\n\n public get groupsCollapseAll(): string | undefined {\n return this.elementRef.nativeElement.groupsCollapseAll;\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('groups-collapse-all') public set groupsCollapseAll(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupsCollapseAll', value);\n }\n\n public get cellActionMenu(): string | undefined {\n return this.elementRef.nativeElement.cellActionMenu;\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('cell-action-menu') public set cellActionMenu(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'cellActionMenu', value);\n }\n\n public get columnHeaderGroupedIndicator(): string | undefined {\n return this.elementRef.nativeElement.columnHeaderGroupedIndicator;\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-header-grouped-indicator') public set columnHeaderGroupedIndicator(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'columnHeaderGroupedIndicator', value);\n }\n}","import { Directive, ElementRef, Renderer2 } from '@angular/core';\nimport type { LabelProviderTable } from '@ni/nimble-components/dist/esm/label-provider/table';\n\nimport '@angular/localize/init';\n\n/**\n * Directive for nimble-label-provider-table which will initialize all of the labels with $localize-tagged strings, for apps\n * using @angular/localize.\n */\n@Directive({\n selector: 'nimble-label-provider-table[withDefaults]'\n})\nexport class NimbleLabelProviderTableWithDefaultsDirective {\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<LabelProviderTable>) {\n this.elementRef.nativeElement.groupCollapse = $localize`:Nimble table - collapse group|:Collapse group`;\n this.elementRef.nativeElement.groupExpand = $localize`:Nimble table - expand group|:Expand group`;\n this.elementRef.nativeElement.groupsCollapseAll = $localize`:Nimble table - collapse all groups|:Collapse all groups`;\n this.elementRef.nativeElement.cellActionMenu = $localize`:Nimble table - cell action menu|:Options`;\n this.elementRef.nativeElement.columnHeaderGroupedIndicator = $localize`:Nimble table - column header grouped indicator|:Grouped`;\n }\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleLabelProviderTableDirective } from './nimble-label-provider-table.directive';\nimport { NimbleLabelProviderTableWithDefaultsDirective } from './nimble-label-provider-table-with-defaults.directive';\n\nimport '@ni/nimble-components/dist/esm/label-provider/table';\n\n@NgModule({\n declarations: [NimbleLabelProviderTableDirective, NimbleLabelProviderTableWithDefaultsDirective],\n imports: [\n CommonModule\n ],\n exports: [NimbleLabelProviderTableDirective, NimbleLabelProviderTableWithDefaultsDirective]\n})\nexport class NimbleLabelProviderTableModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAKA;;;AAGG;MAIU,iCAAiC,CAAA;IAC1C,WAAsC,CAAA,QAAmB,EAAqB,UAA0C,EAAA;AAAlF,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;AAAqB,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CAAgC;KACvH;AAED,IAAA,IAAW,aAAa,GAAA;AACpB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,aAAa,CAAC;KACtD;;;IAID,IAAoC,aAAa,CAAC,KAAyB,EAAA;AACvE,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,eAAe,EAAE,KAAK,CAAC,CAAC;KACpF;AAED,IAAA,IAAW,WAAW,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC;KACpD;;;IAID,IAAkC,WAAW,CAAC,KAAyB,EAAA;AACnE,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,aAAa,EAAE,KAAK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 -0,0 +1,102 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, Input, NgModule } from '@angular/core';
3
+ import '@angular/localize/init';
4
+ import { CommonModule } from '@angular/common';
5
+ import '@ni/nimble-components/dist/esm/label-provider/core';
6
+
7
+ /**
8
+ * Directive to provide Angular integration for the core label provider.
9
+ * To use the Nimble-provided strings declared via $localize, instead use NimbleLabelProviderTableWithDefaultsDirective.
10
+ */
11
+ class NimbleLabelProviderCoreDirective {
12
+ constructor(renderer, elementRef) {
13
+ this.renderer = renderer;
14
+ this.elementRef = elementRef;
15
+ }
16
+ get popupDismiss() {
17
+ return this.elementRef.nativeElement.popupDismiss;
18
+ }
19
+ // Renaming because property should have camel casing, but attribute should not
20
+ // eslint-disable-next-line @angular-eslint/no-input-rename
21
+ set popupDismiss(value) {
22
+ this.renderer.setProperty(this.elementRef.nativeElement, 'popupDismiss', value);
23
+ }
24
+ get numericDecrement() {
25
+ return this.elementRef.nativeElement.numericDecrement;
26
+ }
27
+ // Renaming because property should have camel casing, but attribute should not
28
+ // eslint-disable-next-line @angular-eslint/no-input-rename
29
+ set numericDecrement(value) {
30
+ this.renderer.setProperty(this.elementRef.nativeElement, 'numericDecrement', value);
31
+ }
32
+ get numericIncrement() {
33
+ return this.elementRef.nativeElement.numericIncrement;
34
+ }
35
+ // Renaming because property should have camel casing, but attribute should not
36
+ // eslint-disable-next-line @angular-eslint/no-input-rename
37
+ set numericIncrement(value) {
38
+ this.renderer.setProperty(this.elementRef.nativeElement, 'numericIncrement', value);
39
+ }
40
+ }
41
+ NimbleLabelProviderCoreDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
42
+ NimbleLabelProviderCoreDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleLabelProviderCoreDirective, selector: "nimble-label-provider-core", inputs: { popupDismiss: ["popup-dismiss", "popupDismiss"], numericDecrement: ["numeric-decrement", "numericDecrement"], numericIncrement: ["numeric-increment", "numericIncrement"] }, ngImport: i0 });
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreDirective, decorators: [{
44
+ type: Directive,
45
+ args: [{
46
+ selector: 'nimble-label-provider-core'
47
+ }]
48
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { popupDismiss: [{
49
+ type: Input,
50
+ args: ['popup-dismiss']
51
+ }], numericDecrement: [{
52
+ type: Input,
53
+ args: ['numeric-decrement']
54
+ }], numericIncrement: [{
55
+ type: Input,
56
+ args: ['numeric-increment']
57
+ }] } });
58
+
59
+ /**
60
+ * Directive for nimble-label-provider-core which will initialize all of the labels with $localize-tagged strings, for apps
61
+ * using @angular/localize.
62
+ */
63
+ class NimbleLabelProviderCoreWithDefaultsDirective {
64
+ constructor(renderer, elementRef) {
65
+ this.renderer = renderer;
66
+ this.elementRef = elementRef;
67
+ this.elementRef.nativeElement.popupDismiss = $localize `:Nimble popup - dismiss|:Close`;
68
+ this.elementRef.nativeElement.numericDecrement = $localize `:Nimble numeric - decrement|:Decrement`;
69
+ this.elementRef.nativeElement.numericIncrement = $localize `:Nimble numeric - increment|:Increment`;
70
+ }
71
+ }
72
+ NimbleLabelProviderCoreWithDefaultsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreWithDefaultsDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
73
+ NimbleLabelProviderCoreWithDefaultsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleLabelProviderCoreWithDefaultsDirective, selector: "nimble-label-provider-core[withDefaults]", ngImport: i0 });
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreWithDefaultsDirective, decorators: [{
75
+ type: Directive,
76
+ args: [{
77
+ selector: 'nimble-label-provider-core[withDefaults]'
78
+ }]
79
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; } });
80
+
81
+ class NimbleLabelProviderCoreModule {
82
+ }
83
+ NimbleLabelProviderCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
84
+ NimbleLabelProviderCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreModule, declarations: [NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreWithDefaultsDirective], imports: [CommonModule], exports: [NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreWithDefaultsDirective] });
85
+ NimbleLabelProviderCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreModule, imports: [CommonModule] });
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderCoreModule, decorators: [{
87
+ type: NgModule,
88
+ args: [{
89
+ declarations: [NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreWithDefaultsDirective],
90
+ imports: [
91
+ CommonModule
92
+ ],
93
+ exports: [NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreWithDefaultsDirective]
94
+ }]
95
+ }] });
96
+
97
+ /**
98
+ * Generated bundle index. Do not edit.
99
+ */
100
+
101
+ export { NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreModule, NimbleLabelProviderCoreWithDefaultsDirective };
102
+ //# sourceMappingURL=ni-nimble-angular-label-provider-core.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ni-nimble-angular-label-provider-core.mjs","sources":["../../../../projects/ni/nimble-angular/label-provider/core/nimble-label-provider-core.directive.ts","../../../../projects/ni/nimble-angular/label-provider/core/nimble-label-provider-core-with-defaults.directive.ts","../../../../projects/ni/nimble-angular/label-provider/core/nimble-label-provider-core.module.ts","../../../../projects/ni/nimble-angular/label-provider/core/ni-nimble-angular-label-provider-core.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { LabelProviderCore } from '@ni/nimble-components/dist/esm/label-provider/core';\n\nexport type { LabelProviderCore };\n\n/**\n * Directive to provide Angular integration for the core label provider.\n * To use the Nimble-provided strings declared via $localize, instead use NimbleLabelProviderTableWithDefaultsDirective.\n */\n@Directive({\n selector: 'nimble-label-provider-core'\n})\nexport class NimbleLabelProviderCoreDirective {\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<LabelProviderCore>) {\n }\n\n public get popupDismiss(): string | undefined {\n return this.elementRef.nativeElement.popupDismiss;\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('popup-dismiss') public set popupDismiss(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'popupDismiss', value);\n }\n\n public get numericDecrement(): string | undefined {\n return this.elementRef.nativeElement.numericDecrement;\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('numeric-decrement') public set numericDecrement(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'numericDecrement', value);\n }\n\n public get numericIncrement(): string | undefined {\n return this.elementRef.nativeElement.numericIncrement;\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('numeric-increment') public set numericIncrement(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'numericIncrement', value);\n }\n}","import { Directive, ElementRef, Renderer2 } from '@angular/core';\nimport type { LabelProviderCore } from '@ni/nimble-components/dist/esm/label-provider/core';\n\nimport '@angular/localize/init';\n\n/**\n * Directive for nimble-label-provider-core which will initialize all of the labels with $localize-tagged strings, for apps\n * using @angular/localize.\n */\n@Directive({\n selector: 'nimble-label-provider-core[withDefaults]'\n})\nexport class NimbleLabelProviderCoreWithDefaultsDirective {\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<LabelProviderCore>) {\n this.elementRef.nativeElement.popupDismiss = $localize`:Nimble popup - dismiss|:Close`;\n this.elementRef.nativeElement.numericDecrement = $localize`:Nimble numeric - decrement|:Decrement`;\n this.elementRef.nativeElement.numericIncrement = $localize`:Nimble numeric - increment|:Increment`;\n }\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleLabelProviderCoreDirective } from './nimble-label-provider-core.directive';\nimport { NimbleLabelProviderCoreWithDefaultsDirective } from './nimble-label-provider-core-with-defaults.directive';\n\nimport '@ni/nimble-components/dist/esm/label-provider/core';\n\n@NgModule({\n declarations: [NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreWithDefaultsDirective],\n imports: [\n CommonModule\n ],\n exports: [NimbleLabelProviderCoreDirective, NimbleLabelProviderCoreWithDefaultsDirective]\n})\nexport class NimbleLabelProviderCoreModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAKA;;;AAGG;MAIU,gCAAgC,CAAA;IACzC,WAAsC,CAAA,QAAmB,EAAqB,UAAyC,EAAA;QAAjF,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA,GAAV,UAAU,CAA+B;KACtH;AAED,IAAA,IAAW,YAAY,GAAA;AACnB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,YAAY,CAAC;KACrD;;;IAID,IAAmC,YAAY,CAAC,KAAyB,EAAA;AACrE,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,CAAA,CAAA;2HAA7B,6BAA6B,EAAA,YAAA,EAAA,CANvB,gCAAgC,EAAE,4CAA4C,aAEzF,YAAY,CAAA,EAAA,OAAA,EAAA,CAEN,gCAAgC,EAAE,4CAA4C,CAAA,EAAA,CAAA,CAAA;AAE/E,6BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,6BAA6B,YAJlC,YAAY,CAAA,EAAA,CAAA,CAAA;2FAIP,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAPzC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE,CAAC,gCAAgC,EAAE,4CAA4C,CAAC;AAC9F,oBAAA,OAAO,EAAE;wBACL,YAAY;AACf,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,gCAAgC,EAAE,4CAA4C,CAAC;AAC5F,iBAAA,CAAA;;;ACbD;;AAEG;;;;"}
@@ -0,0 +1,126 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, Input, NgModule } from '@angular/core';
3
+ import '@angular/localize/init';
4
+ import { CommonModule } from '@angular/common';
5
+ import '@ni/nimble-components/dist/esm/label-provider/table';
6
+
7
+ /**
8
+ * Directive to provide Angular integration for the nimble-table label provider.
9
+ * To use the Nimble-provided strings declared via $localize, instead use NimbleLabelProviderTableWithDefaultsDirective.
10
+ */
11
+ class NimbleLabelProviderTableDirective {
12
+ constructor(renderer, elementRef) {
13
+ this.renderer = renderer;
14
+ this.elementRef = elementRef;
15
+ }
16
+ get groupCollapse() {
17
+ return this.elementRef.nativeElement.groupCollapse;
18
+ }
19
+ // Renaming because property should have camel casing, but attribute should not
20
+ // eslint-disable-next-line @angular-eslint/no-input-rename
21
+ set groupCollapse(value) {
22
+ this.renderer.setProperty(this.elementRef.nativeElement, 'groupCollapse', value);
23
+ }
24
+ get groupExpand() {
25
+ return this.elementRef.nativeElement.groupExpand;
26
+ }
27
+ // Renaming because property should have camel casing, but attribute should not
28
+ // eslint-disable-next-line @angular-eslint/no-input-rename
29
+ set groupExpand(value) {
30
+ this.renderer.setProperty(this.elementRef.nativeElement, 'groupExpand', value);
31
+ }
32
+ get groupsCollapseAll() {
33
+ return this.elementRef.nativeElement.groupsCollapseAll;
34
+ }
35
+ // Renaming because property should have camel casing, but attribute should not
36
+ // eslint-disable-next-line @angular-eslint/no-input-rename
37
+ set groupsCollapseAll(value) {
38
+ this.renderer.setProperty(this.elementRef.nativeElement, 'groupsCollapseAll', value);
39
+ }
40
+ get cellActionMenu() {
41
+ return this.elementRef.nativeElement.cellActionMenu;
42
+ }
43
+ // Renaming because property should have camel casing, but attribute should not
44
+ // eslint-disable-next-line @angular-eslint/no-input-rename
45
+ set cellActionMenu(value) {
46
+ this.renderer.setProperty(this.elementRef.nativeElement, 'cellActionMenu', value);
47
+ }
48
+ get columnHeaderGroupedIndicator() {
49
+ return this.elementRef.nativeElement.columnHeaderGroupedIndicator;
50
+ }
51
+ // Renaming because property should have camel casing, but attribute should not
52
+ // eslint-disable-next-line @angular-eslint/no-input-rename
53
+ set columnHeaderGroupedIndicator(value) {
54
+ this.renderer.setProperty(this.elementRef.nativeElement, 'columnHeaderGroupedIndicator', value);
55
+ }
56
+ }
57
+ NimbleLabelProviderTableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
58
+ NimbleLabelProviderTableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleLabelProviderTableDirective, selector: "nimble-label-provider-table", inputs: { groupCollapse: ["group-collapse", "groupCollapse"], groupExpand: ["group-expand", "groupExpand"], groupsCollapseAll: ["groups-collapse-all", "groupsCollapseAll"], cellActionMenu: ["cell-action-menu", "cellActionMenu"], columnHeaderGroupedIndicator: ["column-header-grouped-indicator", "columnHeaderGroupedIndicator"] }, ngImport: i0 });
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableDirective, decorators: [{
60
+ type: Directive,
61
+ args: [{
62
+ selector: 'nimble-label-provider-table'
63
+ }]
64
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { groupCollapse: [{
65
+ type: Input,
66
+ args: ['group-collapse']
67
+ }], groupExpand: [{
68
+ type: Input,
69
+ args: ['group-expand']
70
+ }], groupsCollapseAll: [{
71
+ type: Input,
72
+ args: ['groups-collapse-all']
73
+ }], cellActionMenu: [{
74
+ type: Input,
75
+ args: ['cell-action-menu']
76
+ }], columnHeaderGroupedIndicator: [{
77
+ type: Input,
78
+ args: ['column-header-grouped-indicator']
79
+ }] } });
80
+
81
+ /**
82
+ * Directive for nimble-label-provider-table which will initialize all of the labels with $localize-tagged strings, for apps
83
+ * using @angular/localize.
84
+ */
85
+ class NimbleLabelProviderTableWithDefaultsDirective {
86
+ constructor(renderer, elementRef) {
87
+ this.renderer = renderer;
88
+ this.elementRef = elementRef;
89
+ this.elementRef.nativeElement.groupCollapse = $localize `:Nimble table - collapse group|:Collapse group`;
90
+ this.elementRef.nativeElement.groupExpand = $localize `:Nimble table - expand group|:Expand group`;
91
+ this.elementRef.nativeElement.groupsCollapseAll = $localize `:Nimble table - collapse all groups|:Collapse all groups`;
92
+ this.elementRef.nativeElement.cellActionMenu = $localize `:Nimble table - cell action menu|:Options`;
93
+ this.elementRef.nativeElement.columnHeaderGroupedIndicator = $localize `:Nimble table - column header grouped indicator|:Grouped`;
94
+ }
95
+ }
96
+ NimbleLabelProviderTableWithDefaultsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableWithDefaultsDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
97
+ NimbleLabelProviderTableWithDefaultsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.3.0", type: NimbleLabelProviderTableWithDefaultsDirective, selector: "nimble-label-provider-table[withDefaults]", ngImport: i0 });
98
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableWithDefaultsDirective, decorators: [{
99
+ type: Directive,
100
+ args: [{
101
+ selector: 'nimble-label-provider-table[withDefaults]'
102
+ }]
103
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; } });
104
+
105
+ class NimbleLabelProviderTableModule {
106
+ }
107
+ NimbleLabelProviderTableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
108
+ NimbleLabelProviderTableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableModule, declarations: [NimbleLabelProviderTableDirective, NimbleLabelProviderTableWithDefaultsDirective], imports: [CommonModule], exports: [NimbleLabelProviderTableDirective, NimbleLabelProviderTableWithDefaultsDirective] });
109
+ NimbleLabelProviderTableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableModule, imports: [CommonModule] });
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NimbleLabelProviderTableModule, decorators: [{
111
+ type: NgModule,
112
+ args: [{
113
+ declarations: [NimbleLabelProviderTableDirective, NimbleLabelProviderTableWithDefaultsDirective],
114
+ imports: [
115
+ CommonModule
116
+ ],
117
+ exports: [NimbleLabelProviderTableDirective, NimbleLabelProviderTableWithDefaultsDirective]
118
+ }]
119
+ }] });
120
+
121
+ /**
122
+ * Generated bundle index. Do not edit.
123
+ */
124
+
125
+ export { NimbleLabelProviderTableDirective, NimbleLabelProviderTableModule, NimbleLabelProviderTableWithDefaultsDirective };
126
+ //# sourceMappingURL=ni-nimble-angular-label-provider-table.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ni-nimble-angular-label-provider-table.mjs","sources":["../../../../projects/ni/nimble-angular/label-provider/table/nimble-label-provider-table.directive.ts","../../../../projects/ni/nimble-angular/label-provider/table/nimble-label-provider-table-with-defaults.directive.ts","../../../../projects/ni/nimble-angular/label-provider/table/nimble-label-provider-table.module.ts","../../../../projects/ni/nimble-angular/label-provider/table/ni-nimble-angular-label-provider-table.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { LabelProviderTable } from '@ni/nimble-components/dist/esm/label-provider/table';\n\nexport type { LabelProviderTable };\n\n/**\n * Directive to provide Angular integration for the nimble-table label provider.\n * To use the Nimble-provided strings declared via $localize, instead use NimbleLabelProviderTableWithDefaultsDirective.\n */\n@Directive({\n selector: 'nimble-label-provider-table'\n})\nexport class NimbleLabelProviderTableDirective {\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<LabelProviderTable>) {\n }\n\n public get groupCollapse(): string | undefined {\n return this.elementRef.nativeElement.groupCollapse;\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-collapse') public set groupCollapse(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupCollapse', value);\n }\n\n public get groupExpand(): string | undefined {\n return this.elementRef.nativeElement.groupExpand;\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-expand') public set groupExpand(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupExpand', value);\n }\n\n public get groupsCollapseAll(): string | undefined {\n return this.elementRef.nativeElement.groupsCollapseAll;\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('groups-collapse-all') public set groupsCollapseAll(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'groupsCollapseAll', value);\n }\n\n public get cellActionMenu(): string | undefined {\n return this.elementRef.nativeElement.cellActionMenu;\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('cell-action-menu') public set cellActionMenu(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'cellActionMenu', value);\n }\n\n public get columnHeaderGroupedIndicator(): string | undefined {\n return this.elementRef.nativeElement.columnHeaderGroupedIndicator;\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-header-grouped-indicator') public set columnHeaderGroupedIndicator(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'columnHeaderGroupedIndicator', value);\n }\n}","import { Directive, ElementRef, Renderer2 } from '@angular/core';\nimport type { LabelProviderTable } from '@ni/nimble-components/dist/esm/label-provider/table';\n\nimport '@angular/localize/init';\n\n/**\n * Directive for nimble-label-provider-table which will initialize all of the labels with $localize-tagged strings, for apps\n * using @angular/localize.\n */\n@Directive({\n selector: 'nimble-label-provider-table[withDefaults]'\n})\nexport class NimbleLabelProviderTableWithDefaultsDirective {\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<LabelProviderTable>) {\n this.elementRef.nativeElement.groupCollapse = $localize`:Nimble table - collapse group|:Collapse group`;\n this.elementRef.nativeElement.groupExpand = $localize`:Nimble table - expand group|:Expand group`;\n this.elementRef.nativeElement.groupsCollapseAll = $localize`:Nimble table - collapse all groups|:Collapse all groups`;\n this.elementRef.nativeElement.cellActionMenu = $localize`:Nimble table - cell action menu|:Options`;\n this.elementRef.nativeElement.columnHeaderGroupedIndicator = $localize`:Nimble table - column header grouped indicator|:Grouped`;\n }\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleLabelProviderTableDirective } from './nimble-label-provider-table.directive';\nimport { NimbleLabelProviderTableWithDefaultsDirective } from './nimble-label-provider-table-with-defaults.directive';\n\nimport '@ni/nimble-components/dist/esm/label-provider/table';\n\n@NgModule({\n declarations: [NimbleLabelProviderTableDirective, NimbleLabelProviderTableWithDefaultsDirective],\n imports: [\n CommonModule\n ],\n exports: [NimbleLabelProviderTableDirective, NimbleLabelProviderTableWithDefaultsDirective]\n})\nexport class NimbleLabelProviderTableModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAKA;;;AAGG;MAIU,iCAAiC,CAAA;IAC1C,WAAsC,CAAA,QAAmB,EAAqB,UAA0C,EAAA;QAAlF,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAgC;KACvH;AAED,IAAA,IAAW,aAAa,GAAA;AACpB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,aAAa,CAAC;KACtD;;;IAID,IAAoC,aAAa,CAAC,KAAyB,EAAA;AACvE,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,eAAe,EAAE,KAAK,CAAC,CAAC;KACpF;AAED,IAAA,IAAW,WAAW,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC;KACpD;;;IAID,IAAkC,WAAW,CAAC,KAAyB,EAAA;AACnE,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;KAClF;AAED,IAAA,IAAW,iBAAiB,GAAA;AACxB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAA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/core" />
5
+ export * from './public-api';
@@ -0,0 +1,15 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
2
+ import type { LabelProviderCore } from '@ni/nimble-components/dist/esm/label-provider/core';
3
+ import '@angular/localize/init';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Directive for nimble-label-provider-core which will initialize all of the labels with $localize-tagged strings, for apps
7
+ * using @angular/localize.
8
+ */
9
+ export declare class NimbleLabelProviderCoreWithDefaultsDirective {
10
+ protected readonly renderer: Renderer2;
11
+ protected readonly elementRef: ElementRef<LabelProviderCore>;
12
+ constructor(renderer: Renderer2, elementRef: ElementRef<LabelProviderCore>);
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<NimbleLabelProviderCoreWithDefaultsDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleLabelProviderCoreWithDefaultsDirective, "nimble-label-provider-core[withDefaults]", never, {}, {}, never, never, false>;
15
+ }
@@ -0,0 +1,21 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
2
+ import type { LabelProviderCore } from '@ni/nimble-components/dist/esm/label-provider/core';
3
+ import * as i0 from "@angular/core";
4
+ export type { LabelProviderCore };
5
+ /**
6
+ * Directive to provide Angular integration for the core label provider.
7
+ * To use the Nimble-provided strings declared via $localize, instead use NimbleLabelProviderTableWithDefaultsDirective.
8
+ */
9
+ export declare class NimbleLabelProviderCoreDirective {
10
+ protected readonly renderer: Renderer2;
11
+ protected readonly elementRef: ElementRef<LabelProviderCore>;
12
+ constructor(renderer: Renderer2, elementRef: ElementRef<LabelProviderCore>);
13
+ get popupDismiss(): string | undefined;
14
+ set popupDismiss(value: string | undefined);
15
+ get numericDecrement(): string | undefined;
16
+ set numericDecrement(value: string | undefined);
17
+ get numericIncrement(): string | undefined;
18
+ set numericIncrement(value: string | undefined);
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<NimbleLabelProviderCoreDirective, never>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleLabelProviderCoreDirective, "nimble-label-provider-core", never, { "popupDismiss": "popup-dismiss"; "numericDecrement": "numeric-decrement"; "numericIncrement": "numeric-increment"; }, {}, never, never, false>;
21
+ }
@@ -0,0 +1,10 @@
1
+ import '@ni/nimble-components/dist/esm/label-provider/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./nimble-label-provider-core.directive";
4
+ import * as i2 from "./nimble-label-provider-core-with-defaults.directive";
5
+ import * as i3 from "@angular/common";
6
+ export declare class NimbleLabelProviderCoreModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<NimbleLabelProviderCoreModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleLabelProviderCoreModule, [typeof i1.NimbleLabelProviderCoreDirective, typeof i2.NimbleLabelProviderCoreWithDefaultsDirective], [typeof i3.CommonModule], [typeof i1.NimbleLabelProviderCoreDirective, typeof i2.NimbleLabelProviderCoreWithDefaultsDirective]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<NimbleLabelProviderCoreModule>;
10
+ }
@@ -0,0 +1,3 @@
1
+ export * from './nimble-label-provider-core.directive';
2
+ export * from './nimble-label-provider-core-with-defaults.directive';
3
+ export * from './nimble-label-provider-core.module';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@ni/nimble-angular/label-provider/table" />
5
+ export * from './public-api';
@@ -0,0 +1,15 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
2
+ import type { LabelProviderTable } from '@ni/nimble-components/dist/esm/label-provider/table';
3
+ import '@angular/localize/init';
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Directive for nimble-label-provider-table which will initialize all of the labels with $localize-tagged strings, for apps
7
+ * using @angular/localize.
8
+ */
9
+ export declare class NimbleLabelProviderTableWithDefaultsDirective {
10
+ protected readonly renderer: Renderer2;
11
+ protected readonly elementRef: ElementRef<LabelProviderTable>;
12
+ constructor(renderer: Renderer2, elementRef: ElementRef<LabelProviderTable>);
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<NimbleLabelProviderTableWithDefaultsDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleLabelProviderTableWithDefaultsDirective, "nimble-label-provider-table[withDefaults]", never, {}, {}, never, never, false>;
15
+ }
@@ -0,0 +1,25 @@
1
+ import { ElementRef, Renderer2 } from '@angular/core';
2
+ import type { LabelProviderTable } from '@ni/nimble-components/dist/esm/label-provider/table';
3
+ import * as i0 from "@angular/core";
4
+ export type { LabelProviderTable };
5
+ /**
6
+ * Directive to provide Angular integration for the nimble-table label provider.
7
+ * To use the Nimble-provided strings declared via $localize, instead use NimbleLabelProviderTableWithDefaultsDirective.
8
+ */
9
+ export declare class NimbleLabelProviderTableDirective {
10
+ protected readonly renderer: Renderer2;
11
+ protected readonly elementRef: ElementRef<LabelProviderTable>;
12
+ constructor(renderer: Renderer2, elementRef: ElementRef<LabelProviderTable>);
13
+ get groupCollapse(): string | undefined;
14
+ set groupCollapse(value: string | undefined);
15
+ get groupExpand(): string | undefined;
16
+ set groupExpand(value: string | undefined);
17
+ get groupsCollapseAll(): string | undefined;
18
+ set groupsCollapseAll(value: string | undefined);
19
+ get cellActionMenu(): string | undefined;
20
+ set cellActionMenu(value: string | undefined);
21
+ get columnHeaderGroupedIndicator(): string | undefined;
22
+ set columnHeaderGroupedIndicator(value: string | undefined);
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<NimbleLabelProviderTableDirective, never>;
24
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleLabelProviderTableDirective, "nimble-label-provider-table", never, { "groupCollapse": "group-collapse"; "groupExpand": "group-expand"; "groupsCollapseAll": "groups-collapse-all"; "cellActionMenu": "cell-action-menu"; "columnHeaderGroupedIndicator": "column-header-grouped-indicator"; }, {}, never, never, false>;
25
+ }
@@ -0,0 +1,10 @@
1
+ import '@ni/nimble-components/dist/esm/label-provider/table';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./nimble-label-provider-table.directive";
4
+ import * as i2 from "./nimble-label-provider-table-with-defaults.directive";
5
+ import * as i3 from "@angular/common";
6
+ export declare class NimbleLabelProviderTableModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<NimbleLabelProviderTableModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleLabelProviderTableModule, [typeof i1.NimbleLabelProviderTableDirective, typeof i2.NimbleLabelProviderTableWithDefaultsDirective], [typeof i3.CommonModule], [typeof i1.NimbleLabelProviderTableDirective, typeof i2.NimbleLabelProviderTableWithDefaultsDirective]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<NimbleLabelProviderTableModule>;
10
+ }
@@ -0,0 +1,3 @@
1
+ export * from './nimble-label-provider-table.directive';
2
+ export * from './nimble-label-provider-table-with-defaults.directive';
3
+ export * from './nimble-label-provider-table.module';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ni/nimble-angular",
3
- "version": "16.8.9",
3
+ "version": "16.9.1",
4
4
  "description": "Angular components for the NI Nimble Design System",
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,6 +37,22 @@
37
37
  "node": "./fesm2015/ni-nimble-angular-internal-utilities.mjs",
38
38
  "default": "./fesm2020/ni-nimble-angular-internal-utilities.mjs"
39
39
  },
40
+ "./label-provider/core": {
41
+ "types": "./label-provider/core/index.d.ts",
42
+ "esm2020": "./esm2020/label-provider/core/ni-nimble-angular-label-provider-core.mjs",
43
+ "es2020": "./fesm2020/ni-nimble-angular-label-provider-core.mjs",
44
+ "es2015": "./fesm2015/ni-nimble-angular-label-provider-core.mjs",
45
+ "node": "./fesm2015/ni-nimble-angular-label-provider-core.mjs",
46
+ "default": "./fesm2020/ni-nimble-angular-label-provider-core.mjs"
47
+ },
48
+ "./label-provider/table": {
49
+ "types": "./label-provider/table/index.d.ts",
50
+ "esm2020": "./esm2020/label-provider/table/ni-nimble-angular-label-provider-table.mjs",
51
+ "es2020": "./fesm2020/ni-nimble-angular-label-provider-table.mjs",
52
+ "es2015": "./fesm2015/ni-nimble-angular-label-provider-table.mjs",
53
+ "node": "./fesm2015/ni-nimble-angular-label-provider-table.mjs",
54
+ "default": "./fesm2020/ni-nimble-angular-label-provider-table.mjs"
55
+ },
40
56
  "./rich-text-viewer": {
41
57
  "types": "./rich-text-viewer/index.d.ts",
42
58
  "esm2020": "./esm2020/rich-text-viewer/ni-nimble-angular-rich-text-viewer.mjs",
@@ -90,8 +106,9 @@
90
106
  "@angular/common": "^14.2.0",
91
107
  "@angular/core": "^14.2.0",
92
108
  "@angular/forms": "^14.2.0",
109
+ "@angular/localize": "^14.2.0",
93
110
  "@angular/router": "^14.2.0",
94
- "@ni/nimble-components": "^19.9.0"
111
+ "@ni/nimble-components": "^19.9.1"
95
112
  },
96
113
  "dependencies": {
97
114
  "tslib": "^2.2.0"