@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 { __extends, __decorate, __metadata, __assign, __awaiter, __generator, __values } 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
 
@@ -711,374 +711,132 @@ if (false) {
711
711
  * @fileoverview added by tsickle
712
712
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
713
713
  */
714
- var AngularUiPowerupsModule = /** @class */ (function () {
715
- function AngularUiPowerupsModule() {
716
- }
717
- AngularUiPowerupsModule.decorators = [
718
- { type: NgModule, args: [{
719
- declarations: [
720
- CommandDirective,
721
- FocusBindingDirective,
722
- NumberInputComponent,
723
- StringInputComponent,
724
- PasswordInputComponent,
725
- SelectInputComponent,
726
- ],
727
- imports: [
728
- CommonModule,
729
- BrowserModule,
730
- BrowserAnimationsModule,
731
- FormsModule,
732
- MatInputModule,
733
- MatFormFieldModule,
734
- MatSelectModule
735
- ],
736
- exports: [
737
- CommandDirective,
738
- FocusBindingDirective,
739
- NumberInputComponent,
740
- StringInputComponent,
741
- PasswordInputComponent,
742
- SelectInputComponent,
743
- ]
744
- },] }
745
- ];
746
- return AngularUiPowerupsModule;
747
- }());
748
-
714
+ /** @type {?} */
715
+ var INTERACTION_CONTEXT = new InjectionToken('InteractionContext');
749
716
  /**
750
- * @fileoverview added by tsickle
751
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
717
+ * @abstract
752
718
  */
753
- var Dimension = /** @class */ (function () {
754
- function Dimension(width, height) {
755
- this.width = width;
756
- this.height = height;
719
+ var /**
720
+ * @abstract
721
+ */
722
+ InteractionContext = /** @class */ (function () {
723
+ function InteractionContext() {
757
724
  }
758
- return Dimension;
725
+ return InteractionContext;
759
726
  }());
760
727
  if (false) {
761
- /** @type {?} */
762
- Dimension.prototype.width;
763
- /** @type {?} */
764
- Dimension.prototype.height;
765
- }
766
-
767
- /**
768
- * @fileoverview added by tsickle
769
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
770
- */
771
- var Point = /** @class */ (function () {
772
- function Point(x, y) {
773
- this.x = x;
774
- this.y = y;
775
- }
776
728
  /**
777
- * @param {?} data
778
- * @return {?}
779
- */
780
- Point.from = /**
781
- * @param {?} data
729
+ * @abstract
730
+ * @template D, R, E
731
+ * @param {?} activityType
732
+ * @param {?=} data
782
733
  * @return {?}
783
734
  */
784
- function (data) {
785
- return new Point(data.x, data.y);
786
- };
735
+ InteractionContext.prototype.startActivity = function (activityType, data) { };
787
736
  /**
788
- * @param {?} x
789
- * @param {?} y
737
+ * @abstract
738
+ * @param {?} confirm
790
739
  * @return {?}
791
740
  */
792
- Point.prototype.translate = /**
793
- * @param {?} x
794
- * @param {?} y
741
+ InteractionContext.prototype.confirm = function (confirm) { };
742
+ /**
743
+ * @abstract
744
+ * @param {?} alert
795
745
  * @return {?}
796
746
  */
797
- function (x, y) {
798
- return new Point(this.x + x, this.y + y);
799
- };
800
- return Point;
801
- }());
802
- if (false) {
803
- /** @type {?} */
804
- Point.prototype.x;
805
- /** @type {?} */
806
- Point.prototype.y;
747
+ InteractionContext.prototype.alert = function (alert) { };
807
748
  }
808
749
 
809
750
  /**
810
751
  * @fileoverview added by tsickle
811
752
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
812
753
  */
813
- var Bounds = /** @class */ (function (_super) {
814
- __extends(Bounds, _super);
815
- function Bounds(top, left, width, height) {
816
- var _this = _super.call(this, width, height) || this;
817
- _this.top = top;
818
- _this.left = left;
819
- _this.width = width;
820
- _this.height = height;
754
+ /**
755
+ * @template D, R, E
756
+ */
757
+ var /**
758
+ * @template D, R, E
759
+ */
760
+ AbstractActivity = /** @class */ (function (_super) {
761
+ __extends(AbstractActivity, _super);
762
+ function AbstractActivity() {
763
+ var _this = _super !== null && _super.apply(this, arguments) || this;
764
+ _this._doneListeners = new EventListenerList();
765
+ _this._cancelListeners = new EventListenerList();
766
+ _this._finishListeners = new EventListenerList();
767
+ _this._busyModel = new DelegatingValueModel().withDefault(false);
821
768
  return _this;
822
769
  }
823
770
  /**
824
- * @param {?} point
771
+ * @param {?} callback
825
772
  * @return {?}
826
773
  */
827
- Bounds.prototype.relativePositionOf = /**
828
- * @param {?} point
774
+ AbstractActivity.prototype.onDone = /**
775
+ * @param {?} callback
829
776
  * @return {?}
830
777
  */
831
- function (point) {
832
- if (point instanceof MouseEvent) {
833
- return new Point(point.clientX - this.left, point.clientY - this.top);
834
- }
835
- else {
836
- return new Point(point.x - this.left, point.y - this.top);
837
- }
778
+ function (callback) {
779
+ this._doneListeners.add(callback);
838
780
  };
839
- return Bounds;
840
- }(Dimension));
841
- if (false) {
842
- /** @type {?} */
843
- Bounds.prototype.top;
844
- /** @type {?} */
845
- Bounds.prototype.left;
846
- /** @type {?} */
847
- Bounds.prototype.width;
848
- /** @type {?} */
849
- Bounds.prototype.height;
850
- }
851
- (function (Bounds) {
852
781
  /**
853
- * @param {?} element
782
+ * @param {?} callback
854
783
  * @return {?}
855
784
  */
856
- function ofElement(element) {
857
- /** @type {?} */
858
- var rect = element.getBoundingClientRect();
859
- return new Bounds(rect.top, rect.left, rect.width, rect.height);
860
- }
861
- Bounds.ofElement = ofElement;
862
- })(Bounds || (Bounds = {}));
863
-
864
- /**
865
- * @fileoverview added by tsickle
866
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
867
- */
868
- var ResizeAwareComponent = /** @class */ (function (_super) {
869
- __extends(ResizeAwareComponent, _super);
870
- function ResizeAwareComponent(elementRef, ngZone) {
871
- var _this = _super.call(this) || this;
872
- _this.elementRef = elementRef;
873
- _this.ngZone = ngZone;
874
- _this._boundsModel = new ValueHolder(new Bounds(0, 0, 0, 0));
875
- return _this;
876
- }
785
+ AbstractActivity.prototype.onCancel = /**
786
+ * @param {?} callback
787
+ * @return {?}
788
+ */
789
+ function (callback) {
790
+ this._cancelListeners.add(callback);
791
+ };
877
792
  /**
793
+ * @param {?=} result
878
794
  * @return {?}
879
795
  */
880
- ResizeAwareComponent.prototype.ngAfterViewInit = /**
796
+ AbstractActivity.prototype.done = /**
797
+ * @param {?=} result
881
798
  * @return {?}
882
799
  */
883
- function () {
800
+ function (result) {
884
801
  var _this = this;
885
- this.updateBounds();
886
- /** @type {?} */
887
- var element = this.elementRef.nativeElement;
888
- /** @type {?} */
889
- var ro = new ResizeObserver((/**
890
- * @param {?} entries
891
- * @param {?} observer
802
+ return this._doneListeners
803
+ .fireAndWait((/**
804
+ * @param {?} l
892
805
  * @return {?}
893
806
  */
894
- function (entries, observer) {
895
- _this.ngZone.run((/**
896
- * @return {?}
897
- */
898
- function () { return _this.updateBounds(); }));
899
- }));
900
- ro.observe(element);
901
- this.onDispose((/**
807
+ function (l) { return l(result); }))
808
+ .finally((/**
902
809
  * @return {?}
903
810
  */
904
- function () { return ro.disconnect(); }));
811
+ function () { return _this.finalizeAndDispose(); }));
905
812
  };
906
- Object.defineProperty(ResizeAwareComponent.prototype, "boundsModel", {
907
- get: /**
813
+ /**
814
+ * @param {?=} error
815
+ * @return {?}
816
+ */
817
+ AbstractActivity.prototype.cancel = /**
818
+ * @param {?=} error
819
+ * @return {?}
820
+ */
821
+ function (error) {
822
+ var _this = this;
823
+ return this._cancelListeners
824
+ .fireAndWait((/**
825
+ * @param {?} l
908
826
  * @return {?}
909
827
  */
910
- function () {
911
- return this._boundsModel.readonly;
912
- },
913
- enumerable: true,
914
- configurable: true
915
- });
916
- Object.defineProperty(ResizeAwareComponent.prototype, "nativeElement", {
917
- get: /**
828
+ function (l) { return l(error); }))
829
+ .finally((/**
918
830
  * @return {?}
919
831
  */
920
- function () {
921
- return this.elementRef.nativeElement;
922
- },
923
- enumerable: true,
924
- configurable: true
925
- });
926
- // TODO: Make this handle body scroll
927
- // TODO: Make this handle body scroll
832
+ function () { return _this.finalizeAndDispose(); }));
833
+ };
928
834
  /**
929
- * @param {?} point
835
+ * @private
930
836
  * @return {?}
931
837
  */
932
- ResizeAwareComponent.prototype.relativePositionOf =
933
- // TODO: Make this handle body scroll
934
- /**
935
- * @param {?} point
936
- * @return {?}
937
- */
938
- function (point) {
939
- return this.bounds.relativePositionOf(point);
940
- };
941
- Object.defineProperty(ResizeAwareComponent.prototype, "bounds", {
942
- get: /**
943
- * @return {?}
944
- */
945
- function () {
946
- return this._boundsModel.value;
947
- },
948
- enumerable: true,
949
- configurable: true
950
- });
951
- /**
952
- * @private
953
- * @return {?}
954
- */
955
- ResizeAwareComponent.prototype.updateBounds = /**
956
- * @private
957
- * @return {?}
958
- */
959
- function () {
960
- this._boundsModel.value = Bounds.ofElement(this.nativeElement);
961
- };
962
- return ResizeAwareComponent;
963
- }(DisposableComponent));
964
- if (false) {
965
- /**
966
- * @type {?}
967
- * @private
968
- */
969
- ResizeAwareComponent.prototype._boundsModel;
970
- /**
971
- * @type {?}
972
- * @protected
973
- */
974
- ResizeAwareComponent.prototype.elementRef;
975
- /**
976
- * @type {?}
977
- * @protected
978
- */
979
- ResizeAwareComponent.prototype.ngZone;
980
- }
981
-
982
- /**
983
- * @fileoverview added by tsickle
984
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
985
- */
986
-
987
- /**
988
- * @fileoverview added by tsickle
989
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
990
- */
991
-
992
- /**
993
- * @fileoverview added by tsickle
994
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
995
- */
996
- /**
997
- * @template D, R, E
998
- */
999
- var /**
1000
- * @template D, R, E
1001
- */
1002
- AbstractActivity = /** @class */ (function (_super) {
1003
- __extends(AbstractActivity, _super);
1004
- function AbstractActivity() {
1005
- var _this = _super !== null && _super.apply(this, arguments) || this;
1006
- _this._doneListeners = new EventListenerList();
1007
- _this._cancelListeners = new EventListenerList();
1008
- _this._finishListeners = new EventListenerList();
1009
- _this._busyModel = new DelegatingValueModel().withDefault(false);
1010
- return _this;
1011
- }
1012
- /**
1013
- * @param {?} callback
1014
- * @return {?}
1015
- */
1016
- AbstractActivity.prototype.onDone = /**
1017
- * @param {?} callback
1018
- * @return {?}
1019
- */
1020
- function (callback) {
1021
- this._doneListeners.add(callback);
1022
- };
1023
- /**
1024
- * @param {?} callback
1025
- * @return {?}
1026
- */
1027
- AbstractActivity.prototype.onCancel = /**
1028
- * @param {?} callback
1029
- * @return {?}
1030
- */
1031
- function (callback) {
1032
- this._cancelListeners.add(callback);
1033
- };
1034
- /**
1035
- * @param {?=} result
1036
- * @return {?}
1037
- */
1038
- AbstractActivity.prototype.done = /**
1039
- * @param {?=} result
1040
- * @return {?}
1041
- */
1042
- function (result) {
1043
- var _this = this;
1044
- return this._doneListeners
1045
- .fireAndWait((/**
1046
- * @param {?} l
1047
- * @return {?}
1048
- */
1049
- function (l) { return l(result); }))
1050
- .finally((/**
1051
- * @return {?}
1052
- */
1053
- function () { return _this.finalizeAndDispose(); }));
1054
- };
1055
- /**
1056
- * @param {?=} error
1057
- * @return {?}
1058
- */
1059
- AbstractActivity.prototype.cancel = /**
1060
- * @param {?=} error
1061
- * @return {?}
1062
- */
1063
- function (error) {
1064
- var _this = this;
1065
- return this._cancelListeners
1066
- .fireAndWait((/**
1067
- * @param {?} l
1068
- * @return {?}
1069
- */
1070
- function (l) { return l(error); }))
1071
- .finally((/**
1072
- * @return {?}
1073
- */
1074
- function () { return _this.finalizeAndDispose(); }));
1075
- };
1076
- /**
1077
- * @private
1078
- * @return {?}
1079
- */
1080
- AbstractActivity.prototype.finalizeAndDispose = /**
1081
- * @private
838
+ AbstractActivity.prototype.finalizeAndDispose = /**
839
+ * @private
1082
840
  * @return {?}
1083
841
  */
1084
842
  function () {
@@ -1181,86 +939,6 @@ if (false) {
1181
939
  Activity.prototype.onCancel = function (callback) { };
1182
940
  }
1183
941
 
1184
- /**
1185
- * @fileoverview added by tsickle
1186
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1187
- */
1188
- /**
1189
- * @record
1190
- */
1191
- function Alert() { }
1192
- if (false) {
1193
- /**
1194
- * @return {?}
1195
- */
1196
- Alert.prototype.title = function () { };
1197
- /**
1198
- * @return {?}
1199
- */
1200
- Alert.prototype.content = function () { };
1201
- /**
1202
- * @return {?}
1203
- */
1204
- Alert.prototype.ok = function () { };
1205
- }
1206
-
1207
- /**
1208
- * @fileoverview added by tsickle
1209
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1210
- */
1211
- /**
1212
- * @record
1213
- */
1214
- function Confirm() { }
1215
- if (false) {
1216
- /** @type {?|undefined} */
1217
- Confirm.prototype.destructive;
1218
- /**
1219
- * @return {?}
1220
- */
1221
- Confirm.prototype.cancel = function () { };
1222
- }
1223
-
1224
- /**
1225
- * @fileoverview added by tsickle
1226
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1227
- */
1228
- /** @type {?} */
1229
- var INTERACTION_CONTEXT = new InjectionToken('InteractionContext');
1230
- /**
1231
- * @abstract
1232
- */
1233
- var /**
1234
- * @abstract
1235
- */
1236
- InteractionContext = /** @class */ (function () {
1237
- function InteractionContext() {
1238
- }
1239
- return InteractionContext;
1240
- }());
1241
- if (false) {
1242
- /**
1243
- * @abstract
1244
- * @template D, R, E
1245
- * @param {?} activityType
1246
- * @param {?=} data
1247
- * @return {?}
1248
- */
1249
- InteractionContext.prototype.startActivity = function (activityType, data) { };
1250
- /**
1251
- * @abstract
1252
- * @param {?} confirm
1253
- * @return {?}
1254
- */
1255
- InteractionContext.prototype.confirm = function (confirm) { };
1256
- /**
1257
- * @abstract
1258
- * @param {?} alert
1259
- * @return {?}
1260
- */
1261
- InteractionContext.prototype.alert = function (alert) { };
1262
- }
1263
-
1264
942
  /**
1265
943
  * @fileoverview added by tsickle
1266
944
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -1885,36 +1563,594 @@ var InteractionModule = /** @class */ (function () {
1885
1563
  * @fileoverview added by tsickle
1886
1564
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1887
1565
  */
1888
- /**
1889
- * @record
1890
- * @template R, E
1891
- */
1892
- function Result() { }
1893
- (function (Result) {
1566
+ var BusyOverlayComponent = /** @class */ (function () {
1567
+ function BusyOverlayComponent() {
1568
+ }
1894
1569
  /**
1895
- * @record
1896
- * @template R, E
1570
+ * @return {?}
1897
1571
  */
1898
- function Callback() { }
1899
- Result.Callback = Callback;
1900
- if (false) {
1901
- /** @type {?} */
1902
- Callback.prototype.then;
1903
- /** @type {?} */
1904
- Callback.prototype.catch;
1905
- }
1906
- })(Result || (Result = {}));
1907
-
1908
- /**
1909
- * @fileoverview added by tsickle
1910
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1911
- */
1912
- /**
1913
- * @record
1914
- * @template D, R, E
1915
- */
1916
- function ActivityOutletContext() { }
1917
- if (false) {
1572
+ BusyOverlayComponent.prototype.ngOnInit = /**
1573
+ * @return {?}
1574
+ */
1575
+ function () {
1576
+ };
1577
+ BusyOverlayComponent.decorators = [
1578
+ { type: Component, args: [{
1579
+ selector: 'aup-busy-overlay',
1580
+ 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",
1581
+ 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}"]
1582
+ }] }
1583
+ ];
1584
+ /** @nocollapse */
1585
+ BusyOverlayComponent.ctorParameters = function () { return []; };
1586
+ BusyOverlayComponent.propDecorators = {
1587
+ busyModel: [{ type: Input }],
1588
+ busy: [{ type: Input }]
1589
+ };
1590
+ __decorate([
1591
+ UseDelegatingValueModel(),
1592
+ __metadata("design:type", ValueModel)
1593
+ ], BusyOverlayComponent.prototype, "busyModel", void 0);
1594
+ __decorate([
1595
+ StoreInValueModel('busyModel'),
1596
+ __metadata("design:type", Boolean)
1597
+ ], BusyOverlayComponent.prototype, "busy", void 0);
1598
+ return BusyOverlayComponent;
1599
+ }());
1600
+ if (false) {
1601
+ /** @type {?} */
1602
+ BusyOverlayComponent.prototype.busyModel;
1603
+ /** @type {?} */
1604
+ BusyOverlayComponent.prototype.busy;
1605
+ }
1606
+
1607
+ /**
1608
+ * @fileoverview added by tsickle
1609
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1610
+ */
1611
+ var EmptyStateComponent = /** @class */ (function () {
1612
+ function EmptyStateComponent() {
1613
+ }
1614
+ /**
1615
+ * @return {?}
1616
+ */
1617
+ EmptyStateComponent.prototype.ngOnInit = /**
1618
+ * @return {?}
1619
+ */
1620
+ function () {
1621
+ };
1622
+ EmptyStateComponent.decorators = [
1623
+ { type: Component, args: [{
1624
+ selector: 'angular-ui-powerups-empty-state',
1625
+ template: "\n <div class=\"container\">\n <ng-content></ng-content>\n </div>\n ",
1626
+ 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}"]
1627
+ }] }
1628
+ ];
1629
+ /** @nocollapse */
1630
+ EmptyStateComponent.ctorParameters = function () { return []; };
1631
+ return EmptyStateComponent;
1632
+ }());
1633
+
1634
+ /**
1635
+ * @fileoverview added by tsickle
1636
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1637
+ */
1638
+ var PlaceService = /** @class */ (function () {
1639
+ function PlaceService() {
1640
+ this._activePlaces = new MutableListModel();
1641
+ }
1642
+ Object.defineProperty(PlaceService.prototype, "activePlaces", {
1643
+ get: /**
1644
+ * @return {?}
1645
+ */
1646
+ function () {
1647
+ return this._activePlaces.readonly;
1648
+ },
1649
+ enumerable: true,
1650
+ configurable: true
1651
+ });
1652
+ /**
1653
+ * @param {?} place
1654
+ * @return {?}
1655
+ */
1656
+ PlaceService.prototype.onActivate = /**
1657
+ * @param {?} place
1658
+ * @return {?}
1659
+ */
1660
+ function (place) {
1661
+ this._activePlaces.push(place);
1662
+ };
1663
+ /**
1664
+ * @param {?} place
1665
+ * @return {?}
1666
+ */
1667
+ PlaceService.prototype.onDeactivate = /**
1668
+ * @param {?} place
1669
+ * @return {?}
1670
+ */
1671
+ function (place) {
1672
+ this._activePlaces.remove(place);
1673
+ };
1674
+ PlaceService.decorators = [
1675
+ { type: Injectable, args: [{
1676
+ providedIn: 'root'
1677
+ },] }
1678
+ ];
1679
+ /** @nocollapse */
1680
+ PlaceService.ctorParameters = function () { return []; };
1681
+ /** @nocollapse */ PlaceService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PlaceService_Factory() { return new PlaceService(); }, token: PlaceService, providedIn: "root" });
1682
+ __decorate([
1683
+ Trace(),
1684
+ __metadata("design:type", Function),
1685
+ __metadata("design:paramtypes", [Object]),
1686
+ __metadata("design:returntype", void 0)
1687
+ ], PlaceService.prototype, "onActivate", null);
1688
+ __decorate([
1689
+ Trace(),
1690
+ __metadata("design:type", Function),
1691
+ __metadata("design:paramtypes", [Object]),
1692
+ __metadata("design:returntype", void 0)
1693
+ ], PlaceService.prototype, "onDeactivate", null);
1694
+ return PlaceService;
1695
+ }());
1696
+ if (false) {
1697
+ /**
1698
+ * @type {?}
1699
+ * @private
1700
+ */
1701
+ PlaceService.prototype._activePlaces;
1702
+ }
1703
+
1704
+ /**
1705
+ * @fileoverview added by tsickle
1706
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1707
+ */
1708
+ var PlaceOutletComponent = /** @class */ (function () {
1709
+ function PlaceOutletComponent(placeService) {
1710
+ this.placeService = placeService;
1711
+ }
1712
+ /**
1713
+ * @return {?}
1714
+ */
1715
+ PlaceOutletComponent.prototype.ngOnInit = /**
1716
+ * @return {?}
1717
+ */
1718
+ function () {
1719
+ };
1720
+ /**
1721
+ * @param {?} $event
1722
+ * @return {?}
1723
+ */
1724
+ PlaceOutletComponent.prototype.onActivate = /**
1725
+ * @param {?} $event
1726
+ * @return {?}
1727
+ */
1728
+ function ($event) {
1729
+ this.placeService.onActivate($event);
1730
+ };
1731
+ /**
1732
+ * @param {?} $event
1733
+ * @return {?}
1734
+ */
1735
+ PlaceOutletComponent.prototype.onDeactivate = /**
1736
+ * @param {?} $event
1737
+ * @return {?}
1738
+ */
1739
+ function ($event) {
1740
+ this.placeService.onDeactivate($event);
1741
+ };
1742
+ PlaceOutletComponent.decorators = [
1743
+ { type: Component, args: [{
1744
+ selector: 'angular-ui-powerups-place-outlet',
1745
+ template: "<router-outlet (activate)=\"onActivate($event)\" (deactivate)=\"onDeactivate($event)\"></router-outlet>\n",
1746
+ styles: [":host{grid-area:main;display:-ms-grid;display:grid;-ms-grid-rows:0 1fr;grid-template-rows:0 1fr;min-height:0}"]
1747
+ }] }
1748
+ ];
1749
+ /** @nocollapse */
1750
+ PlaceOutletComponent.ctorParameters = function () { return [
1751
+ { type: PlaceService }
1752
+ ]; };
1753
+ return PlaceOutletComponent;
1754
+ }());
1755
+ if (false) {
1756
+ /**
1757
+ * @type {?}
1758
+ * @private
1759
+ */
1760
+ PlaceOutletComponent.prototype.placeService;
1761
+ }
1762
+
1763
+ /**
1764
+ * @fileoverview added by tsickle
1765
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1766
+ */
1767
+ var PlaceModule = /** @class */ (function () {
1768
+ function PlaceModule() {
1769
+ }
1770
+ PlaceModule.decorators = [
1771
+ { type: NgModule, args: [{
1772
+ imports: [
1773
+ CommonModule,
1774
+ MatProgressSpinnerModule,
1775
+ RouterModule
1776
+ ],
1777
+ declarations: [
1778
+ EmptyStateComponent,
1779
+ BusyOverlayComponent,
1780
+ PlaceOutletComponent
1781
+ ],
1782
+ entryComponents: [BusyOverlayComponent],
1783
+ exports: [
1784
+ BusyOverlayComponent,
1785
+ PlaceOutletComponent,
1786
+ EmptyStateComponent
1787
+ ],
1788
+ providers: [
1789
+ PlaceService
1790
+ ]
1791
+ },] }
1792
+ ];
1793
+ return PlaceModule;
1794
+ }());
1795
+
1796
+ /**
1797
+ * @fileoverview added by tsickle
1798
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1799
+ */
1800
+ var AngularUiPowerupsModule = /** @class */ (function () {
1801
+ function AngularUiPowerupsModule() {
1802
+ }
1803
+ AngularUiPowerupsModule.decorators = [
1804
+ { type: NgModule, args: [{
1805
+ declarations: [
1806
+ CommandDirective,
1807
+ FocusBindingDirective,
1808
+ NumberInputComponent,
1809
+ StringInputComponent,
1810
+ PasswordInputComponent,
1811
+ SelectInputComponent,
1812
+ ],
1813
+ imports: [
1814
+ CommonModule,
1815
+ BrowserModule,
1816
+ BrowserAnimationsModule,
1817
+ FormsModule,
1818
+ MatInputModule,
1819
+ MatFormFieldModule,
1820
+ MatSelectModule
1821
+ ],
1822
+ exports: [
1823
+ CommandDirective,
1824
+ FocusBindingDirective,
1825
+ NumberInputComponent,
1826
+ StringInputComponent,
1827
+ PasswordInputComponent,
1828
+ SelectInputComponent,
1829
+ InteractionModule,
1830
+ PlaceModule,
1831
+ ]
1832
+ },] }
1833
+ ];
1834
+ return AngularUiPowerupsModule;
1835
+ }());
1836
+
1837
+ /**
1838
+ * @fileoverview added by tsickle
1839
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1840
+ */
1841
+ var Dimension = /** @class */ (function () {
1842
+ function Dimension(width, height) {
1843
+ this.width = width;
1844
+ this.height = height;
1845
+ }
1846
+ return Dimension;
1847
+ }());
1848
+ if (false) {
1849
+ /** @type {?} */
1850
+ Dimension.prototype.width;
1851
+ /** @type {?} */
1852
+ Dimension.prototype.height;
1853
+ }
1854
+
1855
+ /**
1856
+ * @fileoverview added by tsickle
1857
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1858
+ */
1859
+ var Point = /** @class */ (function () {
1860
+ function Point(x, y) {
1861
+ this.x = x;
1862
+ this.y = y;
1863
+ }
1864
+ /**
1865
+ * @param {?} data
1866
+ * @return {?}
1867
+ */
1868
+ Point.from = /**
1869
+ * @param {?} data
1870
+ * @return {?}
1871
+ */
1872
+ function (data) {
1873
+ return new Point(data.x, data.y);
1874
+ };
1875
+ /**
1876
+ * @param {?} x
1877
+ * @param {?} y
1878
+ * @return {?}
1879
+ */
1880
+ Point.prototype.translate = /**
1881
+ * @param {?} x
1882
+ * @param {?} y
1883
+ * @return {?}
1884
+ */
1885
+ function (x, y) {
1886
+ return new Point(this.x + x, this.y + y);
1887
+ };
1888
+ return Point;
1889
+ }());
1890
+ if (false) {
1891
+ /** @type {?} */
1892
+ Point.prototype.x;
1893
+ /** @type {?} */
1894
+ Point.prototype.y;
1895
+ }
1896
+
1897
+ /**
1898
+ * @fileoverview added by tsickle
1899
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1900
+ */
1901
+ var Bounds = /** @class */ (function (_super) {
1902
+ __extends(Bounds, _super);
1903
+ function Bounds(top, left, width, height) {
1904
+ var _this = _super.call(this, width, height) || this;
1905
+ _this.top = top;
1906
+ _this.left = left;
1907
+ _this.width = width;
1908
+ _this.height = height;
1909
+ return _this;
1910
+ }
1911
+ /**
1912
+ * @param {?} point
1913
+ * @return {?}
1914
+ */
1915
+ Bounds.prototype.relativePositionOf = /**
1916
+ * @param {?} point
1917
+ * @return {?}
1918
+ */
1919
+ function (point) {
1920
+ if (point instanceof MouseEvent) {
1921
+ return new Point(point.clientX - this.left, point.clientY - this.top);
1922
+ }
1923
+ else {
1924
+ return new Point(point.x - this.left, point.y - this.top);
1925
+ }
1926
+ };
1927
+ return Bounds;
1928
+ }(Dimension));
1929
+ if (false) {
1930
+ /** @type {?} */
1931
+ Bounds.prototype.top;
1932
+ /** @type {?} */
1933
+ Bounds.prototype.left;
1934
+ /** @type {?} */
1935
+ Bounds.prototype.width;
1936
+ /** @type {?} */
1937
+ Bounds.prototype.height;
1938
+ }
1939
+ (function (Bounds) {
1940
+ /**
1941
+ * @param {?} element
1942
+ * @return {?}
1943
+ */
1944
+ function ofElement(element) {
1945
+ /** @type {?} */
1946
+ var rect = element.getBoundingClientRect();
1947
+ return new Bounds(rect.top, rect.left, rect.width, rect.height);
1948
+ }
1949
+ Bounds.ofElement = ofElement;
1950
+ })(Bounds || (Bounds = {}));
1951
+
1952
+ /**
1953
+ * @fileoverview added by tsickle
1954
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1955
+ */
1956
+ var ResizeAwareComponent = /** @class */ (function (_super) {
1957
+ __extends(ResizeAwareComponent, _super);
1958
+ function ResizeAwareComponent(elementRef, ngZone) {
1959
+ var _this = _super.call(this) || this;
1960
+ _this.elementRef = elementRef;
1961
+ _this.ngZone = ngZone;
1962
+ _this._boundsModel = new ValueHolder(new Bounds(0, 0, 0, 0));
1963
+ return _this;
1964
+ }
1965
+ /**
1966
+ * @return {?}
1967
+ */
1968
+ ResizeAwareComponent.prototype.ngAfterViewInit = /**
1969
+ * @return {?}
1970
+ */
1971
+ function () {
1972
+ var _this = this;
1973
+ this.updateBounds();
1974
+ /** @type {?} */
1975
+ var element = this.elementRef.nativeElement;
1976
+ /** @type {?} */
1977
+ var ro = new ResizeObserver((/**
1978
+ * @param {?} entries
1979
+ * @param {?} observer
1980
+ * @return {?}
1981
+ */
1982
+ function (entries, observer) {
1983
+ _this.ngZone.run((/**
1984
+ * @return {?}
1985
+ */
1986
+ function () { return _this.updateBounds(); }));
1987
+ }));
1988
+ ro.observe(element);
1989
+ this.onDispose((/**
1990
+ * @return {?}
1991
+ */
1992
+ function () { return ro.disconnect(); }));
1993
+ };
1994
+ Object.defineProperty(ResizeAwareComponent.prototype, "boundsModel", {
1995
+ get: /**
1996
+ * @return {?}
1997
+ */
1998
+ function () {
1999
+ return this._boundsModel.readonly;
2000
+ },
2001
+ enumerable: true,
2002
+ configurable: true
2003
+ });
2004
+ Object.defineProperty(ResizeAwareComponent.prototype, "nativeElement", {
2005
+ get: /**
2006
+ * @return {?}
2007
+ */
2008
+ function () {
2009
+ return this.elementRef.nativeElement;
2010
+ },
2011
+ enumerable: true,
2012
+ configurable: true
2013
+ });
2014
+ // TODO: Make this handle body scroll
2015
+ // TODO: Make this handle body scroll
2016
+ /**
2017
+ * @param {?} point
2018
+ * @return {?}
2019
+ */
2020
+ ResizeAwareComponent.prototype.relativePositionOf =
2021
+ // TODO: Make this handle body scroll
2022
+ /**
2023
+ * @param {?} point
2024
+ * @return {?}
2025
+ */
2026
+ function (point) {
2027
+ return this.bounds.relativePositionOf(point);
2028
+ };
2029
+ Object.defineProperty(ResizeAwareComponent.prototype, "bounds", {
2030
+ get: /**
2031
+ * @return {?}
2032
+ */
2033
+ function () {
2034
+ return this._boundsModel.value;
2035
+ },
2036
+ enumerable: true,
2037
+ configurable: true
2038
+ });
2039
+ /**
2040
+ * @private
2041
+ * @return {?}
2042
+ */
2043
+ ResizeAwareComponent.prototype.updateBounds = /**
2044
+ * @private
2045
+ * @return {?}
2046
+ */
2047
+ function () {
2048
+ this._boundsModel.value = Bounds.ofElement(this.nativeElement);
2049
+ };
2050
+ return ResizeAwareComponent;
2051
+ }(DisposableComponent));
2052
+ if (false) {
2053
+ /**
2054
+ * @type {?}
2055
+ * @private
2056
+ */
2057
+ ResizeAwareComponent.prototype._boundsModel;
2058
+ /**
2059
+ * @type {?}
2060
+ * @protected
2061
+ */
2062
+ ResizeAwareComponent.prototype.elementRef;
2063
+ /**
2064
+ * @type {?}
2065
+ * @protected
2066
+ */
2067
+ ResizeAwareComponent.prototype.ngZone;
2068
+ }
2069
+
2070
+ /**
2071
+ * @fileoverview added by tsickle
2072
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2073
+ */
2074
+
2075
+ /**
2076
+ * @fileoverview added by tsickle
2077
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2078
+ */
2079
+
2080
+ /**
2081
+ * @fileoverview added by tsickle
2082
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2083
+ */
2084
+ /**
2085
+ * @record
2086
+ */
2087
+ function Alert() { }
2088
+ if (false) {
2089
+ /**
2090
+ * @return {?}
2091
+ */
2092
+ Alert.prototype.title = function () { };
2093
+ /**
2094
+ * @return {?}
2095
+ */
2096
+ Alert.prototype.content = function () { };
2097
+ /**
2098
+ * @return {?}
2099
+ */
2100
+ Alert.prototype.ok = function () { };
2101
+ }
2102
+
2103
+ /**
2104
+ * @fileoverview added by tsickle
2105
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2106
+ */
2107
+ /**
2108
+ * @record
2109
+ */
2110
+ function Confirm() { }
2111
+ if (false) {
2112
+ /** @type {?|undefined} */
2113
+ Confirm.prototype.destructive;
2114
+ /**
2115
+ * @return {?}
2116
+ */
2117
+ Confirm.prototype.cancel = function () { };
2118
+ }
2119
+
2120
+ /**
2121
+ * @fileoverview added by tsickle
2122
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2123
+ */
2124
+ /**
2125
+ * @record
2126
+ * @template R, E
2127
+ */
2128
+ function Result() { }
2129
+ (function (Result) {
2130
+ /**
2131
+ * @record
2132
+ * @template R, E
2133
+ */
2134
+ function Callback() { }
2135
+ Result.Callback = Callback;
2136
+ if (false) {
2137
+ /** @type {?} */
2138
+ Callback.prototype.then;
2139
+ /** @type {?} */
2140
+ Callback.prototype.catch;
2141
+ }
2142
+ })(Result || (Result = {}));
2143
+
2144
+ /**
2145
+ * @fileoverview added by tsickle
2146
+ * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2147
+ */
2148
+ /**
2149
+ * @record
2150
+ * @template D, R, E
2151
+ */
2152
+ function ActivityOutletContext() { }
2153
+ if (false) {
1918
2154
  /** @type {?} */
1919
2155
  ActivityOutletContext.prototype.interactionContext;
1920
2156
  /** @type {?} */
@@ -2391,240 +2627,6 @@ if (false) {
2391
2627
  PlaceComponent.prototype.canDeactivate = function () { };
2392
2628
  }
2393
2629
 
2394
- /**
2395
- * @fileoverview added by tsickle
2396
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2397
- */
2398
- var BusyOverlayComponent = /** @class */ (function () {
2399
- function BusyOverlayComponent() {
2400
- }
2401
- /**
2402
- * @return {?}
2403
- */
2404
- BusyOverlayComponent.prototype.ngOnInit = /**
2405
- * @return {?}
2406
- */
2407
- function () {
2408
- };
2409
- BusyOverlayComponent.decorators = [
2410
- { type: Component, args: [{
2411
- selector: 'aup-busy-overlay',
2412
- 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",
2413
- 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}"]
2414
- }] }
2415
- ];
2416
- /** @nocollapse */
2417
- BusyOverlayComponent.ctorParameters = function () { return []; };
2418
- BusyOverlayComponent.propDecorators = {
2419
- busyModel: [{ type: Input }],
2420
- busy: [{ type: Input }]
2421
- };
2422
- __decorate([
2423
- UseDelegatingValueModel(),
2424
- __metadata("design:type", ValueModel)
2425
- ], BusyOverlayComponent.prototype, "busyModel", void 0);
2426
- __decorate([
2427
- StoreInValueModel('busyModel'),
2428
- __metadata("design:type", Boolean)
2429
- ], BusyOverlayComponent.prototype, "busy", void 0);
2430
- return BusyOverlayComponent;
2431
- }());
2432
- if (false) {
2433
- /** @type {?} */
2434
- BusyOverlayComponent.prototype.busyModel;
2435
- /** @type {?} */
2436
- BusyOverlayComponent.prototype.busy;
2437
- }
2438
-
2439
- /**
2440
- * @fileoverview added by tsickle
2441
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2442
- */
2443
- var EmptyStateComponent = /** @class */ (function () {
2444
- function EmptyStateComponent() {
2445
- }
2446
- /**
2447
- * @return {?}
2448
- */
2449
- EmptyStateComponent.prototype.ngOnInit = /**
2450
- * @return {?}
2451
- */
2452
- function () {
2453
- };
2454
- EmptyStateComponent.decorators = [
2455
- { type: Component, args: [{
2456
- selector: 'angular-ui-powerups-empty-state',
2457
- template: "\n <div class=\"container\">\n <ng-content></ng-content>\n </div>\n ",
2458
- 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}"]
2459
- }] }
2460
- ];
2461
- /** @nocollapse */
2462
- EmptyStateComponent.ctorParameters = function () { return []; };
2463
- return EmptyStateComponent;
2464
- }());
2465
-
2466
- /**
2467
- * @fileoverview added by tsickle
2468
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2469
- */
2470
- var PlaceService = /** @class */ (function () {
2471
- function PlaceService() {
2472
- this._activePlaces = new MutableListModel();
2473
- }
2474
- Object.defineProperty(PlaceService.prototype, "activePlaces", {
2475
- get: /**
2476
- * @return {?}
2477
- */
2478
- function () {
2479
- return this._activePlaces.readonly;
2480
- },
2481
- enumerable: true,
2482
- configurable: true
2483
- });
2484
- /**
2485
- * @param {?} place
2486
- * @return {?}
2487
- */
2488
- PlaceService.prototype.onActivate = /**
2489
- * @param {?} place
2490
- * @return {?}
2491
- */
2492
- function (place) {
2493
- this._activePlaces.push(place);
2494
- };
2495
- /**
2496
- * @param {?} place
2497
- * @return {?}
2498
- */
2499
- PlaceService.prototype.onDeactivate = /**
2500
- * @param {?} place
2501
- * @return {?}
2502
- */
2503
- function (place) {
2504
- this._activePlaces.remove(place);
2505
- };
2506
- PlaceService.decorators = [
2507
- { type: Injectable, args: [{
2508
- providedIn: 'root'
2509
- },] }
2510
- ];
2511
- /** @nocollapse */
2512
- PlaceService.ctorParameters = function () { return []; };
2513
- /** @nocollapse */ PlaceService.ngInjectableDef = ɵɵdefineInjectable({ factory: function PlaceService_Factory() { return new PlaceService(); }, token: PlaceService, providedIn: "root" });
2514
- __decorate([
2515
- Trace(),
2516
- __metadata("design:type", Function),
2517
- __metadata("design:paramtypes", [Object]),
2518
- __metadata("design:returntype", void 0)
2519
- ], PlaceService.prototype, "onActivate", null);
2520
- __decorate([
2521
- Trace(),
2522
- __metadata("design:type", Function),
2523
- __metadata("design:paramtypes", [Object]),
2524
- __metadata("design:returntype", void 0)
2525
- ], PlaceService.prototype, "onDeactivate", null);
2526
- return PlaceService;
2527
- }());
2528
- if (false) {
2529
- /**
2530
- * @type {?}
2531
- * @private
2532
- */
2533
- PlaceService.prototype._activePlaces;
2534
- }
2535
-
2536
- /**
2537
- * @fileoverview added by tsickle
2538
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2539
- */
2540
- var PlaceOutletComponent = /** @class */ (function () {
2541
- function PlaceOutletComponent(placeService) {
2542
- this.placeService = placeService;
2543
- }
2544
- /**
2545
- * @return {?}
2546
- */
2547
- PlaceOutletComponent.prototype.ngOnInit = /**
2548
- * @return {?}
2549
- */
2550
- function () {
2551
- };
2552
- /**
2553
- * @param {?} $event
2554
- * @return {?}
2555
- */
2556
- PlaceOutletComponent.prototype.onActivate = /**
2557
- * @param {?} $event
2558
- * @return {?}
2559
- */
2560
- function ($event) {
2561
- this.placeService.onActivate($event);
2562
- };
2563
- /**
2564
- * @param {?} $event
2565
- * @return {?}
2566
- */
2567
- PlaceOutletComponent.prototype.onDeactivate = /**
2568
- * @param {?} $event
2569
- * @return {?}
2570
- */
2571
- function ($event) {
2572
- this.placeService.onDeactivate($event);
2573
- };
2574
- PlaceOutletComponent.decorators = [
2575
- { type: Component, args: [{
2576
- selector: 'angular-ui-powerups-place-outlet',
2577
- template: "<router-outlet (activate)=\"onActivate($event)\" (deactivate)=\"onDeactivate($event)\"></router-outlet>\n",
2578
- styles: [":host{grid-area:main;display:-ms-grid;display:grid;-ms-grid-rows:0 1fr;grid-template-rows:0 1fr;min-height:0}"]
2579
- }] }
2580
- ];
2581
- /** @nocollapse */
2582
- PlaceOutletComponent.ctorParameters = function () { return [
2583
- { type: PlaceService }
2584
- ]; };
2585
- return PlaceOutletComponent;
2586
- }());
2587
- if (false) {
2588
- /**
2589
- * @type {?}
2590
- * @private
2591
- */
2592
- PlaceOutletComponent.prototype.placeService;
2593
- }
2594
-
2595
- /**
2596
- * @fileoverview added by tsickle
2597
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2598
- */
2599
- var PlaceModule = /** @class */ (function () {
2600
- function PlaceModule() {
2601
- }
2602
- PlaceModule.decorators = [
2603
- { type: NgModule, args: [{
2604
- imports: [
2605
- CommonModule,
2606
- MatProgressSpinnerModule,
2607
- RouterModule
2608
- ],
2609
- declarations: [
2610
- EmptyStateComponent,
2611
- BusyOverlayComponent,
2612
- PlaceOutletComponent
2613
- ],
2614
- entryComponents: [BusyOverlayComponent],
2615
- exports: [
2616
- BusyOverlayComponent,
2617
- PlaceOutletComponent,
2618
- EmptyStateComponent
2619
- ],
2620
- providers: [
2621
- PlaceService
2622
- ]
2623
- },] }
2624
- ];
2625
- return PlaceModule;
2626
- }());
2627
-
2628
2630
  /**
2629
2631
  * @fileoverview added by tsickle
2630
2632
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -3160,5 +3162,5 @@ var ParameterType;
3160
3162
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3161
3163
  */
3162
3164
 
3163
- 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 };
3165
+ 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 };
3164
3166
  //# sourceMappingURL=coolon-angular-ui-powerups.js.map