@dflat-core/web 1.7.2098 → 1.7.2099
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.
|
@@ -12273,14 +12273,14 @@ var DashboardPageComponent = class DashboardPageComponent {
|
|
|
12273
12273
|
});
|
|
12274
12274
|
this.resize.observe(this.host.nativeElement);
|
|
12275
12275
|
}
|
|
12276
|
-
this.cacheChanges = this.bus.of(DashboardCacheChangedMessage).pipe(startWith(null), debounceTime(300), switchMap((message) => message?.info ? of(message.info) : this.dashboardService.getCacheInfo().pipe(catchError(() => of(null))))).subscribe((info) => {
|
|
12277
|
-
this.cache = info;
|
|
12278
|
-
this.cdr.markForCheck();
|
|
12279
|
-
});
|
|
12280
12276
|
if (!this.app.AuthService.hasPermission(SystemPermissions.SYSTEM_DASHBOARD_VIEW)) {
|
|
12281
12277
|
this.isLoaded = true;
|
|
12282
12278
|
return;
|
|
12283
12279
|
}
|
|
12280
|
+
this.cacheChanges = this.bus.of(DashboardCacheChangedMessage).pipe(startWith(null), debounceTime(300), switchMap((message) => message?.info ? of(message.info) : this.dashboardService.getCacheInfo().pipe(catchError(() => of(null))))).subscribe((info) => {
|
|
12281
|
+
this.cache = info;
|
|
12282
|
+
this.cdr.markForCheck();
|
|
12283
|
+
});
|
|
12284
12284
|
this.load();
|
|
12285
12285
|
}
|
|
12286
12286
|
select(dashboard) {
|
|
@@ -12443,6 +12443,7 @@ var HomepageComponent = class HomepageComponent {
|
|
|
12443
12443
|
this.app = app;
|
|
12444
12444
|
this.appInfo = appInfo;
|
|
12445
12445
|
this.searchText = `Rechercher dans ${this.appInfo.Name}...`;
|
|
12446
|
+
this.canViewDashboard = this.app.AuthService.hasPermission(SystemPermissions.SYSTEM_DASHBOARD_VIEW);
|
|
12446
12447
|
}
|
|
12447
12448
|
ngOnInit() {
|
|
12448
12449
|
this.app.FilterService.Keywords = "";
|
|
@@ -12473,7 +12474,7 @@ var HomepageComponent = class HomepageComponent {
|
|
|
12473
12474
|
isStandalone: false,
|
|
12474
12475
|
selector: "msw-homepage",
|
|
12475
12476
|
ngImport: i0,
|
|
12476
|
-
template: "<div class=\"home-page\">\r\n <!-- Bandeau sous la barre du haut : logo à gauche, recherche à sa droite, version au bout -->\r\n <div class=\"home-header\">\r\n <div class=\"home-logo\">\r\n <img [src]=\"this.appInfo.HomeLogoUrl\" class=\"home-logo-img\" />\r\n <span class=\"dflat-logo\"><b>{{this.appInfo.Name}}</b></span>\r\n </div>\r\n <div class=\"search-bar-container\">\r\n <input class=\"search form-control search-bar-action\" (keyup.enter)=\"handleKeyboardEnter(this.app.FilterService.Keywords)\" type=\"text\"\r\n name=\"keyword\" #uniquename=\"ngModel\" [placeholder]=\"this.searchText\" [(ngModel)]=\"this.app.FilterService.Keywords\" />\r\n </div>\r\n <div class=\"info-container\" *ngIf=\"this.appInfo.Version\">\r\n <a routerLink=\"/release\">{{this.appInfo.Name}} {{this.appInfo.Version}}</a>\r\n </div>\r\n </div>\r\n <div class=\"dashboard-panel\">\r\n <msw-dashboard-page></msw-dashboard-page>\r\n </div>\r\n</div>\r\n",
|
|
12477
|
+
template: "<div class=\"home-page\">\r\n <!-- Bandeau sous la barre du haut : logo à gauche, recherche à sa droite, version au bout -->\r\n <div class=\"home-header\">\r\n <div class=\"home-logo\">\r\n <img [src]=\"this.appInfo.HomeLogoUrl\" class=\"home-logo-img\" />\r\n <span class=\"dflat-logo\"><b>{{this.appInfo.Name}}</b></span>\r\n </div>\r\n <div class=\"search-bar-container\">\r\n <input class=\"search form-control search-bar-action\" (keyup.enter)=\"handleKeyboardEnter(this.app.FilterService.Keywords)\" type=\"text\"\r\n name=\"keyword\" #uniquename=\"ngModel\" [placeholder]=\"this.searchText\" [(ngModel)]=\"this.app.FilterService.Keywords\" />\r\n </div>\r\n <div class=\"info-container\" *ngIf=\"this.appInfo.Version\">\r\n <a routerLink=\"/release\">{{this.appInfo.Name}} {{this.appInfo.Version}}</a>\r\n </div>\r\n </div>\r\n <div class=\"dashboard-panel\" *ngIf=\"this.canViewDashboard\">\r\n <msw-dashboard-page></msw-dashboard-page>\r\n </div>\r\n</div>\r\n",
|
|
12477
12478
|
styles: [".home-page{font-family:Open sans,sans-serif;background:#fff;-webkit-font-smoothing:antialiased;height:100%;width:100%;padding:16px}.main-container{margin:0 50px}.main-container-modal{width:calc(100% - 50px);margin:10px 25px 0}.moyen-titre{font-weight:700;font-size:24px;color:#4d5a81;margin:8px 0;border-bottom:solid 1px #DBE4FF}.grand-titre{font-weight:700;font-size:28px;color:#4d5a81;margin:0 0 8px}.petit-titre{font-weight:700;font-size:16px;color:#4d5a81;margin:0 0 8px}.petit-titre.underlined{border-bottom:solid 1px #4D5A81}.paragraph{padding:0 15px}.paragraph-highlight{padding:5px 15px 0 12px;border-left:5px solid #8EA7F8;border-bottom:1px solid #DBE4FF;border-top:1px solid #DBE4FF;border-right:1px solid #DBE4FF;background-color:#f7faff}.highlight{background-color:#f7faff;border:1px solid #DBE4FF;border-radius:5px;padding:15px;color:#3c5dc4;margin:0 0 16px}.highlight p{margin-bottom:0}.highlight:before{position:relative;display:block;float:left;width:24px;height:24px;content:\" \";background-size:24px 24px;-webkit-background-size:24px 24px;background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"53.294\" height=\"50.629\" viewBox=\"0 0 53.294 50.629\">%0D%0A <path id=\"allerg\\e8ne\" d=\"M830.494,25.793l-5.814,6.783.727,8.963-8.721,1.938-4.6,7.752L803.847,47.6l-8.236,3.634-4.6-7.51-8.721-1.938.727-8.963L777.2,26.035l5.814-6.783-.727-8.963,8.721-1.938L795.61.6l8.236,3.634L812.083.6l4.6,7.752,8.721,1.938-.727,8.963Zm-24.467,2.422V13.681h-4.845V28.216Zm0,9.69V33.06h-4.845v4.845Z\" transform=\"translate(-777.2 -0.6)\"/>%0D%0A</svg>%0D%0A');background-repeat:no-repeat;margin:0 8px 24px 0;filter:invert(31%) sepia(51%) saturate(1323%) hue-rotate(199deg) brightness(99%) contrast(94%)}.notification{background-color:#dbe4ff;border:1px solid #C4D0F9;border-radius:5px;color:#4d5a81;margin:16px;padding:5px 15px;text-align:justify}.notification:before{position:relative;display:block;float:left;width:24px;height:24px;content:\" \";background-size:24px 24px;-webkit-background-size:24px 24px;background-image:url('data:image/svg+xml,<svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"info-circle\" class=\"svg-inline--fa fa-info-circle fa-w-16\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z\"></path></svg>');background-repeat:no-repeat;margin:0 8px 0 0;filter:invert(31%) sepia(8%) saturate(2329%) hue-rotate(188deg) brightness(103%) contrast(85%)}.notification-text{padding:0 15px 0 30px;font-size:16px}.home-page{display:flex;flex-direction:column;padding:0;background:transparent;height:100%;overflow-y:auto}.home-header{display:flex;flex-direction:row;align-items:center;gap:16px;flex-shrink:0;padding:8px 24px;background:#fff;border-bottom:1px solid #e3e6ea}.home-logo{display:flex;flex-direction:row;align-items:center;gap:6px;height:32px;flex-shrink:0}.home-logo-img{height:32px;width:auto;cursor:pointer}.dflat-logo{font-family:ErasITC-Bold,Eras ITC,Eras Light ITC,sans-serif;font-size:20px;line-height:32px;color:#3c5dc4;white-space:nowrap}.search-bar-container{position:relative;flex:0 1 600px;min-width:0}.search-bar-container:before{position:absolute;left:10px;top:8px;width:16px;height:16px;content:\" \";background-size:16px 16px;-webkit-background-size:16px 16px;background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"49.485\" height=\"49.485\" viewBox=\"0 0 49.485 49.485\">%0D%0A <path id=\"Recherche\" d=\"M31.88,37.039A20.324,20.324,0,1,1,12.411,1.6,20.324,20.324,0,0,1,37.039,31.88L49.485,44.326l-5.158,5.158ZM10.373,10.373a14.07,14.07,0,1,0,9.948-4.12A13.977,13.977,0,0,0,10.373,10.373Z\"/>%0D%0A</svg>%0D%0A');background-repeat:no-repeat;filter:invert(60%) sepia(57%) saturate(394%) hue-rotate(191deg) brightness(99%) contrast(96%);pointer-events:none}.search{border-radius:16px;border:1px solid #8EA7F8;background-color:#f7faff;padding:0 12px 0 34px;width:100%;height:32px;color:#4d5a81}::placeholder{color:#8ea7f8}.info-container{margin-left:auto;font-size:smaller;white-space:nowrap}.dashboard-panel{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;width:100%;padding:12px 24px 16px;box-sizing:border-box}.dashboard-panel msw-dashboard-page{flex:1 1 auto;min-height:0}@media(max-width:767.98px){.home-header{padding:8px 16px;gap:10px}.dflat-logo,.info-container{display:none}.search-bar-container{flex:1 1 auto}.dashboard-panel{padding:12px 16px 16px}}\n"],
|
|
12478
12479
|
dependencies: [
|
|
12479
12480
|
{
|
|
@@ -12549,7 +12550,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
12549
12550
|
selector: "msw-homepage",
|
|
12550
12551
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
12551
12552
|
standalone: false,
|
|
12552
|
-
template: "<div class=\"home-page\">\r\n <!-- Bandeau sous la barre du haut : logo à gauche, recherche à sa droite, version au bout -->\r\n <div class=\"home-header\">\r\n <div class=\"home-logo\">\r\n <img [src]=\"this.appInfo.HomeLogoUrl\" class=\"home-logo-img\" />\r\n <span class=\"dflat-logo\"><b>{{this.appInfo.Name}}</b></span>\r\n </div>\r\n <div class=\"search-bar-container\">\r\n <input class=\"search form-control search-bar-action\" (keyup.enter)=\"handleKeyboardEnter(this.app.FilterService.Keywords)\" type=\"text\"\r\n name=\"keyword\" #uniquename=\"ngModel\" [placeholder]=\"this.searchText\" [(ngModel)]=\"this.app.FilterService.Keywords\" />\r\n </div>\r\n <div class=\"info-container\" *ngIf=\"this.appInfo.Version\">\r\n <a routerLink=\"/release\">{{this.appInfo.Name}} {{this.appInfo.Version}}</a>\r\n </div>\r\n </div>\r\n <div class=\"dashboard-panel\">\r\n <msw-dashboard-page></msw-dashboard-page>\r\n </div>\r\n</div>\r\n",
|
|
12553
|
+
template: "<div class=\"home-page\">\r\n <!-- Bandeau sous la barre du haut : logo à gauche, recherche à sa droite, version au bout -->\r\n <div class=\"home-header\">\r\n <div class=\"home-logo\">\r\n <img [src]=\"this.appInfo.HomeLogoUrl\" class=\"home-logo-img\" />\r\n <span class=\"dflat-logo\"><b>{{this.appInfo.Name}}</b></span>\r\n </div>\r\n <div class=\"search-bar-container\">\r\n <input class=\"search form-control search-bar-action\" (keyup.enter)=\"handleKeyboardEnter(this.app.FilterService.Keywords)\" type=\"text\"\r\n name=\"keyword\" #uniquename=\"ngModel\" [placeholder]=\"this.searchText\" [(ngModel)]=\"this.app.FilterService.Keywords\" />\r\n </div>\r\n <div class=\"info-container\" *ngIf=\"this.appInfo.Version\">\r\n <a routerLink=\"/release\">{{this.appInfo.Name}} {{this.appInfo.Version}}</a>\r\n </div>\r\n </div>\r\n <div class=\"dashboard-panel\" *ngIf=\"this.canViewDashboard\">\r\n <msw-dashboard-page></msw-dashboard-page>\r\n </div>\r\n</div>\r\n",
|
|
12553
12554
|
styles: [".home-page{font-family:Open sans,sans-serif;background:#fff;-webkit-font-smoothing:antialiased;height:100%;width:100%;padding:16px}.main-container{margin:0 50px}.main-container-modal{width:calc(100% - 50px);margin:10px 25px 0}.moyen-titre{font-weight:700;font-size:24px;color:#4d5a81;margin:8px 0;border-bottom:solid 1px #DBE4FF}.grand-titre{font-weight:700;font-size:28px;color:#4d5a81;margin:0 0 8px}.petit-titre{font-weight:700;font-size:16px;color:#4d5a81;margin:0 0 8px}.petit-titre.underlined{border-bottom:solid 1px #4D5A81}.paragraph{padding:0 15px}.paragraph-highlight{padding:5px 15px 0 12px;border-left:5px solid #8EA7F8;border-bottom:1px solid #DBE4FF;border-top:1px solid #DBE4FF;border-right:1px solid #DBE4FF;background-color:#f7faff}.highlight{background-color:#f7faff;border:1px solid #DBE4FF;border-radius:5px;padding:15px;color:#3c5dc4;margin:0 0 16px}.highlight p{margin-bottom:0}.highlight:before{position:relative;display:block;float:left;width:24px;height:24px;content:\" \";background-size:24px 24px;-webkit-background-size:24px 24px;background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"53.294\" height=\"50.629\" viewBox=\"0 0 53.294 50.629\">%0D%0A <path id=\"allerg\\e8ne\" d=\"M830.494,25.793l-5.814,6.783.727,8.963-8.721,1.938-4.6,7.752L803.847,47.6l-8.236,3.634-4.6-7.51-8.721-1.938.727-8.963L777.2,26.035l5.814-6.783-.727-8.963,8.721-1.938L795.61.6l8.236,3.634L812.083.6l4.6,7.752,8.721,1.938-.727,8.963Zm-24.467,2.422V13.681h-4.845V28.216Zm0,9.69V33.06h-4.845v4.845Z\" transform=\"translate(-777.2 -0.6)\"/>%0D%0A</svg>%0D%0A');background-repeat:no-repeat;margin:0 8px 24px 0;filter:invert(31%) sepia(51%) saturate(1323%) hue-rotate(199deg) brightness(99%) contrast(94%)}.notification{background-color:#dbe4ff;border:1px solid #C4D0F9;border-radius:5px;color:#4d5a81;margin:16px;padding:5px 15px;text-align:justify}.notification:before{position:relative;display:block;float:left;width:24px;height:24px;content:\" \";background-size:24px 24px;-webkit-background-size:24px 24px;background-image:url('data:image/svg+xml,<svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"fas\" data-icon=\"info-circle\" class=\"svg-inline--fa fa-info-circle fa-w-16\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><path fill=\"currentColor\" d=\"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z\"></path></svg>');background-repeat:no-repeat;margin:0 8px 0 0;filter:invert(31%) sepia(8%) saturate(2329%) hue-rotate(188deg) brightness(103%) contrast(85%)}.notification-text{padding:0 15px 0 30px;font-size:16px}.home-page{display:flex;flex-direction:column;padding:0;background:transparent;height:100%;overflow-y:auto}.home-header{display:flex;flex-direction:row;align-items:center;gap:16px;flex-shrink:0;padding:8px 24px;background:#fff;border-bottom:1px solid #e3e6ea}.home-logo{display:flex;flex-direction:row;align-items:center;gap:6px;height:32px;flex-shrink:0}.home-logo-img{height:32px;width:auto;cursor:pointer}.dflat-logo{font-family:ErasITC-Bold,Eras ITC,Eras Light ITC,sans-serif;font-size:20px;line-height:32px;color:#3c5dc4;white-space:nowrap}.search-bar-container{position:relative;flex:0 1 600px;min-width:0}.search-bar-container:before{position:absolute;left:10px;top:8px;width:16px;height:16px;content:\" \";background-size:16px 16px;-webkit-background-size:16px 16px;background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"49.485\" height=\"49.485\" viewBox=\"0 0 49.485 49.485\">%0D%0A <path id=\"Recherche\" d=\"M31.88,37.039A20.324,20.324,0,1,1,12.411,1.6,20.324,20.324,0,0,1,37.039,31.88L49.485,44.326l-5.158,5.158ZM10.373,10.373a14.07,14.07,0,1,0,9.948-4.12A13.977,13.977,0,0,0,10.373,10.373Z\"/>%0D%0A</svg>%0D%0A');background-repeat:no-repeat;filter:invert(60%) sepia(57%) saturate(394%) hue-rotate(191deg) brightness(99%) contrast(96%);pointer-events:none}.search{border-radius:16px;border:1px solid #8EA7F8;background-color:#f7faff;padding:0 12px 0 34px;width:100%;height:32px;color:#4d5a81}::placeholder{color:#8ea7f8}.info-container{margin-left:auto;font-size:smaller;white-space:nowrap}.dashboard-panel{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;width:100%;padding:12px 24px 16px;box-sizing:border-box}.dashboard-panel msw-dashboard-page{flex:1 1 auto;min-height:0}@media(max-width:767.98px){.home-header{padding:8px 16px;gap:10px}.dflat-logo,.info-container{display:none}.search-bar-container{flex:1 1 auto}.dashboard-panel{padding:12px 16px 16px}}\n"]
|
|
12554
12555
|
}]
|
|
12555
12556
|
}],
|