@ni/ok-angular 2.1.6 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,69 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Input, Directive, NgModule } from '@angular/core';
3
+ export { fvSearchInputTag } from '@ni/ok-components/dist/esm/fv/search-input';
4
+ export { FvSearchInputAppearance } from '@ni/ok-components/dist/esm/fv/search-input/types';
5
+ import { CommonModule } from '@angular/common';
6
+
7
+ /**
8
+ * Directive to provide Angular integration for the FV search input.
9
+ */
10
+ class OkFvSearchInputDirective {
11
+ get appearance() {
12
+ return this.elementRef.nativeElement.appearance;
13
+ }
14
+ set appearance(value) {
15
+ this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);
16
+ }
17
+ get placeholder() {
18
+ return this.elementRef.nativeElement.placeholder;
19
+ }
20
+ set placeholder(value) {
21
+ this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);
22
+ }
23
+ get value() {
24
+ return this.elementRef.nativeElement.value;
25
+ }
26
+ set value(value) {
27
+ this.renderer.setProperty(this.elementRef.nativeElement, 'value', 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.18", ngImport: i0, type: OkFvSearchInputDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
34
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: OkFvSearchInputDirective, isStandalone: false, selector: "ok-fv-search-input", inputs: { appearance: "appearance", placeholder: "placeholder", value: "value" }, ngImport: i0 }); }
35
+ }
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: OkFvSearchInputDirective, decorators: [{
37
+ type: Directive,
38
+ args: [{
39
+ selector: 'ok-fv-search-input',
40
+ standalone: false
41
+ }]
42
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { appearance: [{
43
+ type: Input
44
+ }], placeholder: [{
45
+ type: Input
46
+ }], value: [{
47
+ type: Input
48
+ }] } });
49
+
50
+ class OkFvSearchInputModule {
51
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: OkFvSearchInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
52
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: OkFvSearchInputModule, declarations: [OkFvSearchInputDirective], imports: [CommonModule], exports: [OkFvSearchInputDirective] }); }
53
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: OkFvSearchInputModule, imports: [CommonModule] }); }
54
+ }
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: OkFvSearchInputModule, decorators: [{
56
+ type: NgModule,
57
+ args: [{
58
+ declarations: [OkFvSearchInputDirective],
59
+ imports: [CommonModule],
60
+ exports: [OkFvSearchInputDirective]
61
+ }]
62
+ }] });
63
+
64
+ /**
65
+ * Generated bundle index. Do not edit.
66
+ */
67
+
68
+ export { OkFvSearchInputDirective, OkFvSearchInputModule };
69
+ //# sourceMappingURL=ni-ok-angular-fv-search-input.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ni-ok-angular-fv-search-input.mjs","sources":["../../../ok-angular/fv/search-input/ok-fv-search-input.directive.ts","../../../ok-angular/fv/search-input/ok-fv-search-input.module.ts","../../../ok-angular/fv/search-input/ni-ok-angular-fv-search-input.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { FvSearchInput } from '@ni/ok-components/dist/esm/fv/search-input';\nimport { fvSearchInputTag } from '@ni/ok-components/dist/esm/fv/search-input';\nimport { FvSearchInputAppearance } from '@ni/ok-components/dist/esm/fv/search-input/types';\n\nexport type { FvSearchInput };\nexport { fvSearchInputTag };\nexport { FvSearchInputAppearance };\n\n/**\n * Directive to provide Angular integration for the FV search input.\n */\n@Directive({\n selector: 'ok-fv-search-input',\n standalone: false\n})\nexport class OkFvSearchInputDirective {\n public get appearance(): FvSearchInputAppearance {\n return this.elementRef.nativeElement.appearance;\n }\n\n @Input()\n public set appearance(value: FvSearchInputAppearance) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', 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 value(): string {\n return this.elementRef.nativeElement.value;\n }\n\n @Input()\n public set value(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'value', value);\n }\n\n public constructor(\n private readonly elementRef: ElementRef<FvSearchInput>,\n private readonly renderer: Renderer2\n ) {}\n}","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { OkFvSearchInputDirective } from './ok-fv-search-input.directive';\n\nimport '@ni/ok-components/dist/esm/fv/search-input';\n\n@NgModule({\n declarations: [OkFvSearchInputDirective],\n imports: [CommonModule],\n exports: [OkFvSearchInputDirective]\n})\nexport class OkFvSearchInputModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AASA;;AAEG;MAKU,wBAAwB,CAAA;AACjC,IAAA,IAAW,UAAU,GAAA;AACjB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,UAAU;IACnD;IAEA,IACW,UAAU,CAAC,KAA8B,EAAA;AAChD,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,YAAY,EAAE,KAAK,CA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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,32 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ElementRef, Renderer2 } from '@angular/core';
3
+ import { FvSearchInput } from '@ni/ok-components/dist/esm/fv/search-input';
4
+ export { FvSearchInput, fvSearchInputTag } from '@ni/ok-components/dist/esm/fv/search-input';
5
+ import { FvSearchInputAppearance } from '@ni/ok-components/dist/esm/fv/search-input/types';
6
+ export { FvSearchInputAppearance } from '@ni/ok-components/dist/esm/fv/search-input/types';
7
+ import * as i2 from '@angular/common';
8
+
9
+ /**
10
+ * Directive to provide Angular integration for the FV search input.
11
+ */
12
+ declare class OkFvSearchInputDirective {
13
+ private readonly elementRef;
14
+ private readonly renderer;
15
+ get appearance(): FvSearchInputAppearance;
16
+ set appearance(value: FvSearchInputAppearance);
17
+ get placeholder(): string;
18
+ set placeholder(value: string);
19
+ get value(): string;
20
+ set value(value: string);
21
+ constructor(elementRef: ElementRef<FvSearchInput>, renderer: Renderer2);
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<OkFvSearchInputDirective, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OkFvSearchInputDirective, "ok-fv-search-input", never, { "appearance": { "alias": "appearance"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
24
+ }
25
+
26
+ declare class OkFvSearchInputModule {
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<OkFvSearchInputModule, never>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OkFvSearchInputModule, [typeof OkFvSearchInputDirective], [typeof i2.CommonModule], [typeof OkFvSearchInputDirective]>;
29
+ static ɵinj: i0.ɵɵInjectorDeclaration<OkFvSearchInputModule>;
30
+ }
31
+
32
+ export { OkFvSearchInputDirective, OkFvSearchInputModule };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ni/ok-angular",
3
- "version": "2.1.6",
3
+ "version": "2.2.1",
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": "^1.0.1"
28
+ "@ni/ok-components": "^1.1.1"
29
29
  },
30
30
  "module": "fesm2022/ni-ok-angular.mjs",
31
31
  "typings": "index.d.ts",
@@ -44,6 +44,10 @@
44
44
  "./fv/accordion-item": {
45
45
  "types": "./fv/accordion-item/index.d.ts",
46
46
  "default": "./fesm2022/ni-ok-angular-fv-accordion-item.mjs"
47
+ },
48
+ "./fv/search-input": {
49
+ "types": "./fv/search-input/index.d.ts",
50
+ "default": "./fesm2022/ni-ok-angular-fv-search-input.mjs"
47
51
  }
48
52
  },
49
53
  "sideEffects": false