@ni/ok-angular 2.3.2 → 2.4.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/fesm2022/ni-ok-angular-fv-card.mjs +104 -0
- package/fesm2022/ni-ok-angular-fv-card.mjs.map +1 -0
- package/fesm2022/ni-ok-angular-fv-chip-selector.mjs +103 -0
- package/fesm2022/ni-ok-angular-fv-chip-selector.mjs.map +1 -0
- package/fesm2022/ni-ok-angular-fv-context-help.mjs +79 -0
- package/fesm2022/ni-ok-angular-fv-context-help.mjs.map +1 -0
- package/fesm2022/ni-ok-angular-fv-split-button-anchor.mjs +119 -0
- package/fesm2022/ni-ok-angular-fv-split-button-anchor.mjs.map +1 -0
- package/fesm2022/ni-ok-angular-fv-split-button.mjs +87 -0
- package/fesm2022/ni-ok-angular-fv-split-button.mjs.map +1 -0
- package/fesm2022/ni-ok-angular-fv-summary-panel-tile.mjs +88 -0
- package/fesm2022/ni-ok-angular-fv-summary-panel-tile.mjs.map +1 -0
- package/fesm2022/ni-ok-angular-fv-summary-panel.mjs +72 -0
- package/fesm2022/ni-ok-angular-fv-summary-panel.mjs.map +1 -0
- package/fv/card/index.d.ts +41 -0
- package/fv/chip-selector/index.d.ts +39 -0
- package/fv/context-help/index.d.ts +35 -0
- package/fv/split-button/index.d.ts +37 -0
- package/fv/split-button-anchor/index.d.ts +45 -0
- package/fv/summary-panel/index.d.ts +31 -0
- package/fv/summary-panel-tile/index.d.ts +37 -0
- package/package.json +29 -1
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, Directive, NgModule } from '@angular/core';
|
|
3
|
+
export { fvCardTag } from '@ni/ok-components/dist/esm/fv/card';
|
|
4
|
+
export { FvCardAppearance, FvCardInteractionMode } from '@ni/ok-components/dist/esm/fv/card/types';
|
|
5
|
+
import { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Directive to provide Angular integration for the card.
|
|
10
|
+
*/
|
|
11
|
+
class OkFvCardDirective {
|
|
12
|
+
get title() {
|
|
13
|
+
return this.elementRef.nativeElement.title;
|
|
14
|
+
}
|
|
15
|
+
set title(value) {
|
|
16
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'title', value);
|
|
17
|
+
}
|
|
18
|
+
get subtitle() {
|
|
19
|
+
return this.elementRef.nativeElement.subtitle;
|
|
20
|
+
}
|
|
21
|
+
set subtitle(value) {
|
|
22
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'subtitle', value);
|
|
23
|
+
}
|
|
24
|
+
get description() {
|
|
25
|
+
return this.elementRef.nativeElement.description;
|
|
26
|
+
}
|
|
27
|
+
set description(value) {
|
|
28
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'description', value);
|
|
29
|
+
}
|
|
30
|
+
get appearance() {
|
|
31
|
+
return this.elementRef.nativeElement.appearance;
|
|
32
|
+
}
|
|
33
|
+
set appearance(value) {
|
|
34
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);
|
|
35
|
+
}
|
|
36
|
+
get interactionMode() {
|
|
37
|
+
return this.elementRef.nativeElement.interactionMode;
|
|
38
|
+
}
|
|
39
|
+
set interactionMode(value) {
|
|
40
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'interactionMode', value);
|
|
41
|
+
}
|
|
42
|
+
get disabled() {
|
|
43
|
+
return this.elementRef.nativeElement.disabled;
|
|
44
|
+
}
|
|
45
|
+
set disabled(value) {
|
|
46
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
|
|
47
|
+
}
|
|
48
|
+
get initials() {
|
|
49
|
+
return this.elementRef.nativeElement.initials;
|
|
50
|
+
}
|
|
51
|
+
set initials(value) {
|
|
52
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'initials', value);
|
|
53
|
+
}
|
|
54
|
+
constructor(elementRef, renderer) {
|
|
55
|
+
this.elementRef = elementRef;
|
|
56
|
+
this.renderer = renderer;
|
|
57
|
+
}
|
|
58
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvCardDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
59
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.19", type: OkFvCardDirective, isStandalone: false, selector: "ok-fv-card", inputs: { title: ["card-title", "title"], subtitle: "subtitle", description: "description", appearance: "appearance", interactionMode: ["interaction-mode", "interactionMode"], disabled: "disabled", initials: "initials" }, ngImport: i0 }); }
|
|
60
|
+
}
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvCardDirective, decorators: [{
|
|
62
|
+
type: Directive,
|
|
63
|
+
args: [{
|
|
64
|
+
selector: 'ok-fv-card',
|
|
65
|
+
standalone: false
|
|
66
|
+
}]
|
|
67
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { title: [{
|
|
68
|
+
type: Input,
|
|
69
|
+
args: ['card-title']
|
|
70
|
+
}], subtitle: [{
|
|
71
|
+
type: Input
|
|
72
|
+
}], description: [{
|
|
73
|
+
type: Input
|
|
74
|
+
}], appearance: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], interactionMode: [{
|
|
77
|
+
type: Input,
|
|
78
|
+
args: ['interaction-mode']
|
|
79
|
+
}], disabled: [{
|
|
80
|
+
type: Input
|
|
81
|
+
}], initials: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}] } });
|
|
84
|
+
|
|
85
|
+
class OkFvCardModule {
|
|
86
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
87
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: OkFvCardModule, declarations: [OkFvCardDirective], imports: [CommonModule], exports: [OkFvCardDirective] }); }
|
|
88
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvCardModule, imports: [CommonModule] }); }
|
|
89
|
+
}
|
|
90
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvCardModule, decorators: [{
|
|
91
|
+
type: NgModule,
|
|
92
|
+
args: [{
|
|
93
|
+
declarations: [OkFvCardDirective],
|
|
94
|
+
imports: [CommonModule],
|
|
95
|
+
exports: [OkFvCardDirective]
|
|
96
|
+
}]
|
|
97
|
+
}] });
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Generated bundle index. Do not edit.
|
|
101
|
+
*/
|
|
102
|
+
|
|
103
|
+
export { OkFvCardDirective, OkFvCardModule };
|
|
104
|
+
//# sourceMappingURL=ni-ok-angular-fv-card.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-ok-angular-fv-card.mjs","sources":["../../../ok-angular/fv/card/ok-fv-card.directive.ts","../../../ok-angular/fv/card/ok-fv-card.module.ts","../../../ok-angular/fv/card/ni-ok-angular-fv-card.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { FvCard } from '@ni/ok-components/dist/esm/fv/card';\nimport { fvCardTag } from '@ni/ok-components/dist/esm/fv/card';\nimport { FvCardAppearance, FvCardInteractionMode } from '@ni/ok-components/dist/esm/fv/card/types';\nimport { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';\n\nexport type { FvCard };\nexport { fvCardTag };\nexport { FvCardAppearance, FvCardInteractionMode };\n\n/**\n * Directive to provide Angular integration for the card.\n */\n@Directive({\n selector: 'ok-fv-card',\n standalone: false\n})\nexport class OkFvCardDirective {\n public get title(): string {\n return this.elementRef.nativeElement.title;\n }\n\n @Input('card-title')\n public set title(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'title', value);\n }\n\n public get subtitle(): string {\n return this.elementRef.nativeElement.subtitle;\n }\n\n @Input()\n public set subtitle(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'subtitle', value);\n }\n\n public get description(): string {\n return this.elementRef.nativeElement.description;\n }\n\n @Input()\n public set description(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'description', value);\n }\n\n public get appearance(): FvCardAppearance {\n return this.elementRef.nativeElement.appearance;\n }\n\n @Input()\n public set appearance(value: FvCardAppearance) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);\n }\n\n public get interactionMode(): FvCardInteractionMode {\n return this.elementRef.nativeElement.interactionMode;\n }\n\n @Input('interaction-mode')\n public set interactionMode(value: FvCardInteractionMode) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'interactionMode', value);\n }\n\n public get disabled(): boolean {\n return this.elementRef.nativeElement.disabled;\n }\n\n @Input()\n public set disabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));\n }\n\n public get initials(): string {\n return this.elementRef.nativeElement.initials;\n }\n\n @Input()\n public set initials(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'initials', value);\n }\n\n public constructor(\n private readonly elementRef: ElementRef<FvCard>,\n private readonly renderer: Renderer2\n ) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { OkFvCardDirective } from './ok-fv-card.directive';\n\nimport '@ni/ok-components/dist/esm/fv/card';\n\n@NgModule({\n declarations: [OkFvCardDirective],\n imports: [CommonModule],\n exports: [OkFvCardDirective]\n})\nexport class OkFvCardModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from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3
|
+
export { fvChipSelectorTag } from '@ni/ok-components/dist/esm/fv/chip-selector';
|
|
4
|
+
import { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Directive to provide Angular integration for the chip selector.
|
|
9
|
+
*/
|
|
10
|
+
class OkFvChipSelectorDirective {
|
|
11
|
+
get disabled() {
|
|
12
|
+
return this.elementRef.nativeElement.disabled;
|
|
13
|
+
}
|
|
14
|
+
set disabled(value) {
|
|
15
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
|
|
16
|
+
}
|
|
17
|
+
get open() {
|
|
18
|
+
return this.elementRef.nativeElement.open;
|
|
19
|
+
}
|
|
20
|
+
set open(value) {
|
|
21
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'open', toBooleanProperty(value));
|
|
22
|
+
}
|
|
23
|
+
get label() {
|
|
24
|
+
return this.elementRef.nativeElement.label;
|
|
25
|
+
}
|
|
26
|
+
set label(value) {
|
|
27
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'label', value);
|
|
28
|
+
}
|
|
29
|
+
get selectedValues() {
|
|
30
|
+
return this.elementRef.nativeElement.selectedValues;
|
|
31
|
+
}
|
|
32
|
+
set selectedValues(value) {
|
|
33
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'selectedValues', value);
|
|
34
|
+
}
|
|
35
|
+
get options() {
|
|
36
|
+
return this.elementRef.nativeElement.options;
|
|
37
|
+
}
|
|
38
|
+
set options(value) {
|
|
39
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'options', value);
|
|
40
|
+
}
|
|
41
|
+
get placeholder() {
|
|
42
|
+
return this.elementRef.nativeElement.placeholder;
|
|
43
|
+
}
|
|
44
|
+
set placeholder(value) {
|
|
45
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);
|
|
46
|
+
}
|
|
47
|
+
get allowCustomValues() {
|
|
48
|
+
return this.elementRef.nativeElement.allowCustomValues;
|
|
49
|
+
}
|
|
50
|
+
set allowCustomValues(value) {
|
|
51
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'allowCustomValues', toBooleanProperty(value));
|
|
52
|
+
}
|
|
53
|
+
constructor(elementRef, renderer) {
|
|
54
|
+
this.elementRef = elementRef;
|
|
55
|
+
this.renderer = renderer;
|
|
56
|
+
}
|
|
57
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvChipSelectorDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
58
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.19", type: OkFvChipSelectorDirective, isStandalone: false, selector: "ok-fv-chip-selector", inputs: { disabled: "disabled", open: "open", label: "label", selectedValues: ["selected-values", "selectedValues"], options: "options", placeholder: "placeholder", allowCustomValues: ["allow-custom-values", "allowCustomValues"] }, ngImport: i0 }); }
|
|
59
|
+
}
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvChipSelectorDirective, decorators: [{
|
|
61
|
+
type: Directive,
|
|
62
|
+
args: [{
|
|
63
|
+
selector: 'ok-fv-chip-selector',
|
|
64
|
+
standalone: false
|
|
65
|
+
}]
|
|
66
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { disabled: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}], open: [{
|
|
69
|
+
type: Input
|
|
70
|
+
}], label: [{
|
|
71
|
+
type: Input
|
|
72
|
+
}], selectedValues: [{
|
|
73
|
+
type: Input,
|
|
74
|
+
args: ['selected-values']
|
|
75
|
+
}], options: [{
|
|
76
|
+
type: Input
|
|
77
|
+
}], placeholder: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}], allowCustomValues: [{
|
|
80
|
+
type: Input,
|
|
81
|
+
args: ['allow-custom-values']
|
|
82
|
+
}] } });
|
|
83
|
+
|
|
84
|
+
class OkFvChipSelectorModule {
|
|
85
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvChipSelectorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
86
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: OkFvChipSelectorModule, declarations: [OkFvChipSelectorDirective], imports: [CommonModule], exports: [OkFvChipSelectorDirective] }); }
|
|
87
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvChipSelectorModule, imports: [CommonModule] }); }
|
|
88
|
+
}
|
|
89
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvChipSelectorModule, decorators: [{
|
|
90
|
+
type: NgModule,
|
|
91
|
+
args: [{
|
|
92
|
+
declarations: [OkFvChipSelectorDirective],
|
|
93
|
+
imports: [CommonModule],
|
|
94
|
+
exports: [OkFvChipSelectorDirective]
|
|
95
|
+
}]
|
|
96
|
+
}] });
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Generated bundle index. Do not edit.
|
|
100
|
+
*/
|
|
101
|
+
|
|
102
|
+
export { OkFvChipSelectorDirective, OkFvChipSelectorModule };
|
|
103
|
+
//# sourceMappingURL=ni-ok-angular-fv-chip-selector.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-ok-angular-fv-chip-selector.mjs","sources":["../../../ok-angular/fv/chip-selector/ok-fv-chip-selector.directive.ts","../../../ok-angular/fv/chip-selector/ok-fv-chip-selector.module.ts","../../../ok-angular/fv/chip-selector/ni-ok-angular-fv-chip-selector.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { FvChipSelector } from '@ni/ok-components/dist/esm/fv/chip-selector';\nimport { fvChipSelectorTag } from '@ni/ok-components/dist/esm/fv/chip-selector';\nimport { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';\n\nexport type { FvChipSelector };\nexport { fvChipSelectorTag };\n\n/**\n * Directive to provide Angular integration for the chip selector.\n */\n@Directive({\n selector: 'ok-fv-chip-selector',\n standalone: false\n})\nexport class OkFvChipSelectorDirective {\n public get disabled(): boolean {\n return this.elementRef.nativeElement.disabled;\n }\n\n @Input()\n public set disabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));\n }\n\n public get open(): boolean {\n return this.elementRef.nativeElement.open;\n }\n\n @Input()\n public set open(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'open', toBooleanProperty(value));\n }\n\n public get label(): string {\n return this.elementRef.nativeElement.label;\n }\n\n @Input()\n public set label(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'label', value);\n }\n\n public get selectedValues(): string {\n return this.elementRef.nativeElement.selectedValues;\n }\n\n @Input('selected-values')\n public set selectedValues(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'selectedValues', value);\n }\n\n public get options(): string {\n return this.elementRef.nativeElement.options;\n }\n\n @Input()\n public set options(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'options', value);\n }\n\n public get placeholder(): string {\n return this.elementRef.nativeElement.placeholder;\n }\n\n @Input()\n public set placeholder(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);\n }\n\n public get allowCustomValues(): boolean {\n return this.elementRef.nativeElement.allowCustomValues;\n }\n\n @Input('allow-custom-values')\n public set allowCustomValues(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'allowCustomValues', toBooleanProperty(value));\n }\n\n public constructor(\n private readonly elementRef: ElementRef<FvChipSelector>,\n private readonly renderer: Renderer2\n ) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { OkFvChipSelectorDirective } from './ok-fv-chip-selector.directive';\n\nimport '@ni/ok-components/dist/esm/fv/chip-selector';\n\n@NgModule({\n declarations: [OkFvChipSelectorDirective],\n imports: [CommonModule],\n exports: [OkFvChipSelectorDirective]\n})\nexport class OkFvChipSelectorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAQA;;AAEG;MAKU,yBAAyB,CAAA;AAClC,IAAA,IAAW,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ;IACjD;IAEA,IACW,QAAQ,CAAC,KAA8B,EAAA;AAC9C,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,UAAU,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAC;IAClG;AAEA,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI;IAC7C;IAEA,IACW,IAAI,CAAC,KAA8B,EAAA;AAC1C,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,MAAM,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAC;IAC9F;AAEA,IAAA,IAAW,KAAK,GAAA;AACZ,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK;IAC9C;IAEA,IACW,KAAK,CAAC,KAAa,EAAA;AAC1B,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,OAAO,EAAE,KAAK,CAAC;IAC5E;AAEA,IAAA,IAAW,cAAc,GAAA;AACrB,QAAA,OAAO,IAA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A,IAAA,EAAA,sBAAsB,YAHrB,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAGb,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,yBAAyB,CAAC;oBACzC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,yBAAyB;AACtC,iBAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, Directive, NgModule } from '@angular/core';
|
|
3
|
+
export { fvContextHelpTag } from '@ni/ok-components/dist/esm/fv/context-help';
|
|
4
|
+
import { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Directive to provide Angular integration for the context help.
|
|
9
|
+
*/
|
|
10
|
+
class OkFvContextHelpDirective {
|
|
11
|
+
get text() {
|
|
12
|
+
return this.elementRef.nativeElement.text;
|
|
13
|
+
}
|
|
14
|
+
set text(value) {
|
|
15
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'text', value);
|
|
16
|
+
}
|
|
17
|
+
get triggerLabel() {
|
|
18
|
+
return this.elementRef.nativeElement.triggerLabel;
|
|
19
|
+
}
|
|
20
|
+
set triggerLabel(value) {
|
|
21
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'triggerLabel', value);
|
|
22
|
+
}
|
|
23
|
+
get severity() {
|
|
24
|
+
return this.elementRef.nativeElement.severity;
|
|
25
|
+
}
|
|
26
|
+
set severity(value) {
|
|
27
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'severity', value);
|
|
28
|
+
}
|
|
29
|
+
get iconVisible() {
|
|
30
|
+
return this.elementRef.nativeElement.iconVisible;
|
|
31
|
+
}
|
|
32
|
+
set iconVisible(value) {
|
|
33
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'iconVisible', toBooleanProperty(value));
|
|
34
|
+
}
|
|
35
|
+
constructor(elementRef, renderer) {
|
|
36
|
+
this.elementRef = elementRef;
|
|
37
|
+
this.renderer = renderer;
|
|
38
|
+
}
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvContextHelpDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
40
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.19", type: OkFvContextHelpDirective, isStandalone: false, selector: "ok-fv-context-help", inputs: { text: "text", triggerLabel: ["trigger-label", "triggerLabel"], severity: "severity", iconVisible: ["icon-visible", "iconVisible"] }, ngImport: i0 }); }
|
|
41
|
+
}
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvContextHelpDirective, decorators: [{
|
|
43
|
+
type: Directive,
|
|
44
|
+
args: [{
|
|
45
|
+
selector: 'ok-fv-context-help',
|
|
46
|
+
standalone: false
|
|
47
|
+
}]
|
|
48
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { text: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}], triggerLabel: [{
|
|
51
|
+
type: Input,
|
|
52
|
+
args: ['trigger-label']
|
|
53
|
+
}], severity: [{
|
|
54
|
+
type: Input
|
|
55
|
+
}], iconVisible: [{
|
|
56
|
+
type: Input,
|
|
57
|
+
args: ['icon-visible']
|
|
58
|
+
}] } });
|
|
59
|
+
|
|
60
|
+
class OkFvContextHelpModule {
|
|
61
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvContextHelpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
62
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: OkFvContextHelpModule, declarations: [OkFvContextHelpDirective], imports: [CommonModule], exports: [OkFvContextHelpDirective] }); }
|
|
63
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvContextHelpModule, imports: [CommonModule] }); }
|
|
64
|
+
}
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvContextHelpModule, decorators: [{
|
|
66
|
+
type: NgModule,
|
|
67
|
+
args: [{
|
|
68
|
+
declarations: [OkFvContextHelpDirective],
|
|
69
|
+
imports: [CommonModule],
|
|
70
|
+
exports: [OkFvContextHelpDirective]
|
|
71
|
+
}]
|
|
72
|
+
}] });
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Generated bundle index. Do not edit.
|
|
76
|
+
*/
|
|
77
|
+
|
|
78
|
+
export { OkFvContextHelpDirective, OkFvContextHelpModule };
|
|
79
|
+
//# sourceMappingURL=ni-ok-angular-fv-context-help.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-ok-angular-fv-context-help.mjs","sources":["../../../ok-angular/fv/context-help/ok-fv-context-help.directive.ts","../../../ok-angular/fv/context-help/ok-fv-context-help.module.ts","../../../ok-angular/fv/context-help/ni-ok-angular-fv-context-help.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { FvContextHelp } from '@ni/ok-components/dist/esm/fv/context-help';\nimport { fvContextHelpTag } from '@ni/ok-components/dist/esm/fv/context-help';\nimport type { FvContextHelpSeverity } from '@ni/ok-components/dist/esm/fv/context-help/types';\nimport { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';\n\nexport type { FvContextHelp };\nexport { fvContextHelpTag };\nexport type { FvContextHelpSeverity };\n\n/**\n * Directive to provide Angular integration for the context help.\n */\n@Directive({\n selector: 'ok-fv-context-help',\n standalone: false\n})\nexport class OkFvContextHelpDirective {\n public get text(): string {\n return this.elementRef.nativeElement.text;\n }\n\n @Input()\n public set text(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'text', value);\n }\n\n public get triggerLabel(): string {\n return this.elementRef.nativeElement.triggerLabel;\n }\n\n @Input('trigger-label')\n public set triggerLabel(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'triggerLabel', value);\n }\n\n public get severity(): FvContextHelpSeverity {\n return this.elementRef.nativeElement.severity;\n }\n\n @Input()\n public set severity(value: FvContextHelpSeverity) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'severity', value);\n }\n\n public get iconVisible(): boolean {\n return this.elementRef.nativeElement.iconVisible;\n }\n\n @Input('icon-visible')\n public set iconVisible(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'iconVisible', toBooleanProperty(value));\n }\n\n public constructor(\n private readonly elementRef: ElementRef<FvContextHelp>,\n private readonly renderer: Renderer2\n ) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { OkFvContextHelpDirective } from './ok-fv-context-help.directive';\n\nimport '@ni/ok-components/dist/esm/fv/context-help';\n\n@NgModule({\n declarations: [OkFvContextHelpDirective],\n imports: [CommonModule],\n exports: [OkFvContextHelpDirective]\n})\nexport class OkFvContextHelpModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAUA;;AAEG;MAKU,wBAAwB,CAAA;AACjC,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI;IAC7C;IAEA,IACW,IAAI,CAAC,KAAa,EAAA;AACzB,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,MAAM,EAAE,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|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, Directive, NgModule } from '@angular/core';
|
|
3
|
+
export { fvSplitButtonAnchorTag } from '@ni/ok-components/dist/esm/fv/split-button-anchor';
|
|
4
|
+
export { FvSplitButtonAnchorAppearance, FvSplitButtonAnchorAppearanceVariant } from '@ni/ok-components/dist/esm/fv/split-button-anchor/types';
|
|
5
|
+
import { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Directive to provide Angular integration for the split button anchor.
|
|
10
|
+
*/
|
|
11
|
+
class OkFvSplitButtonAnchorDirective {
|
|
12
|
+
get label() {
|
|
13
|
+
return this.elementRef.nativeElement.label;
|
|
14
|
+
}
|
|
15
|
+
set label(value) {
|
|
16
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'label', value);
|
|
17
|
+
}
|
|
18
|
+
get href() {
|
|
19
|
+
return this.elementRef.nativeElement.href;
|
|
20
|
+
}
|
|
21
|
+
set href(value) {
|
|
22
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'href', value);
|
|
23
|
+
}
|
|
24
|
+
get target() {
|
|
25
|
+
return this.elementRef.nativeElement.target;
|
|
26
|
+
}
|
|
27
|
+
set target(value) {
|
|
28
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'target', value);
|
|
29
|
+
}
|
|
30
|
+
get rel() {
|
|
31
|
+
return this.elementRef.nativeElement.rel;
|
|
32
|
+
}
|
|
33
|
+
set rel(value) {
|
|
34
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'rel', value);
|
|
35
|
+
}
|
|
36
|
+
get download() {
|
|
37
|
+
return this.elementRef.nativeElement.download;
|
|
38
|
+
}
|
|
39
|
+
set download(value) {
|
|
40
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'download', value);
|
|
41
|
+
}
|
|
42
|
+
get disabled() {
|
|
43
|
+
return this.elementRef.nativeElement.disabled;
|
|
44
|
+
}
|
|
45
|
+
set disabled(value) {
|
|
46
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
|
|
47
|
+
}
|
|
48
|
+
get open() {
|
|
49
|
+
return this.elementRef.nativeElement.open;
|
|
50
|
+
}
|
|
51
|
+
set open(value) {
|
|
52
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'open', toBooleanProperty(value));
|
|
53
|
+
}
|
|
54
|
+
get appearance() {
|
|
55
|
+
return this.elementRef.nativeElement.appearance;
|
|
56
|
+
}
|
|
57
|
+
set appearance(value) {
|
|
58
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);
|
|
59
|
+
}
|
|
60
|
+
get appearanceVariant() {
|
|
61
|
+
return this.elementRef.nativeElement.appearanceVariant;
|
|
62
|
+
}
|
|
63
|
+
set appearanceVariant(value) {
|
|
64
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'appearanceVariant', value);
|
|
65
|
+
}
|
|
66
|
+
constructor(elementRef, renderer) {
|
|
67
|
+
this.elementRef = elementRef;
|
|
68
|
+
this.renderer = renderer;
|
|
69
|
+
}
|
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSplitButtonAnchorDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
71
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.19", type: OkFvSplitButtonAnchorDirective, isStandalone: false, selector: "ok-fv-split-button-anchor", inputs: { label: "label", href: "href", target: "target", rel: "rel", download: "download", disabled: "disabled", open: "open", appearance: "appearance", appearanceVariant: ["appearance-variant", "appearanceVariant"] }, ngImport: i0 }); }
|
|
72
|
+
}
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSplitButtonAnchorDirective, decorators: [{
|
|
74
|
+
type: Directive,
|
|
75
|
+
args: [{
|
|
76
|
+
selector: 'ok-fv-split-button-anchor',
|
|
77
|
+
standalone: false
|
|
78
|
+
}]
|
|
79
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { label: [{
|
|
80
|
+
type: Input
|
|
81
|
+
}], href: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}], target: [{
|
|
84
|
+
type: Input
|
|
85
|
+
}], rel: [{
|
|
86
|
+
type: Input
|
|
87
|
+
}], download: [{
|
|
88
|
+
type: Input
|
|
89
|
+
}], disabled: [{
|
|
90
|
+
type: Input
|
|
91
|
+
}], open: [{
|
|
92
|
+
type: Input
|
|
93
|
+
}], appearance: [{
|
|
94
|
+
type: Input
|
|
95
|
+
}], appearanceVariant: [{
|
|
96
|
+
type: Input,
|
|
97
|
+
args: ['appearance-variant']
|
|
98
|
+
}] } });
|
|
99
|
+
|
|
100
|
+
class OkFvSplitButtonAnchorModule {
|
|
101
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSplitButtonAnchorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
102
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: OkFvSplitButtonAnchorModule, declarations: [OkFvSplitButtonAnchorDirective], imports: [CommonModule], exports: [OkFvSplitButtonAnchorDirective] }); }
|
|
103
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSplitButtonAnchorModule, imports: [CommonModule] }); }
|
|
104
|
+
}
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSplitButtonAnchorModule, decorators: [{
|
|
106
|
+
type: NgModule,
|
|
107
|
+
args: [{
|
|
108
|
+
declarations: [OkFvSplitButtonAnchorDirective],
|
|
109
|
+
imports: [CommonModule],
|
|
110
|
+
exports: [OkFvSplitButtonAnchorDirective]
|
|
111
|
+
}]
|
|
112
|
+
}] });
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Generated bundle index. Do not edit.
|
|
116
|
+
*/
|
|
117
|
+
|
|
118
|
+
export { OkFvSplitButtonAnchorDirective, OkFvSplitButtonAnchorModule };
|
|
119
|
+
//# sourceMappingURL=ni-ok-angular-fv-split-button-anchor.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-ok-angular-fv-split-button-anchor.mjs","sources":["../../../ok-angular/fv/split-button-anchor/ok-fv-split-button-anchor.directive.ts","../../../ok-angular/fv/split-button-anchor/ok-fv-split-button-anchor.module.ts","../../../ok-angular/fv/split-button-anchor/ni-ok-angular-fv-split-button-anchor.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { FvSplitButtonAnchor } from '@ni/ok-components/dist/esm/fv/split-button-anchor';\nimport { fvSplitButtonAnchorTag } from '@ni/ok-components/dist/esm/fv/split-button-anchor';\nimport { FvSplitButtonAnchorAppearance, FvSplitButtonAnchorAppearanceVariant } from '@ni/ok-components/dist/esm/fv/split-button-anchor/types';\nimport { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';\n\nexport type { FvSplitButtonAnchor };\nexport { fvSplitButtonAnchorTag };\nexport { FvSplitButtonAnchorAppearance, FvSplitButtonAnchorAppearanceVariant };\n\n/**\n * Directive to provide Angular integration for the split button anchor.\n */\n@Directive({\n selector: 'ok-fv-split-button-anchor',\n standalone: false\n})\nexport class OkFvSplitButtonAnchorDirective {\n public get label(): string {\n return this.elementRef.nativeElement.label;\n }\n\n @Input()\n public set label(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'label', value);\n }\n\n public get href(): string {\n return this.elementRef.nativeElement.href;\n }\n\n @Input()\n public set href(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'href', value);\n }\n\n public get target(): string {\n return this.elementRef.nativeElement.target;\n }\n\n @Input()\n public set target(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'target', value);\n }\n\n public get rel(): string {\n return this.elementRef.nativeElement.rel;\n }\n\n @Input()\n public set rel(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'rel', value);\n }\n\n public get download(): string {\n return this.elementRef.nativeElement.download;\n }\n\n @Input()\n public set download(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'download', value);\n }\n\n public get disabled(): boolean {\n return this.elementRef.nativeElement.disabled;\n }\n\n @Input()\n public set disabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));\n }\n\n public get open(): boolean {\n return this.elementRef.nativeElement.open;\n }\n\n @Input()\n public set open(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'open', toBooleanProperty(value));\n }\n\n public get appearance(): FvSplitButtonAnchorAppearance {\n return this.elementRef.nativeElement.appearance;\n }\n\n @Input()\n public set appearance(value: FvSplitButtonAnchorAppearance) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);\n }\n\n public get appearanceVariant(): FvSplitButtonAnchorAppearanceVariant {\n return this.elementRef.nativeElement.appearanceVariant;\n }\n\n @Input('appearance-variant')\n public set appearanceVariant(value: FvSplitButtonAnchorAppearanceVariant) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'appearanceVariant', value);\n }\n\n public constructor(\n private readonly elementRef: ElementRef<FvSplitButtonAnchor>,\n private readonly renderer: Renderer2\n ) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { OkFvSplitButtonAnchorDirective } from './ok-fv-split-button-anchor.directive';\n\nimport '@ni/ok-components/dist/esm/fv/split-button-anchor';\n\n@NgModule({\n declarations: [OkFvSplitButtonAnchorDirective],\n imports: [CommonModule],\n exports: [OkFvSplitButtonAnchorDirective]\n})\nexport class OkFvSplitButtonAnchorModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAUA;;AAEG;MAKU,8BAA8B,CAAA;AACvC,IAAA,IAAW,KAAK,GAAA;AACZ,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK;IAC9C;IAEA,IACW,KAAK,CAAC,KAAa,EAAA;AAC1B,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,OAAO,EAAE,KAAK,CAAC;IAC5E;AAEA,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI;IAC7C;IAEA,IACW,IAAI,CAAC,KAAa,EAAA;AACzB,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,CAAC;IAC3E;AAEA,IAAA,IAAW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM;IAC/C;IAEA,IACW,MAAM,CAAC,KAAa,EAAA;AAC3B,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,QAAQ,EAAE,KAAK,CAAC;IAC7E;AAEA,IAAA,IAAW,GAAG,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG;IAC5C;IAEA,IACW,GAAG,CAAC,KAAa,EAAA;AACxB,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,KAAK,EAAE,KAAK,CAAC;IAC1E;AAEA,IAAA,IAAW,QAAQ,GAAA;A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AAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,2BAA2B,EAAA,YAAA,EAAA,CAJrB,8BAA8B,CAAA,EAAA,OAAA,EAAA,CACnC,YAAY,aACZ,8BAA8B,CAAA,EAAA,CAAA,CAAA;AAE/B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,2BAA2B,YAH1B,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAGb,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBALvC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,8BAA8B,CAAC;oBAC9C,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,8BAA8B;AAC3C,iBAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, Directive, NgModule } from '@angular/core';
|
|
3
|
+
export { fvSplitButtonTag } from '@ni/ok-components/dist/esm/fv/split-button';
|
|
4
|
+
export { FvSplitButtonAppearance, FvSplitButtonAppearanceVariant } from '@ni/ok-components/dist/esm/fv/split-button/types';
|
|
5
|
+
import { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Directive to provide Angular integration for the split button.
|
|
10
|
+
*/
|
|
11
|
+
class OkFvSplitButtonDirective {
|
|
12
|
+
get label() {
|
|
13
|
+
return this.elementRef.nativeElement.label;
|
|
14
|
+
}
|
|
15
|
+
set label(value) {
|
|
16
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'label', value);
|
|
17
|
+
}
|
|
18
|
+
get disabled() {
|
|
19
|
+
return this.elementRef.nativeElement.disabled;
|
|
20
|
+
}
|
|
21
|
+
set disabled(value) {
|
|
22
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
|
|
23
|
+
}
|
|
24
|
+
get open() {
|
|
25
|
+
return this.elementRef.nativeElement.open;
|
|
26
|
+
}
|
|
27
|
+
set open(value) {
|
|
28
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'open', toBooleanProperty(value));
|
|
29
|
+
}
|
|
30
|
+
get appearance() {
|
|
31
|
+
return this.elementRef.nativeElement.appearance;
|
|
32
|
+
}
|
|
33
|
+
set appearance(value) {
|
|
34
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);
|
|
35
|
+
}
|
|
36
|
+
get appearanceVariant() {
|
|
37
|
+
return this.elementRef.nativeElement.appearanceVariant;
|
|
38
|
+
}
|
|
39
|
+
set appearanceVariant(value) {
|
|
40
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'appearanceVariant', value);
|
|
41
|
+
}
|
|
42
|
+
constructor(elementRef, renderer) {
|
|
43
|
+
this.elementRef = elementRef;
|
|
44
|
+
this.renderer = renderer;
|
|
45
|
+
}
|
|
46
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSplitButtonDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
47
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.19", type: OkFvSplitButtonDirective, isStandalone: false, selector: "ok-fv-split-button", inputs: { label: "label", disabled: "disabled", open: "open", appearance: "appearance", appearanceVariant: ["appearance-variant", "appearanceVariant"] }, ngImport: i0 }); }
|
|
48
|
+
}
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSplitButtonDirective, decorators: [{
|
|
50
|
+
type: Directive,
|
|
51
|
+
args: [{
|
|
52
|
+
selector: 'ok-fv-split-button',
|
|
53
|
+
standalone: false
|
|
54
|
+
}]
|
|
55
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { label: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], disabled: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}], open: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], appearance: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], appearanceVariant: [{
|
|
64
|
+
type: Input,
|
|
65
|
+
args: ['appearance-variant']
|
|
66
|
+
}] } });
|
|
67
|
+
|
|
68
|
+
class OkFvSplitButtonModule {
|
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSplitButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
70
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: OkFvSplitButtonModule, declarations: [OkFvSplitButtonDirective], imports: [CommonModule], exports: [OkFvSplitButtonDirective] }); }
|
|
71
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSplitButtonModule, imports: [CommonModule] }); }
|
|
72
|
+
}
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSplitButtonModule, decorators: [{
|
|
74
|
+
type: NgModule,
|
|
75
|
+
args: [{
|
|
76
|
+
declarations: [OkFvSplitButtonDirective],
|
|
77
|
+
imports: [CommonModule],
|
|
78
|
+
exports: [OkFvSplitButtonDirective]
|
|
79
|
+
}]
|
|
80
|
+
}] });
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Generated bundle index. Do not edit.
|
|
84
|
+
*/
|
|
85
|
+
|
|
86
|
+
export { OkFvSplitButtonDirective, OkFvSplitButtonModule };
|
|
87
|
+
//# sourceMappingURL=ni-ok-angular-fv-split-button.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-ok-angular-fv-split-button.mjs","sources":["../../../ok-angular/fv/split-button/ok-fv-split-button.directive.ts","../../../ok-angular/fv/split-button/ok-fv-split-button.module.ts","../../../ok-angular/fv/split-button/ni-ok-angular-fv-split-button.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { FvSplitButton } from '@ni/ok-components/dist/esm/fv/split-button';\nimport { fvSplitButtonTag } from '@ni/ok-components/dist/esm/fv/split-button';\nimport { FvSplitButtonAppearance, FvSplitButtonAppearanceVariant } from '@ni/ok-components/dist/esm/fv/split-button/types';\nimport { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';\n\nexport type { FvSplitButton };\nexport { fvSplitButtonTag };\nexport { FvSplitButtonAppearance, FvSplitButtonAppearanceVariant };\n\n/**\n * Directive to provide Angular integration for the split button.\n */\n@Directive({\n selector: 'ok-fv-split-button',\n standalone: false\n})\nexport class OkFvSplitButtonDirective {\n public get label(): string {\n return this.elementRef.nativeElement.label;\n }\n\n @Input()\n public set label(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'label', value);\n }\n\n public get disabled(): boolean {\n return this.elementRef.nativeElement.disabled;\n }\n\n @Input()\n public set disabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));\n }\n\n public get open(): boolean {\n return this.elementRef.nativeElement.open;\n }\n\n @Input()\n public set open(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'open', toBooleanProperty(value));\n }\n\n public get appearance(): FvSplitButtonAppearance {\n return this.elementRef.nativeElement.appearance;\n }\n\n @Input()\n public set appearance(value: FvSplitButtonAppearance) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);\n }\n\n public get appearanceVariant(): FvSplitButtonAppearanceVariant {\n return this.elementRef.nativeElement.appearanceVariant;\n }\n\n @Input('appearance-variant')\n public set appearanceVariant(value: FvSplitButtonAppearanceVariant) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'appearanceVariant', value);\n }\n\n public constructor(\n private readonly elementRef: ElementRef<FvSplitButton>,\n private readonly renderer: Renderer2\n ) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { OkFvSplitButtonDirective } from './ok-fv-split-button.directive';\n\nimport '@ni/ok-components/dist/esm/fv/split-button';\n\n@NgModule({\n declarations: [OkFvSplitButtonDirective],\n imports: [CommonModule],\n exports: [OkFvSplitButtonDirective]\n})\nexport class OkFvSplitButtonModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAUA;;AAEG;MAKU,wBAAwB,CAAA;AACjC,IAAA,IAAW,KAAK,GAAA;AACZ,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK;IAC9C;IAEA,IACW,KAAK,CAAC,KAAa,EAAA;AAC1B,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,OAAO,EAAE,KAAK,CAAC;IAC5E;AAEA,IAAA,IAAW,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ;IACjD;IAEA,IACW,QAAQ,CAAC,KAA8B,EAAA;AAC9C,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,UAAU,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAC;IAClG;AAEA,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI;IAC7C;IAEA,IACW,IAAI,CAAC,KAA8B,EAAA;AAC1C,QAA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CAAA,CAAA;;4FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAJpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,oBAAoB;AAC9B,oBAAA,UAAU,EAAE;AACf,iBAAA;;sBAMI;;sBASA;;sBASA;;sBASA;;sBASA,KAAK;uBAAC,oBAAoB;;;MC/ClB,qBAAqB,CAAA;+GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,EAAA,YAAA,EAAA,CAJf,wBAAwB,CAAA,EAAA,OAAA,EAAA,CAC7B,YAAY,aACZ,wBAAwB,CAAA,EAAA,CAAA,CAAA;AAEzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,YAHpB,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAGb,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,wBAAwB,CAAC;oBACxC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,wBAAwB;AACrC,iBAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, Directive, NgModule } from '@angular/core';
|
|
3
|
+
export { fvSummaryPanelTileTag } from '@ni/ok-components/dist/esm/fv/summary-panel-tile';
|
|
4
|
+
export { FvSummaryPanelTileTextPosition } from '@ni/ok-components/dist/esm/fv/summary-panel-tile/types';
|
|
5
|
+
import { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Directive to provide Angular integration for the summary panel tile.
|
|
10
|
+
*/
|
|
11
|
+
class OkFvSummaryPanelTileDirective {
|
|
12
|
+
get count() {
|
|
13
|
+
return this.elementRef.nativeElement.count;
|
|
14
|
+
}
|
|
15
|
+
set count(value) {
|
|
16
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'count', value);
|
|
17
|
+
}
|
|
18
|
+
get label() {
|
|
19
|
+
return this.elementRef.nativeElement.label;
|
|
20
|
+
}
|
|
21
|
+
set label(value) {
|
|
22
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'label', value);
|
|
23
|
+
}
|
|
24
|
+
get legacyStyle() {
|
|
25
|
+
return this.elementRef.nativeElement.legacyStyle;
|
|
26
|
+
}
|
|
27
|
+
set legacyStyle(value) {
|
|
28
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'legacyStyle', toBooleanProperty(value));
|
|
29
|
+
}
|
|
30
|
+
get selected() {
|
|
31
|
+
return this.elementRef.nativeElement.selected;
|
|
32
|
+
}
|
|
33
|
+
set selected(value) {
|
|
34
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'selected', toBooleanProperty(value));
|
|
35
|
+
}
|
|
36
|
+
get textPosition() {
|
|
37
|
+
return this.elementRef.nativeElement.textPosition;
|
|
38
|
+
}
|
|
39
|
+
set textPosition(value) {
|
|
40
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'textPosition', value);
|
|
41
|
+
}
|
|
42
|
+
constructor(elementRef, renderer) {
|
|
43
|
+
this.elementRef = elementRef;
|
|
44
|
+
this.renderer = renderer;
|
|
45
|
+
}
|
|
46
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSummaryPanelTileDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
47
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.19", type: OkFvSummaryPanelTileDirective, isStandalone: false, selector: "ok-fv-summary-panel-tile", inputs: { count: "count", label: "label", legacyStyle: ["legacy-style", "legacyStyle"], selected: "selected", textPosition: ["text-position", "textPosition"] }, ngImport: i0 }); }
|
|
48
|
+
}
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSummaryPanelTileDirective, decorators: [{
|
|
50
|
+
type: Directive,
|
|
51
|
+
args: [{
|
|
52
|
+
selector: 'ok-fv-summary-panel-tile',
|
|
53
|
+
standalone: false
|
|
54
|
+
}]
|
|
55
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { count: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], label: [{
|
|
58
|
+
type: Input
|
|
59
|
+
}], legacyStyle: [{
|
|
60
|
+
type: Input,
|
|
61
|
+
args: ['legacy-style']
|
|
62
|
+
}], selected: [{
|
|
63
|
+
type: Input
|
|
64
|
+
}], textPosition: [{
|
|
65
|
+
type: Input,
|
|
66
|
+
args: ['text-position']
|
|
67
|
+
}] } });
|
|
68
|
+
|
|
69
|
+
class OkFvSummaryPanelTileModule {
|
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSummaryPanelTileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
71
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: OkFvSummaryPanelTileModule, declarations: [OkFvSummaryPanelTileDirective], imports: [CommonModule], exports: [OkFvSummaryPanelTileDirective] }); }
|
|
72
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSummaryPanelTileModule, imports: [CommonModule] }); }
|
|
73
|
+
}
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSummaryPanelTileModule, decorators: [{
|
|
75
|
+
type: NgModule,
|
|
76
|
+
args: [{
|
|
77
|
+
declarations: [OkFvSummaryPanelTileDirective],
|
|
78
|
+
imports: [CommonModule],
|
|
79
|
+
exports: [OkFvSummaryPanelTileDirective]
|
|
80
|
+
}]
|
|
81
|
+
}] });
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Generated bundle index. Do not edit.
|
|
85
|
+
*/
|
|
86
|
+
|
|
87
|
+
export { OkFvSummaryPanelTileDirective, OkFvSummaryPanelTileModule };
|
|
88
|
+
//# sourceMappingURL=ni-ok-angular-fv-summary-panel-tile.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-ok-angular-fv-summary-panel-tile.mjs","sources":["../../../ok-angular/fv/summary-panel-tile/ok-fv-summary-panel-tile.directive.ts","../../../ok-angular/fv/summary-panel-tile/ok-fv-summary-panel-tile.module.ts","../../../ok-angular/fv/summary-panel-tile/ni-ok-angular-fv-summary-panel-tile.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { FvSummaryPanelTile } from '@ni/ok-components/dist/esm/fv/summary-panel-tile';\nimport { fvSummaryPanelTileTag } from '@ni/ok-components/dist/esm/fv/summary-panel-tile';\nimport { FvSummaryPanelTileTextPosition } from '@ni/ok-components/dist/esm/fv/summary-panel-tile/types';\nimport { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';\n\nexport type { FvSummaryPanelTile };\nexport { fvSummaryPanelTileTag };\nexport { FvSummaryPanelTileTextPosition };\n\n/**\n * Directive to provide Angular integration for the summary panel tile.\n */\n@Directive({\n selector: 'ok-fv-summary-panel-tile',\n standalone: false\n})\nexport class OkFvSummaryPanelTileDirective {\n public get count(): string {\n return this.elementRef.nativeElement.count;\n }\n\n @Input()\n public set count(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'count', value);\n }\n\n public get label(): string {\n return this.elementRef.nativeElement.label;\n }\n\n @Input()\n public set label(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'label', value);\n }\n\n public get legacyStyle(): boolean {\n return this.elementRef.nativeElement.legacyStyle;\n }\n\n @Input('legacy-style')\n public set legacyStyle(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'legacyStyle', toBooleanProperty(value));\n }\n\n public get selected(): boolean {\n return this.elementRef.nativeElement.selected;\n }\n\n @Input()\n public set selected(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'selected', toBooleanProperty(value));\n }\n\n public get textPosition(): FvSummaryPanelTileTextPosition {\n return this.elementRef.nativeElement.textPosition;\n }\n\n @Input('text-position')\n public set textPosition(value: FvSummaryPanelTileTextPosition) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'textPosition', value);\n }\n\n public constructor(\n private readonly elementRef: ElementRef<FvSummaryPanelTile>,\n private readonly renderer: Renderer2\n ) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { OkFvSummaryPanelTileDirective } from './ok-fv-summary-panel-tile.directive';\n\nimport '@ni/ok-components/dist/esm/fv/summary-panel-tile';\n\n@NgModule({\n declarations: [OkFvSummaryPanelTileDirective],\n imports: [CommonModule],\n exports: [OkFvSummaryPanelTileDirective]\n})\nexport class OkFvSummaryPanelTileModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAUA;;AAEG;MAKU,6BAA6B,CAAA;AACtC,IAAA,IAAW,KAAK,GAAA;AACZ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,OAAA,EAAA,CAClC,YAAY,aACZ,6BAA6B,CAAA,EAAA,CAAA,CAAA;AAE9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,YAHzB,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAGb,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBALtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,6BAA6B,CAAC;oBAC7C,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,6BAA6B;AAC1C,iBAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, Directive, NgModule } from '@angular/core';
|
|
3
|
+
export { fvSummaryPanelTag } from '@ni/ok-components/dist/esm/fv/summary-panel';
|
|
4
|
+
import { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Directive to provide Angular integration for the summary panel.
|
|
9
|
+
*/
|
|
10
|
+
class OkFvSummaryPanelDirective {
|
|
11
|
+
get showEditItemsButton() {
|
|
12
|
+
return this.elementRef.nativeElement.showEditItemsButton;
|
|
13
|
+
}
|
|
14
|
+
set showEditItemsButton(value) {
|
|
15
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'showEditItemsButton', toBooleanProperty(value));
|
|
16
|
+
}
|
|
17
|
+
get legacyStyle() {
|
|
18
|
+
return this.elementRef.nativeElement.legacyStyle;
|
|
19
|
+
}
|
|
20
|
+
set legacyStyle(value) {
|
|
21
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'legacyStyle', toBooleanProperty(value));
|
|
22
|
+
}
|
|
23
|
+
get editItemsButtonLabel() {
|
|
24
|
+
return this.elementRef.nativeElement.editItemsButtonLabel;
|
|
25
|
+
}
|
|
26
|
+
set editItemsButtonLabel(value) {
|
|
27
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'editItemsButtonLabel', value);
|
|
28
|
+
}
|
|
29
|
+
constructor(elementRef, renderer) {
|
|
30
|
+
this.elementRef = elementRef;
|
|
31
|
+
this.renderer = renderer;
|
|
32
|
+
}
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSummaryPanelDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
34
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.19", type: OkFvSummaryPanelDirective, isStandalone: false, selector: "ok-fv-summary-panel", inputs: { showEditItemsButton: ["show-edit-items-button", "showEditItemsButton"], legacyStyle: ["legacy-style", "legacyStyle"], editItemsButtonLabel: ["edit-items-button-label", "editItemsButtonLabel"] }, ngImport: i0 }); }
|
|
35
|
+
}
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSummaryPanelDirective, decorators: [{
|
|
37
|
+
type: Directive,
|
|
38
|
+
args: [{
|
|
39
|
+
selector: 'ok-fv-summary-panel',
|
|
40
|
+
standalone: false
|
|
41
|
+
}]
|
|
42
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { showEditItemsButton: [{
|
|
43
|
+
type: Input,
|
|
44
|
+
args: ['show-edit-items-button']
|
|
45
|
+
}], legacyStyle: [{
|
|
46
|
+
type: Input,
|
|
47
|
+
args: ['legacy-style']
|
|
48
|
+
}], editItemsButtonLabel: [{
|
|
49
|
+
type: Input,
|
|
50
|
+
args: ['edit-items-button-label']
|
|
51
|
+
}] } });
|
|
52
|
+
|
|
53
|
+
class OkFvSummaryPanelModule {
|
|
54
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSummaryPanelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
55
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: OkFvSummaryPanelModule, declarations: [OkFvSummaryPanelDirective], imports: [CommonModule], exports: [OkFvSummaryPanelDirective] }); }
|
|
56
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSummaryPanelModule, imports: [CommonModule] }); }
|
|
57
|
+
}
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: OkFvSummaryPanelModule, decorators: [{
|
|
59
|
+
type: NgModule,
|
|
60
|
+
args: [{
|
|
61
|
+
declarations: [OkFvSummaryPanelDirective],
|
|
62
|
+
imports: [CommonModule],
|
|
63
|
+
exports: [OkFvSummaryPanelDirective]
|
|
64
|
+
}]
|
|
65
|
+
}] });
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Generated bundle index. Do not edit.
|
|
69
|
+
*/
|
|
70
|
+
|
|
71
|
+
export { OkFvSummaryPanelDirective, OkFvSummaryPanelModule };
|
|
72
|
+
//# sourceMappingURL=ni-ok-angular-fv-summary-panel.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-ok-angular-fv-summary-panel.mjs","sources":["../../../ok-angular/fv/summary-panel/ok-fv-summary-panel.directive.ts","../../../ok-angular/fv/summary-panel/ok-fv-summary-panel.module.ts","../../../ok-angular/fv/summary-panel/ni-ok-angular-fv-summary-panel.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { FvSummaryPanel } from '@ni/ok-components/dist/esm/fv/summary-panel';\nimport { fvSummaryPanelTag } from '@ni/ok-components/dist/esm/fv/summary-panel';\nimport { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';\n\nexport type { FvSummaryPanel };\nexport { fvSummaryPanelTag };\n\n/**\n * Directive to provide Angular integration for the summary panel.\n */\n@Directive({\n selector: 'ok-fv-summary-panel',\n standalone: false\n})\nexport class OkFvSummaryPanelDirective {\n public get showEditItemsButton(): boolean {\n return this.elementRef.nativeElement.showEditItemsButton;\n }\n\n @Input('show-edit-items-button')\n public set showEditItemsButton(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'showEditItemsButton', toBooleanProperty(value));\n }\n\n public get legacyStyle(): boolean {\n return this.elementRef.nativeElement.legacyStyle;\n }\n\n @Input('legacy-style')\n public set legacyStyle(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'legacyStyle', toBooleanProperty(value));\n }\n\n public get editItemsButtonLabel(): string {\n return this.elementRef.nativeElement.editItemsButtonLabel;\n }\n\n @Input('edit-items-button-label')\n public set editItemsButtonLabel(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'editItemsButtonLabel', value);\n }\n\n public constructor(\n private readonly elementRef: ElementRef<FvSummaryPanel>,\n private readonly renderer: Renderer2\n ) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { OkFvSummaryPanelDirective } from './ok-fv-summary-panel.directive';\n\nimport '@ni/ok-components/dist/esm/fv/summary-panel';\n\n@NgModule({\n declarations: [OkFvSummaryPanelDirective],\n imports: [CommonModule],\n exports: [OkFvSummaryPanelDirective]\n})\nexport class OkFvSummaryPanelModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAQA;;AAEG;MAKU,yBAAyB,CAAA;AAClC,IAAA,IAAW,mBAAmB,GAAA;AAC1B,QAAA,OAAO,IAAI,C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-0,0 +1,41 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
3
|
+
import { FvCard } from '@ni/ok-components/dist/esm/fv/card';
|
|
4
|
+
export { FvCard, fvCardTag } from '@ni/ok-components/dist/esm/fv/card';
|
|
5
|
+
import { FvCardAppearance, FvCardInteractionMode } from '@ni/ok-components/dist/esm/fv/card/types';
|
|
6
|
+
export { FvCardAppearance, FvCardInteractionMode } from '@ni/ok-components/dist/esm/fv/card/types';
|
|
7
|
+
import { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
8
|
+
import * as i2 from '@angular/common';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Directive to provide Angular integration for the card.
|
|
12
|
+
*/
|
|
13
|
+
declare class OkFvCardDirective {
|
|
14
|
+
private readonly elementRef;
|
|
15
|
+
private readonly renderer;
|
|
16
|
+
get title(): string;
|
|
17
|
+
set title(value: string);
|
|
18
|
+
get subtitle(): string;
|
|
19
|
+
set subtitle(value: string);
|
|
20
|
+
get description(): string;
|
|
21
|
+
set description(value: string);
|
|
22
|
+
get appearance(): FvCardAppearance;
|
|
23
|
+
set appearance(value: FvCardAppearance);
|
|
24
|
+
get interactionMode(): FvCardInteractionMode;
|
|
25
|
+
set interactionMode(value: FvCardInteractionMode);
|
|
26
|
+
get disabled(): boolean;
|
|
27
|
+
set disabled(value: BooleanValueOrAttribute);
|
|
28
|
+
get initials(): string;
|
|
29
|
+
set initials(value: string);
|
|
30
|
+
constructor(elementRef: ElementRef<FvCard>, renderer: Renderer2);
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OkFvCardDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OkFvCardDirective, "ok-fv-card", never, { "title": { "alias": "card-title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "description": { "alias": "description"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "interactionMode": { "alias": "interaction-mode"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "initials": { "alias": "initials"; "required": false; }; }, {}, never, never, false, never>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
declare class OkFvCardModule {
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OkFvCardModule, never>;
|
|
37
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OkFvCardModule, [typeof OkFvCardDirective], [typeof i2.CommonModule], [typeof OkFvCardDirective]>;
|
|
38
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OkFvCardModule>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { OkFvCardDirective, OkFvCardModule };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
3
|
+
import { FvChipSelector } from '@ni/ok-components/dist/esm/fv/chip-selector';
|
|
4
|
+
export { FvChipSelector, fvChipSelectorTag } from '@ni/ok-components/dist/esm/fv/chip-selector';
|
|
5
|
+
import { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
6
|
+
import * as i2 from '@angular/common';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Directive to provide Angular integration for the chip selector.
|
|
10
|
+
*/
|
|
11
|
+
declare class OkFvChipSelectorDirective {
|
|
12
|
+
private readonly elementRef;
|
|
13
|
+
private readonly renderer;
|
|
14
|
+
get disabled(): boolean;
|
|
15
|
+
set disabled(value: BooleanValueOrAttribute);
|
|
16
|
+
get open(): boolean;
|
|
17
|
+
set open(value: BooleanValueOrAttribute);
|
|
18
|
+
get label(): string;
|
|
19
|
+
set label(value: string);
|
|
20
|
+
get selectedValues(): string;
|
|
21
|
+
set selectedValues(value: string);
|
|
22
|
+
get options(): string;
|
|
23
|
+
set options(value: string);
|
|
24
|
+
get placeholder(): string;
|
|
25
|
+
set placeholder(value: string);
|
|
26
|
+
get allowCustomValues(): boolean;
|
|
27
|
+
set allowCustomValues(value: BooleanValueOrAttribute);
|
|
28
|
+
constructor(elementRef: ElementRef<FvChipSelector>, renderer: Renderer2);
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OkFvChipSelectorDirective, never>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OkFvChipSelectorDirective, "ok-fv-chip-selector", never, { "disabled": { "alias": "disabled"; "required": false; }; "open": { "alias": "open"; "required": false; }; "label": { "alias": "label"; "required": false; }; "selectedValues": { "alias": "selected-values"; "required": false; }; "options": { "alias": "options"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "allowCustomValues": { "alias": "allow-custom-values"; "required": false; }; }, {}, never, never, false, never>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare class OkFvChipSelectorModule {
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OkFvChipSelectorModule, never>;
|
|
35
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OkFvChipSelectorModule, [typeof OkFvChipSelectorDirective], [typeof i2.CommonModule], [typeof OkFvChipSelectorDirective]>;
|
|
36
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OkFvChipSelectorModule>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { OkFvChipSelectorDirective, OkFvChipSelectorModule };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
3
|
+
import { FvContextHelp } from '@ni/ok-components/dist/esm/fv/context-help';
|
|
4
|
+
export { FvContextHelp, fvContextHelpTag } from '@ni/ok-components/dist/esm/fv/context-help';
|
|
5
|
+
import { FvContextHelpSeverity } from '@ni/ok-components/dist/esm/fv/context-help/types';
|
|
6
|
+
export { FvContextHelpSeverity } from '@ni/ok-components/dist/esm/fv/context-help/types';
|
|
7
|
+
import { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
8
|
+
import * as i2 from '@angular/common';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Directive to provide Angular integration for the context help.
|
|
12
|
+
*/
|
|
13
|
+
declare class OkFvContextHelpDirective {
|
|
14
|
+
private readonly elementRef;
|
|
15
|
+
private readonly renderer;
|
|
16
|
+
get text(): string;
|
|
17
|
+
set text(value: string);
|
|
18
|
+
get triggerLabel(): string;
|
|
19
|
+
set triggerLabel(value: string);
|
|
20
|
+
get severity(): FvContextHelpSeverity;
|
|
21
|
+
set severity(value: FvContextHelpSeverity);
|
|
22
|
+
get iconVisible(): boolean;
|
|
23
|
+
set iconVisible(value: BooleanValueOrAttribute);
|
|
24
|
+
constructor(elementRef: ElementRef<FvContextHelp>, renderer: Renderer2);
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OkFvContextHelpDirective, never>;
|
|
26
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OkFvContextHelpDirective, "ok-fv-context-help", never, { "text": { "alias": "text"; "required": false; }; "triggerLabel": { "alias": "trigger-label"; "required": false; }; "severity": { "alias": "severity"; "required": false; }; "iconVisible": { "alias": "icon-visible"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare class OkFvContextHelpModule {
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OkFvContextHelpModule, never>;
|
|
31
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OkFvContextHelpModule, [typeof OkFvContextHelpDirective], [typeof i2.CommonModule], [typeof OkFvContextHelpDirective]>;
|
|
32
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OkFvContextHelpModule>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { OkFvContextHelpDirective, OkFvContextHelpModule };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
3
|
+
import { FvSplitButton } from '@ni/ok-components/dist/esm/fv/split-button';
|
|
4
|
+
export { FvSplitButton, fvSplitButtonTag } from '@ni/ok-components/dist/esm/fv/split-button';
|
|
5
|
+
import { FvSplitButtonAppearance, FvSplitButtonAppearanceVariant } from '@ni/ok-components/dist/esm/fv/split-button/types';
|
|
6
|
+
export { FvSplitButtonAppearance, FvSplitButtonAppearanceVariant } from '@ni/ok-components/dist/esm/fv/split-button/types';
|
|
7
|
+
import { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
8
|
+
import * as i2 from '@angular/common';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Directive to provide Angular integration for the split button.
|
|
12
|
+
*/
|
|
13
|
+
declare class OkFvSplitButtonDirective {
|
|
14
|
+
private readonly elementRef;
|
|
15
|
+
private readonly renderer;
|
|
16
|
+
get label(): string;
|
|
17
|
+
set label(value: string);
|
|
18
|
+
get disabled(): boolean;
|
|
19
|
+
set disabled(value: BooleanValueOrAttribute);
|
|
20
|
+
get open(): boolean;
|
|
21
|
+
set open(value: BooleanValueOrAttribute);
|
|
22
|
+
get appearance(): FvSplitButtonAppearance;
|
|
23
|
+
set appearance(value: FvSplitButtonAppearance);
|
|
24
|
+
get appearanceVariant(): FvSplitButtonAppearanceVariant;
|
|
25
|
+
set appearanceVariant(value: FvSplitButtonAppearanceVariant);
|
|
26
|
+
constructor(elementRef: ElementRef<FvSplitButton>, renderer: Renderer2);
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OkFvSplitButtonDirective, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OkFvSplitButtonDirective, "ok-fv-split-button", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "open": { "alias": "open"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "appearanceVariant": { "alias": "appearance-variant"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare class OkFvSplitButtonModule {
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OkFvSplitButtonModule, never>;
|
|
33
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OkFvSplitButtonModule, [typeof OkFvSplitButtonDirective], [typeof i2.CommonModule], [typeof OkFvSplitButtonDirective]>;
|
|
34
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OkFvSplitButtonModule>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { OkFvSplitButtonDirective, OkFvSplitButtonModule };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
3
|
+
import { FvSplitButtonAnchor } from '@ni/ok-components/dist/esm/fv/split-button-anchor';
|
|
4
|
+
export { FvSplitButtonAnchor, fvSplitButtonAnchorTag } from '@ni/ok-components/dist/esm/fv/split-button-anchor';
|
|
5
|
+
import { FvSplitButtonAnchorAppearance, FvSplitButtonAnchorAppearanceVariant } from '@ni/ok-components/dist/esm/fv/split-button-anchor/types';
|
|
6
|
+
export { FvSplitButtonAnchorAppearance, FvSplitButtonAnchorAppearanceVariant } from '@ni/ok-components/dist/esm/fv/split-button-anchor/types';
|
|
7
|
+
import { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
8
|
+
import * as i2 from '@angular/common';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Directive to provide Angular integration for the split button anchor.
|
|
12
|
+
*/
|
|
13
|
+
declare class OkFvSplitButtonAnchorDirective {
|
|
14
|
+
private readonly elementRef;
|
|
15
|
+
private readonly renderer;
|
|
16
|
+
get label(): string;
|
|
17
|
+
set label(value: string);
|
|
18
|
+
get href(): string;
|
|
19
|
+
set href(value: string);
|
|
20
|
+
get target(): string;
|
|
21
|
+
set target(value: string);
|
|
22
|
+
get rel(): string;
|
|
23
|
+
set rel(value: string);
|
|
24
|
+
get download(): string;
|
|
25
|
+
set download(value: string);
|
|
26
|
+
get disabled(): boolean;
|
|
27
|
+
set disabled(value: BooleanValueOrAttribute);
|
|
28
|
+
get open(): boolean;
|
|
29
|
+
set open(value: BooleanValueOrAttribute);
|
|
30
|
+
get appearance(): FvSplitButtonAnchorAppearance;
|
|
31
|
+
set appearance(value: FvSplitButtonAnchorAppearance);
|
|
32
|
+
get appearanceVariant(): FvSplitButtonAnchorAppearanceVariant;
|
|
33
|
+
set appearanceVariant(value: FvSplitButtonAnchorAppearanceVariant);
|
|
34
|
+
constructor(elementRef: ElementRef<FvSplitButtonAnchor>, renderer: Renderer2);
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OkFvSplitButtonAnchorDirective, never>;
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OkFvSplitButtonAnchorDirective, "ok-fv-split-button-anchor", never, { "label": { "alias": "label"; "required": false; }; "href": { "alias": "href"; "required": false; }; "target": { "alias": "target"; "required": false; }; "rel": { "alias": "rel"; "required": false; }; "download": { "alias": "download"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "open": { "alias": "open"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "appearanceVariant": { "alias": "appearance-variant"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
declare class OkFvSplitButtonAnchorModule {
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OkFvSplitButtonAnchorModule, never>;
|
|
41
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OkFvSplitButtonAnchorModule, [typeof OkFvSplitButtonAnchorDirective], [typeof i2.CommonModule], [typeof OkFvSplitButtonAnchorDirective]>;
|
|
42
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OkFvSplitButtonAnchorModule>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { OkFvSplitButtonAnchorDirective, OkFvSplitButtonAnchorModule };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
3
|
+
import { FvSummaryPanel } from '@ni/ok-components/dist/esm/fv/summary-panel';
|
|
4
|
+
export { FvSummaryPanel, fvSummaryPanelTag } from '@ni/ok-components/dist/esm/fv/summary-panel';
|
|
5
|
+
import { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
6
|
+
import * as i2 from '@angular/common';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Directive to provide Angular integration for the summary panel.
|
|
10
|
+
*/
|
|
11
|
+
declare class OkFvSummaryPanelDirective {
|
|
12
|
+
private readonly elementRef;
|
|
13
|
+
private readonly renderer;
|
|
14
|
+
get showEditItemsButton(): boolean;
|
|
15
|
+
set showEditItemsButton(value: BooleanValueOrAttribute);
|
|
16
|
+
get legacyStyle(): boolean;
|
|
17
|
+
set legacyStyle(value: BooleanValueOrAttribute);
|
|
18
|
+
get editItemsButtonLabel(): string;
|
|
19
|
+
set editItemsButtonLabel(value: string);
|
|
20
|
+
constructor(elementRef: ElementRef<FvSummaryPanel>, renderer: Renderer2);
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OkFvSummaryPanelDirective, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OkFvSummaryPanelDirective, "ok-fv-summary-panel", never, { "showEditItemsButton": { "alias": "show-edit-items-button"; "required": false; }; "legacyStyle": { "alias": "legacy-style"; "required": false; }; "editItemsButtonLabel": { "alias": "edit-items-button-label"; "required": false; }; }, {}, never, never, false, never>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare class OkFvSummaryPanelModule {
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OkFvSummaryPanelModule, never>;
|
|
27
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OkFvSummaryPanelModule, [typeof OkFvSummaryPanelDirective], [typeof i2.CommonModule], [typeof OkFvSummaryPanelDirective]>;
|
|
28
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OkFvSummaryPanelModule>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { OkFvSummaryPanelDirective, OkFvSummaryPanelModule };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
3
|
+
import { FvSummaryPanelTile } from '@ni/ok-components/dist/esm/fv/summary-panel-tile';
|
|
4
|
+
export { FvSummaryPanelTile, fvSummaryPanelTileTag } from '@ni/ok-components/dist/esm/fv/summary-panel-tile';
|
|
5
|
+
import { FvSummaryPanelTileTextPosition } from '@ni/ok-components/dist/esm/fv/summary-panel-tile/types';
|
|
6
|
+
export { FvSummaryPanelTileTextPosition } from '@ni/ok-components/dist/esm/fv/summary-panel-tile/types';
|
|
7
|
+
import { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
8
|
+
import * as i2 from '@angular/common';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Directive to provide Angular integration for the summary panel tile.
|
|
12
|
+
*/
|
|
13
|
+
declare class OkFvSummaryPanelTileDirective {
|
|
14
|
+
private readonly elementRef;
|
|
15
|
+
private readonly renderer;
|
|
16
|
+
get count(): string;
|
|
17
|
+
set count(value: string);
|
|
18
|
+
get label(): string;
|
|
19
|
+
set label(value: string);
|
|
20
|
+
get legacyStyle(): boolean;
|
|
21
|
+
set legacyStyle(value: BooleanValueOrAttribute);
|
|
22
|
+
get selected(): boolean;
|
|
23
|
+
set selected(value: BooleanValueOrAttribute);
|
|
24
|
+
get textPosition(): FvSummaryPanelTileTextPosition;
|
|
25
|
+
set textPosition(value: FvSummaryPanelTileTextPosition);
|
|
26
|
+
constructor(elementRef: ElementRef<FvSummaryPanelTile>, renderer: Renderer2);
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OkFvSummaryPanelTileDirective, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OkFvSummaryPanelTileDirective, "ok-fv-summary-panel-tile", never, { "count": { "alias": "count"; "required": false; }; "label": { "alias": "label"; "required": false; }; "legacyStyle": { "alias": "legacy-style"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "textPosition": { "alias": "text-position"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare class OkFvSummaryPanelTileModule {
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OkFvSummaryPanelTileModule, never>;
|
|
33
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OkFvSummaryPanelTileModule, [typeof OkFvSummaryPanelTileDirective], [typeof i2.CommonModule], [typeof OkFvSummaryPanelTileDirective]>;
|
|
34
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OkFvSummaryPanelTileModule>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { OkFvSummaryPanelTileDirective, OkFvSummaryPanelTileModule };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/ok-angular",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Angular components for NI OK Components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -45,9 +45,37 @@
|
|
|
45
45
|
"types": "./fv/accordion-item/index.d.ts",
|
|
46
46
|
"default": "./fesm2022/ni-ok-angular-fv-accordion-item.mjs"
|
|
47
47
|
},
|
|
48
|
+
"./fv/card": {
|
|
49
|
+
"types": "./fv/card/index.d.ts",
|
|
50
|
+
"default": "./fesm2022/ni-ok-angular-fv-card.mjs"
|
|
51
|
+
},
|
|
52
|
+
"./fv/chip-selector": {
|
|
53
|
+
"types": "./fv/chip-selector/index.d.ts",
|
|
54
|
+
"default": "./fesm2022/ni-ok-angular-fv-chip-selector.mjs"
|
|
55
|
+
},
|
|
56
|
+
"./fv/context-help": {
|
|
57
|
+
"types": "./fv/context-help/index.d.ts",
|
|
58
|
+
"default": "./fesm2022/ni-ok-angular-fv-context-help.mjs"
|
|
59
|
+
},
|
|
48
60
|
"./fv/search-input": {
|
|
49
61
|
"types": "./fv/search-input/index.d.ts",
|
|
50
62
|
"default": "./fesm2022/ni-ok-angular-fv-search-input.mjs"
|
|
63
|
+
},
|
|
64
|
+
"./fv/split-button": {
|
|
65
|
+
"types": "./fv/split-button/index.d.ts",
|
|
66
|
+
"default": "./fesm2022/ni-ok-angular-fv-split-button.mjs"
|
|
67
|
+
},
|
|
68
|
+
"./fv/split-button-anchor": {
|
|
69
|
+
"types": "./fv/split-button-anchor/index.d.ts",
|
|
70
|
+
"default": "./fesm2022/ni-ok-angular-fv-split-button-anchor.mjs"
|
|
71
|
+
},
|
|
72
|
+
"./fv/summary-panel": {
|
|
73
|
+
"types": "./fv/summary-panel/index.d.ts",
|
|
74
|
+
"default": "./fesm2022/ni-ok-angular-fv-summary-panel.mjs"
|
|
75
|
+
},
|
|
76
|
+
"./fv/summary-panel-tile": {
|
|
77
|
+
"types": "./fv/summary-panel-tile/index.d.ts",
|
|
78
|
+
"default": "./fesm2022/ni-ok-angular-fv-summary-panel-tile.mjs"
|
|
51
79
|
}
|
|
52
80
|
},
|
|
53
81
|
"sideEffects": false
|