@idsoftsource/initial-process 4.1.3 → 4.1.6
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.
|
@@ -2733,7 +2733,12 @@ class ToolService {
|
|
|
2733
2733
|
return params;
|
|
2734
2734
|
Object.keys(query).forEach(key => {
|
|
2735
2735
|
const value = query[key];
|
|
2736
|
-
if (value
|
|
2736
|
+
if (value === null || value === undefined)
|
|
2737
|
+
return;
|
|
2738
|
+
if (Array.isArray(value)) {
|
|
2739
|
+
value.forEach(v => params = params.append(key, v));
|
|
2740
|
+
}
|
|
2741
|
+
else {
|
|
2737
2742
|
params = params.set(key, value);
|
|
2738
2743
|
}
|
|
2739
2744
|
});
|
|
@@ -2941,9 +2946,12 @@ class UserDocumentService {
|
|
|
2941
2946
|
return params;
|
|
2942
2947
|
}
|
|
2943
2948
|
getDocumentTypes(maintype, _providerId, searchText = '', professionId = null) {
|
|
2949
|
+
const mainTypes = Array.isArray(maintype) ? maintype : [maintype];
|
|
2944
2950
|
let params = new HttpParams()
|
|
2945
|
-
.set('MainType', maintype)
|
|
2946
2951
|
.set('IsActive', true);
|
|
2952
|
+
mainTypes.forEach(mt => {
|
|
2953
|
+
params = params.append('MainType', mt);
|
|
2954
|
+
});
|
|
2947
2955
|
if (searchText.trim()) {
|
|
2948
2956
|
params = params.set('Name', `${searchText.trim()}`);
|
|
2949
2957
|
}
|
|
@@ -9177,6 +9185,7 @@ class CertificationComponent {
|
|
|
9177
9185
|
showSuccess = signal(false, ...(ngDevMode ? [{ debugName: "showSuccess" }] : []));
|
|
9178
9186
|
deletingIndex = signal(null, ...(ngDevMode ? [{ debugName: "deletingIndex" }] : []));
|
|
9179
9187
|
manualTypeError = '';
|
|
9188
|
+
suppressNextSearch = false;
|
|
9180
9189
|
showpreview = computed(() => {
|
|
9181
9190
|
return this.workStore.experiences().length > 0 && !this.isEditing();
|
|
9182
9191
|
}, ...(ngDevMode ? [{ debugName: "showpreview" }] : []));
|
|
@@ -9236,6 +9245,10 @@ class CertificationComponent {
|
|
|
9236
9245
|
this.searchControl.valueChanges
|
|
9237
9246
|
.pipe(debounceTime(300), distinctUntilChanged())
|
|
9238
9247
|
.subscribe(value => {
|
|
9248
|
+
if (this.suppressNextSearch) {
|
|
9249
|
+
this.suppressNextSearch = false;
|
|
9250
|
+
return;
|
|
9251
|
+
}
|
|
9239
9252
|
this.loadDocumentTypes(value || '');
|
|
9240
9253
|
});
|
|
9241
9254
|
this.user = this.userService.getUserDetails();
|
|
@@ -9380,14 +9393,14 @@ class CertificationComponent {
|
|
|
9380
9393
|
}
|
|
9381
9394
|
loadDocumentTypes(searchText = '') {
|
|
9382
9395
|
this.userDocumentService
|
|
9383
|
-
.getDocumentTypes(
|
|
9396
|
+
.getDocumentTypes(2, this.providerId, searchText, this.selectedProfessionId)
|
|
9384
9397
|
.subscribe(res => {
|
|
9385
9398
|
this.documentTypes = res?.data || [];
|
|
9386
9399
|
});
|
|
9387
9400
|
}
|
|
9388
9401
|
loadDocumentTypesDefault(searchText = '') {
|
|
9389
9402
|
this.userDocumentService
|
|
9390
|
-
.getDocumentTypes(
|
|
9403
|
+
.getDocumentTypes(2, this.providerId, searchText, this.selectedProfessionId)
|
|
9391
9404
|
.subscribe(res => {
|
|
9392
9405
|
this.documentTypes = res?.data || [];
|
|
9393
9406
|
});
|
|
@@ -9503,12 +9516,12 @@ class CertificationComponent {
|
|
|
9503
9516
|
this.editingIndex = index;
|
|
9504
9517
|
this.searchControl.setValue('', { emitEvent: false });
|
|
9505
9518
|
if (data.documentTypeId?.startsWith('manual-')) {
|
|
9506
|
-
this.documentTypes = [{ id: data.documentTypeId,
|
|
9519
|
+
this.documentTypes = [{ id: data.documentTypeId, documentTypeName: data.documentTypeName }];
|
|
9507
9520
|
}
|
|
9508
9521
|
else if (!data.documentTypeId && data.documentTypeName) {
|
|
9509
9522
|
const syntheticId = 'manual-' + Date.now();
|
|
9510
9523
|
this.selectedDocumentId = syntheticId;
|
|
9511
|
-
this.documentTypes = [{ id: syntheticId,
|
|
9524
|
+
this.documentTypes = [{ id: syntheticId, documentTypeName: data.documentTypeName }];
|
|
9512
9525
|
this.certificateForm.patchValue({ documentTypeId: syntheticId });
|
|
9513
9526
|
}
|
|
9514
9527
|
else {
|
|
@@ -9788,10 +9801,11 @@ class CertificationComponent {
|
|
|
9788
9801
|
}
|
|
9789
9802
|
this.manualTypeError = '';
|
|
9790
9803
|
const tempId = 'manual-' + Date.now();
|
|
9791
|
-
this.documentTypes = [{ id: tempId,
|
|
9804
|
+
this.documentTypes = [{ id: tempId, documentTypeName: name }, ...this.documentTypes];
|
|
9792
9805
|
this.selectedDocumentId = tempId;
|
|
9793
9806
|
this.selectedDocumentName = name;
|
|
9794
9807
|
this.certificateForm.patchValue({ documentTypeId: tempId, documentTypeName: name });
|
|
9808
|
+
this.suppressNextSearch = true;
|
|
9795
9809
|
this.searchControl.setValue('', { emitEvent: false });
|
|
9796
9810
|
}
|
|
9797
9811
|
cancelForm() {
|
|
@@ -9854,7 +9868,12 @@ class SkillSetService {
|
|
|
9854
9868
|
return params;
|
|
9855
9869
|
Object.keys(query).forEach(key => {
|
|
9856
9870
|
const value = query[key];
|
|
9857
|
-
if (value
|
|
9871
|
+
if (value === null || value === undefined)
|
|
9872
|
+
return;
|
|
9873
|
+
if (Array.isArray(value)) {
|
|
9874
|
+
value.forEach(v => params = params.append(key, v));
|
|
9875
|
+
}
|
|
9876
|
+
else {
|
|
9858
9877
|
params = params.set(key, value);
|
|
9859
9878
|
}
|
|
9860
9879
|
});
|
|
@@ -10666,18 +10685,17 @@ class SkillsComponent {
|
|
|
10666
10685
|
getSkillSets() {
|
|
10667
10686
|
this.skillSubmittedValue = false;
|
|
10668
10687
|
const manualSkills = this.skillSets.filter((s) => s.isManual);
|
|
10669
|
-
const q = { orderBy: 'name asc',
|
|
10688
|
+
const q = { orderBy: 'name asc', isActive: true, targetProviderId: '00000000-0000-0000-0000-000000000000' };
|
|
10670
10689
|
if (this.selectedSkillSetCategory?.id) {
|
|
10671
|
-
q.
|
|
10690
|
+
q.skillSetCategoryId = this.selectedSkillSetCategory.id;
|
|
10672
10691
|
}
|
|
10673
10692
|
if (this.selectedProfessionId) {
|
|
10674
|
-
q.
|
|
10693
|
+
q.professionIds = [this.selectedProfessionId];
|
|
10675
10694
|
}
|
|
10676
10695
|
if (this.searchSkillQry && this.searchSkillQry.trim() !== '') {
|
|
10677
|
-
q.
|
|
10696
|
+
q.Name = this.searchSkillQry;
|
|
10678
10697
|
}
|
|
10679
10698
|
else {
|
|
10680
|
-
q.filter += ',name=*' + '=/i';
|
|
10681
10699
|
this.showCreate = false;
|
|
10682
10700
|
}
|
|
10683
10701
|
this.skillSets = [];
|
|
@@ -10925,6 +10943,7 @@ class LicensesComponent {
|
|
|
10925
10943
|
showSuccess = signal(false, ...(ngDevMode ? [{ debugName: "showSuccess" }] : []));
|
|
10926
10944
|
deletingIndex = signal(null, ...(ngDevMode ? [{ debugName: "deletingIndex" }] : []));
|
|
10927
10945
|
manualTypeError = '';
|
|
10946
|
+
suppressNextSearch = false;
|
|
10928
10947
|
showpreview = computed(() => {
|
|
10929
10948
|
return this.workStore.experiences().length > 0 && !this.isEditing();
|
|
10930
10949
|
}, ...(ngDevMode ? [{ debugName: "showpreview" }] : []));
|
|
@@ -10962,6 +10981,10 @@ class LicensesComponent {
|
|
|
10962
10981
|
this.searchControl.valueChanges
|
|
10963
10982
|
.pipe(debounceTime(300), distinctUntilChanged())
|
|
10964
10983
|
.subscribe(value => {
|
|
10984
|
+
if (this.suppressNextSearch) {
|
|
10985
|
+
this.suppressNextSearch = false;
|
|
10986
|
+
return;
|
|
10987
|
+
}
|
|
10965
10988
|
this.loadDocumentTypes(value || '');
|
|
10966
10989
|
});
|
|
10967
10990
|
this.user = this.userService.getUserDetails();
|
|
@@ -10975,14 +10998,14 @@ class LicensesComponent {
|
|
|
10975
10998
|
}
|
|
10976
10999
|
loadDocumentTypes(searchText = '') {
|
|
10977
11000
|
this.userDocumentService
|
|
10978
|
-
.getDocumentTypes(
|
|
11001
|
+
.getDocumentTypes(1, this.providerId, searchText)
|
|
10979
11002
|
.subscribe(res => {
|
|
10980
11003
|
this.documentTypes = res?.data || [];
|
|
10981
11004
|
});
|
|
10982
11005
|
}
|
|
10983
11006
|
loadDocumentTypesDefault(searchText = '') {
|
|
10984
11007
|
this.userDocumentService
|
|
10985
|
-
.getDocumentTypes(
|
|
11008
|
+
.getDocumentTypes(1, this.providerId, searchText)
|
|
10986
11009
|
.subscribe(res => {
|
|
10987
11010
|
this.documentTypes = res?.data || [];
|
|
10988
11011
|
});
|
|
@@ -11069,12 +11092,12 @@ class LicensesComponent {
|
|
|
11069
11092
|
this.editingIndex = index;
|
|
11070
11093
|
this.searchControl.setValue('', { emitEvent: false });
|
|
11071
11094
|
if (data.documentTypeId?.startsWith('manual-')) {
|
|
11072
|
-
this.documentTypes = [{ id: data.documentTypeId,
|
|
11095
|
+
this.documentTypes = [{ id: data.documentTypeId, documentTypeName: data.documentTypeName }];
|
|
11073
11096
|
}
|
|
11074
11097
|
else if (!data.documentTypeId && data.documentTypeName) {
|
|
11075
11098
|
const syntheticId = 'manual-' + Date.now();
|
|
11076
11099
|
this.selectedDocumentId = syntheticId;
|
|
11077
|
-
this.documentTypes = [{ id: syntheticId,
|
|
11100
|
+
this.documentTypes = [{ id: syntheticId, documentTypeName: data.documentTypeName }];
|
|
11078
11101
|
this.certificateForm.patchValue({ documentTypeId: syntheticId });
|
|
11079
11102
|
}
|
|
11080
11103
|
else {
|
|
@@ -11355,10 +11378,11 @@ class LicensesComponent {
|
|
|
11355
11378
|
}
|
|
11356
11379
|
this.manualTypeError = '';
|
|
11357
11380
|
const tempId = 'manual-' + Date.now();
|
|
11358
|
-
this.documentTypes = [{ id: tempId,
|
|
11381
|
+
this.documentTypes = [{ id: tempId, documentTypeName: name }, ...this.documentTypes];
|
|
11359
11382
|
this.selectedDocumentId = tempId;
|
|
11360
11383
|
this.selectedDocumentName = name;
|
|
11361
11384
|
this.certificateForm.patchValue({ documentTypeId: tempId, documentTypeName: name });
|
|
11385
|
+
this.suppressNextSearch = true;
|
|
11362
11386
|
this.searchControl.setValue('', { emitEvent: false });
|
|
11363
11387
|
}
|
|
11364
11388
|
cancelForm() {
|
|
@@ -12021,23 +12045,22 @@ class ToolsComponent {
|
|
|
12021
12045
|
const manualTools = this.tools.filter((s) => s.isManual);
|
|
12022
12046
|
var query = {
|
|
12023
12047
|
orderBy: 'name asc',
|
|
12024
|
-
|
|
12048
|
+
isActive: true,
|
|
12025
12049
|
targetProviderId: '00000000-0000-0000-0000-000000000000'
|
|
12026
12050
|
};
|
|
12027
12051
|
if (this.selectedToolCategory.id != '' && this.selectedToolCategory.id != undefined && this.selectedToolCategory.id != null) {
|
|
12028
|
-
query.
|
|
12052
|
+
query.toolId = this.selectedToolCategory.id;
|
|
12029
12053
|
}
|
|
12030
12054
|
if (this.selectedProfessionId) {
|
|
12031
|
-
query.
|
|
12055
|
+
query.professionIds = [this.selectedProfessionId];
|
|
12032
12056
|
}
|
|
12033
12057
|
if (this.searchToolQry != '' &&
|
|
12034
12058
|
this.searchToolQry?.trim() != '' &&
|
|
12035
12059
|
this.searchToolQry != undefined &&
|
|
12036
12060
|
this.searchToolQry != null) {
|
|
12037
|
-
query.
|
|
12061
|
+
query.Name = this.searchToolQry;
|
|
12038
12062
|
}
|
|
12039
12063
|
else {
|
|
12040
|
-
query.filter += ',name=*' + '=/i';
|
|
12041
12064
|
this.showCreate = false;
|
|
12042
12065
|
}
|
|
12043
12066
|
this.tools = [];
|
|
@@ -40929,19 +40952,35 @@ const APP_BRANDING_MAP = {
|
|
|
40929
40952
|
[AppType.VirtualInspector]: { logo: 'assets/images/vi-logo.png', displayName: 'Virtual Inspector' }
|
|
40930
40953
|
};
|
|
40931
40954
|
class MaintenanceComponent {
|
|
40955
|
+
router;
|
|
40956
|
+
tokenService;
|
|
40932
40957
|
branding;
|
|
40933
40958
|
currentYear = new Date().getFullYear();
|
|
40934
|
-
|
|
40959
|
+
page = false;
|
|
40960
|
+
constructor(router, tokenService, libConfig) {
|
|
40961
|
+
this.router = router;
|
|
40962
|
+
this.tokenService = tokenService;
|
|
40935
40963
|
const appType = libConfig?.appType;
|
|
40936
40964
|
this.branding = (appType && APP_BRANDING_MAP[appType]) || DEFAULT_BRANDING;
|
|
40937
40965
|
}
|
|
40938
|
-
|
|
40939
|
-
|
|
40966
|
+
ngOnInit() {
|
|
40967
|
+
this.checkModule();
|
|
40968
|
+
}
|
|
40969
|
+
async checkModule() {
|
|
40970
|
+
if (!await this.tokenService.getMode()) {
|
|
40971
|
+
this.router.navigate(['/']);
|
|
40972
|
+
}
|
|
40973
|
+
else {
|
|
40974
|
+
this.page = true;
|
|
40975
|
+
}
|
|
40976
|
+
}
|
|
40977
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MaintenanceComponent, deps: [{ token: i2.Router }, { token: i1$3.TokenService }, { token: LIBRARY_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
40978
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: MaintenanceComponent, isStandalone: true, selector: "app-maintenance", ngImport: i0, template: "<div class=\"maintenance-page\" *ngIf=\"page\">\r\n\r\n <header class=\"header\">\r\n <img\r\n [src]=\"branding.logo\"\r\n [alt]=\"branding.displayName\"\r\n class=\"logo\"\r\n />\r\n </header>\r\n\r\n <main class=\"content\">\r\n\r\n <section class=\"maintenance-card\">\r\n\r\n <div class=\"icon-wrapper\">\r\n <div class=\"icon\">\uD83D\uDEE0\uFE0F</div>\r\n </div>\r\n\r\n <div class=\"badge\">\r\n <span class=\"badge-dot\"></span>\r\n Scheduled Maintenance\r\n </div>\r\n\r\n <h1>We'll be back shortly.</h1>\r\n\r\n <p class=\"description\">\r\n {{ branding.displayName }} is currently undergoing scheduled maintenance to improve\r\n performance, reliability, and your overall experience.\r\n We appreciate your patience while our team completes the update.\r\n </p>\r\n\r\n <div class=\"status-box\">\r\n\r\n <div>\r\n <div class=\"status-label\">\r\n Current Status\r\n </div>\r\n\r\n <div class=\"status-value\">\r\n System maintenance in progress\r\n </div>\r\n </div>\r\n\r\n <div class=\"status\">\r\n <span class=\"status-dot\"></span>\r\n Maintenance\r\n </div>\r\n\r\n </div>\r\n\r\n <div class=\"progress-section\">\r\n\r\n <div class=\"progress-info\">\r\n <span>Updating {{ branding.displayName }}</span>\r\n <span>Please wait...</span>\r\n </div>\r\n\r\n <div class=\"progress\">\r\n <div class=\"progress-bar\"></div>\r\n </div>\r\n\r\n </div>\r\n\r\n <div class=\"footer-message\">\r\n Thank you for your patience.\r\n <strong>{{ branding.displayName }}</strong>\r\n </div>\r\n\r\n </section>\r\n\r\n </main>\r\n\r\n <footer>\r\n ©{{ currentYear }} {{ branding.displayName }}. All rights reserved.\r\n </footer>\r\n\r\n</div>", styles: [":host{display:block}*{box-sizing:border-box}.maintenance-page{min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;background:radial-gradient(circle at 10% 10%,#e0ecff 0,transparent 30%),radial-gradient(circle at 90% 90%,#eef2ff 0,transparent 32%),#f8fafc;color:#111827;display:flex;flex-direction:column}.header{height:82px;padding:0 6%;display:flex;align-items:center;background:#fff;border-bottom:1px solid #e2e8f0}.logo{width:200px;max-height:55px;object-fit:contain}.content{flex:1;display:flex;justify-content:center;align-items:center;padding:50px 20px}.maintenance-card{width:100%;max-width:780px;padding:55px;background:#fffffff7;border:1px solid #e2e8f0;border-radius:24px;text-align:center;box-shadow:0 20px 50px #0f172a14,0 2px 8px #0f172a08}.icon-wrapper{width:90px;height:90px;margin:0 auto 28px;display:flex;align-items:center;justify-content:center;position:relative;border-radius:50%;background:#eff6ff}.icon-wrapper:after{content:\"\";position:absolute;width:108px;height:108px;border-radius:50%;border:1px solid #dbeafe}.icon{font-size:40px}.badge{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;margin-bottom:18px;border-radius:30px;background:#f1f5f9;color:#475569;font-size:12px;font-weight:700;letter-spacing:.7px;text-transform:uppercase}.badge-dot{width:7px;height:7px;border-radius:50%;background:#f59e0b}h1{margin:0 0 18px;font-size:clamp(30px,5vw,44px);line-height:1.15;letter-spacing:-1.5px;color:#111827}.description{max-width:590px;margin:0 auto;color:#64748b;font-size:16px;line-height:1.75}.status-box{margin-top:35px;padding:20px 25px;display:flex;align-items:center;justify-content:space-between;text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px}.status-label{margin-bottom:5px;color:#64748b;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-value{color:#111827;font-size:15px;font-weight:600}.status{display:flex;align-items:center;gap:9px;color:#b45309;font-size:13px;font-weight:600}.status-dot{width:9px;height:9px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 4px #fef3c7;animation:pulse 1.5s infinite}@keyframes pulse{0%{box-shadow:0 0 #f59e0b73}70%{box-shadow:0 0 0 8px #f59e0b00}to{box-shadow:0 0 #f59e0b00}}.progress-section{margin-top:26px;text-align:left}.progress-info{display:flex;justify-content:space-between;margin-bottom:9px;color:#475569;font-size:13px;font-weight:600}.progress{width:100%;height:7px;overflow:hidden;background:#e2e8f0;border-radius:10px}.progress-bar{width:65%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#60a5fa);animation:maintenanceProgress 2.5s ease-in-out infinite alternate}@keyframes maintenanceProgress{0%{width:35%}to{width:85%}}.footer-message{margin-top:32px;padding-top:25px;border-top:1px solid #e2e8f0;color:#64748b;font-size:14px;line-height:1.7}.footer-message strong{display:block;margin-top:3px;color:#111827}footer{padding:22px;text-align:center;color:#94a3b8;font-size:12px}@media (max-width: 600px){.header{height:70px;padding:0 24px}.logo{width:160px}.content{padding:30px 16px}.maintenance-card{padding:40px 24px 32px;border-radius:18px}.status-box{flex-direction:column;align-items:flex-start;gap:16px}.description{font-size:15px}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i11.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: RouterModule }] });
|
|
40940
40979
|
}
|
|
40941
40980
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MaintenanceComponent, decorators: [{
|
|
40942
40981
|
type: Component,
|
|
40943
|
-
args: [{ selector: 'app-maintenance', standalone: true, imports: [CommonModule], template: "<div class=\"maintenance-page\">\r\n\r\n <header class=\"header\">\r\n <img\r\n [src]=\"branding.logo\"\r\n [alt]=\"branding.displayName\"\r\n class=\"logo\"\r\n />\r\n </header>\r\n\r\n <main class=\"content\">\r\n\r\n <section class=\"maintenance-card\">\r\n\r\n <div class=\"icon-wrapper\">\r\n <div class=\"icon\">\uD83D\uDEE0\uFE0F</div>\r\n </div>\r\n\r\n <div class=\"badge\">\r\n <span class=\"badge-dot\"></span>\r\n Scheduled Maintenance\r\n </div>\r\n\r\n <h1>We'll be back shortly.</h1>\r\n\r\n <p class=\"description\">\r\n {{ branding.displayName }} is currently undergoing scheduled maintenance to improve\r\n performance, reliability, and your overall experience.\r\n We appreciate your patience while our team completes the update.\r\n </p>\r\n\r\n <div class=\"status-box\">\r\n\r\n <div>\r\n <div class=\"status-label\">\r\n Current Status\r\n </div>\r\n\r\n <div class=\"status-value\">\r\n System maintenance in progress\r\n </div>\r\n </div>\r\n\r\n <div class=\"status\">\r\n <span class=\"status-dot\"></span>\r\n Maintenance\r\n </div>\r\n\r\n </div>\r\n\r\n <div class=\"progress-section\">\r\n\r\n <div class=\"progress-info\">\r\n <span>Updating {{ branding.displayName }}</span>\r\n <span>Please wait...</span>\r\n </div>\r\n\r\n <div class=\"progress\">\r\n <div class=\"progress-bar\"></div>\r\n </div>\r\n\r\n </div>\r\n\r\n <div class=\"footer-message\">\r\n Thank you for your patience.\r\n <strong>{{ branding.displayName }}</strong>\r\n </div>\r\n\r\n </section>\r\n\r\n </main>\r\n\r\n <footer>\r\n ©{{ currentYear }} {{ branding.displayName }}. All rights reserved.\r\n </footer>\r\n\r\n</div>", styles: [":host{display:block}*{box-sizing:border-box}.maintenance-page{min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;background:radial-gradient(circle at 10% 10%,#e0ecff 0,transparent 30%),radial-gradient(circle at 90% 90%,#eef2ff 0,transparent 32%),#f8fafc;color:#111827;display:flex;flex-direction:column}.header{height:82px;padding:0 6%;display:flex;align-items:center;background:#fff;border-bottom:1px solid #e2e8f0}.logo{width:200px;max-height:55px;object-fit:contain}.content{flex:1;display:flex;justify-content:center;align-items:center;padding:50px 20px}.maintenance-card{width:100%;max-width:780px;padding:55px;background:#fffffff7;border:1px solid #e2e8f0;border-radius:24px;text-align:center;box-shadow:0 20px 50px #0f172a14,0 2px 8px #0f172a08}.icon-wrapper{width:90px;height:90px;margin:0 auto 28px;display:flex;align-items:center;justify-content:center;position:relative;border-radius:50%;background:#eff6ff}.icon-wrapper:after{content:\"\";position:absolute;width:108px;height:108px;border-radius:50%;border:1px solid #dbeafe}.icon{font-size:40px}.badge{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;margin-bottom:18px;border-radius:30px;background:#f1f5f9;color:#475569;font-size:12px;font-weight:700;letter-spacing:.7px;text-transform:uppercase}.badge-dot{width:7px;height:7px;border-radius:50%;background:#f59e0b}h1{margin:0 0 18px;font-size:clamp(30px,5vw,44px);line-height:1.15;letter-spacing:-1.5px;color:#111827}.description{max-width:590px;margin:0 auto;color:#64748b;font-size:16px;line-height:1.75}.status-box{margin-top:35px;padding:20px 25px;display:flex;align-items:center;justify-content:space-between;text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px}.status-label{margin-bottom:5px;color:#64748b;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-value{color:#111827;font-size:15px;font-weight:600}.status{display:flex;align-items:center;gap:9px;color:#b45309;font-size:13px;font-weight:600}.status-dot{width:9px;height:9px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 4px #fef3c7;animation:pulse 1.5s infinite}@keyframes pulse{0%{box-shadow:0 0 #f59e0b73}70%{box-shadow:0 0 0 8px #f59e0b00}to{box-shadow:0 0 #f59e0b00}}.progress-section{margin-top:26px;text-align:left}.progress-info{display:flex;justify-content:space-between;margin-bottom:9px;color:#475569;font-size:13px;font-weight:600}.progress{width:100%;height:7px;overflow:hidden;background:#e2e8f0;border-radius:10px}.progress-bar{width:65%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#60a5fa);animation:maintenanceProgress 2.5s ease-in-out infinite alternate}@keyframes maintenanceProgress{0%{width:35%}to{width:85%}}.footer-message{margin-top:32px;padding-top:25px;border-top:1px solid #e2e8f0;color:#64748b;font-size:14px;line-height:1.7}.footer-message strong{display:block;margin-top:3px;color:#111827}footer{padding:22px;text-align:center;color:#94a3b8;font-size:12px}@media (max-width: 600px){.header{height:70px;padding:0 24px}.logo{width:160px}.content{padding:30px 16px}.maintenance-card{padding:40px 24px 32px;border-radius:18px}.status-box{flex-direction:column;align-items:flex-start;gap:16px}.description{font-size:15px}}\n"] }]
|
|
40944
|
-
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
40982
|
+
args: [{ selector: 'app-maintenance', standalone: true, imports: [CommonModule, RouterModule], template: "<div class=\"maintenance-page\" *ngIf=\"page\">\r\n\r\n <header class=\"header\">\r\n <img\r\n [src]=\"branding.logo\"\r\n [alt]=\"branding.displayName\"\r\n class=\"logo\"\r\n />\r\n </header>\r\n\r\n <main class=\"content\">\r\n\r\n <section class=\"maintenance-card\">\r\n\r\n <div class=\"icon-wrapper\">\r\n <div class=\"icon\">\uD83D\uDEE0\uFE0F</div>\r\n </div>\r\n\r\n <div class=\"badge\">\r\n <span class=\"badge-dot\"></span>\r\n Scheduled Maintenance\r\n </div>\r\n\r\n <h1>We'll be back shortly.</h1>\r\n\r\n <p class=\"description\">\r\n {{ branding.displayName }} is currently undergoing scheduled maintenance to improve\r\n performance, reliability, and your overall experience.\r\n We appreciate your patience while our team completes the update.\r\n </p>\r\n\r\n <div class=\"status-box\">\r\n\r\n <div>\r\n <div class=\"status-label\">\r\n Current Status\r\n </div>\r\n\r\n <div class=\"status-value\">\r\n System maintenance in progress\r\n </div>\r\n </div>\r\n\r\n <div class=\"status\">\r\n <span class=\"status-dot\"></span>\r\n Maintenance\r\n </div>\r\n\r\n </div>\r\n\r\n <div class=\"progress-section\">\r\n\r\n <div class=\"progress-info\">\r\n <span>Updating {{ branding.displayName }}</span>\r\n <span>Please wait...</span>\r\n </div>\r\n\r\n <div class=\"progress\">\r\n <div class=\"progress-bar\"></div>\r\n </div>\r\n\r\n </div>\r\n\r\n <div class=\"footer-message\">\r\n Thank you for your patience.\r\n <strong>{{ branding.displayName }}</strong>\r\n </div>\r\n\r\n </section>\r\n\r\n </main>\r\n\r\n <footer>\r\n ©{{ currentYear }} {{ branding.displayName }}. All rights reserved.\r\n </footer>\r\n\r\n</div>", styles: [":host{display:block}*{box-sizing:border-box}.maintenance-page{min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;background:radial-gradient(circle at 10% 10%,#e0ecff 0,transparent 30%),radial-gradient(circle at 90% 90%,#eef2ff 0,transparent 32%),#f8fafc;color:#111827;display:flex;flex-direction:column}.header{height:82px;padding:0 6%;display:flex;align-items:center;background:#fff;border-bottom:1px solid #e2e8f0}.logo{width:200px;max-height:55px;object-fit:contain}.content{flex:1;display:flex;justify-content:center;align-items:center;padding:50px 20px}.maintenance-card{width:100%;max-width:780px;padding:55px;background:#fffffff7;border:1px solid #e2e8f0;border-radius:24px;text-align:center;box-shadow:0 20px 50px #0f172a14,0 2px 8px #0f172a08}.icon-wrapper{width:90px;height:90px;margin:0 auto 28px;display:flex;align-items:center;justify-content:center;position:relative;border-radius:50%;background:#eff6ff}.icon-wrapper:after{content:\"\";position:absolute;width:108px;height:108px;border-radius:50%;border:1px solid #dbeafe}.icon{font-size:40px}.badge{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;margin-bottom:18px;border-radius:30px;background:#f1f5f9;color:#475569;font-size:12px;font-weight:700;letter-spacing:.7px;text-transform:uppercase}.badge-dot{width:7px;height:7px;border-radius:50%;background:#f59e0b}h1{margin:0 0 18px;font-size:clamp(30px,5vw,44px);line-height:1.15;letter-spacing:-1.5px;color:#111827}.description{max-width:590px;margin:0 auto;color:#64748b;font-size:16px;line-height:1.75}.status-box{margin-top:35px;padding:20px 25px;display:flex;align-items:center;justify-content:space-between;text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px}.status-label{margin-bottom:5px;color:#64748b;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-value{color:#111827;font-size:15px;font-weight:600}.status{display:flex;align-items:center;gap:9px;color:#b45309;font-size:13px;font-weight:600}.status-dot{width:9px;height:9px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 4px #fef3c7;animation:pulse 1.5s infinite}@keyframes pulse{0%{box-shadow:0 0 #f59e0b73}70%{box-shadow:0 0 0 8px #f59e0b00}to{box-shadow:0 0 #f59e0b00}}.progress-section{margin-top:26px;text-align:left}.progress-info{display:flex;justify-content:space-between;margin-bottom:9px;color:#475569;font-size:13px;font-weight:600}.progress{width:100%;height:7px;overflow:hidden;background:#e2e8f0;border-radius:10px}.progress-bar{width:65%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#60a5fa);animation:maintenanceProgress 2.5s ease-in-out infinite alternate}@keyframes maintenanceProgress{0%{width:35%}to{width:85%}}.footer-message{margin-top:32px;padding-top:25px;border-top:1px solid #e2e8f0;color:#64748b;font-size:14px;line-height:1.7}.footer-message strong{display:block;margin-top:3px;color:#111827}footer{padding:22px;text-align:center;color:#94a3b8;font-size:12px}@media (max-width: 600px){.header{height:70px;padding:0 24px}.logo{width:160px}.content{padding:30px 16px}.maintenance-card{padding:40px 24px 32px;border-radius:18px}.status-box{flex-direction:column;align-items:flex-start;gap:16px}.description{font-size:15px}}\n"] }]
|
|
40983
|
+
}], ctorParameters: () => [{ type: i2.Router }, { type: i1$3.TokenService }, { type: undefined, decorators: [{
|
|
40945
40984
|
type: Optional
|
|
40946
40985
|
}, {
|
|
40947
40986
|
type: Inject,
|