@coolon/angular-ui-powerups 1.2.1 → 1.3.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.
- package/CHANGELOG.md +18 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +41 -38
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/components.module.js +4 -0
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/directives/directives.module.ngfactory.js.map +1 -1
- package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm5/lib/components/components.module.js +4 -0
- package/esm5/lib/components/components.module.js.map +1 -1
- package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm5/lib/directives/directives.module.ngfactory.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +41 -38
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +42 -39
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.3.3](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.3.2...v1.3.3) (2020-05-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* added FocusBinding.Factory to the declared exports ([46fd087](https://bitbucket.org/coolon/angular-ui-powerups/commit/46fd08745a06c021034c1199a3ebe5a9fdeddc80))
|
|
11
|
+
|
|
12
|
+
### [1.3.2](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.3.1...v1.3.2) (2020-05-20)
|
|
13
|
+
|
|
14
|
+
### [1.3.1](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.3.0...v1.3.1) (2020-05-20)
|
|
15
|
+
|
|
16
|
+
## [1.3.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.2.1...v1.3.0) (2020-05-20)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* added FocusableComponent and FocusContainerComponent ([b825a17](https://bitbucket.org/coolon/angular-ui-powerups/commit/b825a1743d824d48e03a65e06d331e9d3d537ff0))
|
|
22
|
+
|
|
5
23
|
### [1.2.1](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.2.0...v1.2.1) (2020-05-19)
|
|
6
24
|
|
|
7
25
|
## [1.2.0](https://bitbucket.org/coolon/angular-ui-powerups/compare/v1.1.1...v1.2.0) (2020-05-18)
|
|
@@ -485,44 +485,6 @@
|
|
|
485
485
|
return DirectivesModule;
|
|
486
486
|
}());
|
|
487
487
|
|
|
488
|
-
var FocusContainerComponent = /** @class */ (function () {
|
|
489
|
-
function FocusContainerComponent(focusManager) {
|
|
490
|
-
this.focusManager = focusManager;
|
|
491
|
-
this.tabIndex = -1;
|
|
492
|
-
}
|
|
493
|
-
FocusContainerComponent.prototype.ngOnInit = function () {
|
|
494
|
-
};
|
|
495
|
-
FocusContainerComponent.prototype.restoreFocus = function () {
|
|
496
|
-
this.focusManager.restoreFocus();
|
|
497
|
-
};
|
|
498
|
-
FocusContainerComponent.ctorParameters = function () { return [
|
|
499
|
-
{ type: pectin.FocusManager, decorators: [{ type: core.Host }] }
|
|
500
|
-
]; };
|
|
501
|
-
__decorate([
|
|
502
|
-
core.HostBinding("attr.tabindex"),
|
|
503
|
-
__metadata("design:type", Object)
|
|
504
|
-
], FocusContainerComponent.prototype, "tabIndex", void 0);
|
|
505
|
-
__decorate([
|
|
506
|
-
pectin.Trace(),
|
|
507
|
-
__metadata("design:type", Function),
|
|
508
|
-
__metadata("design:paramtypes", []),
|
|
509
|
-
__metadata("design:returntype", void 0)
|
|
510
|
-
], FocusContainerComponent.prototype, "restoreFocus", null);
|
|
511
|
-
FocusContainerComponent = __decorate([
|
|
512
|
-
core.Component({
|
|
513
|
-
selector: 'aup-focus-container',
|
|
514
|
-
template: "<ng-content></ng-content>\n",
|
|
515
|
-
providers: [
|
|
516
|
-
{ provide: pectin.FocusManager }
|
|
517
|
-
],
|
|
518
|
-
styles: [":host{display:block}"]
|
|
519
|
-
}),
|
|
520
|
-
__param(0, core.Host()),
|
|
521
|
-
__metadata("design:paramtypes", [pectin.FocusManager])
|
|
522
|
-
], FocusContainerComponent);
|
|
523
|
-
return FocusContainerComponent;
|
|
524
|
-
}());
|
|
525
|
-
|
|
526
488
|
exports.ɵt = /** @class */ (function (_super) {
|
|
527
489
|
__extends(FocusBinding, _super);
|
|
528
490
|
function FocusBinding(focusTargetElement, ngZone, document, focusContext) {
|
|
@@ -630,6 +592,44 @@
|
|
|
630
592
|
FocusBinding.Factory = Factory;
|
|
631
593
|
})(exports.ɵt || (exports.ɵt = {}));
|
|
632
594
|
|
|
595
|
+
var FocusContainerComponent = /** @class */ (function () {
|
|
596
|
+
function FocusContainerComponent(focusManager) {
|
|
597
|
+
this.focusManager = focusManager;
|
|
598
|
+
this.tabIndex = -1;
|
|
599
|
+
}
|
|
600
|
+
FocusContainerComponent.prototype.ngOnInit = function () {
|
|
601
|
+
};
|
|
602
|
+
FocusContainerComponent.prototype.restoreFocus = function () {
|
|
603
|
+
this.focusManager.restoreFocus();
|
|
604
|
+
};
|
|
605
|
+
FocusContainerComponent.ctorParameters = function () { return [
|
|
606
|
+
{ type: pectin.FocusManager, decorators: [{ type: core.Host }] }
|
|
607
|
+
]; };
|
|
608
|
+
__decorate([
|
|
609
|
+
core.HostBinding("attr.tabindex"),
|
|
610
|
+
__metadata("design:type", Object)
|
|
611
|
+
], FocusContainerComponent.prototype, "tabIndex", void 0);
|
|
612
|
+
__decorate([
|
|
613
|
+
pectin.Trace(),
|
|
614
|
+
__metadata("design:type", Function),
|
|
615
|
+
__metadata("design:paramtypes", []),
|
|
616
|
+
__metadata("design:returntype", void 0)
|
|
617
|
+
], FocusContainerComponent.prototype, "restoreFocus", null);
|
|
618
|
+
FocusContainerComponent = __decorate([
|
|
619
|
+
core.Component({
|
|
620
|
+
selector: 'aup-focus-container',
|
|
621
|
+
template: "<ng-content></ng-content>\n",
|
|
622
|
+
providers: [
|
|
623
|
+
{ provide: pectin.FocusManager }
|
|
624
|
+
],
|
|
625
|
+
styles: [":host{display:block}"]
|
|
626
|
+
}),
|
|
627
|
+
__param(0, core.Host()),
|
|
628
|
+
__metadata("design:paramtypes", [pectin.FocusManager])
|
|
629
|
+
], FocusContainerComponent);
|
|
630
|
+
return FocusContainerComponent;
|
|
631
|
+
}());
|
|
632
|
+
|
|
633
633
|
var FocusableComponent = /** @class */ (function (_super) {
|
|
634
634
|
__extends(FocusableComponent, _super);
|
|
635
635
|
function FocusableComponent(el, focusManager, focusBindingFactory) {
|
|
@@ -1234,6 +1234,9 @@
|
|
|
1234
1234
|
SwitchCaseDefaultDirective,
|
|
1235
1235
|
FocusContainerComponent,
|
|
1236
1236
|
FocusableComponent
|
|
1237
|
+
],
|
|
1238
|
+
providers: [
|
|
1239
|
+
exports.ɵt.Factory
|
|
1237
1240
|
]
|
|
1238
1241
|
})
|
|
1239
1242
|
], ComponentsModule);
|