@idsoftsource/initial-process 4.1.2 → 4.1.4
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.
|
@@ -40927,19 +40927,35 @@ const APP_BRANDING_MAP = {
|
|
|
40927
40927
|
[AppType.VirtualInspector]: { logo: 'assets/images/vi-logo.png', displayName: 'Virtual Inspector' }
|
|
40928
40928
|
};
|
|
40929
40929
|
class MaintenanceComponent {
|
|
40930
|
+
router;
|
|
40931
|
+
tokenService;
|
|
40930
40932
|
branding;
|
|
40931
40933
|
currentYear = new Date().getFullYear();
|
|
40932
|
-
|
|
40934
|
+
page = false;
|
|
40935
|
+
constructor(router, tokenService, libConfig) {
|
|
40936
|
+
this.router = router;
|
|
40937
|
+
this.tokenService = tokenService;
|
|
40933
40938
|
const appType = libConfig?.appType;
|
|
40934
40939
|
this.branding = (appType && APP_BRANDING_MAP[appType]) || DEFAULT_BRANDING;
|
|
40935
40940
|
}
|
|
40936
|
-
|
|
40937
|
-
|
|
40941
|
+
ngOnInit() {
|
|
40942
|
+
this.checkModule();
|
|
40943
|
+
}
|
|
40944
|
+
async checkModule() {
|
|
40945
|
+
if (!await this.tokenService.getMode()) {
|
|
40946
|
+
this.router.navigate(['/']);
|
|
40947
|
+
}
|
|
40948
|
+
else {
|
|
40949
|
+
this.page = true;
|
|
40950
|
+
}
|
|
40951
|
+
}
|
|
40952
|
+
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 });
|
|
40953
|
+
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 }] });
|
|
40938
40954
|
}
|
|
40939
40955
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MaintenanceComponent, decorators: [{
|
|
40940
40956
|
type: Component,
|
|
40941
|
-
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"] }]
|
|
40942
|
-
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
40957
|
+
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"] }]
|
|
40958
|
+
}], ctorParameters: () => [{ type: i2.Router }, { type: i1$3.TokenService }, { type: undefined, decorators: [{
|
|
40943
40959
|
type: Optional
|
|
40944
40960
|
}, {
|
|
40945
40961
|
type: Inject,
|