@hmcts/rpx-xui-common-lib 1.7.5 → 1.7.9-filter-non-base-location
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/hmcts-rpx-xui-common-lib.umd.js +176 -134
- package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +1 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +1 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/components/find-location/find-location.component.js +12 -1
- package/esm2015/lib/components/generic-filter/generic-filter.component.js +19 -13
- package/esm2015/lib/components/search-location/search-location.component.js +14 -3
- package/esm2015/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +3 -1
- package/esm2015/lib/services/locations/location.service.js +4 -3
- package/esm5/lib/components/find-location/find-location.component.js +15 -1
- package/esm5/lib/components/generic-filter/generic-filter.component.js +44 -27
- package/esm5/lib/components/search-location/search-location.component.js +13 -3
- package/esm5/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.js +3 -1
- package/esm5/lib/services/locations/location.service.js +5 -3
- package/fesm2015/hmcts-rpx-xui-common-lib.js +92 -69
- package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/fesm5/hmcts-rpx-xui-common-lib.js +160 -123
- package/fesm5/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/hmcts-rpx-xui-common-lib.metadata.json +1 -1
- package/lib/components/find-location/find-location.component.d.ts +3 -2
- package/lib/components/search-location/search-location.component.d.ts +3 -1
- package/lib/exui-common-lib.module.d.ts +2 -1
- package/lib/gov-ui/components/hmcts-sub-navigation/hmcts-sub-navigation.component.d.ts +1 -0
- package/lib/services/locations/location.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1201,6 +1201,7 @@
|
|
|
1201
1201
|
* @return {?}
|
|
1202
1202
|
*/
|
|
1203
1203
|
function (event, form, item, field) {
|
|
1204
|
+
var e_3, _a;
|
|
1204
1205
|
/** @type {?} */
|
|
1205
1206
|
var isChecked = event.target.checked;
|
|
1206
1207
|
/** @type {?} */
|
|
@@ -1251,19 +1252,41 @@
|
|
|
1251
1252
|
else if (hasSelectAllOption && !allChecked && isChecked && isAllCheckedExcludingTheSelectAllOption) {
|
|
1252
1253
|
formArray.controls[index_1].patchValue(true);
|
|
1253
1254
|
}
|
|
1254
|
-
return;
|
|
1255
1255
|
}
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1256
|
+
else {
|
|
1257
|
+
formArray.controls.forEach(( /**
|
|
1258
|
+
* @param {?} control
|
|
1259
|
+
* @return {?}
|
|
1260
|
+
*/function (control) {
|
|
1261
|
+
if (isChecked) {
|
|
1262
|
+
control.patchValue(true);
|
|
1263
|
+
}
|
|
1264
|
+
else {
|
|
1265
|
+
control.patchValue(false);
|
|
1266
|
+
}
|
|
1267
|
+
}));
|
|
1268
|
+
}
|
|
1269
|
+
if (field.changeResetFields && field.changeResetFields.length) {
|
|
1270
|
+
try {
|
|
1271
|
+
for (var _b = __values(field.changeResetFields), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
1272
|
+
var resetField = _c.value;
|
|
1273
|
+
this.resetField(resetField, form);
|
|
1274
|
+
}
|
|
1262
1275
|
}
|
|
1263
|
-
|
|
1264
|
-
|
|
1276
|
+
catch (e_3_1) {
|
|
1277
|
+
e_3 = { error: e_3_1 };
|
|
1265
1278
|
}
|
|
1266
|
-
|
|
1279
|
+
finally {
|
|
1280
|
+
try {
|
|
1281
|
+
if (_c && !_c.done && (_a = _b.return))
|
|
1282
|
+
_a.call(_b);
|
|
1283
|
+
}
|
|
1284
|
+
finally {
|
|
1285
|
+
if (e_3)
|
|
1286
|
+
throw e_3.error;
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1267
1290
|
};
|
|
1268
1291
|
/**
|
|
1269
1292
|
* @private
|
|
@@ -1278,7 +1301,7 @@
|
|
|
1278
1301
|
* @return {?}
|
|
1279
1302
|
*/
|
|
1280
1303
|
function (resetField, form) {
|
|
1281
|
-
var
|
|
1304
|
+
var e_4, _a;
|
|
1282
1305
|
/** @type {?} */
|
|
1283
1306
|
var control = form.get(resetField);
|
|
1284
1307
|
/** @type {?} */
|
|
@@ -1300,8 +1323,8 @@
|
|
|
1300
1323
|
this.resetField(key, control);
|
|
1301
1324
|
}
|
|
1302
1325
|
}
|
|
1303
|
-
catch (
|
|
1304
|
-
|
|
1326
|
+
catch (e_4_1) {
|
|
1327
|
+
e_4 = { error: e_4_1 };
|
|
1305
1328
|
}
|
|
1306
1329
|
finally {
|
|
1307
1330
|
try {
|
|
@@ -1309,8 +1332,8 @@
|
|
|
1309
1332
|
_a.call(keys_2);
|
|
1310
1333
|
}
|
|
1311
1334
|
finally {
|
|
1312
|
-
if (
|
|
1313
|
-
throw
|
|
1335
|
+
if (e_4)
|
|
1336
|
+
throw e_4.error;
|
|
1314
1337
|
}
|
|
1315
1338
|
}
|
|
1316
1339
|
}
|
|
@@ -1367,7 +1390,7 @@
|
|
|
1367
1390
|
* @return {?}
|
|
1368
1391
|
*/
|
|
1369
1392
|
function (config, settings, reset) {
|
|
1370
|
-
var
|
|
1393
|
+
var e_5, _a;
|
|
1371
1394
|
/** @type {?} */
|
|
1372
1395
|
var findPersonControl = this.form ? this.form.get('findPersonControl') : null;
|
|
1373
1396
|
this.form = this.fb.group({});
|
|
@@ -1440,8 +1463,8 @@
|
|
|
1440
1463
|
_loop_1(field);
|
|
1441
1464
|
}
|
|
1442
1465
|
}
|
|
1443
|
-
catch (
|
|
1444
|
-
|
|
1466
|
+
catch (e_5_1) {
|
|
1467
|
+
e_5 = { error: e_5_1 };
|
|
1445
1468
|
}
|
|
1446
1469
|
finally {
|
|
1447
1470
|
try {
|
|
@@ -1449,8 +1472,8 @@
|
|
|
1449
1472
|
_a.call(_b);
|
|
1450
1473
|
}
|
|
1451
1474
|
finally {
|
|
1452
|
-
if (
|
|
1453
|
-
throw
|
|
1475
|
+
if (e_5)
|
|
1476
|
+
throw e_5.error;
|
|
1454
1477
|
}
|
|
1455
1478
|
}
|
|
1456
1479
|
};
|
|
@@ -1467,7 +1490,7 @@
|
|
|
1467
1490
|
* @return {?}
|
|
1468
1491
|
*/
|
|
1469
1492
|
function (field, settings) {
|
|
1470
|
-
var
|
|
1493
|
+
var e_6, _a;
|
|
1471
1494
|
/** @type {?} */
|
|
1472
1495
|
var validators = GenericFilterComponent.addFormValidators(field);
|
|
1473
1496
|
/** @type {?} */
|
|
@@ -1497,8 +1520,8 @@
|
|
|
1497
1520
|
_loop_2(option);
|
|
1498
1521
|
}
|
|
1499
1522
|
}
|
|
1500
|
-
catch (
|
|
1501
|
-
|
|
1523
|
+
catch (e_6_1) {
|
|
1524
|
+
e_6 = { error: e_6_1 };
|
|
1502
1525
|
}
|
|
1503
1526
|
finally {
|
|
1504
1527
|
try {
|
|
@@ -1506,8 +1529,8 @@
|
|
|
1506
1529
|
_a.call(_b);
|
|
1507
1530
|
}
|
|
1508
1531
|
finally {
|
|
1509
|
-
if (
|
|
1510
|
-
throw
|
|
1532
|
+
if (e_6)
|
|
1533
|
+
throw e_6.error;
|
|
1511
1534
|
}
|
|
1512
1535
|
}
|
|
1513
1536
|
return formArray;
|
|
@@ -1525,7 +1548,7 @@
|
|
|
1525
1548
|
* @return {?}
|
|
1526
1549
|
*/
|
|
1527
1550
|
function (field, settings) {
|
|
1528
|
-
var
|
|
1551
|
+
var e_7, _a;
|
|
1529
1552
|
/** @type {?} */
|
|
1530
1553
|
var validators = GenericFilterComponent.addFormValidators(field);
|
|
1531
1554
|
/** @type {?} */
|
|
@@ -1544,8 +1567,8 @@
|
|
|
1544
1567
|
formArray.push(new forms.FormControl(defaultValue));
|
|
1545
1568
|
}
|
|
1546
1569
|
}
|
|
1547
|
-
catch (
|
|
1548
|
-
|
|
1570
|
+
catch (e_7_1) {
|
|
1571
|
+
e_7 = { error: e_7_1 };
|
|
1549
1572
|
}
|
|
1550
1573
|
finally {
|
|
1551
1574
|
try {
|
|
@@ -1553,8 +1576,8 @@
|
|
|
1553
1576
|
_a.call(_b);
|
|
1554
1577
|
}
|
|
1555
1578
|
finally {
|
|
1556
|
-
if (
|
|
1557
|
-
throw
|
|
1579
|
+
if (e_7)
|
|
1580
|
+
throw e_7.error;
|
|
1558
1581
|
}
|
|
1559
1582
|
}
|
|
1560
1583
|
}
|
|
@@ -1609,7 +1632,7 @@
|
|
|
1609
1632
|
* @return {?}
|
|
1610
1633
|
*/
|
|
1611
1634
|
function (form) {
|
|
1612
|
-
var
|
|
1635
|
+
var e_8, _a;
|
|
1613
1636
|
/** @type {?} */
|
|
1614
1637
|
var errors = [];
|
|
1615
1638
|
try {
|
|
@@ -1625,8 +1648,8 @@
|
|
|
1625
1648
|
}
|
|
1626
1649
|
}
|
|
1627
1650
|
}
|
|
1628
|
-
catch (
|
|
1629
|
-
|
|
1651
|
+
catch (e_8_1) {
|
|
1652
|
+
e_8 = { error: e_8_1 };
|
|
1630
1653
|
}
|
|
1631
1654
|
finally {
|
|
1632
1655
|
try {
|
|
@@ -1634,8 +1657,8 @@
|
|
|
1634
1657
|
_a.call(_b);
|
|
1635
1658
|
}
|
|
1636
1659
|
finally {
|
|
1637
|
-
if (
|
|
1638
|
-
throw
|
|
1660
|
+
if (e_8)
|
|
1661
|
+
throw e_8.error;
|
|
1639
1662
|
}
|
|
1640
1663
|
}
|
|
1641
1664
|
if (errors.length) {
|
|
@@ -3781,6 +3804,7 @@
|
|
|
3781
3804
|
* @param {?} serviceIds
|
|
3782
3805
|
* @param {?} locationType
|
|
3783
3806
|
* @param {?} searchTerm
|
|
3807
|
+
* @param {?} userLocations
|
|
3784
3808
|
* @return {?} Observable<LocationByEPIMMSModel[]>: Array of locationModel in Observable
|
|
3785
3809
|
*/
|
|
3786
3810
|
LocationService.prototype.getAllLocations = /**
|
|
@@ -3788,10 +3812,11 @@
|
|
|
3788
3812
|
* @param {?} serviceIds
|
|
3789
3813
|
* @param {?} locationType
|
|
3790
3814
|
* @param {?} searchTerm
|
|
3815
|
+
* @param {?} userLocations
|
|
3791
3816
|
* @return {?} Observable<LocationByEPIMMSModel[]>: Array of locationModel in Observable
|
|
3792
3817
|
*/
|
|
3793
|
-
function (serviceIds, locationType, searchTerm) {
|
|
3794
|
-
return this.http.
|
|
3818
|
+
function (serviceIds, locationType, searchTerm, userLocations) {
|
|
3819
|
+
return this.http.post("api/locations/getLocations", { serviceIds: serviceIds, locationType: locationType, searchTerm: searchTerm, userLocations: userLocations });
|
|
3795
3820
|
};
|
|
3796
3821
|
/**
|
|
3797
3822
|
* @description searchLocations from service Ids/location type/search term
|
|
@@ -3832,14 +3857,110 @@
|
|
|
3832
3857
|
return LocationService;
|
|
3833
3858
|
}());
|
|
3834
3859
|
|
|
3860
|
+
/**
|
|
3861
|
+
* @fileoverview added by tsickle
|
|
3862
|
+
* Generated from: lib/services/session-storage/session-storage.service.ts
|
|
3863
|
+
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3864
|
+
*/
|
|
3865
|
+
var SessionStorageService = /** @class */ (function () {
|
|
3866
|
+
function SessionStorageService() {
|
|
3867
|
+
}
|
|
3868
|
+
/**
|
|
3869
|
+
* Get an item from the session storage.
|
|
3870
|
+
* If remove is true, the item will be removed once read
|
|
3871
|
+
* @param removeAfterRead removed the key once it has been read
|
|
3872
|
+
*/
|
|
3873
|
+
/**
|
|
3874
|
+
* Get an item from the session storage.
|
|
3875
|
+
* If remove is true, the item will be removed once read
|
|
3876
|
+
* @param {?} key
|
|
3877
|
+
* @param {?=} removeAfterRead removed the key once it has been read
|
|
3878
|
+
* @return {?}
|
|
3879
|
+
*/
|
|
3880
|
+
SessionStorageService.prototype.getItem = /**
|
|
3881
|
+
* Get an item from the session storage.
|
|
3882
|
+
* If remove is true, the item will be removed once read
|
|
3883
|
+
* @param {?} key
|
|
3884
|
+
* @param {?=} removeAfterRead removed the key once it has been read
|
|
3885
|
+
* @return {?}
|
|
3886
|
+
*/
|
|
3887
|
+
function (key, removeAfterRead) {
|
|
3888
|
+
if (removeAfterRead === void 0) {
|
|
3889
|
+
removeAfterRead = false;
|
|
3890
|
+
}
|
|
3891
|
+
/** @type {?} */
|
|
3892
|
+
var item = sessionStorage.getItem(key);
|
|
3893
|
+
if (removeAfterRead) {
|
|
3894
|
+
this.removeItem(key);
|
|
3895
|
+
}
|
|
3896
|
+
return item;
|
|
3897
|
+
};
|
|
3898
|
+
/**
|
|
3899
|
+
* Set an item in the session storage.
|
|
3900
|
+
*/
|
|
3901
|
+
/**
|
|
3902
|
+
* Set an item in the session storage.
|
|
3903
|
+
* @param {?} key
|
|
3904
|
+
* @param {?} value
|
|
3905
|
+
* @return {?}
|
|
3906
|
+
*/
|
|
3907
|
+
SessionStorageService.prototype.setItem = /**
|
|
3908
|
+
* Set an item in the session storage.
|
|
3909
|
+
* @param {?} key
|
|
3910
|
+
* @param {?} value
|
|
3911
|
+
* @return {?}
|
|
3912
|
+
*/
|
|
3913
|
+
function (key, value) {
|
|
3914
|
+
sessionStorage.setItem(key, value);
|
|
3915
|
+
};
|
|
3916
|
+
/**
|
|
3917
|
+
* Remove an item in the session storage.
|
|
3918
|
+
*/
|
|
3919
|
+
/**
|
|
3920
|
+
* Remove an item in the session storage.
|
|
3921
|
+
* @param {?} key
|
|
3922
|
+
* @return {?}
|
|
3923
|
+
*/
|
|
3924
|
+
SessionStorageService.prototype.removeItem = /**
|
|
3925
|
+
* Remove an item in the session storage.
|
|
3926
|
+
* @param {?} key
|
|
3927
|
+
* @return {?}
|
|
3928
|
+
*/
|
|
3929
|
+
function (key) {
|
|
3930
|
+
sessionStorage.removeItem(key);
|
|
3931
|
+
};
|
|
3932
|
+
/**
|
|
3933
|
+
* Clear all the items held in session storage.
|
|
3934
|
+
*/
|
|
3935
|
+
/**
|
|
3936
|
+
* Clear all the items held in session storage.
|
|
3937
|
+
* @return {?}
|
|
3938
|
+
*/
|
|
3939
|
+
SessionStorageService.prototype.clear = /**
|
|
3940
|
+
* Clear all the items held in session storage.
|
|
3941
|
+
* @return {?}
|
|
3942
|
+
*/
|
|
3943
|
+
function () {
|
|
3944
|
+
sessionStorage.clear();
|
|
3945
|
+
};
|
|
3946
|
+
SessionStorageService.decorators = [
|
|
3947
|
+
{ type: i0.Injectable, args: [{
|
|
3948
|
+
providedIn: 'root'
|
|
3949
|
+
},] }
|
|
3950
|
+
];
|
|
3951
|
+
/** @nocollapse */ SessionStorageService.ngInjectableDef = i0.defineInjectable({ factory: function SessionStorageService_Factory() { return new SessionStorageService(); }, token: SessionStorageService, providedIn: "root" });
|
|
3952
|
+
return SessionStorageService;
|
|
3953
|
+
}());
|
|
3954
|
+
|
|
3835
3955
|
/**
|
|
3836
3956
|
* @fileoverview added by tsickle
|
|
3837
3957
|
* Generated from: lib/components/search-location/search-location.component.ts
|
|
3838
3958
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
3839
3959
|
*/
|
|
3840
3960
|
var SearchLocationComponent = /** @class */ (function () {
|
|
3841
|
-
function SearchLocationComponent(locationService, fb, cd) {
|
|
3961
|
+
function SearchLocationComponent(locationService, sessionStorageService, fb, cd) {
|
|
3842
3962
|
this.locationService = locationService;
|
|
3963
|
+
this.sessionStorageService = sessionStorageService;
|
|
3843
3964
|
this.fb = fb;
|
|
3844
3965
|
this.cd = cd;
|
|
3845
3966
|
this.disabled = null;
|
|
@@ -3991,7 +4112,9 @@
|
|
|
3991
4112
|
* @return {?}
|
|
3992
4113
|
*/
|
|
3993
4114
|
function (term) {
|
|
3994
|
-
|
|
4115
|
+
/** @type {?} */
|
|
4116
|
+
var userLocations = JSON.parse(this.sessionStorageService.getItem('userLocations'));
|
|
4117
|
+
return this.locationService.getAllLocations(this.serviceIds, this.locationType, term, userLocations);
|
|
3995
4118
|
};
|
|
3996
4119
|
/**
|
|
3997
4120
|
* @return {?}
|
|
@@ -4038,6 +4161,7 @@
|
|
|
4038
4161
|
SearchLocationComponent.ctorParameters = function () {
|
|
4039
4162
|
return [
|
|
4040
4163
|
{ type: LocationService },
|
|
4164
|
+
{ type: SessionStorageService },
|
|
4041
4165
|
{ type: forms.FormBuilder },
|
|
4042
4166
|
{ type: i0.ChangeDetectorRef }
|
|
4043
4167
|
];
|
|
@@ -4132,6 +4256,19 @@
|
|
|
4132
4256
|
enumerable: true,
|
|
4133
4257
|
configurable: true
|
|
4134
4258
|
});
|
|
4259
|
+
/**
|
|
4260
|
+
* @return {?}
|
|
4261
|
+
*/
|
|
4262
|
+
FindLocationComponent.prototype.ngOnInit = /**
|
|
4263
|
+
* @return {?}
|
|
4264
|
+
*/
|
|
4265
|
+
function () {
|
|
4266
|
+
// implemented to get rid of undefined values
|
|
4267
|
+
this.selectedLocations = this.selectedLocations.filter(( /**
|
|
4268
|
+
* @param {?} location
|
|
4269
|
+
* @return {?}
|
|
4270
|
+
*/function (location) { return location.epimms_id; }));
|
|
4271
|
+
};
|
|
4135
4272
|
/**
|
|
4136
4273
|
* @return {?}
|
|
4137
4274
|
*/
|
|
@@ -4625,101 +4762,6 @@
|
|
|
4625
4762
|
sessionStorageService.setItem(sessionKey, JSON.stringify(caseworkers));
|
|
4626
4763
|
});
|
|
4627
4764
|
|
|
4628
|
-
/**
|
|
4629
|
-
* @fileoverview added by tsickle
|
|
4630
|
-
* Generated from: lib/services/session-storage/session-storage.service.ts
|
|
4631
|
-
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4632
|
-
*/
|
|
4633
|
-
var SessionStorageService = /** @class */ (function () {
|
|
4634
|
-
function SessionStorageService() {
|
|
4635
|
-
}
|
|
4636
|
-
/**
|
|
4637
|
-
* Get an item from the session storage.
|
|
4638
|
-
* If remove is true, the item will be removed once read
|
|
4639
|
-
* @param removeAfterRead removed the key once it has been read
|
|
4640
|
-
*/
|
|
4641
|
-
/**
|
|
4642
|
-
* Get an item from the session storage.
|
|
4643
|
-
* If remove is true, the item will be removed once read
|
|
4644
|
-
* @param {?} key
|
|
4645
|
-
* @param {?=} removeAfterRead removed the key once it has been read
|
|
4646
|
-
* @return {?}
|
|
4647
|
-
*/
|
|
4648
|
-
SessionStorageService.prototype.getItem = /**
|
|
4649
|
-
* Get an item from the session storage.
|
|
4650
|
-
* If remove is true, the item will be removed once read
|
|
4651
|
-
* @param {?} key
|
|
4652
|
-
* @param {?=} removeAfterRead removed the key once it has been read
|
|
4653
|
-
* @return {?}
|
|
4654
|
-
*/
|
|
4655
|
-
function (key, removeAfterRead) {
|
|
4656
|
-
if (removeAfterRead === void 0) {
|
|
4657
|
-
removeAfterRead = false;
|
|
4658
|
-
}
|
|
4659
|
-
/** @type {?} */
|
|
4660
|
-
var item = sessionStorage.getItem(key);
|
|
4661
|
-
if (removeAfterRead) {
|
|
4662
|
-
this.removeItem(key);
|
|
4663
|
-
}
|
|
4664
|
-
return item;
|
|
4665
|
-
};
|
|
4666
|
-
/**
|
|
4667
|
-
* Set an item in the session storage.
|
|
4668
|
-
*/
|
|
4669
|
-
/**
|
|
4670
|
-
* Set an item in the session storage.
|
|
4671
|
-
* @param {?} key
|
|
4672
|
-
* @param {?} value
|
|
4673
|
-
* @return {?}
|
|
4674
|
-
*/
|
|
4675
|
-
SessionStorageService.prototype.setItem = /**
|
|
4676
|
-
* Set an item in the session storage.
|
|
4677
|
-
* @param {?} key
|
|
4678
|
-
* @param {?} value
|
|
4679
|
-
* @return {?}
|
|
4680
|
-
*/
|
|
4681
|
-
function (key, value) {
|
|
4682
|
-
sessionStorage.setItem(key, value);
|
|
4683
|
-
};
|
|
4684
|
-
/**
|
|
4685
|
-
* Remove an item in the session storage.
|
|
4686
|
-
*/
|
|
4687
|
-
/**
|
|
4688
|
-
* Remove an item in the session storage.
|
|
4689
|
-
* @param {?} key
|
|
4690
|
-
* @return {?}
|
|
4691
|
-
*/
|
|
4692
|
-
SessionStorageService.prototype.removeItem = /**
|
|
4693
|
-
* Remove an item in the session storage.
|
|
4694
|
-
* @param {?} key
|
|
4695
|
-
* @return {?}
|
|
4696
|
-
*/
|
|
4697
|
-
function (key) {
|
|
4698
|
-
sessionStorage.removeItem(key);
|
|
4699
|
-
};
|
|
4700
|
-
/**
|
|
4701
|
-
* Clear all the items held in session storage.
|
|
4702
|
-
*/
|
|
4703
|
-
/**
|
|
4704
|
-
* Clear all the items held in session storage.
|
|
4705
|
-
* @return {?}
|
|
4706
|
-
*/
|
|
4707
|
-
SessionStorageService.prototype.clear = /**
|
|
4708
|
-
* Clear all the items held in session storage.
|
|
4709
|
-
* @return {?}
|
|
4710
|
-
*/
|
|
4711
|
-
function () {
|
|
4712
|
-
sessionStorage.clear();
|
|
4713
|
-
};
|
|
4714
|
-
SessionStorageService.decorators = [
|
|
4715
|
-
{ type: i0.Injectable, args: [{
|
|
4716
|
-
providedIn: 'root'
|
|
4717
|
-
},] }
|
|
4718
|
-
];
|
|
4719
|
-
/** @nocollapse */ SessionStorageService.ngInjectableDef = i0.defineInjectable({ factory: function SessionStorageService_Factory() { return new SessionStorageService(); }, token: SessionStorageService, providedIn: "root" });
|
|
4720
|
-
return SessionStorageService;
|
|
4721
|
-
}());
|
|
4722
|
-
|
|
4723
4765
|
/**
|
|
4724
4766
|
* @fileoverview added by tsickle
|
|
4725
4767
|
* Generated from: lib/services/find-person/find-person.service.ts
|