@bnsights/bbsf-admin-portal 1.0.15 → 1.0.19

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.
@@ -10217,6 +10217,7 @@
10217
10217
  this.ShowSourceFunctionData = false;
10218
10218
  this.showFunctionNotFoundError = false;
10219
10219
  this.sourceFunctionDataNotLoaded = false;
10220
+ this.configuration = null;
10220
10221
  //Add Model Controls
10221
10222
  this.AddConfigurationForm = new i10.FormGroup({});
10222
10223
  this.SourceFuncValue = new i6.DropdownOptions();
@@ -10282,7 +10283,7 @@
10282
10283
  EditModel.ID = _this.ConfigurationId;
10283
10284
  EditModel.ValueType = _this.ConfigurationValueType;
10284
10285
  EditModel.ScopeId = _this.EditConfigurationScopeID;
10285
- EditModel.Key = ResultModel.EditKey;
10286
+ EditModel.Key = _this.ProductionMode ? _this.configuration.key : ResultModel.Key;
10286
10287
  switch (_this.EditConfigurationTypeID) {
10287
10288
  case ConfigurationTypes$1.Text:
10288
10289
  EditModel.TextValue = ResultModel.EditTextValue;
@@ -10644,8 +10645,9 @@
10644
10645
  _this.EditConfigurationFormOptions.PagingActionMode = i6.PagingActionMode.Update;
10645
10646
  _this.ConfigurationValueType = configuration.valueType;
10646
10647
  _this.EditConfigurationScopeID = configuration.scopeId;
10648
+ _this.configuration = configuration;
10647
10649
  _this.EditKey = new i6.TextBoxOptions();
10648
- _this.EditKey.Name = "EditKey";
10650
+ _this.EditKey.Name = "Key";
10649
10651
  _this.EditKey.LabelKey = "Key";
10650
10652
  _this.EditKey.Type = i6.InputType.Text;
10651
10653
  _this.EditKey.IsRequired = !_this.ProductionMode;
@@ -20011,159 +20013,7 @@
20011
20013
  type: i0.Injectable
20012
20014
  }] });
20013
20015
 
20014
- // import {AuthenticationModule} from './Pages/authentication/authentication.module';
20015
- // export function getAuthenticationModule() {
20016
- // return AuthenticationModule;
20017
- // }
20018
- // import {HomeModule} from './Pages/home/home.module';
20019
- // export function getHomeModule() {
20020
- // return HomeModule;
20021
- // }
20022
- // import {UsersModule} from './Pages/users/users.module';
20023
- // export function getUsersModule() {
20024
- // return UsersModule;
20025
- // }
20026
- // import {LocalizationsModule} from './Pages/localizations/localizations.module';
20027
- // export function getLocalizationsModule() {
20028
- // return LocalizationsModule;
20029
- // }
20030
- // import { RolesModule } from './Pages/roles/roles.module';
20031
- // export function getRolesModule() {
20032
- // return RolesModule;
20033
- // }
20034
- // import { NotificationsModule } from './Pages/notifications/notifications.module';
20035
- // export function getNotificationsModule() {
20036
- // return NotificationsModule;
20037
- // }
20038
- // import { LookupsModule } from './Pages/lookups/lookups.module';
20039
- // export function getLookupsModule() {
20040
- // return LookupsModule;
20041
- // }
20042
- // import { DepartmentsModule } from './Pages/departments/departments.module';
20043
- // export function getDepartmentsModule() {
20044
- // return DepartmentsModule;
20045
- // }
20046
- // import { SectorsModule } from './Pages/sectors/sectors.module';
20047
- // export function getSectorsModule() {
20048
- // return SectorsModule;
20049
- // }
20050
- // import { ConfigurationsModule } from './Pages/configurations/configurations.module';
20051
- // export function getConfigurationsModule() {
20052
- // return ConfigurationsModule;
20053
- // }
20054
- // import { ImpersonationRulesModule } from './Pages/impersonation-rules/impersonation-rules.module';
20055
- // export function getImpersonationRulesModule() {
20056
- // return ImpersonationRulesModule;
20057
- // }
20058
- // import { JobsModule } from './Pages/jobs/jobs.module';
20059
- // export function getJobsModule() {
20060
- // return JobsModule;
20061
- // }
20062
- // import { LicenseModule } from './Pages/license/license.module';
20063
- // export function getLicenseModule() {
20064
- // return LicenseModule;
20065
- // }
20066
- // import { WorkflowsModule } from './Pages/workflows/workflows.module';
20067
- // export function getWorkflowsModule() {
20068
- // return WorkflowsModule;
20069
- // }
20070
- // import { PublicHolidaysModule } from './Pages/publicHolidays/public-holidays.module';
20071
- // export function getPublicHolidaysModule() {
20072
- // return PublicHolidaysModule;
20073
- // }
20074
- // import { HelpCenterModule } from './Pages/helpCenter/help-center.module';
20075
- // export function getHelpCenterModule() {
20076
- // return HelpCenterModule;
20077
- // }
20078
- // import { LogsModule } from './Pages/logs/logs.module';
20079
- // export function getLogsModule() {
20080
- // return LogsModule;
20081
- // }
20082
- // import { ProvidersModule } from './Pages/providers/providers.module';
20083
- // export function getProvidersModule() {
20084
- // return ProvidersModule;
20085
- // }
20086
20016
  var AppInjector;
20087
- // export let routes: Routes =
20088
- // [
20089
- // {
20090
- // path: '', redirectTo: 'Home', pathMatch: 'full'
20091
- // },
20092
- // {
20093
- // path: 'authentication', loadChildren:getAuthenticationModule
20094
- // },
20095
- // {
20096
- // path: 'Home', loadChildren: getHomeModule
20097
- // },
20098
- // {
20099
- // path: 'Users', loadChildren:getUsersModule
20100
- // }
20101
- // ,
20102
- // {
20103
- // path: 'Localization', loadChildren: getLocalizationsModule
20104
- // }
20105
- // ,
20106
- // {
20107
- // path: 'Roles', loadChildren: getRolesModule
20108
- // }
20109
- // ,
20110
- // {
20111
- // path: 'Notifications', loadChildren: getNotificationsModule
20112
- // }
20113
- // ,
20114
- // {
20115
- // path: 'Lookups', loadChildren: getLookupsModule
20116
- // }
20117
- // ,
20118
- // {
20119
- // path: 'Departments', loadChildren: getDepartmentsModule
20120
- // }
20121
- // ,
20122
- // {
20123
- // path: 'Sectors', loadChildren: getSectorsModule
20124
- // }
20125
- // ,
20126
- // {
20127
- // path: 'Configurations', loadChildren: getConfigurationsModule
20128
- // }
20129
- // ,
20130
- // {
20131
- // path: 'ImpersonationRules', loadChildren: getImpersonationRulesModule
20132
- // }
20133
- // ,
20134
- // {
20135
- // path: 'Jobs', loadChildren: getJobsModule
20136
- // }
20137
- // ,
20138
- // {
20139
- // path: 'License', loadChildren: getLicenseModule
20140
- // }
20141
- // ,
20142
- // {
20143
- // path: 'Workflows', loadChildren: getWorkflowsModule
20144
- // }
20145
- // ,
20146
- // {
20147
- // path: 'PublicHolidays', loadChildren: getPublicHolidaysModule
20148
- // } ,
20149
- // {
20150
- // path: 'HelpCenter', loadChildren: getHelpCenterModule
20151
- // },
20152
- // {
20153
- // path: 'Logs', loadChildren: getLogsModule
20154
- // },
20155
- // {
20156
- // path: 'Providers', loadChildren: getProvidersModule
20157
- // } ,
20158
- // ]
20159
- // export let getrouts=()=> {
20160
- // for (let index = 0; index < injectionModuleService.InjectedModules.length; index++) {
20161
- // const InjectedModule = injectionModuleService.InjectedModules[index];
20162
- // routes.push({path:InjectedModule.routeName,loadChildren:InjectedModule.module})
20163
- // }
20164
- // return routes;
20165
- // }
20166
- // @dynamic
20167
20017
  //@dynamic
20168
20018
  var MasterlayoutRoutingModule = /** @class */ (function () {
20169
20019
  function MasterlayoutRoutingModule(injector) {
@@ -20442,7 +20292,7 @@
20442
20292
  return ActivationComponent;
20443
20293
  }());
20444
20294
  ActivationComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ActivationComponent, deps: [{ token: i1__namespace$1.ActivatedRoute }, { token: AccountService$1 }, { token: i1__namespace.UtilityService }, { token: i1__namespace$1.Router }], target: i0__namespace.ɵɵFactoryTarget.Component });
20445
- ActivationComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ActivationComponent, selector: "lib-activation", ngImport: i0__namespace, template: "\r\n\r\n<div class=\"form w-100\" novalidate=\"novalidate\" id=\"kt_sign_in_form\">\r\n <div class=\"text-center mb-10\">\r\n <h1 class=\"text-dark mb-3\"> {{UserName}} </h1>\r\n </div>\r\n <BBSF-Form [options]=\"activateFormOptions\" *ngIf=\"ErrorMessage==null &&isModelLoaded\">\r\n <div class=\"fv-row mb-10\">\r\n <BBSF-TextBox [options]=\"password\" [group]=\"activateForm\"></BBSF-TextBox>\r\n </div>\r\n <div class=\"fv-row mb-10\">\r\n <BBSF-TextBox [options]=\"confirmPassword\" [group]=\"activateForm\"></BBSF-TextBox>\r\n </div>\r\n <div class=\"fv-row mb-10\">\r\n <a href=\"/Admin/account/login\"\r\n class=\"link-primary fs-6 fw-bolder d-flex justify-content-end mt-2\">\r\n <i class=\"fas fa-arrow-left text-light-primary me-2 anchor \"></i> {{utilityService.getResourceValue(\"Back\")}}\r\n </a>\r\n </div>\r\n <div class=\"text-center\">\r\n <!--begin::Submit button-->\r\n <button type=\"submit\"\r\n class=\"btn btn-primary btn-sm\">\r\n {{utilityService.getResourceValue(\"Activate\")}}\r\n </button>\r\n </div>\r\n </BBSF-Form>\r\n <div *ngIf=\"ErrorMessage!=null\">\r\n <ul class=\"alert alert-InvalidValidation bg-light-danger list-unstyled\">\r\n <li>\r\n {{ErrorMessage}}\r\n </li>\r\n </ul>\r\n </div>\r\n</div>\r\n<!--end::Form-->\r\n", components: [{ type: i6__namespace.ɵv, selector: "BBSF-Form", inputs: ["options"] }, { type: i6__namespace.ɵd, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
20295
+ ActivationComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ActivationComponent, selector: "lib-activation", ngImport: i0__namespace, template: "<block-ui></block-ui>\r\n<div class=\"form w-100\" novalidate=\"novalidate\" id=\"kt_sign_in_form\">\r\n <div class=\"text-center mb-10\">\r\n <h1 class=\"text-dark mb-3\"> {{UserName}} </h1>\r\n </div>\r\n <BBSF-Form [options]=\"activateFormOptions\" *ngIf=\"ErrorMessage==null &&isModelLoaded\">\r\n <div class=\"fv-row mb-10\">\r\n <BBSF-TextBox [options]=\"password\" [group]=\"activateForm\"></BBSF-TextBox>\r\n </div>\r\n <div class=\"fv-row mb-10\">\r\n <BBSF-TextBox [options]=\"confirmPassword\" [group]=\"activateForm\"></BBSF-TextBox>\r\n </div>\r\n <div class=\"fv-row mb-10\">\r\n <a href=\"/Admin/account/login\"\r\n class=\"link-primary fs-6 fw-bolder d-flex justify-content-end mt-2\">\r\n <i class=\"fas fa-arrow-left text-light-primary me-2 anchor \"></i> {{utilityService.getResourceValue(\"Back\")}}\r\n </a>\r\n </div>\r\n <div class=\"text-center\">\r\n <!--begin::Submit button-->\r\n <button type=\"submit\"\r\n class=\"btn btn-primary btn-sm\">\r\n {{utilityService.getResourceValue(\"Activate\")}}\r\n </button>\r\n </div>\r\n </BBSF-Form>\r\n <div *ngIf=\"ErrorMessage!=null\">\r\n <ul class=\"alert alert-InvalidValidation bg-light-danger list-unstyled\">\r\n <li>\r\n {{ErrorMessage}}\r\n </li>\r\n </ul>\r\n </div>\r\n</div>\r\n<!--end::Form-->\r\n", components: [{ type: i5__namespace$1.BlockUIComponent, selector: "block-ui", inputs: ["name", "template", "message", "delayStart", "delayStop"] }, { type: i6__namespace.ɵv, selector: "BBSF-Form", inputs: ["options"] }, { type: i6__namespace.ɵd, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
20446
20296
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ActivationComponent, decorators: [{
20447
20297
  type: i0.Component,
20448
20298
  args: [{
@@ -20473,6 +20323,10 @@
20473
20323
  _this.utilityService.notifySuccessMessage();
20474
20324
  _this.router.navigate(['/Admin/account/login']);
20475
20325
  };
20326
+ this.onErrorHandler = function (error) {
20327
+ _this.utilityService.notifyErrorMessage(error.error.message);
20328
+ _this.utilityService.stopBlockUI();
20329
+ };
20476
20330
  }
20477
20331
  ForgotPasswordComponent.prototype.ngOnInit = function () {
20478
20332
  this.forgotForm = new i10.FormGroup({});
@@ -20481,6 +20335,7 @@
20481
20335
  this.forgotFormOptions.GetModelFunction = this.getForgotModel;
20482
20336
  this.forgotFormOptions.ServiceSubmitFunction = this.getForgotFunction;
20483
20337
  this.forgotFormOptions.OnSuccessHandler = this.onSuccessHandler;
20338
+ this.forgotFormOptions.OnErrorHandler = this.onErrorHandler;
20484
20339
  this.email = new i6.TextBoxOptions();
20485
20340
  this.email.Value = null;
20486
20341
  this.email.Name = "Email";
@@ -20492,7 +20347,7 @@
20492
20347
  return ForgotPasswordComponent;
20493
20348
  }());
20494
20349
  ForgotPasswordComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ForgotPasswordComponent, deps: [{ token: i1__namespace.UtilityService }, { token: AccountService$1 }, { token: i1__namespace$1.Router }], target: i0__namespace.ɵɵFactoryTarget.Component });
20495
- ForgotPasswordComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ForgotPasswordComponent, selector: "lib-forgot-password", ngImport: i0__namespace, template: "<div class=\"form w-100\" novalidate=\"novalidate\" id=\"kt_sign_in_form\">\r\n <input type=\"hidden\" name=\"ReturnUrl\" value=\"@Model.ReturnUrl\" />\r\n <div class=\"text-center mb-10\">\r\n <h1 class=\"text-dark mb-3\"> {{utilityService.getResourceValue(\"ForgotPassword\")}} ?</h1>\r\n </div>\r\n <BBSF-Form [options]=\"forgotFormOptions\">\r\n <div class=\"fv-row mb-10\">\r\n <BBSF-TextBox [options]=\"email\" [group]=\"forgotForm\"></BBSF-TextBox>\r\n <div class=\"text-right\">\r\n <a href=\"/Admin/account/login\" class=\"link-primary fs-6 fw-bolder mt-2\">{{utilityService.getResourceValue(\"Back\")}} </a>\r\n </div>\r\n\r\n </div>\r\n <div class=\"text-center\">\r\n <!--begin::Submit button-->\r\n <button type=\"submit\" class=\"btn btn-primary btn-sm\">{{utilityService.getResourceValue(\"RestPassword\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n\r\n\r\n</div>\r\n<!--end::Form-->\r\n", components: [{ type: i6__namespace.ɵv, selector: "BBSF-Form", inputs: ["options"] }, { type: i6__namespace.ɵd, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }] });
20350
+ ForgotPasswordComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: ForgotPasswordComponent, selector: "lib-forgot-password", ngImport: i0__namespace, template: "<block-ui></block-ui>\r\n<div class=\"form w-100\" novalidate=\"novalidate\" id=\"kt_sign_in_form\">\r\n <input type=\"hidden\" name=\"ReturnUrl\" value=\"@Model.ReturnUrl\" />\r\n <div class=\"text-center mb-10\">\r\n <h1 class=\"text-dark mb-3\"> {{utilityService.getResourceValue(\"ForgotPassword\")}} ?</h1>\r\n </div>\r\n <BBSF-Form [options]=\"forgotFormOptions\">\r\n <div class=\"fv-row mb-10\">\r\n <BBSF-TextBox [options]=\"email\" [group]=\"forgotForm\"></BBSF-TextBox>\r\n <div class=\"text-right\">\r\n <a href=\"/Admin/account/login\" class=\"link-primary fs-6 fw-bolder mt-2\">{{utilityService.getResourceValue(\"Back\")}} </a>\r\n </div>\r\n\r\n </div>\r\n <div class=\"text-center\">\r\n <!--begin::Submit button-->\r\n <button type=\"submit\" class=\"btn btn-primary btn-sm\">{{utilityService.getResourceValue(\"RestPassword\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n\r\n\r\n</div>\r\n<!--end::Form-->\r\n", components: [{ type: i5__namespace$1.BlockUIComponent, selector: "block-ui", inputs: ["name", "template", "message", "delayStart", "delayStop"] }, { type: i6__namespace.ɵv, selector: "BBSF-Form", inputs: ["options"] }, { type: i6__namespace.ɵd, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }] });
20496
20351
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: ForgotPasswordComponent, decorators: [{
20497
20352
  type: i0.Component,
20498
20353
  args: [{
@@ -20577,7 +20432,7 @@
20577
20432
  return RestPasswordComponent;
20578
20433
  }());
20579
20434
  RestPasswordComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RestPasswordComponent, deps: [{ token: i1__namespace$1.ActivatedRoute }, { token: AccountService$1 }, { token: i1__namespace.UtilityService }, { token: i1__namespace$1.Router }], target: i0__namespace.ɵɵFactoryTarget.Component });
20580
- RestPasswordComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RestPasswordComponent, selector: "lib-rest-password", ngImport: i0__namespace, template: "\r\n<div class=\"form w-100\" novalidate=\"novalidate\" id=\"kt_sign_in_form\">\r\n <div class=\"text-center mb-10\">\r\n <h1 class=\"text-dark mb-3\"> {{utilityService.getResourceValue(\"RestPassword\")}} ?</h1>\r\n </div>\r\n <BBSF-Form [options]=\"restFormOptions\" *ngIf=\"ErrorMessage==null &&isModelLoaded\">\r\n <div class=\"fv-row mb-10\">\r\n <BBSF-TextBox [options]=\"password\" [group]=\"restForm\"></BBSF-TextBox>\r\n </div>\r\n <div class=\"fv-row mb-10\">\r\n <BBSF-TextBox [options]=\"confirmPassword\" [group]=\"restForm\"></BBSF-TextBox>\r\n </div>\r\n <div class=\"fv-row mb-10\">\r\n <a href=\"/Admin/account/login\"\r\n class=\"link-primary fs-6 fw-bolder d-flex justify-content-end mt-2\">\r\n <i class=\"fas fa-arrow-left anchor text-light-primary me-2 anchor \"></i> {{utilityService.getResourceValue(\"Back\")}}\r\n </a>\r\n </div>\r\n <div class=\"text-center\">\r\n <!--begin::Submit button-->\r\n <button type=\"submit\"\r\n class=\"btn btn-primary btn-sm\">\r\n {{utilityService.getResourceValue(\"SetPassword\")}}\r\n </button>\r\n </div>\r\n </BBSF-Form>\r\n <div *ngIf=\"ErrorMessage!=null\">\r\n <ul class=\"alert alert-InvalidValidation bg-light-danger list-unstyled\">\r\n <li>\r\n {{ErrorMessage}}\r\n </li>\r\n </ul>\r\n \r\n\r\n </div>\r\n</div>\r\n<!--end::Form-->\r\n", components: [{ type: i6__namespace.ɵv, selector: "BBSF-Form", inputs: ["options"] }, { type: i6__namespace.ɵd, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
20435
+ RestPasswordComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: RestPasswordComponent, selector: "lib-rest-password", ngImport: i0__namespace, template: "<block-ui></block-ui>\r\n<div class=\"form w-100\" novalidate=\"novalidate\" id=\"kt_sign_in_form\">\r\n <div class=\"text-center mb-10\">\r\n <h1 class=\"text-dark mb-3\"> {{utilityService.getResourceValue(\"RestPassword\")}} ?</h1>\r\n </div>\r\n <BBSF-Form [options]=\"restFormOptions\" *ngIf=\"ErrorMessage==null &&isModelLoaded\">\r\n <div class=\"fv-row mb-10\">\r\n <BBSF-TextBox [options]=\"password\" [group]=\"restForm\"></BBSF-TextBox>\r\n </div>\r\n <div class=\"fv-row mb-10\">\r\n <BBSF-TextBox [options]=\"confirmPassword\" [group]=\"restForm\"></BBSF-TextBox>\r\n </div>\r\n <div class=\"fv-row mb-10\">\r\n <a href=\"/Admin/account/login\"\r\n class=\"link-primary fs-6 fw-bolder d-flex justify-content-end mt-2\">\r\n <i class=\"fas fa-arrow-left anchor text-light-primary me-2 anchor \"></i> {{utilityService.getResourceValue(\"Back\")}}\r\n </a>\r\n </div>\r\n <div class=\"text-center\">\r\n <!--begin::Submit button-->\r\n <button type=\"submit\"\r\n class=\"btn btn-primary btn-sm\">\r\n {{utilityService.getResourceValue(\"SetPassword\")}}\r\n </button>\r\n </div>\r\n </BBSF-Form>\r\n <div *ngIf=\"ErrorMessage!=null\">\r\n <ul class=\"alert alert-InvalidValidation bg-light-danger list-unstyled\">\r\n <li>\r\n {{ErrorMessage}}\r\n </li>\r\n </ul>\r\n \r\n\r\n </div>\r\n</div>\r\n<!--end::Form-->\r\n", components: [{ type: i5__namespace$1.BlockUIComponent, selector: "block-ui", inputs: ["name", "template", "message", "delayStart", "delayStop"] }, { type: i6__namespace.ɵv, selector: "BBSF-Form", inputs: ["options"] }, { type: i6__namespace.ɵd, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
20581
20436
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: RestPasswordComponent, decorators: [{
20582
20437
  type: i0.Component,
20583
20438
  args: [{
@@ -20642,7 +20497,7 @@
20642
20497
  return UploadLicenseComponent;
20643
20498
  }());
20644
20499
  UploadLicenseComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: UploadLicenseComponent, deps: [{ token: AccountService$1 }, { token: i1__namespace.UtilityService }, { token: i1__namespace$1.Router }], target: i0__namespace.ɵɵFactoryTarget.Component });
20645
- UploadLicenseComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: UploadLicenseComponent, selector: "lib-upload-license", ngImport: i0__namespace, template: "<div class=\"form w-100\" novalidate=\"novalidate\" id=\"kt_sign_in_form\">\r\n <div class=\"text-center mb-10\">\r\n <h1 class=\"text-dark mb-3\"> {{utilityService.getResourceValue(\"UploadLicense\")}} ?</h1>\r\n </div>\r\n\r\n <BBSF-Form [options]=\"uploadFileFormOptions\">\r\n <div class=\"fv-row mb-10\">\r\n <BBSF-FileUplaod [options]=\"licenseFileInput\" [group]=\"uploadFileForm\">\r\n </BBSF-FileUplaod>\r\n </div>\r\n <div class=\"text-center\">\r\n <!--begin::Submit button-->\r\n <button type=\"submit\"\r\n class=\"btn btn-primary btn-sm\">\r\n {{utilityService.getResourceValue(\"Upload\")}}\r\n </button>\r\n </div>\r\n </BBSF-Form>\r\n <div *ngIf=\"ErrorMessage!=null\">\r\n <ul class=\"alert alert-InvalidValidation bg-light-danger list-unstyled\">\r\n <li>\r\n {{ErrorMessage}}\r\n </li>\r\n </ul>\r\n <a href=\"/Admin/account/login\"\r\n class=\"link-primary fs-6 fw-bolder d-flex justify-content-end mt-2\">\r\n <i class=\"fas fa-arrow-left text-light-primary me-2 anchor \"></i> {{utilityService.getResourceValue(\"Back\")}}\r\n </a>\r\n\r\n </div>\r\n</div>\r\n<!--end::Form-->\r\n", components: [{ type: i6__namespace.ɵv, selector: "BBSF-Form", inputs: ["options"] }, { type: i6__namespace.ɵb, selector: "BBSF-FileUplaod", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
20500
+ UploadLicenseComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: UploadLicenseComponent, selector: "lib-upload-license", ngImport: i0__namespace, template: "<block-ui></block-ui>\r\n<div class=\"form w-100\" novalidate=\"novalidate\" id=\"kt_sign_in_form\">\r\n <div class=\"text-center mb-10\">\r\n <h1 class=\"text-dark mb-3\"> {{utilityService.getResourceValue(\"UploadLicense\")}} ?</h1>\r\n </div>\r\n\r\n <BBSF-Form [options]=\"uploadFileFormOptions\">\r\n <div class=\"fv-row mb-10\">\r\n <BBSF-FileUplaod [options]=\"licenseFileInput\" [group]=\"uploadFileForm\">\r\n </BBSF-FileUplaod>\r\n </div>\r\n <div class=\"text-center\">\r\n <!--begin::Submit button-->\r\n <button type=\"submit\"\r\n class=\"btn btn-primary btn-sm\">\r\n {{utilityService.getResourceValue(\"Upload\")}}\r\n </button>\r\n </div>\r\n </BBSF-Form>\r\n <div *ngIf=\"ErrorMessage!=null\">\r\n <ul class=\"alert alert-InvalidValidation bg-light-danger list-unstyled\">\r\n <li>\r\n {{ErrorMessage}}\r\n </li>\r\n </ul>\r\n <a href=\"/Admin/account/login\"\r\n class=\"link-primary fs-6 fw-bolder d-flex justify-content-end mt-2\">\r\n <i class=\"fas fa-arrow-left text-light-primary me-2 anchor \"></i> {{utilityService.getResourceValue(\"Back\")}}\r\n </a>\r\n\r\n </div>\r\n</div>\r\n<!--end::Form-->\r\n", components: [{ type: i5__namespace$1.BlockUIComponent, selector: "block-ui", inputs: ["name", "template", "message", "delayStart", "delayStop"] }, { type: i6__namespace.ɵv, selector: "BBSF-Form", inputs: ["options"] }, { type: i6__namespace.ɵb, selector: "BBSF-FileUplaod", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i9__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
20646
20501
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: UploadLicenseComponent, decorators: [{
20647
20502
  type: i0.Component,
20648
20503
  args: [{
@@ -20985,6 +20840,47 @@
20985
20840
  }]
20986
20841
  }] });
20987
20842
 
20843
+ var HttpErrorInterceptor = /** @class */ (function () {
20844
+ function HttpErrorInterceptor(injector, zone) {
20845
+ this.injector = injector;
20846
+ this.zone = zone;
20847
+ }
20848
+ HttpErrorInterceptor.prototype.intercept = function (request, next) {
20849
+ var _this = this;
20850
+ return next.handle(request)
20851
+ .pipe(operators.retry(1), operators.catchError(function (error) {
20852
+ var errorMessage = '';
20853
+ var router = _this.injector.get(i1$1.Router);
20854
+ if (error.error instanceof ErrorEvent) {
20855
+ // client-side error
20856
+ errorMessage = "Error: " + error.error.message;
20857
+ }
20858
+ else {
20859
+ // server-side error
20860
+ errorMessage = "Error Code: " + error.status + "\nMessage: " + error.message;
20861
+ if (error.status == 401) {
20862
+ // window.sessionStorage.clear()
20863
+ //auth.logout();
20864
+ //window.location.href = '/login'
20865
+ // //console.log(error.message);
20866
+ _this.zone.run(function () { return router.navigate(["/Admin/account/login"]); });
20867
+ //return notificationService.error(`${error.statusText}`, false, null, 5000);
20868
+ }
20869
+ }
20870
+ return rxjs.throwError(errorMessage);
20871
+ }));
20872
+ };
20873
+ return HttpErrorInterceptor;
20874
+ }());
20875
+ HttpErrorInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: HttpErrorInterceptor, deps: [{ token: i0__namespace.Injector }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
20876
+ HttpErrorInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: HttpErrorInterceptor, providedIn: "root" });
20877
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: HttpErrorInterceptor, decorators: [{
20878
+ type: i0.Injectable,
20879
+ args: [{
20880
+ providedIn: "root",
20881
+ }]
20882
+ }], ctorParameters: function () { return [{ type: i0__namespace.Injector }, { type: i0__namespace.NgZone }]; } });
20883
+
20988
20884
  var AnonymouslayoutModule = /** @class */ (function () {
20989
20885
  function AnonymouslayoutModule() {
20990
20886
  }
@@ -21000,6 +20896,8 @@
21000
20896
  i6.BBSFControlsModule,
21001
20897
  i1.BBSFUtilitiesModule, i5__namespace$1.BlockUIModule] });
21002
20898
  AnonymouslayoutModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: AnonymouslayoutModule, providers: [
20899
+ LayoutService,
20900
+ LayoutInitService,
21003
20901
  i1.StylesBundleService,
21004
20902
  i1.EnvironmentService,
21005
20903
  i1.AuthService,
@@ -21007,7 +20905,14 @@
21007
20905
  AuthGuard$1,
21008
20906
  i1.BBSFTranslateService,
21009
20907
  i1.MasterLayoutService,
20908
+ i5.NgbModal,
20909
+ i1.AppearanceConfigurationService,
21010
20910
  AnonymousLayoutService$1,
20911
+ {
20912
+ provide: i1$2.HTTP_INTERCEPTORS,
20913
+ useClass: HttpErrorInterceptor,
20914
+ multi: true
20915
+ },
21011
20916
  ], imports: [[
21012
20917
  i9.CommonModule,
21013
20918
  i1$1.RouterModule,
@@ -21035,6 +20940,8 @@
21035
20940
  i5$1.BlockUIModule.forRoot(),
21036
20941
  ],
21037
20942
  providers: [
20943
+ LayoutService,
20944
+ LayoutInitService,
21038
20945
  i1.StylesBundleService,
21039
20946
  i1.EnvironmentService,
21040
20947
  i1.AuthService,
@@ -21042,52 +20949,18 @@
21042
20949
  AuthGuard$1,
21043
20950
  i1.BBSFTranslateService,
21044
20951
  i1.MasterLayoutService,
20952
+ i5.NgbModal,
20953
+ i1.AppearanceConfigurationService,
21045
20954
  AnonymousLayoutService$1,
20955
+ {
20956
+ provide: i1$2.HTTP_INTERCEPTORS,
20957
+ useClass: HttpErrorInterceptor,
20958
+ multi: true
20959
+ },
21046
20960
  ]
21047
20961
  }]
21048
20962
  }] });
21049
20963
 
21050
- var HttpErrorInterceptor = /** @class */ (function () {
21051
- function HttpErrorInterceptor(injector, zone) {
21052
- this.injector = injector;
21053
- this.zone = zone;
21054
- }
21055
- HttpErrorInterceptor.prototype.intercept = function (request, next) {
21056
- var _this = this;
21057
- return next.handle(request)
21058
- .pipe(operators.retry(1), operators.catchError(function (error) {
21059
- var errorMessage = '';
21060
- var router = _this.injector.get(i1$1.Router);
21061
- if (error.error instanceof ErrorEvent) {
21062
- // client-side error
21063
- errorMessage = "Error: " + error.error.message;
21064
- }
21065
- else {
21066
- // server-side error
21067
- errorMessage = "Error Code: " + error.status + "\nMessage: " + error.message;
21068
- if (error.status == 401) {
21069
- // window.sessionStorage.clear()
21070
- //auth.logout();
21071
- //window.location.href = '/login'
21072
- // //console.log(error.message);
21073
- _this.zone.run(function () { return router.navigate(["/Admin/account/login"]); });
21074
- //return notificationService.error(`${error.statusText}`, false, null, 5000);
21075
- }
21076
- }
21077
- return rxjs.throwError(errorMessage);
21078
- }));
21079
- };
21080
- return HttpErrorInterceptor;
21081
- }());
21082
- HttpErrorInterceptor.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: HttpErrorInterceptor, deps: [{ token: i0__namespace.Injector }, { token: i0__namespace.NgZone }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
21083
- HttpErrorInterceptor.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: HttpErrorInterceptor, providedIn: "root" });
21084
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0__namespace, type: HttpErrorInterceptor, decorators: [{
21085
- type: i0.Injectable,
21086
- args: [{
21087
- providedIn: "root",
21088
- }]
21089
- }], ctorParameters: function () { return [{ type: i0__namespace.Injector }, { type: i0__namespace.NgZone }]; } });
21090
-
21091
20964
  var ContentComponent = /** @class */ (function () {
21092
20965
  function ContentComponent(router) {
21093
20966
  this.router = router;
@@ -29337,6 +29210,7 @@
29337
29210
  this.ShowSourceFunctionData = false;
29338
29211
  this.showFunctionNotFoundError = false;
29339
29212
  this.sourceFunctionDataNotLoaded = false;
29213
+ this.configuration = null;
29340
29214
  //Add Model Controls
29341
29215
  this.AddConfigurationForm = new i10.FormGroup({});
29342
29216
  this.SourceFuncValue = new i6.DropdownOptions();
@@ -29402,7 +29276,7 @@
29402
29276
  EditModel.ID = _this.ConfigurationId;
29403
29277
  EditModel.ValueType = _this.ConfigurationValueType;
29404
29278
  EditModel.ScopeId = _this.EditConfigurationScopeID;
29405
- EditModel.Key = ResultModel.EditKey;
29279
+ EditModel.Key = _this.ProductionMode ? _this.configuration.key : ResultModel.Key;
29406
29280
  switch (_this.EditConfigurationTypeID) {
29407
29281
  case ConfigurationTypes.Text:
29408
29282
  EditModel.TextValue = ResultModel.EditTextValue;
@@ -29764,8 +29638,9 @@
29764
29638
  _this.EditConfigurationFormOptions.PagingActionMode = i6.PagingActionMode.Update;
29765
29639
  _this.ConfigurationValueType = configuration.valueType;
29766
29640
  _this.EditConfigurationScopeID = configuration.scopeId;
29641
+ _this.configuration = configuration;
29767
29642
  _this.EditKey = new i6.TextBoxOptions();
29768
- _this.EditKey.Name = "EditKey";
29643
+ _this.EditKey.Name = "Key";
29769
29644
  _this.EditKey.LabelKey = "Key";
29770
29645
  _this.EditKey.Type = i6.InputType.Text;
29771
29646
  _this.EditKey.IsRequired = !_this.ProductionMode;