@ni/nimble-angular 1.0.0-beta.98 → 1.1.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/README.md +87 -21
- package/bundles/ni-nimble-angular.umd.js +1422 -1045
- package/bundles/ni-nimble-angular.umd.js.map +1 -1
- package/directives/button/nimble-button.directive.d.ts +17 -5
- package/directives/button/nimble-button.module.d.ts +0 -6
- package/directives/button/nimble-button.module.ngfactory.d.ts +3 -0
- package/directives/checkbox/nimble-checkbox-control-value-accessor.directive.d.ts +1 -4
- package/directives/checkbox/nimble-checkbox.directive.d.ts +2 -3
- package/directives/checkbox/nimble-checkbox.module.d.ts +0 -7
- package/directives/checkbox/nimble-checkbox.module.ngfactory.d.ts +3 -0
- package/directives/drawer/nimble-drawer.directive.d.ts +25 -0
- package/directives/drawer/nimble-drawer.module.d.ts +3 -0
- package/directives/drawer/nimble-drawer.module.ngfactory.d.ts +3 -0
- package/directives/listbox-option/nimble-listbox-option.directive.d.ts +9 -7
- package/directives/listbox-option/nimble-listbox-option.module.d.ts +0 -6
- package/directives/listbox-option/nimble-listbox-option.module.ngfactory.d.ts +3 -0
- package/directives/menu/nimble-menu.directive.d.ts +7 -0
- package/directives/menu/nimble-menu.module.d.ts +3 -0
- package/directives/menu/nimble-menu.module.ngfactory.d.ts +3 -0
- package/directives/menu-item/nimble-menu-item.directive.d.ts +14 -0
- package/directives/menu-item/nimble-menu-item.module.d.ts +3 -0
- package/directives/menu-item/nimble-menu-item.module.ngfactory.d.ts +3 -0
- package/directives/number-field/nimble-number-field-control-value-accessor.directive.d.ts +9 -0
- package/directives/number-field/nimble-number-field.directive.d.ts +17 -8
- package/directives/number-field/nimble-number-field.module.d.ts +0 -7
- package/directives/number-field/nimble-number-field.module.ngfactory.d.ts +3 -0
- package/directives/select/nimble-select-control-value-accessor.directive.d.ts +0 -3
- package/directives/select/nimble-select.directive.d.ts +2 -3
- package/directives/select/nimble-select.module.d.ts +0 -7
- package/directives/select/nimble-select.module.ngfactory.d.ts +3 -0
- package/directives/tab/nimble-tab.directive.d.ts +9 -4
- package/directives/tab/nimble-tab.module.d.ts +0 -6
- package/directives/tab/nimble-tab.module.ngfactory.d.ts +3 -0
- package/directives/tab-panel/nimble-tab-panel.directive.d.ts +2 -3
- package/directives/tab-panel/nimble-tab-panel.module.d.ts +0 -6
- package/directives/tab-panel/nimble-tab-panel.module.ngfactory.d.ts +3 -0
- package/directives/tabs/nimble-tabs.directive.d.ts +9 -9
- package/directives/tabs/nimble-tabs.module.d.ts +0 -6
- package/directives/tabs/nimble-tabs.module.ngfactory.d.ts +3 -0
- package/directives/tabs-toolbar/nimble-tabs-toolbar.directive.d.ts +2 -3
- package/directives/tabs-toolbar/nimble-tabs-toolbar.module.d.ts +0 -6
- package/directives/tabs-toolbar/nimble-tabs-toolbar.module.ngfactory.d.ts +3 -0
- package/directives/text-field/nimble-text-field-control-value-accessor.directive.d.ts +9 -0
- package/directives/text-field/nimble-text-field.directive.d.ts +14 -4
- package/directives/text-field/nimble-text-field.module.d.ts +0 -7
- package/directives/text-field/nimble-text-field.module.ngfactory.d.ts +3 -0
- package/directives/theme-provider/nimble-theme-provider.directive.d.ts +11 -4
- package/directives/theme-provider/nimble-theme-provider.module.d.ts +0 -6
- package/directives/theme-provider/nimble-theme-provider.module.ngfactory.d.ts +3 -0
- package/directives/toggle-button/nimble-toggle-button-control-value-accessor.directive.d.ts +9 -0
- package/directives/toggle-button/nimble-toggle-button.directive.d.ts +22 -0
- package/directives/toggle-button/nimble-toggle-button.module.d.ts +3 -0
- package/directives/toggle-button/nimble-toggle-button.module.ngfactory.d.ts +3 -0
- package/directives/tree-item/nimble-tree-item.directive.d.ts +14 -13
- package/directives/tree-item/nimble-tree-item.module.d.ts +0 -6
- package/directives/tree-item/nimble-tree-item.module.ngfactory.d.ts +3 -0
- package/directives/tree-view/nimble-tree-view.directive.d.ts +11 -3
- package/directives/tree-view/nimble-tree-view.module.d.ts +0 -6
- package/directives/tree-view/nimble-tree-view.module.ngfactory.d.ts +3 -0
- package/directives/utilities/template-value-helpers.d.ts +20 -0
- package/esm2015/directives/button/nimble-button.directive.js +50 -21
- package/esm2015/directives/button/nimble-button.directive.ngsummary.json +1 -0
- package/esm2015/directives/button/nimble-button.module.js +8 -13
- package/esm2015/directives/button/nimble-button.module.ngfactory.js +12 -0
- package/esm2015/directives/button/nimble-button.module.ngsummary.json +1 -0
- package/esm2015/directives/checkbox/nimble-checkbox-control-value-accessor.directive.js +15 -23
- package/esm2015/directives/checkbox/nimble-checkbox-control-value-accessor.directive.ngsummary.json +1 -0
- package/esm2015/directives/checkbox/nimble-checkbox.directive.js +6 -10
- package/esm2015/directives/checkbox/nimble-checkbox.directive.ngsummary.json +1 -0
- package/esm2015/directives/checkbox/nimble-checkbox.module.js +8 -13
- package/esm2015/directives/checkbox/nimble-checkbox.module.ngfactory.js +12 -0
- package/esm2015/directives/checkbox/nimble-checkbox.module.ngsummary.json +1 -0
- package/esm2015/directives/drawer/nimble-drawer.directive.js +60 -0
- package/esm2015/directives/drawer/nimble-drawer.directive.ngsummary.json +1 -0
- package/esm2015/directives/drawer/nimble-drawer.module.js +14 -0
- package/esm2015/directives/drawer/nimble-drawer.module.ngfactory.js +12 -0
- package/esm2015/directives/drawer/nimble-drawer.module.ngsummary.json +1 -0
- package/esm2015/directives/listbox-option/nimble-listbox-option.directive.js +27 -23
- package/esm2015/directives/listbox-option/nimble-listbox-option.directive.ngsummary.json +1 -0
- package/esm2015/directives/listbox-option/nimble-listbox-option.module.js +8 -13
- package/esm2015/directives/listbox-option/nimble-listbox-option.module.ngfactory.js +12 -0
- package/esm2015/directives/listbox-option/nimble-listbox-option.module.ngsummary.json +1 -0
- package/esm2015/directives/menu/nimble-menu.directive.js +12 -0
- package/esm2015/directives/menu/nimble-menu.directive.ngsummary.json +1 -0
- package/esm2015/directives/menu/nimble-menu.module.js +14 -0
- package/esm2015/directives/menu/nimble-menu.module.ngfactory.js +12 -0
- package/esm2015/directives/menu/nimble-menu.module.ngsummary.json +1 -0
- package/esm2015/directives/menu-item/nimble-menu-item.directive.js +30 -0
- package/esm2015/directives/menu-item/nimble-menu-item.directive.ngsummary.json +1 -0
- package/esm2015/directives/menu-item/nimble-menu-item.module.js +14 -0
- package/esm2015/directives/menu-item/nimble-menu-item.module.ngfactory.js +12 -0
- package/esm2015/directives/menu-item/nimble-menu-item.module.ngsummary.json +1 -0
- package/esm2015/directives/number-field/nimble-number-field-control-value-accessor.directive.js +24 -0
- package/esm2015/directives/number-field/nimble-number-field-control-value-accessor.directive.ngsummary.json +1 -0
- package/esm2015/directives/number-field/nimble-number-field.directive.js +56 -36
- package/esm2015/directives/number-field/nimble-number-field.directive.ngsummary.json +1 -0
- package/esm2015/directives/number-field/nimble-number-field.module.js +9 -15
- package/esm2015/directives/number-field/nimble-number-field.module.ngfactory.js +12 -0
- package/esm2015/directives/number-field/nimble-number-field.module.ngsummary.json +1 -0
- package/esm2015/directives/select/nimble-select-control-value-accessor.directive.js +14 -22
- package/esm2015/directives/select/nimble-select-control-value-accessor.directive.ngsummary.json +1 -0
- package/esm2015/directives/select/nimble-select.directive.js +6 -10
- package/esm2015/directives/select/nimble-select.directive.ngsummary.json +1 -0
- package/esm2015/directives/select/nimble-select.module.js +8 -13
- package/esm2015/directives/select/nimble-select.module.ngfactory.js +12 -0
- package/esm2015/directives/select/nimble-select.module.ngsummary.json +1 -0
- package/esm2015/directives/tab/nimble-tab.directive.js +25 -16
- package/esm2015/directives/tab/nimble-tab.directive.ngsummary.json +1 -0
- package/esm2015/directives/tab/nimble-tab.module.js +8 -13
- package/esm2015/directives/tab/nimble-tab.module.ngfactory.js +12 -0
- package/esm2015/directives/tab/nimble-tab.module.ngsummary.json +1 -0
- package/esm2015/directives/tab-panel/nimble-tab-panel.directive.js +6 -10
- package/esm2015/directives/tab-panel/nimble-tab-panel.directive.ngsummary.json +1 -0
- package/esm2015/directives/tab-panel/nimble-tab-panel.module.js +8 -13
- package/esm2015/directives/tab-panel/nimble-tab-panel.module.ngfactory.js +12 -0
- package/esm2015/directives/tab-panel/nimble-tab-panel.module.ngsummary.json +1 -0
- package/esm2015/directives/tabs/nimble-tabs.directive.js +29 -25
- package/esm2015/directives/tabs/nimble-tabs.directive.ngsummary.json +1 -0
- package/esm2015/directives/tabs/nimble-tabs.module.js +8 -13
- package/esm2015/directives/tabs/nimble-tabs.module.ngfactory.js +12 -0
- package/esm2015/directives/tabs/nimble-tabs.module.ngsummary.json +1 -0
- package/esm2015/directives/tabs-toolbar/nimble-tabs-toolbar.directive.js +6 -10
- package/esm2015/directives/tabs-toolbar/nimble-tabs-toolbar.directive.ngsummary.json +1 -0
- package/esm2015/directives/tabs-toolbar/nimble-tabs-toolbar.module.js +8 -13
- package/esm2015/directives/tabs-toolbar/nimble-tabs-toolbar.module.ngfactory.js +12 -0
- package/esm2015/directives/tabs-toolbar/nimble-tabs-toolbar.module.ngsummary.json +1 -0
- package/esm2015/directives/text-field/nimble-text-field-control-value-accessor.directive.js +29 -0
- package/esm2015/directives/text-field/nimble-text-field-control-value-accessor.directive.ngsummary.json +1 -0
- package/esm2015/directives/text-field/nimble-text-field.directive.js +37 -16
- package/esm2015/directives/text-field/nimble-text-field.directive.ngsummary.json +1 -0
- package/esm2015/directives/text-field/nimble-text-field.module.js +9 -15
- package/esm2015/directives/text-field/nimble-text-field.module.ngfactory.js +12 -0
- package/esm2015/directives/text-field/nimble-text-field.module.ngsummary.json +1 -0
- package/esm2015/directives/theme-provider/nimble-theme-provider.directive.js +26 -16
- package/esm2015/directives/theme-provider/nimble-theme-provider.directive.ngsummary.json +1 -0
- package/esm2015/directives/theme-provider/nimble-theme-provider.module.js +8 -13
- package/esm2015/directives/theme-provider/nimble-theme-provider.module.ngfactory.js +12 -0
- package/esm2015/directives/theme-provider/nimble-theme-provider.module.ngsummary.json +1 -0
- package/esm2015/directives/toggle-button/nimble-toggle-button-control-value-accessor.directive.js +24 -0
- package/esm2015/directives/toggle-button/nimble-toggle-button-control-value-accessor.directive.ngsummary.json +1 -0
- package/esm2015/directives/toggle-button/nimble-toggle-button.directive.js +53 -0
- package/esm2015/directives/toggle-button/nimble-toggle-button.directive.ngsummary.json +1 -0
- package/esm2015/directives/toggle-button/nimble-toggle-button.module.js +15 -0
- package/esm2015/directives/toggle-button/nimble-toggle-button.module.ngfactory.js +12 -0
- package/esm2015/directives/toggle-button/nimble-toggle-button.module.ngsummary.json +1 -0
- package/esm2015/directives/tree-item/nimble-tree-item.directive.js +43 -52
- package/esm2015/directives/tree-item/nimble-tree-item.directive.ngsummary.json +1 -0
- package/esm2015/directives/tree-item/nimble-tree-item.module.js +8 -13
- package/esm2015/directives/tree-item/nimble-tree-item.module.ngfactory.js +12 -0
- package/esm2015/directives/tree-item/nimble-tree-item.module.ngsummary.json +1 -0
- package/esm2015/directives/tree-view/nimble-tree-view.directive.js +28 -11
- package/esm2015/directives/tree-view/nimble-tree-view.directive.ngsummary.json +1 -0
- package/esm2015/directives/tree-view/nimble-tree-view.module.js +8 -13
- package/esm2015/directives/tree-view/nimble-tree-view.module.ngfactory.js +12 -0
- package/esm2015/directives/tree-view/nimble-tree-view.module.ngsummary.json +1 -0
- package/esm2015/directives/utilities/template-value-helpers.js +37 -0
- package/esm2015/directives/utilities/template-value-helpers.ngsummary.json +1 -0
- package/esm2015/ni-nimble-angular.js +2 -1
- package/esm2015/ni-nimble-angular.ngsummary.json +1 -0
- package/esm2015/public-api.js +40 -15
- package/esm2015/public-api.ngsummary.json +1 -0
- package/esm2015/testing/async-helpers.js +12 -0
- package/esm2015/testing/async-helpers.ngsummary.json +1 -0
- package/fesm2015/ni-nimble-angular.js +798 -540
- package/fesm2015/ni-nimble-angular.js.map +1 -1
- package/ni-nimble-angular.d.ts +1 -1
- package/ni-nimble-angular.metadata.json +1 -0
- package/package.json +4 -20
- package/public-api.d.ts +39 -14
- package/styles/fonts.scss +4 -0
- package/styles/tokens.scss +6 -0
- package/testing/async-helpers.d.ts +11 -0
- package/directives/button/index.d.ts +0 -2
- package/directives/checkbox/index.d.ts +0 -3
- package/directives/control-value-accessor/index.d.ts +0 -3
- package/directives/control-value-accessor/nimble-control-value-accessor.module.d.ts +0 -9
- package/directives/control-value-accessor/nimble-default-control-value-accessor.directive.d.ts +0 -12
- package/directives/control-value-accessor/nimble-number-control-value-accessor.directive.d.ts +0 -12
- package/directives/listbox-option/index.d.ts +0 -2
- package/directives/number-field/index.d.ts +0 -2
- package/directives/select/index.d.ts +0 -3
- package/directives/tab/index.d.ts +0 -2
- package/directives/tab-panel/index.d.ts +0 -2
- package/directives/tabs/index.d.ts +0 -2
- package/directives/tabs-toolbar/index.d.ts +0 -2
- package/directives/text-field/index.d.ts +0 -2
- package/directives/theme-provider/index.d.ts +0 -2
- package/directives/tree-item/index.d.ts +0 -2
- package/directives/tree-view/index.d.ts +0 -2
- package/esm2015/directives/button/index.js +0 -3
- package/esm2015/directives/checkbox/index.js +0 -4
- package/esm2015/directives/control-value-accessor/index.js +0 -4
- package/esm2015/directives/control-value-accessor/nimble-control-value-accessor.module.js +0 -19
- package/esm2015/directives/control-value-accessor/nimble-default-control-value-accessor.directive.js +0 -37
- package/esm2015/directives/control-value-accessor/nimble-number-control-value-accessor.directive.js +0 -32
- package/esm2015/directives/listbox-option/index.js +0 -3
- package/esm2015/directives/number-field/index.js +0 -3
- package/esm2015/directives/select/index.js +0 -4
- package/esm2015/directives/tab/index.js +0 -3
- package/esm2015/directives/tab-panel/index.js +0 -3
- package/esm2015/directives/tabs/index.js +0 -3
- package/esm2015/directives/tabs-toolbar/index.js +0 -3
- package/esm2015/directives/text-field/index.js +0 -3
- package/esm2015/directives/theme-provider/index.js +0 -3
- package/esm2015/directives/tree-item/index.js +0 -3
- package/esm2015/directives/tree-view/index.js +0 -3
|
@@ -1,13 +1,22 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import type { NumberField } from '@ni/nimble-components/dist/esm/number-field';
|
|
3
|
+
import { BooleanValueOrAttribute, NumberValueOrAttribute } from '../utilities/template-value-helpers';
|
|
4
|
+
export type { NumberField };
|
|
2
5
|
/**
|
|
3
6
|
* Directive to provide Angular integration for the number field.
|
|
4
7
|
*/
|
|
5
8
|
export declare class NimbleNumberFieldDirective {
|
|
6
|
-
readonly
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
private readonly renderer;
|
|
10
|
+
private readonly elementRef;
|
|
11
|
+
get readOnly(): boolean;
|
|
12
|
+
set readOnly(value: BooleanValueOrAttribute);
|
|
13
|
+
get min(): number;
|
|
14
|
+
set min(value: NumberValueOrAttribute);
|
|
15
|
+
get max(): number;
|
|
16
|
+
set max(value: NumberValueOrAttribute);
|
|
17
|
+
get step(): number;
|
|
18
|
+
set step(value: NumberValueOrAttribute);
|
|
19
|
+
get placeholder(): string;
|
|
20
|
+
set placeholder(value: string);
|
|
21
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<NumberField>);
|
|
13
22
|
}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
import '@ni/nimble-components/dist/esm/number-field';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./nimble-number-field.directive";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
import * as i3 from "../control-value-accessor/nimble-control-value-accessor.module";
|
|
6
2
|
export declare class NimbleNumberFieldModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleNumberFieldModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleNumberFieldModule, [typeof i1.NimbleNumberFieldDirective], [typeof i2.CommonModule, typeof i3.NimbleControlValueAccessorModule], [typeof i1.NimbleNumberFieldDirective, typeof i3.NimbleControlValueAccessorModule]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NimbleNumberFieldModule>;
|
|
10
3
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SelectControlValueAccessor } from '@angular/forms';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
2
|
/**
|
|
4
3
|
* Extension of Angular's SelectControlValueAccessor to target the Nimble select control.
|
|
5
4
|
*
|
|
@@ -9,6 +8,4 @@ import * as i0 from "@angular/core";
|
|
|
9
8
|
* https://github.com/angular/angular/blob/master/packages/forms/src/directives/select_control_value_accessor.ts#L85
|
|
10
9
|
*/
|
|
11
10
|
export declare class NimbleSelectControlValueAccessorDirective extends SelectControlValueAccessor {
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleSelectControlValueAccessorDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleSelectControlValueAccessorDirective, "nimble-select:not([multiple])[formControlName],nimble-select:not([multiple])[formControl],nimble-select:not([multiple])[ngModel]", never, {}, {}, never>;
|
|
14
11
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { Select } from '@ni/nimble-components/dist/esm/select';
|
|
2
|
+
export type { Select };
|
|
2
3
|
/**
|
|
3
4
|
* Directive for Nimble select control Angular integration
|
|
4
5
|
*/
|
|
5
6
|
export declare class NimbleSelectDirective {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleSelectDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleSelectDirective, "nimble-select", never, {}, {}, never>;
|
|
8
7
|
}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
import '@ni/nimble-components/dist/esm/select';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./nimble-select.directive";
|
|
4
|
-
import * as i2 from "./nimble-select-control-value-accessor.directive";
|
|
5
|
-
import * as i3 from "@angular/common";
|
|
6
2
|
export declare class NimbleSelectModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleSelectModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleSelectModule, [typeof i1.NimbleSelectDirective, typeof i2.NimbleSelectControlValueAccessorDirective], [typeof i3.CommonModule], [typeof i1.NimbleSelectDirective, typeof i2.NimbleSelectControlValueAccessorDirective]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NimbleSelectModule>;
|
|
10
3
|
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import type { Tab } from '@ni/nimble-components/dist/esm/tab';
|
|
3
|
+
import { BooleanValueOrAttribute } from '../utilities/template-value-helpers';
|
|
4
|
+
export type { Tab };
|
|
2
5
|
/**
|
|
3
6
|
* Directive to provide Angular integration for the tab element.
|
|
4
7
|
*/
|
|
5
8
|
export declare class NimbleTabDirective {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
private readonly renderer;
|
|
10
|
+
private readonly elementRef;
|
|
11
|
+
get disabled(): boolean;
|
|
12
|
+
set disabled(value: BooleanValueOrAttribute);
|
|
13
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<Tab>);
|
|
9
14
|
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import '@ni/nimble-components/dist/esm/tab';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./nimble-tab.directive";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
2
|
export declare class NimbleTabModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTabModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleTabModule, [typeof i1.NimbleTabDirective], [typeof i2.CommonModule], [typeof i1.NimbleTabDirective]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NimbleTabModule>;
|
|
9
3
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { TabPanel } from '@ni/nimble-components/dist/esm/tab-panel';
|
|
2
|
+
export type { TabPanel };
|
|
2
3
|
/**
|
|
3
4
|
* Directive to provide Angular integration for the tab panel.
|
|
4
5
|
*/
|
|
5
6
|
export declare class NimbleTabPanelDirective {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTabPanelDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTabPanelDirective, "nimble-tab-panel", never, {}, {}, never>;
|
|
8
7
|
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import '@ni/nimble-components/dist/esm/tab-panel';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./nimble-tab-panel.directive";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
2
|
export declare class NimbleTabPanelModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTabPanelModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleTabPanelModule, [typeof i1.NimbleTabPanelDirective], [typeof i2.CommonModule], [typeof i1.NimbleTabPanelDirective]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NimbleTabPanelModule>;
|
|
9
3
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { Tabs } from '@ni/nimble-components/dist/esm/tabs';
|
|
3
|
-
|
|
1
|
+
import { ElementRef, EventEmitter, Renderer2 } from '@angular/core';
|
|
2
|
+
import type { Tabs } from '@ni/nimble-components/dist/esm/tabs';
|
|
3
|
+
export type { Tabs };
|
|
4
4
|
/**
|
|
5
5
|
* Directive to provide Angular integration for the tabs element.
|
|
6
6
|
*/
|
|
7
7
|
export declare class NimbleTabsDirective {
|
|
8
|
-
private readonly
|
|
9
|
-
|
|
8
|
+
private readonly renderer;
|
|
9
|
+
private readonly elementRef;
|
|
10
|
+
get activeid(): string;
|
|
11
|
+
set activeid(value: string);
|
|
10
12
|
activeidChange: EventEmitter<string>;
|
|
11
|
-
constructor(
|
|
12
|
-
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTabsDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTabsDirective, "nimble-tabs", never, { "activeid": "activeid"; }, { "activeidChange": "activeidChange"; }, never>;
|
|
13
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<Tabs>);
|
|
14
|
+
onChange($event: Event): void;
|
|
15
15
|
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import '@ni/nimble-components/dist/esm/tabs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./nimble-tabs.directive";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
2
|
export declare class NimbleTabsModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTabsModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleTabsModule, [typeof i1.NimbleTabsDirective], [typeof i2.CommonModule], [typeof i1.NimbleTabsDirective]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NimbleTabsModule>;
|
|
9
3
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { TabsToolbar } from '@ni/nimble-components/dist/esm/tabs-toolbar';
|
|
2
|
+
export type { TabsToolbar };
|
|
2
3
|
/**
|
|
3
4
|
* Directive to provide Angular integration for the tabs toolbar.
|
|
4
5
|
*/
|
|
5
6
|
export declare class NimbleTabsToolbarDirective {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTabsToolbarDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTabsToolbarDirective, "nimble-tabs-toolbar", never, {}, {}, never>;
|
|
8
7
|
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import '@ni/nimble-components/dist/esm/tabs-toolbar';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./nimble-tabs-toolbar.directive";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
2
|
export declare class NimbleTabsToolbarModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTabsToolbarModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleTabsToolbarModule, [typeof i1.NimbleTabsToolbarDirective], [typeof i2.CommonModule], [typeof i1.NimbleTabsToolbarDirective]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NimbleTabsToolbarModule>;
|
|
9
3
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DefaultValueAccessor } from '@angular/forms';
|
|
2
|
+
/**
|
|
3
|
+
* Extension of Angular's DefaultValueAccessor to target the text-based inputs.
|
|
4
|
+
*
|
|
5
|
+
* Directive decorator based on DefaultValueAccessor decorator
|
|
6
|
+
* https://github.com/angular/angular/blob/master/packages/forms/src/directives/default_value_accessor.ts#L72
|
|
7
|
+
*/
|
|
8
|
+
export declare class NimbleTextFieldControlValueAccessorDirective extends DefaultValueAccessor {
|
|
9
|
+
}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import type { TextField } from '@ni/nimble-components/dist/esm/text-field';
|
|
3
|
+
import type { TextFieldTypeAttribute } from '@ni/nimble-components/dist/esm/text-field/types';
|
|
4
|
+
import { TextFieldType } from '@ni/nimble-components/dist/esm/text-field/types';
|
|
5
|
+
import { BooleanValueOrAttribute } from '../utilities/template-value-helpers';
|
|
6
|
+
export type { TextField };
|
|
7
|
+
export { TextFieldType };
|
|
2
8
|
/**
|
|
3
9
|
* Directive to provide Angular integration for the text field
|
|
4
10
|
*/
|
|
5
11
|
export declare class NimbleTextFieldDirective {
|
|
6
|
-
readonly
|
|
7
|
-
|
|
8
|
-
|
|
12
|
+
private readonly renderer;
|
|
13
|
+
private readonly elementRef;
|
|
14
|
+
get readOnly(): boolean;
|
|
15
|
+
set readOnly(value: BooleanValueOrAttribute);
|
|
16
|
+
get type(): TextFieldType;
|
|
17
|
+
set type(value: TextFieldType | TextFieldTypeAttribute);
|
|
18
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<TextField>);
|
|
9
19
|
}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
1
|
import '@ni/nimble-components/dist/esm/text-field';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./nimble-text-field.directive";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
import * as i3 from "../control-value-accessor/nimble-control-value-accessor.module";
|
|
6
2
|
export declare class NimbleTextFieldModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTextFieldModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleTextFieldModule, [typeof i1.NimbleTextFieldDirective], [typeof i2.CommonModule, typeof i3.NimbleControlValueAccessorModule], [typeof i1.NimbleTextFieldDirective, typeof i3.NimbleControlValueAccessorModule]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NimbleTextFieldModule>;
|
|
10
3
|
}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import type { ThemeProvider } from '@ni/nimble-components/dist/esm/theme-provider';
|
|
3
|
+
import type { ThemeAttribute } from '@ni/nimble-components/dist/esm/theme-provider/types';
|
|
4
|
+
import { Theme } from '@ni/nimble-components/dist/esm/theme-provider/types';
|
|
5
|
+
export type { ThemeProvider };
|
|
6
|
+
export { Theme };
|
|
2
7
|
/**
|
|
3
8
|
* Directive for Angular integration for the theme provider
|
|
4
9
|
*/
|
|
5
10
|
export declare class NimbleThemeProviderDirective {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
11
|
+
private readonly renderer;
|
|
12
|
+
private readonly elementRef;
|
|
13
|
+
get theme(): Theme;
|
|
14
|
+
set theme(value: Theme | ThemeAttribute);
|
|
15
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<ThemeProvider>);
|
|
9
16
|
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import '@ni/nimble-components/dist/esm/theme-provider';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./nimble-theme-provider.directive";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
2
|
export declare class NimbleThemeProviderModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleThemeProviderModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleThemeProviderModule, [typeof i1.NimbleThemeProviderDirective], [typeof i2.CommonModule], [typeof i1.NimbleThemeProviderDirective]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NimbleThemeProviderModule>;
|
|
9
3
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CheckboxControlValueAccessor } from '@angular/forms';
|
|
2
|
+
/**
|
|
3
|
+
* Extension of Angular's CheckboxControlValueAccessor to target the Nimble toggle button control.
|
|
4
|
+
*
|
|
5
|
+
* Directive decorator based on CheckboxControlValueAccessor decorator
|
|
6
|
+
* https://github.com/angular/angular/blob/bbababe5900ea8f4c8fccd88238f6fe08a2ceb63/packages/forms/src/directives/checkbox_value_accessor.ts#L42
|
|
7
|
+
*/
|
|
8
|
+
export declare class NimbleToggleButtonControlValueAccessorDirective extends CheckboxControlValueAccessor {
|
|
9
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import type { ToggleButton } from '@ni/nimble-components/dist/esm/toggle-button';
|
|
3
|
+
import type { ButtonAppearanceAttribute } from '@ni/nimble-components/dist/esm/toggle-button/types';
|
|
4
|
+
import type { ButtonAppearance } from '@ni/nimble-components/dist/esm/toggle-button/types';
|
|
5
|
+
import { BooleanValueOrAttribute } from '../utilities/template-value-helpers';
|
|
6
|
+
export type { ToggleButton };
|
|
7
|
+
/**
|
|
8
|
+
* Directive to provide Angular integration for the toggle button.
|
|
9
|
+
*/
|
|
10
|
+
export declare class NimbleToggleButtonDirective {
|
|
11
|
+
private readonly renderer;
|
|
12
|
+
private readonly elementRef;
|
|
13
|
+
get appearance(): ButtonAppearance;
|
|
14
|
+
set appearance(value: ButtonAppearance | ButtonAppearanceAttribute);
|
|
15
|
+
get disabled(): boolean;
|
|
16
|
+
set disabled(value: BooleanValueOrAttribute);
|
|
17
|
+
get contentHidden(): boolean;
|
|
18
|
+
set contentHidden(value: BooleanValueOrAttribute);
|
|
19
|
+
get checked(): boolean;
|
|
20
|
+
set checked(value: BooleanValueOrAttribute);
|
|
21
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<ToggleButton>);
|
|
22
|
+
}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { TreeItem } from '@ni/nimble-components/dist/esm/tree-item';
|
|
3
|
-
import
|
|
1
|
+
import { ElementRef, EventEmitter, Renderer2 } from '@angular/core';
|
|
2
|
+
import type { TreeItem } from '@ni/nimble-components/dist/esm/tree-item';
|
|
3
|
+
import { BooleanValueOrAttribute } from '../utilities/template-value-helpers';
|
|
4
|
+
export type { TreeItem };
|
|
4
5
|
/**
|
|
5
6
|
* Directive to provide Angular integration for the tree item.
|
|
6
7
|
*/
|
|
7
8
|
export declare class NimbleTreeItemDirective {
|
|
8
|
-
private readonly
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
private readonly renderer;
|
|
10
|
+
private readonly elementRef;
|
|
11
|
+
get disabled(): boolean;
|
|
12
|
+
set disabled(value: BooleanValueOrAttribute);
|
|
13
|
+
get expanded(): boolean;
|
|
14
|
+
set expanded(value: BooleanValueOrAttribute);
|
|
15
|
+
get selected(): boolean;
|
|
16
|
+
set selected(value: BooleanValueOrAttribute);
|
|
13
17
|
expandedChange: EventEmitter<boolean>;
|
|
14
|
-
constructor(
|
|
15
|
-
|
|
16
|
-
private onExpandedChange;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTreeItemDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleTreeItemDirective, "nimble-tree-item", never, { "disabled": "disabled"; "expanded": "expanded"; "selected": "selected"; }, { "selectedChange": "selectedChange"; "expandedChange": "expandedChange"; }, never>;
|
|
18
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<TreeItem>);
|
|
19
|
+
onExpandedChange($event: Event): void;
|
|
19
20
|
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import '@ni/nimble-components/dist/esm/tree-item';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./nimble-tree-item.directive";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
2
|
export declare class NimbleTreeItemModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTreeItemModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleTreeItemModule, [typeof i1.NimbleTreeItemDirective], [typeof i2.CommonModule], [typeof i1.NimbleTreeItemDirective]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NimbleTreeItemModule>;
|
|
9
3
|
}
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import type { TreeView } from '@ni/nimble-components/dist/esm/tree-view';
|
|
3
|
+
import type { TreeViewSelectionModeAttribute } from '@ni/nimble-components/dist/esm/tree-view/types';
|
|
4
|
+
import { TreeViewSelectionMode } from '@ni/nimble-components/dist/esm/tree-view/types';
|
|
5
|
+
export type { TreeView };
|
|
6
|
+
export { TreeViewSelectionMode };
|
|
2
7
|
/**
|
|
3
8
|
* Directive to provide Angular integration for the tree view.
|
|
4
9
|
*/
|
|
5
10
|
export declare class NimbleTreeViewDirective {
|
|
6
|
-
|
|
7
|
-
|
|
11
|
+
private readonly renderer;
|
|
12
|
+
private readonly elementRef;
|
|
13
|
+
get selectionMode(): TreeViewSelectionMode;
|
|
14
|
+
set selectionMode(value: TreeViewSelectionMode | TreeViewSelectionModeAttribute);
|
|
15
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<TreeView>);
|
|
8
16
|
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
import '@ni/nimble-components/dist/esm/tree-view';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./nimble-tree-view.directive";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
2
|
export declare class NimbleTreeViewModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleTreeViewModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleTreeViewModule, [typeof i1.NimbleTreeViewDirective], [typeof i2.CommonModule], [typeof i1.NimbleTreeViewDirective]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NimbleTreeViewModule>;
|
|
9
3
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Conversion helpers for values coming from template attributes or property bindings
|
|
3
|
+
*/
|
|
4
|
+
declare type BooleanAttribute = '' | null;
|
|
5
|
+
export declare type BooleanValueOrAttribute = boolean | BooleanAttribute;
|
|
6
|
+
export declare type NumberValueOrAttribute = number | string;
|
|
7
|
+
/**
|
|
8
|
+
* Converts values from templates (empty string or null) or boolean bindings to a boolean property representation
|
|
9
|
+
*/
|
|
10
|
+
export declare const toBooleanProperty: (value: BooleanValueOrAttribute) => boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Converts values from templates (empty string or null) or boolean bindings to an Aria boolean
|
|
13
|
+
* attribute representation (the strings "true" or "false")
|
|
14
|
+
*/
|
|
15
|
+
export declare const toBooleanAriaAttribute: (value: BooleanValueOrAttribute) => 'true' | 'false';
|
|
16
|
+
/**
|
|
17
|
+
* Converts values from templates (number representation as a string) or number bindings to a number property representation
|
|
18
|
+
*/
|
|
19
|
+
export declare const toNumberProperty: (value: NumberValueOrAttribute) => number;
|
|
20
|
+
export {};
|
|
@@ -1,26 +1,55 @@
|
|
|
1
|
-
import { Directive,
|
|
2
|
-
import
|
|
1
|
+
import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';
|
|
2
|
+
import { ButtonAppearance } from '@ni/nimble-components/dist/esm/button/types';
|
|
3
|
+
import { toBooleanProperty } from '../utilities/template-value-helpers';
|
|
4
|
+
export { ButtonAppearance };
|
|
3
5
|
/**
|
|
4
6
|
* Directive to provide Angular integration for the button.
|
|
5
7
|
*/
|
|
6
8
|
export class NimbleButtonDirective {
|
|
9
|
+
constructor(renderer, elementRef) {
|
|
10
|
+
this.renderer = renderer;
|
|
11
|
+
this.elementRef = elementRef;
|
|
12
|
+
}
|
|
13
|
+
get appearance() {
|
|
14
|
+
return this.elementRef.nativeElement.appearance;
|
|
15
|
+
}
|
|
16
|
+
set appearance(value) {
|
|
17
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);
|
|
18
|
+
}
|
|
19
|
+
get disabled() {
|
|
20
|
+
return this.elementRef.nativeElement.disabled;
|
|
21
|
+
}
|
|
22
|
+
set disabled(value) {
|
|
23
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
|
|
24
|
+
}
|
|
25
|
+
get type() {
|
|
26
|
+
return this.elementRef.nativeElement.type;
|
|
27
|
+
}
|
|
28
|
+
set type(value) {
|
|
29
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'type', value);
|
|
30
|
+
}
|
|
31
|
+
get contentHidden() {
|
|
32
|
+
return this.elementRef.nativeElement.contentHidden;
|
|
33
|
+
}
|
|
34
|
+
// contentHidden property intentionally maps to the content-hidden attribute
|
|
35
|
+
// eslint-disable-next-line @angular-eslint/no-input-rename
|
|
36
|
+
set contentHidden(value) {
|
|
37
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'contentHidden', toBooleanProperty(value));
|
|
38
|
+
}
|
|
7
39
|
}
|
|
8
|
-
NimbleButtonDirective
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
type: Input
|
|
25
|
-
}] } });
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLWJ1dHRvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaS9uaW1ibGUtYW5ndWxhci9zcmMvZGlyZWN0aXZlcy9idXR0b24vbmltYmxlLWJ1dHRvbi5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUc5RDs7R0FFRztBQUlILE1BQU0sT0FBTyxxQkFBcUI7O2tIQUFyQixxQkFBcUI7c0dBQXJCLHFCQUFxQjsyRkFBckIscUJBQXFCO2tCQUhqQyxTQUFTO21CQUFDO29CQUNQLFFBQVEsRUFBRSxlQUFlO2lCQUM1Qjs4QkFFNEMsUUFBUTtzQkFBaEQsV0FBVzt1QkFBQyxVQUFVOztzQkFBRyxLQUFLO2dCQUNZLFVBQVU7c0JBQXBELFdBQVc7dUJBQUMsWUFBWTs7c0JBQUcsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgSG9zdEJpbmRpbmcsIElucHV0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBCdXR0b25BcHBlYXJhbmNlIH0gZnJvbSAnQG5pL25pbWJsZS1jb21wb25lbnRzL2Rpc3QvZXNtL2J1dHRvbi90eXBlcyc7XG5cbi8qKlxuICogRGlyZWN0aXZlIHRvIHByb3ZpZGUgQW5ndWxhciBpbnRlZ3JhdGlvbiBmb3IgdGhlIGJ1dHRvbi5cbiAqL1xuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICduaW1ibGUtYnV0dG9uJ1xufSlcbmV4cG9ydCBjbGFzcyBOaW1ibGVCdXR0b25EaXJlY3RpdmUge1xuICAgIEBIb3N0QmluZGluZygnZGlzYWJsZWQnKSBASW5wdXQoKSBwdWJsaWMgZGlzYWJsZWQ6IGJvb2xlYW47XG4gICAgQEhvc3RCaW5kaW5nKCdhcHBlYXJhbmNlJykgQElucHV0KCkgcHVibGljIGFwcGVhcmFuY2U6IEJ1dHRvbkFwcGVhcmFuY2U7XG59XG4iXX0=
|
|
40
|
+
NimbleButtonDirective.decorators = [
|
|
41
|
+
{ type: Directive, args: [{
|
|
42
|
+
selector: 'nimble-button'
|
|
43
|
+
},] }
|
|
44
|
+
];
|
|
45
|
+
NimbleButtonDirective.ctorParameters = () => [
|
|
46
|
+
{ type: Renderer2 },
|
|
47
|
+
{ type: ElementRef }
|
|
48
|
+
];
|
|
49
|
+
NimbleButtonDirective.propDecorators = {
|
|
50
|
+
appearance: [{ type: Input }],
|
|
51
|
+
disabled: [{ type: Input }],
|
|
52
|
+
type: [{ type: Input }],
|
|
53
|
+
contentHidden: [{ type: Input, args: ['content-hidden',] }]
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLW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WhpZGRlbiBhdHRyaWJ1dGVcbiAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQGFuZ3VsYXItZXNsaW50L25vLWlucHV0LXJlbmFtZVxuICAgIEBJbnB1dCgnY29udGVudC1oaWRkZW4nKSBwdWJsaWMgc2V0IGNvbnRlbnRIaWRkZW4odmFsdWU6IEJvb2xlYW5WYWx1ZU9yQXR0cmlidXRlKSB7XG4gICAgICAgIHRoaXMucmVuZGVyZXIuc2V0UHJvcGVydHkodGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQsICdjb250ZW50SGlkZGVuJywgdG9Cb29sZWFuUHJvcGVydHkodmFsdWUpKTtcbiAgICB9XG5cbiAgICBwdWJsaWMgY29uc3RydWN0b3IocHJpdmF0ZSByZWFkb25seSByZW5kZXJlcjogUmVuZGVyZXIyLCBwcml2YXRlIHJlYWRvbmx5IGVsZW1lbnRSZWY6IEVsZW1lbnRSZWY8QnV0dG9uPikge31cbn1cbiJdfQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbol":1,"members":[]}},{"symbol":{"__symbol":2,"members":[]},"metadata":{"__symbol":3,"members":[]}},{"symbol":{"__symbol":4,"members":[]},"metadata":{"__symbol":5,"members":[]}},{"symbol":{"__symbol":6,"members":[]},"metadata":{"__symbolic":"class","members":{"appearance":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":7,"members":[]}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":7,"members":[]}}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":7,"members":[]}}]}],"contentHidden":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":7,"members":[]},"arguments":["content-hidden"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":8,"members":[]},{"__symbol":9,"members":[]}]}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":6,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":8,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":9,"members":[]}}}}],"lifecycleHooks":[]},"isComponent":false,"selector":"nimble-button","exportAs":null,"inputs":{"appearance":"appearance","disabled":"disabled","type":"type","contentHidden":"content-hidden"},"outputs":{},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"guards":{},"viewQueries":[],"entryComponents":[],"changeDetection":null,"template":null,"componentViewType":null,"rendererType":null,"componentFactory":null}}],"symbols":[{"__symbol":0,"name":"Button","filePath":"./nimble-button.directive"},{"__symbol":1,"name":"Button","filePath":"../../../../../../../packages/nimble-components/dist/esm/button/index"},{"__symbol":2,"name":"ButtonType","filePath":"./nimble-button.directive"},{"__symbol":3,"name":"ButtonType","filePath":"../../../../../../../packages/nimble-components/dist/esm/button/types"},{"__symbol":4,"name":"ButtonAppearance","filePath":"./nimble-button.directive"},{"__symbol":5,"name":"ButtonAppearance","filePath":"../../../../../../../packages/nimble-components/dist/esm/button/types"},{"__symbol":6,"name":"NimbleButtonDirective","filePath":"./nimble-button.directive"},{"__symbol":7,"name":"Input","filePath":"@angular/core"},{"__symbol":8,"name":"Renderer2","filePath":"@angular/core"},{"__symbol":9,"name":"ElementRef","filePath":"@angular/core"}]}
|
|
@@ -2,18 +2,13 @@ import { NgModule } from '@angular/core';
|
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import { NimbleButtonDirective } from './nimble-button.directive';
|
|
4
4
|
import '@ni/nimble-components/dist/esm/button';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
5
|
export class NimbleButtonModule {
|
|
7
6
|
}
|
|
8
|
-
NimbleButtonModule
|
|
9
|
-
|
|
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bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgTmltYmxlQnV0dG9uRGlyZWN0aXZlIH0gZnJvbSAnLi9uaW1ibGUtYnV0dG9uLmRpcmVjdGl2ZSc7XG5cbmltcG9ydCAnQG5pL25pbWJsZS1jb21wb25lbnRzL2Rpc3QvZXNtL2J1dHRvbic7XG5cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbTmltYmxlQnV0dG9uRGlyZWN0aXZlXSxcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcbiAgICBleHBvcnRzOiBbTmltYmxlQnV0dG9uRGlyZWN0aXZlXVxufSlcbmV4cG9ydCBjbGFzcyBOaW1ibGVCdXR0b25Nb2R1bGUgeyB9XG4iXX0=
|
|
7
|
+
NimbleButtonModule.decorators = [
|
|
8
|
+
{ type: NgModule, args: [{
|
|
9
|
+
declarations: [NimbleButtonDirective],
|
|
10
|
+
imports: [CommonModule],
|
|
11
|
+
exports: [NimbleButtonDirective]
|
|
12
|
+
},] }
|
|
13
|
+
];
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLWJ1dHRvbi5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaS9uaW1ibGUtYW5ndWxhci9zcmMvZGlyZWN0aXZlcy9idXR0b24vbmltYmxlLWJ1dHRvbi5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFFbEUsT0FBTyx1Q0FBdU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