@qbs-origin/origin-form 0.5.0 → 0.6.0
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.
- package/esm2022/lib/action-step-handler.mjs +3 -3
- package/esm2022/lib/auth-client.service.mjs +3 -3
- package/esm2022/lib/formly/baseFormlyControlComponent.mjs +3 -3
- package/esm2022/lib/formly/baseFormlyStepComponent.mjs +3 -3
- package/esm2022/lib/formly/custom-section-separator.component.mjs +3 -3
- package/esm2022/lib/formly/form-section-separator.component.mjs +3 -3
- package/esm2022/lib/formly/formly-action.mjs +3 -3
- package/esm2022/lib/formly/formly-checkbox/formly-checkbox.component.mjs +3 -3
- package/esm2022/lib/formly/formly-dictionary-dropdown-tree/formly-dictionary-dropdown-tree.component.mjs +3 -3
- package/esm2022/lib/formly/formly-download-documents/formly-download-documents.component.mjs +3 -3
- package/esm2022/lib/formly/formly-enrol-card/formly-enrol-card.component.mjs +3 -3
- package/esm2022/lib/formly/formly-field-stepper/formly-field-stepper.component.mjs +3 -3
- package/esm2022/lib/formly/formly-generate-documents/formly-generate-documents.component.mjs +3 -3
- package/esm2022/lib/formly/formly-identification.component.mjs +3 -3
- package/esm2022/lib/formly/formly-open-banking/formly-open-banking.component.mjs +3 -3
- package/esm2022/lib/formly/formly-paragraph/formly-paragraph.component.mjs +3 -3
- package/esm2022/lib/formly/formly-radio/formly-radio-component.mjs +3 -3
- package/esm2022/lib/formly/formly-row-fille.mjs +3 -3
- package/esm2022/lib/formly/formly-scan-id/formly-scan-id.component.mjs +3 -3
- package/esm2022/lib/formly/formly-sign/formly-sign.component.mjs +5 -5
- package/esm2022/lib/formly/formly-upload-documents/formly-upload-documents.component.mjs +3 -3
- package/esm2022/lib/formly/formly-validate-contact-info/formly-validate-contact-info.component.mjs +3 -3
- package/esm2022/lib/formly/formly-view-documents/formly-view-documents.component.mjs +3 -3
- package/esm2022/lib/formly/formly-view-offers/formly-view-offers.component.mjs +3 -3
- package/esm2022/lib/origin-form-auth.service.mjs +3 -3
- package/esm2022/lib/origin-form-token.interceptor.mjs +3 -3
- package/esm2022/lib/origin-form.component.mjs +3 -3
- package/esm2022/lib/origin-form.module.mjs +6 -6
- package/esm2022/lib/origin-form.service.mjs +3 -3
- package/esm2022/lib/others/check-list.database.mjs +3 -3
- package/esm2022/lib/others/config-service.mjs +3 -3
- package/esm2022/lib/others/external-link.directive.mjs +3 -3
- package/esm2022/lib/others/flux-helper.mjs +3 -3
- package/esm2022/lib/others/picker.component.mjs +3 -3
- package/esm2022/lib/others/translation.pipe.mjs +3 -3
- package/esm2022/lib/others/translations-helper.mjs +3 -3
- package/esm2022/lib/services/applicationData.service.mjs +3 -3
- package/esm2022/lib/services/auth-http.service.mjs +3 -3
- package/esm2022/lib/services/dialog.service.mjs +3 -3
- package/esm2022/lib/services/dictionary.service.mjs +3 -3
- package/esm2022/lib/services/forms.service.mjs +3 -3
- package/esm2022/lib/services/labels.service.mjs +3 -3
- package/esm2022/lib/services/language.service.mjs +3 -3
- package/esm2022/lib/services/open-banking.service.mjs +3 -3
- package/esm2022/lib/services/origin-form-signalr-handler.service.mjs +3 -3
- package/esm2022/lib/services/origin-form-signalr.service.mjs +3 -3
- package/esm2022/lib/services/otp.service.mjs +3 -3
- package/esm2022/lib/services/proxy.service.mjs +3 -3
- package/esm2022/lib/services/scroll-to-error.service.mjs +3 -3
- package/esm2022/lib/services/translation.service.mjs +3 -3
- package/esm2022/lib/shared-components/confirmation.component.mjs +3 -3
- package/esm2022/lib/shared-components/dictionaries-tree.component.mjs +3 -3
- package/esm2022/lib/shared-components/grid.component.mjs +3 -3
- package/esm2022/lib/shared-components/treeview/treeview.component.mjs +3 -3
- package/esm2022/lib/theme-injector.service.mjs +3 -3
- package/fesm2022/qbs-origin-origin-form.mjs +168 -168
- package/fesm2022/qbs-origin-origin-form.mjs.map +1 -1
- package/lib/formly/formly-sign/formly-sign.component.d.ts +1 -1
- package/lib/origin-form.module.d.ts +1 -1
- package/package.json +2 -2
|
@@ -93,10 +93,10 @@ export class OriginFormSignalrService {
|
|
|
93
93
|
console.log('Collector SignalR connection stopped.');
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
97
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
96
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OriginFormSignalrService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
97
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OriginFormSignalrService, providedIn: 'root' }); }
|
|
98
98
|
}
|
|
99
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OriginFormSignalrService, decorators: [{
|
|
100
100
|
type: Injectable,
|
|
101
101
|
args: [{
|
|
102
102
|
providedIn: 'root',
|
|
@@ -19,10 +19,10 @@ export class OtpService {
|
|
|
19
19
|
`/otp/validate-app-otp`;
|
|
20
20
|
return this.http.postExtended(url, data, { observe: 'response' }).pipe(map((response) => response), catchError((error) => of({ ...error, body: false })));
|
|
21
21
|
}
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
23
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OtpService, deps: [{ token: i1.AuthHttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
23
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OtpService }); }
|
|
24
24
|
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: OtpService, decorators: [{
|
|
26
26
|
type: Injectable
|
|
27
27
|
}], ctorParameters: () => [{ type: i1.AuthHttpService }] });
|
|
28
28
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3RwLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9vcmlnaW4tZm9ybS9zcmMvbGliL3NlcnZpY2VzL290cC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25ELE9BQU8sRUFBRSxVQUFVLEVBQUUsR0FBRyxFQUFjLEVBQUUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUN2RCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sMEJBQTBCLENBQUM7OztBQUl6RCxNQUFNLE9BQU8sVUFBVTtJQUNyQixZQUFvQixJQUFxQjtRQUFyQixTQUFJLEdBQUosSUFBSSxDQUFpQjtRQUV6QyxrQkFBYSxHQUFHLE1BQU0sQ0FBQyxhQUFhLENBQUMsQ0FBQztJQUZNLENBQUM7SUFJN0MsUUFBUSxDQUFDLE1BS1I7UUFDQyxNQUFNLEdBQUcsR0FDUCxJQUFJLENBQUMsYUFBYSxDQUFDLFVBQVUsRUFBRSxDQUFDLHFCQUFxQjtZQUNyRCx1QkFBdUIsQ0FBQztRQUMxQixNQUFNLElBQUksR0FBRyxFQUFFLEdBQUcsTUFBTSxFQUFFLFlBQVksRUFBRSxTQUFTLEVBQUUsQ0FBQztRQUNwRCxPQUFPLElBQUksQ0FBQyxJQUFJLENBQUMsWUFBWSxDQUFDLEdBQUcsRUFBRSxJQUFJLEVBQUUsRUFBRSxPQUFPLEVBQUUsVUFBVSxFQUFFLENBQUMsQ0FBQyxJQUFJLENBQ3BFLEdBQUcsQ0FBQyxDQUFDLFFBQVEsRUFBRSxFQUFFLENBQUMsUUFBUSxDQUFDLEVBQzNCLFVBQVUsQ0FBQyxDQUFDLEtBQUssRUFBRSxFQUFFLENBQUMsRUFBRSxDQUFDLEVBQUUsR0FBRyxLQUFLLEVBQUUsSUFBSSxFQUFFLEtBQUssRUFBRSxDQUFDLENBQUMsQ0FDckQsQ0FBQztJQUNKLENBQUM7SUFFRCxRQUFRLENBQUMsSUFJUjtRQUNDLE1BQU0sR0FBRyxHQUNQLElBQUksQ0FBQyxhQUFhLENBQUMsVUFBVSxFQUFFLENBQUMscUJBQXFCO1lBQ3JELHVCQUF1QixDQUFDO1FBQzFCLE9BQU8sSUFBSSxDQUFDLElBQUksQ0FBQyxZQUFZLENBQUMsR0FBRyxFQUFFLElBQUksRUFBRSxFQUFFLE9BQU8sRUFBRSxVQUFVLEVBQUUsQ0FBQyxDQUFDLElBQUksQ0FDcEUsR0FBRyxDQUFDLENBQUMsUUFBUSxFQUFFLEVBQUUsQ0FBQyxRQUFRLENBQUMsRUFDM0IsVUFBVSxDQUFDLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxFQUFFLENBQUMsRUFBRSxHQUFHLEtBQUssRUFBRSxJQUFJLEVBQUUsS0FBSyxFQUFFLENBQUMsQ0FBQyxDQUNyRCxDQUFDO0lBQ0osQ0FBQzsrR0FqQ1UsVUFBVTttSEFBVixVQUFVOzs0RkFBVixVQUFVO2tCQUR0QixVQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSwgaW5qZWN0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBjYXRjaEVycm9yLCBtYXAsIE9ic2VydmFibGUsIG9mIH0gZnJvbSAncnhqcyc7XG5pbXBvcnQgeyBDb25maWdTZXJ2aWNlIH0gZnJvbSAnLi4vb3RoZXJzL2NvbmZpZy1zZXJ2aWNlJztcbmltcG9ydCB7IEF1dGhIdHRwU2VydmljZSB9IGZyb20gJy4vYXV0aC1odHRwLnNlcnZpY2UnO1xuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgT3RwU2VydmljZSB7XG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgaHR0cDogQXV0aEh0dHBTZXJ2aWNlKSB7fVxuXG4gIGNvbmZpZ1NlcnZpY2UgPSBpbmplY3QoQ29uZmlnU2VydmljZSk7XG5cbiAgZ2VuZXJhdGUocGFyYW1zOiB7XG4gICAgcGhvbmVOdW1iZXI6IHN0cmluZyB8IG51bGw7XG4gICAgZW1haWxBZGRyZXNzOiBzdHJpbmcgfCBudWxsO1xuICAgIGFwcERhdGFJZDogc3RyaW5nO1xuICAgIHN0ZXBJZDogc3RyaW5nO1xuICB9KTogT2JzZXJ2YWJsZTxhbnk+IHtcbiAgICBjb25zdCB1cmwgPVxuICAgICAgdGhpcy5jb25maWdTZXJ2aWNlLnJlYWRDb25maWcoKS5iYXNlVXJsSW5mcmFzdHJ1Y3R1cmUgK1xuICAgICAgYC9vdHAvZ2VuZXJhdGUtYXBwLW90cGA7XG4gICAgY29uc3QgZGF0YSA9IHsgLi4ucGFyYW1zLCB0ZW1wbGF0ZU5hbWU6ICdvdHBDb2RlJyB9O1xuICAgIHJldHVybiB0aGlzLmh0dHAucG9zdEV4dGVuZGVkKHVybCwgZGF0YSwgeyBvYnNlcnZlOiAncmVzcG9uc2UnIH0pLnBpcGUoXG4gICAgICBtYXAoKHJlc3BvbnNlKSA9PiByZXNwb25zZSksXG4gICAgICBjYXRjaEVycm9yKChlcnJvcikgPT4gb2YoeyAuLi5lcnJvciwgYm9keTogZmFsc2UgfSkpXG4gICAgKTtcbiAgfVxuXG4gIHZhbGlkYXRlKGRhdGE6IHtcbiAgICBvdHBDb2RlOiBzdHJpbmc7XG4gICAgYXBwRGF0YUlkOiBzdHJpbmc7XG4gICAgc3RlcElkOiBzdHJpbmc7XG4gIH0pOiBPYnNlcnZhYmxlPGFueT4ge1xuICAgIGNvbnN0IHVybCA9XG4gICAgICB0aGlzLmNvbmZpZ1NlcnZpY2UucmVhZENvbmZpZygpLmJhc2VVcmxJbmZyYXN0cnVjdHVyZSArXG4gICAgICBgL290cC92YWxpZGF0ZS1hcHAtb3RwYDtcbiAgICByZXR1cm4gdGhpcy5odHRwLnBvc3RFeHRlbmRlZCh1cmwsIGRhdGEsIHsgb2JzZXJ2ZTogJ3Jlc3BvbnNlJyB9KS5waXBlKFxuICAgICAgbWFwKChyZXNwb25zZSkgPT4gcmVzcG9uc2UpLFxuICAgICAgY2F0Y2hFcnJvcigoZXJyb3IpID0+IG9mKHsgLi4uZXJyb3IsIGJvZHk6IGZhbHNlIH0pKVxuICAgICk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -67,10 +67,10 @@ export class ProxyService {
|
|
|
67
67
|
throw error;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
71
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
70
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProxyService, deps: [{ token: i1.AuthHttpService }, { token: i2.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
71
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProxyService, providedIn: 'root' }); }
|
|
72
72
|
}
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProxyService, decorators: [{
|
|
74
74
|
type: Injectable,
|
|
75
75
|
args: [{
|
|
76
76
|
providedIn: 'root',
|
|
@@ -357,10 +357,10 @@ export class ScrollToErrorService {
|
|
|
357
357
|
const invalidElements = document.querySelectorAll('.ng-invalid');
|
|
358
358
|
console.groupEnd();
|
|
359
359
|
}
|
|
360
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
361
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
360
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ScrollToErrorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
361
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ScrollToErrorService, providedIn: 'root' }); }
|
|
362
362
|
}
|
|
363
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ScrollToErrorService, decorators: [{
|
|
364
364
|
type: Injectable,
|
|
365
365
|
args: [{
|
|
366
366
|
providedIn: 'root'
|
|
@@ -17,10 +17,10 @@ export class TranslationService {
|
|
|
17
17
|
}
|
|
18
18
|
return translated;
|
|
19
19
|
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
21
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TranslationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
21
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TranslationService, providedIn: 'root' }); }
|
|
22
22
|
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TranslationService, decorators: [{
|
|
24
24
|
type: Injectable,
|
|
25
25
|
args: [{ providedIn: 'root' }]
|
|
26
26
|
}], ctorParameters: () => [] });
|
|
@@ -21,10 +21,10 @@ export class ConfirmationComponent {
|
|
|
21
21
|
cancel() {
|
|
22
22
|
this.dialog.close({ event: 'cancel' });
|
|
23
23
|
}
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ConfirmationComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: ConfirmationComponent, selector: "app-confirmation", ngImport: i0, template: "<mat-card class=\"cardWithShadow blue_theme theme-card m-b-0\">\n <mat-card-header>\n <mat-card-title class=\"m-b-0\">\n {{ commonKeys.confirmation.title | translate }}\n </mat-card-title>\n </mat-card-header>\n <mat-card-content class=\"b-t-1\">\n {{ text | translate }}\n <div class=\"m-t-24\">\n <button mat-flat-button type=\"button\" (click)=\"submit()\" color=\"primary\" class=\"m-r-16\">\n {{ commonKeys.actions.confirm | translate }}\n </button>\n <button mat-flat-button type=\"button\" (click)=\"cancel()\">\n {{ commonKeys.actions.cancel | translate }}\n </button>\n </div>\n </mat-card-content>\n</mat-card>\n", styles: [""], dependencies: [{ kind: "component", type: i2.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i2.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i2.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i2.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }] }); }
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ConfirmationComponent, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
29
|
args: [{ selector: 'app-confirmation', template: "<mat-card class=\"cardWithShadow blue_theme theme-card m-b-0\">\n <mat-card-header>\n <mat-card-title class=\"m-b-0\">\n {{ commonKeys.confirmation.title | translate }}\n </mat-card-title>\n </mat-card-header>\n <mat-card-content class=\"b-t-1\">\n {{ text | translate }}\n <div class=\"m-t-24\">\n <button mat-flat-button type=\"button\" (click)=\"submit()\" color=\"primary\" class=\"m-r-16\">\n {{ commonKeys.actions.confirm | translate }}\n </button>\n <button mat-flat-button type=\"button\" (click)=\"cancel()\">\n {{ commonKeys.actions.cancel | translate }}\n </button>\n </div>\n </mat-card-content>\n</mat-card>\n" }]
|
|
30
30
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -256,10 +256,10 @@ export class DictionariesTreeComponent {
|
|
|
256
256
|
var news = s.replace(/"valueTranslations":/g, '"translations":');
|
|
257
257
|
return JSON.parse(news);
|
|
258
258
|
}
|
|
259
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
260
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.
|
|
259
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DictionariesTreeComponent, deps: [{ token: i1.DictionaryService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
260
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: DictionariesTreeComponent, selector: "app-dictionaries-tree", inputs: { dictionaryId: "dictionaryId", selectedValueIds: "selectedValueIds", allowCheckItems: "allowCheckItems", allowFilter: "allowFilter", drawReferenceDictionariesAsSeparateNode: "drawReferenceDictionariesAsSeparateNode", drawChildDictionariesAsSeparateNode: "drawChildDictionariesAsSeparateNode", drawRootNode: "drawRootNode", filterText: "filterText", allowSelectNonLeafNodes: "allowSelectNonLeafNodes", languageId: "languageId", valuesIdsToShow: "valuesIdsToShow", hideParentArrow: "hideParentArrow", preloadedDictionary: "preloadedDictionary", preloadedDictionaries: "preloadedDictionaries", usePreloadedData: "usePreloadedData" }, outputs: { selectedDictionaryValuesChanged: "selectedDictionaryValuesChanged" }, viewQueries: [{ propertyName: "treeViewControl", first: true, predicate: ["treeView"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<mat-spinner *ngIf=\"isLoading === true\" class=\"m-x-auto\"></mat-spinner>\n<app-treeview #treeView [autoSelectDescendants]=\"false\"\n [allowCheckItems]=\"allowCheckItems\"\n [allowFilter]=\"allowFilter\"\n (selectionChanged)=\"onTreeSelectionChanged($event)\">\n\n</app-treeview>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: i4.AppTreeviewComponent, selector: "app-treeview", inputs: ["allowAddItems", "autoSelectDescendants", "allowCheckItems", "allowFilter"], outputs: ["selectionChanged"] }] }); }
|
|
261
261
|
}
|
|
262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DictionariesTreeComponent, decorators: [{
|
|
263
263
|
type: Component,
|
|
264
264
|
args: [{ selector: 'app-dictionaries-tree', template: "<mat-spinner *ngIf=\"isLoading === true\" class=\"m-x-auto\"></mat-spinner>\n<app-treeview #treeView [autoSelectDescendants]=\"false\"\n [allowCheckItems]=\"allowCheckItems\"\n [allowFilter]=\"allowFilter\"\n (selectionChanged)=\"onTreeSelectionChanged($event)\">\n\n</app-treeview>\n" }]
|
|
265
265
|
}], ctorParameters: () => [{ type: i1.DictionaryService }], propDecorators: { treeViewControl: [{
|
|
@@ -206,10 +206,10 @@ export class GridComponent {
|
|
|
206
206
|
return localNames.includes(templateKey);
|
|
207
207
|
}) || null);
|
|
208
208
|
}
|
|
209
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
210
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.
|
|
209
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GridComponent, deps: [{ token: i1.MatDialog }, { token: i2.Router }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
210
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: GridComponent, selector: "shared-grid", inputs: { data: "data", count: "count", columns: "columns", config: "config" }, outputs: { reload: "reload", delete: "delete", duplicate: "duplicate", open: "open" }, queries: [{ propertyName: "templates", predicate: TemplateRef }], viewQueries: [{ propertyName: "paginator", first: true, predicate: MatPaginator, descendants: true }, { propertyName: "sort", first: true, predicate: MatSort, descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"count !== 0 && (config.filter ?? true)\" class=\"row justify-content-between m-b-8\">\n <div class=\"col-12 col-md-5 col-lg-4 col-xl-3 p-l-0\">\n <mat-form-field appearance=\"outline\" class=\"w-100 hide-hint custom-field\">\n <input matInput [formControl]=\"filterField\" (keyup)=\"filter()\"\n placeholder=\"{{ commonKeys.actions.filter }}\" />\n </mat-form-field>\n </div>\n <div *ngIf=\"config.stateFilter\" class=\"col-12 col-md-5 col-lg-4 col-xl-3\">\n {{ commonKeys.actions.includeInactive }}\n <mat-slide-toggle [formControl]=\"stateToggle\" (click)=\"toggleState()\" class=\"m-l-4 m-t-10\"></mat-slide-toggle>\n </div>\n <div class=\"col\"></div>\n</div>\n\n<ng-container *ngIf=\"count === 0; else grid\">\n {{ commonKeys.pagination.noItems }}\n</ng-container>\n\n<ng-template #grid>\n <div class=\"table-responsive m-t-20\">\n <table mat-table [dataSource]=\"dataSource || (data | async)!\" matSort matSortActive=\"{{ config.sort ?? 'id' }}\"\n matSortDisableClear [matSortDirection]=\"config.sortDirection ?? 'asc'\" class=\"w-100\">\n <ng-container *ngFor=\"let column of columns\" matColumnDef=\"{{ column.id }}\">\n\n <ng-container *ngIf=\"!column.templateKey; else templateCell\">\n <ng-container *ngIf=\"column.route === undefined; else routeHeader\">\n <ng-container *ngIf=\"column.sortable === true; else unsortable\">\n <th mat-header-cell mat-sort-header *matHeaderCellDef class=\"f-s-16 f-w-700\">\n {{ column.title }}{{ column.label }}\n </th>\n </ng-container>\n <ng-template #unsortable>\n <th mat-header-cell *matHeaderCellDef class=\"f-s-16 f-w-700\">\n {{ column.title }}{{ column.label }}\n </th>\n </ng-template>\n\n <td mat-cell *matCellDef=\"let element\" class=\"f-s-14\">\n <ng-container *ngIf=\"isDate(element[column.id]); else second\">\n {{ element[column.id] | date : \"dd.MM.yyyy hh:mm\" }}\n </ng-container>\n <ng-template #second>\n <ng-container *ngIf=\"typeOf(element[column.id]) === 'boolean'; else third\">\n <ng-container *ngIf=\"element[column.id] === true; else disabled\">\n <mat-icon>\n <i-tabler name=\"check\" class=\"icon-18\"></i-tabler>\n </mat-icon>\n </ng-container>\n <ng-template #disabled>\n <i-tabler name=\"x\" class=\"icon-18\"></i-tabler>\n </ng-template>\n </ng-container>\n </ng-template>\n <ng-template #third>\n <ng-container *ngIf=\"column.id.includes('.'); else fourth\">\n {{ getObjectValues(column.id, element) }}\n </ng-container>\n </ng-template>\n <ng-template #fourth>\n {{ element[column.id] }}\n </ng-template>\n </td>\n </ng-container>\n\n <ng-template #routeHeader>\n <th width=\"1\" mat-header-cell *matHeaderCellDef></th>\n <td mat-cell *matCellDef=\"let element\" class=\"f-s-14 text-right\">\n <button *ngIf=\"column.id != 'delete' && column.id != 'open'\" mat-stroked-button\n (click)=\"buttonClick(column, element)\">\n <mat-icon *ngIf=\"column.icon\" class=\"m-0\">\n <i-tabler name=\"{{ column.icon }}\" class=\"icon-18\"></i-tabler>\n </mat-icon>\n <span *ngIf=\"column.icon && (column.title || column.label)\"> </span>\n <span>{{ column.title }}{{ column.label }}</span>\n </button>\n <button *ngIf=\"column.id == 'open'\" mat-stroked-button (click)=\"clickOpen(element)\">\n <mat-icon *ngIf=\"column.icon\" class=\"m-0\">\n <i-tabler name=\"{{ column.icon }}\" class=\"icon-18\"></i-tabler>\n </mat-icon>\n </button>\n </td>\n </ng-template>\n </ng-container>\n\n <ng-template #templateCell>\n <th mat-header-cell *matHeaderCellDef class=\"f-s-16 f-w-700\">\n {{ column.title }}{{ column.label }}\n </th>\n <td mat-cell *matCellDef=\"let row\" class=\"f-s-14\">\n <ng-container *ngTemplateOutlet=\"\n getTemplateRef(column.templateKey);\n context: { $implicit: row }\n \">\n </ng-container>\n </td>\n </ng-template>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"dataColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: dataColumns\"></tr>\n </table>\n\n <mat-paginator [length]=\"async ? (count | async) : count\" [pageSizeOptions]=\"[10, 25, 100]\">\n </mat-paginator>\n </div>\n</ng-template>", styles: [".mdc-button{min-width:0px}::ng-deep .custom-field .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:9px;padding-bottom:9px;min-height:40px}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 4px}.table-responsive td,.table-responsive mat-cell{white-space:nowrap;padding:4px}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i5.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i6.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: i7.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "component", type: i8.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i9.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i10.MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "directive", type: i11.MatSort, selector: "[matSort]", inputs: ["matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear", "matSortDisabled"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { kind: "component", type: i11.MatSortHeader, selector: "[mat-sort-header]", inputs: ["mat-sort-header", "arrowPosition", "start", "disabled", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "component", type: i12.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i12.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i12.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i12.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i12.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i12.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i12.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i12.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i12.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i12.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.DatePipe, name: "date" }] }); }
|
|
211
211
|
}
|
|
212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GridComponent, decorators: [{
|
|
213
213
|
type: Component,
|
|
214
214
|
args: [{ selector: 'shared-grid', template: "<div *ngIf=\"count !== 0 && (config.filter ?? true)\" class=\"row justify-content-between m-b-8\">\n <div class=\"col-12 col-md-5 col-lg-4 col-xl-3 p-l-0\">\n <mat-form-field appearance=\"outline\" class=\"w-100 hide-hint custom-field\">\n <input matInput [formControl]=\"filterField\" (keyup)=\"filter()\"\n placeholder=\"{{ commonKeys.actions.filter }}\" />\n </mat-form-field>\n </div>\n <div *ngIf=\"config.stateFilter\" class=\"col-12 col-md-5 col-lg-4 col-xl-3\">\n {{ commonKeys.actions.includeInactive }}\n <mat-slide-toggle [formControl]=\"stateToggle\" (click)=\"toggleState()\" class=\"m-l-4 m-t-10\"></mat-slide-toggle>\n </div>\n <div class=\"col\"></div>\n</div>\n\n<ng-container *ngIf=\"count === 0; else grid\">\n {{ commonKeys.pagination.noItems }}\n</ng-container>\n\n<ng-template #grid>\n <div class=\"table-responsive m-t-20\">\n <table mat-table [dataSource]=\"dataSource || (data | async)!\" matSort matSortActive=\"{{ config.sort ?? 'id' }}\"\n matSortDisableClear [matSortDirection]=\"config.sortDirection ?? 'asc'\" class=\"w-100\">\n <ng-container *ngFor=\"let column of columns\" matColumnDef=\"{{ column.id }}\">\n\n <ng-container *ngIf=\"!column.templateKey; else templateCell\">\n <ng-container *ngIf=\"column.route === undefined; else routeHeader\">\n <ng-container *ngIf=\"column.sortable === true; else unsortable\">\n <th mat-header-cell mat-sort-header *matHeaderCellDef class=\"f-s-16 f-w-700\">\n {{ column.title }}{{ column.label }}\n </th>\n </ng-container>\n <ng-template #unsortable>\n <th mat-header-cell *matHeaderCellDef class=\"f-s-16 f-w-700\">\n {{ column.title }}{{ column.label }}\n </th>\n </ng-template>\n\n <td mat-cell *matCellDef=\"let element\" class=\"f-s-14\">\n <ng-container *ngIf=\"isDate(element[column.id]); else second\">\n {{ element[column.id] | date : \"dd.MM.yyyy hh:mm\" }}\n </ng-container>\n <ng-template #second>\n <ng-container *ngIf=\"typeOf(element[column.id]) === 'boolean'; else third\">\n <ng-container *ngIf=\"element[column.id] === true; else disabled\">\n <mat-icon>\n <i-tabler name=\"check\" class=\"icon-18\"></i-tabler>\n </mat-icon>\n </ng-container>\n <ng-template #disabled>\n <i-tabler name=\"x\" class=\"icon-18\"></i-tabler>\n </ng-template>\n </ng-container>\n </ng-template>\n <ng-template #third>\n <ng-container *ngIf=\"column.id.includes('.'); else fourth\">\n {{ getObjectValues(column.id, element) }}\n </ng-container>\n </ng-template>\n <ng-template #fourth>\n {{ element[column.id] }}\n </ng-template>\n </td>\n </ng-container>\n\n <ng-template #routeHeader>\n <th width=\"1\" mat-header-cell *matHeaderCellDef></th>\n <td mat-cell *matCellDef=\"let element\" class=\"f-s-14 text-right\">\n <button *ngIf=\"column.id != 'delete' && column.id != 'open'\" mat-stroked-button\n (click)=\"buttonClick(column, element)\">\n <mat-icon *ngIf=\"column.icon\" class=\"m-0\">\n <i-tabler name=\"{{ column.icon }}\" class=\"icon-18\"></i-tabler>\n </mat-icon>\n <span *ngIf=\"column.icon && (column.title || column.label)\"> </span>\n <span>{{ column.title }}{{ column.label }}</span>\n </button>\n <button *ngIf=\"column.id == 'open'\" mat-stroked-button (click)=\"clickOpen(element)\">\n <mat-icon *ngIf=\"column.icon\" class=\"m-0\">\n <i-tabler name=\"{{ column.icon }}\" class=\"icon-18\"></i-tabler>\n </mat-icon>\n </button>\n </td>\n </ng-template>\n </ng-container>\n\n <ng-template #templateCell>\n <th mat-header-cell *matHeaderCellDef class=\"f-s-16 f-w-700\">\n {{ column.title }}{{ column.label }}\n </th>\n <td mat-cell *matCellDef=\"let row\" class=\"f-s-14\">\n <ng-container *ngTemplateOutlet=\"\n getTemplateRef(column.templateKey);\n context: { $implicit: row }\n \">\n </ng-container>\n </td>\n </ng-template>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"dataColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: dataColumns\"></tr>\n </table>\n\n <mat-paginator [length]=\"async ? (count | async) : count\" [pageSizeOptions]=\"[10, 25, 100]\">\n </mat-paginator>\n </div>\n</ng-template>", styles: [".mdc-button{min-width:0px}::ng-deep .custom-field .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:9px;padding-bottom:9px;min-height:40px}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 4px}.table-responsive td,.table-responsive mat-cell{white-space:nowrap;padding:4px}\n"] }]
|
|
215
215
|
}], ctorParameters: () => [{ type: i1.MatDialog }, { type: i2.Router }, { type: i0.ChangeDetectorRef }], propDecorators: { data: [{
|
|
@@ -204,10 +204,10 @@ export class AppTreeviewComponent {
|
|
|
204
204
|
const filterValue = event.target.value;
|
|
205
205
|
return this.filterText(filterValue);
|
|
206
206
|
}
|
|
207
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
208
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.
|
|
207
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AppTreeviewComponent, deps: [{ token: i1.ChecklistDatabase }, { token: i2.TranslatePipe }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
208
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: AppTreeviewComponent, selector: "app-treeview", inputs: { allowAddItems: "allowAddItems", autoSelectDescendants: "autoSelectDescendants", allowCheckItems: "allowCheckItems", allowFilter: "allowFilter" }, outputs: { selectionChanged: "selectionChanged" }, providers: [ChecklistDatabase], ngImport: i0, template: "<mat-form-field class=\"full-width p-10\"\n *ngIf=\"allowFilter\"\n appearance=\"outline\">\n <mat-label> {{ commonKeys.actions.filter | translate }}</mat-label>\n <input matInput\n minlength=\"1\"\n (keyup)=\"applyFilter($event)\"\n placeholder=\"{{ commonKeys.actions.filter }}\"\n #input />\n</mat-form-field>\n\n<!--<cdk-virtual-scroll-viewport itemSize=\"30\" class=\"dictionary-viewport\">-->\n<mat-tree [dataSource]=\"dataSource\" [treeControl]=\"treeControl\">\n <!-- Leaf Nodes -->\n <mat-tree-node *matTreeNodeDef=\"let node\"\n matTreeNodePadding>\n <button mat-icon-button disabled></button>\n <!-- Node Content -->\n <ng-container>\n <!-- Checkbox for Selectable Nodes when checkboxes are allowed -->\n <ng-container *ngIf=\"node.canSelect && allowCheckItems\">\n <mat-checkbox class=\"checklist-leaf-node\"\n [checked]=\"checklistSelection.isSelected(node)\"\n (change)=\"leafItemSelectionToggle(node)\"\n color=\"primary\">\n {{ node.name }}\n </mat-checkbox>\n </ng-container>\n <!-- Clickable Label for Selectable Nodes when checkboxes are not allowed -->\n <ng-container *ngIf=\"node.canSelect && !allowCheckItems\">\n <mat-label class=\"mdc-label\"\n style=\"cursor: pointer\"\n (click)=\"leafItemSelectionToggle(node)\">\n {{ node.name }}\n </mat-label>\n </ng-container>\n <!-- Non-clickable Label for Non-selectable Nodes -->\n <ng-container *ngIf=\"!node.canSelect\">\n <mat-label class=\"mdc-label\">\n {{ node.name }}\n </mat-label>\n </ng-container>\n </ng-container>\n </mat-tree-node>\n\n <!-- Nodes with Children -->\n <mat-tree-node *matTreeNodeDef=\"let node; when: hasChild\"\n matTreeNodePadding>\n <!-- Expand/Collapse Button -->\n <button mat-icon-button\n matTreeNodeToggle\n [attr.aria-label]=\"'Toggle ' + node.name\"\n *ngIf=\"!node.hideArrow\">\n <mat-icon class=\"mat-icon-rtl-mirror\">\n {{ treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right' }}\n </mat-icon>\n </button>\n <!-- Node Content -->\n <ng-container>\n <!-- Checkbox for Selectable Nodes when checkboxes are allowed -->\n <ng-container *ngIf=\"node.canSelect && allowCheckItems\">\n <mat-checkbox [checked]=\"checklistSelection.isSelected(node)\"\n (change)=\"selectionToggle(node)\"\n color=\"primary\">\n {{ node.name }}\n </mat-checkbox>\n </ng-container>\n <!-- Clickable Label for Selectable Nodes when checkboxes are not allowed -->\n <ng-container *ngIf=\"node.canSelect && !allowCheckItems\">\n <mat-label class=\"mdc-label\"\n style=\"cursor: pointer\"\n (click)=\"leafItemSelectionToggle(node)\">\n {{ node.name }}\n </mat-label>\n </ng-container>\n <!-- Non-clickable Label for Non-selectable Nodes -->\n <ng-container *ngIf=\"!node.canSelect\">\n <mat-label class=\"mdc-label\">\n {{ node.name }}\n </mat-label>\n </ng-container>\n </ng-container>\n <!-- Add New Item Button -->\n <button mat-icon-button (click)=\"addNewItem(node)\" *ngIf=\"allowAddItems\">\n <mat-icon>add</mat-icon>\n </button>\n </mat-tree-node>\n</mat-tree>\n<!--</cdk-virtual-scroll-viewport>-->\n", styles: [".dictionary-viewport{height:400px;width:100%}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "component", type: i6.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i7.MatTreeNodeDef, selector: "[matTreeNodeDef]", inputs: ["matTreeNodeDefWhen", "matTreeNode"] }, { kind: "directive", type: i7.MatTreeNodePadding, selector: "[matTreeNodePadding]", inputs: ["matTreeNodePadding", "matTreeNodePaddingIndent"] }, { kind: "directive", type: i7.MatTreeNodeToggle, selector: "[matTreeNodeToggle]", inputs: ["matTreeNodeToggleRecursive"] }, { kind: "component", type: i7.MatTree, selector: "mat-tree", exportAs: ["matTree"] }, { kind: "directive", type: i7.MatTreeNode, selector: "mat-tree-node", inputs: ["tabIndex", "disabled"], outputs: ["activation", "expandedChange"], exportAs: ["matTreeNode"] }, { kind: "component", type: i8.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i9.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
|
|
209
209
|
}
|
|
210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AppTreeviewComponent, decorators: [{
|
|
211
211
|
type: Component,
|
|
212
212
|
args: [{ selector: 'app-treeview', providers: [ChecklistDatabase], template: "<mat-form-field class=\"full-width p-10\"\n *ngIf=\"allowFilter\"\n appearance=\"outline\">\n <mat-label> {{ commonKeys.actions.filter | translate }}</mat-label>\n <input matInput\n minlength=\"1\"\n (keyup)=\"applyFilter($event)\"\n placeholder=\"{{ commonKeys.actions.filter }}\"\n #input />\n</mat-form-field>\n\n<!--<cdk-virtual-scroll-viewport itemSize=\"30\" class=\"dictionary-viewport\">-->\n<mat-tree [dataSource]=\"dataSource\" [treeControl]=\"treeControl\">\n <!-- Leaf Nodes -->\n <mat-tree-node *matTreeNodeDef=\"let node\"\n matTreeNodePadding>\n <button mat-icon-button disabled></button>\n <!-- Node Content -->\n <ng-container>\n <!-- Checkbox for Selectable Nodes when checkboxes are allowed -->\n <ng-container *ngIf=\"node.canSelect && allowCheckItems\">\n <mat-checkbox class=\"checklist-leaf-node\"\n [checked]=\"checklistSelection.isSelected(node)\"\n (change)=\"leafItemSelectionToggle(node)\"\n color=\"primary\">\n {{ node.name }}\n </mat-checkbox>\n </ng-container>\n <!-- Clickable Label for Selectable Nodes when checkboxes are not allowed -->\n <ng-container *ngIf=\"node.canSelect && !allowCheckItems\">\n <mat-label class=\"mdc-label\"\n style=\"cursor: pointer\"\n (click)=\"leafItemSelectionToggle(node)\">\n {{ node.name }}\n </mat-label>\n </ng-container>\n <!-- Non-clickable Label for Non-selectable Nodes -->\n <ng-container *ngIf=\"!node.canSelect\">\n <mat-label class=\"mdc-label\">\n {{ node.name }}\n </mat-label>\n </ng-container>\n </ng-container>\n </mat-tree-node>\n\n <!-- Nodes with Children -->\n <mat-tree-node *matTreeNodeDef=\"let node; when: hasChild\"\n matTreeNodePadding>\n <!-- Expand/Collapse Button -->\n <button mat-icon-button\n matTreeNodeToggle\n [attr.aria-label]=\"'Toggle ' + node.name\"\n *ngIf=\"!node.hideArrow\">\n <mat-icon class=\"mat-icon-rtl-mirror\">\n {{ treeControl.isExpanded(node) ? 'expand_more' : 'chevron_right' }}\n </mat-icon>\n </button>\n <!-- Node Content -->\n <ng-container>\n <!-- Checkbox for Selectable Nodes when checkboxes are allowed -->\n <ng-container *ngIf=\"node.canSelect && allowCheckItems\">\n <mat-checkbox [checked]=\"checklistSelection.isSelected(node)\"\n (change)=\"selectionToggle(node)\"\n color=\"primary\">\n {{ node.name }}\n </mat-checkbox>\n </ng-container>\n <!-- Clickable Label for Selectable Nodes when checkboxes are not allowed -->\n <ng-container *ngIf=\"node.canSelect && !allowCheckItems\">\n <mat-label class=\"mdc-label\"\n style=\"cursor: pointer\"\n (click)=\"leafItemSelectionToggle(node)\">\n {{ node.name }}\n </mat-label>\n </ng-container>\n <!-- Non-clickable Label for Non-selectable Nodes -->\n <ng-container *ngIf=\"!node.canSelect\">\n <mat-label class=\"mdc-label\">\n {{ node.name }}\n </mat-label>\n </ng-container>\n </ng-container>\n <!-- Add New Item Button -->\n <button mat-icon-button (click)=\"addNewItem(node)\" *ngIf=\"allowAddItems\">\n <mat-icon>add</mat-icon>\n </button>\n </mat-tree-node>\n</mat-tree>\n<!--</cdk-virtual-scroll-viewport>-->\n", styles: [".dictionary-viewport{height:400px;width:100%}\n"] }]
|
|
213
213
|
}], ctorParameters: () => [{ type: i1.ChecklistDatabase }, { type: i2.TranslatePipe }], propDecorators: { allowAddItems: [{
|
|
@@ -13,10 +13,10 @@ export class ThemeInjectorService {
|
|
|
13
13
|
styleElement.innerHTML = themeCss;
|
|
14
14
|
this.document.head.appendChild(styleElement);
|
|
15
15
|
}
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.
|
|
17
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ThemeInjectorService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ThemeInjectorService, providedIn: 'root' }); }
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ThemeInjectorService, decorators: [{
|
|
20
20
|
type: Injectable,
|
|
21
21
|
args: [{ providedIn: 'root' }]
|
|
22
22
|
}], ctorParameters: () => [{ type: Document, decorators: [{
|