@coolon/angular-ui-powerups 1.3.2 → 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.
- package/CHANGELOG.md +14 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +71 -67
- 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.d.ts +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js +1 -1
- package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/esm2015/coolon-angular-ui-powerups.metadata.json +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/focusable.component.js +4 -4
- package/esm2015/lib/components/focusable.component.js.map +1 -1
- package/esm2015/lib/components/focusable.component.metadata.json +1 -1
- package/esm2015/lib/directives/focus-binding-factory.js +30 -0
- package/esm2015/lib/directives/focus-binding-factory.js.map +1 -0
- package/esm2015/lib/directives/focus-binding-factory.metadata.json +1 -0
- package/esm2015/lib/directives/focus-binding-factory.ngfactory.js.map +1 -0
- package/esm2015/lib/directives/focus-binding.js +1 -25
- package/esm2015/lib/directives/focus-binding.js.map +1 -1
- package/esm2015/lib/directives/index.js +1 -0
- package/esm2015/lib/directives/index.js.map +1 -1
- package/esm2015/lib/directives/index.metadata.json +1 -1
- package/esm5/coolon-angular-ui-powerups.js +1 -1
- package/esm5/coolon-angular-ui-powerups.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/focusable.component.js +4 -4
- package/esm5/lib/components/focusable.component.js.map +1 -1
- package/esm5/lib/directives/focus-binding-factory.js +31 -0
- package/esm5/lib/directives/focus-binding-factory.js.map +1 -0
- package/esm5/lib/directives/focus-binding-factory.ngfactory.js.map +1 -0
- package/esm5/lib/directives/focus-binding.js +1 -26
- package/esm5/lib/directives/focus-binding.js.map +1 -1
- package/esm5/lib/directives/index.js +1 -0
- package/esm5/lib/directives/index.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +67 -65
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +69 -67
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/focusable.component.d.ts +2 -2
- package/lib/directives/focus-binding-factory.d.ts +9 -0
- package/lib/directives/focus-binding.d.ts +1 -9
- package/lib/directives/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __extends, __metadata, __param } from "tslib";
|
|
2
2
|
import { DOCUMENT } from '@angular/common';
|
|
3
|
-
import {
|
|
3
|
+
import { Inject, NgZone } from '@angular/core';
|
|
4
4
|
import { Dsl, FocusManager, GarbageCollector, Logger } from '@coolon/pectin';
|
|
5
5
|
var FocusBinding = /** @class */ (function (_super) {
|
|
6
6
|
__extends(FocusBinding, _super);
|
|
@@ -84,29 +84,4 @@ var FocusBinding = /** @class */ (function (_super) {
|
|
|
84
84
|
return FocusBinding;
|
|
85
85
|
}(GarbageCollector));
|
|
86
86
|
export { FocusBinding };
|
|
87
|
-
(function (FocusBinding) {
|
|
88
|
-
var Factory = /** @class */ (function () {
|
|
89
|
-
function Factory(ngZone, document) {
|
|
90
|
-
this.ngZone = ngZone;
|
|
91
|
-
// @see https://stackoverflow.com/questions/49513359/could-not-resolve-type-document-in-angular5/53715642#53715642
|
|
92
|
-
this.document = document;
|
|
93
|
-
}
|
|
94
|
-
Factory.prototype.createBinding = function (el, focusContext) {
|
|
95
|
-
return new FocusBinding(el.nativeElement, this.ngZone, this.document, focusContext);
|
|
96
|
-
};
|
|
97
|
-
Factory.ctorParameters = function () { return [
|
|
98
|
-
{ type: NgZone, decorators: [{ type: Inject, args: [NgZone,] }] },
|
|
99
|
-
{ type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }
|
|
100
|
-
]; };
|
|
101
|
-
Factory = __decorate([
|
|
102
|
-
Injectable({
|
|
103
|
-
providedIn: 'root'
|
|
104
|
-
}),
|
|
105
|
-
__param(0, Inject(NgZone)), __param(1, Inject(DOCUMENT)),
|
|
106
|
-
__metadata("design:paramtypes", [NgZone, Object])
|
|
107
|
-
], Factory);
|
|
108
|
-
return Factory;
|
|
109
|
-
}());
|
|
110
|
-
FocusBinding.Factory = Factory;
|
|
111
|
-
})(FocusBinding || (FocusBinding = {}));
|
|
112
87
|
//# sourceMappingURL=focus-binding.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"focus-binding.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/directives/focus-binding.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,
|
|
1
|
+
{"version":3,"file":"focus-binding.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/directives/focus-binding.ts"],"names":[],"mappings":"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","sourcesContent":["import { DOCUMENT } from '@angular/common';\nimport { ElementRef, Inject, Injectable, NgZone } from '@angular/core';\nimport { Dsl, FocusManager, GarbageCollector, Logger } from '@coolon/pectin';\n\nexport class FocusBinding extends GarbageCollector {\n\n private readonly document: Document;\n\n constructor(private readonly focusTargetElement: HTMLElement,\n @Inject(NgZone) private readonly ngZone: NgZone,\n @Inject(DOCUMENT) document: any,\n readonly focusContext: FocusManager.Context) {\n super();\n // @see https://stackoverflow.com/questions/49513359/could-not-resolve-type-document-in-angular5/53715642#53715642\n this.document = document as Document;\n\n // TODO: Make this also track the current enabled/disabled state.\n const { when } = Dsl.disposeWith(this);\n when.valueOf(this.focusContext.focused).changes((focused) => {\n if (focused && !this.alreadyHasFocus()) {\n this.tryAndFocus();\n }\n }, { initialValue: 'triggerChangeUnlessNil' });\n }\n\n onFocusIn() {\n this.focusContext.notifyFocusIn();\n }\n\n onFocusOut() {\n this.focusContext.notifyFocusOut();\n }\n\n // Hook method for debugging via tracing.\n alreadyHasFocus() {\n return this.isElementFocused(this.focusTarget);\n }\n\n // Hook method for debugging via tracing.\n isElementFocused(element: Element): boolean {\n return this.document.activeElement === element;\n }\n\n tryAndFocus(retries: number = 5) {\n if (this.modelShouldStillHaveFocus() && this.canFocus()) {\n if (!this.alreadyHasFocus()) {\n this.focusTarget.focus();\n }\n // if we didn't get the focus we try again later.\n if (!this.alreadyHasFocus()) {\n Logger.get(this).log(`focus failed, trying ${retries} more times`);\n if (retries > 0) {\n // try again on the next paint\n // TODO: is there an angular way of doing this without calling a window function.\n requestAnimationFrame(() => {\n this.tryAndFocus(retries - 1);\n });\n } else {\n Logger.get(this).warn(`Tried to focus but gave up as the component wasn't enabled or visible.`);\n }\n }\n }\n }\n\n get focusTarget(): HTMLElement {\n return this.focusTargetElement;\n }\n\n // Hook method for debugging via tracing.\n modelShouldStillHaveFocus() {\n return this.focusContext.focused.value;\n }\n\n // Hook method for debugging via tracing.\n canFocus(): boolean {\n const dimension = this.focusTarget.getBoundingClientRect();\n const hasSize = dimension.height >= 0 && dimension.height >= 0;\n // tslint:disable-next-line:no-string-literal\n return hasSize && !this.focusTarget['disabled'];\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/directives/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./command.directive\";\nexport * from \"./directives.module\";\nexport * from \"./focus-binding.directive\";\nexport * from \"./focus-binding\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"ng://@coolon/angular-ui-powerups/","sources":["lib/directives/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC","sourcesContent":["/**\n * @file Automatically generated by barrelsby.\n */\n\nexport * from \"./command.directive\";\nexport * from \"./directives.module\";\nexport * from \"./focus-binding-factory\";\nexport * from \"./focus-binding.directive\";\nexport * from \"./focus-binding\";\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __decorate, __metadata, __param, __awaiter } from 'tslib';
|
|
2
2
|
import { DOCUMENT, CommonModule, Location } from '@angular/common';
|
|
3
|
-
import { ElementRef, Inject, Input, HostListener, Directive, NgZone, NgModule, Host, HostBinding, Component,
|
|
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';
|
|
@@ -277,43 +277,6 @@ DirectivesModule = __decorate([
|
|
|
277
277
|
})
|
|
278
278
|
], DirectivesModule);
|
|
279
279
|
|
|
280
|
-
let FocusContainerComponent = class FocusContainerComponent {
|
|
281
|
-
constructor(focusManager) {
|
|
282
|
-
this.focusManager = focusManager;
|
|
283
|
-
this.tabIndex = -1;
|
|
284
|
-
}
|
|
285
|
-
ngOnInit() {
|
|
286
|
-
}
|
|
287
|
-
restoreFocus() {
|
|
288
|
-
this.focusManager.restoreFocus();
|
|
289
|
-
}
|
|
290
|
-
};
|
|
291
|
-
FocusContainerComponent.ctorParameters = () => [
|
|
292
|
-
{ type: FocusManager, decorators: [{ type: Host }] }
|
|
293
|
-
];
|
|
294
|
-
__decorate([
|
|
295
|
-
HostBinding("attr.tabindex"),
|
|
296
|
-
__metadata("design:type", Object)
|
|
297
|
-
], FocusContainerComponent.prototype, "tabIndex", void 0);
|
|
298
|
-
__decorate([
|
|
299
|
-
Trace(),
|
|
300
|
-
__metadata("design:type", Function),
|
|
301
|
-
__metadata("design:paramtypes", []),
|
|
302
|
-
__metadata("design:returntype", void 0)
|
|
303
|
-
], FocusContainerComponent.prototype, "restoreFocus", null);
|
|
304
|
-
FocusContainerComponent = __decorate([
|
|
305
|
-
Component({
|
|
306
|
-
selector: 'aup-focus-container',
|
|
307
|
-
template: "<ng-content></ng-content>\n",
|
|
308
|
-
providers: [
|
|
309
|
-
{ provide: FocusManager }
|
|
310
|
-
],
|
|
311
|
-
styles: [":host{display:block}"]
|
|
312
|
-
}),
|
|
313
|
-
__param(0, Host()),
|
|
314
|
-
__metadata("design:paramtypes", [FocusManager])
|
|
315
|
-
], FocusContainerComponent);
|
|
316
|
-
|
|
317
280
|
let FocusBinding = class FocusBinding extends GarbageCollector {
|
|
318
281
|
constructor(focusTargetElement, ngZone, document, focusContext) {
|
|
319
282
|
super();
|
|
@@ -386,30 +349,66 @@ FocusBinding = __decorate([
|
|
|
386
349
|
__metadata("design:paramtypes", [HTMLElement,
|
|
387
350
|
NgZone, Object, Object])
|
|
388
351
|
], FocusBinding);
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
352
|
+
|
|
353
|
+
let FocusBindingFactory = class FocusBindingFactory {
|
|
354
|
+
constructor(ngZone, document) {
|
|
355
|
+
this.ngZone = ngZone;
|
|
356
|
+
// @see https://stackoverflow.com/questions/49513359/could-not-resolve-type-document-in-angular5/53715642#53715642
|
|
357
|
+
this.document = document;
|
|
358
|
+
}
|
|
359
|
+
createBinding(el, focusContext) {
|
|
360
|
+
return new FocusBinding(el.nativeElement, this.ngZone, this.document, focusContext);
|
|
361
|
+
}
|
|
362
|
+
};
|
|
363
|
+
FocusBindingFactory.ctorParameters = () => [
|
|
364
|
+
{ type: NgZone, decorators: [{ type: Inject, args: [NgZone,] }] },
|
|
365
|
+
{ type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }
|
|
366
|
+
];
|
|
367
|
+
FocusBindingFactory.ɵprov = ɵɵdefineInjectable({ factory: function FocusBindingFactory_Factory() { return new FocusBindingFactory(ɵɵinject(NgZone), ɵɵinject(DOCUMENT)); }, token: FocusBindingFactory, providedIn: "root" });
|
|
368
|
+
FocusBindingFactory = __decorate([
|
|
369
|
+
Injectable({
|
|
370
|
+
providedIn: 'root'
|
|
371
|
+
}),
|
|
372
|
+
__param(0, Inject(NgZone)), __param(1, Inject(DOCUMENT)),
|
|
373
|
+
__metadata("design:paramtypes", [NgZone, Object])
|
|
374
|
+
], FocusBindingFactory);
|
|
375
|
+
|
|
376
|
+
let FocusContainerComponent = class FocusContainerComponent {
|
|
377
|
+
constructor(focusManager) {
|
|
378
|
+
this.focusManager = focusManager;
|
|
379
|
+
this.tabIndex = -1;
|
|
380
|
+
}
|
|
381
|
+
ngOnInit() {
|
|
382
|
+
}
|
|
383
|
+
restoreFocus() {
|
|
384
|
+
this.focusManager.restoreFocus();
|
|
385
|
+
}
|
|
386
|
+
};
|
|
387
|
+
FocusContainerComponent.ctorParameters = () => [
|
|
388
|
+
{ type: FocusManager, decorators: [{ type: Host }] }
|
|
389
|
+
];
|
|
390
|
+
__decorate([
|
|
391
|
+
HostBinding("attr.tabindex"),
|
|
392
|
+
__metadata("design:type", Object)
|
|
393
|
+
], FocusContainerComponent.prototype, "tabIndex", void 0);
|
|
394
|
+
__decorate([
|
|
395
|
+
Trace(),
|
|
396
|
+
__metadata("design:type", Function),
|
|
397
|
+
__metadata("design:paramtypes", []),
|
|
398
|
+
__metadata("design:returntype", void 0)
|
|
399
|
+
], FocusContainerComponent.prototype, "restoreFocus", null);
|
|
400
|
+
FocusContainerComponent = __decorate([
|
|
401
|
+
Component({
|
|
402
|
+
selector: 'aup-focus-container',
|
|
403
|
+
template: "<ng-content></ng-content>\n",
|
|
404
|
+
providers: [
|
|
405
|
+
{ provide: FocusManager }
|
|
406
|
+
],
|
|
407
|
+
styles: [":host{display:block}"]
|
|
408
|
+
}),
|
|
409
|
+
__param(0, Host()),
|
|
410
|
+
__metadata("design:paramtypes", [FocusManager])
|
|
411
|
+
], FocusContainerComponent);
|
|
413
412
|
|
|
414
413
|
let FocusableComponent = class FocusableComponent extends DisposableComponent {
|
|
415
414
|
constructor(el, focusManager, focusBindingFactory) {
|
|
@@ -440,7 +439,7 @@ let FocusableComponent = class FocusableComponent extends DisposableComponent {
|
|
|
440
439
|
FocusableComponent.ctorParameters = () => [
|
|
441
440
|
{ type: ElementRef },
|
|
442
441
|
{ type: FocusManager },
|
|
443
|
-
{ type:
|
|
442
|
+
{ type: FocusBindingFactory }
|
|
444
443
|
];
|
|
445
444
|
__decorate([
|
|
446
445
|
HostBinding('attr.tabindex'),
|
|
@@ -461,7 +460,7 @@ __decorate([
|
|
|
461
460
|
], FocusableComponent.prototype, "onBlur", null);
|
|
462
461
|
FocusableComponent = __decorate([
|
|
463
462
|
Component({ template: '' }),
|
|
464
|
-
__metadata("design:paramtypes", [ElementRef, FocusManager,
|
|
463
|
+
__metadata("design:paramtypes", [ElementRef, FocusManager, FocusBindingFactory])
|
|
465
464
|
], FocusableComponent);
|
|
466
465
|
|
|
467
466
|
let AbstractInputComponent = class AbstractInputComponent extends DisposableComponent {
|
|
@@ -953,6 +952,9 @@ ComponentsModule = __decorate([
|
|
|
953
952
|
SwitchCaseDefaultDirective,
|
|
954
953
|
FocusContainerComponent,
|
|
955
954
|
FocusableComponent
|
|
955
|
+
],
|
|
956
|
+
providers: [
|
|
957
|
+
FocusBindingFactory
|
|
956
958
|
]
|
|
957
959
|
})
|
|
958
960
|
], ComponentsModule);
|
|
@@ -4257,5 +4259,5 @@ function VisitParameterList(options) {
|
|
|
4257
4259
|
* Generated bundle index. Do not edit.
|
|
4258
4260
|
*/
|
|
4259
4261
|
|
|
4260
|
-
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,
|
|
4262
|
+
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 };
|
|
4261
4263
|
//# sourceMappingURL=coolon-angular-ui-powerups.js.map
|