@coolon/angular-ui-powerups 0.0.1 → 0.0.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.
@@ -1,19 +1,19 @@
1
1
  import { DOCUMENT, CommonModule } from '@angular/common';
2
- import { EventEmitter, Input, Output, HostListener, Component, Directive, ElementRef, Inject, NgZone, NgModule, InjectionToken, ViewChild, Injector, ComponentFactoryResolver, ViewContainerRef, Injectable, ɵɵdefineInjectable, ɵɵinject, INJECTOR } from '@angular/core';
2
+ import { EventEmitter, Input, Output, HostListener, Component, Directive, ElementRef, Inject, NgZone, InjectionToken, ViewChild, Injector, ComponentFactoryResolver, ViewContainerRef, Injectable, ɵɵdefineInjectable, ɵɵinject, NgModule, INJECTOR } from '@angular/core';
3
3
  import { FormsModule } from '@angular/forms';
4
- import { MatInputModule, MatFormFieldModule, MatSelectModule, MatDialog, MatButtonModule, MatDialogModule, MatTabsModule, MatProgressSpinnerModule } from '@angular/material';
4
+ import { MatDialog, MatButtonModule, MatDialogModule, MatTabsModule, MatProgressSpinnerModule, MatInputModule, MatFormFieldModule, MatSelectModule } from '@angular/material';
5
5
  import { BrowserModule } from '@angular/platform-browser';
6
6
  import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
7
7
  import { __decorate, __metadata, __awaiter } from 'tslib';
8
- import { GarbageCollector, MutableListModel, Constant, UseDelegate, MutableValueModel, assert, Dsl, Logger, ListModel, StoreInListModel, ValueHolder, EventListenerList, DelegatingValueModel, lang, Trace, TransactionObserver, Binding, UseDelegatingValueModel, ValueModel, StoreInValueModel } from '@coolon/pectin';
9
- import ResizeObserver from 'resize-observer-polyfill';
8
+ import { GarbageCollector, MutableListModel, Constant, UseDelegate, MutableValueModel, assert, Dsl, Logger, ListModel, StoreInListModel, EventListenerList, DelegatingValueModel, lang, UseDelegatingValueModel, ValueModel, StoreInValueModel, Trace, ValueHolder, TransactionObserver, Binding } from '@coolon/pectin';
10
9
  import { PortalModule } from '@angular/cdk/portal';
11
10
  import { Deferred } from '@coolon/pectin/lib/promise/deferred.class';
12
11
  import { MatDialog as MatDialog$1 } from '@angular/material/dialog';
12
+ import { RouterModule, Router, ActivatedRoute, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
13
+ import ResizeObserver from 'resize-observer-polyfill';
13
14
  import { Memoize } from '@typescript-plus/fast-memoize-decorator';
14
15
  import { isNil } from 'lodash';
15
16
  import 'reflect-metadata';
16
- import { Router, ActivatedRoute, RouterModule, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
17
17
  import { Klass, Opts } from '@coolon/typescript-utilities';
18
18
  import { Memoize as Memoize$1 } from '@typescript-plus/fast-memoize-decorator/dist/src';
19
19
 
@@ -578,251 +578,36 @@ if (false) {
578
578
  * @fileoverview added by tsickle
579
579
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
580
580
  */
581
- class AngularUiPowerupsModule {
582
- }
583
- AngularUiPowerupsModule.decorators = [
584
- { type: NgModule, args: [{
585
- declarations: [
586
- CommandDirective,
587
- FocusBindingDirective,
588
- NumberInputComponent,
589
- StringInputComponent,
590
- PasswordInputComponent,
591
- SelectInputComponent,
592
- ],
593
- imports: [
594
- CommonModule,
595
- BrowserModule,
596
- BrowserAnimationsModule,
597
- FormsModule,
598
- MatInputModule,
599
- MatFormFieldModule,
600
- MatSelectModule
601
- ],
602
- exports: [
603
- CommandDirective,
604
- FocusBindingDirective,
605
- NumberInputComponent,
606
- StringInputComponent,
607
- PasswordInputComponent,
608
- SelectInputComponent,
609
- ]
610
- },] }
611
- ];
612
-
613
- /**
614
- * @fileoverview added by tsickle
615
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
616
- */
617
- class Dimension {
618
- /**
619
- * @param {?} width
620
- * @param {?} height
621
- */
622
- constructor(width, height) {
623
- this.width = width;
624
- this.height = height;
625
- }
626
- }
627
- if (false) {
628
- /** @type {?} */
629
- Dimension.prototype.width;
630
- /** @type {?} */
631
- Dimension.prototype.height;
632
- }
633
-
634
- /**
635
- * @fileoverview added by tsickle
636
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
637
- */
638
- class Point {
639
- /**
640
- * @param {?} x
641
- * @param {?} y
642
- */
643
- constructor(x, y) {
644
- this.x = x;
645
- this.y = y;
646
- }
647
- /**
648
- * @param {?} data
649
- * @return {?}
650
- */
651
- static from(data) {
652
- return new Point(data.x, data.y);
653
- }
654
- /**
655
- * @param {?} x
656
- * @param {?} y
657
- * @return {?}
658
- */
659
- translate(x, y) {
660
- return new Point(this.x + x, this.y + y);
661
- }
662
- }
663
- if (false) {
664
- /** @type {?} */
665
- Point.prototype.x;
666
- /** @type {?} */
667
- Point.prototype.y;
668
- }
669
-
581
+ /** @type {?} */
582
+ const INTERACTION_CONTEXT = new InjectionToken('InteractionContext');
670
583
  /**
671
- * @fileoverview added by tsickle
672
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
584
+ * @abstract
673
585
  */
674
- class Bounds extends Dimension {
675
- /**
676
- * @param {?} top
677
- * @param {?} left
678
- * @param {?} width
679
- * @param {?} height
680
- */
681
- constructor(top, left, width, height) {
682
- super(width, height);
683
- this.top = top;
684
- this.left = left;
685
- this.width = width;
686
- this.height = height;
687
- }
688
- /**
689
- * @param {?} point
690
- * @return {?}
691
- */
692
- relativePositionOf(point) {
693
- if (point instanceof MouseEvent) {
694
- return new Point(point.clientX - this.left, point.clientY - this.top);
695
- }
696
- else {
697
- return new Point(point.x - this.left, point.y - this.top);
698
- }
699
- }
586
+ class InteractionContext {
700
587
  }
701
588
  if (false) {
702
- /** @type {?} */
703
- Bounds.prototype.top;
704
- /** @type {?} */
705
- Bounds.prototype.left;
706
- /** @type {?} */
707
- Bounds.prototype.width;
708
- /** @type {?} */
709
- Bounds.prototype.height;
710
- }
711
- (function (Bounds) {
712
- /**
713
- * @param {?} element
714
- * @return {?}
715
- */
716
- function ofElement(element) {
717
- /** @type {?} */
718
- const rect = element.getBoundingClientRect();
719
- return new Bounds(rect.top, rect.left, rect.width, rect.height);
720
- }
721
- Bounds.ofElement = ofElement;
722
- })(Bounds || (Bounds = {}));
723
-
724
- /**
725
- * @fileoverview added by tsickle
726
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
727
- */
728
- class ResizeAwareComponent extends DisposableComponent {
729
- /**
730
- * @param {?} elementRef
731
- * @param {?} ngZone
732
- */
733
- constructor(elementRef, ngZone) {
734
- super();
735
- this.elementRef = elementRef;
736
- this.ngZone = ngZone;
737
- this._boundsModel = new ValueHolder(new Bounds(0, 0, 0, 0));
738
- }
739
- /**
740
- * @return {?}
741
- */
742
- ngAfterViewInit() {
743
- this.updateBounds();
744
- /** @type {?} */
745
- const element = this.elementRef.nativeElement;
746
- /** @type {?} */
747
- const ro = new ResizeObserver((/**
748
- * @param {?} entries
749
- * @param {?} observer
750
- * @return {?}
751
- */
752
- (entries, observer) => {
753
- this.ngZone.run((/**
754
- * @return {?}
755
- */
756
- () => this.updateBounds()));
757
- }));
758
- ro.observe(element);
759
- this.onDispose((/**
760
- * @return {?}
761
- */
762
- () => ro.disconnect()));
763
- }
764
- /**
765
- * @return {?}
766
- */
767
- get boundsModel() {
768
- return this._boundsModel.readonly;
769
- }
770
- /**
771
- * @return {?}
772
- */
773
- get nativeElement() {
774
- return this.elementRef.nativeElement;
775
- }
776
- // TODO: Make this handle body scroll
777
589
  /**
778
- * @param {?} point
590
+ * @abstract
591
+ * @template D, R, E
592
+ * @param {?} activityType
593
+ * @param {?=} data
779
594
  * @return {?}
780
595
  */
781
- relativePositionOf(point) {
782
- return this.bounds.relativePositionOf(point);
783
- }
596
+ InteractionContext.prototype.startActivity = function (activityType, data) { };
784
597
  /**
598
+ * @abstract
599
+ * @param {?} confirm
785
600
  * @return {?}
786
601
  */
787
- get bounds() {
788
- return this._boundsModel.value;
789
- }
602
+ InteractionContext.prototype.confirm = function (confirm) { };
790
603
  /**
791
- * @private
604
+ * @abstract
605
+ * @param {?} alert
792
606
  * @return {?}
793
607
  */
794
- updateBounds() {
795
- this._boundsModel.value = Bounds.ofElement(this.nativeElement);
796
- }
797
- }
798
- if (false) {
799
- /**
800
- * @type {?}
801
- * @private
802
- */
803
- ResizeAwareComponent.prototype._boundsModel;
804
- /**
805
- * @type {?}
806
- * @protected
807
- */
808
- ResizeAwareComponent.prototype.elementRef;
809
- /**
810
- * @type {?}
811
- * @protected
812
- */
813
- ResizeAwareComponent.prototype.ngZone;
608
+ InteractionContext.prototype.alert = function (alert) { };
814
609
  }
815
610
 
816
- /**
817
- * @fileoverview added by tsickle
818
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
819
- */
820
-
821
- /**
822
- * @fileoverview added by tsickle
823
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
824
- */
825
-
826
611
  /**
827
612
  * @fileoverview added by tsickle
828
613
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -980,83 +765,9 @@ if (false) {
980
765
  * @fileoverview added by tsickle
981
766
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
982
767
  */
983
- /**
984
- * @record
985
- */
986
- function Alert() { }
987
- if (false) {
768
+ class AlertDialogComponent extends AbstractActivity {
988
769
  /**
989
- * @return {?}
990
- */
991
- Alert.prototype.title = function () { };
992
- /**
993
- * @return {?}
994
- */
995
- Alert.prototype.content = function () { };
996
- /**
997
- * @return {?}
998
- */
999
- Alert.prototype.ok = function () { };
1000
- }
1001
-
1002
- /**
1003
- * @fileoverview added by tsickle
1004
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1005
- */
1006
- /**
1007
- * @record
1008
- */
1009
- function Confirm() { }
1010
- if (false) {
1011
- /** @type {?|undefined} */
1012
- Confirm.prototype.destructive;
1013
- /**
1014
- * @return {?}
1015
- */
1016
- Confirm.prototype.cancel = function () { };
1017
- }
1018
-
1019
- /**
1020
- * @fileoverview added by tsickle
1021
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1022
- */
1023
- /** @type {?} */
1024
- const INTERACTION_CONTEXT = new InjectionToken('InteractionContext');
1025
- /**
1026
- * @abstract
1027
- */
1028
- class InteractionContext {
1029
- }
1030
- if (false) {
1031
- /**
1032
- * @abstract
1033
- * @template D, R, E
1034
- * @param {?} activityType
1035
- * @param {?=} data
1036
- * @return {?}
1037
- */
1038
- InteractionContext.prototype.startActivity = function (activityType, data) { };
1039
- /**
1040
- * @abstract
1041
- * @param {?} confirm
1042
- * @return {?}
1043
- */
1044
- InteractionContext.prototype.confirm = function (confirm) { };
1045
- /**
1046
- * @abstract
1047
- * @param {?} alert
1048
- * @return {?}
1049
- */
1050
- InteractionContext.prototype.alert = function (alert) { };
1051
- }
1052
-
1053
- /**
1054
- * @fileoverview added by tsickle
1055
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1056
- */
1057
- class AlertDialogComponent extends AbstractActivity {
1058
- /**
1059
- * @param {?} alert
770
+ * @param {?} alert
1060
771
  */
1061
772
  constructor(alert) {
1062
773
  super();
@@ -1567,171 +1278,667 @@ InteractionModule.decorators = [
1567
1278
  * @fileoverview added by tsickle
1568
1279
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1569
1280
  */
1570
- /**
1571
- * @record
1572
- * @template R, E
1573
- */
1574
- function Result() { }
1575
- (function (Result) {
1281
+ class BusyOverlayComponent {
1282
+ constructor() {
1283
+ }
1576
1284
  /**
1577
- * @record
1578
- * @template R, E
1285
+ * @return {?}
1579
1286
  */
1580
- function Callback() { }
1581
- Result.Callback = Callback;
1582
- if (false) {
1583
- /** @type {?} */
1584
- Callback.prototype.then;
1585
- /** @type {?} */
1586
- Callback.prototype.catch;
1287
+ ngOnInit() {
1587
1288
  }
1588
- })(Result || (Result = {}));
1589
-
1590
- /**
1591
- * @fileoverview added by tsickle
1592
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1593
- */
1594
- /**
1595
- * @record
1596
- * @template D, R, E
1597
- */
1598
- function ActivityOutletContext() { }
1289
+ }
1290
+ BusyOverlayComponent.decorators = [
1291
+ { type: Component, args: [{
1292
+ selector: 'aup-busy-overlay',
1293
+ template: "<ng-content></ng-content>\n<div class=\"busy-overlay-backdrop\" *ngIf=\"busyModel.value\">\n <mat-progress-spinner mode=\"indeterminate\" [diameter]=\"52\"></mat-progress-spinner>\n</div>\n",
1294
+ styles: [":host{position:relative}div.busy-overlay-backdrop{position:absolute;background-color:rgba(0,0,0,.2);top:0;left:0;bottom:0;right:0;display:-ms-grid;display:grid;-ms-grid-columns:auto;grid-template-columns:auto;-ms-grid-rows:auto;grid-template-rows:auto;place-content:center}"]
1295
+ }] }
1296
+ ];
1297
+ /** @nocollapse */
1298
+ BusyOverlayComponent.ctorParameters = () => [];
1299
+ BusyOverlayComponent.propDecorators = {
1300
+ busyModel: [{ type: Input }],
1301
+ busy: [{ type: Input }]
1302
+ };
1303
+ __decorate([
1304
+ UseDelegatingValueModel(),
1305
+ __metadata("design:type", ValueModel)
1306
+ ], BusyOverlayComponent.prototype, "busyModel", void 0);
1307
+ __decorate([
1308
+ StoreInValueModel('busyModel'),
1309
+ __metadata("design:type", Boolean)
1310
+ ], BusyOverlayComponent.prototype, "busy", void 0);
1599
1311
  if (false) {
1600
1312
  /** @type {?} */
1601
- ActivityOutletContext.prototype.interactionContext;
1602
- /** @type {?} */
1603
- ActivityOutletContext.prototype.activityClass;
1604
- /** @type {?} */
1605
- ActivityOutletContext.prototype.activityData;
1606
- /** @type {?} */
1607
- ActivityOutletContext.prototype.onDone;
1313
+ BusyOverlayComponent.prototype.busyModel;
1608
1314
  /** @type {?} */
1609
- ActivityOutletContext.prototype.onCancel;
1315
+ BusyOverlayComponent.prototype.busy;
1610
1316
  }
1611
1317
 
1612
1318
  /**
1613
1319
  * @fileoverview added by tsickle
1614
1320
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1615
1321
  */
1616
-
1617
- /**
1618
- * @fileoverview added by tsickle
1619
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1620
- */
1621
- /**
1622
- * @param {?} options
1623
- * @return {?}
1624
- */
1625
- function Place(options) {
1626
- return (/**
1627
- * @param {?} target
1628
- * @return {?}
1629
- */
1630
- (target) => {
1631
- Reflect.defineMetadata('place.options', options, target);
1632
- });
1633
- }
1634
- (function (Place) {
1635
- /**
1636
- * @record
1637
- */
1638
- function Options() { }
1639
- Place.Options = Options;
1640
- if (false) {
1641
- /** @type {?} */
1642
- Options.prototype.path;
1643
- /** @type {?} */
1644
- Options.prototype.title;
1645
- /** @type {?|undefined} */
1646
- Options.prototype.authenticate;
1647
- }
1648
- class Descriptor {
1649
- /**
1650
- * @param {?} placeClass
1651
- * @param {?} options
1652
- */
1653
- constructor(placeClass, options) {
1654
- assert.notNil(options);
1655
- this.path = options.path;
1656
- this.title = options.title;
1657
- this.authenticate = isNil(options.authenticate) || options.authenticate;
1658
- }
1659
- }
1660
- Place.Descriptor = Descriptor;
1661
- if (false) {
1662
- /** @type {?} */
1663
- Descriptor.prototype.path;
1664
- /** @type {?} */
1665
- Descriptor.prototype.authenticate;
1666
- /** @type {?} */
1667
- Descriptor.prototype.title;
1322
+ class EmptyStateComponent {
1323
+ constructor() {
1668
1324
  }
1669
1325
  /**
1670
- * @param {?} klass
1671
1326
  * @return {?}
1672
1327
  */
1673
- function getDescriptor(klass) {
1674
- /** @type {?} */
1675
- const placeOptions = Reflect.getMetadata('place.options', klass);
1676
- return new Descriptor(klass, placeOptions);
1328
+ ngOnInit() {
1677
1329
  }
1678
- Place.getDescriptor = getDescriptor;
1679
- })(Place || (Place = {}));
1330
+ }
1331
+ EmptyStateComponent.decorators = [
1332
+ { type: Component, args: [{
1333
+ selector: 'angular-ui-powerups-empty-state',
1334
+ template: `
1335
+ <div class="container">
1336
+ <ng-content></ng-content>
1337
+ </div>
1338
+ `,
1339
+ styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center}.container{padding:var(--default-padding);border:2px dashed rgba(0,0,0,.2);border-radius:5px;font-size:14px;font-weight:300}"]
1340
+ }] }
1341
+ ];
1342
+ /** @nocollapse */
1343
+ EmptyStateComponent.ctorParameters = () => [];
1680
1344
 
1681
1345
  /**
1682
1346
  * @fileoverview added by tsickle
1683
1347
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1684
1348
  */
1685
- /**
1686
- * @record
1687
- * @template T
1688
- */
1689
- function ResolvedParameter() { }
1690
- if (false) {
1691
- /** @type {?} */
1692
- ResolvedParameter.prototype.parameter;
1693
- /** @type {?} */
1694
- ResolvedParameter.prototype.resolvedValue;
1695
- }
1696
- class ResolvedParameters {
1697
- /**
1698
- * @param {?} parameters
1699
- */
1700
- constructor(parameters) {
1701
- this.parameters = parameters;
1349
+ class PlaceService {
1350
+ constructor() {
1351
+ this._activePlaces = new MutableListModel();
1702
1352
  }
1703
1353
  /**
1704
- * @template T
1705
- * @param {?} parameter
1706
1354
  * @return {?}
1707
1355
  */
1708
- get(parameter) {
1709
- /** @type {?} */
1710
- const resolved = this.parameters.find((/**
1711
- * @param {?} p
1712
- * @return {?}
1713
- */
1714
- p => p.parameter === parameter));
1715
- return resolved ? resolved.resolvedValue : null;
1356
+ get activePlaces() {
1357
+ return this._activePlaces.readonly;
1716
1358
  }
1717
1359
  /**
1718
- * @template T
1719
- * @param {?} parameter
1720
- * @param {?} value
1360
+ * @param {?} place
1721
1361
  * @return {?}
1722
1362
  */
1723
- replace(parameter, value) {
1724
- return new ResolvedParameters(this.parameters.filter((/**
1725
- * @param {?} p
1726
- * @return {?}
1727
- */
1728
- p => p.parameter !== parameter)).concat({
1729
- parameter,
1730
- resolvedValue: value
1731
- }));
1363
+ onActivate(place) {
1364
+ this._activePlaces.push(place);
1732
1365
  }
1733
1366
  /**
1734
- * @protected
1367
+ * @param {?} place
1368
+ * @return {?}
1369
+ */
1370
+ onDeactivate(place) {
1371
+ this._activePlaces.remove(place);
1372
+ }
1373
+ }
1374
+ PlaceService.decorators = [
1375
+ { type: Injectable, args: [{
1376
+ providedIn: 'root'
1377
+ },] }
1378
+ ];
1379
+ /** @nocollapse */
1380
+ PlaceService.ctorParameters = () => [];
1381
+ /** @nocollapse */ PlaceService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PlaceService_Factory() { return new PlaceService(); }, token: PlaceService, providedIn: "root" });
1382
+ __decorate([
1383
+ Trace(),
1384
+ __metadata("design:type", Function),
1385
+ __metadata("design:paramtypes", [Object]),
1386
+ __metadata("design:returntype", void 0)
1387
+ ], PlaceService.prototype, "onActivate", null);
1388
+ __decorate([
1389
+ Trace(),
1390
+ __metadata("design:type", Function),
1391
+ __metadata("design:paramtypes", [Object]),
1392
+ __metadata("design:returntype", void 0)
1393
+ ], PlaceService.prototype, "onDeactivate", null);
1394
+ if (false) {
1395
+ /**
1396
+ * @type {?}
1397
+ * @private
1398
+ */
1399
+ PlaceService.prototype._activePlaces;
1400
+ }
1401
+
1402
+ /**
1403
+ * @fileoverview added by tsickle
1404
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1405
+ */
1406
+ class PlaceOutletComponent {
1407
+ /**
1408
+ * @param {?} placeService
1409
+ */
1410
+ constructor(placeService) {
1411
+ this.placeService = placeService;
1412
+ }
1413
+ /**
1414
+ * @return {?}
1415
+ */
1416
+ ngOnInit() {
1417
+ }
1418
+ /**
1419
+ * @param {?} $event
1420
+ * @return {?}
1421
+ */
1422
+ onActivate($event) {
1423
+ this.placeService.onActivate($event);
1424
+ }
1425
+ /**
1426
+ * @param {?} $event
1427
+ * @return {?}
1428
+ */
1429
+ onDeactivate($event) {
1430
+ this.placeService.onDeactivate($event);
1431
+ }
1432
+ }
1433
+ PlaceOutletComponent.decorators = [
1434
+ { type: Component, args: [{
1435
+ selector: 'angular-ui-powerups-place-outlet',
1436
+ template: "<router-outlet (activate)=\"onActivate($event)\" (deactivate)=\"onDeactivate($event)\"></router-outlet>\n",
1437
+ styles: [":host{grid-area:main;display:-ms-grid;display:grid;-ms-grid-rows:0 1fr;grid-template-rows:0 1fr;min-height:0}"]
1438
+ }] }
1439
+ ];
1440
+ /** @nocollapse */
1441
+ PlaceOutletComponent.ctorParameters = () => [
1442
+ { type: PlaceService }
1443
+ ];
1444
+ if (false) {
1445
+ /**
1446
+ * @type {?}
1447
+ * @private
1448
+ */
1449
+ PlaceOutletComponent.prototype.placeService;
1450
+ }
1451
+
1452
+ /**
1453
+ * @fileoverview added by tsickle
1454
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1455
+ */
1456
+ class PlaceModule {
1457
+ }
1458
+ PlaceModule.decorators = [
1459
+ { type: NgModule, args: [{
1460
+ imports: [
1461
+ CommonModule,
1462
+ MatProgressSpinnerModule,
1463
+ RouterModule
1464
+ ],
1465
+ declarations: [
1466
+ EmptyStateComponent,
1467
+ BusyOverlayComponent,
1468
+ PlaceOutletComponent
1469
+ ],
1470
+ entryComponents: [BusyOverlayComponent],
1471
+ exports: [
1472
+ BusyOverlayComponent,
1473
+ PlaceOutletComponent,
1474
+ EmptyStateComponent
1475
+ ],
1476
+ providers: [
1477
+ PlaceService
1478
+ ]
1479
+ },] }
1480
+ ];
1481
+
1482
+ /**
1483
+ * @fileoverview added by tsickle
1484
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1485
+ */
1486
+ class AngularUiPowerupsModule {
1487
+ }
1488
+ AngularUiPowerupsModule.decorators = [
1489
+ { type: NgModule, args: [{
1490
+ declarations: [
1491
+ CommandDirective,
1492
+ FocusBindingDirective,
1493
+ NumberInputComponent,
1494
+ StringInputComponent,
1495
+ PasswordInputComponent,
1496
+ SelectInputComponent,
1497
+ ],
1498
+ imports: [
1499
+ CommonModule,
1500
+ BrowserModule,
1501
+ BrowserAnimationsModule,
1502
+ FormsModule,
1503
+ MatInputModule,
1504
+ MatFormFieldModule,
1505
+ MatSelectModule
1506
+ ],
1507
+ exports: [
1508
+ CommandDirective,
1509
+ FocusBindingDirective,
1510
+ NumberInputComponent,
1511
+ StringInputComponent,
1512
+ PasswordInputComponent,
1513
+ SelectInputComponent,
1514
+ InteractionModule,
1515
+ PlaceModule,
1516
+ ]
1517
+ },] }
1518
+ ];
1519
+
1520
+ /**
1521
+ * @fileoverview added by tsickle
1522
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1523
+ */
1524
+ class Dimension {
1525
+ /**
1526
+ * @param {?} width
1527
+ * @param {?} height
1528
+ */
1529
+ constructor(width, height) {
1530
+ this.width = width;
1531
+ this.height = height;
1532
+ }
1533
+ }
1534
+ if (false) {
1535
+ /** @type {?} */
1536
+ Dimension.prototype.width;
1537
+ /** @type {?} */
1538
+ Dimension.prototype.height;
1539
+ }
1540
+
1541
+ /**
1542
+ * @fileoverview added by tsickle
1543
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1544
+ */
1545
+ class Point {
1546
+ /**
1547
+ * @param {?} x
1548
+ * @param {?} y
1549
+ */
1550
+ constructor(x, y) {
1551
+ this.x = x;
1552
+ this.y = y;
1553
+ }
1554
+ /**
1555
+ * @param {?} data
1556
+ * @return {?}
1557
+ */
1558
+ static from(data) {
1559
+ return new Point(data.x, data.y);
1560
+ }
1561
+ /**
1562
+ * @param {?} x
1563
+ * @param {?} y
1564
+ * @return {?}
1565
+ */
1566
+ translate(x, y) {
1567
+ return new Point(this.x + x, this.y + y);
1568
+ }
1569
+ }
1570
+ if (false) {
1571
+ /** @type {?} */
1572
+ Point.prototype.x;
1573
+ /** @type {?} */
1574
+ Point.prototype.y;
1575
+ }
1576
+
1577
+ /**
1578
+ * @fileoverview added by tsickle
1579
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1580
+ */
1581
+ class Bounds extends Dimension {
1582
+ /**
1583
+ * @param {?} top
1584
+ * @param {?} left
1585
+ * @param {?} width
1586
+ * @param {?} height
1587
+ */
1588
+ constructor(top, left, width, height) {
1589
+ super(width, height);
1590
+ this.top = top;
1591
+ this.left = left;
1592
+ this.width = width;
1593
+ this.height = height;
1594
+ }
1595
+ /**
1596
+ * @param {?} point
1597
+ * @return {?}
1598
+ */
1599
+ relativePositionOf(point) {
1600
+ if (point instanceof MouseEvent) {
1601
+ return new Point(point.clientX - this.left, point.clientY - this.top);
1602
+ }
1603
+ else {
1604
+ return new Point(point.x - this.left, point.y - this.top);
1605
+ }
1606
+ }
1607
+ }
1608
+ if (false) {
1609
+ /** @type {?} */
1610
+ Bounds.prototype.top;
1611
+ /** @type {?} */
1612
+ Bounds.prototype.left;
1613
+ /** @type {?} */
1614
+ Bounds.prototype.width;
1615
+ /** @type {?} */
1616
+ Bounds.prototype.height;
1617
+ }
1618
+ (function (Bounds) {
1619
+ /**
1620
+ * @param {?} element
1621
+ * @return {?}
1622
+ */
1623
+ function ofElement(element) {
1624
+ /** @type {?} */
1625
+ const rect = element.getBoundingClientRect();
1626
+ return new Bounds(rect.top, rect.left, rect.width, rect.height);
1627
+ }
1628
+ Bounds.ofElement = ofElement;
1629
+ })(Bounds || (Bounds = {}));
1630
+
1631
+ /**
1632
+ * @fileoverview added by tsickle
1633
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1634
+ */
1635
+ class ResizeAwareComponent extends DisposableComponent {
1636
+ /**
1637
+ * @param {?} elementRef
1638
+ * @param {?} ngZone
1639
+ */
1640
+ constructor(elementRef, ngZone) {
1641
+ super();
1642
+ this.elementRef = elementRef;
1643
+ this.ngZone = ngZone;
1644
+ this._boundsModel = new ValueHolder(new Bounds(0, 0, 0, 0));
1645
+ }
1646
+ /**
1647
+ * @return {?}
1648
+ */
1649
+ ngAfterViewInit() {
1650
+ this.updateBounds();
1651
+ /** @type {?} */
1652
+ const element = this.elementRef.nativeElement;
1653
+ /** @type {?} */
1654
+ const ro = new ResizeObserver((/**
1655
+ * @param {?} entries
1656
+ * @param {?} observer
1657
+ * @return {?}
1658
+ */
1659
+ (entries, observer) => {
1660
+ this.ngZone.run((/**
1661
+ * @return {?}
1662
+ */
1663
+ () => this.updateBounds()));
1664
+ }));
1665
+ ro.observe(element);
1666
+ this.onDispose((/**
1667
+ * @return {?}
1668
+ */
1669
+ () => ro.disconnect()));
1670
+ }
1671
+ /**
1672
+ * @return {?}
1673
+ */
1674
+ get boundsModel() {
1675
+ return this._boundsModel.readonly;
1676
+ }
1677
+ /**
1678
+ * @return {?}
1679
+ */
1680
+ get nativeElement() {
1681
+ return this.elementRef.nativeElement;
1682
+ }
1683
+ // TODO: Make this handle body scroll
1684
+ /**
1685
+ * @param {?} point
1686
+ * @return {?}
1687
+ */
1688
+ relativePositionOf(point) {
1689
+ return this.bounds.relativePositionOf(point);
1690
+ }
1691
+ /**
1692
+ * @return {?}
1693
+ */
1694
+ get bounds() {
1695
+ return this._boundsModel.value;
1696
+ }
1697
+ /**
1698
+ * @private
1699
+ * @return {?}
1700
+ */
1701
+ updateBounds() {
1702
+ this._boundsModel.value = Bounds.ofElement(this.nativeElement);
1703
+ }
1704
+ }
1705
+ if (false) {
1706
+ /**
1707
+ * @type {?}
1708
+ * @private
1709
+ */
1710
+ ResizeAwareComponent.prototype._boundsModel;
1711
+ /**
1712
+ * @type {?}
1713
+ * @protected
1714
+ */
1715
+ ResizeAwareComponent.prototype.elementRef;
1716
+ /**
1717
+ * @type {?}
1718
+ * @protected
1719
+ */
1720
+ ResizeAwareComponent.prototype.ngZone;
1721
+ }
1722
+
1723
+ /**
1724
+ * @fileoverview added by tsickle
1725
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1726
+ */
1727
+
1728
+ /**
1729
+ * @fileoverview added by tsickle
1730
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1731
+ */
1732
+
1733
+ /**
1734
+ * @fileoverview added by tsickle
1735
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1736
+ */
1737
+ /**
1738
+ * @record
1739
+ */
1740
+ function Alert() { }
1741
+ if (false) {
1742
+ /**
1743
+ * @return {?}
1744
+ */
1745
+ Alert.prototype.title = function () { };
1746
+ /**
1747
+ * @return {?}
1748
+ */
1749
+ Alert.prototype.content = function () { };
1750
+ /**
1751
+ * @return {?}
1752
+ */
1753
+ Alert.prototype.ok = function () { };
1754
+ }
1755
+
1756
+ /**
1757
+ * @fileoverview added by tsickle
1758
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1759
+ */
1760
+ /**
1761
+ * @record
1762
+ */
1763
+ function Confirm() { }
1764
+ if (false) {
1765
+ /** @type {?|undefined} */
1766
+ Confirm.prototype.destructive;
1767
+ /**
1768
+ * @return {?}
1769
+ */
1770
+ Confirm.prototype.cancel = function () { };
1771
+ }
1772
+
1773
+ /**
1774
+ * @fileoverview added by tsickle
1775
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1776
+ */
1777
+ /**
1778
+ * @record
1779
+ * @template R, E
1780
+ */
1781
+ function Result() { }
1782
+ (function (Result) {
1783
+ /**
1784
+ * @record
1785
+ * @template R, E
1786
+ */
1787
+ function Callback() { }
1788
+ Result.Callback = Callback;
1789
+ if (false) {
1790
+ /** @type {?} */
1791
+ Callback.prototype.then;
1792
+ /** @type {?} */
1793
+ Callback.prototype.catch;
1794
+ }
1795
+ })(Result || (Result = {}));
1796
+
1797
+ /**
1798
+ * @fileoverview added by tsickle
1799
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1800
+ */
1801
+ /**
1802
+ * @record
1803
+ * @template D, R, E
1804
+ */
1805
+ function ActivityOutletContext() { }
1806
+ if (false) {
1807
+ /** @type {?} */
1808
+ ActivityOutletContext.prototype.interactionContext;
1809
+ /** @type {?} */
1810
+ ActivityOutletContext.prototype.activityClass;
1811
+ /** @type {?} */
1812
+ ActivityOutletContext.prototype.activityData;
1813
+ /** @type {?} */
1814
+ ActivityOutletContext.prototype.onDone;
1815
+ /** @type {?} */
1816
+ ActivityOutletContext.prototype.onCancel;
1817
+ }
1818
+
1819
+ /**
1820
+ * @fileoverview added by tsickle
1821
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1822
+ */
1823
+
1824
+ /**
1825
+ * @fileoverview added by tsickle
1826
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1827
+ */
1828
+ /**
1829
+ * @param {?} options
1830
+ * @return {?}
1831
+ */
1832
+ function Place(options) {
1833
+ return (/**
1834
+ * @param {?} target
1835
+ * @return {?}
1836
+ */
1837
+ (target) => {
1838
+ Reflect.defineMetadata('place.options', options, target);
1839
+ });
1840
+ }
1841
+ (function (Place) {
1842
+ /**
1843
+ * @record
1844
+ */
1845
+ function Options() { }
1846
+ Place.Options = Options;
1847
+ if (false) {
1848
+ /** @type {?} */
1849
+ Options.prototype.path;
1850
+ /** @type {?} */
1851
+ Options.prototype.title;
1852
+ /** @type {?|undefined} */
1853
+ Options.prototype.authenticate;
1854
+ }
1855
+ class Descriptor {
1856
+ /**
1857
+ * @param {?} placeClass
1858
+ * @param {?} options
1859
+ */
1860
+ constructor(placeClass, options) {
1861
+ assert.notNil(options);
1862
+ this.path = options.path;
1863
+ this.title = options.title;
1864
+ this.authenticate = isNil(options.authenticate) || options.authenticate;
1865
+ }
1866
+ }
1867
+ Place.Descriptor = Descriptor;
1868
+ if (false) {
1869
+ /** @type {?} */
1870
+ Descriptor.prototype.path;
1871
+ /** @type {?} */
1872
+ Descriptor.prototype.authenticate;
1873
+ /** @type {?} */
1874
+ Descriptor.prototype.title;
1875
+ }
1876
+ /**
1877
+ * @param {?} klass
1878
+ * @return {?}
1879
+ */
1880
+ function getDescriptor(klass) {
1881
+ /** @type {?} */
1882
+ const placeOptions = Reflect.getMetadata('place.options', klass);
1883
+ return new Descriptor(klass, placeOptions);
1884
+ }
1885
+ Place.getDescriptor = getDescriptor;
1886
+ })(Place || (Place = {}));
1887
+
1888
+ /**
1889
+ * @fileoverview added by tsickle
1890
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1891
+ */
1892
+ /**
1893
+ * @record
1894
+ * @template T
1895
+ */
1896
+ function ResolvedParameter() { }
1897
+ if (false) {
1898
+ /** @type {?} */
1899
+ ResolvedParameter.prototype.parameter;
1900
+ /** @type {?} */
1901
+ ResolvedParameter.prototype.resolvedValue;
1902
+ }
1903
+ class ResolvedParameters {
1904
+ /**
1905
+ * @param {?} parameters
1906
+ */
1907
+ constructor(parameters) {
1908
+ this.parameters = parameters;
1909
+ }
1910
+ /**
1911
+ * @template T
1912
+ * @param {?} parameter
1913
+ * @return {?}
1914
+ */
1915
+ get(parameter) {
1916
+ /** @type {?} */
1917
+ const resolved = this.parameters.find((/**
1918
+ * @param {?} p
1919
+ * @return {?}
1920
+ */
1921
+ p => p.parameter === parameter));
1922
+ return resolved ? resolved.resolvedValue : null;
1923
+ }
1924
+ /**
1925
+ * @template T
1926
+ * @param {?} parameter
1927
+ * @param {?} value
1928
+ * @return {?}
1929
+ */
1930
+ replace(parameter, value) {
1931
+ return new ResolvedParameters(this.parameters.filter((/**
1932
+ * @param {?} p
1933
+ * @return {?}
1934
+ */
1935
+ p => p.parameter !== parameter)).concat({
1936
+ parameter,
1937
+ resolvedValue: value
1938
+ }));
1939
+ }
1940
+ /**
1941
+ * @protected
1735
1942
  * @return {?}
1736
1943
  */
1737
1944
  getFormattedRouteId() {
@@ -2026,211 +2233,6 @@ if (false) {
2026
2233
  PlaceComponent.prototype.canDeactivate = function () { };
2027
2234
  }
2028
2235
 
2029
- /**
2030
- * @fileoverview added by tsickle
2031
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2032
- */
2033
- class BusyOverlayComponent {
2034
- constructor() {
2035
- }
2036
- /**
2037
- * @return {?}
2038
- */
2039
- ngOnInit() {
2040
- }
2041
- }
2042
- BusyOverlayComponent.decorators = [
2043
- { type: Component, args: [{
2044
- selector: 'aup-busy-overlay',
2045
- template: "<ng-content></ng-content>\n<div class=\"busy-overlay-backdrop\" *ngIf=\"busyModel.value\">\n <mat-progress-spinner mode=\"indeterminate\" [diameter]=\"52\"></mat-progress-spinner>\n</div>\n",
2046
- styles: [":host{position:relative}div.busy-overlay-backdrop{position:absolute;background-color:rgba(0,0,0,.2);top:0;left:0;bottom:0;right:0;display:-ms-grid;display:grid;-ms-grid-columns:auto;grid-template-columns:auto;-ms-grid-rows:auto;grid-template-rows:auto;place-content:center}"]
2047
- }] }
2048
- ];
2049
- /** @nocollapse */
2050
- BusyOverlayComponent.ctorParameters = () => [];
2051
- BusyOverlayComponent.propDecorators = {
2052
- busyModel: [{ type: Input }],
2053
- busy: [{ type: Input }]
2054
- };
2055
- __decorate([
2056
- UseDelegatingValueModel(),
2057
- __metadata("design:type", ValueModel)
2058
- ], BusyOverlayComponent.prototype, "busyModel", void 0);
2059
- __decorate([
2060
- StoreInValueModel('busyModel'),
2061
- __metadata("design:type", Boolean)
2062
- ], BusyOverlayComponent.prototype, "busy", void 0);
2063
- if (false) {
2064
- /** @type {?} */
2065
- BusyOverlayComponent.prototype.busyModel;
2066
- /** @type {?} */
2067
- BusyOverlayComponent.prototype.busy;
2068
- }
2069
-
2070
- /**
2071
- * @fileoverview added by tsickle
2072
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2073
- */
2074
- class EmptyStateComponent {
2075
- constructor() {
2076
- }
2077
- /**
2078
- * @return {?}
2079
- */
2080
- ngOnInit() {
2081
- }
2082
- }
2083
- EmptyStateComponent.decorators = [
2084
- { type: Component, args: [{
2085
- selector: 'angular-ui-powerups-empty-state',
2086
- template: `
2087
- <div class="container">
2088
- <ng-content></ng-content>
2089
- </div>
2090
- `,
2091
- styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center}.container{padding:var(--default-padding);border:2px dashed rgba(0,0,0,.2);border-radius:5px;font-size:14px;font-weight:300}"]
2092
- }] }
2093
- ];
2094
- /** @nocollapse */
2095
- EmptyStateComponent.ctorParameters = () => [];
2096
-
2097
- /**
2098
- * @fileoverview added by tsickle
2099
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2100
- */
2101
- class PlaceService {
2102
- constructor() {
2103
- this._activePlaces = new MutableListModel();
2104
- }
2105
- /**
2106
- * @return {?}
2107
- */
2108
- get activePlaces() {
2109
- return this._activePlaces.readonly;
2110
- }
2111
- /**
2112
- * @param {?} place
2113
- * @return {?}
2114
- */
2115
- onActivate(place) {
2116
- this._activePlaces.push(place);
2117
- }
2118
- /**
2119
- * @param {?} place
2120
- * @return {?}
2121
- */
2122
- onDeactivate(place) {
2123
- this._activePlaces.remove(place);
2124
- }
2125
- }
2126
- PlaceService.decorators = [
2127
- { type: Injectable, args: [{
2128
- providedIn: 'root'
2129
- },] }
2130
- ];
2131
- /** @nocollapse */
2132
- PlaceService.ctorParameters = () => [];
2133
- /** @nocollapse */ PlaceService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PlaceService_Factory() { return new PlaceService(); }, token: PlaceService, providedIn: "root" });
2134
- __decorate([
2135
- Trace(),
2136
- __metadata("design:type", Function),
2137
- __metadata("design:paramtypes", [Object]),
2138
- __metadata("design:returntype", void 0)
2139
- ], PlaceService.prototype, "onActivate", null);
2140
- __decorate([
2141
- Trace(),
2142
- __metadata("design:type", Function),
2143
- __metadata("design:paramtypes", [Object]),
2144
- __metadata("design:returntype", void 0)
2145
- ], PlaceService.prototype, "onDeactivate", null);
2146
- if (false) {
2147
- /**
2148
- * @type {?}
2149
- * @private
2150
- */
2151
- PlaceService.prototype._activePlaces;
2152
- }
2153
-
2154
- /**
2155
- * @fileoverview added by tsickle
2156
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2157
- */
2158
- class PlaceOutletComponent {
2159
- /**
2160
- * @param {?} placeService
2161
- */
2162
- constructor(placeService) {
2163
- this.placeService = placeService;
2164
- }
2165
- /**
2166
- * @return {?}
2167
- */
2168
- ngOnInit() {
2169
- }
2170
- /**
2171
- * @param {?} $event
2172
- * @return {?}
2173
- */
2174
- onActivate($event) {
2175
- this.placeService.onActivate($event);
2176
- }
2177
- /**
2178
- * @param {?} $event
2179
- * @return {?}
2180
- */
2181
- onDeactivate($event) {
2182
- this.placeService.onDeactivate($event);
2183
- }
2184
- }
2185
- PlaceOutletComponent.decorators = [
2186
- { type: Component, args: [{
2187
- selector: 'angular-ui-powerups-place-outlet',
2188
- template: "<router-outlet (activate)=\"onActivate($event)\" (deactivate)=\"onDeactivate($event)\"></router-outlet>\n",
2189
- styles: [":host{grid-area:main;display:-ms-grid;display:grid;-ms-grid-rows:0 1fr;grid-template-rows:0 1fr;min-height:0}"]
2190
- }] }
2191
- ];
2192
- /** @nocollapse */
2193
- PlaceOutletComponent.ctorParameters = () => [
2194
- { type: PlaceService }
2195
- ];
2196
- if (false) {
2197
- /**
2198
- * @type {?}
2199
- * @private
2200
- */
2201
- PlaceOutletComponent.prototype.placeService;
2202
- }
2203
-
2204
- /**
2205
- * @fileoverview added by tsickle
2206
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2207
- */
2208
- class PlaceModule {
2209
- }
2210
- PlaceModule.decorators = [
2211
- { type: NgModule, args: [{
2212
- imports: [
2213
- CommonModule,
2214
- MatProgressSpinnerModule,
2215
- RouterModule
2216
- ],
2217
- declarations: [
2218
- EmptyStateComponent,
2219
- BusyOverlayComponent,
2220
- PlaceOutletComponent
2221
- ],
2222
- entryComponents: [BusyOverlayComponent],
2223
- exports: [
2224
- BusyOverlayComponent,
2225
- PlaceOutletComponent,
2226
- EmptyStateComponent
2227
- ],
2228
- providers: [
2229
- PlaceService
2230
- ]
2231
- },] }
2232
- ];
2233
-
2234
2236
  /**
2235
2237
  * @fileoverview added by tsickle
2236
2238
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -2683,5 +2685,5 @@ var ParameterType;
2683
2685
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2684
2686
  */
2685
2687
 
2686
- export { ACTIVITY_DATA, AbstractActivity, AbstractInputComponent, AbstractPlaceComponent, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CommandDirective, ConfirmationDialogComponent, DialogInteractionService, Dimension, DisposableComponent, EmptyStateComponent, FocusBindingDirective, INTERACTION_CONTEXT, InteractionContext, InteractionModule, LeavePlaceGuard, NumberInputComponent, ParameterType, PasswordInputComponent, Place, PlaceModule, PlaceOutletComponent, PlaceRouteGuard, PlaceService, Point, QueryParameter, ResizeAwareComponent, RouteId, RouteParameterBindings, RouteParameterSanitiser, SelectInputComponent, StringInputComponent, CommandDirective as ɵa, FocusBindingDirective as ɵb, DisposableComponent as ɵc, NumberInputComponent as ɵd, AbstractInputComponent as ɵe, StringInputComponent as ɵf, PasswordInputComponent as ɵg, SelectInputComponent as ɵh };
2688
+ export { ACTIVITY_DATA, AbstractActivity, AbstractInputComponent, AbstractPlaceComponent, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CommandDirective, ConfirmationDialogComponent, DialogInteractionService, Dimension, DisposableComponent, EmptyStateComponent, FocusBindingDirective, INTERACTION_CONTEXT, InteractionContext, InteractionModule, LeavePlaceGuard, NumberInputComponent, ParameterType, PasswordInputComponent, Place, PlaceModule, PlaceOutletComponent, PlaceRouteGuard, PlaceService, Point, QueryParameter, ResizeAwareComponent, RouteId, RouteParameterBindings, RouteParameterSanitiser, SelectInputComponent, StringInputComponent, CommandDirective as ɵa, FocusBindingDirective as ɵb, DisposableComponent as ɵc, NumberInputComponent as ɵd, AbstractInputComponent as ɵe, StringInputComponent as ɵf, PasswordInputComponent as ɵg, SelectInputComponent as ɵh, InteractionModule as ɵi, ActivityContainerComponent as ɵj, ConfirmationDialogComponent as ɵk, AbstractActivity as ɵl, ACTIVITY_DATA as ɵm, AlertDialogComponent as ɵo, ActivityOutletComponent as ɵq, DialogInteractionService as ɵr, InteractionContext as ɵs, PlaceModule as ɵt, EmptyStateComponent as ɵu, BusyOverlayComponent as ɵv, PlaceOutletComponent as ɵw, PlaceService as ɵx };
2687
2689
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map