mobicloud-core 1.0.298 → 1.0.299

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.
@@ -1167,22 +1167,22 @@
1167
1167
  this.inEditMode = false;
1168
1168
  this.fullEditAllowed = false;
1169
1169
  this.isLoadingData = false;
1170
- this.loadingText = $localize(templateObject_1$u || (templateObject_1$u = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
1170
+ this.loadingText = $localize(templateObject_1$v || (templateObject_1$v = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
1171
1171
  this.hasErrors = false;
1172
1172
  this.errorText = "";
1173
1173
  this.systemUserChanged = new i0.EventEmitter();
1174
1174
  this.certificateLogin = false;
1175
1175
  this.status_ds = [
1176
- { id: false, description: $localize(templateObject_2$q || (templateObject_2$q = __makeTemplateObject([":@@@FieldValue-InActive:Inactive"], [":@@@FieldValue-InActive:Inactive"]))) },
1177
- { id: true, description: $localize(templateObject_3$q || (templateObject_3$q = __makeTemplateObject([":@@@FieldValue-Active:Active"], [":@@@FieldValue-Active:Active"]))) }
1176
+ { id: false, description: $localize(templateObject_2$r || (templateObject_2$r = __makeTemplateObject([":@@@FieldValue-InActive:Inactive"], [":@@@FieldValue-InActive:Inactive"]))) },
1177
+ { id: true, description: $localize(templateObject_3$r || (templateObject_3$r = __makeTemplateObject([":@@@FieldValue-Active:Active"], [":@@@FieldValue-Active:Active"]))) }
1178
1178
  ];
1179
1179
  this.loginType_ds = [
1180
- { id: false, description: $localize(templateObject_4$q || (templateObject_4$q = __makeTemplateObject([":@@FieldValue-SystemUser-Regular:Regular"], [":@@FieldValue-SystemUser-Regular:Regular"]))) },
1181
- { id: true, description: $localize(templateObject_5$q || (templateObject_5$q = __makeTemplateObject([":@@FieldValue-SystemUser-Admin: Admin"], [":@@FieldValue-SystemUser-Admin: Admin"]))) }
1180
+ { id: false, description: $localize(templateObject_4$r || (templateObject_4$r = __makeTemplateObject([":@@FieldValue-SystemUser-Regular:Regular"], [":@@FieldValue-SystemUser-Regular:Regular"]))) },
1181
+ { id: true, description: $localize(templateObject_5$r || (templateObject_5$r = __makeTemplateObject([":@@FieldValue-SystemUser-Admin: Admin"], [":@@FieldValue-SystemUser-Admin: Admin"]))) }
1182
1182
  ];
1183
1183
  this.boolean_ds = [
1184
- { id: false, description: $localize(templateObject_6$p || (templateObject_6$p = __makeTemplateObject([":@@FieldValue-No:No"], [":@@FieldValue-No:No"]))) },
1185
- { id: true, description: $localize(templateObject_7$p || (templateObject_7$p = __makeTemplateObject([":@@FieldValue-Yes:Yes"], [":@@FieldValue-Yes:Yes"]))) }
1184
+ { id: false, description: $localize(templateObject_6$q || (templateObject_6$q = __makeTemplateObject([":@@FieldValue-No:No"], [":@@FieldValue-No:No"]))) },
1185
+ { id: true, description: $localize(templateObject_7$q || (templateObject_7$q = __makeTemplateObject([":@@FieldValue-Yes:Yes"], [":@@FieldValue-Yes:Yes"]))) }
1186
1186
  ];
1187
1187
  this.usernameValidation = this.usernameValidation.bind(this);
1188
1188
  this.passwordToogleIcon = "mobicloud_password_visibility_off";
@@ -1229,7 +1229,7 @@
1229
1229
  var _a;
1230
1230
  if (((_a = this.systemUser) === null || _a === void 0 ? void 0 : _a.Id) && this.systemUser_store) {
1231
1231
  this.isLoadingData = true;
1232
- this.loadingText = $localize(templateObject_8$p || (templateObject_8$p = __makeTemplateObject([":@@Loading-Text-SystemUser:Loading system user..."], [":@@Loading-Text-SystemUser:Loading system user..."])));
1232
+ this.loadingText = $localize(templateObject_8$q || (templateObject_8$q = __makeTemplateObject([":@@Loading-Text-SystemUser:Loading system user..."], [":@@Loading-Text-SystemUser:Loading system user..."])));
1233
1233
  this.systemUser_store.byKey(this.systemUser.Id, { expand: this.systemUser_expands }).then(function (dataItem) {
1234
1234
  _this.formSystemUser = Object.assign(new i2.SystemUser(), dataItem[0]);
1235
1235
  if (_this.formSystemUser && !_this.formSystemUser.Active) {
@@ -1350,7 +1350,7 @@
1350
1350
  type: i0.ViewChildren,
1351
1351
  args: [i7.DxDataGridComponent]
1352
1352
  }] } });
1353
- var templateObject_1$u, templateObject_2$q, templateObject_3$q, templateObject_4$q, templateObject_5$q, templateObject_6$p, templateObject_7$p, templateObject_8$p, templateObject_9$h, templateObject_10$h, templateObject_11$d, templateObject_12$b, templateObject_13$8, templateObject_14$8;
1353
+ var templateObject_1$v, templateObject_2$r, templateObject_3$r, templateObject_4$r, templateObject_5$r, templateObject_6$q, templateObject_7$q, templateObject_8$q, templateObject_9$h, templateObject_10$h, templateObject_11$d, templateObject_12$b, templateObject_13$8, templateObject_14$8;
1354
1354
 
1355
1355
  var ProfilePageSystemUserComponent = /** @class */ (function () {
1356
1356
  function ProfilePageSystemUserComponent(route, coreService, cloudDataService, router, location) {
@@ -1359,20 +1359,20 @@
1359
1359
  this.cloudDataService = cloudDataService;
1360
1360
  this.router = router;
1361
1361
  this.location = location;
1362
- this.profileCaption = $localize(templateObject_1$t || (templateObject_1$t = __makeTemplateObject([":@@MyProfileCaption-Text:My Profile"], [":@@MyProfileCaption-Text:My Profile"])));
1363
- this.organizationCaption = $localize(templateObject_2$p || (templateObject_2$p = __makeTemplateObject([":@@Organization-SubCaption-Text:Organization"], [":@@Organization-SubCaption-Text:Organization"])));
1364
- this.accountNumberCaption = $localize(templateObject_3$p || (templateObject_3$p = __makeTemplateObject([":@@AccountNumber-SubCaption-Text:Account no."], [":@@AccountNumber-SubCaption-Text:Account no."])));
1362
+ this.profileCaption = $localize(templateObject_1$u || (templateObject_1$u = __makeTemplateObject([":@@MyProfileCaption-Text:My Profile"], [":@@MyProfileCaption-Text:My Profile"])));
1363
+ this.organizationCaption = $localize(templateObject_2$q || (templateObject_2$q = __makeTemplateObject([":@@Organization-SubCaption-Text:Organization"], [":@@Organization-SubCaption-Text:Organization"])));
1364
+ this.accountNumberCaption = $localize(templateObject_3$q || (templateObject_3$q = __makeTemplateObject([":@@AccountNumber-SubCaption-Text:Account no."], [":@@AccountNumber-SubCaption-Text:Account no."])));
1365
1365
  this.selectedTabIndex = 0;
1366
1366
  this.isLoadingData = false;
1367
- this.loadingText = $localize(templateObject_4$p || (templateObject_4$p = __makeTemplateObject([":@@Loading-Text:Loading ..."], [":@@Loading-Text:Loading ..."])));
1367
+ this.loadingText = $localize(templateObject_4$q || (templateObject_4$q = __makeTemplateObject([":@@Loading-Text:Loading ..."], [":@@Loading-Text:Loading ..."])));
1368
1368
  this.hasErrors = false;
1369
- this.errorCaption = $localize(templateObject_5$p || (templateObject_5$p = __makeTemplateObject([":@@CaptionHeader-Error:Error"], [":@@CaptionHeader-Error:Error"])));
1369
+ this.errorCaption = $localize(templateObject_5$q || (templateObject_5$q = __makeTemplateObject([":@@CaptionHeader-Error:Error"], [":@@CaptionHeader-Error:Error"])));
1370
1370
  this.errorText = "";
1371
1371
  this.enableRetryOnError = false;
1372
1372
  this.isLoadingData = true;
1373
1373
  this.hasErrors = false;
1374
1374
  this.errorText = "";
1375
- this.loadingText = $localize(templateObject_6$o || (templateObject_6$o = __makeTemplateObject([":@@LoadingProfile-Text:Loading profile ..."], [":@@LoadingProfile-Text:Loading profile ..."])));
1375
+ this.loadingText = $localize(templateObject_6$p || (templateObject_6$p = __makeTemplateObject([":@@LoadingProfile-Text:Loading profile ..."], [":@@LoadingProfile-Text:Loading profile ..."])));
1376
1376
  }
1377
1377
  ProfilePageSystemUserComponent.prototype.ngOnInit = function () {
1378
1378
  var _this = this;
@@ -1391,8 +1391,8 @@
1391
1391
  };
1392
1392
  ProfilePageSystemUserComponent.prototype.updateToolbarItems = function () {
1393
1393
  this.toolbarItems = [];
1394
- this.toolbarItems.push({ caption: $localize(templateObject_7$o || (templateObject_7$o = __makeTemplateObject([":@@Action-ResetPasswords:Reset password"], [":@@Action-ResetPasswords:Reset password"]))), svg: "mobicloud_password_reset", click: "SYSTEMUSER_DETAILS_RESETPASSWORD", link: "", click_paramters: [] });
1395
- this.toolbarItems.push({ caption: $localize(templateObject_8$o || (templateObject_8$o = __makeTemplateObject([":@@Action-Refresh:Refresh"], [":@@Action-Refresh:Refresh"]))), svg: "mobicloud_refresh", click: "SYSTEMUSER_DETAILS_REFRESH", link: "", click_paramters: [] });
1394
+ this.toolbarItems.push({ caption: $localize(templateObject_7$p || (templateObject_7$p = __makeTemplateObject([":@@Action-ResetPasswords:Reset password"], [":@@Action-ResetPasswords:Reset password"]))), svg: "mobicloud_password_reset", click: "SYSTEMUSER_DETAILS_RESETPASSWORD", link: "", click_paramters: [] });
1395
+ this.toolbarItems.push({ caption: $localize(templateObject_8$p || (templateObject_8$p = __makeTemplateObject([":@@Action-Refresh:Refresh"], [":@@Action-Refresh:Refresh"]))), svg: "mobicloud_refresh", click: "SYSTEMUSER_DETAILS_REFRESH", link: "", click_paramters: [] });
1396
1396
  };
1397
1397
  ProfilePageSystemUserComponent.prototype.onToolbarItemClick = function (e) {
1398
1398
  return __awaiter(this, void 0, void 0, function () {
@@ -1509,7 +1509,7 @@
1509
1509
  }], enableRetryOnError: [{
1510
1510
  type: i0.Input
1511
1511
  }] } });
1512
- var templateObject_1$t, templateObject_2$p, templateObject_3$p, templateObject_4$p, templateObject_5$p, templateObject_6$o, templateObject_7$o, templateObject_8$o, templateObject_9$g, templateObject_10$g;
1512
+ var templateObject_1$u, templateObject_2$q, templateObject_3$q, templateObject_4$q, templateObject_5$q, templateObject_6$p, templateObject_7$p, templateObject_8$p, templateObject_9$g, templateObject_10$g;
1513
1513
 
1514
1514
  var EmployeeProfileComponent = /** @class */ (function () {
1515
1515
  function EmployeeProfileComponent(httpClient, coreService, cloudDataService, matDialog) {
@@ -1521,16 +1521,16 @@
1521
1521
  this.inEditMode = false;
1522
1522
  this.fullEditAllowed = false;
1523
1523
  this.isLoadingData = false;
1524
- this.loadingText = $localize(templateObject_1$s || (templateObject_1$s = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
1524
+ this.loadingText = $localize(templateObject_1$t || (templateObject_1$t = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
1525
1525
  this.hasErrors = false;
1526
1526
  this.errorText = "";
1527
1527
  this.employeeChanged = new i0.EventEmitter();
1528
1528
  this.payrollEmployeeNumbers = [];
1529
1529
  this.genderType_ds = [
1530
- { id: i2.GenderType.Unknown, description: $localize(templateObject_2$o || (templateObject_2$o = __makeTemplateObject([":@@EnumValue-Unknown:Unknown"], [":@@EnumValue-Unknown:Unknown"]))) },
1531
- { id: i2.GenderType.Male, description: $localize(templateObject_3$o || (templateObject_3$o = __makeTemplateObject([":@@EnumValue-Male:Male"], [":@@EnumValue-Male:Male"]))) },
1532
- { id: i2.GenderType.Female, description: $localize(templateObject_4$o || (templateObject_4$o = __makeTemplateObject([":@@EnumValue-Female:Female"], [":@@EnumValue-Female:Female"]))) },
1533
- { id: i2.GenderType.Other, description: $localize(templateObject_5$o || (templateObject_5$o = __makeTemplateObject([":@@EnumValue-Other:Other"], [":@@EnumValue-Other:Other"]))) }
1530
+ { id: i2.GenderType.Unknown, description: $localize(templateObject_2$p || (templateObject_2$p = __makeTemplateObject([":@@EnumValue-Unknown:Unknown"], [":@@EnumValue-Unknown:Unknown"]))) },
1531
+ { id: i2.GenderType.Male, description: $localize(templateObject_3$p || (templateObject_3$p = __makeTemplateObject([":@@EnumValue-Male:Male"], [":@@EnumValue-Male:Male"]))) },
1532
+ { id: i2.GenderType.Female, description: $localize(templateObject_4$p || (templateObject_4$p = __makeTemplateObject([":@@EnumValue-Female:Female"], [":@@EnumValue-Female:Female"]))) },
1533
+ { id: i2.GenderType.Other, description: $localize(templateObject_5$p || (templateObject_5$p = __makeTemplateObject([":@@EnumValue-Other:Other"], [":@@EnumValue-Other:Other"]))) }
1534
1534
  ];
1535
1535
  this.fullNameSortOrder = "asc";
1536
1536
  this.editorOptions_Supervisor = { readOnly: true, itemTemplate: 'employee_itemTemplate', fieldTemplate: 'employee_fieldTemplate', valueExpr: 'Id', displayExpr: 'Name', searchEnabled: true, searchExpr: ['EmployeeNumber', 'Name'], showClearButton: true };
@@ -1636,7 +1636,7 @@
1636
1636
  var _a;
1637
1637
  if (((_a = this.employee) === null || _a === void 0 ? void 0 : _a.Id) && this.employee_store) {
1638
1638
  this.isLoadingData = true;
1639
- this.loadingText = $localize(templateObject_6$n || (templateObject_6$n = __makeTemplateObject([":@@Loading-Text-Employee:Loading employee..."], [":@@Loading-Text-Employee:Loading employee..."])));
1639
+ this.loadingText = $localize(templateObject_6$o || (templateObject_6$o = __makeTemplateObject([":@@Loading-Text-Employee:Loading employee..."], [":@@Loading-Text-Employee:Loading employee..."])));
1640
1640
  this.employee_store.byKey(this.employee.Id, { expand: this.employee_expands }).then(function (dataItem) {
1641
1641
  _this.formEmployee = Object.assign(new i2.Employee(), dataItem[0]);
1642
1642
  _this.employee = _this.formEmployee;
@@ -1644,14 +1644,14 @@
1644
1644
  _this.isLoadingData = false;
1645
1645
  _this.hasErrors = false;
1646
1646
  _this.errorText = "";
1647
- _this.loadingText = $localize(templateObject_7$n || (templateObject_7$n = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
1647
+ _this.loadingText = $localize(templateObject_7$o || (templateObject_7$o = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
1648
1648
  _this.employeeChanged.emit(_this.employee);
1649
1649
  }, function (error) {
1650
1650
  console.log(error);
1651
1651
  _this.isLoadingData = false;
1652
1652
  _this.hasErrors = true;
1653
1653
  _this.errorText = error;
1654
- _this.loadingText = $localize(templateObject_8$n || (templateObject_8$n = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
1654
+ _this.loadingText = $localize(templateObject_8$o || (templateObject_8$o = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
1655
1655
  });
1656
1656
  }
1657
1657
  };
@@ -1921,7 +1921,7 @@
1921
1921
  type: i0.ViewChild,
1922
1922
  args: ['form']
1923
1923
  }] } });
1924
- var templateObject_1$s, templateObject_2$o, templateObject_3$o, templateObject_4$o, templateObject_5$o, templateObject_6$n, templateObject_7$n, templateObject_8$n, templateObject_9$f, templateObject_10$f, templateObject_11$c, templateObject_12$a;
1924
+ var templateObject_1$t, templateObject_2$p, templateObject_3$p, templateObject_4$p, templateObject_5$p, templateObject_6$o, templateObject_7$o, templateObject_8$o, templateObject_9$f, templateObject_10$f, templateObject_11$c, templateObject_12$a;
1925
1925
 
1926
1926
  var EmployeeUserInfoComponent = /** @class */ (function () {
1927
1927
  function EmployeeUserInfoComponent(coreService, cloudDataService, matDialog, usernameValidator) {
@@ -1934,25 +1934,25 @@
1934
1934
  this.inEditMode = false;
1935
1935
  this.fullEditAllowed = false;
1936
1936
  this.isLoadingData = false;
1937
- this.loadingText = $localize(templateObject_1$r || (templateObject_1$r = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
1937
+ this.loadingText = $localize(templateObject_1$s || (templateObject_1$s = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
1938
1938
  this.hasErrors = false;
1939
1939
  this.errorText = "";
1940
1940
  this.employeeChanged = new i0.EventEmitter();
1941
1941
  this.certificateLogin = false;
1942
1942
  this.status_ds = [
1943
- { id: false, description: $localize(templateObject_2$n || (templateObject_2$n = __makeTemplateObject([":@@FieldValue-InActive:Inactive"], [":@@FieldValue-InActive:Inactive"]))) },
1944
- { id: true, description: $localize(templateObject_3$n || (templateObject_3$n = __makeTemplateObject([":@@FieldValue-Active:Active"], [":@@FieldValue-Active:Active"]))) }
1943
+ { id: false, description: $localize(templateObject_2$o || (templateObject_2$o = __makeTemplateObject([":@@FieldValue-InActive:Inactive"], [":@@FieldValue-InActive:Inactive"]))) },
1944
+ { id: true, description: $localize(templateObject_3$o || (templateObject_3$o = __makeTemplateObject([":@@FieldValue-Active:Active"], [":@@FieldValue-Active:Active"]))) }
1945
1945
  ];
1946
1946
  this.loginType_ds = [
1947
- { id: false, description: $localize(templateObject_4$n || (templateObject_4$n = __makeTemplateObject([":@@FieldValue-AppLogin-Regular:Regular"], [":@@FieldValue-AppLogin-Regular:Regular"]))) },
1948
- { id: true, description: $localize(templateObject_5$n || (templateObject_5$n = __makeTemplateObject([":@@FieldValue-AppLogin-AppUser: App user"], [":@@FieldValue-AppLogin-AppUser: App user"]))) }
1947
+ { id: false, description: $localize(templateObject_4$o || (templateObject_4$o = __makeTemplateObject([":@@FieldValue-AppLogin-Regular:Regular"], [":@@FieldValue-AppLogin-Regular:Regular"]))) },
1948
+ { id: true, description: $localize(templateObject_5$o || (templateObject_5$o = __makeTemplateObject([":@@FieldValue-AppLogin-AppUser: App user"], [":@@FieldValue-AppLogin-AppUser: App user"]))) }
1949
1949
  ];
1950
1950
  this.boolean_ds = [
1951
- { id: false, description: $localize(templateObject_6$m || (templateObject_6$m = __makeTemplateObject([":@@FieldValue-No:No"], [":@@FieldValue-No:No"]))) },
1952
- { id: true, description: $localize(templateObject_7$m || (templateObject_7$m = __makeTemplateObject([":@@FieldValue-Yes:Yes"], [":@@FieldValue-Yes:Yes"]))) }
1951
+ { id: false, description: $localize(templateObject_6$n || (templateObject_6$n = __makeTemplateObject([":@@FieldValue-No:No"], [":@@FieldValue-No:No"]))) },
1952
+ { id: true, description: $localize(templateObject_7$n || (templateObject_7$n = __makeTemplateObject([":@@FieldValue-Yes:Yes"], [":@@FieldValue-Yes:Yes"]))) }
1953
1953
  ];
1954
1954
  this.consignmentValidation_ds = [
1955
- { value: i2.ConsignmentEmployeeValidation.None, text: $localize(templateObject_8$m || (templateObject_8$m = __makeTemplateObject([":@@EnumValue-ConsignmentEmployeeValidation-None:None"], [":@@EnumValue-ConsignmentEmployeeValidation-None:None"]))) },
1955
+ { value: i2.ConsignmentEmployeeValidation.None, text: $localize(templateObject_8$n || (templateObject_8$n = __makeTemplateObject([":@@EnumValue-ConsignmentEmployeeValidation-None:None"], [":@@EnumValue-ConsignmentEmployeeValidation-None:None"]))) },
1956
1956
  { value: i2.ConsignmentEmployeeValidation.ConfirmAll, text: $localize(templateObject_9$e || (templateObject_9$e = __makeTemplateObject([":@@EnumValue-ConsignmentEmployeeValidation-ConfirmAll: Confirm all"], [":@@EnumValue-ConsignmentEmployeeValidation-ConfirmAll: Confirm all"]))) }
1957
1957
  ];
1958
1958
  this.editorOptions_Status = { dataSource: this.status_ds, valueExpr: 'id', displayExpr: 'description', readOnly: true };
@@ -2148,7 +2148,7 @@
2148
2148
  type: i0.ViewChildren,
2149
2149
  args: [i7.DxDataGridComponent]
2150
2150
  }] } });
2151
- var templateObject_1$r, templateObject_2$n, templateObject_3$n, templateObject_4$n, templateObject_5$n, templateObject_6$m, templateObject_7$m, templateObject_8$m, templateObject_9$e, templateObject_10$e, templateObject_11$b, templateObject_12$9, templateObject_13$7, templateObject_14$7, templateObject_15$5, templateObject_16$5;
2151
+ var templateObject_1$s, templateObject_2$o, templateObject_3$o, templateObject_4$o, templateObject_5$o, templateObject_6$n, templateObject_7$n, templateObject_8$n, templateObject_9$e, templateObject_10$e, templateObject_11$b, templateObject_12$9, templateObject_13$7, templateObject_14$7, templateObject_15$5, templateObject_16$5;
2152
2152
 
2153
2153
  var CameraDialogEditComponent = /** @class */ (function () {
2154
2154
  function CameraDialogEditComponent(dialogRef, data, matDialog) {
@@ -2470,7 +2470,7 @@
2470
2470
  this.inEditMode = false;
2471
2471
  this.fullEditAllowed = false;
2472
2472
  this.isLoadingData = false;
2473
- this.loadingText = $localize(templateObject_1$q || (templateObject_1$q = __makeTemplateObject([":@@UploadingLoading-Image-Text:Uploading image..."], [":@@UploadingLoading-Image-Text:Uploading image..."])));
2473
+ this.loadingText = $localize(templateObject_1$r || (templateObject_1$r = __makeTemplateObject([":@@UploadingLoading-Image-Text:Uploading image..."], [":@@UploadingLoading-Image-Text:Uploading image..."])));
2474
2474
  this.hasErrors = false;
2475
2475
  this.errorText = "";
2476
2476
  this.uploadUrl = undefined;
@@ -2538,7 +2538,7 @@
2538
2538
  }], employee_expands: [{
2539
2539
  type: i0.Input
2540
2540
  }] } });
2541
- var templateObject_1$q;
2541
+ var templateObject_1$r;
2542
2542
 
2543
2543
  var EmployeeAddressComponent = /** @class */ (function () {
2544
2544
  function EmployeeAddressComponent(coreService, cloudDataService, matDialog) {
@@ -2549,7 +2549,7 @@
2549
2549
  this.inEditMode = false;
2550
2550
  this.fullEditAllowed = false;
2551
2551
  this.isLoadingData = false;
2552
- this.loadingText = $localize(templateObject_1$p || (templateObject_1$p = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2552
+ this.loadingText = $localize(templateObject_1$q || (templateObject_1$q = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2553
2553
  this.hasErrors = false;
2554
2554
  this.errorText = "";
2555
2555
  this.employeeChanged = new i0.EventEmitter();
@@ -2592,7 +2592,7 @@
2592
2592
  var _a;
2593
2593
  if (((_a = this.employee) === null || _a === void 0 ? void 0 : _a.Id) && this.employee_store) {
2594
2594
  this.isLoadingData = true;
2595
- this.loadingText = $localize(templateObject_2$m || (templateObject_2$m = __makeTemplateObject([":@@Loading-Text-Employee:Loading employee..."], [":@@Loading-Text-Employee:Loading employee..."])));
2595
+ this.loadingText = $localize(templateObject_2$n || (templateObject_2$n = __makeTemplateObject([":@@Loading-Text-Employee:Loading employee..."], [":@@Loading-Text-Employee:Loading employee..."])));
2596
2596
  this.employee_store.byKey(this.employee.Id, { expand: this.employee_expands }).then(function (dataItem) {
2597
2597
  _this.formEmployee = Object.assign(new i2.Employee(), dataItem[0]);
2598
2598
  _this.employee = _this.formEmployee;
@@ -2600,14 +2600,14 @@
2600
2600
  _this.isLoadingData = false;
2601
2601
  _this.hasErrors = false;
2602
2602
  _this.errorText = "";
2603
- _this.loadingText = $localize(templateObject_3$m || (templateObject_3$m = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2603
+ _this.loadingText = $localize(templateObject_3$n || (templateObject_3$n = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2604
2604
  _this.employeeChanged.emit(_this.employee);
2605
2605
  }, function (error) {
2606
2606
  console.log(error);
2607
2607
  _this.isLoadingData = false;
2608
2608
  _this.hasErrors = true;
2609
2609
  _this.errorText = error;
2610
- _this.loadingText = $localize(templateObject_4$m || (templateObject_4$m = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2610
+ _this.loadingText = $localize(templateObject_4$n || (templateObject_4$n = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2611
2611
  });
2612
2612
  }
2613
2613
  };
@@ -2631,7 +2631,7 @@
2631
2631
  var _a;
2632
2632
  if (this.formEmployee && ((_a = this.employee) === null || _a === void 0 ? void 0 : _a.Id) && this.employee_store) {
2633
2633
  this.isLoadingData = true;
2634
- this.loadingText = $localize(templateObject_5$m || (templateObject_5$m = __makeTemplateObject([":@@Updating-Text-Employee:Updating employee..."], [":@@Updating-Text-Employee:Updating employee..."])));
2634
+ this.loadingText = $localize(templateObject_5$n || (templateObject_5$n = __makeTemplateObject([":@@Updating-Text-Employee:Updating employee..."], [":@@Updating-Text-Employee:Updating employee..."])));
2635
2635
  var data = {
2636
2636
  Street: this.formEmployee.Street,
2637
2637
  ZipCode: this.formEmployee.ZipCode,
@@ -2645,12 +2645,12 @@
2645
2645
  _this.getEmployee();
2646
2646
  _this.isLoadingData = false;
2647
2647
  _this.inEditMode = false;
2648
- _this.loadingText = $localize(templateObject_6$l || (templateObject_6$l = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2648
+ _this.loadingText = $localize(templateObject_6$m || (templateObject_6$m = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2649
2649
  }, function (error) {
2650
2650
  console.log(error);
2651
2651
  _this.isLoadingData = false;
2652
- _this.loadingText = $localize(templateObject_7$l || (templateObject_7$l = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2653
- MessageBox.showError({ title: $localize(templateObject_8$l || (templateObject_8$l = __makeTemplateObject([":@@Failed-Text-Employee:Employee update failed"], [":@@Failed-Text-Employee:Employee update failed"]))), message: error }, _this.matDialog)
2652
+ _this.loadingText = $localize(templateObject_7$m || (templateObject_7$m = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2653
+ MessageBox.showError({ title: $localize(templateObject_8$m || (templateObject_8$m = __makeTemplateObject([":@@Failed-Text-Employee:Employee update failed"], [":@@Failed-Text-Employee:Employee update failed"]))), message: error }, _this.matDialog)
2654
2654
  .subscribe(function (result) {
2655
2655
  });
2656
2656
  });
@@ -2726,7 +2726,7 @@
2726
2726
  type: i0.ViewChildren,
2727
2727
  args: [i7.DxDataGridComponent]
2728
2728
  }] } });
2729
- var templateObject_1$p, templateObject_2$m, templateObject_3$m, templateObject_4$m, templateObject_5$m, templateObject_6$l, templateObject_7$l, templateObject_8$l;
2729
+ var templateObject_1$q, templateObject_2$n, templateObject_3$n, templateObject_4$n, templateObject_5$n, templateObject_6$m, templateObject_7$m, templateObject_8$m;
2730
2730
 
2731
2731
  var EmployeeCheckinInfoComponent = /** @class */ (function () {
2732
2732
  function EmployeeCheckinInfoComponent(coreService, cloudDataService, matDialog, usernameValidator) {
@@ -2738,13 +2738,13 @@
2738
2738
  this.inEditMode = false;
2739
2739
  this.fullEditAllowed = false;
2740
2740
  this.isLoadingData = false;
2741
- this.loadingText = $localize(templateObject_1$o || (templateObject_1$o = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2741
+ this.loadingText = $localize(templateObject_1$p || (templateObject_1$p = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2742
2742
  this.hasErrors = false;
2743
2743
  this.errorText = "";
2744
2744
  this.employeeChanged = new i0.EventEmitter();
2745
2745
  this.boolean_ds = [
2746
- { value: false, text: $localize(templateObject_2$l || (templateObject_2$l = __makeTemplateObject([":@@FieldValue-No:No"], [":@@FieldValue-No:No"]))) },
2747
- { value: true, text: $localize(templateObject_3$l || (templateObject_3$l = __makeTemplateObject([":@@FieldValue-Yes:Yes"], [":@@FieldValue-Yes:Yes"]))) }
2746
+ { value: false, text: $localize(templateObject_2$m || (templateObject_2$m = __makeTemplateObject([":@@FieldValue-No:No"], [":@@FieldValue-No:No"]))) },
2747
+ { value: true, text: $localize(templateObject_3$m || (templateObject_3$m = __makeTemplateObject([":@@FieldValue-Yes:Yes"], [":@@FieldValue-Yes:Yes"]))) }
2748
2748
  ];
2749
2749
  this.editorOptions_CheckedIn = { dataSource: this.boolean_ds, valueExpr: 'value', displayExpr: 'text', readOnly: true };
2750
2750
  this.editorOptions_CheckedInProject = { dataSource: this.boolean_ds, valueExpr: 'value', displayExpr: 'text', readOnly: true };
@@ -2774,7 +2774,7 @@
2774
2774
  var _a;
2775
2775
  if (((_a = this.employee) === null || _a === void 0 ? void 0 : _a.Id) && this.employee_store) {
2776
2776
  this.isLoadingData = true;
2777
- this.loadingText = $localize(templateObject_4$l || (templateObject_4$l = __makeTemplateObject([":@@Loading-Text-Employee:Loading employee..."], [":@@Loading-Text-Employee:Loading employee..."])));
2777
+ this.loadingText = $localize(templateObject_4$m || (templateObject_4$m = __makeTemplateObject([":@@Loading-Text-Employee:Loading employee..."], [":@@Loading-Text-Employee:Loading employee..."])));
2778
2778
  this.employee_store.byKey(this.employee.Id, { expand: this.employee_expands }).then(function (dataItem) {
2779
2779
  _this.formEmployee = Object.assign(new i2.Employee(), dataItem[0]);
2780
2780
  if (_this.formEmployee && _this.formEmployee.CheckinInfo_CheckedIn === undefined) {
@@ -2788,14 +2788,14 @@
2788
2788
  _this.isLoadingData = false;
2789
2789
  _this.hasErrors = false;
2790
2790
  _this.errorText = "";
2791
- _this.loadingText = $localize(templateObject_5$l || (templateObject_5$l = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2791
+ _this.loadingText = $localize(templateObject_5$m || (templateObject_5$m = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2792
2792
  _this.employeeChanged.emit(_this.employee);
2793
2793
  }, function (error) {
2794
2794
  console.log(error);
2795
2795
  _this.isLoadingData = false;
2796
2796
  _this.hasErrors = true;
2797
2797
  _this.errorText = error;
2798
- _this.loadingText = $localize(templateObject_6$k || (templateObject_6$k = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2798
+ _this.loadingText = $localize(templateObject_6$l || (templateObject_6$l = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2799
2799
  });
2800
2800
  }
2801
2801
  };
@@ -2819,7 +2819,7 @@
2819
2819
  var _a, _b, _c, _d, _e, _f, _g, _h;
2820
2820
  if (((_a = this.employee) === null || _a === void 0 ? void 0 : _a.Id) && this.employee_store) {
2821
2821
  this.isLoadingData = true;
2822
- this.loadingText = $localize(templateObject_7$k || (templateObject_7$k = __makeTemplateObject([":@@Updating-Text-Employee:Updating employee..."], [":@@Updating-Text-Employee:Updating employee..."])));
2822
+ this.loadingText = $localize(templateObject_7$l || (templateObject_7$l = __makeTemplateObject([":@@Updating-Text-Employee:Updating employee..."], [":@@Updating-Text-Employee:Updating employee..."])));
2823
2823
  var update_values = {
2824
2824
  CheckinInfo_CheckedIn: (_b = this.formEmployee) === null || _b === void 0 ? void 0 : _b.CheckinInfo_CheckedIn,
2825
2825
  CheckinInfo_Time: (_c = this.formEmployee) === null || _c === void 0 ? void 0 : _c.CheckinInfo_Time,
@@ -2834,7 +2834,7 @@
2834
2834
  _this.getEmployee();
2835
2835
  _this.isLoadingData = false;
2836
2836
  _this.inEditMode = false;
2837
- _this.loadingText = $localize(templateObject_8$k || (templateObject_8$k = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2837
+ _this.loadingText = $localize(templateObject_8$l || (templateObject_8$l = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
2838
2838
  }, function (error) {
2839
2839
  console.log(error);
2840
2840
  _this.isLoadingData = false;
@@ -2886,7 +2886,7 @@
2886
2886
  type: i0.ViewChild,
2887
2887
  args: ['form']
2888
2888
  }] } });
2889
- var templateObject_1$o, templateObject_2$l, templateObject_3$l, templateObject_4$l, templateObject_5$l, templateObject_6$k, templateObject_7$k, templateObject_8$k, templateObject_9$d, templateObject_10$d;
2889
+ var templateObject_1$p, templateObject_2$m, templateObject_3$m, templateObject_4$m, templateObject_5$m, templateObject_6$l, templateObject_7$l, templateObject_8$l, templateObject_9$d, templateObject_10$d;
2890
2890
 
2891
2891
  ;
2892
2892
  ;
@@ -2898,20 +2898,20 @@
2898
2898
  this.router = router;
2899
2899
  this.location = location;
2900
2900
  this.employee_expands = ["Department", "InventLocation", "Supervisor", "Image($select=StorageAccountName,BlobContainerName,BlobName)"];
2901
- this.profileCaption = $localize(templateObject_1$n || (templateObject_1$n = __makeTemplateObject([":@@MyProfileCaption-Text:My Profile"], [":@@MyProfileCaption-Text:My Profile"])));
2902
- this.organizationCaption = $localize(templateObject_2$k || (templateObject_2$k = __makeTemplateObject([":@@Organization-SubCaption-Text:Organization"], [":@@Organization-SubCaption-Text:Organization"])));
2903
- this.accountNumberCaption = $localize(templateObject_3$k || (templateObject_3$k = __makeTemplateObject([":@@AccountNumber-SubCaption-Text:Account no."], [":@@AccountNumber-SubCaption-Text:Account no."])));
2901
+ this.profileCaption = $localize(templateObject_1$o || (templateObject_1$o = __makeTemplateObject([":@@MyProfileCaption-Text:My Profile"], [":@@MyProfileCaption-Text:My Profile"])));
2902
+ this.organizationCaption = $localize(templateObject_2$l || (templateObject_2$l = __makeTemplateObject([":@@Organization-SubCaption-Text:Organization"], [":@@Organization-SubCaption-Text:Organization"])));
2903
+ this.accountNumberCaption = $localize(templateObject_3$l || (templateObject_3$l = __makeTemplateObject([":@@AccountNumber-SubCaption-Text:Account no."], [":@@AccountNumber-SubCaption-Text:Account no."])));
2904
2904
  this.selectedTabIndex = 0;
2905
2905
  this.isLoadingData = false;
2906
- this.loadingText = $localize(templateObject_4$k || (templateObject_4$k = __makeTemplateObject([":@@Loading-Text:Loading ..."], [":@@Loading-Text:Loading ..."])));
2906
+ this.loadingText = $localize(templateObject_4$l || (templateObject_4$l = __makeTemplateObject([":@@Loading-Text:Loading ..."], [":@@Loading-Text:Loading ..."])));
2907
2907
  this.hasErrors = false;
2908
- this.errorCaption = $localize(templateObject_5$k || (templateObject_5$k = __makeTemplateObject([":@@CaptionHeader-Error:Error"], [":@@CaptionHeader-Error:Error"])));
2908
+ this.errorCaption = $localize(templateObject_5$l || (templateObject_5$l = __makeTemplateObject([":@@CaptionHeader-Error:Error"], [":@@CaptionHeader-Error:Error"])));
2909
2909
  this.errorText = "";
2910
2910
  this.enableRetryOnError = false;
2911
2911
  this.isLoadingData = true;
2912
2912
  this.hasErrors = false;
2913
2913
  this.errorText = "";
2914
- this.loadingText = $localize(templateObject_6$j || (templateObject_6$j = __makeTemplateObject([":@@LoadingProfile-Text:Loading profile ..."], [":@@LoadingProfile-Text:Loading profile ..."])));
2914
+ this.loadingText = $localize(templateObject_6$k || (templateObject_6$k = __makeTemplateObject([":@@LoadingProfile-Text:Loading profile ..."], [":@@LoadingProfile-Text:Loading profile ..."])));
2915
2915
  }
2916
2916
  ProfilePageEmployeeComponent.prototype.ngOnInit = function () {
2917
2917
  var _this = this;
@@ -2930,8 +2930,8 @@
2930
2930
  };
2931
2931
  ProfilePageEmployeeComponent.prototype.updateToolbarItems = function () {
2932
2932
  this.toolbarItems = [];
2933
- this.toolbarItems.push({ caption: $localize(templateObject_7$j || (templateObject_7$j = __makeTemplateObject([":@@Action-ResetPasswords:Reset password"], [":@@Action-ResetPasswords:Reset password"]))), svg: "mobicloud_password_reset", click: "EMPLOYEE_DETAILS_RESETPASSWORD", link: "", click_paramters: [] });
2934
- this.toolbarItems.push({ caption: $localize(templateObject_8$j || (templateObject_8$j = __makeTemplateObject([":@@Action-Refresh:Refresh"], [":@@Action-Refresh:Refresh"]))), svg: "mobicloud_refresh", click: "EMPLOYEE_DETAILS_REFRESH", link: "", click_paramters: [] });
2933
+ this.toolbarItems.push({ caption: $localize(templateObject_7$k || (templateObject_7$k = __makeTemplateObject([":@@Action-ResetPasswords:Reset password"], [":@@Action-ResetPasswords:Reset password"]))), svg: "mobicloud_password_reset", click: "EMPLOYEE_DETAILS_RESETPASSWORD", link: "", click_paramters: [] });
2934
+ this.toolbarItems.push({ caption: $localize(templateObject_8$k || (templateObject_8$k = __makeTemplateObject([":@@Action-Refresh:Refresh"], [":@@Action-Refresh:Refresh"]))), svg: "mobicloud_refresh", click: "EMPLOYEE_DETAILS_REFRESH", link: "", click_paramters: [] });
2935
2935
  };
2936
2936
  ProfilePageEmployeeComponent.prototype.onToolbarItemClick = function (e) {
2937
2937
  return __awaiter(this, void 0, void 0, function () {
@@ -3052,7 +3052,7 @@
3052
3052
  }], enableRetryOnError: [{
3053
3053
  type: i0.Input
3054
3054
  }] } });
3055
- var templateObject_1$n, templateObject_2$k, templateObject_3$k, templateObject_4$k, templateObject_5$k, templateObject_6$j, templateObject_7$j, templateObject_8$j, templateObject_9$c, templateObject_10$c, templateObject_11$a, templateObject_12$8, templateObject_13$6, templateObject_14$6, templateObject_15$4, templateObject_16$4, templateObject_17$4;
3055
+ var templateObject_1$o, templateObject_2$l, templateObject_3$l, templateObject_4$l, templateObject_5$l, templateObject_6$k, templateObject_7$k, templateObject_8$k, templateObject_9$c, templateObject_10$c, templateObject_11$a, templateObject_12$8, templateObject_13$6, templateObject_14$6, templateObject_15$4, templateObject_16$4, templateObject_17$4;
3056
3056
 
3057
3057
  var CustomerUserGeneralComponent = /** @class */ (function () {
3058
3058
  function CustomerUserGeneralComponent(coreService, cloudDataService, matDialog) {
@@ -3064,15 +3064,15 @@
3064
3064
  this.fullEditAllowed = false;
3065
3065
  this.inEditMode = false;
3066
3066
  this.isLoadingData = false;
3067
- this.loadingText = $localize(templateObject_1$m || (templateObject_1$m = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3067
+ this.loadingText = $localize(templateObject_1$n || (templateObject_1$n = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3068
3068
  this.hasErrors = false;
3069
3069
  this.errorText = "";
3070
3070
  this.userChanged = new i0.EventEmitter();
3071
3071
  this.genderType_ds = [
3072
- { id: i2.GenderType.Unknown, description: $localize(templateObject_2$j || (templateObject_2$j = __makeTemplateObject([":@@EnumValue-Unknown:Unknown"], [":@@EnumValue-Unknown:Unknown"]))) },
3073
- { id: i2.GenderType.Male, description: $localize(templateObject_3$j || (templateObject_3$j = __makeTemplateObject([":@@EnumValue-Male:Male"], [":@@EnumValue-Male:Male"]))) },
3074
- { id: i2.GenderType.Female, description: $localize(templateObject_4$j || (templateObject_4$j = __makeTemplateObject([":@@EnumValue-Female:Female"], [":@@EnumValue-Female:Female"]))) },
3075
- { id: i2.GenderType.Other, description: $localize(templateObject_5$j || (templateObject_5$j = __makeTemplateObject([":@@EnumValue-Other:Other"], [":@@EnumValue-Other:Other"]))) }
3072
+ { id: i2.GenderType.Unknown, description: $localize(templateObject_2$k || (templateObject_2$k = __makeTemplateObject([":@@EnumValue-Unknown:Unknown"], [":@@EnumValue-Unknown:Unknown"]))) },
3073
+ { id: i2.GenderType.Male, description: $localize(templateObject_3$k || (templateObject_3$k = __makeTemplateObject([":@@EnumValue-Male:Male"], [":@@EnumValue-Male:Male"]))) },
3074
+ { id: i2.GenderType.Female, description: $localize(templateObject_4$k || (templateObject_4$k = __makeTemplateObject([":@@EnumValue-Female:Female"], [":@@EnumValue-Female:Female"]))) },
3075
+ { id: i2.GenderType.Other, description: $localize(templateObject_5$k || (templateObject_5$k = __makeTemplateObject([":@@EnumValue-Other:Other"], [":@@EnumValue-Other:Other"]))) }
3076
3076
  ];
3077
3077
  this._countryId = undefined;
3078
3078
  this._selectedCountry = undefined;
@@ -3119,7 +3119,7 @@
3119
3119
  var _a;
3120
3120
  if (((_a = this.user) === null || _a === void 0 ? void 0 : _a.Id) && this.user_store) {
3121
3121
  this.isLoadingData = true;
3122
- this.loadingText = $localize(templateObject_6$i || (templateObject_6$i = __makeTemplateObject([":@@Loading-Text-CustomerUser:Loading user..."], [":@@Loading-Text-CustomerUser:Loading user..."])));
3122
+ this.loadingText = $localize(templateObject_6$j || (templateObject_6$j = __makeTemplateObject([":@@Loading-Text-CustomerUser:Loading user..."], [":@@Loading-Text-CustomerUser:Loading user..."])));
3123
3123
  this.user_store.byKey(this.user.Id, { expand: this.user_expands }).then(function (dataItem) {
3124
3124
  _this.formUser = Object.assign(new i2.CustomerUser(), dataItem[0]);
3125
3125
  _this.user = _this.formUser;
@@ -3127,14 +3127,14 @@
3127
3127
  _this.isLoadingData = false;
3128
3128
  _this.hasErrors = false;
3129
3129
  _this.errorText = "";
3130
- _this.loadingText = $localize(templateObject_7$i || (templateObject_7$i = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3130
+ _this.loadingText = $localize(templateObject_7$j || (templateObject_7$j = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3131
3131
  _this.userChanged.emit(_this.user);
3132
3132
  }, function (error) {
3133
3133
  console.log(error);
3134
3134
  _this.isLoadingData = false;
3135
3135
  _this.hasErrors = true;
3136
3136
  _this.errorText = error;
3137
- _this.loadingText = $localize(templateObject_8$i || (templateObject_8$i = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3137
+ _this.loadingText = $localize(templateObject_8$j || (templateObject_8$j = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3138
3138
  });
3139
3139
  }
3140
3140
  };
@@ -3276,7 +3276,7 @@
3276
3276
  type: i0.ViewChildren,
3277
3277
  args: [i7.DxDataGridComponent]
3278
3278
  }] } });
3279
- var templateObject_1$m, templateObject_2$j, templateObject_3$j, templateObject_4$j, templateObject_5$j, templateObject_6$i, templateObject_7$i, templateObject_8$i, templateObject_9$b, templateObject_10$b, templateObject_11$9, templateObject_12$7;
3279
+ var templateObject_1$n, templateObject_2$k, templateObject_3$k, templateObject_4$k, templateObject_5$k, templateObject_6$j, templateObject_7$j, templateObject_8$j, templateObject_9$b, templateObject_10$b, templateObject_11$9, templateObject_12$7;
3280
3280
 
3281
3281
  var CustomerUserDetailsComponent = /** @class */ (function () {
3282
3282
  function CustomerUserDetailsComponent(coreService, cloudDataService, matDialog, usernameValidator) {
@@ -3289,21 +3289,21 @@
3289
3289
  this.fullEditAllowed = false;
3290
3290
  this.inEditMode = false;
3291
3291
  this.isLoadingData = false;
3292
- this.loadingText = $localize(templateObject_1$l || (templateObject_1$l = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3292
+ this.loadingText = $localize(templateObject_1$m || (templateObject_1$m = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3293
3293
  this.hasErrors = false;
3294
3294
  this.errorText = "";
3295
3295
  this.userChanged = new i0.EventEmitter();
3296
3296
  this.status_ds = [
3297
- { id: false, description: $localize(templateObject_2$i || (templateObject_2$i = __makeTemplateObject([":@@@FieldValue-InActive:Inactive"], [":@@@FieldValue-InActive:Inactive"]))) },
3298
- { id: true, description: $localize(templateObject_3$i || (templateObject_3$i = __makeTemplateObject([":@@@FieldValue-Active:Active"], [":@@@FieldValue-Active:Active"]))) }
3297
+ { id: false, description: $localize(templateObject_2$j || (templateObject_2$j = __makeTemplateObject([":@@@FieldValue-InActive:Inactive"], [":@@@FieldValue-InActive:Inactive"]))) },
3298
+ { id: true, description: $localize(templateObject_3$j || (templateObject_3$j = __makeTemplateObject([":@@@FieldValue-Active:Active"], [":@@@FieldValue-Active:Active"]))) }
3299
3299
  ];
3300
3300
  this.loginType_ds = [
3301
- { id: false, description: $localize(templateObject_4$i || (templateObject_4$i = __makeTemplateObject([":@@FieldValue-AppLogin-Regular:Regular"], [":@@FieldValue-AppLogin-Regular:Regular"]))) },
3302
- { id: true, description: $localize(templateObject_5$i || (templateObject_5$i = __makeTemplateObject([":@@FieldValue-AppLogin-AppUser: App user"], [":@@FieldValue-AppLogin-AppUser: App user"]))) }
3301
+ { id: false, description: $localize(templateObject_4$j || (templateObject_4$j = __makeTemplateObject([":@@FieldValue-AppLogin-Regular:Regular"], [":@@FieldValue-AppLogin-Regular:Regular"]))) },
3302
+ { id: true, description: $localize(templateObject_5$j || (templateObject_5$j = __makeTemplateObject([":@@FieldValue-AppLogin-AppUser: App user"], [":@@FieldValue-AppLogin-AppUser: App user"]))) }
3303
3303
  ];
3304
3304
  this.boolean_ds = [
3305
- { id: false, description: $localize(templateObject_6$h || (templateObject_6$h = __makeTemplateObject([":@@FieldValue-No:No"], [":@@FieldValue-No:No"]))) },
3306
- { id: true, description: $localize(templateObject_7$h || (templateObject_7$h = __makeTemplateObject([":@@FieldValue-Yes:Yes"], [":@@FieldValue-Yes:Yes"]))) }
3305
+ { id: false, description: $localize(templateObject_6$i || (templateObject_6$i = __makeTemplateObject([":@@FieldValue-No:No"], [":@@FieldValue-No:No"]))) },
3306
+ { id: true, description: $localize(templateObject_7$i || (templateObject_7$i = __makeTemplateObject([":@@FieldValue-Yes:Yes"], [":@@FieldValue-Yes:Yes"]))) }
3307
3307
  ];
3308
3308
  this.usernameValidation = this.usernameValidation.bind(this);
3309
3309
  }
@@ -3338,7 +3338,7 @@
3338
3338
  var _a;
3339
3339
  if (((_a = this.user) === null || _a === void 0 ? void 0 : _a.Id) && this.user_store) {
3340
3340
  this.isLoadingData = true;
3341
- this.loadingText = $localize(templateObject_8$h || (templateObject_8$h = __makeTemplateObject([":@@Loading-Text-CustomerUser:Loading user..."], [":@@Loading-Text-CustomerUser:Loading user..."])));
3341
+ this.loadingText = $localize(templateObject_8$i || (templateObject_8$i = __makeTemplateObject([":@@Loading-Text-CustomerUser:Loading user..."], [":@@Loading-Text-CustomerUser:Loading user..."])));
3342
3342
  this.user_store.byKey(this.user.Id, { expand: this.user_expands }).then(function (dataItem) {
3343
3343
  _this.formUser = Object.assign(new i2.CustomerUser(), dataItem[0]);
3344
3344
  _this.user = _this.formUser;
@@ -3453,7 +3453,7 @@
3453
3453
  type: i0.ViewChildren,
3454
3454
  args: [i7.DxDataGridComponent]
3455
3455
  }] } });
3456
- var templateObject_1$l, templateObject_2$i, templateObject_3$i, templateObject_4$i, templateObject_5$i, templateObject_6$h, templateObject_7$h, templateObject_8$h, templateObject_9$a, templateObject_10$a, templateObject_11$8, templateObject_12$6, templateObject_13$5, templateObject_14$5;
3456
+ var templateObject_1$m, templateObject_2$j, templateObject_3$j, templateObject_4$j, templateObject_5$j, templateObject_6$i, templateObject_7$i, templateObject_8$i, templateObject_9$a, templateObject_10$a, templateObject_11$8, templateObject_12$6, templateObject_13$5, templateObject_14$5;
3457
3457
 
3458
3458
  var CustomerUserAddressComponent = /** @class */ (function () {
3459
3459
  function CustomerUserAddressComponent(coreService, cloudDataService, matDialog) {
@@ -3465,7 +3465,7 @@
3465
3465
  this.fullEditAllowed = false;
3466
3466
  this.inEditMode = false;
3467
3467
  this.isLoadingData = false;
3468
- this.loadingText = $localize(templateObject_1$k || (templateObject_1$k = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3468
+ this.loadingText = $localize(templateObject_1$l || (templateObject_1$l = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3469
3469
  this.hasErrors = false;
3470
3470
  this.errorText = "";
3471
3471
  this.userChanged = new i0.EventEmitter();
@@ -3507,7 +3507,7 @@
3507
3507
  var _a;
3508
3508
  if (((_a = this.user) === null || _a === void 0 ? void 0 : _a.Id) && this.user_store) {
3509
3509
  this.isLoadingData = true;
3510
- this.loadingText = $localize(templateObject_2$h || (templateObject_2$h = __makeTemplateObject([":@@Loading-Text-CustomerUser:Loading user..."], [":@@Loading-Text-CustomerUser:Loading user..."])));
3510
+ this.loadingText = $localize(templateObject_2$i || (templateObject_2$i = __makeTemplateObject([":@@Loading-Text-CustomerUser:Loading user..."], [":@@Loading-Text-CustomerUser:Loading user..."])));
3511
3511
  this.user_store.byKey(this.user.Id, { expand: this.user_expands }).then(function (dataItem) {
3512
3512
  _this.formUser = Object.assign(new i2.CustomerUser(), dataItem[0]);
3513
3513
  _this.user = _this.formUser;
@@ -3515,14 +3515,14 @@
3515
3515
  _this.isLoadingData = false;
3516
3516
  _this.hasErrors = false;
3517
3517
  _this.errorText = "";
3518
- _this.loadingText = $localize(templateObject_3$h || (templateObject_3$h = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3518
+ _this.loadingText = $localize(templateObject_3$i || (templateObject_3$i = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3519
3519
  _this.userChanged.emit(_this.user);
3520
3520
  }, function (error) {
3521
3521
  console.log(error);
3522
3522
  _this.isLoadingData = false;
3523
3523
  _this.hasErrors = true;
3524
3524
  _this.errorText = error;
3525
- _this.loadingText = $localize(templateObject_4$h || (templateObject_4$h = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3525
+ _this.loadingText = $localize(templateObject_4$i || (templateObject_4$i = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3526
3526
  });
3527
3527
  }
3528
3528
  };
@@ -3546,7 +3546,7 @@
3546
3546
  var _a, _b, _c, _d, _e, _f;
3547
3547
  if (((_a = this.user) === null || _a === void 0 ? void 0 : _a.Id) && this.user_store) {
3548
3548
  this.isLoadingData = true;
3549
- this.loadingText = $localize(templateObject_5$h || (templateObject_5$h = __makeTemplateObject([":@@Updating-Text-CustomerUser:Updating user..."], [":@@Updating-Text-CustomerUser:Updating user..."])));
3549
+ this.loadingText = $localize(templateObject_5$i || (templateObject_5$i = __makeTemplateObject([":@@Updating-Text-CustomerUser:Updating user..."], [":@@Updating-Text-CustomerUser:Updating user..."])));
3550
3550
  var data = {
3551
3551
  Street: (_b = this.formUser) === null || _b === void 0 ? void 0 : _b.Street,
3552
3552
  ZipCode: (_c = this.formUser) === null || _c === void 0 ? void 0 : _c.ZipCode,
@@ -3560,12 +3560,12 @@
3560
3560
  _this.getUser();
3561
3561
  _this.isLoadingData = false;
3562
3562
  _this.inEditMode = false;
3563
- _this.loadingText = $localize(templateObject_6$g || (templateObject_6$g = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3563
+ _this.loadingText = $localize(templateObject_6$h || (templateObject_6$h = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3564
3564
  }, function (error) {
3565
3565
  console.log(error);
3566
3566
  _this.isLoadingData = false;
3567
- _this.loadingText = $localize(templateObject_7$g || (templateObject_7$g = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3568
- MessageBox.showError({ title: $localize(templateObject_8$g || (templateObject_8$g = __makeTemplateObject([":@@Failed-Text-CustomerUser:User update failed"], [":@@Failed-Text-CustomerUser:User update failed"]))), message: error }, _this.matDialog)
3567
+ _this.loadingText = $localize(templateObject_7$h || (templateObject_7$h = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
3568
+ MessageBox.showError({ title: $localize(templateObject_8$h || (templateObject_8$h = __makeTemplateObject([":@@Failed-Text-CustomerUser:User update failed"], [":@@Failed-Text-CustomerUser:User update failed"]))), message: error }, _this.matDialog)
3569
3569
  .subscribe(function (result) {
3570
3570
  });
3571
3571
  });
@@ -3641,7 +3641,7 @@
3641
3641
  type: i0.ViewChildren,
3642
3642
  args: [i7.DxDataGridComponent]
3643
3643
  }] } });
3644
- var templateObject_1$k, templateObject_2$h, templateObject_3$h, templateObject_4$h, templateObject_5$h, templateObject_6$g, templateObject_7$g, templateObject_8$g;
3644
+ var templateObject_1$l, templateObject_2$i, templateObject_3$i, templateObject_4$i, templateObject_5$i, templateObject_6$h, templateObject_7$h, templateObject_8$h;
3645
3645
 
3646
3646
  var CustomerUserImageComponent = /** @class */ (function () {
3647
3647
  function CustomerUserImageComponent(coreService, cloudDataService) {
@@ -3651,7 +3651,7 @@
3651
3651
  this.inEditMode = false;
3652
3652
  this.fullEditAllowed = false;
3653
3653
  this.isLoadingData = false;
3654
- this.loadingText = $localize(templateObject_1$j || (templateObject_1$j = __makeTemplateObject([":@@UploadingLoading-Image-Text:Uploading image..."], [":@@UploadingLoading-Image-Text:Uploading image..."])));
3654
+ this.loadingText = $localize(templateObject_1$k || (templateObject_1$k = __makeTemplateObject([":@@UploadingLoading-Image-Text:Uploading image..."], [":@@UploadingLoading-Image-Text:Uploading image..."])));
3655
3655
  this.hasErrors = false;
3656
3656
  this.errorText = "";
3657
3657
  this.uploadUrl = undefined;
@@ -3717,7 +3717,7 @@
3717
3717
  }], user_expands: [{
3718
3718
  type: i0.Input
3719
3719
  }] } });
3720
- var templateObject_1$j;
3720
+ var templateObject_1$k;
3721
3721
 
3722
3722
  var ProfilePageCustomerUserComponent = /** @class */ (function () {
3723
3723
  function ProfilePageCustomerUserComponent(route, coreService, cloudDataService, router, location) {
@@ -3727,21 +3727,21 @@
3727
3727
  this.router = router;
3728
3728
  this.location = location;
3729
3729
  this.user_expands = ["Customer", "Image"];
3730
- this.profileCaption = $localize(templateObject_1$i || (templateObject_1$i = __makeTemplateObject([":@@MyProfileCaption-Text:My Profile"], [":@@MyProfileCaption-Text:My Profile"])));
3731
- this.organizationCaption = $localize(templateObject_2$g || (templateObject_2$g = __makeTemplateObject([":@@Organization-SubCaption-Text:Organization"], [":@@Organization-SubCaption-Text:Organization"])));
3732
- this.customerCaption = $localize(templateObject_3$g || (templateObject_3$g = __makeTemplateObject([":@@Customer-SubCaption-Text:Customer"], [":@@Customer-SubCaption-Text:Customer"])));
3733
- this.accountNumberCaption = $localize(templateObject_4$g || (templateObject_4$g = __makeTemplateObject([":@@AccountNumber-SubCaption-Text:Account no."], [":@@AccountNumber-SubCaption-Text:Account no."])));
3730
+ this.profileCaption = $localize(templateObject_1$j || (templateObject_1$j = __makeTemplateObject([":@@MyProfileCaption-Text:My Profile"], [":@@MyProfileCaption-Text:My Profile"])));
3731
+ this.organizationCaption = $localize(templateObject_2$h || (templateObject_2$h = __makeTemplateObject([":@@Organization-SubCaption-Text:Organization"], [":@@Organization-SubCaption-Text:Organization"])));
3732
+ this.customerCaption = $localize(templateObject_3$h || (templateObject_3$h = __makeTemplateObject([":@@Customer-SubCaption-Text:Customer"], [":@@Customer-SubCaption-Text:Customer"])));
3733
+ this.accountNumberCaption = $localize(templateObject_4$h || (templateObject_4$h = __makeTemplateObject([":@@AccountNumber-SubCaption-Text:Account no."], [":@@AccountNumber-SubCaption-Text:Account no."])));
3734
3734
  this.selectedTabIndex = 0;
3735
3735
  this.isLoadingData = false;
3736
- this.loadingText = $localize(templateObject_5$g || (templateObject_5$g = __makeTemplateObject([":@@Loading-Text:Loading ..."], [":@@Loading-Text:Loading ..."])));
3736
+ this.loadingText = $localize(templateObject_5$h || (templateObject_5$h = __makeTemplateObject([":@@Loading-Text:Loading ..."], [":@@Loading-Text:Loading ..."])));
3737
3737
  this.hasErrors = false;
3738
- this.errorCaption = $localize(templateObject_6$f || (templateObject_6$f = __makeTemplateObject([":@@CaptionHeader-Error:Error"], [":@@CaptionHeader-Error:Error"])));
3738
+ this.errorCaption = $localize(templateObject_6$g || (templateObject_6$g = __makeTemplateObject([":@@CaptionHeader-Error:Error"], [":@@CaptionHeader-Error:Error"])));
3739
3739
  this.errorText = "";
3740
3740
  this.enableRetryOnError = false;
3741
3741
  this.isLoadingData = true;
3742
3742
  this.hasErrors = false;
3743
3743
  this.errorText = "";
3744
- this.loadingText = $localize(templateObject_7$f || (templateObject_7$f = __makeTemplateObject([":@@LoadingProfile-Text:Loading profile ..."], [":@@LoadingProfile-Text:Loading profile ..."])));
3744
+ this.loadingText = $localize(templateObject_7$g || (templateObject_7$g = __makeTemplateObject([":@@LoadingProfile-Text:Loading profile ..."], [":@@LoadingProfile-Text:Loading profile ..."])));
3745
3745
  }
3746
3746
  ProfilePageCustomerUserComponent.prototype.ngOnInit = function () {
3747
3747
  var _this = this;
@@ -3761,7 +3761,7 @@
3761
3761
  };
3762
3762
  ProfilePageCustomerUserComponent.prototype.updateToolbarItems = function () {
3763
3763
  this.toolbarItems = [];
3764
- this.toolbarItems.push({ caption: $localize(templateObject_8$f || (templateObject_8$f = __makeTemplateObject([":@@Action-ResetPasswords:Reset password"], [":@@Action-ResetPasswords:Reset password"]))), svg: "mobicloud_password_reset", click: "CUSTOMERUSER_DETAILS_RESETPASSWORD", link: "", click_paramters: [] });
3764
+ this.toolbarItems.push({ caption: $localize(templateObject_8$g || (templateObject_8$g = __makeTemplateObject([":@@Action-ResetPasswords:Reset password"], [":@@Action-ResetPasswords:Reset password"]))), svg: "mobicloud_password_reset", click: "CUSTOMERUSER_DETAILS_RESETPASSWORD", link: "", click_paramters: [] });
3765
3765
  this.toolbarItems.push({ caption: $localize(templateObject_9$9 || (templateObject_9$9 = __makeTemplateObject([":@@Action-Refresh:Refresh"], [":@@Action-Refresh:Refresh"]))), svg: "mobicloud_refresh", click: "CUSTOMERUSER_DETAILS_REFRESH", link: "", click_paramters: [] });
3766
3766
  };
3767
3767
  ProfilePageCustomerUserComponent.prototype.onToolbarItemClick = function (e) {
@@ -3878,7 +3878,7 @@
3878
3878
  }], enableRetryOnError: [{
3879
3879
  type: i0.Input
3880
3880
  }] } });
3881
- var templateObject_1$i, templateObject_2$g, templateObject_3$g, templateObject_4$g, templateObject_5$g, templateObject_6$f, templateObject_7$f, templateObject_8$f, templateObject_9$9, templateObject_10$9, templateObject_11$7, templateObject_12$5, templateObject_13$4, templateObject_14$4, templateObject_15$3, templateObject_16$3, templateObject_17$3, templateObject_18$2;
3881
+ var templateObject_1$j, templateObject_2$h, templateObject_3$h, templateObject_4$h, templateObject_5$h, templateObject_6$g, templateObject_7$g, templateObject_8$g, templateObject_9$9, templateObject_10$9, templateObject_11$7, templateObject_12$5, templateObject_13$4, templateObject_14$4, templateObject_15$3, templateObject_16$3, templateObject_17$3, templateObject_18$2;
3882
3882
 
3883
3883
  var ProfilePageVendorUserComponent = /** @class */ (function () {
3884
3884
  function ProfilePageVendorUserComponent() {
@@ -4120,7 +4120,7 @@
4120
4120
  this.fullEditAllowed = false;
4121
4121
  this.inEditMode = false;
4122
4122
  this.isLoadingData = false;
4123
- this.loadingText = $localize(templateObject_1$h || (templateObject_1$h = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4123
+ this.loadingText = $localize(templateObject_1$i || (templateObject_1$i = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4124
4124
  this.hasErrors = false;
4125
4125
  this.errorText = "";
4126
4126
  this.userChanged = new i0.EventEmitter();
@@ -4162,7 +4162,7 @@
4162
4162
  var _a;
4163
4163
  if (((_a = this.user) === null || _a === void 0 ? void 0 : _a.Id) && this.user_store) {
4164
4164
  this.isLoadingData = true;
4165
- this.loadingText = $localize(templateObject_2$f || (templateObject_2$f = __makeTemplateObject([":@@Loading-Text-VendorUser:Loading user..."], [":@@Loading-Text-VendorUser:Loading user..."])));
4165
+ this.loadingText = $localize(templateObject_2$g || (templateObject_2$g = __makeTemplateObject([":@@Loading-Text-VendorUser:Loading user..."], [":@@Loading-Text-VendorUser:Loading user..."])));
4166
4166
  this.user_store.byKey(this.user.Id, { expand: this.user_expands }).then(function (dataItem) {
4167
4167
  _this.formUser = Object.assign(new i2.VendorUser(), dataItem[0]);
4168
4168
  _this.user = _this.formUser;
@@ -4170,14 +4170,14 @@
4170
4170
  _this.isLoadingData = false;
4171
4171
  _this.hasErrors = false;
4172
4172
  _this.errorText = "";
4173
- _this.loadingText = $localize(templateObject_3$f || (templateObject_3$f = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4173
+ _this.loadingText = $localize(templateObject_3$g || (templateObject_3$g = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4174
4174
  _this.userChanged.emit(_this.user);
4175
4175
  }, function (error) {
4176
4176
  console.log(error);
4177
4177
  _this.isLoadingData = false;
4178
4178
  _this.hasErrors = true;
4179
4179
  _this.errorText = error;
4180
- _this.loadingText = $localize(templateObject_4$f || (templateObject_4$f = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4180
+ _this.loadingText = $localize(templateObject_4$g || (templateObject_4$g = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4181
4181
  });
4182
4182
  }
4183
4183
  };
@@ -4201,7 +4201,7 @@
4201
4201
  var _a, _b, _c, _d, _e, _f;
4202
4202
  if (((_a = this.user) === null || _a === void 0 ? void 0 : _a.Id) && this.user_store) {
4203
4203
  this.isLoadingData = true;
4204
- this.loadingText = $localize(templateObject_5$f || (templateObject_5$f = __makeTemplateObject([":@@Updating-Text-VendorUser:Updating user..."], [":@@Updating-Text-VendorUser:Updating user..."])));
4204
+ this.loadingText = $localize(templateObject_5$g || (templateObject_5$g = __makeTemplateObject([":@@Updating-Text-VendorUser:Updating user..."], [":@@Updating-Text-VendorUser:Updating user..."])));
4205
4205
  var data = {
4206
4206
  Street: (_b = this.formUser) === null || _b === void 0 ? void 0 : _b.Street,
4207
4207
  ZipCode: (_c = this.formUser) === null || _c === void 0 ? void 0 : _c.ZipCode,
@@ -4215,12 +4215,12 @@
4215
4215
  _this.getUser();
4216
4216
  _this.isLoadingData = false;
4217
4217
  _this.inEditMode = false;
4218
- _this.loadingText = $localize(templateObject_6$e || (templateObject_6$e = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4218
+ _this.loadingText = $localize(templateObject_6$f || (templateObject_6$f = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4219
4219
  }, function (error) {
4220
4220
  console.log(error);
4221
4221
  _this.isLoadingData = false;
4222
- _this.loadingText = $localize(templateObject_7$e || (templateObject_7$e = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4223
- MessageBox.showError({ title: $localize(templateObject_8$e || (templateObject_8$e = __makeTemplateObject([":@@Failed-Text-VendorUser:User update failed"], [":@@Failed-Text-VendorUser:User update failed"]))), message: error }, _this.matDialog)
4222
+ _this.loadingText = $localize(templateObject_7$f || (templateObject_7$f = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4223
+ MessageBox.showError({ title: $localize(templateObject_8$f || (templateObject_8$f = __makeTemplateObject([":@@Failed-Text-VendorUser:User update failed"], [":@@Failed-Text-VendorUser:User update failed"]))), message: error }, _this.matDialog)
4224
4224
  .subscribe(function (result) {
4225
4225
  });
4226
4226
  });
@@ -4293,7 +4293,7 @@
4293
4293
  type: i0.ViewChildren,
4294
4294
  args: [i7.DxDataGridComponent]
4295
4295
  }] } });
4296
- var templateObject_1$h, templateObject_2$f, templateObject_3$f, templateObject_4$f, templateObject_5$f, templateObject_6$e, templateObject_7$e, templateObject_8$e;
4296
+ var templateObject_1$i, templateObject_2$g, templateObject_3$g, templateObject_4$g, templateObject_5$g, templateObject_6$f, templateObject_7$f, templateObject_8$f;
4297
4297
 
4298
4298
  var VendorUserDetailsComponent = /** @class */ (function () {
4299
4299
  function VendorUserDetailsComponent(coreService, cloudDataService, matDialog, usernameValidator) {
@@ -4306,21 +4306,21 @@
4306
4306
  this.fullEditAllowed = false;
4307
4307
  this.inEditMode = false;
4308
4308
  this.isLoadingData = false;
4309
- this.loadingText = $localize(templateObject_1$g || (templateObject_1$g = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4309
+ this.loadingText = $localize(templateObject_1$h || (templateObject_1$h = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4310
4310
  this.hasErrors = false;
4311
4311
  this.errorText = "";
4312
4312
  this.userChanged = new i0.EventEmitter();
4313
4313
  this.status_ds = [
4314
- { id: false, description: $localize(templateObject_2$e || (templateObject_2$e = __makeTemplateObject([":@@@FieldValue-InActive:Inactive"], [":@@@FieldValue-InActive:Inactive"]))) },
4315
- { id: true, description: $localize(templateObject_3$e || (templateObject_3$e = __makeTemplateObject([":@@@FieldValue-Active:Active"], [":@@@FieldValue-Active:Active"]))) }
4314
+ { id: false, description: $localize(templateObject_2$f || (templateObject_2$f = __makeTemplateObject([":@@@FieldValue-InActive:Inactive"], [":@@@FieldValue-InActive:Inactive"]))) },
4315
+ { id: true, description: $localize(templateObject_3$f || (templateObject_3$f = __makeTemplateObject([":@@@FieldValue-Active:Active"], [":@@@FieldValue-Active:Active"]))) }
4316
4316
  ];
4317
4317
  this.loginType_ds = [
4318
- { id: false, description: $localize(templateObject_4$e || (templateObject_4$e = __makeTemplateObject([":@@FieldValue-AppLogin-Regular:Regular"], [":@@FieldValue-AppLogin-Regular:Regular"]))) },
4319
- { id: true, description: $localize(templateObject_5$e || (templateObject_5$e = __makeTemplateObject([":@@FieldValue-AppLogin-AppUser: App user"], [":@@FieldValue-AppLogin-AppUser: App user"]))) }
4318
+ { id: false, description: $localize(templateObject_4$f || (templateObject_4$f = __makeTemplateObject([":@@FieldValue-AppLogin-Regular:Regular"], [":@@FieldValue-AppLogin-Regular:Regular"]))) },
4319
+ { id: true, description: $localize(templateObject_5$f || (templateObject_5$f = __makeTemplateObject([":@@FieldValue-AppLogin-AppUser: App user"], [":@@FieldValue-AppLogin-AppUser: App user"]))) }
4320
4320
  ];
4321
4321
  this.boolean_ds = [
4322
- { id: false, description: $localize(templateObject_6$d || (templateObject_6$d = __makeTemplateObject([":@@FieldValue-No:No"], [":@@FieldValue-No:No"]))) },
4323
- { id: true, description: $localize(templateObject_7$d || (templateObject_7$d = __makeTemplateObject([":@@FieldValue-Yes:Yes"], [":@@FieldValue-Yes:Yes"]))) }
4322
+ { id: false, description: $localize(templateObject_6$e || (templateObject_6$e = __makeTemplateObject([":@@FieldValue-No:No"], [":@@FieldValue-No:No"]))) },
4323
+ { id: true, description: $localize(templateObject_7$e || (templateObject_7$e = __makeTemplateObject([":@@FieldValue-Yes:Yes"], [":@@FieldValue-Yes:Yes"]))) }
4324
4324
  ];
4325
4325
  this.usernameValidation = this.usernameValidation.bind(this);
4326
4326
  }
@@ -4355,7 +4355,7 @@
4355
4355
  var _a;
4356
4356
  if (((_a = this.user) === null || _a === void 0 ? void 0 : _a.Id) && this.user_store) {
4357
4357
  this.isLoadingData = true;
4358
- this.loadingText = $localize(templateObject_8$d || (templateObject_8$d = __makeTemplateObject([":@@Loading-Text-VendorUser:Loading user..."], [":@@Loading-Text-VendorUser:Loading user..."])));
4358
+ this.loadingText = $localize(templateObject_8$e || (templateObject_8$e = __makeTemplateObject([":@@Loading-Text-VendorUser:Loading user..."], [":@@Loading-Text-VendorUser:Loading user..."])));
4359
4359
  this.user_store.byKey(this.user.Id, { expand: this.user_expands }).then(function (dataItem) {
4360
4360
  _this.formUser = Object.assign(new i2.VendorUser(), dataItem[0]);
4361
4361
  _this.user = _this.formUser;
@@ -4470,7 +4470,7 @@
4470
4470
  type: i0.ViewChildren,
4471
4471
  args: [i7.DxDataGridComponent]
4472
4472
  }] } });
4473
- var templateObject_1$g, templateObject_2$e, templateObject_3$e, templateObject_4$e, templateObject_5$e, templateObject_6$d, templateObject_7$d, templateObject_8$d, templateObject_9$8, templateObject_10$8, templateObject_11$6, templateObject_12$4, templateObject_13$3, templateObject_14$3;
4473
+ var templateObject_1$h, templateObject_2$f, templateObject_3$f, templateObject_4$f, templateObject_5$f, templateObject_6$e, templateObject_7$e, templateObject_8$e, templateObject_9$8, templateObject_10$8, templateObject_11$6, templateObject_12$4, templateObject_13$3, templateObject_14$3;
4474
4474
 
4475
4475
  var VendorUserGeneralComponent = /** @class */ (function () {
4476
4476
  function VendorUserGeneralComponent(coreService, cloudDataService, matDialog) {
@@ -4482,15 +4482,15 @@
4482
4482
  this.fullEditAllowed = false;
4483
4483
  this.inEditMode = false;
4484
4484
  this.isLoadingData = false;
4485
- this.loadingText = $localize(templateObject_1$f || (templateObject_1$f = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4485
+ this.loadingText = $localize(templateObject_1$g || (templateObject_1$g = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4486
4486
  this.hasErrors = false;
4487
4487
  this.errorText = "";
4488
4488
  this.userChanged = new i0.EventEmitter();
4489
4489
  this.genderType_ds = [
4490
- { id: i2.GenderType.Unknown, description: $localize(templateObject_2$d || (templateObject_2$d = __makeTemplateObject([":@@EnumValue-Unknown:Unknown"], [":@@EnumValue-Unknown:Unknown"]))) },
4491
- { id: i2.GenderType.Male, description: $localize(templateObject_3$d || (templateObject_3$d = __makeTemplateObject([":@@EnumValue-Male:Male"], [":@@EnumValue-Male:Male"]))) },
4492
- { id: i2.GenderType.Female, description: $localize(templateObject_4$d || (templateObject_4$d = __makeTemplateObject([":@@EnumValue-Female:Female"], [":@@EnumValue-Female:Female"]))) },
4493
- { id: i2.GenderType.Other, description: $localize(templateObject_5$d || (templateObject_5$d = __makeTemplateObject([":@@EnumValue-Other:Other"], [":@@EnumValue-Other:Other"]))) }
4490
+ { id: i2.GenderType.Unknown, description: $localize(templateObject_2$e || (templateObject_2$e = __makeTemplateObject([":@@EnumValue-Unknown:Unknown"], [":@@EnumValue-Unknown:Unknown"]))) },
4491
+ { id: i2.GenderType.Male, description: $localize(templateObject_3$e || (templateObject_3$e = __makeTemplateObject([":@@EnumValue-Male:Male"], [":@@EnumValue-Male:Male"]))) },
4492
+ { id: i2.GenderType.Female, description: $localize(templateObject_4$e || (templateObject_4$e = __makeTemplateObject([":@@EnumValue-Female:Female"], [":@@EnumValue-Female:Female"]))) },
4493
+ { id: i2.GenderType.Other, description: $localize(templateObject_5$e || (templateObject_5$e = __makeTemplateObject([":@@EnumValue-Other:Other"], [":@@EnumValue-Other:Other"]))) }
4494
4494
  ];
4495
4495
  this._countryId = undefined;
4496
4496
  this._selectedCountry = undefined;
@@ -4537,7 +4537,7 @@
4537
4537
  var _a;
4538
4538
  if (((_a = this.user) === null || _a === void 0 ? void 0 : _a.Id) && this.user_store) {
4539
4539
  this.isLoadingData = true;
4540
- this.loadingText = $localize(templateObject_6$c || (templateObject_6$c = __makeTemplateObject([":@@Loading-Text-VendorUser:Loading user..."], [":@@Loading-Text-VendorUser:Loading user..."])));
4540
+ this.loadingText = $localize(templateObject_6$d || (templateObject_6$d = __makeTemplateObject([":@@Loading-Text-VendorUser:Loading user..."], [":@@Loading-Text-VendorUser:Loading user..."])));
4541
4541
  this.user_store.byKey(this.user.Id, { expand: this.user_expands }).then(function (dataItem) {
4542
4542
  _this.formUser = Object.assign(new i2.VendorUser(), dataItem[0]);
4543
4543
  _this.user = _this.formUser;
@@ -4545,14 +4545,14 @@
4545
4545
  _this.isLoadingData = false;
4546
4546
  _this.hasErrors = false;
4547
4547
  _this.errorText = "";
4548
- _this.loadingText = $localize(templateObject_7$c || (templateObject_7$c = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4548
+ _this.loadingText = $localize(templateObject_7$d || (templateObject_7$d = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4549
4549
  _this.userChanged.emit(_this.user);
4550
4550
  }, function (error) {
4551
4551
  console.log(error);
4552
4552
  _this.isLoadingData = false;
4553
4553
  _this.hasErrors = true;
4554
4554
  _this.errorText = error;
4555
- _this.loadingText = $localize(templateObject_8$c || (templateObject_8$c = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4555
+ _this.loadingText = $localize(templateObject_8$d || (templateObject_8$d = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
4556
4556
  });
4557
4557
  }
4558
4558
  };
@@ -4691,7 +4691,7 @@
4691
4691
  type: i0.ViewChildren,
4692
4692
  args: [i7.DxDataGridComponent]
4693
4693
  }] } });
4694
- var templateObject_1$f, templateObject_2$d, templateObject_3$d, templateObject_4$d, templateObject_5$d, templateObject_6$c, templateObject_7$c, templateObject_8$c, templateObject_9$7, templateObject_10$7, templateObject_11$5, templateObject_12$3;
4694
+ var templateObject_1$g, templateObject_2$e, templateObject_3$e, templateObject_4$e, templateObject_5$e, templateObject_6$d, templateObject_7$d, templateObject_8$d, templateObject_9$7, templateObject_10$7, templateObject_11$5, templateObject_12$3;
4695
4695
 
4696
4696
  var VendorUserImageComponent = /** @class */ (function () {
4697
4697
  function VendorUserImageComponent(coreService, cloudDataService) {
@@ -4701,7 +4701,7 @@
4701
4701
  this.inEditMode = false;
4702
4702
  this.fullEditAllowed = false;
4703
4703
  this.isLoadingData = false;
4704
- this.loadingText = $localize(templateObject_1$e || (templateObject_1$e = __makeTemplateObject([":@@UploadingLoading-Image-Text:Uploading image..."], [":@@UploadingLoading-Image-Text:Uploading image..."])));
4704
+ this.loadingText = $localize(templateObject_1$f || (templateObject_1$f = __makeTemplateObject([":@@UploadingLoading-Image-Text:Uploading image..."], [":@@UploadingLoading-Image-Text:Uploading image..."])));
4705
4705
  this.hasErrors = false;
4706
4706
  this.errorText = "";
4707
4707
  this.uploadUrl = undefined;
@@ -4767,7 +4767,7 @@
4767
4767
  }], user_expands: [{
4768
4768
  type: i0.Input
4769
4769
  }] } });
4770
- var templateObject_1$e;
4770
+ var templateObject_1$f;
4771
4771
 
4772
4772
  var PickinglistAddNewShipment = /** @class */ (function () {
4773
4773
  function PickinglistAddNewShipment(dialogRef, data, cloudDataService, matDialog) {
@@ -4777,9 +4777,9 @@
4777
4777
  this.cloudDataService = cloudDataService;
4778
4778
  this.matDialog = matDialog;
4779
4779
  this.isLoadingData = false;
4780
- this.loadingText = $localize(templateObject_1$d || (templateObject_1$d = __makeTemplateObject([":@@CreatingShipment-Text:Creating shipment ..."], [":@@CreatingShipment-Text:Creating shipment ..."])));
4780
+ this.loadingText = $localize(templateObject_1$e || (templateObject_1$e = __makeTemplateObject([":@@CreatingShipment-Text:Creating shipment ..."], [":@@CreatingShipment-Text:Creating shipment ..."])));
4781
4781
  this.createCompleted = false;
4782
- this.createCompletedText = $localize(templateObject_2$c || (templateObject_2$c = __makeTemplateObject([":@@ShipmentCreated-Text:Shipment successfully created"], [":@@ShipmentCreated-Text:Shipment successfully created"])));
4782
+ this.createCompletedText = $localize(templateObject_2$d || (templateObject_2$d = __makeTemplateObject([":@@ShipmentCreated-Text:Shipment successfully created"], [":@@ShipmentCreated-Text:Shipment successfully created"])));
4783
4783
  this.createError = false;
4784
4784
  this.createErrorText = "";
4785
4785
  this.async_call = true;
@@ -4819,12 +4819,12 @@
4819
4819
  };
4820
4820
  this.servicePointValid = true;
4821
4821
  this.packagingBoxType_ds = [
4822
- { value: i2.PackagingBoxType.CustomSize, text: $localize(templateObject_3$c || (templateObject_3$c = __makeTemplateObject([":@@EnumValue-PackagingBoxType-CustomSize:Custom size"], [":@@EnumValue-PackagingBoxType-CustomSize:Custom size"]))) },
4823
- { value: i2.PackagingBoxType.EURPallet, text: $localize(templateObject_4$c || (templateObject_4$c = __makeTemplateObject([":@@EnumValue-PackagingBoxType-EURPallet:EUR pallet"], [":@@EnumValue-PackagingBoxType-EURPallet:EUR pallet"]))) },
4824
- { value: i2.PackagingBoxType.HalfPallet, text: $localize(templateObject_5$c || (templateObject_5$c = __makeTemplateObject([":@@EnumValue-PackagingBoxType-HalfPallet:Half pallet"], [":@@EnumValue-PackagingBoxType-HalfPallet:Half pallet"]))) },
4825
- { value: i2.PackagingBoxType.QuarterPallet, text: $localize(templateObject_6$b || (templateObject_6$b = __makeTemplateObject([":@@EnumValue-PackagingBoxType-QuarterPallet:Quarter pallet"], [":@@EnumValue-PackagingBoxType-QuarterPallet:Quarter pallet"]))) },
4826
- { value: i2.PackagingBoxType.OceanPallet, text: $localize(templateObject_7$b || (templateObject_7$b = __makeTemplateObject([":@@EnumValue-PackagingBoxType-OceanPallet:Ocean pallet"], [":@@EnumValue-PackagingBoxType-OceanPallet:Ocean pallet"]))) },
4827
- { value: i2.PackagingBoxType.Documents, text: $localize(templateObject_8$b || (templateObject_8$b = __makeTemplateObject([":@@EnumValue-PackagingBoxType-Documents:Documents"], [":@@EnumValue-PackagingBoxType-Documents:Documents"]))) },
4822
+ { value: i2.PackagingBoxType.CustomSize, text: $localize(templateObject_3$d || (templateObject_3$d = __makeTemplateObject([":@@EnumValue-PackagingBoxType-CustomSize:Custom size"], [":@@EnumValue-PackagingBoxType-CustomSize:Custom size"]))) },
4823
+ { value: i2.PackagingBoxType.EURPallet, text: $localize(templateObject_4$d || (templateObject_4$d = __makeTemplateObject([":@@EnumValue-PackagingBoxType-EURPallet:EUR pallet"], [":@@EnumValue-PackagingBoxType-EURPallet:EUR pallet"]))) },
4824
+ { value: i2.PackagingBoxType.HalfPallet, text: $localize(templateObject_5$d || (templateObject_5$d = __makeTemplateObject([":@@EnumValue-PackagingBoxType-HalfPallet:Half pallet"], [":@@EnumValue-PackagingBoxType-HalfPallet:Half pallet"]))) },
4825
+ { value: i2.PackagingBoxType.QuarterPallet, text: $localize(templateObject_6$c || (templateObject_6$c = __makeTemplateObject([":@@EnumValue-PackagingBoxType-QuarterPallet:Quarter pallet"], [":@@EnumValue-PackagingBoxType-QuarterPallet:Quarter pallet"]))) },
4826
+ { value: i2.PackagingBoxType.OceanPallet, text: $localize(templateObject_7$c || (templateObject_7$c = __makeTemplateObject([":@@EnumValue-PackagingBoxType-OceanPallet:Ocean pallet"], [":@@EnumValue-PackagingBoxType-OceanPallet:Ocean pallet"]))) },
4827
+ { value: i2.PackagingBoxType.Documents, text: $localize(templateObject_8$c || (templateObject_8$c = __makeTemplateObject([":@@EnumValue-PackagingBoxType-Documents:Documents"], [":@@EnumValue-PackagingBoxType-Documents:Documents"]))) },
4828
4828
  { value: i2.PackagingBoxType.Envelope, text: $localize(templateObject_9$6 || (templateObject_9$6 = __makeTemplateObject([":@@EnumValue-PackagingBoxType-Envelope:Envelope"], [":@@EnumValue-PackagingBoxType-Envelope:Envelope"]))) },
4829
4829
  ];
4830
4830
  this._senderCountryRequireState = false;
@@ -6327,7 +6327,7 @@
6327
6327
  }
6328
6328
  return CreateShipmentResponse;
6329
6329
  }());
6330
- var templateObject_1$d, templateObject_2$c, templateObject_3$c, templateObject_4$c, templateObject_5$c, templateObject_6$b, templateObject_7$b, templateObject_8$b, templateObject_9$6, templateObject_10$6, templateObject_11$4, templateObject_12$2, templateObject_13$2, templateObject_14$2, templateObject_15$2, templateObject_16$2, templateObject_17$2, templateObject_18$1, templateObject_19$1;
6330
+ var templateObject_1$e, templateObject_2$d, templateObject_3$d, templateObject_4$d, templateObject_5$d, templateObject_6$c, templateObject_7$c, templateObject_8$c, templateObject_9$6, templateObject_10$6, templateObject_11$4, templateObject_12$2, templateObject_13$2, templateObject_14$2, templateObject_15$2, templateObject_16$2, templateObject_17$2, templateObject_18$1, templateObject_19$1;
6331
6331
 
6332
6332
  var PrintDialogShipment = /** @class */ (function () {
6333
6333
  function PrintDialogShipment(dialogRef, data, cloudDataService, matDialog) {
@@ -6393,7 +6393,7 @@
6393
6393
  this.editAllowed = false;
6394
6394
  this.inEditMode = false;
6395
6395
  this.isLoadingData = false;
6396
- this.loadingText = $localize(templateObject_1$c || (templateObject_1$c = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
6396
+ this.loadingText = $localize(templateObject_1$d || (templateObject_1$d = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
6397
6397
  this.hasErrors = false;
6398
6398
  this.errorText = "";
6399
6399
  this.itemtemplete_value = this.itemtemplete_value.bind(this);
@@ -6454,7 +6454,7 @@
6454
6454
  Object.defineProperty(DimensionGroupBoxComponent.prototype, "caption", {
6455
6455
  get: function () {
6456
6456
  var _a, _b;
6457
- return (_b = (_a = this.entityGroup) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : $localize(templateObject_2$b || (templateObject_2$b = __makeTemplateObject([":@@CaptionHeader-DimensionFields:Dimension fields"], [":@@CaptionHeader-DimensionFields:Dimension fields"])));
6457
+ return (_b = (_a = this.entityGroup) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : $localize(templateObject_2$c || (templateObject_2$c = __makeTemplateObject([":@@CaptionHeader-DimensionFields:Dimension fields"], [":@@CaptionHeader-DimensionFields:Dimension fields"])));
6458
6458
  ;
6459
6459
  },
6460
6460
  enumerable: false,
@@ -6576,7 +6576,7 @@
6576
6576
  var _this = this;
6577
6577
  var _a;
6578
6578
  this.isLoadingData = true;
6579
- this.loadingText = $localize(templateObject_3$b || (templateObject_3$b = __makeTemplateObject([":@@Loading-Text-DimensionField:Loading fields..."], [":@@Loading-Text-DimensionField:Loading fields..."])));
6579
+ this.loadingText = $localize(templateObject_3$c || (templateObject_3$c = __makeTemplateObject([":@@Loading-Text-DimensionField:Loading fields..."], [":@@Loading-Text-DimensionField:Loading fields..."])));
6580
6580
  if ((_a = this.domainObject) === null || _a === void 0 ? void 0 : _a.ExtensionId) {
6581
6581
  this.dimensionField_store.load().then(function (dataItem) {
6582
6582
  var _a, _b;
@@ -6599,13 +6599,13 @@
6599
6599
  _this.isLoadingData = false;
6600
6600
  _this.hasErrors = false;
6601
6601
  _this.errorText = "";
6602
- _this.loadingText = $localize(templateObject_4$b || (templateObject_4$b = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
6602
+ _this.loadingText = $localize(templateObject_4$c || (templateObject_4$c = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
6603
6603
  }, function (error) {
6604
6604
  console.log(error);
6605
6605
  _this.isLoadingData = false;
6606
6606
  _this.hasErrors = true;
6607
6607
  _this.errorText = error;
6608
- _this.loadingText = $localize(templateObject_5$b || (templateObject_5$b = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
6608
+ _this.loadingText = $localize(templateObject_5$c || (templateObject_5$c = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
6609
6609
  });
6610
6610
  }
6611
6611
  else {
@@ -6618,14 +6618,14 @@
6618
6618
  this.isLoadingData = false;
6619
6619
  this.hasErrors = false;
6620
6620
  this.errorText = "";
6621
- this.loadingText = $localize(templateObject_6$a || (templateObject_6$a = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
6621
+ this.loadingText = $localize(templateObject_6$b || (templateObject_6$b = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
6622
6622
  }
6623
6623
  };
6624
6624
  DimensionGroupBoxComponent.prototype.saveEntityGroup = function () {
6625
6625
  var _this = this;
6626
6626
  var _a, _b, _c;
6627
6627
  this.isLoadingData = true;
6628
- this.loadingText = $localize(templateObject_7$a || (templateObject_7$a = __makeTemplateObject([":@@Updating-Text-Fields:Updating fields..."], [":@@Updating-Text-Fields:Updating fields..."])));
6628
+ this.loadingText = $localize(templateObject_7$b || (templateObject_7$b = __makeTemplateObject([":@@Updating-Text-Fields:Updating fields..."], [":@@Updating-Text-Fields:Updating fields..."])));
6629
6629
  var fields = [];
6630
6630
  var body = { "domainObjectId": (_a = this.domainObject) === null || _a === void 0 ? void 0 : _a.Id, "fields": fields };
6631
6631
  var formEntries = Object.entries(this.formEntity);
@@ -6667,7 +6667,7 @@
6667
6667
  _this.getEntityGroup();
6668
6668
  _this.isLoadingData = false;
6669
6669
  _this.inEditMode = false;
6670
- _this.loadingText = $localize(templateObject_8$a || (templateObject_8$a = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
6670
+ _this.loadingText = $localize(templateObject_8$b || (templateObject_8$b = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
6671
6671
  }, function (error) {
6672
6672
  console.log(error);
6673
6673
  _this.isLoadingData = false;
@@ -6766,7 +6766,7 @@
6766
6766
  type: i0.ViewChild,
6767
6767
  args: ["form"]
6768
6768
  }] } });
6769
- var templateObject_1$c, templateObject_2$b, templateObject_3$b, templateObject_4$b, templateObject_5$b, templateObject_6$a, templateObject_7$a, templateObject_8$a, templateObject_9$5, templateObject_10$5;
6769
+ var templateObject_1$d, templateObject_2$c, templateObject_3$c, templateObject_4$c, templateObject_5$c, templateObject_6$b, templateObject_7$b, templateObject_8$b, templateObject_9$5, templateObject_10$5;
6770
6770
 
6771
6771
  var DimensionGroupsComponent = /** @class */ (function () {
6772
6772
  function DimensionGroupsComponent(cloudDataService, matDialog) {
@@ -6938,7 +6938,7 @@
6938
6938
  this.editAllowed = false;
6939
6939
  this.inEditMode = false;
6940
6940
  this.isLoadingData = false;
6941
- this.loadingText = $localize(templateObject_1$b || (templateObject_1$b = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
6941
+ this.loadingText = $localize(templateObject_1$c || (templateObject_1$c = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
6942
6942
  this.hasErrors = false;
6943
6943
  this.errorText = "";
6944
6944
  this.projectChanged = new i0.EventEmitter();
@@ -6976,7 +6976,7 @@
6976
6976
  var _a;
6977
6977
  if (((_a = this.project) === null || _a === void 0 ? void 0 : _a.Id) && this.project_store) {
6978
6978
  this.isLoadingData = true;
6979
- this.loadingText = $localize(templateObject_2$a || (templateObject_2$a = __makeTemplateObject([":@@Loading-Text-Project:Loading project..."], [":@@Loading-Text-Project:Loading project..."])));
6979
+ this.loadingText = $localize(templateObject_2$b || (templateObject_2$b = __makeTemplateObject([":@@Loading-Text-Project:Loading project..."], [":@@Loading-Text-Project:Loading project..."])));
6980
6980
  this.project_store.byKey(this.project.Id, { expand: this.project_expands }).then(function (dataItem) {
6981
6981
  _this.formProject = Object.assign(new i2.Project(), dataItem[0]);
6982
6982
  _this.project = _this.formProject;
@@ -6984,14 +6984,14 @@
6984
6984
  _this.isLoadingData = false;
6985
6985
  _this.hasErrors = false;
6986
6986
  _this.errorText = "";
6987
- _this.loadingText = $localize(templateObject_3$a || (templateObject_3$a = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
6987
+ _this.loadingText = $localize(templateObject_3$b || (templateObject_3$b = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
6988
6988
  _this.projectChanged.emit(_this.project);
6989
6989
  }, function (error) {
6990
6990
  console.log(error);
6991
6991
  _this.isLoadingData = false;
6992
6992
  _this.hasErrors = true;
6993
6993
  _this.errorText = error;
6994
- _this.loadingText = $localize(templateObject_4$a || (templateObject_4$a = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
6994
+ _this.loadingText = $localize(templateObject_4$b || (templateObject_4$b = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
6995
6995
  });
6996
6996
  }
6997
6997
  };
@@ -7011,7 +7011,7 @@
7011
7011
  var _a;
7012
7012
  if (((_a = this.project) === null || _a === void 0 ? void 0 : _a.Id) && this.project_store && this.formProject) {
7013
7013
  this.isLoadingData = true;
7014
- this.loadingText = $localize(templateObject_5$a || (templateObject_5$a = __makeTemplateObject([":@@Updating-Text-Project:Updating project..."], [":@@Updating-Text-Project:Updating project..."])));
7014
+ this.loadingText = $localize(templateObject_5$b || (templateObject_5$b = __makeTemplateObject([":@@Updating-Text-Project:Updating project..."], [":@@Updating-Text-Project:Updating project..."])));
7015
7015
  var data = {
7016
7016
  Description: this.formProject.Description
7017
7017
  };
@@ -7020,12 +7020,12 @@
7020
7020
  _this.getProject();
7021
7021
  _this.isLoadingData = false;
7022
7022
  _this.inEditMode = false;
7023
- _this.loadingText = $localize(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7023
+ _this.loadingText = $localize(templateObject_6$a || (templateObject_6$a = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7024
7024
  }, function (error) {
7025
7025
  console.log(error);
7026
7026
  _this.isLoadingData = false;
7027
- _this.loadingText = $localize(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7028
- MessageBox.showError({ title: $localize(templateObject_8$9 || (templateObject_8$9 = __makeTemplateObject([":@@Failed-Text-Project:Project update failed"], [":@@Failed-Text-Project:Project update failed"]))), message: error }, _this.matDialog)
7027
+ _this.loadingText = $localize(templateObject_7$a || (templateObject_7$a = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7028
+ MessageBox.showError({ title: $localize(templateObject_8$a || (templateObject_8$a = __makeTemplateObject([":@@Failed-Text-Project:Project update failed"], [":@@Failed-Text-Project:Project update failed"]))), message: error }, _this.matDialog)
7029
7029
  .subscribe(function (result) {
7030
7030
  });
7031
7031
  });
@@ -7076,7 +7076,7 @@
7076
7076
  type: i0.ViewChild,
7077
7077
  args: ['form']
7078
7078
  }] } });
7079
- var templateObject_1$b, templateObject_2$a, templateObject_3$a, templateObject_4$a, templateObject_5$a, templateObject_6$9, templateObject_7$9, templateObject_8$9;
7079
+ var templateObject_1$c, templateObject_2$b, templateObject_3$b, templateObject_4$b, templateObject_5$b, templateObject_6$a, templateObject_7$a, templateObject_8$a;
7080
7080
 
7081
7081
  var ProjectFinanceComponent = /** @class */ (function () {
7082
7082
  function ProjectFinanceComponent(coreService, cloudDataService, matDialog) {
@@ -7086,20 +7086,20 @@
7086
7086
  this.editAllowed = false;
7087
7087
  this.inEditMode = false;
7088
7088
  this.isLoadingData = false;
7089
- this.loadingText = $localize(templateObject_1$a || (templateObject_1$a = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7089
+ this.loadingText = $localize(templateObject_1$b || (templateObject_1$b = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7090
7090
  this.hasErrors = false;
7091
7091
  this.errorText = "";
7092
7092
  this.projectChanged = new i0.EventEmitter();
7093
7093
  this.financialtype_ds = [
7094
- { id: i2.ProjectFinancialType.None, description: $localize(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject([":@@EnumValue-ProjectFinancialType-None:None"], [":@@EnumValue-ProjectFinancialType-None:None"]))) },
7095
- { id: i2.ProjectFinancialType.Internal, description: $localize(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject([":@@EnumValue-ProjectFinancialType-Internal:Internal"], [":@@EnumValue-ProjectFinancialType-Internal:Internal"]))) },
7096
- { id: i2.ProjectFinancialType.Fixed, description: $localize(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject([":@@EnumValue-ProjectFinancialType-Fixed:Fixed"], [":@@EnumValue-ProjectFinancialType-Fixed:Fixed"]))) },
7097
- { id: i2.ProjectFinancialType.Invoice, description: $localize(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject([":@@EnumValue-ProjectFinancialType-Invoice:Invoice"], [":@@EnumValue-ProjectFinancialType-Invoice:Invoice"]))) },
7098
- { id: i2.ProjectFinancialType.NoInvoice, description: $localize(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject([":@@EnumValue-ProjectFinancialType-NoInvoice:No invoice"], [":@@EnumValue-ProjectFinancialType-NoInvoice:No invoice"]))) }
7094
+ { id: i2.ProjectFinancialType.None, description: $localize(templateObject_2$a || (templateObject_2$a = __makeTemplateObject([":@@EnumValue-ProjectFinancialType-None:None"], [":@@EnumValue-ProjectFinancialType-None:None"]))) },
7095
+ { id: i2.ProjectFinancialType.Internal, description: $localize(templateObject_3$a || (templateObject_3$a = __makeTemplateObject([":@@EnumValue-ProjectFinancialType-Internal:Internal"], [":@@EnumValue-ProjectFinancialType-Internal:Internal"]))) },
7096
+ { id: i2.ProjectFinancialType.Fixed, description: $localize(templateObject_4$a || (templateObject_4$a = __makeTemplateObject([":@@EnumValue-ProjectFinancialType-Fixed:Fixed"], [":@@EnumValue-ProjectFinancialType-Fixed:Fixed"]))) },
7097
+ { id: i2.ProjectFinancialType.Invoice, description: $localize(templateObject_5$a || (templateObject_5$a = __makeTemplateObject([":@@EnumValue-ProjectFinancialType-Invoice:Invoice"], [":@@EnumValue-ProjectFinancialType-Invoice:Invoice"]))) },
7098
+ { id: i2.ProjectFinancialType.NoInvoice, description: $localize(templateObject_6$9 || (templateObject_6$9 = __makeTemplateObject([":@@EnumValue-ProjectFinancialType-NoInvoice:No invoice"], [":@@EnumValue-ProjectFinancialType-NoInvoice:No invoice"]))) }
7099
7099
  ];
7100
7100
  this.financialstatus_ds = [
7101
- { id: i2.FinancialStatus.None, description: $localize(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject([":@@EnumValue-FinancialStatus-None:None"], [":@@EnumValue-FinancialStatus-None:None"]))) },
7102
- { id: i2.FinancialStatus.Open, description: $localize(templateObject_8$8 || (templateObject_8$8 = __makeTemplateObject([":@@EnumValue-FinancialStatus-Open:Open"], [":@@EnumValue-FinancialStatus-Open:Open"]))) },
7101
+ { id: i2.FinancialStatus.None, description: $localize(templateObject_7$9 || (templateObject_7$9 = __makeTemplateObject([":@@EnumValue-FinancialStatus-None:None"], [":@@EnumValue-FinancialStatus-None:None"]))) },
7102
+ { id: i2.FinancialStatus.Open, description: $localize(templateObject_8$9 || (templateObject_8$9 = __makeTemplateObject([":@@EnumValue-FinancialStatus-Open:Open"], [":@@EnumValue-FinancialStatus-Open:Open"]))) },
7103
7103
  { id: i2.FinancialStatus.ClosePending, description: $localize(templateObject_9$4 || (templateObject_9$4 = __makeTemplateObject([":@@EnumValue-FinancialStatus-ClosePending:Close pending"], [":@@EnumValue-FinancialStatus-ClosePending:Close pending"]))) },
7104
7104
  { id: i2.FinancialStatus.Closed, description: $localize(templateObject_10$4 || (templateObject_10$4 = __makeTemplateObject([":@@EnumValue-FinancialStatus-Closed:Closed"], [":@@EnumValue-FinancialStatus-Closed:Closed"]))) }
7105
7105
  ];
@@ -7273,7 +7273,7 @@
7273
7273
  type: i0.ViewChildren,
7274
7274
  args: [i7.DxDataGridComponent]
7275
7275
  }] } });
7276
- var templateObject_1$a, templateObject_2$9, templateObject_3$9, templateObject_4$9, templateObject_5$9, templateObject_6$8, templateObject_7$8, templateObject_8$8, templateObject_9$4, templateObject_10$4, templateObject_11$3, templateObject_12$1, templateObject_13$1, templateObject_14$1, templateObject_15$1, templateObject_16$1, templateObject_17$1;
7276
+ var templateObject_1$b, templateObject_2$a, templateObject_3$a, templateObject_4$a, templateObject_5$a, templateObject_6$9, templateObject_7$9, templateObject_8$9, templateObject_9$4, templateObject_10$4, templateObject_11$3, templateObject_12$1, templateObject_13$1, templateObject_14$1, templateObject_15$1, templateObject_16$1, templateObject_17$1;
7277
7277
 
7278
7278
  var ProjectGeneralComponent = /** @class */ (function () {
7279
7279
  function ProjectGeneralComponent(coreService, cloudDataService, matDialog) {
@@ -7283,18 +7283,18 @@
7283
7283
  this.editAllowed = false;
7284
7284
  this.inEditMode = false;
7285
7285
  this.isLoadingData = false;
7286
- this.loadingText = $localize(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7286
+ this.loadingText = $localize(templateObject_1$a || (templateObject_1$a = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7287
7287
  this.hasErrors = false;
7288
7288
  this.errorText = "";
7289
7289
  this.projectChanged = new i0.EventEmitter();
7290
7290
  this.status_ds = [
7291
- { value: i2.TaskStatus.None, text: $localize(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject([":@@EnumValue-TaskStatus-None:None"], [":@@EnumValue-TaskStatus-None:None"]))) },
7292
- { value: i2.TaskStatus.InPlanning, text: $localize(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject([":@@EnumValue-TaskStatus-InPlanning:In planning"], [":@@EnumValue-TaskStatus-InPlanning:In planning"]))) },
7293
- { value: i2.TaskStatus.PartiallyPlanned, text: $localize(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject([":@@EnumValue-TaskStatus-PartiallyPlanned:Partially planned"], [":@@EnumValue-TaskStatus-PartiallyPlanned:Partially planned"]))) },
7294
- { value: i2.TaskStatus.Planned, text: $localize(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject([":@@EnumValue-TaskStatus-Planned:Planned"], [":@@EnumValue-TaskStatus-Planned:Planned"]))) },
7295
- { value: i2.TaskStatus.Executing, text: $localize(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject([":@@EnumValue-TaskStatus-Executing:Executing"], [":@@EnumValue-TaskStatus-Executing:Executing"]))) },
7296
- { value: i2.TaskStatus.Executed, text: $localize(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject([":@@EnumValue-TaskStatus-Executed:Executed"], [":@@EnumValue-TaskStatus-Executed:Executed"]))) },
7297
- { value: i2.TaskStatus.Cancelled, text: $localize(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject([":@@EnumValue-TaskStatus-Cancelled:Cancelled"], [":@@EnumValue-TaskStatus-Cancelled:Cancelled"]))) },
7291
+ { value: i2.TaskStatus.None, text: $localize(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject([":@@EnumValue-TaskStatus-None:None"], [":@@EnumValue-TaskStatus-None:None"]))) },
7292
+ { value: i2.TaskStatus.InPlanning, text: $localize(templateObject_3$9 || (templateObject_3$9 = __makeTemplateObject([":@@EnumValue-TaskStatus-InPlanning:In planning"], [":@@EnumValue-TaskStatus-InPlanning:In planning"]))) },
7293
+ { value: i2.TaskStatus.PartiallyPlanned, text: $localize(templateObject_4$9 || (templateObject_4$9 = __makeTemplateObject([":@@EnumValue-TaskStatus-PartiallyPlanned:Partially planned"], [":@@EnumValue-TaskStatus-PartiallyPlanned:Partially planned"]))) },
7294
+ { value: i2.TaskStatus.Planned, text: $localize(templateObject_5$9 || (templateObject_5$9 = __makeTemplateObject([":@@EnumValue-TaskStatus-Planned:Planned"], [":@@EnumValue-TaskStatus-Planned:Planned"]))) },
7295
+ { value: i2.TaskStatus.Executing, text: $localize(templateObject_6$8 || (templateObject_6$8 = __makeTemplateObject([":@@EnumValue-TaskStatus-Executing:Executing"], [":@@EnumValue-TaskStatus-Executing:Executing"]))) },
7296
+ { value: i2.TaskStatus.Executed, text: $localize(templateObject_7$8 || (templateObject_7$8 = __makeTemplateObject([":@@EnumValue-TaskStatus-Executed:Executed"], [":@@EnumValue-TaskStatus-Executed:Executed"]))) },
7297
+ { value: i2.TaskStatus.Cancelled, text: $localize(templateObject_8$8 || (templateObject_8$8 = __makeTemplateObject([":@@EnumValue-TaskStatus-Cancelled:Cancelled"], [":@@EnumValue-TaskStatus-Cancelled:Cancelled"]))) },
7298
7298
  { value: i2.TaskStatus.Closed, text: $localize(templateObject_9$3 || (templateObject_9$3 = __makeTemplateObject([":@@EnumValue-TaskStatus-Closed:Closed"], [":@@EnumValue-TaskStatus-Closed:Closed"]))) }
7299
7299
  ];
7300
7300
  this.projecttype_ds = [
@@ -7511,7 +7511,7 @@
7511
7511
  type: i0.ViewChild,
7512
7512
  args: ['form']
7513
7513
  }] } });
7514
- var templateObject_1$9, templateObject_2$8, templateObject_3$8, templateObject_4$8, templateObject_5$8, templateObject_6$7, templateObject_7$7, templateObject_8$7, templateObject_9$3, templateObject_10$3, templateObject_11$2, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22;
7514
+ var templateObject_1$a, templateObject_2$9, templateObject_3$9, templateObject_4$9, templateObject_5$9, templateObject_6$8, templateObject_7$8, templateObject_8$8, templateObject_9$3, templateObject_10$3, templateObject_11$2, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22;
7515
7515
 
7516
7516
  var ProjectLocationComponent = /** @class */ (function () {
7517
7517
  function ProjectLocationComponent(coreService, cloudDataService, matDialog) {
@@ -7521,7 +7521,7 @@
7521
7521
  this.editAllowed = false;
7522
7522
  this.inEditMode = false;
7523
7523
  this.isLoadingData = false;
7524
- this.loadingText = $localize(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7524
+ this.loadingText = $localize(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7525
7525
  this.hasErrors = false;
7526
7526
  this.errorText = "";
7527
7527
  this.projectChanged = new i0.EventEmitter();
@@ -7584,7 +7584,7 @@
7584
7584
  var _a;
7585
7585
  if (((_a = this.project) === null || _a === void 0 ? void 0 : _a.Id) && this.project_store) {
7586
7586
  this.isLoadingData = true;
7587
- this.loadingText = $localize(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject([":@@Loading-Text-Project:Loading project..."], [":@@Loading-Text-Project:Loading project..."])));
7587
+ this.loadingText = $localize(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject([":@@Loading-Text-Project:Loading project..."], [":@@Loading-Text-Project:Loading project..."])));
7588
7588
  this.project_store.byKey(this.project.Id, { expand: this.project_expands }).then(function (dataItem) {
7589
7589
  _this.formProject = Object.assign(new i2.Project(), dataItem[0]);
7590
7590
  _this.project = _this.formProject;
@@ -7592,14 +7592,14 @@
7592
7592
  _this.isLoadingData = false;
7593
7593
  _this.hasErrors = false;
7594
7594
  _this.errorText = "";
7595
- _this.loadingText = $localize(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7595
+ _this.loadingText = $localize(templateObject_3$8 || (templateObject_3$8 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7596
7596
  _this.projectChanged.emit(_this.project);
7597
7597
  }, function (error) {
7598
7598
  console.log(error);
7599
7599
  _this.isLoadingData = false;
7600
7600
  _this.hasErrors = true;
7601
7601
  _this.errorText = error;
7602
- _this.loadingText = $localize(templateObject_4$7 || (templateObject_4$7 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7602
+ _this.loadingText = $localize(templateObject_4$8 || (templateObject_4$8 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7603
7603
  });
7604
7604
  }
7605
7605
  };
@@ -7618,7 +7618,7 @@
7618
7618
  var _this = this;
7619
7619
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
7620
7620
  this.isLoadingData = true;
7621
- this.loadingText = $localize(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject([":@@Updating-Text-Location:Updating location..."], [":@@Updating-Text-Location:Updating location..."])));
7621
+ this.loadingText = $localize(templateObject_5$8 || (templateObject_5$8 = __makeTemplateObject([":@@Updating-Text-Location:Updating location..."], [":@@Updating-Text-Location:Updating location..."])));
7622
7622
  if (((_b = (_a = this.project) === null || _a === void 0 ? void 0 : _a.Location) === null || _b === void 0 ? void 0 : _b.Id) && this.projectlocation_store && this.formProject) {
7623
7623
  var data = {
7624
7624
  Street: (_c = this.formProject.Location) === null || _c === void 0 ? void 0 : _c.Street,
@@ -7634,12 +7634,12 @@
7634
7634
  _this.getProject();
7635
7635
  _this.isLoadingData = false;
7636
7636
  _this.inEditMode = false;
7637
- _this.loadingText = $localize(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7637
+ _this.loadingText = $localize(templateObject_6$7 || (templateObject_6$7 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7638
7638
  }, function (error) {
7639
7639
  console.log(error);
7640
7640
  _this.isLoadingData = false;
7641
- _this.loadingText = $localize(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7642
- MessageBox.showError({ title: $localize(templateObject_8$6 || (templateObject_8$6 = __makeTemplateObject([":@@Failed-Text-Location:Location update failed"], [":@@Failed-Text-Location:Location update failed"]))), message: error }, _this.matDialog)
7641
+ _this.loadingText = $localize(templateObject_7$7 || (templateObject_7$7 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7642
+ MessageBox.showError({ title: $localize(templateObject_8$7 || (templateObject_8$7 = __makeTemplateObject([":@@Failed-Text-Location:Location update failed"], [":@@Failed-Text-Location:Location update failed"]))), message: error }, _this.matDialog)
7643
7643
  .subscribe(function (result) {
7644
7644
  });
7645
7645
  });
@@ -7730,7 +7730,7 @@
7730
7730
  type: i0.ViewChildren,
7731
7731
  args: [i7.DxDataGridComponent]
7732
7732
  }] } });
7733
- var templateObject_1$8, templateObject_2$7, templateObject_3$7, templateObject_4$7, templateObject_5$7, templateObject_6$6, templateObject_7$6, templateObject_8$6, templateObject_9$2, templateObject_10$2, templateObject_11$1;
7733
+ var templateObject_1$9, templateObject_2$8, templateObject_3$8, templateObject_4$8, templateObject_5$8, templateObject_6$7, templateObject_7$7, templateObject_8$7, templateObject_9$2, templateObject_10$2, templateObject_11$1;
7734
7734
 
7735
7735
  var ProjectTimeComponent = /** @class */ (function () {
7736
7736
  function ProjectTimeComponent(coreService, cloudDataService, matDialog) {
@@ -7740,7 +7740,7 @@
7740
7740
  this.editAllowed = false;
7741
7741
  this.inEditMode = false;
7742
7742
  this.isLoadingData = false;
7743
- this.loadingText = $localize(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7743
+ this.loadingText = $localize(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7744
7744
  this.hasErrors = false;
7745
7745
  this.errorText = "";
7746
7746
  this.projectChanged = new i0.EventEmitter();
@@ -7778,7 +7778,7 @@
7778
7778
  var _a;
7779
7779
  if (((_a = this.project) === null || _a === void 0 ? void 0 : _a.Id) && this.project_store) {
7780
7780
  this.isLoadingData = true;
7781
- this.loadingText = $localize(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject([":@@Loading-Text-Project:Loading project..."], [":@@Loading-Text-Project:Loading project..."])));
7781
+ this.loadingText = $localize(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject([":@@Loading-Text-Project:Loading project..."], [":@@Loading-Text-Project:Loading project..."])));
7782
7782
  this.project_store.byKey(this.project.Id, { expand: this.project_expands }).then(function (dataItem) {
7783
7783
  _this.formProject = Object.assign(new i2.Project(), dataItem[0]);
7784
7784
  _this.project = _this.formProject;
@@ -7786,14 +7786,14 @@
7786
7786
  _this.isLoadingData = false;
7787
7787
  _this.hasErrors = false;
7788
7788
  _this.errorText = "";
7789
- _this.loadingText = $localize(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7789
+ _this.loadingText = $localize(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7790
7790
  _this.projectChanged.emit(_this.project);
7791
7791
  }, function (error) {
7792
7792
  console.log(error);
7793
7793
  _this.isLoadingData = false;
7794
7794
  _this.hasErrors = true;
7795
7795
  _this.errorText = error;
7796
- _this.loadingText = $localize(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7796
+ _this.loadingText = $localize(templateObject_4$7 || (templateObject_4$7 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7797
7797
  });
7798
7798
  }
7799
7799
  };
@@ -7813,7 +7813,7 @@
7813
7813
  var _a;
7814
7814
  if (((_a = this.project) === null || _a === void 0 ? void 0 : _a.Id) && this.project_store && this.formProject) {
7815
7815
  this.isLoadingData = true;
7816
- this.loadingText = $localize(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject([":@@Updating-Text-Project:Updating project..."], [":@@Updating-Text-Project:Updating project..."])));
7816
+ this.loadingText = $localize(templateObject_5$7 || (templateObject_5$7 = __makeTemplateObject([":@@Updating-Text-Project:Updating project..."], [":@@Updating-Text-Project:Updating project..."])));
7817
7817
  var data = {
7818
7818
  StartDate: this.formProject.StartDate,
7819
7819
  EndDate: this.formProject.EndDate
@@ -7823,12 +7823,12 @@
7823
7823
  _this.getProject();
7824
7824
  _this.isLoadingData = false;
7825
7825
  _this.inEditMode = false;
7826
- _this.loadingText = $localize(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7826
+ _this.loadingText = $localize(templateObject_6$6 || (templateObject_6$6 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7827
7827
  }, function (error) {
7828
7828
  console.log(error);
7829
7829
  _this.isLoadingData = false;
7830
- _this.loadingText = $localize(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7831
- MessageBox.showError({ title: $localize(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject([":@@Failed-Text-Project:Project update failed"], [":@@Failed-Text-Project:Project update failed"]))), message: error }, _this.matDialog)
7830
+ _this.loadingText = $localize(templateObject_7$6 || (templateObject_7$6 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7831
+ MessageBox.showError({ title: $localize(templateObject_8$6 || (templateObject_8$6 = __makeTemplateObject([":@@Failed-Text-Project:Project update failed"], [":@@Failed-Text-Project:Project update failed"]))), message: error }, _this.matDialog)
7832
7832
  .subscribe(function (result) {
7833
7833
  });
7834
7834
  });
@@ -7879,7 +7879,7 @@
7879
7879
  type: i0.ViewChild,
7880
7880
  args: ['form']
7881
7881
  }] } });
7882
- var templateObject_1$7, templateObject_2$6, templateObject_3$6, templateObject_4$6, templateObject_5$6, templateObject_6$5, templateObject_7$5, templateObject_8$5;
7882
+ var templateObject_1$8, templateObject_2$7, templateObject_3$7, templateObject_4$7, templateObject_5$7, templateObject_6$6, templateObject_7$6, templateObject_8$6;
7883
7883
 
7884
7884
  var ProjectVariantConfigComponent = /** @class */ (function () {
7885
7885
  function ProjectVariantConfigComponent(coreService, cloudDataService, matDialog) {
@@ -7889,13 +7889,13 @@
7889
7889
  this.editAllowed = false;
7890
7890
  this.inEditMode = false;
7891
7891
  this.isLoadingData = false;
7892
- this.loadingText = $localize(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7892
+ this.loadingText = $localize(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7893
7893
  this.hasErrors = false;
7894
7894
  this.errorText = "";
7895
7895
  this.projectChanged = new i0.EventEmitter();
7896
7896
  this.boolean_ds = [
7897
- { id: false, description: $localize(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject([":@@FieldValue-No:No"], [":@@FieldValue-No:No"]))) },
7898
- { id: true, description: $localize(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject([":@@FieldValue-Yes:Yes"], [":@@FieldValue-Yes:Yes"]))) }
7897
+ { id: false, description: $localize(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject([":@@FieldValue-No:No"], [":@@FieldValue-No:No"]))) },
7898
+ { id: true, description: $localize(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject([":@@FieldValue-Yes:Yes"], [":@@FieldValue-Yes:Yes"]))) }
7899
7899
  ];
7900
7900
  }
7901
7901
  ProjectVariantConfigComponent.prototype.ngOnInit = function () {
@@ -7932,7 +7932,7 @@
7932
7932
  var _a;
7933
7933
  if (((_a = this.project) === null || _a === void 0 ? void 0 : _a.Id) && this.project_store) {
7934
7934
  this.isLoadingData = true;
7935
- this.loadingText = $localize(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject([":@@Loading-Text-Project:Loading project..."], [":@@Loading-Text-Project:Loading project..."])));
7935
+ this.loadingText = $localize(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject([":@@Loading-Text-Project:Loading project..."], [":@@Loading-Text-Project:Loading project..."])));
7936
7936
  this.project_store.byKey(this.project.Id, { expand: this.project_expands }).then(function (dataItem) {
7937
7937
  _this.formProject = Object.assign(new i2.Project(), dataItem[0]);
7938
7938
  _this.project = _this.formProject;
@@ -7940,14 +7940,14 @@
7940
7940
  _this.isLoadingData = false;
7941
7941
  _this.hasErrors = false;
7942
7942
  _this.errorText = "";
7943
- _this.loadingText = $localize(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7943
+ _this.loadingText = $localize(templateObject_5$6 || (templateObject_5$6 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7944
7944
  _this.projectChanged.emit(_this.project);
7945
7945
  }, function (error) {
7946
7946
  console.log(error);
7947
7947
  _this.isLoadingData = false;
7948
7948
  _this.hasErrors = true;
7949
7949
  _this.errorText = error;
7950
- _this.loadingText = $localize(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7950
+ _this.loadingText = $localize(templateObject_6$5 || (templateObject_6$5 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7951
7951
  });
7952
7952
  }
7953
7953
  };
@@ -7967,7 +7967,7 @@
7967
7967
  var _a;
7968
7968
  if (((_a = this.project) === null || _a === void 0 ? void 0 : _a.Id) && this.project_store && this.formProject) {
7969
7969
  this.isLoadingData = true;
7970
- this.loadingText = $localize(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject([":@@Updating-Text-Project:Updating project..."], [":@@Updating-Text-Project:Updating project..."])));
7970
+ this.loadingText = $localize(templateObject_7$5 || (templateObject_7$5 = __makeTemplateObject([":@@Updating-Text-Project:Updating project..."], [":@@Updating-Text-Project:Updating project..."])));
7971
7971
  var data = {
7972
7972
  SchemaTypeId: this.formProject.SchemaTypeId,
7973
7973
  VariantConfig1_Enabled: this.formProject.VariantConfig1_Enabled,
@@ -7979,7 +7979,7 @@
7979
7979
  _this.getProject();
7980
7980
  _this.isLoadingData = false;
7981
7981
  _this.inEditMode = false;
7982
- _this.loadingText = $localize(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7982
+ _this.loadingText = $localize(templateObject_8$5 || (templateObject_8$5 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
7983
7983
  }, function (error) {
7984
7984
  console.log(error);
7985
7985
  _this.isLoadingData = false;
@@ -8065,7 +8065,7 @@
8065
8065
  type: i0.ViewChild,
8066
8066
  args: ['form']
8067
8067
  }] } });
8068
- var templateObject_1$6, templateObject_2$5, templateObject_3$5, templateObject_4$5, templateObject_5$5, templateObject_6$4, templateObject_7$4, templateObject_8$4, templateObject_9$1, templateObject_10$1;
8068
+ var templateObject_1$7, templateObject_2$6, templateObject_3$6, templateObject_4$6, templateObject_5$6, templateObject_6$5, templateObject_7$5, templateObject_8$5, templateObject_9$1, templateObject_10$1;
8069
8069
 
8070
8070
  var ServiceObjectGeneralComponent = /** @class */ (function () {
8071
8071
  function ServiceObjectGeneralComponent(coreService, cloudDataService, matDialog) {
@@ -8075,7 +8075,7 @@
8075
8075
  this.editAllowed = false;
8076
8076
  this.inEditMode = false;
8077
8077
  this.isLoadingData = false;
8078
- this.loadingText = $localize(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
8078
+ this.loadingText = $localize(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
8079
8079
  this.hasErrors = false;
8080
8080
  this.errorText = "";
8081
8081
  this.serviceObjectChanged = new i0.EventEmitter();
@@ -8115,7 +8115,7 @@
8115
8115
  var _a;
8116
8116
  if (((_a = this.serviceObject) === null || _a === void 0 ? void 0 : _a.Id) && this.formserviceObject && this.serviceObject_store) {
8117
8117
  this.isLoadingData = true;
8118
- this.loadingText = $localize(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject([":@@Loading-Text-ServiceObject:Loading service object..."], [":@@Loading-Text-ServiceObject:Loading service object..."])));
8118
+ this.loadingText = $localize(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject([":@@Loading-Text-ServiceObject:Loading service object..."], [":@@Loading-Text-ServiceObject:Loading service object..."])));
8119
8119
  this.serviceObject_store.byKey(this.serviceObject.Id, { expand: this.serviceObject_expands }).then(function (dataItem) {
8120
8120
  _this.formserviceObject = Object.assign(new i2.ServiceObject(), dataItem[0]);
8121
8121
  _this.serviceObject = _this.formserviceObject;
@@ -8123,14 +8123,14 @@
8123
8123
  _this.isLoadingData = false;
8124
8124
  _this.hasErrors = false;
8125
8125
  _this.errorText = "";
8126
- _this.loadingText = $localize(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
8126
+ _this.loadingText = $localize(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
8127
8127
  _this.serviceObjectChanged.emit(_this.serviceObject);
8128
8128
  }, function (error) {
8129
8129
  console.log(error);
8130
8130
  _this.isLoadingData = false;
8131
8131
  _this.hasErrors = true;
8132
8132
  _this.errorText = error;
8133
- _this.loadingText = $localize(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
8133
+ _this.loadingText = $localize(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
8134
8134
  });
8135
8135
  }
8136
8136
  };
@@ -8150,7 +8150,7 @@
8150
8150
  var _a, _b, _c;
8151
8151
  if (this.formserviceObject && ((_a = this.serviceObject) === null || _a === void 0 ? void 0 : _a.Id) && this.serviceObject_store) {
8152
8152
  this.isLoadingData = true;
8153
- this.loadingText = $localize(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject([":@@Updating-Text-ServiceObject:Updating service object..."], [":@@Updating-Text-ServiceObject:Updating service object..."])));
8153
+ this.loadingText = $localize(templateObject_5$5 || (templateObject_5$5 = __makeTemplateObject([":@@Updating-Text-ServiceObject:Updating service object..."], [":@@Updating-Text-ServiceObject:Updating service object..."])));
8154
8154
  var data = {
8155
8155
  ServiceObjectId: this.formserviceObject.ServiceObjectId,
8156
8156
  Name: this.formserviceObject.Name,
@@ -8158,6 +8158,7 @@
8158
8158
  OrderReference: this.formserviceObject.OrderReference,
8159
8159
  CustomerId: (_b = this.formserviceObject) === null || _b === void 0 ? void 0 : _b.CustomerId,
8160
8160
  BeaconId: (_c = this.formserviceObject) === null || _c === void 0 ? void 0 : _c.BeaconId,
8161
+ InitialDate: this.formserviceObject.InitialDate,
8161
8162
  ExpireDate: this.formserviceObject.ExpireDate,
8162
8163
  ExternalId: this.formserviceObject.ExternalId,
8163
8164
  };
@@ -8166,12 +8167,12 @@
8166
8167
  _this.getServiceObject();
8167
8168
  _this.isLoadingData = false;
8168
8169
  _this.inEditMode = false;
8169
- _this.loadingText = $localize(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
8170
+ _this.loadingText = $localize(templateObject_6$4 || (templateObject_6$4 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
8170
8171
  }, function (error) {
8171
8172
  console.log(error);
8172
8173
  _this.isLoadingData = false;
8173
- _this.loadingText = $localize(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
8174
- MessageBox.showError({ title: $localize(templateObject_8$3 || (templateObject_8$3 = __makeTemplateObject([":@@Failed-Text-ServiceObject:Service object update failed"], [":@@Failed-Text-ServiceObject:Service object update failed"]))), message: error }, _this.matDialog)
8174
+ _this.loadingText = $localize(templateObject_7$4 || (templateObject_7$4 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
8175
+ MessageBox.showError({ title: $localize(templateObject_8$4 || (templateObject_8$4 = __makeTemplateObject([":@@Failed-Text-ServiceObject:Service object update failed"], [":@@Failed-Text-ServiceObject:Service object update failed"]))), message: error }, _this.matDialog)
8175
8176
  .subscribe(function (result) {
8176
8177
  });
8177
8178
  });
@@ -8228,7 +8229,7 @@
8228
8229
  return ServiceObjectGeneralComponent;
8229
8230
  }());
8230
8231
  ServiceObjectGeneralComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ServiceObjectGeneralComponent, deps: [{ token: i1__namespace$1.MobicloudCoreService }, { token: i2__namespace$1.MobiCloudDataService }, { token: i3__namespace.MatDialog }], target: i0__namespace.ɵɵFactoryTarget.Component });
8231
- ServiceObjectGeneralComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ServiceObjectGeneralComponent, selector: "mobicloud-service-object-general", inputs: { serviceObject: "serviceObject", serviceObject_expands: "serviceObject_expands", editAllowed: "editAllowed", inEditMode: "inEditMode", width: "width", contentheight: "contentheight", isLoadingData: "isLoadingData", loadingText: "loadingText", hasErrors: "hasErrors", errorText: "errorText" }, outputs: { serviceObjectChanged: "serviceObjectChanged" }, viewQueries: [{ propertyName: "form", first: true, predicate: ["form"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<mobicloud-group-box title=\"General\" i18n-title=\"@@CaptionHeader-General\" [width]=\"[width]\" [contentheight]=[contentheight] class=\"serviceObjectGeneralForm\" [isLoadingData]=\"isLoadingData\" [loadingText]=\"loadingText\" \n [editAllowed]=\"editAllowed\" [inEditMode]=\"inEditMode\" [hasErrors]=\"hasErrors\" errorCaption=\"Error\" i18n-errorCaption=\"@@CaptionHeader-Error\" [errorText]=\"errorText\" [enableRetryOnError]=\"true\"\n (Edit_Click)=\"onEditClick()\" (Save_Click)=\"onSaveClick()\" (CancelEdit_Click)=\"onCancelEditClick()\" (Retry_Click)=\"onRetryClick()\">\n\n <dx-form #form id=\"form\"\n [formData]=\"formserviceObject\"\n [readOnly]=\"!inEditMode\"\n [showColonAfterLabel]=\"true\"\n labelLocation=\"top\"\n [showValidationSummary]=\"false\" \n [showRequiredMark] = \"false\"\n validationGroup=\"formServiceObjectData_General\">\n\n <dxi-item itemType=\"group\" caption=\"\" [colCount]=\"2\">\n <dxi-item dataField=\"ServiceObjectId\">\n <dxo-label text=\"Service Object id\" i18n-text=\"@@FieldCaption-ServiceObjectId\"></dxo-label>\n <dxi-validation-rule type=\"required\" message=\"Service Object id is required\" i18n-message=\"@@ValidationText-ServiceObjectId-Required\"></dxi-validation-rule>\n </dxi-item> \n <dxi-item dataField=\"Name\" [colSpan]=\"2\">\n <dxo-label text=\"Name\" i18n-text=\"@@FieldCaption-Name\"></dxo-label>\n <dxi-validation-rule type=\"required\" message=\"Name is required\" i18n-message=\"@@ValidationText-Name-Required\"></dxi-validation-rule>\n </dxi-item>\n\n <dxi-item dataField=\"Serialnumber\">\n <dxo-label text=\"Serialnumber\" i18n-text=\"@@FieldCaption-Serialnumber\"></dxo-label>\n </dxi-item>\n\n <dxi-item dataField=\"OrderReference\">\n <dxo-label text=\"Order ref.\" i18n-text=\"@@FieldCaption-OrderReference\"></dxo-label>\n </dxi-item>\n <dxi-item dataField=\"ExternalId\" [colSpan]=\"2\">\n <dxo-label text=\"External id\" i18n-text=\"@@FieldCaption-ExternalId\"></dxo-label>\n </dxi-item>\n <dxi-item dataField=\"CustomerId\" #customer [colSpan]=\"2\" editorType=\"dxLookup\" [editorOptions]=\"{ itemTemplate:'customer_itemTemplate', fieldTemplate: 'customer_fieldTemplate', dataSource: customer_ds, valueExpr: 'Id', displayExpr: 'Name', searchEnabled: true, searchExpr: ['AccountNumber','Name'], showClearButton: true }\">\n <dxo-label text=\"Customer\" i18n-text=\"@@FieldCaption-Customer\"></dxo-label> \n </dxi-item>\n\n <dxi-item dataField=\"BeaconId\" #customer [colSpan]=\"2\" editorType=\"dxLookup\" [editorOptions]=\"{ itemTemplate:'beacon_itemTemplate', fieldTemplate: 'beacon_fieldTemplate', dataSource: beacon_ds, valueExpr: 'Id', displayExpr: 'Name', searchEnabled: true, searchExpr: ['BeaconId','Name'], showClearButton: true }\">\n <dxo-label text=\"Beacon\" i18n-text=\"@@FieldCaption-Beacon\"></dxo-label>\n </dxi-item>\n \n <dxi-item dataField=\"ExpireDate\" [colSpan]=\"2\" editorType=\"dxDateBox\">\n <dxo-label text=\"Expire date\" i18n-text=\"@@FieldCaption-ExpireDate\"></dxo-label>\n </dxi-item> \n \n </dxi-item>\n \n <!-- Templates -->\n <div *dxTemplate=\"let item of 'customer_itemTemplate'\">\n {{ item?.Name }} ({{ item?.AccountNumber }})\n </div> \n <div *dxTemplate=\"let fieldData of 'customer_fieldTemplate'\" [ngClass]=\"{'lookup-field-template-container':!inEditMode, 'lookup-field-template-container-readonly':!inEditMode}\">\n {{fieldData?.Name}} ({{ fieldData?.AccountNumber }})\n </div> \n \n <div *dxTemplate=\"let item of 'beacon_itemTemplate'\">\n {{ item?.Name }} ({{ item?.BeaconId }})\n </div> \n <div *dxTemplate=\"let fieldData of 'beacon_fieldTemplate'\" [ngClass]=\"{'lookup-field-template-container':!inEditMode, 'lookup-field-template-container-readonly':!inEditMode}\">\n {{fieldData?.Name}} ({{ fieldData?.BeaconId }})\n </div> \n </dx-form>\n\n</mobicloud-group-box>", styles: [""], components: [{ type: GroupBoxComponent, selector: "mobicloud-group-box", inputs: ["width", "contentheight", "noBackgroundHeader", "title", "isLoadingData", "loadingText", "hasErrors", "errorCaption", "errorText", "enableRetryOnError", "editAllowed", "inEditMode"], outputs: ["Edit_Click", "Save_Click", "CancelEdit_Click", "Retry_Click"] }, { type: i5__namespace$3.DxFormComponent, selector: "dx-form", inputs: ["accessKey", "activeStateEnabled", "alignItemLabels", "alignItemLabelsInAllGroups", "colCount", "colCountByScreen", "customizeItem", "disabled", "elementAttr", "focusStateEnabled", "formData", "height", "hint", "hoverStateEnabled", "items", "labelLocation", "labelMode", "minColWidth", "optionalMark", "readOnly", "requiredMark", "requiredMessage", "rtlEnabled", "screenByWidth", "scrollingEnabled", "showColonAfterLabel", "showOptionalMark", "showRequiredMark", "showValidationSummary", "tabIndex", "validationGroup", "visible", "width"], outputs: ["onContentReady", "onDisposing", "onEditorEnterKey", "onFieldDataChanged", "onInitialized", "onOptionChanged", "accessKeyChange", "activeStateEnabledChange", "alignItemLabelsChange", "alignItemLabelsInAllGroupsChange", "colCountChange", "colCountByScreenChange", "customizeItemChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "formDataChange", "heightChange", "hintChange", "hoverStateEnabledChange", "itemsChange", "labelLocationChange", "labelModeChange", "minColWidthChange", "optionalMarkChange", "readOnlyChange", "requiredMarkChange", "requiredMessageChange", "rtlEnabledChange", "screenByWidthChange", "scrollingEnabledChange", "showColonAfterLabelChange", "showOptionalMarkChange", "showRequiredMarkChange", "showValidationSummaryChange", "tabIndexChange", "validationGroupChange", "visibleChange", "widthChange"] }, { type: i6__namespace.DxiItemComponent, selector: "dxi-item", inputs: ["disabled", "html", "icon", "template", "text", "title", "titleTemplate", "visible", "onClick", "stylingMode", "type", "baseSize", "box", "ratio", "shrink", "elementAttr", "hint", "beginGroup", "closeMenuOnClick", "items", "selectable", "selected", "colSpan", "cssClass", "dataField", "editorOptions", "editorType", "helpText", "isRequired", "itemType", "label", "name", "validationRules", "visibleIndex", "alignItemLabels", "caption", "colCount", "colCountByScreen", "tabPanelOptions", "tabs", "badge", "tabTemplate", "buttonOptions", "horizontalAlignment", "verticalAlignment", "locateInMenu", "location", "menuItemTemplate", "options", "showText", "widget", "height", "width", "imageAlt", "imageSrc", "acceptedValues", "formatName", "formatValues", "key", "showChevron", "heightRatio", "widthRatio", "expanded", "hasItems", "id", "parentId"] }, { type: i6__namespace.DxoLabelComponent, selector: "dxo-label", inputs: ["connectorColor", "connectorWidth", "customizeText", "font", "format", "indent", "visible", "horizontalAlignment", "position", "text", "verticalAlignment", "alignment", "customizeHint", "displayMode", "indentFromAxis", "overlappingBehavior", "rotationAngle", "staggeringSpacing", "template", "textOverflow", "wordWrap", "argumentFormat", "backgroundColor", "border", "connector", "displayFormat", "horizontalOffset", "showForZeroValues", "verticalOffset", "hideFirstOrLast", "indentFromTick", "useRangeColors", "location", "showColon", "radialOffset", "topIndent", "shadow", "useNodeColors", "dataField", "enabled"] }, { type: i6__namespace.DxiValidationRuleComponent, selector: "dxi-validation-rule", inputs: ["message", "trim", "type", "ignoreEmptyValue", "max", "min", "reevaluate", "validationCallback", "comparisonTarget", "comparisonType", "pattern"] }], directives: [{ type: i7__namespace$1.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { type: i4__namespace$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i9__namespace$2.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }] });
8232
+ ServiceObjectGeneralComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ServiceObjectGeneralComponent, selector: "mobicloud-service-object-general", inputs: { serviceObject: "serviceObject", serviceObject_expands: "serviceObject_expands", editAllowed: "editAllowed", inEditMode: "inEditMode", width: "width", contentheight: "contentheight", isLoadingData: "isLoadingData", loadingText: "loadingText", hasErrors: "hasErrors", errorText: "errorText" }, outputs: { serviceObjectChanged: "serviceObjectChanged" }, viewQueries: [{ propertyName: "form", first: true, predicate: ["form"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<mobicloud-group-box title=\"General\" i18n-title=\"@@CaptionHeader-General\" [width]=\"[width]\" [contentheight]=[contentheight] class=\"serviceObjectGeneralForm\" [isLoadingData]=\"isLoadingData\" [loadingText]=\"loadingText\" \n [editAllowed]=\"editAllowed\" [inEditMode]=\"inEditMode\" [hasErrors]=\"hasErrors\" errorCaption=\"Error\" i18n-errorCaption=\"@@CaptionHeader-Error\" [errorText]=\"errorText\" [enableRetryOnError]=\"true\"\n (Edit_Click)=\"onEditClick()\" (Save_Click)=\"onSaveClick()\" (CancelEdit_Click)=\"onCancelEditClick()\" (Retry_Click)=\"onRetryClick()\">\n\n <dx-form #form id=\"form\"\n [formData]=\"formserviceObject\"\n [readOnly]=\"!inEditMode\"\n [showColonAfterLabel]=\"true\"\n labelLocation=\"top\"\n [showValidationSummary]=\"false\" \n [showRequiredMark] = \"false\"\n validationGroup=\"formServiceObjectData_General\">\n\n <dxi-item itemType=\"group\" caption=\"\" [colCount]=\"2\">\n <dxi-item dataField=\"ServiceObjectId\">\n <dxo-label text=\"Service Object id\" i18n-text=\"@@FieldCaption-ServiceObjectId\"></dxo-label>\n <dxi-validation-rule type=\"required\" message=\"Service Object id is required\" i18n-message=\"@@ValidationText-ServiceObjectId-Required\"></dxi-validation-rule>\n </dxi-item> \n <dxi-item dataField=\"Name\" [colSpan]=\"2\">\n <dxo-label text=\"Name\" i18n-text=\"@@FieldCaption-Name\"></dxo-label>\n <dxi-validation-rule type=\"required\" message=\"Name is required\" i18n-message=\"@@ValidationText-Name-Required\"></dxi-validation-rule>\n </dxi-item>\n\n <dxi-item dataField=\"Serialnumber\">\n <dxo-label text=\"Serialnumber\" i18n-text=\"@@FieldCaption-Serialnumber\"></dxo-label>\n </dxi-item>\n\n <dxi-item dataField=\"OrderReference\">\n <dxo-label text=\"Order ref.\" i18n-text=\"@@FieldCaption-OrderReference\"></dxo-label>\n </dxi-item>\n <dxi-item dataField=\"ExternalId\" [colSpan]=\"2\">\n <dxo-label text=\"External id\" i18n-text=\"@@FieldCaption-ExternalId\"></dxo-label>\n </dxi-item>\n <dxi-item dataField=\"CustomerId\" #customer [colSpan]=\"2\" editorType=\"dxLookup\" [editorOptions]=\"{ itemTemplate:'customer_itemTemplate', fieldTemplate: 'customer_fieldTemplate', dataSource: customer_ds, valueExpr: 'Id', displayExpr: 'Name', searchEnabled: true, searchExpr: ['AccountNumber','Name'], showClearButton: true }\">\n <dxo-label text=\"Customer\" i18n-text=\"@@FieldCaption-Customer\"></dxo-label> \n </dxi-item>\n\n <dxi-item dataField=\"BeaconId\" #customer [colSpan]=\"2\" editorType=\"dxLookup\" [editorOptions]=\"{ itemTemplate:'beacon_itemTemplate', fieldTemplate: 'beacon_fieldTemplate', dataSource: beacon_ds, valueExpr: 'Id', displayExpr: 'Name', searchEnabled: true, searchExpr: ['BeaconId','Name'], showClearButton: true }\">\n <dxo-label text=\"Beacon\" i18n-text=\"@@FieldCaption-Beacon\"></dxo-label>\n </dxi-item>\n \n <dxi-item dataField=\"InitialDate\" editorType=\"dxDateBox\">\n <dxo-label text=\"Initial date\" i18n-text=\"@@FieldCaption-InitialDate\"></dxo-label>\n </dxi-item> \n <dxi-item dataField=\"ExpireDate\" editorType=\"dxDateBox\">\n <dxo-label text=\"Expire date\" i18n-text=\"@@FieldCaption-ExpireDate\"></dxo-label>\n </dxi-item> \n\n </dxi-item>\n \n <!-- Templates -->\n <div *dxTemplate=\"let item of 'customer_itemTemplate'\">\n {{ item?.Name }} ({{ item?.AccountNumber }})\n </div> \n <div *dxTemplate=\"let fieldData of 'customer_fieldTemplate'\" [ngClass]=\"{'lookup-field-template-container':!inEditMode, 'lookup-field-template-container-readonly':!inEditMode}\">\n {{fieldData?.Name}} ({{ fieldData?.AccountNumber }})\n </div> \n \n <div *dxTemplate=\"let item of 'beacon_itemTemplate'\">\n {{ item?.Name }} ({{ item?.BeaconId }})\n </div> \n <div *dxTemplate=\"let fieldData of 'beacon_fieldTemplate'\" [ngClass]=\"{'lookup-field-template-container':!inEditMode, 'lookup-field-template-container-readonly':!inEditMode}\">\n {{fieldData?.Name}} ({{ fieldData?.BeaconId }})\n </div> \n </dx-form>\n\n</mobicloud-group-box>", styles: [""], components: [{ type: GroupBoxComponent, selector: "mobicloud-group-box", inputs: ["width", "contentheight", "noBackgroundHeader", "title", "isLoadingData", "loadingText", "hasErrors", "errorCaption", "errorText", "enableRetryOnError", "editAllowed", "inEditMode"], outputs: ["Edit_Click", "Save_Click", "CancelEdit_Click", "Retry_Click"] }, { type: i5__namespace$3.DxFormComponent, selector: "dx-form", inputs: ["accessKey", "activeStateEnabled", "alignItemLabels", "alignItemLabelsInAllGroups", "colCount", "colCountByScreen", "customizeItem", "disabled", "elementAttr", "focusStateEnabled", "formData", "height", "hint", "hoverStateEnabled", "items", "labelLocation", "labelMode", "minColWidth", "optionalMark", "readOnly", "requiredMark", "requiredMessage", "rtlEnabled", "screenByWidth", "scrollingEnabled", "showColonAfterLabel", "showOptionalMark", "showRequiredMark", "showValidationSummary", "tabIndex", "validationGroup", "visible", "width"], outputs: ["onContentReady", "onDisposing", "onEditorEnterKey", "onFieldDataChanged", "onInitialized", "onOptionChanged", "accessKeyChange", "activeStateEnabledChange", "alignItemLabelsChange", "alignItemLabelsInAllGroupsChange", "colCountChange", "colCountByScreenChange", "customizeItemChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "formDataChange", "heightChange", "hintChange", "hoverStateEnabledChange", "itemsChange", "labelLocationChange", "labelModeChange", "minColWidthChange", "optionalMarkChange", "readOnlyChange", "requiredMarkChange", "requiredMessageChange", "rtlEnabledChange", "screenByWidthChange", "scrollingEnabledChange", "showColonAfterLabelChange", "showOptionalMarkChange", "showRequiredMarkChange", "showValidationSummaryChange", "tabIndexChange", "validationGroupChange", "visibleChange", "widthChange"] }, { type: i6__namespace.DxiItemComponent, selector: "dxi-item", inputs: ["disabled", "html", "icon", "template", "text", "title", "titleTemplate", "visible", "onClick", "stylingMode", "type", "baseSize", "box", "ratio", "shrink", "elementAttr", "hint", "beginGroup", "closeMenuOnClick", "items", "selectable", "selected", "colSpan", "cssClass", "dataField", "editorOptions", "editorType", "helpText", "isRequired", "itemType", "label", "name", "validationRules", "visibleIndex", "alignItemLabels", "caption", "colCount", "colCountByScreen", "tabPanelOptions", "tabs", "badge", "tabTemplate", "buttonOptions", "horizontalAlignment", "verticalAlignment", "locateInMenu", "location", "menuItemTemplate", "options", "showText", "widget", "height", "width", "imageAlt", "imageSrc", "acceptedValues", "formatName", "formatValues", "key", "showChevron", "heightRatio", "widthRatio", "expanded", "hasItems", "id", "parentId"] }, { type: i6__namespace.DxoLabelComponent, selector: "dxo-label", inputs: ["connectorColor", "connectorWidth", "customizeText", "font", "format", "indent", "visible", "horizontalAlignment", "position", "text", "verticalAlignment", "alignment", "customizeHint", "displayMode", "indentFromAxis", "overlappingBehavior", "rotationAngle", "staggeringSpacing", "template", "textOverflow", "wordWrap", "argumentFormat", "backgroundColor", "border", "connector", "displayFormat", "horizontalOffset", "showForZeroValues", "verticalOffset", "hideFirstOrLast", "indentFromTick", "useRangeColors", "location", "showColon", "radialOffset", "topIndent", "shadow", "useNodeColors", "dataField", "enabled"] }, { type: i6__namespace.DxiValidationRuleComponent, selector: "dxi-validation-rule", inputs: ["message", "trim", "type", "ignoreEmptyValue", "max", "min", "reevaluate", "validationCallback", "comparisonTarget", "comparisonType", "pattern"] }], directives: [{ type: i7__namespace$1.DxTemplateDirective, selector: "[dxTemplate]", inputs: ["dxTemplateOf"] }, { type: i4__namespace$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i9__namespace$2.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }] });
8232
8233
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ServiceObjectGeneralComponent, decorators: [{
8233
8234
  type: i0.Component,
8234
8235
  args: [{
@@ -8262,6 +8263,162 @@
8262
8263
  type: i0.ViewChild,
8263
8264
  args: ['form']
8264
8265
  }] } });
8266
+ var templateObject_1$6, templateObject_2$5, templateObject_3$5, templateObject_4$5, templateObject_5$5, templateObject_6$4, templateObject_7$4, templateObject_8$4;
8267
+
8268
+ var ServiceObjectModelComponent = /** @class */ (function () {
8269
+ function ServiceObjectModelComponent(coreService, cloudDataService, matDialog) {
8270
+ this.coreService = coreService;
8271
+ this.cloudDataService = cloudDataService;
8272
+ this.matDialog = matDialog;
8273
+ this.editAllowed = false;
8274
+ this.inEditMode = false;
8275
+ this.isLoadingData = false;
8276
+ this.loadingText = $localize(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
8277
+ this.hasErrors = false;
8278
+ this.errorText = "";
8279
+ this.serviceObjectChanged = new i0.EventEmitter();
8280
+ }
8281
+ ServiceObjectModelComponent.prototype.ngOnInit = function () {
8282
+ var _this = this;
8283
+ this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.editAllowed = _this.coreService.isMasterOrganizationUserAuthenticated() || _this.coreService.isEmployeeAuthenticated(); });
8284
+ this.initializeDataSource();
8285
+ };
8286
+ ServiceObjectModelComponent.prototype.initializeDataSource = function () {
8287
+ return __awaiter(this, void 0, void 0, function () {
8288
+ return __generator(this, function (_c) {
8289
+ this.serviceObject_store = new ODataStore__default["default"]({
8290
+ url: this.cloudDataService.getMobiManagementODataUrl("ServiceObject"),
8291
+ withCredentials: true,
8292
+ key: "Id",
8293
+ keyType: "Guid",
8294
+ version: 4,
8295
+ });
8296
+ return [2 /*return*/];
8297
+ });
8298
+ });
8299
+ };
8300
+ ServiceObjectModelComponent.prototype.ngOnChanges = function (changes) {
8301
+ var _a;
8302
+ if (((_a = changes['serviceObject']) === null || _a === void 0 ? void 0 : _a.currentValue) && changes['serviceObject'].currentValue != this.formserviceObject) {
8303
+ this.formserviceObject = this.serviceObject;
8304
+ this.onServiceObjectChanged(this.formserviceObject);
8305
+ }
8306
+ };
8307
+ ServiceObjectModelComponent.prototype.onServiceObjectChanged = function (serviceOb) {
8308
+ };
8309
+ ServiceObjectModelComponent.prototype.getServiceObject = function () {
8310
+ var _this = this;
8311
+ var _a;
8312
+ if (this.serviceObject_store && ((_a = this.serviceObject) === null || _a === void 0 ? void 0 : _a.Id)) {
8313
+ this.isLoadingData = true;
8314
+ this.loadingText = $localize(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject([":@@Loading-Text-ServiceObject:Loading service object..."], [":@@Loading-Text-ServiceObject:Loading service object..."])));
8315
+ this.serviceObject_store.byKey(this.serviceObject.Id, { expand: this.serviceObject_expands }).then(function (dataItem) {
8316
+ _this.formserviceObject = Object.assign(new i2.ServiceObject(), dataItem[0]);
8317
+ _this.serviceObject = _this.formserviceObject;
8318
+ _this.onServiceObjectChanged(_this.serviceObject);
8319
+ _this.isLoadingData = false;
8320
+ _this.hasErrors = false;
8321
+ _this.errorText = "";
8322
+ _this.loadingText = $localize(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
8323
+ _this.serviceObjectChanged.emit(_this.serviceObject);
8324
+ }, function (error) {
8325
+ console.log(error);
8326
+ _this.isLoadingData = false;
8327
+ _this.hasErrors = true;
8328
+ _this.errorText = error;
8329
+ _this.loadingText = $localize(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
8330
+ });
8331
+ }
8332
+ };
8333
+ ServiceObjectModelComponent.prototype.onEditClick = function () {
8334
+ var _a, _b;
8335
+ (_b = (_a = this.form.instance) === null || _a === void 0 ? void 0 : _a.getEditor("Type")) === null || _b === void 0 ? void 0 : _b.focus();
8336
+ this.inEditMode = true;
8337
+ };
8338
+ ServiceObjectModelComponent.prototype.onSaveClick = function () {
8339
+ var validateResult = this.form.instance.validate();
8340
+ if (validateResult === null || validateResult === void 0 ? void 0 : validateResult.isValid) {
8341
+ this.saveServiceObject();
8342
+ }
8343
+ };
8344
+ ServiceObjectModelComponent.prototype.saveServiceObject = function () {
8345
+ var _this = this;
8346
+ if (this.serviceObject_store && this.serviceObject && this.formserviceObject) {
8347
+ this.isLoadingData = true;
8348
+ this.loadingText = $localize(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject([":@@Updating-Text-ServiceObject:Updating service object..."], [":@@Updating-Text-ServiceObject:Updating service object..."])));
8349
+ var data = {
8350
+ Type: this.formserviceObject.Type,
8351
+ Category: this.formserviceObject.Category,
8352
+ Brand: this.formserviceObject.Brand,
8353
+ Model: this.formserviceObject.Model,
8354
+ ModelYear: this.formserviceObject.ModelYear,
8355
+ Version: this.formserviceObject.Version,
8356
+ Weight: this.formserviceObject.Weight,
8357
+ Height: this.formserviceObject.Height,
8358
+ Depth: this.formserviceObject.Depth,
8359
+ Length: this.formserviceObject.Length,
8360
+ };
8361
+ this.serviceObject_store.update(this.serviceObject.Id, data)
8362
+ .then(function (dataObj) {
8363
+ _this.getServiceObject();
8364
+ _this.isLoadingData = false;
8365
+ _this.inEditMode = false;
8366
+ _this.loadingText = $localize(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
8367
+ }, function (error) {
8368
+ console.log(error);
8369
+ _this.isLoadingData = false;
8370
+ _this.loadingText = $localize(templateObject_7$3 || (templateObject_7$3 = __makeTemplateObject([":@@Loading-Text:Loading..."], [":@@Loading-Text:Loading..."])));
8371
+ MessageBox.showError({ title: $localize(templateObject_8$3 || (templateObject_8$3 = __makeTemplateObject([":@@Failed-Text-ServiceObject:Service object update failed"], [":@@Failed-Text-ServiceObject:Service object update failed"]))), message: error }, _this.matDialog)
8372
+ .subscribe(function (result) {
8373
+ });
8374
+ });
8375
+ }
8376
+ };
8377
+ ServiceObjectModelComponent.prototype.onRetryClick = function () {
8378
+ this.getServiceObject();
8379
+ this.inEditMode = false;
8380
+ };
8381
+ ServiceObjectModelComponent.prototype.onCancelEditClick = function () {
8382
+ this.getServiceObject();
8383
+ this.inEditMode = false;
8384
+ };
8385
+ return ServiceObjectModelComponent;
8386
+ }());
8387
+ ServiceObjectModelComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ServiceObjectModelComponent, deps: [{ token: i1__namespace$1.MobicloudCoreService }, { token: i2__namespace$1.MobiCloudDataService }, { token: i3__namespace.MatDialog }], target: i0__namespace.ɵɵFactoryTarget.Component });
8388
+ ServiceObjectModelComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ServiceObjectModelComponent, selector: "mobicloud-service-object-model.component", inputs: { serviceObject: "serviceObject", serviceObject_expands: "serviceObject_expands", editAllowed: "editAllowed", inEditMode: "inEditMode", width: "width", contentheight: "contentheight", isLoadingData: "isLoadingData", loadingText: "loadingText", hasErrors: "hasErrors", errorText: "errorText" }, outputs: { serviceObjectChanged: "serviceObjectChanged" }, viewQueries: [{ propertyName: "form", first: true, predicate: ["form"], descendants: true }], usesOnChanges: true, ngImport: i0__namespace, template: "<mobicloud-group-box title=\"Service\" i18n-title=\"@@CaptionHeader-Service\" [width]=\"[width]\" [contentheight]=[contentheight] class=\"serviceObjectServiceForm\" [isLoadingData]=\"isLoadingData\" [loadingText]=\"loadingText\" \n [editAllowed]=\"editAllowed\" [inEditMode]=\"inEditMode\" [hasErrors]=\"hasErrors\" errorCaption=\"Error\" i18n-errorCaption=\"@@CaptionHeader-Error\" [errorText]=\"errorText\" [enableRetryOnError]=\"true\"\n (Edit_Click)=\"onEditClick()\" (Save_Click)=\"onSaveClick()\" (CancelEdit_Click)=\"onCancelEditClick()\" (Retry_Click)=\"onRetryClick()\">\n\n <dx-form #form id=\"form\"\n [formData]=\"formserviceObject\"\n [readOnly]=\"!inEditMode\"\n [showColonAfterLabel]=\"true\"\n labelLocation=\"top\"\n [showValidationSummary]=\"false\" \n [showRequiredMark] = \"false\"\n validationGroup=\"formServiceObjectData_Service\">\n <dxi-item itemType=\"group\" caption=\"\" [colCount]=\"2\">\n <dxi-item dataField=\"Type\">\n <dxo-label text=\"Type\" i18n-text=\"@@FieldCaption-Type\"></dxo-label> \n </dxi-item> \n\n <dxi-item dataField=\"Category\">\n <dxo-label text=\"Category\" i18n-text=\"@@FieldCaption-Category\"></dxo-label> \n </dxi-item> \n\n <dxi-item dataField=\"Brand\">\n <dxo-label text=\"Brand\" i18n-text=\"@@FieldCaption-Brand\"></dxo-label> \n </dxi-item> \n\n <dxi-item dataField=\"Model\">\n <dxo-label text=\"Model\" i18n-text=\"@@FieldCaption-Model\"></dxo-label> \n </dxi-item> \n\n <dxi-item dataField=\"ModelYear\">\n <dxo-label text=\"Model (Year)\" i18n-text=\"@@FieldCaption-ModelYear\"></dxo-label> \n </dxi-item> \n\n <dxi-item dataField=\"Version\">\n <dxo-label text=\"Version\" i18n-text=\"@@FieldCaption-Version\"></dxo-label> \n </dxi-item> \n\n <dxi-item dataField=\"Weight\">\n <dxo-label text=\"Weight\" i18n-text=\"@@FieldCaption-Weight\"></dxo-label> \n </dxi-item> \n\n <dxi-item dataField=\"Height\">\n <dxo-label text=\"Height\" i18n-text=\"@@FieldCaption-Height\"></dxo-label> \n </dxi-item> \n\n <dxi-item dataField=\"Depth\">\n <dxo-label text=\"Depth\" i18n-text=\"@@FieldCaption-Depth\"></dxo-label> \n </dxi-item> \n\n <dxi-item dataField=\"Length\">\n <dxo-label text=\"Length\" i18n-text=\"@@FieldCaption-Length\"></dxo-label> \n </dxi-item> \n \n </dxi-item>\n </dx-form>\n\n</mobicloud-group-box>", styles: [""], components: [{ type: GroupBoxComponent, selector: "mobicloud-group-box", inputs: ["width", "contentheight", "noBackgroundHeader", "title", "isLoadingData", "loadingText", "hasErrors", "errorCaption", "errorText", "enableRetryOnError", "editAllowed", "inEditMode"], outputs: ["Edit_Click", "Save_Click", "CancelEdit_Click", "Retry_Click"] }, { type: i5__namespace$3.DxFormComponent, selector: "dx-form", inputs: ["accessKey", "activeStateEnabled", "alignItemLabels", "alignItemLabelsInAllGroups", "colCount", "colCountByScreen", "customizeItem", "disabled", "elementAttr", "focusStateEnabled", "formData", "height", "hint", "hoverStateEnabled", "items", "labelLocation", "labelMode", "minColWidth", "optionalMark", "readOnly", "requiredMark", "requiredMessage", "rtlEnabled", "screenByWidth", "scrollingEnabled", "showColonAfterLabel", "showOptionalMark", "showRequiredMark", "showValidationSummary", "tabIndex", "validationGroup", "visible", "width"], outputs: ["onContentReady", "onDisposing", "onEditorEnterKey", "onFieldDataChanged", "onInitialized", "onOptionChanged", "accessKeyChange", "activeStateEnabledChange", "alignItemLabelsChange", "alignItemLabelsInAllGroupsChange", "colCountChange", "colCountByScreenChange", "customizeItemChange", "disabledChange", "elementAttrChange", "focusStateEnabledChange", "formDataChange", "heightChange", "hintChange", "hoverStateEnabledChange", "itemsChange", "labelLocationChange", "labelModeChange", "minColWidthChange", "optionalMarkChange", "readOnlyChange", "requiredMarkChange", "requiredMessageChange", "rtlEnabledChange", "screenByWidthChange", "scrollingEnabledChange", "showColonAfterLabelChange", "showOptionalMarkChange", "showRequiredMarkChange", "showValidationSummaryChange", "tabIndexChange", "validationGroupChange", "visibleChange", "widthChange"] }, { type: i6__namespace.DxiItemComponent, selector: "dxi-item", inputs: ["disabled", "html", "icon", "template", "text", "title", "titleTemplate", "visible", "onClick", "stylingMode", "type", "baseSize", "box", "ratio", "shrink", "elementAttr", "hint", "beginGroup", "closeMenuOnClick", "items", "selectable", "selected", "colSpan", "cssClass", "dataField", "editorOptions", "editorType", "helpText", "isRequired", "itemType", "label", "name", "validationRules", "visibleIndex", "alignItemLabels", "caption", "colCount", "colCountByScreen", "tabPanelOptions", "tabs", "badge", "tabTemplate", "buttonOptions", "horizontalAlignment", "verticalAlignment", "locateInMenu", "location", "menuItemTemplate", "options", "showText", "widget", "height", "width", "imageAlt", "imageSrc", "acceptedValues", "formatName", "formatValues", "key", "showChevron", "heightRatio", "widthRatio", "expanded", "hasItems", "id", "parentId"] }, { type: i6__namespace.DxoLabelComponent, selector: "dxo-label", inputs: ["connectorColor", "connectorWidth", "customizeText", "font", "format", "indent", "visible", "horizontalAlignment", "position", "text", "verticalAlignment", "alignment", "customizeHint", "displayMode", "indentFromAxis", "overlappingBehavior", "rotationAngle", "staggeringSpacing", "template", "textOverflow", "wordWrap", "argumentFormat", "backgroundColor", "border", "connector", "displayFormat", "horizontalOffset", "showForZeroValues", "verticalOffset", "hideFirstOrLast", "indentFromTick", "useRangeColors", "location", "showColon", "radialOffset", "topIndent", "shadow", "useNodeColors", "dataField", "enabled"] }] });
8389
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ServiceObjectModelComponent, decorators: [{
8390
+ type: i0.Component,
8391
+ args: [{
8392
+ selector: 'mobicloud-service-object-model.component',
8393
+ templateUrl: './service-object-model.component.html',
8394
+ styleUrls: ['./service-object-model.component.scss']
8395
+ }]
8396
+ }], ctorParameters: function () { return [{ type: i1__namespace$1.MobicloudCoreService }, { type: i2__namespace$1.MobiCloudDataService }, { type: i3__namespace.MatDialog }]; }, propDecorators: { serviceObject: [{
8397
+ type: i0.Input
8398
+ }], serviceObject_expands: [{
8399
+ type: i0.Input
8400
+ }], editAllowed: [{
8401
+ type: i0.Input
8402
+ }], inEditMode: [{
8403
+ type: i0.Input
8404
+ }], width: [{
8405
+ type: i0.Input
8406
+ }], contentheight: [{
8407
+ type: i0.Input
8408
+ }], isLoadingData: [{
8409
+ type: i0.Input
8410
+ }], loadingText: [{
8411
+ type: i0.Input
8412
+ }], hasErrors: [{
8413
+ type: i0.Input
8414
+ }], errorText: [{
8415
+ type: i0.Input
8416
+ }], serviceObjectChanged: [{
8417
+ type: i0.Output
8418
+ }], form: [{
8419
+ type: i0.ViewChild,
8420
+ args: ['form']
8421
+ }] } });
8265
8422
  var templateObject_1$5, templateObject_2$4, templateObject_3$4, templateObject_4$4, templateObject_5$4, templateObject_6$3, templateObject_7$3, templateObject_8$3;
8266
8423
 
8267
8424
  var ServiceObjectImageComponent = /** @class */ (function () {
@@ -8826,7 +8983,7 @@
8826
8983
  };
8827
8984
  ServiceObjectServiceComponent.prototype.onEditClick = function () {
8828
8985
  var _a, _b;
8829
- (_b = (_a = this.form.instance) === null || _a === void 0 ? void 0 : _a.getEditor("Name")) === null || _b === void 0 ? void 0 : _b.focus();
8986
+ (_b = (_a = this.form.instance) === null || _a === void 0 ? void 0 : _a.getEditor("DigitalId")) === null || _b === void 0 ? void 0 : _b.focus();
8830
8987
  this.inEditMode = true;
8831
8988
  };
8832
8989
  ServiceObjectServiceComponent.prototype.onSaveClick = function () {
@@ -9285,7 +9442,7 @@
9285
9442
  EmployeeAddressComponent, EmployeeProfileComponent, EmployeeProfileImageComponent, EmployeeUserInfoComponent, EmployeeCheckinInfoComponent, SystemUserProfileComponent, CustomerUserAddressComponent, CustomerUserDetailsComponent, CustomerUserGeneralComponent, CustomerUserImageComponent, VendorUserAddressComponent, VendorUserDetailsComponent, VendorUserGeneralComponent, VendorUserImageComponent,
9286
9443
  PickinglistAddNewShipment, PrintDialogShipment, DimensionGroupBoxComponent, DimensionGroupsComponent,
9287
9444
  ProjectDescriptionComponent, ProjectFinanceComponent, ProjectGeneralComponent, ProjectLocationComponent, ProjectTimeComponent, ProjectVariantConfigComponent,
9288
- ServiceObjectGeneralComponent, ServiceObjectImageComponent, ServiceObjectInventoryComponent, ServiceObjectLocationComponent, ServiceObjectServiceComponent, DocumentCatalogComponent, DocumentCatalogDialogComponent], imports: [i4$2.CommonModule, i2$1.RouterModule, icons.MobiCloudIconsModule, flexLayout.FlexLayoutModule,
9445
+ ServiceObjectGeneralComponent, ServiceObjectModelComponent, ServiceObjectImageComponent, ServiceObjectInventoryComponent, ServiceObjectLocationComponent, ServiceObjectServiceComponent, DocumentCatalogComponent, DocumentCatalogDialogComponent], imports: [i4$2.CommonModule, i2$1.RouterModule, icons.MobiCloudIconsModule, flexLayout.FlexLayoutModule,
9289
9446
  i4.MatSidenavModule, i4$1.MatButtonModule, i8.MatIconModule, i10.MatExpansionModule, i9.MatListModule, i14.MatMenuModule, i9$1.MatTooltipModule, i5.MatToolbarModule, i1$2.MatCardModule, i4$3.MatProgressSpinnerModule, slideToggle.MatSlideToggleModule, i7$2.MatStepperModule,
9290
9447
  i7.DxButtonModule, i7.DxSelectBoxModule, i7.DxCheckBoxModule, i7.DxNumberBoxModule, i7.DxTextBoxModule, i7.DxTextAreaModule, i7.DxLookupModule, i7.DxDropDownBoxModule, i7.DxTabsModule, i7.DxTabPanelModule,
9291
9448
  i7.DxLoadPanelModule, i7.DxHtmlEditorModule, i7.DxListModule, i7.DxAccordionModule, i7.DxFileManagerModule, i7.DxFileUploaderModule, i7.DxPopupModule, i7.DevExtremeModule, i7.DxFormModule,
@@ -9297,7 +9454,7 @@
9297
9454
  ProfilePageComponent, ProfilePageSystemUserComponent, ProfilePageEmployeeComponent, ProfilePageCustomerUserComponent, ProfilePageVendorUserComponent, CameraDialogEditComponent, ImageEditComponent,
9298
9455
  EmployeeAddressComponent, EmployeeProfileComponent, EmployeeProfileImageComponent, EmployeeUserInfoComponent, EmployeeCheckinInfoComponent, SystemUserProfileComponent, CustomerUserAddressComponent, CustomerUserDetailsComponent, CustomerUserGeneralComponent, CustomerUserImageComponent, VendorUserAddressComponent, VendorUserDetailsComponent, VendorUserGeneralComponent, VendorUserImageComponent,
9299
9456
  PickinglistAddNewShipment, PrintDialogShipment, DimensionGroupBoxComponent, DimensionGroupsComponent, ProjectDescriptionComponent, ProjectFinanceComponent, ProjectGeneralComponent, ProjectLocationComponent, ProjectTimeComponent, ProjectVariantConfigComponent,
9300
- ServiceObjectGeneralComponent, ServiceObjectImageComponent, ServiceObjectInventoryComponent, ServiceObjectLocationComponent, ServiceObjectServiceComponent, DocumentCatalogComponent, DocumentCatalogDialogComponent] });
9457
+ ServiceObjectGeneralComponent, ServiceObjectModelComponent, ServiceObjectImageComponent, ServiceObjectInventoryComponent, ServiceObjectLocationComponent, ServiceObjectServiceComponent, DocumentCatalogComponent, DocumentCatalogDialogComponent] });
9301
9458
  MobiCloudComponentsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MobiCloudComponentsModule, imports: [[
9302
9459
  i4$2.CommonModule, i2$1.RouterModule, icons.MobiCloudIconsModule, flexLayout.FlexLayoutModule,
9303
9460
  i4.MatSidenavModule, i4$1.MatButtonModule, i8.MatIconModule, i10.MatExpansionModule, i9.MatListModule, i14.MatMenuModule, i9$1.MatTooltipModule, i5.MatToolbarModule, i1$2.MatCardModule, i4$3.MatProgressSpinnerModule, slideToggle.MatSlideToggleModule, i7$2.MatStepperModule,
@@ -9317,7 +9474,7 @@
9317
9474
  EmployeeAddressComponent, EmployeeProfileComponent, EmployeeProfileImageComponent, EmployeeUserInfoComponent, EmployeeCheckinInfoComponent, SystemUserProfileComponent, CustomerUserAddressComponent, CustomerUserDetailsComponent, CustomerUserGeneralComponent, CustomerUserImageComponent, VendorUserAddressComponent, VendorUserDetailsComponent, VendorUserGeneralComponent, VendorUserImageComponent,
9318
9475
  PickinglistAddNewShipment, PrintDialogShipment, DimensionGroupBoxComponent, DimensionGroupsComponent,
9319
9476
  ProjectDescriptionComponent, ProjectFinanceComponent, ProjectGeneralComponent, ProjectLocationComponent, ProjectTimeComponent, ProjectVariantConfigComponent,
9320
- ServiceObjectGeneralComponent, ServiceObjectImageComponent, ServiceObjectInventoryComponent, ServiceObjectLocationComponent, ServiceObjectServiceComponent, DocumentCatalogComponent, DocumentCatalogDialogComponent
9477
+ ServiceObjectGeneralComponent, ServiceObjectModelComponent, ServiceObjectImageComponent, ServiceObjectInventoryComponent, ServiceObjectLocationComponent, ServiceObjectServiceComponent, DocumentCatalogComponent, DocumentCatalogDialogComponent
9321
9478
  ],
9322
9479
  imports: [
9323
9480
  i4$2.CommonModule, i2$1.RouterModule, icons.MobiCloudIconsModule, flexLayout.FlexLayoutModule,
@@ -9335,7 +9492,7 @@
9335
9492
  ProfilePageComponent, ProfilePageSystemUserComponent, ProfilePageEmployeeComponent, ProfilePageCustomerUserComponent, ProfilePageVendorUserComponent, CameraDialogEditComponent, ImageEditComponent,
9336
9493
  EmployeeAddressComponent, EmployeeProfileComponent, EmployeeProfileImageComponent, EmployeeUserInfoComponent, EmployeeCheckinInfoComponent, SystemUserProfileComponent, CustomerUserAddressComponent, CustomerUserDetailsComponent, CustomerUserGeneralComponent, CustomerUserImageComponent, VendorUserAddressComponent, VendorUserDetailsComponent, VendorUserGeneralComponent, VendorUserImageComponent,
9337
9494
  PickinglistAddNewShipment, PrintDialogShipment, DimensionGroupBoxComponent, DimensionGroupsComponent, ProjectDescriptionComponent, ProjectFinanceComponent, ProjectGeneralComponent, ProjectLocationComponent, ProjectTimeComponent, ProjectVariantConfigComponent,
9338
- ServiceObjectGeneralComponent, ServiceObjectImageComponent, ServiceObjectInventoryComponent, ServiceObjectLocationComponent, ServiceObjectServiceComponent, DocumentCatalogComponent, DocumentCatalogDialogComponent
9495
+ ServiceObjectGeneralComponent, ServiceObjectModelComponent, ServiceObjectImageComponent, ServiceObjectInventoryComponent, ServiceObjectLocationComponent, ServiceObjectServiceComponent, DocumentCatalogComponent, DocumentCatalogDialogComponent
9339
9496
  ]
9340
9497
  }]
9341
9498
  }] });
@@ -9384,6 +9541,7 @@
9384
9541
  exports.ServiceObjectImageComponent = ServiceObjectImageComponent;
9385
9542
  exports.ServiceObjectInventoryComponent = ServiceObjectInventoryComponent;
9386
9543
  exports.ServiceObjectLocationComponent = ServiceObjectLocationComponent;
9544
+ exports.ServiceObjectModelComponent = ServiceObjectModelComponent;
9387
9545
  exports.ServiceObjectServiceComponent = ServiceObjectServiceComponent;
9388
9546
  exports.ShipmentPriceRequest = ShipmentPriceRequest;
9389
9547
  exports.Shipment_Receiver = Shipment_Receiver;