@coolon/angular-ui-powerups 0.0.35 → 0.0.36
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/bundles/coolon-angular-ui-powerups.umd.js +250 -238
- 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 +7 -7
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js +6 -6
- package/esm2015/lib/interaction/components/activity-container/activity-container.component.js +9 -7
- package/esm2015/lib/interaction/components/activity-outlet/activity-outlet.component.js +13 -5
- package/esm5/coolon-angular-ui-powerups.js +6 -6
- package/esm5/lib/interaction/components/activity-container/activity-container.component.js +9 -7
- package/esm5/lib/interaction/components/activity-outlet/activity-outlet.component.js +16 -5
- package/fesm2015/coolon-angular-ui-powerups.js +207 -198
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +246 -234
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +3 -1
- package/lib/interaction/components/activity-outlet/activity-outlet.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
2
|
-
import { EventEmitter, Input, Output, HostListener, Component, Directive, ElementRef, Inject, NgZone, InjectionToken,
|
|
2
|
+
import { EventEmitter, Input, Output, HostListener, Component, Directive, ElementRef, Inject, NgZone, InjectionToken, Injector, ComponentFactoryResolver, ViewContainerRef, ViewChild, ViewChildren, Injectable, ɵɵdefineInjectable, ɵɵinject, NgModule, INJECTOR } from '@angular/core';
|
|
3
3
|
import { FormsModule } from '@angular/forms';
|
|
4
4
|
import { MatDialog, MatButtonModule, MatDialogModule, MatTabsModule, MatProgressSpinnerModule, MatInputModule, MatFormFieldModule, MatSelectModule } from '@angular/material';
|
|
5
5
|
import { BrowserModule } from '@angular/platform-browser';
|
|
@@ -834,6 +834,244 @@ if (false) {
|
|
|
834
834
|
InteractionContext.prototype.alert = function (alert) { };
|
|
835
835
|
}
|
|
836
836
|
|
|
837
|
+
/**
|
|
838
|
+
* @fileoverview added by tsickle
|
|
839
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
840
|
+
*/
|
|
841
|
+
/** @type {?} */
|
|
842
|
+
var ACTIVITY_DATA = new InjectionToken('InteractionActivityData');
|
|
843
|
+
/**
|
|
844
|
+
* @record
|
|
845
|
+
* @template D, R, E
|
|
846
|
+
*/
|
|
847
|
+
function Activity() { }
|
|
848
|
+
if (false) {
|
|
849
|
+
/** @type {?} */
|
|
850
|
+
Activity.prototype.busy;
|
|
851
|
+
/**
|
|
852
|
+
* @param {?} callback
|
|
853
|
+
* @return {?}
|
|
854
|
+
*/
|
|
855
|
+
Activity.prototype.onDone = function (callback) { };
|
|
856
|
+
/**
|
|
857
|
+
* @param {?} callback
|
|
858
|
+
* @return {?}
|
|
859
|
+
*/
|
|
860
|
+
Activity.prototype.onCancel = function (callback) { };
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* @fileoverview added by tsickle
|
|
865
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
866
|
+
*/
|
|
867
|
+
/**
|
|
868
|
+
* @template D, R, E
|
|
869
|
+
*/
|
|
870
|
+
var ActivityOutletComponent = /** @class */ (function () {
|
|
871
|
+
function ActivityOutletComponent(componentFactoryResolver, viewContainerRef, injector) {
|
|
872
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
873
|
+
this.viewContainerRef = viewContainerRef;
|
|
874
|
+
this.injector = injector;
|
|
875
|
+
}
|
|
876
|
+
Object.defineProperty(ActivityOutletComponent.prototype, "activityContext", {
|
|
877
|
+
set: /**
|
|
878
|
+
* @param {?} activityContext
|
|
879
|
+
* @return {?}
|
|
880
|
+
*/
|
|
881
|
+
function (activityContext) {
|
|
882
|
+
this.loadActivity(activityContext);
|
|
883
|
+
},
|
|
884
|
+
enumerable: true,
|
|
885
|
+
configurable: true
|
|
886
|
+
});
|
|
887
|
+
;
|
|
888
|
+
/**
|
|
889
|
+
* @return {?}
|
|
890
|
+
*/
|
|
891
|
+
ActivityOutletComponent.prototype.ngOnInit = /**
|
|
892
|
+
* @return {?}
|
|
893
|
+
*/
|
|
894
|
+
function () {
|
|
895
|
+
};
|
|
896
|
+
/**
|
|
897
|
+
* @param {?} activityContext
|
|
898
|
+
* @return {?}
|
|
899
|
+
*/
|
|
900
|
+
ActivityOutletComponent.prototype.loadActivity = /**
|
|
901
|
+
* @param {?} activityContext
|
|
902
|
+
* @return {?}
|
|
903
|
+
*/
|
|
904
|
+
function (activityContext) {
|
|
905
|
+
/** @type {?} */
|
|
906
|
+
var injector = Injector.create({
|
|
907
|
+
providers: [
|
|
908
|
+
{
|
|
909
|
+
provide: InteractionContext,
|
|
910
|
+
useValue: this
|
|
911
|
+
},
|
|
912
|
+
{ provide: ACTIVITY_DATA, useValue: activityContext.activityData }
|
|
913
|
+
],
|
|
914
|
+
parent: this.injector
|
|
915
|
+
});
|
|
916
|
+
/** @type {?} */
|
|
917
|
+
var componentFactory = this.componentFactoryResolver.resolveComponentFactory(activityContext.activityClass);
|
|
918
|
+
this.viewContainerRef.clear();
|
|
919
|
+
this.activityComponentRef = this.viewContainerRef.createComponent(componentFactory, 0, injector);
|
|
920
|
+
this.activityComponentRef.instance.onDone(activityContext.onDone);
|
|
921
|
+
this.activityComponentRef.instance.onCancel(activityContext.onCancel);
|
|
922
|
+
};
|
|
923
|
+
/**
|
|
924
|
+
* @param {?} alert
|
|
925
|
+
* @return {?}
|
|
926
|
+
*/
|
|
927
|
+
ActivityOutletComponent.prototype.alert = /**
|
|
928
|
+
* @param {?} alert
|
|
929
|
+
* @return {?}
|
|
930
|
+
*/
|
|
931
|
+
function (alert) {
|
|
932
|
+
return this.interactionContext.alert(alert);
|
|
933
|
+
};
|
|
934
|
+
/**
|
|
935
|
+
* @param {?} confirm
|
|
936
|
+
* @return {?}
|
|
937
|
+
*/
|
|
938
|
+
ActivityOutletComponent.prototype.confirm = /**
|
|
939
|
+
* @param {?} confirm
|
|
940
|
+
* @return {?}
|
|
941
|
+
*/
|
|
942
|
+
function (confirm) {
|
|
943
|
+
return this.interactionContext.confirm(confirm);
|
|
944
|
+
};
|
|
945
|
+
/**
|
|
946
|
+
* @template D1, R1, E1
|
|
947
|
+
* @param {?} activityType
|
|
948
|
+
* @param {?=} data
|
|
949
|
+
* @return {?}
|
|
950
|
+
*/
|
|
951
|
+
ActivityOutletComponent.prototype.startActivity = /**
|
|
952
|
+
* @template D1, R1, E1
|
|
953
|
+
* @param {?} activityType
|
|
954
|
+
* @param {?=} data
|
|
955
|
+
* @return {?}
|
|
956
|
+
*/
|
|
957
|
+
function (activityType, data) {
|
|
958
|
+
return this.interactionContext.startActivity(activityType, data);
|
|
959
|
+
};
|
|
960
|
+
/**
|
|
961
|
+
* @return {?}
|
|
962
|
+
*/
|
|
963
|
+
ActivityOutletComponent.prototype.notifyReady = /**
|
|
964
|
+
* @return {?}
|
|
965
|
+
*/
|
|
966
|
+
function () {
|
|
967
|
+
if (this.activityComponentRef.instance['onActivityReady']) {
|
|
968
|
+
this.activityComponentRef.instance['onActivityReady']();
|
|
969
|
+
}
|
|
970
|
+
};
|
|
971
|
+
ActivityOutletComponent.decorators = [
|
|
972
|
+
{ type: Component, args: [{
|
|
973
|
+
selector: 'angular-ui-powerups-activity-outlet',
|
|
974
|
+
template: '',
|
|
975
|
+
styles: [":host{display:block}"]
|
|
976
|
+
}] }
|
|
977
|
+
];
|
|
978
|
+
/** @nocollapse */
|
|
979
|
+
ActivityOutletComponent.ctorParameters = function () { return [
|
|
980
|
+
{ type: ComponentFactoryResolver },
|
|
981
|
+
{ type: ViewContainerRef },
|
|
982
|
+
{ type: Injector }
|
|
983
|
+
]; };
|
|
984
|
+
ActivityOutletComponent.propDecorators = {
|
|
985
|
+
interactionContext: [{ type: Input }],
|
|
986
|
+
activityContext: [{ type: Input }]
|
|
987
|
+
};
|
|
988
|
+
return ActivityOutletComponent;
|
|
989
|
+
}());
|
|
990
|
+
if (false) {
|
|
991
|
+
/** @type {?} */
|
|
992
|
+
ActivityOutletComponent.prototype.interactionContext;
|
|
993
|
+
/**
|
|
994
|
+
* @type {?}
|
|
995
|
+
* @private
|
|
996
|
+
*/
|
|
997
|
+
ActivityOutletComponent.prototype.activityComponentRef;
|
|
998
|
+
/**
|
|
999
|
+
* @type {?}
|
|
1000
|
+
* @private
|
|
1001
|
+
*/
|
|
1002
|
+
ActivityOutletComponent.prototype.componentFactoryResolver;
|
|
1003
|
+
/**
|
|
1004
|
+
* @type {?}
|
|
1005
|
+
* @private
|
|
1006
|
+
*/
|
|
1007
|
+
ActivityOutletComponent.prototype.viewContainerRef;
|
|
1008
|
+
/**
|
|
1009
|
+
* @type {?}
|
|
1010
|
+
* @private
|
|
1011
|
+
*/
|
|
1012
|
+
ActivityOutletComponent.prototype.injector;
|
|
1013
|
+
/* Skipping unhandled member: ;*/
|
|
1014
|
+
}
|
|
1015
|
+
(function (ActivityOutletComponent) {
|
|
1016
|
+
/**
|
|
1017
|
+
* @template D, R, E
|
|
1018
|
+
*/
|
|
1019
|
+
var /**
|
|
1020
|
+
* @template D, R, E
|
|
1021
|
+
*/
|
|
1022
|
+
OutletInteractionContext = /** @class */ (function () {
|
|
1023
|
+
function OutletInteractionContext(context) {
|
|
1024
|
+
this.context = context;
|
|
1025
|
+
}
|
|
1026
|
+
/**
|
|
1027
|
+
* @param {?} alert
|
|
1028
|
+
* @return {?}
|
|
1029
|
+
*/
|
|
1030
|
+
OutletInteractionContext.prototype.alert = /**
|
|
1031
|
+
* @param {?} alert
|
|
1032
|
+
* @return {?}
|
|
1033
|
+
*/
|
|
1034
|
+
function (alert) {
|
|
1035
|
+
return lang.notImplemented();
|
|
1036
|
+
};
|
|
1037
|
+
/**
|
|
1038
|
+
* @param {?} confirm
|
|
1039
|
+
* @return {?}
|
|
1040
|
+
*/
|
|
1041
|
+
OutletInteractionContext.prototype.confirm = /**
|
|
1042
|
+
* @param {?} confirm
|
|
1043
|
+
* @return {?}
|
|
1044
|
+
*/
|
|
1045
|
+
function (confirm) {
|
|
1046
|
+
return lang.notImplemented();
|
|
1047
|
+
};
|
|
1048
|
+
/**
|
|
1049
|
+
* @template D1, R1, E1
|
|
1050
|
+
* @param {?} activityType
|
|
1051
|
+
* @param {?=} data
|
|
1052
|
+
* @return {?}
|
|
1053
|
+
*/
|
|
1054
|
+
OutletInteractionContext.prototype.startActivity = /**
|
|
1055
|
+
* @template D1, R1, E1
|
|
1056
|
+
* @param {?} activityType
|
|
1057
|
+
* @param {?=} data
|
|
1058
|
+
* @return {?}
|
|
1059
|
+
*/
|
|
1060
|
+
function (activityType, data) {
|
|
1061
|
+
return lang.notImplemented();
|
|
1062
|
+
};
|
|
1063
|
+
return OutletInteractionContext;
|
|
1064
|
+
}());
|
|
1065
|
+
ActivityOutletComponent.OutletInteractionContext = OutletInteractionContext;
|
|
1066
|
+
if (false) {
|
|
1067
|
+
/**
|
|
1068
|
+
* @type {?}
|
|
1069
|
+
* @private
|
|
1070
|
+
*/
|
|
1071
|
+
OutletInteractionContext.prototype.context;
|
|
1072
|
+
}
|
|
1073
|
+
})(ActivityOutletComponent || (ActivityOutletComponent = {}));
|
|
1074
|
+
|
|
837
1075
|
/**
|
|
838
1076
|
* @fileoverview added by tsickle
|
|
839
1077
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -1011,32 +1249,6 @@ if (false) {
|
|
|
1011
1249
|
AbstractActivity.prototype._busyModel;
|
|
1012
1250
|
}
|
|
1013
1251
|
|
|
1014
|
-
/**
|
|
1015
|
-
* @fileoverview added by tsickle
|
|
1016
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1017
|
-
*/
|
|
1018
|
-
/** @type {?} */
|
|
1019
|
-
var ACTIVITY_DATA = new InjectionToken('InteractionActivityData');
|
|
1020
|
-
/**
|
|
1021
|
-
* @record
|
|
1022
|
-
* @template D, R, E
|
|
1023
|
-
*/
|
|
1024
|
-
function Activity() { }
|
|
1025
|
-
if (false) {
|
|
1026
|
-
/** @type {?} */
|
|
1027
|
-
Activity.prototype.busy;
|
|
1028
|
-
/**
|
|
1029
|
-
* @param {?} callback
|
|
1030
|
-
* @return {?}
|
|
1031
|
-
*/
|
|
1032
|
-
Activity.prototype.onDone = function (callback) { };
|
|
1033
|
-
/**
|
|
1034
|
-
* @param {?} callback
|
|
1035
|
-
* @return {?}
|
|
1036
|
-
*/
|
|
1037
|
-
Activity.prototype.onCancel = function (callback) { };
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
1252
|
/**
|
|
1041
1253
|
* @fileoverview added by tsickle
|
|
1042
1254
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -1133,7 +1345,7 @@ var ActivityContainerComponent = /** @class */ (function (_super) {
|
|
|
1133
1345
|
_this.activityTabs = new MutableListModel();
|
|
1134
1346
|
_this.obsoleteTabs = [];
|
|
1135
1347
|
var _a = Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
|
|
1136
|
-
_this.lastActivityTab = chain(_this.activityTabs).last();
|
|
1348
|
+
_this.lastActivityTab = chain(_this.activityTabs).last().otherwise(_this.initialActivity);
|
|
1137
1349
|
return _this;
|
|
1138
1350
|
}
|
|
1139
1351
|
/**
|
|
@@ -1245,9 +1457,7 @@ var ActivityContainerComponent = /** @class */ (function (_super) {
|
|
|
1245
1457
|
function (tab) {
|
|
1246
1458
|
return !_this.obsoleteTabs.includes(tab);
|
|
1247
1459
|
}));
|
|
1248
|
-
|
|
1249
|
-
this.lastActivityTab.value['onActivityReady']();
|
|
1250
|
-
}
|
|
1460
|
+
this.outlets.last.notifyReady();
|
|
1251
1461
|
};
|
|
1252
1462
|
ActivityContainerComponent.decorators = [
|
|
1253
1463
|
{ type: Component, args: [{
|
|
@@ -1261,7 +1471,8 @@ var ActivityContainerComponent = /** @class */ (function (_super) {
|
|
|
1261
1471
|
ActivityContainerComponent.propDecorators = {
|
|
1262
1472
|
parentInteractionContext: [{ type: Input }],
|
|
1263
1473
|
initialActivity: [{ type: Input }],
|
|
1264
|
-
tabs: [{ type: ViewChild, args: ['tabs', { static: true },] }]
|
|
1474
|
+
tabs: [{ type: ViewChild, args: ['tabs', { static: true },] }],
|
|
1475
|
+
outlets: [{ type: ViewChildren, args: [ActivityOutletComponent,] }]
|
|
1265
1476
|
};
|
|
1266
1477
|
return ActivityContainerComponent;
|
|
1267
1478
|
}(DisposableComponent));
|
|
@@ -1273,6 +1484,8 @@ if (false) {
|
|
|
1273
1484
|
/** @type {?} */
|
|
1274
1485
|
ActivityContainerComponent.prototype.tabs;
|
|
1275
1486
|
/** @type {?} */
|
|
1487
|
+
ActivityContainerComponent.prototype.outlets;
|
|
1488
|
+
/** @type {?} */
|
|
1276
1489
|
ActivityContainerComponent.prototype.activityTabs;
|
|
1277
1490
|
/**
|
|
1278
1491
|
* @type {?}
|
|
@@ -1304,207 +1517,6 @@ if (false) {
|
|
|
1304
1517
|
}
|
|
1305
1518
|
})(ActivityContainerComponent || (ActivityContainerComponent = {}));
|
|
1306
1519
|
|
|
1307
|
-
/**
|
|
1308
|
-
* @fileoverview added by tsickle
|
|
1309
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
1310
|
-
*/
|
|
1311
|
-
/**
|
|
1312
|
-
* @template D, R, E
|
|
1313
|
-
*/
|
|
1314
|
-
var ActivityOutletComponent = /** @class */ (function () {
|
|
1315
|
-
function ActivityOutletComponent(componentFactoryResolver, viewContainerRef, injector) {
|
|
1316
|
-
this.componentFactoryResolver = componentFactoryResolver;
|
|
1317
|
-
this.viewContainerRef = viewContainerRef;
|
|
1318
|
-
this.injector = injector;
|
|
1319
|
-
}
|
|
1320
|
-
Object.defineProperty(ActivityOutletComponent.prototype, "activityContext", {
|
|
1321
|
-
set: /**
|
|
1322
|
-
* @param {?} activityContext
|
|
1323
|
-
* @return {?}
|
|
1324
|
-
*/
|
|
1325
|
-
function (activityContext) {
|
|
1326
|
-
this.loadActivity(activityContext);
|
|
1327
|
-
},
|
|
1328
|
-
enumerable: true,
|
|
1329
|
-
configurable: true
|
|
1330
|
-
});
|
|
1331
|
-
;
|
|
1332
|
-
/**
|
|
1333
|
-
* @return {?}
|
|
1334
|
-
*/
|
|
1335
|
-
ActivityOutletComponent.prototype.ngOnInit = /**
|
|
1336
|
-
* @return {?}
|
|
1337
|
-
*/
|
|
1338
|
-
function () {
|
|
1339
|
-
};
|
|
1340
|
-
/**
|
|
1341
|
-
* @param {?} activityContext
|
|
1342
|
-
* @return {?}
|
|
1343
|
-
*/
|
|
1344
|
-
ActivityOutletComponent.prototype.loadActivity = /**
|
|
1345
|
-
* @param {?} activityContext
|
|
1346
|
-
* @return {?}
|
|
1347
|
-
*/
|
|
1348
|
-
function (activityContext) {
|
|
1349
|
-
/** @type {?} */
|
|
1350
|
-
var injector = Injector.create({
|
|
1351
|
-
providers: [
|
|
1352
|
-
{
|
|
1353
|
-
provide: InteractionContext,
|
|
1354
|
-
useValue: this
|
|
1355
|
-
},
|
|
1356
|
-
{ provide: ACTIVITY_DATA, useValue: activityContext.activityData }
|
|
1357
|
-
],
|
|
1358
|
-
parent: this.injector
|
|
1359
|
-
});
|
|
1360
|
-
/** @type {?} */
|
|
1361
|
-
var componentFactory = this.componentFactoryResolver.resolveComponentFactory(activityContext.activityClass);
|
|
1362
|
-
this.viewContainerRef.clear();
|
|
1363
|
-
this.activityComponent = this.viewContainerRef.createComponent(componentFactory, 0, injector);
|
|
1364
|
-
this.activityComponent.instance.onDone(activityContext.onDone);
|
|
1365
|
-
this.activityComponent.instance.onCancel(activityContext.onCancel);
|
|
1366
|
-
};
|
|
1367
|
-
/**
|
|
1368
|
-
* @param {?} alert
|
|
1369
|
-
* @return {?}
|
|
1370
|
-
*/
|
|
1371
|
-
ActivityOutletComponent.prototype.alert = /**
|
|
1372
|
-
* @param {?} alert
|
|
1373
|
-
* @return {?}
|
|
1374
|
-
*/
|
|
1375
|
-
function (alert) {
|
|
1376
|
-
return this.interactionContext.alert(alert);
|
|
1377
|
-
};
|
|
1378
|
-
/**
|
|
1379
|
-
* @param {?} confirm
|
|
1380
|
-
* @return {?}
|
|
1381
|
-
*/
|
|
1382
|
-
ActivityOutletComponent.prototype.confirm = /**
|
|
1383
|
-
* @param {?} confirm
|
|
1384
|
-
* @return {?}
|
|
1385
|
-
*/
|
|
1386
|
-
function (confirm) {
|
|
1387
|
-
return this.interactionContext.confirm(confirm);
|
|
1388
|
-
};
|
|
1389
|
-
/**
|
|
1390
|
-
* @template D1, R1, E1
|
|
1391
|
-
* @param {?} activityType
|
|
1392
|
-
* @param {?=} data
|
|
1393
|
-
* @return {?}
|
|
1394
|
-
*/
|
|
1395
|
-
ActivityOutletComponent.prototype.startActivity = /**
|
|
1396
|
-
* @template D1, R1, E1
|
|
1397
|
-
* @param {?} activityType
|
|
1398
|
-
* @param {?=} data
|
|
1399
|
-
* @return {?}
|
|
1400
|
-
*/
|
|
1401
|
-
function (activityType, data) {
|
|
1402
|
-
return this.interactionContext.startActivity(activityType, data);
|
|
1403
|
-
};
|
|
1404
|
-
ActivityOutletComponent.decorators = [
|
|
1405
|
-
{ type: Component, args: [{
|
|
1406
|
-
selector: 'angular-ui-powerups-activity-outlet',
|
|
1407
|
-
template: '',
|
|
1408
|
-
styles: [":host{display:block}"]
|
|
1409
|
-
}] }
|
|
1410
|
-
];
|
|
1411
|
-
/** @nocollapse */
|
|
1412
|
-
ActivityOutletComponent.ctorParameters = function () { return [
|
|
1413
|
-
{ type: ComponentFactoryResolver },
|
|
1414
|
-
{ type: ViewContainerRef },
|
|
1415
|
-
{ type: Injector }
|
|
1416
|
-
]; };
|
|
1417
|
-
ActivityOutletComponent.propDecorators = {
|
|
1418
|
-
interactionContext: [{ type: Input }],
|
|
1419
|
-
activityContext: [{ type: Input }]
|
|
1420
|
-
};
|
|
1421
|
-
return ActivityOutletComponent;
|
|
1422
|
-
}());
|
|
1423
|
-
if (false) {
|
|
1424
|
-
/** @type {?} */
|
|
1425
|
-
ActivityOutletComponent.prototype.interactionContext;
|
|
1426
|
-
/**
|
|
1427
|
-
* @type {?}
|
|
1428
|
-
* @private
|
|
1429
|
-
*/
|
|
1430
|
-
ActivityOutletComponent.prototype.activityComponent;
|
|
1431
|
-
/**
|
|
1432
|
-
* @type {?}
|
|
1433
|
-
* @private
|
|
1434
|
-
*/
|
|
1435
|
-
ActivityOutletComponent.prototype.componentFactoryResolver;
|
|
1436
|
-
/**
|
|
1437
|
-
* @type {?}
|
|
1438
|
-
* @private
|
|
1439
|
-
*/
|
|
1440
|
-
ActivityOutletComponent.prototype.viewContainerRef;
|
|
1441
|
-
/**
|
|
1442
|
-
* @type {?}
|
|
1443
|
-
* @private
|
|
1444
|
-
*/
|
|
1445
|
-
ActivityOutletComponent.prototype.injector;
|
|
1446
|
-
/* Skipping unhandled member: ;*/
|
|
1447
|
-
}
|
|
1448
|
-
(function (ActivityOutletComponent) {
|
|
1449
|
-
/**
|
|
1450
|
-
* @template D, R, E
|
|
1451
|
-
*/
|
|
1452
|
-
var /**
|
|
1453
|
-
* @template D, R, E
|
|
1454
|
-
*/
|
|
1455
|
-
OutletInteractionContext = /** @class */ (function () {
|
|
1456
|
-
function OutletInteractionContext(context) {
|
|
1457
|
-
this.context = context;
|
|
1458
|
-
}
|
|
1459
|
-
/**
|
|
1460
|
-
* @param {?} alert
|
|
1461
|
-
* @return {?}
|
|
1462
|
-
*/
|
|
1463
|
-
OutletInteractionContext.prototype.alert = /**
|
|
1464
|
-
* @param {?} alert
|
|
1465
|
-
* @return {?}
|
|
1466
|
-
*/
|
|
1467
|
-
function (alert) {
|
|
1468
|
-
return lang.notImplemented();
|
|
1469
|
-
};
|
|
1470
|
-
/**
|
|
1471
|
-
* @param {?} confirm
|
|
1472
|
-
* @return {?}
|
|
1473
|
-
*/
|
|
1474
|
-
OutletInteractionContext.prototype.confirm = /**
|
|
1475
|
-
* @param {?} confirm
|
|
1476
|
-
* @return {?}
|
|
1477
|
-
*/
|
|
1478
|
-
function (confirm) {
|
|
1479
|
-
return lang.notImplemented();
|
|
1480
|
-
};
|
|
1481
|
-
/**
|
|
1482
|
-
* @template D1, R1, E1
|
|
1483
|
-
* @param {?} activityType
|
|
1484
|
-
* @param {?=} data
|
|
1485
|
-
* @return {?}
|
|
1486
|
-
*/
|
|
1487
|
-
OutletInteractionContext.prototype.startActivity = /**
|
|
1488
|
-
* @template D1, R1, E1
|
|
1489
|
-
* @param {?} activityType
|
|
1490
|
-
* @param {?=} data
|
|
1491
|
-
* @return {?}
|
|
1492
|
-
*/
|
|
1493
|
-
function (activityType, data) {
|
|
1494
|
-
return lang.notImplemented();
|
|
1495
|
-
};
|
|
1496
|
-
return OutletInteractionContext;
|
|
1497
|
-
}());
|
|
1498
|
-
ActivityOutletComponent.OutletInteractionContext = OutletInteractionContext;
|
|
1499
|
-
if (false) {
|
|
1500
|
-
/**
|
|
1501
|
-
* @type {?}
|
|
1502
|
-
* @private
|
|
1503
|
-
*/
|
|
1504
|
-
OutletInteractionContext.prototype.context;
|
|
1505
|
-
}
|
|
1506
|
-
})(ActivityOutletComponent || (ActivityOutletComponent = {}));
|
|
1507
|
-
|
|
1508
1520
|
/**
|
|
1509
1521
|
* @fileoverview added by tsickle
|
|
1510
1522
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
@@ -3883,5 +3895,5 @@ var VisitSnapshot = /** @class */ (function () {
|
|
|
3883
3895
|
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3884
3896
|
*/
|
|
3885
3897
|
|
|
3886
|
-
export { ACTIVITY_DATA, AbstractActivity, AbstractInputComponent, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CommandDirective, ConfirmationDialogComponent, DEFINITION_META_DATA_KEY, DialogInteractionService, Dimension, DisposableComponent, EmptyStateComponent, FocusBindingDirective, INTERACTION_CONTEXT, InteractionContext, InteractionModule, LEFT_RIGHT_PLACE_ANIMATION, LeavePlaceGuard, NumberInputComponent, ParameterType, PasswordInputComponent, Place, PlaceComponent, PlaceModule, PlaceOutletComponent, PlaceRouteGuard, PlaceService, Point, ResizeAwareComponent, ResolvedRouteParameterSnapshot, RouteId, RouteParameter, RouteParameterBindings, RouteParameterList, RouteParameterSanitiser, Sanitiser, SelectInputComponent, StringInputComponent, TabbedPlaceNavigationComponent, VisitSnapshot, slideDownAndUpAnimation, CommandDirective as ɵa, FocusBindingDirective as ɵb, DisposableComponent as ɵc, NumberInputComponent as ɵd, AbstractInputComponent as ɵe, StringInputComponent as ɵf, PasswordInputComponent as ɵg, SelectInputComponent as ɵh, PlaceModule as ɵi, EmptyStateComponent as ɵj, BusyOverlayComponent as ɵk, PlaceOutletComponent as ɵl, LEFT_RIGHT_PLACE_ANIMATION as ɵm, PlaceService as ɵn, TabbedPlaceNavigationComponent as ɵo, InteractionModule as ɵp, ActivityContainerComponent as ɵq,
|
|
3898
|
+
export { ACTIVITY_DATA, AbstractActivity, AbstractInputComponent, ActivityContainerComponent, ActivityOutletComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CommandDirective, ConfirmationDialogComponent, DEFINITION_META_DATA_KEY, DialogInteractionService, Dimension, DisposableComponent, EmptyStateComponent, FocusBindingDirective, INTERACTION_CONTEXT, InteractionContext, InteractionModule, LEFT_RIGHT_PLACE_ANIMATION, LeavePlaceGuard, NumberInputComponent, ParameterType, PasswordInputComponent, Place, PlaceComponent, PlaceModule, PlaceOutletComponent, PlaceRouteGuard, PlaceService, Point, ResizeAwareComponent, ResolvedRouteParameterSnapshot, RouteId, RouteParameter, RouteParameterBindings, RouteParameterList, RouteParameterSanitiser, Sanitiser, SelectInputComponent, StringInputComponent, TabbedPlaceNavigationComponent, VisitSnapshot, slideDownAndUpAnimation, CommandDirective as ɵa, FocusBindingDirective as ɵb, DisposableComponent as ɵc, NumberInputComponent as ɵd, AbstractInputComponent as ɵe, StringInputComponent as ɵf, PasswordInputComponent as ɵg, SelectInputComponent as ɵh, PlaceModule as ɵi, EmptyStateComponent as ɵj, BusyOverlayComponent as ɵk, PlaceOutletComponent as ɵl, LEFT_RIGHT_PLACE_ANIMATION as ɵm, PlaceService as ɵn, TabbedPlaceNavigationComponent as ɵo, InteractionModule as ɵp, ActivityContainerComponent as ɵq, ActivityOutletComponent as ɵr, ConfirmationDialogComponent as ɵs, AbstractActivity as ɵt, ACTIVITY_DATA as ɵu, AlertDialogComponent as ɵw, DialogInteractionService as ɵy, InteractionContext as ɵz };
|
|
3887
3899
|
//# sourceMappingURL=coolon-angular-ui-powerups.js.map
|