@mintplayer/ng-focus-on-load 12.0.0 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
@@ -18,12 +18,12 @@ export class FocusOnLoadDirective {
18
18
  }, 10);
19
19
  }
20
20
  }
21
- FocusOnLoadDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FocusOnLoadDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
22
- FocusOnLoadDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: FocusOnLoadDirective, selector: "*[autofocus]", ngImport: i0 });
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FocusOnLoadDirective, decorators: [{
21
+ FocusOnLoadDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
22
+ FocusOnLoadDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: FocusOnLoadDirective, selector: "*[autofocus]", ngImport: i0 });
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadDirective, decorators: [{
24
24
  type: Directive,
25
25
  args: [{
26
26
  selector: '*[autofocus]'
27
27
  }]
28
28
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
29
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9jdXMtb24tbG9hZC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctZm9jdXMtb24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YWREaXJlY3RpdmUgaW1wbGVtZW50cyBBZnRlclZpZXdJbml0IHtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBwcml2YXRlIHZpZXdDb250YWluZXI6IFZpZXdDb250YWluZXJSZWZcbiAgKSB7XG4gICAgY29uc3QgY29udGFpbmVyID0gKDxhbnk+dGhpcy52aWV3Q29udGFpbmVyKVsnX2xDb250YWluZXInXVswXVxuICAgIGlmIChjb250YWluZXIgaW5zdGFuY2VvZiBIVE1MRWxlbWVudCkge1xuICAgICAgdGhpcy5pbnB1dEJveCA9IDxIVE1MSW5wdXRFbGVtZW50PmNvbnRhaW5lcjtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5pbnB1dEJveCA9IGNvbnRhaW5lcls4XTtcbiAgICB9XG4gIH1cblxuICBwcml2YXRlIHJlYWRvbmx5IGlucHV0Qm94ITogYW55O1xuXG4gIG5nQWZ0ZXJWaWV3SW5pdCgpIHtcbiAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgIHRoaXMuaW5wdXRCb3guZm9jdXMoKTtcbiAgICB9LCAxMCk7XG4gIH1cbn0iXX0=
@@ -4,10 +4,10 @@ import { FocusOnLoadDirective } from './directives/focus-on-load/focus-on-load.d
4
4
  import * as i0 from "@angular/core";
5
5
  export class FocusOnLoadModule {
6
6
  }
7
- FocusOnLoadModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FocusOnLoadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
- FocusOnLoadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FocusOnLoadModule, declarations: [FocusOnLoadDirective], imports: [CommonModule], exports: [FocusOnLoadDirective] });
9
- FocusOnLoadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FocusOnLoadModule, imports: [[CommonModule]] });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FocusOnLoadModule, decorators: [{
7
+ FocusOnLoadModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
8
+ FocusOnLoadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadModule, declarations: [FocusOnLoadDirective], imports: [CommonModule], exports: [FocusOnLoadDirective] });
9
+ FocusOnLoadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadModule, imports: [[CommonModule]] });
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadModule, decorators: [{
11
11
  type: NgModule,
12
12
  args: [{
13
13
  imports: [CommonModule],
@@ -19,4 +19,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
19
19
  ],
20
20
  }]
21
21
  }] });
22
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWludHBsYXllci1uZy1mb2N1cy1vbi1sb2FkLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1mb2N1cy1vbi1sb2FkL3NyYy9saWIvbWludHBsYXllci1uZy1mb2N1cy1vbi1sb2FkLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsb0JBQW9CLEVBQU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aXJlY3RpdmVcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIEZvY3VzT25Mb2FkRGlyZWN0aXZlXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIEZvY3VzT25Mb2FkTW9kdWxlIHt9XG4iXX0=
@@ -19,9 +19,9 @@ class FocusOnLoadDirective {
19
19
  }, 10);
20
20
  }
21
21
  }
22
- FocusOnLoadDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FocusOnLoadDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
23
- FocusOnLoadDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: FocusOnLoadDirective, selector: "*[autofocus]", ngImport: i0 });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FocusOnLoadDirective, decorators: [{
22
+ FocusOnLoadDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
23
+ FocusOnLoadDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: FocusOnLoadDirective, selector: "*[autofocus]", ngImport: i0 });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadDirective, decorators: [{
25
25
  type: Directive,
26
26
  args: [{
27
27
  selector: '*[autofocus]'
@@ -30,10 +30,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
30
30
 
31
31
  class FocusOnLoadModule {
32
32
  }
33
- FocusOnLoadModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FocusOnLoadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
34
- FocusOnLoadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FocusOnLoadModule, declarations: [FocusOnLoadDirective], imports: [CommonModule], exports: [FocusOnLoadDirective] });
35
- FocusOnLoadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FocusOnLoadModule, imports: [[CommonModule]] });
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: FocusOnLoadModule, decorators: [{
33
+ FocusOnLoadModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
34
+ FocusOnLoadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadModule, declarations: [FocusOnLoadDirective], imports: [CommonModule], exports: [FocusOnLoadDirective] });
35
+ FocusOnLoadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadModule, imports: [[CommonModule]] });
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadModule, decorators: [{
37
37
  type: NgModule,
38
38
  args: [{
39
39
  imports: [CommonModule],
@@ -51,4 +51,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
51
51
  */
52
52
 
53
53
  export { FocusOnLoadDirective, FocusOnLoadModule };
54
- //# sourceMappingURL=mintplayer-ng-focus-on-load.js.map
54
+ //# sourceMappingURL=mintplayer-ng-focus-on-load.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mintplayer-ng-focus-on-load.mjs","sources":["../../../../libs/mintplayer-ng-focus-on-load/src/lib/directives/focus-on-load/focus-on-load.directive.ts","../../../../libs/mintplayer-ng-focus-on-load/src/lib/mintplayer-ng-focus-on-load.module.ts","../../../../libs/mintplayer-ng-focus-on-load/src/mintplayer-ng-focus-on-load.ts"],"sourcesContent":["import { ViewContainerRef } from '@angular/core';\nimport { Directive, AfterViewInit } from '@angular/core';\n\n@Directive({\n selector: '*[autofocus]'\n})\nexport class FocusOnLoadDirective implements AfterViewInit {\n\n constructor(\n private viewContainer: ViewContainerRef\n ) {\n const container = (<any>this.viewContainer)['_lContainer'][0]\n if (container instanceof HTMLElement) {\n this.inputBox = <HTMLInputElement>container;\n } else {\n this.inputBox = container[8];\n }\n }\n\n private readonly inputBox!: any;\n\n ngAfterViewInit() {\n setTimeout(() => {\n this.inputBox.focus();\n }, 10);\n }\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FocusOnLoadDirective } from './directives/focus-on-load/focus-on-load.directive';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [\n FocusOnLoadDirective\n ],\n exports: [\n FocusOnLoadDirective\n ],\n})\nexport class FocusOnLoadModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,oBAAoB;IAE/B,YACU,aAA+B;QAA/B,kBAAa,GAAb,aAAa,CAAkB;QAEvC,MAAM,SAAS,GAAS,IAAI,CAAC,aAAc,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAA;QAC7D,IAAI,SAAS,YAAY,WAAW,EAAE;YACpC,IAAI,CAAC,QAAQ,GAAqB,SAAS,CAAC;SAC7C;aAAM;YACL,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;SAC9B;KACF;IAID,eAAe;QACb,UAAU,CAAC;YACT,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;SACvB,EAAE,EAAE,CAAC,CAAC;KACR;;iHAnBU,oBAAoB;qGAApB,oBAAoB;2FAApB,oBAAoB;kBAHhC,SAAS;mBAAC;oBACT,QAAQ,EAAE,cAAc;iBACzB;;;MCQY,iBAAiB;;8GAAjB,iBAAiB;+GAAjB,iBAAiB,iBAN1B,oBAAoB,aAFZ,YAAY,aAKpB,oBAAoB;+GAGX,iBAAiB,YARnB,CAAC,YAAY,CAAC;2FAQZ,iBAAiB;kBAT7B,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE;wBACZ,oBAAoB;qBACrB;oBACD,OAAO,EAAE;wBACP,oBAAoB;qBACrB;iBACF;;;ACZD;;;;;;"}
@@ -0,0 +1,54 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, NgModule } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+
5
+ class FocusOnLoadDirective {
6
+ constructor(viewContainer) {
7
+ this.viewContainer = viewContainer;
8
+ const container = this.viewContainer['_lContainer'][0];
9
+ if (container instanceof HTMLElement) {
10
+ this.inputBox = container;
11
+ }
12
+ else {
13
+ this.inputBox = container[8];
14
+ }
15
+ }
16
+ ngAfterViewInit() {
17
+ setTimeout(() => {
18
+ this.inputBox.focus();
19
+ }, 10);
20
+ }
21
+ }
22
+ FocusOnLoadDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
23
+ FocusOnLoadDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: FocusOnLoadDirective, selector: "*[autofocus]", ngImport: i0 });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadDirective, decorators: [{
25
+ type: Directive,
26
+ args: [{
27
+ selector: '*[autofocus]'
28
+ }]
29
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
30
+
31
+ class FocusOnLoadModule {
32
+ }
33
+ FocusOnLoadModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
34
+ FocusOnLoadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadModule, declarations: [FocusOnLoadDirective], imports: [CommonModule], exports: [FocusOnLoadDirective] });
35
+ FocusOnLoadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadModule, imports: [[CommonModule]] });
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FocusOnLoadModule, decorators: [{
37
+ type: NgModule,
38
+ args: [{
39
+ imports: [CommonModule],
40
+ declarations: [
41
+ FocusOnLoadDirective
42
+ ],
43
+ exports: [
44
+ FocusOnLoadDirective
45
+ ],
46
+ }]
47
+ }] });
48
+
49
+ /**
50
+ * Generated bundle index. Do not edit.
51
+ */
52
+
53
+ export { FocusOnLoadDirective, FocusOnLoadModule };
54
+ //# sourceMappingURL=mintplayer-ng-focus-on-load.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mintplayer-ng-focus-on-load.mjs","sources":["../../../../libs/mintplayer-ng-focus-on-load/src/lib/directives/focus-on-load/focus-on-load.directive.ts","../../../../libs/mintplayer-ng-focus-on-load/src/lib/mintplayer-ng-focus-on-load.module.ts","../../../../libs/mintplayer-ng-focus-on-load/src/mintplayer-ng-focus-on-load.ts"],"sourcesContent":["import { ViewContainerRef } from '@angular/core';\nimport { Directive, AfterViewInit } from '@angular/core';\n\n@Directive({\n selector: '*[autofocus]'\n})\nexport class FocusOnLoadDirective implements AfterViewInit {\n\n constructor(\n private viewContainer: ViewContainerRef\n ) {\n const container = (<any>this.viewContainer)['_lContainer'][0]\n if (container instanceof HTMLElement) {\n this.inputBox = <HTMLInputElement>container;\n } else {\n this.inputBox = container[8];\n }\n }\n\n private readonly inputBox!: any;\n\n ngAfterViewInit() {\n setTimeout(() => {\n this.inputBox.focus();\n }, 10);\n }\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FocusOnLoadDirective } from './directives/focus-on-load/focus-on-load.directive';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [\n FocusOnLoadDirective\n ],\n exports: [\n FocusOnLoadDirective\n ],\n})\nexport class FocusOnLoadModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,oBAAoB;IAE/B,YACU,aAA+B;QAA/B,kBAAa,GAAb,aAAa,CAAkB;QAEvC,MAAM,SAAS,GAAS,IAAI,CAAC,aAAc,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAA;QAC7D,IAAI,SAAS,YAAY,WAAW,EAAE;YACpC,IAAI,CAAC,QAAQ,GAAqB,SAAS,CAAC;SAC7C;aAAM;YACL,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;SAC9B;KACF;IAID,eAAe;QACb,UAAU,CAAC;YACT,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;SACvB,EAAE,EAAE,CAAC,CAAC;KACR;;iHAnBU,oBAAoB;qGAApB,oBAAoB;2FAApB,oBAAoB;kBAHhC,SAAS;mBAAC;oBACT,QAAQ,EAAE,cAAc;iBACzB;;;MCQY,iBAAiB;;8GAAjB,iBAAiB;+GAAjB,iBAAiB,iBAN1B,oBAAoB,aAFZ,YAAY,aAKpB,oBAAoB;+GAGX,iBAAiB,YARnB,CAAC,YAAY,CAAC;2FAQZ,iBAAiB;kBAT7B,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE;wBACZ,oBAAoB;qBACrB;oBACD,OAAO,EAAE;wBACP,oBAAoB;qBACrB;iBACF;;;ACZD;;;;;;"}
package/package.json CHANGED
@@ -1,24 +1,37 @@
1
1
  {
2
2
  "name": "@mintplayer/ng-focus-on-load",
3
3
  "private": false,
4
- "version": "12.0.0",
4
+ "version": "13.1.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/MintPlayer/mintplayer-ng-focus-on-load"
8
8
  },
9
9
  "peerDependencies": {
10
- "@angular/common": "^12.2.0",
11
- "@angular/core": "^12.2.0",
12
- "@angular/platform-browser": "^12.2.0"
10
+ "@angular/common": "^13.1.0",
11
+ "@angular/core": "^13.1.0",
12
+ "@angular/platform-browser": "13.1.1"
13
13
  },
14
14
  "dependencies": {
15
15
  "tslib": "^2.3.0"
16
16
  },
17
- "main": "bundles/mintplayer-ng-focus-on-load.umd.js",
18
- "module": "fesm2015/mintplayer-ng-focus-on-load.js",
19
- "es2015": "fesm2015/mintplayer-ng-focus-on-load.js",
20
- "esm2015": "esm2015/mintplayer-ng-focus-on-load.js",
21
- "fesm2015": "fesm2015/mintplayer-ng-focus-on-load.js",
17
+ "module": "fesm2015/mintplayer-ng-focus-on-load.mjs",
18
+ "es2020": "fesm2020/mintplayer-ng-focus-on-load.mjs",
19
+ "esm2020": "esm2020/mintplayer-ng-focus-on-load.mjs",
20
+ "fesm2020": "fesm2020/mintplayer-ng-focus-on-load.mjs",
21
+ "fesm2015": "fesm2015/mintplayer-ng-focus-on-load.mjs",
22
22
  "typings": "mintplayer-ng-focus-on-load.d.ts",
23
+ "exports": {
24
+ "./package.json": {
25
+ "default": "./package.json"
26
+ },
27
+ ".": {
28
+ "types": "./mintplayer-ng-focus-on-load.d.ts",
29
+ "esm2020": "./esm2020/mintplayer-ng-focus-on-load.mjs",
30
+ "es2020": "./fesm2020/mintplayer-ng-focus-on-load.mjs",
31
+ "es2015": "./fesm2015/mintplayer-ng-focus-on-load.mjs",
32
+ "node": "./fesm2015/mintplayer-ng-focus-on-load.mjs",
33
+ "default": "./fesm2020/mintplayer-ng-focus-on-load.mjs"
34
+ }
35
+ },
23
36
  "sideEffects": false
24
37
  }
@@ -1,86 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common')) :
3
- typeof define === 'function' && define.amd ? define('@mintplayer/ng-focus-on-load', ['exports', '@angular/core', '@angular/common'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.mintplayer = global.mintplayer || {}, global.mintplayer["ng-focus-on-load"] = {}), global.ng.core, global.ng.common));
5
- })(this, (function (exports, i0, common) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
18
- }
19
- });
20
- }
21
- n["default"] = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
-
27
- var FocusOnLoadDirective = /** @class */ (function () {
28
- function FocusOnLoadDirective(viewContainer) {
29
- this.viewContainer = viewContainer;
30
- var container = this.viewContainer['_lContainer'][0];
31
- if (container instanceof HTMLElement) {
32
- this.inputBox = container;
33
- }
34
- else {
35
- this.inputBox = container[8];
36
- }
37
- }
38
- FocusOnLoadDirective.prototype.ngAfterViewInit = function () {
39
- var _this = this;
40
- setTimeout(function () {
41
- _this.inputBox.focus();
42
- }, 10);
43
- };
44
- return FocusOnLoadDirective;
45
- }());
46
- FocusOnLoadDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FocusOnLoadDirective, deps: [{ token: i0__namespace.ViewContainerRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
47
- FocusOnLoadDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.13", type: FocusOnLoadDirective, selector: "*[autofocus]", ngImport: i0__namespace });
48
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FocusOnLoadDirective, decorators: [{
49
- type: i0.Directive,
50
- args: [{
51
- selector: '*[autofocus]'
52
- }]
53
- }], ctorParameters: function () { return [{ type: i0__namespace.ViewContainerRef }]; } });
54
-
55
- var FocusOnLoadModule = /** @class */ (function () {
56
- function FocusOnLoadModule() {
57
- }
58
- return FocusOnLoadModule;
59
- }());
60
- FocusOnLoadModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FocusOnLoadModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
61
- FocusOnLoadModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FocusOnLoadModule, declarations: [FocusOnLoadDirective], imports: [common.CommonModule], exports: [FocusOnLoadDirective] });
62
- FocusOnLoadModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FocusOnLoadModule, imports: [[common.CommonModule]] });
63
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: FocusOnLoadModule, decorators: [{
64
- type: i0.NgModule,
65
- args: [{
66
- imports: [common.CommonModule],
67
- declarations: [
68
- FocusOnLoadDirective
69
- ],
70
- exports: [
71
- FocusOnLoadDirective
72
- ],
73
- }]
74
- }] });
75
-
76
- /**
77
- * Generated bundle index. Do not edit.
78
- */
79
-
80
- exports.FocusOnLoadDirective = FocusOnLoadDirective;
81
- exports.FocusOnLoadModule = FocusOnLoadModule;
82
-
83
- Object.defineProperty(exports, '__esModule', { value: true });
84
-
85
- }));
86
- //# sourceMappingURL=mintplayer-ng-focus-on-load.umd.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-focus-on-load.umd.js","sources":["../../../../libs/mintplayer-ng-focus-on-load/src/lib/directives/focus-on-load/focus-on-load.directive.ts","../../../../libs/mintplayer-ng-focus-on-load/src/lib/mintplayer-ng-focus-on-load.module.ts","../../../../libs/mintplayer-ng-focus-on-load/src/mintplayer-ng-focus-on-load.ts"],"sourcesContent":["import { ViewContainerRef } from '@angular/core';\nimport { Directive, ElementRef, AfterViewInit, ComponentRef } from '@angular/core';\n\n@Directive({\n selector: '*[autofocus]'\n})\nexport class FocusOnLoadDirective implements AfterViewInit {\n\n constructor(\n private viewContainer: ViewContainerRef\n ) {\n const container = (<any>this.viewContainer)['_lContainer'][0]\n if (container instanceof HTMLElement) {\n this.inputBox = <HTMLInputElement>container;\n } else {\n this.inputBox = container[8];\n }\n }\n\n private readonly inputBox!: any;\n\n ngAfterViewInit() {\n setTimeout(() => {\n this.inputBox.focus();\n }, 10);\n }\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FocusOnLoadDirective } from './directives/focus-on-load/focus-on-load.directive';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [\n FocusOnLoadDirective\n ],\n exports: [\n FocusOnLoadDirective\n ],\n})\nexport class FocusOnLoadModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["Directive","CommonModule","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;QAQE,8BACU,aAA+B;YAA/B,kBAAa,GAAb,aAAa,CAAkB;YAEvC,IAAM,SAAS,GAAS,IAAI,CAAC,aAAc,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAA;YAC7D,IAAI,SAAS,YAAY,WAAW,EAAE;gBACpC,IAAI,CAAC,QAAQ,GAAqB,SAAS,CAAC;aAC7C;iBAAM;gBACL,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;aAC9B;SACF;QAID,8CAAe,GAAf;YAAA,iBAIC;YAHC,UAAU,CAAC;gBACT,KAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;aACvB,EAAE,EAAE,CAAC,CAAC;SACR;;;4IAnBU,oBAAoB;qHAApB,oBAAoB;sHAApB,oBAAoB;sBAHhCA,YAAS;uBAAC;wBACT,QAAQ,EAAE,cAAc;qBACzB;;;;QCQD;;;;yIAAa,iBAAiB;0IAAjB,iBAAiB,iBAN1B,oBAAoB,aAFZC,mBAAY,aAKpB,oBAAoB;0IAGX,iBAAiB,YARnB,CAACA,mBAAY,CAAC;sHAQZ,iBAAiB;sBAT7BC,WAAQ;uBAAC;wBACR,OAAO,EAAE,CAACD,mBAAY,CAAC;wBACvB,YAAY,EAAE;4BACZ,oBAAoB;yBACrB;wBACD,OAAO,EAAE;4BACP,oBAAoB;yBACrB;qBACF;;;ICZD;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"mintplayer-ng-focus-on-load.js","sources":["../../../../libs/mintplayer-ng-focus-on-load/src/lib/directives/focus-on-load/focus-on-load.directive.ts","../../../../libs/mintplayer-ng-focus-on-load/src/lib/mintplayer-ng-focus-on-load.module.ts","../../../../libs/mintplayer-ng-focus-on-load/src/mintplayer-ng-focus-on-load.ts"],"sourcesContent":["import { ViewContainerRef } from '@angular/core';\nimport { Directive, ElementRef, AfterViewInit, ComponentRef } from '@angular/core';\n\n@Directive({\n selector: '*[autofocus]'\n})\nexport class FocusOnLoadDirective implements AfterViewInit {\n\n constructor(\n private viewContainer: ViewContainerRef\n ) {\n const container = (<any>this.viewContainer)['_lContainer'][0]\n if (container instanceof HTMLElement) {\n this.inputBox = <HTMLInputElement>container;\n } else {\n this.inputBox = container[8];\n }\n }\n\n private readonly inputBox!: any;\n\n ngAfterViewInit() {\n setTimeout(() => {\n this.inputBox.focus();\n }, 10);\n }\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FocusOnLoadDirective } from './directives/focus-on-load/focus-on-load.directive';\n\n@NgModule({\n imports: [CommonModule],\n declarations: [\n FocusOnLoadDirective\n ],\n exports: [\n FocusOnLoadDirective\n ],\n})\nexport class FocusOnLoadModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,oBAAoB;IAE/B,YACU,aAA+B;QAA/B,kBAAa,GAAb,aAAa,CAAkB;QAEvC,MAAM,SAAS,GAAS,IAAI,CAAC,aAAc,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAA;QAC7D,IAAI,SAAS,YAAY,WAAW,EAAE;YACpC,IAAI,CAAC,QAAQ,GAAqB,SAAS,CAAC;SAC7C;aAAM;YACL,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;SAC9B;KACF;IAID,eAAe;QACb,UAAU,CAAC;YACT,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;SACvB,EAAE,EAAE,CAAC,CAAC;KACR;;kHAnBU,oBAAoB;sGAApB,oBAAoB;4FAApB,oBAAoB;kBAHhC,SAAS;mBAAC;oBACT,QAAQ,EAAE,cAAc;iBACzB;;;MCQY,iBAAiB;;+GAAjB,iBAAiB;gHAAjB,iBAAiB,iBAN1B,oBAAoB,aAFZ,YAAY,aAKpB,oBAAoB;gHAGX,iBAAiB,YARnB,CAAC,YAAY,CAAC;4FAQZ,iBAAiB;kBAT7B,QAAQ;mBAAC;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE;wBACZ,oBAAoB;qBACrB;oBACD,OAAO,EAAE;wBACP,oBAAoB;qBACrB;iBACF;;;ACZD;;;;;;"}