@open-rlb/ng-app 3.1.32 → 3.1.34
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i1$2 from '@angular/common/http';
|
|
2
2
|
import { HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { InjectionToken, Injectable, Inject, Optional, inject, EventEmitter, importProvidersFrom, makeStateKey, makeEnvironmentProviders, Pipe, Input, Component, PLATFORM_ID, TemplateRef, ViewContainerRef, input, effect, Directive, NgModule, isDevMode, provideAppInitializer } from '@angular/core';
|
|
4
|
+
import { InjectionToken, Injectable, Inject, Optional, inject, EventEmitter, importProvidersFrom, makeStateKey, makeEnvironmentProviders, Pipe, Input, Component, PLATFORM_ID, TemplateRef, ViewContainerRef, input, effect, Directive, NgModule, model, isDevMode, provideAppInitializer } from '@angular/core';
|
|
5
5
|
import * as i2 from '@angular/router';
|
|
6
6
|
import { NavigationEnd, RoutesRecognized, RouterModule, Router, provideRouter } from '@angular/router';
|
|
7
7
|
import * as i1$4 from '@angular/service-worker';
|
|
@@ -1542,6 +1542,10 @@ class AuthenticationService {
|
|
|
1542
1542
|
currentProvider: authenticatedConfig.configId
|
|
1543
1543
|
}));
|
|
1544
1544
|
}
|
|
1545
|
+
else {
|
|
1546
|
+
this.login();
|
|
1547
|
+
return EMPTY;
|
|
1548
|
+
}
|
|
1545
1549
|
// SignalStore methods can trigger the API call
|
|
1546
1550
|
return this.aclStore.loadACL().pipe(tap(() => this.handleRedirect()), map(() => responses));
|
|
1547
1551
|
}));
|
|
@@ -1819,7 +1823,7 @@ class CmsComponent {
|
|
|
1819
1823
|
return md;
|
|
1820
1824
|
}
|
|
1821
1825
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: CmsComponent, deps: [{ token: StrapiService }, { token: LanguageService }, { token: RLB_CFG_CMS, optional: true }, { token: AbstractMdService, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1822
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.5", type: CmsComponent, isStandalone: false, selector: "rlb-cms-template", inputs: { contentId: "contentId", breadcrumb: "breadcrumb" }, ngImport: i0, template: "<div>\n @if (page) {\n <div class=\"container\">\n @if (breadcrumb) {\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <rlb-breadcrumb [items]=\"breadcrumb\"></rlb-breadcrumb>\n </div>\n </div>\n }\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <h1 class=\"text-center\">{{page.Title}}</h1>\n </div>\n </div>\n @if (page.Content) {\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <div [innerHTML]=\"page.Content \"></div>\n </div>\n </div>\n }\n @if (page.page_tabs.length>0) {\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <rlb-tabs>\n @for (tab of page.page_tabs; track tab.id; let i = $index) {\n <rlb-tab [target]=\"'cms-tab-'+i\">\n {{tab.Title}}\n </rlb-tab>\n }\n </rlb-tabs>\n <rlb-tab-content>\n @for (tab of page.page_tabs; track tab.id; let i = $index) {\n <rlb-tab-pane [id]=\"'cms-tab-'+i\">\n <div class=\"container-fluid\">\n @if (tab.Content) {\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <div [innerHTML]=\"tab.Content \"></div>\n </div>\n </div>\n }\n @for (step of tab.steps; track step.ContentId; let i = $index) {\n <div class=\"row my-4 mx-auto card-steps\"\n style=\"max-width: 350px; border-bottom: 1px solid rgb(192, 198, 204);\">\n <div class=\"col-8\">\n <div class=\"pb-2\">\n <div style=\"height: 54px; min-width: 54px; width: 54px; border: 5px solid rgb(192, 198, 204);\"\n class=\"round-counter\">\n <span class=\"red\">{{i+1}}</span>\n </div>\n </div>\n <div>\n <div [innerHTML]=\"step.Content \"></div>\n </div>\n </div>\n <div class=\"col-4 pb-2\">\n <img [src]=\"step.Picture.url|cms\">\n </div>\n </div>\n }\n @if (tab.faqs.length>0) {\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <h2 class=\"py-3\">{{tab.FaqTitle}}</h2>\n </div>\n </div>\n }\n @if (tab.faqs.length>0 && tab.FaqContent) {\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <div [innerHTML]=\"tab.FaqContent \"></div>\n </div>\n </div>\n }\n @if (tab.faqs.length>0) {\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <rlb-accordion>\n @for (faq of tab.faqs; track faq) {\n <div rlb-accordion-item [expanded]=\"true\">\n <rlb-accordion-header>\n {{faq.Title}}\n </rlb-accordion-header>\n <div rlb-accordion-body>\n <div [innerHTML]=\"faq.Content\"> </div>\n </div>\n </div>\n }\n </rlb-accordion>\n </div>\n </div>\n }\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <span>\n <a routerLink=\"/support\">\n <i class=\"bi bi-info-circle-fill\" style=\"margin-bottom: -6px;margin-right: 6px;\"></i>\n <span>{{'pages.support.infoPage' | translate}}</span>\n </a>\n </span>\n </div>\n </div>\n @if (page.topics.length>0) {\n <div class=\"row my-4\" style=\"padding: 4px\">\n @for (topic of page.topics; track topic.ContentId) {\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <a [routerLink]=\"'/informations/'+topic.page.ContentId\" style=\"color: inherit;text-decoration: none;\">\n <div class=\"card mb-4\" style=\"min-height: 230px;\">\n <img [src]=\"topic.Picture.url | cms\" class=\"card-img-top\"\n style=\"height: 91px; margin: 16px -16px;\">\n <div class=\"card-body\">\n <h5 class=\"card-title\">{{topic.Title}}</h5>\n <div class=\"card-text\" [innerHTML]=\"topic.Content \"></div>\n </div>\n </div>\n </a>\n </div>\n }\n </div>\n }\n </div>\n </rlb-tab-pane>\n }\n </rlb-tab-content>\n </div>\n </div>\n }\n </div>\n }\n </div>\n", styles: [""], dependencies: [{ kind: "component", type: i2$1.BreadcrumbComponent, selector: "rlb-breadcrumb", inputs: ["divider", "items", "cssClasses"] }, { kind: "component", type: i2$1.AccordionComponent, selector: "rlb-accordion", inputs: ["flush", "always-open", "id"] }, { kind: "component", type: i2$1.AccordionItemComponent, selector: "div[rlb-accordion-item]", inputs: ["name", "expanded", "class", "style"
|
|
1826
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.5", type: CmsComponent, isStandalone: false, selector: "rlb-cms-template", inputs: { contentId: "contentId", breadcrumb: "breadcrumb" }, ngImport: i0, template: "<div>\n @if (page) {\n <div class=\"container\">\n @if (breadcrumb) {\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <rlb-breadcrumb [items]=\"breadcrumb\"></rlb-breadcrumb>\n </div>\n </div>\n }\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <h1 class=\"text-center\">{{page.Title}}</h1>\n </div>\n </div>\n @if (page.Content) {\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <div [innerHTML]=\"page.Content \"></div>\n </div>\n </div>\n }\n @if (page.page_tabs.length>0) {\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <rlb-tabs>\n @for (tab of page.page_tabs; track tab.id; let i = $index) {\n <rlb-tab [target]=\"'cms-tab-'+i\">\n {{tab.Title}}\n </rlb-tab>\n }\n </rlb-tabs>\n <rlb-tab-content>\n @for (tab of page.page_tabs; track tab.id; let i = $index) {\n <rlb-tab-pane [id]=\"'cms-tab-'+i\">\n <div class=\"container-fluid\">\n @if (tab.Content) {\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <div [innerHTML]=\"tab.Content \"></div>\n </div>\n </div>\n }\n @for (step of tab.steps; track step.ContentId; let i = $index) {\n <div class=\"row my-4 mx-auto card-steps\"\n style=\"max-width: 350px; border-bottom: 1px solid rgb(192, 198, 204);\">\n <div class=\"col-8\">\n <div class=\"pb-2\">\n <div style=\"height: 54px; min-width: 54px; width: 54px; border: 5px solid rgb(192, 198, 204);\"\n class=\"round-counter\">\n <span class=\"red\">{{i+1}}</span>\n </div>\n </div>\n <div>\n <div [innerHTML]=\"step.Content \"></div>\n </div>\n </div>\n <div class=\"col-4 pb-2\">\n <img [src]=\"step.Picture.url|cms\">\n </div>\n </div>\n }\n @if (tab.faqs.length>0) {\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <h2 class=\"py-3\">{{tab.FaqTitle}}</h2>\n </div>\n </div>\n }\n @if (tab.faqs.length>0 && tab.FaqContent) {\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <div [innerHTML]=\"tab.FaqContent \"></div>\n </div>\n </div>\n }\n @if (tab.faqs.length>0) {\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <rlb-accordion>\n @for (faq of tab.faqs; track faq) {\n <div rlb-accordion-item [expanded]=\"true\">\n <rlb-accordion-header>\n {{faq.Title}}\n </rlb-accordion-header>\n <div rlb-accordion-body>\n <div [innerHTML]=\"faq.Content\"> </div>\n </div>\n </div>\n }\n </rlb-accordion>\n </div>\n </div>\n }\n <div class=\"row my-4\">\n <div class=\"col-12\">\n <span>\n <a routerLink=\"/support\">\n <i class=\"bi bi-info-circle-fill\" style=\"margin-bottom: -6px;margin-right: 6px;\"></i>\n <span>{{'pages.support.infoPage' | translate}}</span>\n </a>\n </span>\n </div>\n </div>\n @if (page.topics.length>0) {\n <div class=\"row my-4\" style=\"padding: 4px\">\n @for (topic of page.topics; track topic.ContentId) {\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <a [routerLink]=\"'/informations/'+topic.page.ContentId\" style=\"color: inherit;text-decoration: none;\">\n <div class=\"card mb-4\" style=\"min-height: 230px;\">\n <img [src]=\"topic.Picture.url | cms\" class=\"card-img-top\"\n style=\"height: 91px; margin: 16px -16px;\">\n <div class=\"card-body\">\n <h5 class=\"card-title\">{{topic.Title}}</h5>\n <div class=\"card-text\" [innerHTML]=\"topic.Content \"></div>\n </div>\n </div>\n </a>\n </div>\n }\n </div>\n }\n </div>\n </rlb-tab-pane>\n }\n </rlb-tab-content>\n </div>\n </div>\n }\n </div>\n }\n </div>\n", styles: [""], dependencies: [{ kind: "component", type: i2$1.BreadcrumbComponent, selector: "rlb-breadcrumb", inputs: ["divider", "items", "cssClasses"] }, { kind: "component", type: i2$1.AccordionComponent, selector: "rlb-accordion", inputs: ["flush", "always-open", "id"] }, { kind: "component", type: i2$1.AccordionItemComponent, selector: "div[rlb-accordion-item]", inputs: ["name", "expanded", "class", "style"], outputs: ["statusChange"] }, { kind: "component", type: i2$1.AccordionHeaderComponent, selector: "rlb-accordion-header" }, { kind: "component", type: i2$1.AccordionBodyComponent, selector: "div[rlb-accordion-body]" }, { kind: "component", type: i2$1.TabsComponent, selector: "rlb-tabs", inputs: ["horizontal-alignment", "view", "vertical", "fill", "id", "class"] }, { kind: "component", type: i2$1.TabComponent, selector: "rlb-tab", inputs: ["active", "disabled", "target", "class"] }, { kind: "component", type: i2$1.TabContentComponent, selector: "rlb-tab-content" }, { kind: "component", type: i2$1.TabPaneComponent, selector: "rlb-tab-pane", inputs: ["id", "active", "fade"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: i1$3.TranslatePipe, name: "translate" }, { kind: "pipe", type: CmsPipe, name: "cms" }] }); }
|
|
1823
1827
|
}
|
|
1824
1828
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: CmsComponent, decorators: [{
|
|
1825
1829
|
type: Component,
|
|
@@ -2451,11 +2455,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
|
|
|
2451
2455
|
}] });
|
|
2452
2456
|
|
|
2453
2457
|
class ErrorModalComponent {
|
|
2458
|
+
constructor() {
|
|
2459
|
+
this.data = input({}, ...(ngDevMode ? [{ debugName: "data" }] : []));
|
|
2460
|
+
this.valid = model(true, ...(ngDevMode ? [{ debugName: "valid" }] : []));
|
|
2461
|
+
}
|
|
2454
2462
|
onEnter() { }
|
|
2455
|
-
ngOnInit() {
|
|
2463
|
+
ngOnInit() {
|
|
2464
|
+
console.log(this.data());
|
|
2465
|
+
}
|
|
2456
2466
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ErrorModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2457
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
2458
|
-
|
|
2467
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.5", type: ErrorModalComponent, isStandalone: true, selector: "ng-component", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, valid: { classPropertyName: "valid", publicName: "valid", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valid: "validChange" }, hostDirectives: [{ directive: i2$1.ModalDirective, inputs: ["id", "id", "data-instance", "data-instance", "data-options", "data-options"] }], ngImport: i0, template: `
|
|
2468
|
+
<div class="modal-header">
|
|
2469
|
+
<h5 class="modal-title">{{ data().title }}</h5>
|
|
2459
2470
|
<button
|
|
2460
2471
|
type="button"
|
|
2461
2472
|
class="btn-close"
|
|
@@ -2464,20 +2475,26 @@ class ErrorModalComponent {
|
|
|
2464
2475
|
></button>
|
|
2465
2476
|
</div>
|
|
2466
2477
|
<div class="modal-body">
|
|
2467
|
-
<span>{{ data.content }}</span>
|
|
2478
|
+
<span>{{ data().content }}</span>
|
|
2468
2479
|
</div>
|
|
2469
2480
|
<div class="modal-footer">
|
|
2470
|
-
<button
|
|
2471
|
-
|
|
2481
|
+
<button
|
|
2482
|
+
type="button"
|
|
2483
|
+
class="btn btn-primary"
|
|
2484
|
+
data-modal-reason="close"
|
|
2485
|
+
>
|
|
2486
|
+
{{ data().ok }}
|
|
2472
2487
|
</button>
|
|
2473
|
-
</div
|
|
2488
|
+
</div>
|
|
2489
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: RlbAppModule }] }); }
|
|
2474
2490
|
}
|
|
2475
2491
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ErrorModalComponent, decorators: [{
|
|
2476
2492
|
type: Component,
|
|
2477
2493
|
args: [{
|
|
2478
2494
|
imports: [RlbAppModule],
|
|
2479
|
-
template: `
|
|
2480
|
-
|
|
2495
|
+
template: `
|
|
2496
|
+
<div class="modal-header">
|
|
2497
|
+
<h5 class="modal-title">{{ data().title }}</h5>
|
|
2481
2498
|
<button
|
|
2482
2499
|
type="button"
|
|
2483
2500
|
class="btn-close"
|
|
@@ -2486,50 +2503,72 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
|
|
|
2486
2503
|
></button>
|
|
2487
2504
|
</div>
|
|
2488
2505
|
<div class="modal-body">
|
|
2489
|
-
<span>{{ data.content }}</span>
|
|
2506
|
+
<span>{{ data().content }}</span>
|
|
2490
2507
|
</div>
|
|
2491
2508
|
<div class="modal-footer">
|
|
2492
|
-
<button
|
|
2493
|
-
|
|
2509
|
+
<button
|
|
2510
|
+
type="button"
|
|
2511
|
+
class="btn btn-primary"
|
|
2512
|
+
data-modal-reason="close"
|
|
2513
|
+
>
|
|
2514
|
+
{{ data().ok }}
|
|
2494
2515
|
</button>
|
|
2495
|
-
</div
|
|
2516
|
+
</div>
|
|
2517
|
+
`,
|
|
2496
2518
|
hostDirectives: [
|
|
2497
2519
|
{
|
|
2498
2520
|
directive: ModalDirective,
|
|
2499
2521
|
inputs: ['id', 'data-instance', 'data-options'],
|
|
2500
2522
|
},
|
|
2501
|
-
]
|
|
2523
|
+
],
|
|
2502
2524
|
}]
|
|
2503
|
-
}] });
|
|
2525
|
+
}], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], valid: [{ type: i0.Input, args: [{ isSignal: true, alias: "valid", required: false }] }, { type: i0.Output, args: ["validChange"] }] } });
|
|
2504
2526
|
|
|
2505
2527
|
class ModalAppsComponent {
|
|
2506
2528
|
constructor() {
|
|
2507
|
-
this.
|
|
2529
|
+
this.data = input({}, ...(ngDevMode ? [{ debugName: "data" }] : []));
|
|
2530
|
+
this.valid = model(true, ...(ngDevMode ? [{ debugName: "valid" }] : []));
|
|
2508
2531
|
this.apps = [];
|
|
2509
2532
|
}
|
|
2510
2533
|
appSelected(app) {
|
|
2511
2534
|
this.result = app;
|
|
2512
2535
|
}
|
|
2513
2536
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ModalAppsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2514
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.5", type: ModalAppsComponent, isStandalone: true, selector: "ng-component", hostDirectives: [{ directive: i2$1.ModalDirective, inputs: ["id", "id", "data-instance", "data-instance", "data-options", "data-options"] }], ngImport: i0, template: `
|
|
2537
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.5", type: ModalAppsComponent, isStandalone: true, selector: "ng-component", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, valid: { classPropertyName: "valid", publicName: "valid", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valid: "validChange" }, hostDirectives: [{ directive: i2$1.ModalDirective, inputs: ["id", "id", "data-instance", "data-instance", "data-options", "data-options"] }], ngImport: i0, template: `
|
|
2515
2538
|
<div class="modal-header">
|
|
2516
|
-
<h5 class="modal-title">{{ data.title }}</h5>
|
|
2517
|
-
<button
|
|
2539
|
+
<h5 class="modal-title">{{ data().title }}</h5>
|
|
2540
|
+
<button
|
|
2541
|
+
type="button"
|
|
2542
|
+
class="btn-close"
|
|
2543
|
+
aria-label="Close"
|
|
2544
|
+
data-modal-reason="close"
|
|
2545
|
+
></button>
|
|
2518
2546
|
</div>
|
|
2519
2547
|
<div class="modal-body">
|
|
2520
2548
|
<ul class="row row-cols-4 list-unstyled list">
|
|
2521
|
-
@for (app of data.content; track app) {
|
|
2522
|
-
<li
|
|
2523
|
-
|
|
2549
|
+
@for (app of data().content; track app) {
|
|
2550
|
+
<li
|
|
2551
|
+
class="col my-2"
|
|
2552
|
+
[tooltip]="app.description | translate"
|
|
2553
|
+
>
|
|
2554
|
+
<a
|
|
2555
|
+
class="d-block text-body-emphasis text-decoration-none"
|
|
2556
|
+
(click)="appSelected(app)"
|
|
2557
|
+
[class.disabled]="!app.enabled"
|
|
2558
|
+
data-modal-reason="ok"
|
|
2559
|
+
>
|
|
2524
2560
|
<div class="px-3 py-4 mb-2 bg-body-secondary text-center rounded">
|
|
2525
2561
|
<i [ngClass]="app.icon"></i>
|
|
2526
2562
|
</div>
|
|
2527
|
-
<div class="name text-muted text-decoration-none text-center pt-1">
|
|
2563
|
+
<div class="name text-muted text-decoration-none text-center pt-1">
|
|
2564
|
+
{{ app.name | translate }}
|
|
2565
|
+
</div>
|
|
2528
2566
|
</a>
|
|
2529
2567
|
</li>
|
|
2530
2568
|
}
|
|
2531
2569
|
</ul>
|
|
2532
|
-
</div
|
|
2570
|
+
</div>
|
|
2571
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: RlbAppModule }, { kind: "directive", type: i2$1.TooltipDirective, selector: "[tooltip]", inputs: ["tooltip", "tooltip-placement", "tooltip-class", "tooltip-html"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: i1$3.TranslatePipe, name: "translate" }] }); }
|
|
2533
2572
|
}
|
|
2534
2573
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ModalAppsComponent, decorators: [{
|
|
2535
2574
|
type: Component,
|
|
@@ -2537,26 +2576,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
|
|
|
2537
2576
|
imports: [RlbAppModule, CommonModule],
|
|
2538
2577
|
template: `
|
|
2539
2578
|
<div class="modal-header">
|
|
2540
|
-
<h5 class="modal-title">{{ data.title }}</h5>
|
|
2541
|
-
<button
|
|
2579
|
+
<h5 class="modal-title">{{ data().title }}</h5>
|
|
2580
|
+
<button
|
|
2581
|
+
type="button"
|
|
2582
|
+
class="btn-close"
|
|
2583
|
+
aria-label="Close"
|
|
2584
|
+
data-modal-reason="close"
|
|
2585
|
+
></button>
|
|
2542
2586
|
</div>
|
|
2543
2587
|
<div class="modal-body">
|
|
2544
2588
|
<ul class="row row-cols-4 list-unstyled list">
|
|
2545
|
-
@for (app of data.content; track app) {
|
|
2546
|
-
<li
|
|
2547
|
-
|
|
2589
|
+
@for (app of data().content; track app) {
|
|
2590
|
+
<li
|
|
2591
|
+
class="col my-2"
|
|
2592
|
+
[tooltip]="app.description | translate"
|
|
2593
|
+
>
|
|
2594
|
+
<a
|
|
2595
|
+
class="d-block text-body-emphasis text-decoration-none"
|
|
2596
|
+
(click)="appSelected(app)"
|
|
2597
|
+
[class.disabled]="!app.enabled"
|
|
2598
|
+
data-modal-reason="ok"
|
|
2599
|
+
>
|
|
2548
2600
|
<div class="px-3 py-4 mb-2 bg-body-secondary text-center rounded">
|
|
2549
2601
|
<i [ngClass]="app.icon"></i>
|
|
2550
2602
|
</div>
|
|
2551
|
-
<div class="name text-muted text-decoration-none text-center pt-1">
|
|
2603
|
+
<div class="name text-muted text-decoration-none text-center pt-1">
|
|
2604
|
+
{{ app.name | translate }}
|
|
2605
|
+
</div>
|
|
2552
2606
|
</a>
|
|
2553
2607
|
</li>
|
|
2554
2608
|
}
|
|
2555
2609
|
</ul>
|
|
2556
|
-
</div
|
|
2557
|
-
|
|
2610
|
+
</div>
|
|
2611
|
+
`,
|
|
2612
|
+
hostDirectives: [{ directive: ModalDirective, inputs: ['id', 'data-instance', 'data-options'] }],
|
|
2558
2613
|
}]
|
|
2559
|
-
}] });
|
|
2614
|
+
}], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], valid: [{ type: i0.Input, args: [{ isSignal: true, alias: "valid", required: false }] }, { type: i0.Output, args: ["validChange"] }] } });
|
|
2560
2615
|
|
|
2561
2616
|
class AppSelectorComponent {
|
|
2562
2617
|
constructor(_location, appsService, authService) {
|
|
@@ -2970,7 +3025,7 @@ class SettingsCoreComponent {
|
|
|
2970
3025
|
});
|
|
2971
3026
|
}
|
|
2972
3027
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: SettingsCoreComponent, deps: [{ token: i1$6.Location }, { token: i2$1.ToastService }, { token: LanguageService }, { token: i1$1.Store }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2973
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.5", type: SettingsCoreComponent, isStandalone: true, selector: "rlb-settings-core", ngImport: i0, template: "<div class=\"container mt-2\">\n <div class=\"container text-center position-relative my-3\">\n <h3>{{ 'core.settings.generalTitle' | translate}}</h3>\n <i role=\"button\" class=\"bi bi-chevron-left position-absolute start-0 top-50 translate-middle-y\"\n (click)=\"backClicked()\" style=\"font-size: 25px;font-weight: 600;\"></i>\n </div>\n <rlb-list class=\"settings\">\n <rlb-list-item class=\"settings-item\">\n <div class=\"d-flex justify-content-between\">\n <div class=\"settings-text\">\n <h6 class=\"mt-1\">{{ 'core.settings.generalTheme' | translate}}</h6>\n </div>\n <div class=\"settings-control\">\n <rlb-switch size=\"small\" [(ngModel)]=\"darkMode\" class=\"mt-2\" />\n </div>\n </div>\n </rlb-list-item>\n <rlb-list-item class=\"settings-item\">\n <div class=\"d-flex justify-content-between\">\n <div class=\"settings-text\">\n <h6 class=\"mt-1\">{{ 'core.settings.generalLanguage' | translate}}</h6>\n </div>\n <div class=\"settings-control\">\n <rlb-select size=\"small\" [(ngModel)]=\"currentLanguage\">\n @for (l of languages; track l.value) {\n <rlb-option [value]=\"l.value\">{{l.label}}</rlb-option>\n }\n </rlb-select>\n </div>\n </div>\n </rlb-list-item>\n </rlb-list>\n</div>\n", styles: [".settings .settings-item .settings-control{width:40%}.settings .settings-item .settings-control ::ng-deep rlb-switch .form-check{display:block;margin-left:auto}\n"], dependencies: [{ kind: "ngmodule", type: RlbAppModule }, { kind: "component", type: i2$1.SwitchComponent, selector: "rlb-switch", inputs: ["disabled", "readonly", "size", "id"] }, { kind: "component", type: i2$1.SelectComponent, selector: "rlb-select", inputs: ["placeholder", "size", "disabled", "readonly", "multiple", "display", "id", "enable-validation"] }, { kind: "component", type: i2$1.OptionComponent, selector: "rlb-option", inputs: ["
|
|
3028
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.5", type: SettingsCoreComponent, isStandalone: true, selector: "rlb-settings-core", ngImport: i0, template: "<div class=\"container mt-2\">\n <div class=\"container text-center position-relative my-3\">\n <h3>{{ 'core.settings.generalTitle' | translate}}</h3>\n <i role=\"button\" class=\"bi bi-chevron-left position-absolute start-0 top-50 translate-middle-y\"\n (click)=\"backClicked()\" style=\"font-size: 25px;font-weight: 600;\"></i>\n </div>\n <rlb-list class=\"settings\">\n <rlb-list-item class=\"settings-item\">\n <div class=\"d-flex justify-content-between\">\n <div class=\"settings-text\">\n <h6 class=\"mt-1\">{{ 'core.settings.generalTheme' | translate}}</h6>\n </div>\n <div class=\"settings-control\">\n <rlb-switch size=\"small\" [(ngModel)]=\"darkMode\" class=\"mt-2\" />\n </div>\n </div>\n </rlb-list-item>\n <rlb-list-item class=\"settings-item\">\n <div class=\"d-flex justify-content-between\">\n <div class=\"settings-text\">\n <h6 class=\"mt-1\">{{ 'core.settings.generalLanguage' | translate}}</h6>\n </div>\n <div class=\"settings-control\">\n <rlb-select size=\"small\" [(ngModel)]=\"currentLanguage\">\n @for (l of languages; track l.value) {\n <rlb-option [value]=\"l.value\">{{l.label}}</rlb-option>\n }\n </rlb-select>\n </div>\n </div>\n </rlb-list-item>\n </rlb-list>\n</div>\n", styles: [".settings .settings-item .settings-control{width:40%}.settings .settings-item .settings-control ::ng-deep rlb-switch .form-check{display:block;margin-left:auto}\n"], dependencies: [{ kind: "ngmodule", type: RlbAppModule }, { kind: "component", type: i2$1.SwitchComponent, selector: "rlb-switch", inputs: ["disabled", "readonly", "size", "id"] }, { kind: "component", type: i2$1.SelectComponent, selector: "rlb-select", inputs: ["placeholder", "size", "disabled", "readonly", "multiple", "display", "id", "enable-validation"] }, { kind: "component", type: i2$1.OptionComponent, selector: "rlb-option", inputs: ["value", "disabled"] }, { kind: "component", type: i2$1.ListComponent, selector: "rlb-list", inputs: ["disabled", "numbered", "flush", "horizontal"] }, { kind: "component", type: i2$1.ListItemComponent, selector: "rlb-list-item", inputs: ["active", "disabled", "action"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: i1$3.TranslatePipe, name: "translate" }] }); }
|
|
2974
3029
|
}
|
|
2975
3030
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: SettingsCoreComponent, decorators: [{
|
|
2976
3031
|
type: Component,
|
|
@@ -3173,10 +3228,11 @@ const { selectSidebarState } = sidebarsFeature;
|
|
|
3173
3228
|
|
|
3174
3229
|
class ToastComponent {
|
|
3175
3230
|
constructor() {
|
|
3231
|
+
this.data = input.required(...(ngDevMode ? [{ debugName: "data" }] : []));
|
|
3176
3232
|
this.valid = true;
|
|
3177
3233
|
}
|
|
3178
3234
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ToastComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3179
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.5", type: ToastComponent, isStandalone: true, selector: "ng-component", hostDirectives: [{ directive: i2$1.ToastDirective, inputs: ["id", "id", "data-instance", "data-instance", "data-options", "data-options"] }], ngImport: i0, template: `
|
|
3235
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1.5", type: ToastComponent, isStandalone: true, selector: "ng-component", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null } }, hostDirectives: [{ directive: i2$1.ToastDirective, inputs: ["id", "id", "data-instance", "data-instance", "data-options", "data-options"] }], ngImport: i0, template: `
|
|
3180
3236
|
<div class="toast-header">
|
|
3181
3237
|
<strong class="me-auto">
|
|
3182
3238
|
<svg
|
|
@@ -3187,13 +3243,17 @@ class ToastComponent {
|
|
|
3187
3243
|
aria-hidden="true"
|
|
3188
3244
|
preserveAspectRatio="xMidYMid slice"
|
|
3189
3245
|
focusable="false"
|
|
3190
|
-
|
|
3191
|
-
<rect
|
|
3246
|
+
>
|
|
3247
|
+
<rect
|
|
3248
|
+
width="100%"
|
|
3249
|
+
height="100%"
|
|
3250
|
+
fill="#007aff"
|
|
3251
|
+
></rect>
|
|
3192
3252
|
</svg>
|
|
3193
|
-
{{ data.title }}
|
|
3253
|
+
{{ data().title }}
|
|
3194
3254
|
</strong>
|
|
3195
|
-
@if (data.subtitle) {
|
|
3196
|
-
<small>
|
|
3255
|
+
@if (data().subtitle) {
|
|
3256
|
+
<small>{{ data().subtitle }}</small>
|
|
3197
3257
|
}
|
|
3198
3258
|
<button
|
|
3199
3259
|
type="button"
|
|
@@ -3202,8 +3262,8 @@ class ToastComponent {
|
|
|
3202
3262
|
aria-label="Close"
|
|
3203
3263
|
></button>
|
|
3204
3264
|
</div>
|
|
3205
|
-
<div class="toast-body">{{ data.content }}</div>
|
|
3206
|
-
|
|
3265
|
+
<div class="toast-body">{{ data().content }}</div>
|
|
3266
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: RlbAppModule }] }); }
|
|
3207
3267
|
}
|
|
3208
3268
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ToastComponent, decorators: [{
|
|
3209
3269
|
type: Component,
|
|
@@ -3220,13 +3280,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
|
|
|
3220
3280
|
aria-hidden="true"
|
|
3221
3281
|
preserveAspectRatio="xMidYMid slice"
|
|
3222
3282
|
focusable="false"
|
|
3223
|
-
|
|
3224
|
-
<rect
|
|
3283
|
+
>
|
|
3284
|
+
<rect
|
|
3285
|
+
width="100%"
|
|
3286
|
+
height="100%"
|
|
3287
|
+
fill="#007aff"
|
|
3288
|
+
></rect>
|
|
3225
3289
|
</svg>
|
|
3226
|
-
{{ data.title }}
|
|
3290
|
+
{{ data().title }}
|
|
3227
3291
|
</strong>
|
|
3228
|
-
@if (data.subtitle) {
|
|
3229
|
-
<small>
|
|
3292
|
+
@if (data().subtitle) {
|
|
3293
|
+
<small>{{ data().subtitle }}</small>
|
|
3230
3294
|
}
|
|
3231
3295
|
<button
|
|
3232
3296
|
type="button"
|
|
@@ -3235,16 +3299,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
|
|
|
3235
3299
|
aria-label="Close"
|
|
3236
3300
|
></button>
|
|
3237
3301
|
</div>
|
|
3238
|
-
<div class="toast-body">{{ data.content }}</div>
|
|
3239
|
-
|
|
3302
|
+
<div class="toast-body">{{ data().content }}</div>
|
|
3303
|
+
`,
|
|
3240
3304
|
hostDirectives: [
|
|
3241
3305
|
{
|
|
3242
3306
|
directive: ToastDirective,
|
|
3243
3307
|
inputs: ['id', 'data-instance', 'data-options'],
|
|
3244
3308
|
},
|
|
3245
|
-
]
|
|
3309
|
+
],
|
|
3246
3310
|
}]
|
|
3247
|
-
}] });
|
|
3311
|
+
}], propDecorators: { data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: true }] }] } });
|
|
3248
3312
|
|
|
3249
3313
|
class AclEffects {
|
|
3250
3314
|
// TODO: It's legacy approach. We're moving forward to signalStore. All legacy boilerplate (effects.ts, reducers.ts, actions.ts) will be removed soon
|