@ni/ok-angular 2.1.2 → 2.1.3
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Input, Directive, NgModule } from '@angular/core';
|
|
3
|
-
export { fvAccordionItemTag } from '@ni/ok-components/dist/esm/fv
|
|
4
|
-
export { FvAccordionItemAppearance } from '@ni/ok-components/dist/esm/fv
|
|
3
|
+
export { fvAccordionItemTag } from '@ni/ok-components/dist/esm/fv/accordion-item';
|
|
4
|
+
export { FvAccordionItemAppearance } from '@ni/ok-components/dist/esm/fv/accordion-item/types';
|
|
5
5
|
import { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
6
6
|
import { CommonModule } from '@angular/common';
|
|
7
7
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-ok-angular-fv-accordion-item.mjs","sources":["../../../ok-angular/fv
|
|
1
|
+
{"version":3,"file":"ni-ok-angular-fv-accordion-item.mjs","sources":["../../../ok-angular/fv/accordion-item/fv-accordion-item.directive.ts","../../../ok-angular/fv/accordion-item/fv-accordion-item.module.ts","../../../ok-angular/fv/accordion-item/ni-ok-angular-fv-accordion-item.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { FvAccordionItem } from '@ni/ok-components/dist/esm/fv/accordion-item';\nimport { fvAccordionItemTag } from '@ni/ok-components/dist/esm/fv/accordion-item';\nimport { FvAccordionItemAppearance } from '@ni/ok-components/dist/esm/fv/accordion-item/types';\nimport { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';\n\nexport type { FvAccordionItem };\nexport { fvAccordionItemTag };\nexport { FvAccordionItemAppearance };\n\n/**\n * Directive to provide Angular integration for the accordion item.\n */\n@Directive({\n selector: 'ok-fv-accordion-item',\n standalone: false\n})\nexport class OkFvAccordionItemDirective {\n public get header(): string {\n return this.elementRef.nativeElement.header;\n }\n\n @Input()\n public set header(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'header', value);\n }\n\n public get expanded(): boolean {\n return this.elementRef.nativeElement.expanded;\n }\n\n @Input()\n public set expanded(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'expanded', toBooleanProperty(value));\n }\n\n public get appearance(): FvAccordionItemAppearance {\n return this.elementRef.nativeElement.appearance;\n }\n\n @Input()\n public set appearance(value: FvAccordionItemAppearance) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);\n }\n\n public constructor(\n private readonly elementRef: ElementRef<FvAccordionItem>,\n private readonly renderer: Renderer2\n ) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { OkFvAccordionItemDirective } from './fv-accordion-item.directive';\n\nimport '@ni/ok-components/dist/esm/fv/accordion-item';\n\n@NgModule({\n declarations: [OkFvAccordionItemDirective],\n imports: [CommonModule],\n exports: [OkFvAccordionItemDirective]\n})\nexport class OkFvAccordionItemModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AAUA;;AAEG;MAKU,0BAA0B,CAAA;AACnC,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,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,C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AA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,EAAA,YAAA,EAAA,CAJjB,0BAA0B,CAAA,EAAA,OAAA,EAAA,CAC/B,YAAY,aACZ,0BAA0B,CAAA,EAAA,CAAA,CAAA;AAE3B,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,uBAAuB,YAHtB,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAGb,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,0BAA0B,CAAC;oBAC1C,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,0BAA0B;AACvC,iBAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
3
|
-
import { FvAccordionItem } from '@ni/ok-components/dist/esm/fv
|
|
4
|
-
export { FvAccordionItem, fvAccordionItemTag } from '@ni/ok-components/dist/esm/fv
|
|
5
|
-
import { FvAccordionItemAppearance } from '@ni/ok-components/dist/esm/fv
|
|
6
|
-
export { FvAccordionItemAppearance } from '@ni/ok-components/dist/esm/fv
|
|
3
|
+
import { FvAccordionItem } from '@ni/ok-components/dist/esm/fv/accordion-item';
|
|
4
|
+
export { FvAccordionItem, fvAccordionItemTag } from '@ni/ok-components/dist/esm/fv/accordion-item';
|
|
5
|
+
import { FvAccordionItemAppearance } from '@ni/ok-components/dist/esm/fv/accordion-item/types';
|
|
6
|
+
export { FvAccordionItemAppearance } from '@ni/ok-components/dist/esm/fv/accordion-item/types';
|
|
7
7
|
import { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
8
8
|
import * as i2 from '@angular/common';
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/ok-angular",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "Angular components for NI OK Components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@angular/common": "^20.3.15",
|
|
26
26
|
"@angular/core": "^20.3.15",
|
|
27
27
|
"@angular/localize": "^20.3.15",
|
|
28
|
-
"@ni/ok-components": "^0.4.
|
|
28
|
+
"@ni/ok-components": "^0.4.3"
|
|
29
29
|
},
|
|
30
30
|
"module": "fesm2022/ni-ok-angular.mjs",
|
|
31
31
|
"typings": "index.d.ts",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"types": "./button/index.d.ts",
|
|
42
42
|
"default": "./fesm2022/ni-ok-angular-button.mjs"
|
|
43
43
|
},
|
|
44
|
-
"./fv
|
|
45
|
-
"types": "./fv
|
|
44
|
+
"./fv/accordion-item": {
|
|
45
|
+
"types": "./fv/accordion-item/index.d.ts",
|
|
46
46
|
"default": "./fesm2022/ni-ok-angular-fv-accordion-item.mjs"
|
|
47
47
|
}
|
|
48
48
|
},
|