@coolon/angular-ui-powerups 1.3.3 → 1.3.4

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.
Files changed (47) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/bundles/coolon-angular-ui-powerups.umd.js +31 -30
  3. package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
  4. package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
  5. package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
  6. package/coolon-angular-ui-powerups.d.ts +1 -1
  7. package/coolon-angular-ui-powerups.metadata.json +1 -1
  8. package/esm2015/coolon-angular-ui-powerups.js +1 -1
  9. package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
  10. package/esm2015/coolon-angular-ui-powerups.metadata.json +1 -1
  11. package/esm2015/lib/components/components.module.js +2 -2
  12. package/esm2015/lib/components/components.module.js.map +1 -1
  13. package/esm2015/lib/components/components.module.metadata.json +1 -1
  14. package/esm2015/lib/components/focusable.component.js +4 -4
  15. package/esm2015/lib/components/focusable.component.js.map +1 -1
  16. package/esm2015/lib/components/focusable.component.metadata.json +1 -1
  17. package/esm2015/lib/directives/focus-binding-factory.js +30 -0
  18. package/esm2015/lib/directives/focus-binding-factory.js.map +1 -0
  19. package/esm2015/lib/directives/focus-binding-factory.metadata.json +1 -0
  20. package/esm2015/lib/directives/focus-binding-factory.ngfactory.js.map +1 -0
  21. package/esm2015/lib/directives/focus-binding.js +1 -25
  22. package/esm2015/lib/directives/focus-binding.js.map +1 -1
  23. package/esm2015/lib/directives/index.js +1 -0
  24. package/esm2015/lib/directives/index.js.map +1 -1
  25. package/esm2015/lib/directives/index.metadata.json +1 -1
  26. package/esm5/coolon-angular-ui-powerups.js +1 -1
  27. package/esm5/coolon-angular-ui-powerups.js.map +1 -1
  28. package/esm5/lib/components/components.module.js +2 -2
  29. package/esm5/lib/components/components.module.js.map +1 -1
  30. package/esm5/lib/components/focusable.component.js +4 -4
  31. package/esm5/lib/components/focusable.component.js.map +1 -1
  32. package/esm5/lib/directives/focus-binding-factory.js +31 -0
  33. package/esm5/lib/directives/focus-binding-factory.js.map +1 -0
  34. package/esm5/lib/directives/focus-binding-factory.ngfactory.js.map +1 -0
  35. package/esm5/lib/directives/focus-binding.js +1 -26
  36. package/esm5/lib/directives/focus-binding.js.map +1 -1
  37. package/esm5/lib/directives/index.js +1 -0
  38. package/esm5/lib/directives/index.js.map +1 -1
  39. package/fesm2015/coolon-angular-ui-powerups.js +28 -29
  40. package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
  41. package/fesm5/coolon-angular-ui-powerups.js +29 -30
  42. package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
  43. package/lib/components/focusable.component.d.ts +2 -2
  44. package/lib/directives/focus-binding-factory.d.ts +9 -0
  45. package/lib/directives/focus-binding.d.ts +1 -9
  46. package/lib/directives/index.d.ts +1 -0
  47. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { __extends, __decorate, __metadata, __param, __awaiter, __generator, __spread, __assign } from 'tslib';
2
2
  import { DOCUMENT, CommonModule, Location } from '@angular/common';
3
- import { ElementRef, Inject, Input, HostListener, Directive, NgZone, NgModule, Injectable, Host, HostBinding, Component, EventEmitter, Output, ContentChild, TemplateRef, ChangeDetectorRef, ContentChildren, QueryList, InjectionToken, Injector, ComponentFactoryResolver, ViewContainerRef, ViewChild, ViewChildren, ɵɵdefineInjectable, ɵɵinject, Optional, SkipSelf } from '@angular/core';
3
+ import { ElementRef, Inject, Input, HostListener, Directive, NgZone, NgModule, ɵɵdefineInjectable, ɵɵinject, Injectable, Host, HostBinding, Component, EventEmitter, Output, ContentChild, TemplateRef, ChangeDetectorRef, ContentChildren, QueryList, InjectionToken, Injector, ComponentFactoryResolver, ViewContainerRef, ViewChild, ViewChildren, Optional, SkipSelf } from '@angular/core';
4
4
  import { FormsModule } from '@angular/forms';
5
5
  import { MatFormFieldModule } from '@angular/material/form-field';
6
6
  import { MatInputModule } from '@angular/material/input';
@@ -388,31 +388,30 @@ var FocusBinding = /** @class */ (function (_super) {
388
388
  ], FocusBinding);
389
389
  return FocusBinding;
390
390
  }(GarbageCollector));
391
- (function (FocusBinding) {
392
- var Factory = /** @class */ (function () {
393
- function Factory(ngZone, document) {
394
- this.ngZone = ngZone;
395
- // @see https://stackoverflow.com/questions/49513359/could-not-resolve-type-document-in-angular5/53715642#53715642
396
- this.document = document;
397
- }
398
- Factory.prototype.createBinding = function (el, focusContext) {
399
- return new FocusBinding(el.nativeElement, this.ngZone, this.document, focusContext);
400
- };
401
- Factory.ctorParameters = function () { return [
402
- { type: NgZone, decorators: [{ type: Inject, args: [NgZone,] }] },
403
- { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }
404
- ]; };
405
- Factory = __decorate([
406
- Injectable({
407
- providedIn: 'root'
408
- }),
409
- __param(0, Inject(NgZone)), __param(1, Inject(DOCUMENT)),
410
- __metadata("design:paramtypes", [NgZone, Object])
411
- ], Factory);
412
- return Factory;
413
- }());
414
- FocusBinding.Factory = Factory;
415
- })(FocusBinding || (FocusBinding = {}));
391
+
392
+ var FocusBindingFactory = /** @class */ (function () {
393
+ function FocusBindingFactory(ngZone, document) {
394
+ this.ngZone = ngZone;
395
+ // @see https://stackoverflow.com/questions/49513359/could-not-resolve-type-document-in-angular5/53715642#53715642
396
+ this.document = document;
397
+ }
398
+ FocusBindingFactory.prototype.createBinding = function (el, focusContext) {
399
+ return new FocusBinding(el.nativeElement, this.ngZone, this.document, focusContext);
400
+ };
401
+ FocusBindingFactory.ctorParameters = function () { return [
402
+ { type: NgZone, decorators: [{ type: Inject, args: [NgZone,] }] },
403
+ { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }
404
+ ]; };
405
+ FocusBindingFactory.ɵprov = ɵɵdefineInjectable({ factory: function FocusBindingFactory_Factory() { return new FocusBindingFactory(ɵɵinject(NgZone), ɵɵinject(DOCUMENT)); }, token: FocusBindingFactory, providedIn: "root" });
406
+ FocusBindingFactory = __decorate([
407
+ Injectable({
408
+ providedIn: 'root'
409
+ }),
410
+ __param(0, Inject(NgZone)), __param(1, Inject(DOCUMENT)),
411
+ __metadata("design:paramtypes", [NgZone, Object])
412
+ ], FocusBindingFactory);
413
+ return FocusBindingFactory;
414
+ }());
416
415
 
417
416
  var FocusContainerComponent = /** @class */ (function () {
418
417
  function FocusContainerComponent(focusManager) {
@@ -490,7 +489,7 @@ var FocusableComponent = /** @class */ (function (_super) {
490
489
  FocusableComponent.ctorParameters = function () { return [
491
490
  { type: ElementRef },
492
491
  { type: FocusManager },
493
- { type: FocusBinding.Factory }
492
+ { type: FocusBindingFactory }
494
493
  ]; };
495
494
  __decorate([
496
495
  HostBinding('attr.tabindex'),
@@ -511,7 +510,7 @@ var FocusableComponent = /** @class */ (function (_super) {
511
510
  ], FocusableComponent.prototype, "onBlur", null);
512
511
  FocusableComponent = __decorate([
513
512
  Component({ template: '' }),
514
- __metadata("design:paramtypes", [ElementRef, FocusManager, FocusBinding.Factory])
513
+ __metadata("design:paramtypes", [ElementRef, FocusManager, FocusBindingFactory])
515
514
  ], FocusableComponent);
516
515
  return FocusableComponent;
517
516
  }(DisposableComponent));
@@ -1058,7 +1057,7 @@ var ComponentsModule = /** @class */ (function () {
1058
1057
  FocusableComponent
1059
1058
  ],
1060
1059
  providers: [
1061
- FocusBinding.Factory
1060
+ FocusBindingFactory
1062
1061
  ]
1063
1062
  })
1064
1063
  ], ComponentsModule);
@@ -4782,5 +4781,5 @@ function VisitParameterList(options) {
4782
4781
  * Generated bundle index. Do not edit.
4783
4782
  */
4784
4783
 
4785
- export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputComponent, AbstractInteractionContext, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, Activity, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CheckboxInputComponent, CommandDirective, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EventCleanUpSession, FocusBinding, FocusBindingDirective, FocusContainerComponent, FocusableComponent, Formatter, InPlaceInteractionContextComponent, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ModalInteractionContextFactory, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SelectInputComponent, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, UrlService, UrlSnapshot, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, DirectivesModule as ɵa, CommandDirective as ɵb, AUP_PLACE_CONFIG as ɵba, PlaceRouter as ɵbc, InteractionService as ɵbd, ModalInteractionContextFactory as ɵbe, UrlService as ɵbf, PlaceHistory as ɵbg, TabbedPlaceNavigationComponent as ɵbh, AbstractPlaceNavigationComponent as ɵbi, ListPlaceNavComponent as ɵbj, InteractionModule as ɵbk, ActivityContainerComponent as ɵbl, AbstractInteractionContext as ɵbm, ActivityOutletComponent as ɵbn, ConfirmationDialogComponent as ɵbo, ACTIVITY_DATA as ɵbp, Activity as ɵbq, ConfirmThenDialogComponent as ɵbs, AlertDialogComponent as ɵbt, InPlaceInteractionContextComponent as ɵbv, FocusBindingDirective as ɵc, DisposableComponent as ɵd, ComponentsModule as ɵe, NumberInputComponent as ɵf, AbstractInputComponent as ɵg, StringInputComponent as ɵh, PasswordInputComponent as ɵi, SelectInputComponent as ɵj, CheckboxInputComponent as ɵk, ScrollContainerComponent as ɵl, NoopComponent as ɵm, SwitchCaseOption as ɵn, SwitchCaseWhenDirective as ɵo, SwitchCaseDefaultDirective as ɵp, SwitchCaseComponent as ɵq, FocusContainerComponent as ɵr, FocusableComponent as ɵs, FocusBinding as ɵt, PlaceModule as ɵu, EmptyStateComponent as ɵv, BusyOverlayComponent as ɵw, PlaceOutletComponent as ɵx, leftRightPlaceAnimation as ɵy, LEFT_RIGHT_PLACE_ANIMATION as ɵz };
4784
+ export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputComponent, AbstractInteractionContext, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, Activity, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CheckboxInputComponent, CommandDirective, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EmptyStateComponent, EventCleanUpSession, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, InPlaceInteractionContextComponent, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ModalInteractionContextFactory, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SelectInputComponent, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, UrlService, UrlSnapshot, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, DirectivesModule as ɵa, CommandDirective as ɵb, AUP_PLACE_CONFIG as ɵba, PlaceRouter as ɵbc, InteractionService as ɵbd, ModalInteractionContextFactory as ɵbe, UrlService as ɵbf, PlaceHistory as ɵbg, TabbedPlaceNavigationComponent as ɵbh, AbstractPlaceNavigationComponent as ɵbi, ListPlaceNavComponent as ɵbj, InteractionModule as ɵbk, ActivityContainerComponent as ɵbl, AbstractInteractionContext as ɵbm, ActivityOutletComponent as ɵbn, ConfirmationDialogComponent as ɵbo, ACTIVITY_DATA as ɵbp, Activity as ɵbq, ConfirmThenDialogComponent as ɵbs, AlertDialogComponent as ɵbt, InPlaceInteractionContextComponent as ɵbv, FocusBindingDirective as ɵc, DisposableComponent as ɵd, ComponentsModule as ɵe, NumberInputComponent as ɵf, AbstractInputComponent as ɵg, StringInputComponent as ɵh, PasswordInputComponent as ɵi, SelectInputComponent as ɵj, CheckboxInputComponent as ɵk, ScrollContainerComponent as ɵl, NoopComponent as ɵm, SwitchCaseOption as ɵn, SwitchCaseWhenDirective as ɵo, SwitchCaseDefaultDirective as ɵp, SwitchCaseComponent as ɵq, FocusContainerComponent as ɵr, FocusableComponent as ɵs, FocusBindingFactory as ɵt, PlaceModule as ɵu, EmptyStateComponent as ɵv, BusyOverlayComponent as ɵw, PlaceOutletComponent as ɵx, leftRightPlaceAnimation as ɵy, LEFT_RIGHT_PLACE_ANIMATION as ɵz };
4786
4785
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map