@mintplayer/ng-focus-on-load 13.1.0 → 13.1.2
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/esm2020/index.mjs +2 -2
- package/esm2020/lib/{mintplayer-ng-focus-on-load.module.mjs → focus-on-load.module.mjs} +1 -1
- package/fesm2015/mintplayer-ng-focus-on-load.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-focus-on-load.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/lib/{mintplayer-ng-focus-on-load.module.d.ts → focus-on-load.module.d.ts} +0 -0
- package/package.json +2 -2
package/esm2020/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './lib/
|
|
1
|
+
export * from './lib/focus-on-load.module';
|
|
2
2
|
export * from './lib/directives';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctZm9jdXMtb24tbG9hZC9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9saWIvZm9jdXMtb24tbG9hZC5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvZGlyZWN0aXZlcyc7Il19
|
|
@@ -19,4 +19,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
19
19
|
],
|
|
20
20
|
}]
|
|
21
21
|
}] });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2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Db21tb25Nb2R1bGVdLFxuICBkZWNsYXJhdGlvbnM6IFtcbiAgICBGb2N1c09uTG9hZERpcmVjdGl2ZVxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgRm9jdXNPbkxvYWREaXJlY3RpdmVcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgRm9jdXNPbkxvYWRNb2R1bGUge31cbiJdfQ==
|
|
@@ -1 +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/
|
|
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/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;;;;;;"}
|
|
@@ -1 +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/
|
|
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/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/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './lib/
|
|
1
|
+
export * from './lib/focus-on-load.module';
|
|
2
2
|
export * from './lib/directives';
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintplayer/ng-focus-on-load",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "13.1.
|
|
4
|
+
"version": "13.1.2",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "https://github.com/MintPlayer/mintplayer-ng-
|
|
7
|
+
"url": "https://github.com/MintPlayer/mintplayer-ng-bootstrap"
|
|
8
8
|
},
|
|
9
9
|
"peerDependencies": {
|
|
10
10
|
"@angular/common": "^13.1.0",
|