@jm-7c3/common-lib 20.2.0 → 21.0.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.
|
@@ -24,13 +24,13 @@ import { cloneDeep } from 'lodash-es';
|
|
|
24
24
|
import { v4 } from 'uuid';
|
|
25
25
|
|
|
26
26
|
class ButtonComponent {
|
|
27
|
-
color = input('primary', ...(ngDevMode ? [{ debugName: "color" }] : []));
|
|
28
|
-
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
29
|
-
icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
|
|
30
|
-
label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
|
|
31
|
-
loading = input(false, ...(ngDevMode ? [{ debugName: "loading" }] : []));
|
|
32
|
-
type = input('button', ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
33
|
-
buttonClass = signal('', ...(ngDevMode ? [{ debugName: "buttonClass" }] : []));
|
|
27
|
+
color = input('primary', ...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
28
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
29
|
+
icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
30
|
+
label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
|
|
31
|
+
loading = input(false, ...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
|
|
32
|
+
type = input('button', ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
|
|
33
|
+
buttonClass = signal('', ...(ngDevMode ? [{ debugName: "buttonClass" }] : /* istanbul ignore next */ []));
|
|
34
34
|
constructor() {
|
|
35
35
|
effect(() => {
|
|
36
36
|
switch (this.color()) {
|
|
@@ -52,10 +52,10 @@ class ButtonComponent {
|
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
56
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
56
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.17", type: ButtonComponent, isStandalone: true, selector: "cl-button", inputs: { color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<button [class]=\"buttonClass()\" [disabled]=\"disabled()\" [icon]=\"icon()!\" [label]=\"label()!\" [loading]=\"loading()\" pButton\n [type]=\"type()\">\n</button>\n", styles: [".p-button-text.p-button-info{text-decoration:underline}.p-button-text.p-button-info:not(:disabled):hover{background:none!important}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "pButtonPT", "pButtonUnstyled", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
57
57
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
59
59
|
type: Component,
|
|
60
60
|
args: [{ selector: 'cl-button', imports: [
|
|
61
61
|
ButtonModule
|
|
@@ -75,10 +75,10 @@ class ClStateService {
|
|
|
75
75
|
updateStateMessage(stateMessage) {
|
|
76
76
|
patchState(this.state, { stateMessage });
|
|
77
77
|
}
|
|
78
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
79
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
78
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ClStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
79
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ClStateService, providedIn: 'root' });
|
|
80
80
|
}
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ClStateService, decorators: [{
|
|
82
82
|
type: Injectable,
|
|
83
83
|
args: [{
|
|
84
84
|
providedIn: 'root'
|
|
@@ -89,8 +89,8 @@ class ConfirmationComponent {
|
|
|
89
89
|
env;
|
|
90
90
|
clStateService = inject(ClStateService);
|
|
91
91
|
confirmationService = inject(ConfirmationService$1);
|
|
92
|
-
acceptLabel = signal('Accept', ...(ngDevMode ? [{ debugName: "acceptLabel" }] : []));
|
|
93
|
-
cancelLabel = signal('Cancel', ...(ngDevMode ? [{ debugName: "cancelLabel" }] : []));
|
|
92
|
+
acceptLabel = signal('Accept', ...(ngDevMode ? [{ debugName: "acceptLabel" }] : /* istanbul ignore next */ []));
|
|
93
|
+
cancelLabel = signal('Cancel', ...(ngDevMode ? [{ debugName: "cancelLabel" }] : /* istanbul ignore next */ []));
|
|
94
94
|
constructor(env) {
|
|
95
95
|
this.env = env;
|
|
96
96
|
const confirmationConfig = this.env?.commonLib?.confirmation;
|
|
@@ -133,10 +133,10 @@ class ConfirmationComponent {
|
|
|
133
133
|
},
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
137
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
136
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ConfirmationComponent, deps: [{ token: 'env' }], target: i0.ɵɵFactoryTarget.Component });
|
|
137
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: ConfirmationComponent, isStandalone: true, selector: "cl-confirmation", ngImport: i0, template: "<p-confirmDialog #general key=\"general\">\n <ng-template pTemplate=\"footer\">\n <cl-button class=\"mr-2\" (click)=\"general.onAccept()\" color=\"primary\" icon=\"pi pi-check\" [label]=\"acceptLabel()\" />\n <cl-button (click)=\"general.onReject()\" color=\"secondary\" icon=\"pi pi-times\" [label]=\"cancelLabel()\" />\n </ng-template>\n</p-confirmDialog>\n\n<p-confirmDialog icon=\"pi pi-exclamation-triangle\" key=\"general-warning\" #warning>\n <ng-template pTemplate=\"footer\">\n <cl-button class=\"mr-2\" (click)=\"warning.onAccept()\" color=\"primary\" icon=\"pi pi-check\" [label]=\"acceptLabel()\" />\n <cl-button (click)=\"warning.onReject()\" color=\"secondary\" icon=\"pi pi-times\" [label]=\"cancelLabel()\" />\n </ng-template>\n</p-confirmDialog>\n", styles: [""], dependencies: [{ kind: "component", type: ButtonComponent, selector: "cl-button", inputs: ["color", "disabled", "icon", "label", "loading", "type"] }, { kind: "ngmodule", type: ConfirmDialogModule }, { kind: "component", type: i1$1.ConfirmDialog, selector: "p-confirmDialog, p-confirmdialog, p-confirm-dialog", inputs: ["header", "icon", "message", "style", "styleClass", "maskStyleClass", "acceptIcon", "acceptLabel", "closeAriaLabel", "acceptAriaLabel", "acceptVisible", "rejectIcon", "rejectLabel", "rejectAriaLabel", "rejectVisible", "acceptButtonStyleClass", "rejectButtonStyleClass", "closeOnEscape", "dismissableMask", "blockScroll", "rtl", "closable", "appendTo", "key", "autoZIndex", "baseZIndex", "transitionOptions", "focusTrap", "defaultFocus", "breakpoints", "modal", "visible", "position", "draggable"], outputs: ["onHide"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
138
138
|
}
|
|
139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ConfirmationComponent, decorators: [{
|
|
140
140
|
type: Component,
|
|
141
141
|
args: [{ selector: 'cl-confirmation', imports: [
|
|
142
142
|
ButtonComponent,
|
|
@@ -173,10 +173,10 @@ class ConfirmationService {
|
|
|
173
173
|
onCancel(key) {
|
|
174
174
|
return this.clStateService.onStateMessage('confirmation-cancel').pipe(filter(message => message?.key === key), map(() => null));
|
|
175
175
|
}
|
|
176
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
177
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
176
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ConfirmationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
177
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ConfirmationService, providedIn: 'root' });
|
|
178
178
|
}
|
|
179
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ConfirmationService, decorators: [{
|
|
180
180
|
type: Injectable,
|
|
181
181
|
args: [{
|
|
182
182
|
providedIn: 'root'
|
|
@@ -187,9 +187,9 @@ class ContentDialogComponent {
|
|
|
187
187
|
env;
|
|
188
188
|
dialogConfig = inject(DynamicDialogConfig);
|
|
189
189
|
dialogRef = inject(DynamicDialogRef);
|
|
190
|
-
component = signal(null, ...(ngDevMode ? [{ debugName: "component" }] : []));
|
|
191
|
-
closeLabel = signal('Close', ...(ngDevMode ? [{ debugName: "closeLabel" }] : []));
|
|
192
|
-
header = signal('', ...(ngDevMode ? [{ debugName: "header" }] : []));
|
|
190
|
+
component = signal(null, ...(ngDevMode ? [{ debugName: "component" }] : /* istanbul ignore next */ []));
|
|
191
|
+
closeLabel = signal('Close', ...(ngDevMode ? [{ debugName: "closeLabel" }] : /* istanbul ignore next */ []));
|
|
192
|
+
header = signal('', ...(ngDevMode ? [{ debugName: "header" }] : /* istanbul ignore next */ []));
|
|
193
193
|
constructor(env) {
|
|
194
194
|
this.env = env;
|
|
195
195
|
const contentDialogConfig = this.env?.commonLib?.contentDialog;
|
|
@@ -217,10 +217,10 @@ class ContentDialogComponent {
|
|
|
217
217
|
onClose() {
|
|
218
218
|
this.dialogRef.close();
|
|
219
219
|
}
|
|
220
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
221
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
220
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ContentDialogComponent, deps: [{ token: 'env' }], target: i0.ɵɵFactoryTarget.Component });
|
|
221
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: ContentDialogComponent, isStandalone: true, selector: "cl-content-dialog", ngImport: i0, template: "@if (component()) {\n <ng-container *ngComponentOutlet=\"component()\" />\n}\n\n<div class=\"text-right\">\n <cl-button (click)=\"onClose()\" color=\"secondary\" [label]=\"closeLabel()\" />\n</div>\n", styles: [""], dependencies: [{ kind: "component", type: ButtonComponent, selector: "cl-button", inputs: ["color", "disabled", "icon", "label", "loading", "type"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$2.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
222
222
|
}
|
|
223
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
223
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ContentDialogComponent, decorators: [{
|
|
224
224
|
type: Component,
|
|
225
225
|
args: [{ selector: 'cl-content-dialog', imports: [
|
|
226
226
|
ButtonComponent,
|
|
@@ -254,10 +254,10 @@ class ContentDialogService {
|
|
|
254
254
|
});
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
258
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
257
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ContentDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
258
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ContentDialogService, providedIn: 'root' });
|
|
259
259
|
}
|
|
260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ContentDialogService, decorators: [{
|
|
261
261
|
type: Injectable,
|
|
262
262
|
args: [{
|
|
263
263
|
providedIn: 'root'
|
|
@@ -269,12 +269,12 @@ class FormDialogComponent {
|
|
|
269
269
|
cdRef = inject(ChangeDetectorRef);
|
|
270
270
|
dialogConfig = inject(DynamicDialogConfig);
|
|
271
271
|
dialogRef = inject(DynamicDialogRef);
|
|
272
|
-
formContainer = viewChild('formContainer', ...(ngDevMode ?
|
|
273
|
-
cancelLabel = signal('Cancel', ...(ngDevMode ? [{ debugName: "cancelLabel" }] : []));
|
|
274
|
-
form = signal(null, ...(ngDevMode ? [{ debugName: "form" }] : []));
|
|
275
|
-
header = signal('', ...(ngDevMode ? [{ debugName: "header" }] : []));
|
|
276
|
-
hideSubmitButton = signal(false, ...(ngDevMode ? [{ debugName: "hideSubmitButton" }] : []));
|
|
277
|
-
submitLabel = signal('Submit', ...(ngDevMode ? [{ debugName: "submitLabel" }] : []));
|
|
272
|
+
formContainer = viewChild('formContainer', { ...(ngDevMode ? { debugName: "formContainer" } : /* istanbul ignore next */ {}), read: ViewContainerRef });
|
|
273
|
+
cancelLabel = signal('Cancel', ...(ngDevMode ? [{ debugName: "cancelLabel" }] : /* istanbul ignore next */ []));
|
|
274
|
+
form = signal(null, ...(ngDevMode ? [{ debugName: "form" }] : /* istanbul ignore next */ []));
|
|
275
|
+
header = signal('', ...(ngDevMode ? [{ debugName: "header" }] : /* istanbul ignore next */ []));
|
|
276
|
+
hideSubmitButton = signal(false, ...(ngDevMode ? [{ debugName: "hideSubmitButton" }] : /* istanbul ignore next */ []));
|
|
277
|
+
submitLabel = signal('Submit', ...(ngDevMode ? [{ debugName: "submitLabel" }] : /* istanbul ignore next */ []));
|
|
278
278
|
constructor(env) {
|
|
279
279
|
this.env = env;
|
|
280
280
|
const formDialogConfig = this.env?.commonLib?.formDialog;
|
|
@@ -321,10 +321,10 @@ class FormDialogComponent {
|
|
|
321
321
|
this.dialogRef.close(this.form().value);
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
325
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
324
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: FormDialogComponent, deps: [{ token: 'env' }], target: i0.ɵɵFactoryTarget.Component });
|
|
325
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: FormDialogComponent, isStandalone: true, selector: "cl-form-dialog", viewQueries: [{ propertyName: "formContainer", first: true, predicate: ["formContainer"], descendants: true, read: ViewContainerRef, isSignal: true }], ngImport: i0, template: "<h2>{{ header() }}</h2>\n\n<div class=\"mb-2\">\n <ng-container #formContainer />\n</div>\n\n@if (form()) {\n <div class=\"text-right\">\n @if (!hideSubmitButton()) {\n <cl-button class=\"mr-2\" (click)=\"onSubmit()\" color=\"main\" [disabled]=\"form()!.invalid || form()!.pristine\"\n [label]=\"submitLabel()\" />\n }\n\n <cl-button (click)=\"onCancel()\" color=\"secondary\" [label]=\"cancelLabel()\" />\n </div>\n}\n", styles: [""], dependencies: [{ kind: "component", type: ButtonComponent, selector: "cl-button", inputs: ["color", "disabled", "icon", "label", "loading", "type"] }, { kind: "ngmodule", type: DynamicDialogModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
326
326
|
}
|
|
327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: FormDialogComponent, decorators: [{
|
|
328
328
|
type: Component,
|
|
329
329
|
args: [{ selector: 'cl-form-dialog', imports: [
|
|
330
330
|
ButtonComponent,
|
|
@@ -373,10 +373,10 @@ class FormDialogService {
|
|
|
373
373
|
}
|
|
374
374
|
});
|
|
375
375
|
}
|
|
376
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
377
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
376
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: FormDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
377
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: FormDialogService, providedIn: 'root' });
|
|
378
378
|
}
|
|
379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: FormDialogService, decorators: [{
|
|
380
380
|
type: Injectable,
|
|
381
381
|
args: [{
|
|
382
382
|
providedIn: 'root'
|
|
@@ -384,12 +384,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
384
384
|
}] });
|
|
385
385
|
|
|
386
386
|
class IconButtonComponent {
|
|
387
|
-
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
388
|
-
icon = input.required(...(ngDevMode ? [{ debugName: "icon" }] : []));
|
|
389
|
-
loading = input(false, ...(ngDevMode ? [{ debugName: "loading" }] : []));
|
|
390
|
-
severity = input('', ...(ngDevMode ? [{ debugName: "severity" }] : []));
|
|
391
|
-
type = input('button', ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
392
|
-
class = signal('p-button-icon-only p-button-text', ...(ngDevMode ? [{ debugName: "class" }] : []));
|
|
387
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
388
|
+
icon = input.required(...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
389
|
+
loading = input(false, ...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
|
|
390
|
+
severity = input('', ...(ngDevMode ? [{ debugName: "severity" }] : /* istanbul ignore next */ []));
|
|
391
|
+
type = input('button', ...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
|
|
392
|
+
class = signal('p-button-icon-only p-button-text', ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
|
|
393
393
|
constructor() {
|
|
394
394
|
effect(() => {
|
|
395
395
|
this.updateClass(this.severity());
|
|
@@ -398,10 +398,10 @@ class IconButtonComponent {
|
|
|
398
398
|
updateClass(severity) {
|
|
399
399
|
this.class.update(value => value + ' p-button-' + severity);
|
|
400
400
|
}
|
|
401
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
402
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
401
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: IconButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
402
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.17", type: IconButtonComponent, isStandalone: true, selector: "cl-icon-button", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: true, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, severity: { classPropertyName: "severity", publicName: "severity", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<button [class]=\"class()\" [disabled]=\"disabled()\" [icon]=\"icon()\" [loading]=\"loading()\" pButton [type]=\"type()\">\n</button>\n", styles: ["button{border-radius:25px}\n"], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "pButtonPT", "pButtonUnstyled", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
403
403
|
}
|
|
404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: IconButtonComponent, decorators: [{
|
|
405
405
|
type: Component,
|
|
406
406
|
args: [{ selector: 'cl-icon-button', imports: [
|
|
407
407
|
ButtonModule,
|
|
@@ -426,10 +426,10 @@ class ProgressBarDialogComponent {
|
|
|
426
426
|
}
|
|
427
427
|
});
|
|
428
428
|
}
|
|
429
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
430
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
429
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ProgressBarDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
430
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: ProgressBarDialogComponent, isStandalone: true, selector: "cl-progress-bar-dialog", ngImport: i0, template: "<p-dialog [closable]=\"false\" [closeOnEscape]=\"false\" [draggable]=\"false\" [modal]=\"true\" [resizable]=\"false\"\n [showHeader]=\"true\" styleClass=\"w-4\" [(visible)]=\"visible\">\n <p-progressBar mode=\"indeterminate\" />\n</p-dialog>\n", styles: [":host ::ng-deep p-dialog .p-dialog-header{padding:1rem}\n"], dependencies: [{ kind: "ngmodule", type: DialogModule }, { kind: "component", type: i1$3.Dialog, selector: "p-dialog", inputs: ["hostName", "header", "draggable", "resizable", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "maskMotionOptions", "motionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "appendTo", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "ngmodule", type: ProgressBarModule }, { kind: "component", type: i2$1.ProgressBar, selector: "p-progressBar, p-progressbar, p-progress-bar", inputs: ["value", "showValue", "styleClass", "valueStyleClass", "unit", "mode", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
431
431
|
}
|
|
432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ProgressBarDialogComponent, decorators: [{
|
|
433
433
|
type: Component,
|
|
434
434
|
args: [{ selector: 'cl-progress-bar-dialog', imports: [
|
|
435
435
|
DialogModule,
|
|
@@ -449,10 +449,10 @@ class ProgressBarDialogService {
|
|
|
449
449
|
type: 'progess-bar-dialog-open'
|
|
450
450
|
});
|
|
451
451
|
}
|
|
452
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
453
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
452
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ProgressBarDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
453
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ProgressBarDialogService, providedIn: 'root' });
|
|
454
454
|
}
|
|
455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ProgressBarDialogService, decorators: [{
|
|
456
456
|
type: Injectable,
|
|
457
457
|
args: [{
|
|
458
458
|
providedIn: 'root'
|
|
@@ -460,12 +460,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
460
460
|
}] });
|
|
461
461
|
|
|
462
462
|
class ReadonlyValueComponent {
|
|
463
|
-
label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
|
|
464
|
-
value = input(...(ngDevMode ? [undefined, { debugName: "value" }] : []));
|
|
465
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
466
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
463
|
+
label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
|
|
464
|
+
value = input(...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
|
|
465
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ReadonlyValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
466
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.17", type: ReadonlyValueComponent, isStandalone: true, selector: "cl-readonly-value", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div>\n <strong>{{ label() }}</strong>\n <div>{{ value() }}</div>\n</div>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
467
467
|
}
|
|
468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ReadonlyValueComponent, decorators: [{
|
|
469
469
|
type: Component,
|
|
470
470
|
args: [{ selector: 'cl-readonly-value', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>\n <strong>{{ label() }}</strong>\n <div>{{ value() }}</div>\n</div>\n" }]
|
|
471
471
|
}], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }] } });
|
|
@@ -491,10 +491,10 @@ class ToastsComponent {
|
|
|
491
491
|
this.messageService.add(message);
|
|
492
492
|
});
|
|
493
493
|
}
|
|
494
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
495
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
494
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ToastsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
495
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: ToastsComponent, isStandalone: true, selector: "cl-toasts", ngImport: i0, template: "<p-toast key=\"general\" position=\"bottom-center\" />\n", styles: [""], dependencies: [{ kind: "ngmodule", type: ToastModule }, { kind: "component", type: i1$4.Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "life", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "motionOptions", "breakpoints"], outputs: ["onClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
496
496
|
}
|
|
497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ToastsComponent, decorators: [{
|
|
498
498
|
type: Component,
|
|
499
499
|
args: [{ selector: 'cl-toasts', imports: [
|
|
500
500
|
ToastModule,
|
|
@@ -533,10 +533,10 @@ class ToastsService {
|
|
|
533
533
|
type: 'toast'
|
|
534
534
|
});
|
|
535
535
|
}
|
|
536
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
537
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
536
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ToastsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
537
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ToastsService, providedIn: 'root' });
|
|
538
538
|
}
|
|
539
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ToastsService, decorators: [{
|
|
540
540
|
type: Injectable,
|
|
541
541
|
args: [{
|
|
542
542
|
providedIn: 'root'
|
|
@@ -545,7 +545,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
545
545
|
|
|
546
546
|
class BaseFormComponent {
|
|
547
547
|
control = this.getForm();
|
|
548
|
-
disabled = signal(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
548
|
+
disabled = signal(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
549
549
|
subscription = new Subscription();
|
|
550
550
|
ngOnDestroy() {
|
|
551
551
|
this.subscription.unsubscribe();
|
|
@@ -602,25 +602,25 @@ class BaseFormComponent {
|
|
|
602
602
|
get formGroup() {
|
|
603
603
|
return this.control;
|
|
604
604
|
}
|
|
605
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
606
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
605
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: BaseFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
606
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: BaseFormComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: '', isInline: true, styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
607
607
|
}
|
|
608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: BaseFormComponent, decorators: [{
|
|
609
609
|
type: Component,
|
|
610
610
|
args: [{ imports: [], template: '', changeDetection: ChangeDetectionStrategy.OnPush }]
|
|
611
611
|
}] });
|
|
612
612
|
|
|
613
613
|
class FileInputComponent {
|
|
614
|
-
directory = input('', ...(ngDevMode ? [{ debugName: "directory" }] : []));
|
|
615
|
-
icon = input('pi pi-plus', ...(ngDevMode ? [{ debugName: "icon" }] : []));
|
|
616
|
-
label = input('Browse', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
617
|
-
readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
|
|
614
|
+
directory = input('', ...(ngDevMode ? [{ debugName: "directory" }] : /* istanbul ignore next */ []));
|
|
615
|
+
icon = input('pi pi-plus', ...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
616
|
+
label = input('Browse', ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
617
|
+
readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
|
|
618
618
|
onDownloadEmitter = output({ alias: 'onDownload' });
|
|
619
|
-
fileInput = viewChild('fileInput', ...(ngDevMode ? [{ debugName: "fileInput" }] : []));
|
|
620
|
-
fileName = signal('', ...(ngDevMode ? [{ debugName: "fileName" }] : []));
|
|
621
|
-
isDisabled = signal(false, ...(ngDevMode ? [{ debugName: "isDisabled" }] : []));
|
|
622
|
-
isFileSelected = signal(false, ...(ngDevMode ? [{ debugName: "isFileSelected" }] : []));
|
|
623
|
-
value = signal(null, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
619
|
+
fileInput = viewChild('fileInput', ...(ngDevMode ? [{ debugName: "fileInput" }] : /* istanbul ignore next */ []));
|
|
620
|
+
fileName = signal('', ...(ngDevMode ? [{ debugName: "fileName" }] : /* istanbul ignore next */ []));
|
|
621
|
+
isDisabled = signal(false, ...(ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []));
|
|
622
|
+
isFileSelected = signal(false, ...(ngDevMode ? [{ debugName: "isFileSelected" }] : /* istanbul ignore next */ []));
|
|
623
|
+
value = signal(null, ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
624
624
|
// ControlValueAccessor interface methods
|
|
625
625
|
registerOnChange(fn) {
|
|
626
626
|
this.onChange = fn;
|
|
@@ -729,16 +729,16 @@ class FileInputComponent {
|
|
|
729
729
|
this.onChange(value);
|
|
730
730
|
this.onTouched();
|
|
731
731
|
}
|
|
732
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
733
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
732
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: FileInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
733
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: FileInputComponent, isStandalone: true, selector: "cl-file-input", inputs: { directory: { classPropertyName: "directory", publicName: "directory", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onDownloadEmitter: "onDownload" }, providers: [
|
|
734
734
|
{
|
|
735
735
|
multi: true,
|
|
736
736
|
provide: NG_VALUE_ACCESSOR,
|
|
737
737
|
useExisting: FileInputComponent,
|
|
738
738
|
}
|
|
739
|
-
], viewQueries: [{ propertyName: "fileInput", first: true, predicate: ["fileInput"], descendants: true, isSignal: true }], ngImport: i0, template: "<input type=\"hidden\" [value]=\"value()\" />\n<input (change)=\"onFileSelected($event)\" class=\"file-input\" #fileInput type=\"file\" />\n\n@if (isFileSelected()) {\n @if (readonly()) {\n <button class=\"link-button\" (click)=\"onDownload()\" type=\"button\">\n {{ fileName() }}\n </button>\n } @else {\n <div class=\"flex\">\n <cl-button class=\"mr-3\" [label]=\"fileName()\" />\n <button class=\"p-button-danger p-button-rounded p-button-text\" (click)=\"onDelete()\" [disabled]=\"isDisabled()\"\n icon=\"pi pi-trash\" pButton type=\"button\">\n </button>\n </div>\n }\n} @else {\n <cl-button (click)=\"onClick()\" [disabled]=\"isDisabled()\" [icon]=\"icon()\" [label]=\"label()\" />\n}\n\n", styles: [".file-input{display:none}.link-button{background:none!important;border:none;padding:0!important;color:#069;text-decoration:underline;cursor:pointer}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "cl-button", inputs: ["color", "disabled", "icon", "label", "loading", "type"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
739
|
+
], viewQueries: [{ propertyName: "fileInput", first: true, predicate: ["fileInput"], descendants: true, isSignal: true }], ngImport: i0, template: "<input type=\"hidden\" [value]=\"value()\" />\n<input (change)=\"onFileSelected($event)\" class=\"file-input\" #fileInput type=\"file\" />\n\n@if (isFileSelected()) {\n @if (readonly()) {\n <button class=\"link-button\" (click)=\"onDownload()\" type=\"button\">\n {{ fileName() }}\n </button>\n } @else {\n <div class=\"flex\">\n <cl-button class=\"mr-3\" [label]=\"fileName()\" />\n <button class=\"p-button-danger p-button-rounded p-button-text\" (click)=\"onDelete()\" [disabled]=\"isDisabled()\"\n icon=\"pi pi-trash\" pButton type=\"button\">\n </button>\n </div>\n }\n} @else {\n <cl-button (click)=\"onClick()\" [disabled]=\"isDisabled()\" [icon]=\"icon()\" [label]=\"label()\" />\n}\n\n", styles: [".file-input{display:none}.link-button{background:none!important;border:none;padding:0!important;color:#069;text-decoration:underline;cursor:pointer}\n"], dependencies: [{ kind: "component", type: ButtonComponent, selector: "cl-button", inputs: ["color", "disabled", "icon", "label", "loading", "type"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "pButtonPT", "pButtonUnstyled", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
740
740
|
}
|
|
741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
741
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: FileInputComponent, decorators: [{
|
|
742
742
|
type: Component,
|
|
743
743
|
args: [{ selector: 'cl-file-input', imports: [
|
|
744
744
|
ButtonComponent,
|
|
@@ -755,11 +755,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
755
755
|
|
|
756
756
|
class FileInputsComponent extends BaseFormComponent {
|
|
757
757
|
cdRef = inject(ChangeDetectorRef);
|
|
758
|
-
directory = input('', ...(ngDevMode ? [{ debugName: "directory" }] : []));
|
|
759
|
-
icon = input('pi pi-plus', ...(ngDevMode ? [{ debugName: "icon" }] : []));
|
|
760
|
-
label = input('Browse', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
761
|
-
max = input(5, ...(ngDevMode ? [{ debugName: "max" }] : []));
|
|
762
|
-
readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
|
|
758
|
+
directory = input('', ...(ngDevMode ? [{ debugName: "directory" }] : /* istanbul ignore next */ []));
|
|
759
|
+
icon = input('pi pi-plus', ...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
760
|
+
label = input('Browse', ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
761
|
+
max = input(5, ...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
|
|
762
|
+
readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
|
|
763
763
|
onDownloadEmitter = output({ alias: 'onDownload' });
|
|
764
764
|
onAdd() {
|
|
765
765
|
this.formArray.push(new FormControl());
|
|
@@ -815,8 +815,8 @@ class FileInputsComponent extends BaseFormComponent {
|
|
|
815
815
|
getForm() {
|
|
816
816
|
return new FormArray([]);
|
|
817
817
|
}
|
|
818
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
819
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
818
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: FileInputsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
819
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: FileInputsComponent, isStandalone: true, selector: "cl-file-inputs", inputs: { directory: { classPropertyName: "directory", publicName: "directory", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onDownloadEmitter: "onDownload" }, providers: [
|
|
820
820
|
{
|
|
821
821
|
multi: true,
|
|
822
822
|
provide: NG_VALIDATORS,
|
|
@@ -827,9 +827,9 @@ class FileInputsComponent extends BaseFormComponent {
|
|
|
827
827
|
provide: NG_VALUE_ACCESSOR,
|
|
828
828
|
useExisting: FileInputsComponent
|
|
829
829
|
}
|
|
830
|
-
], usesInheritance: true, ngImport: i0, template: "<ng-container [formGroup]=\"formGroup\">\n @for (item of formArray.value; track index; let index = $index) {\n <div class=\"flex mb-3\">\n <cl-file-input [formControlName]=\"index\" [directory]=\"directory()\" [icon]=\"icon()\" [label]=\"label()\"\n (onDownload)=\"onDownload($event)\" [readonly]=\"readonly()\" />\n @if (!readonly()) {\n @if (index === 0) {\n <button class=\"p-button-rounded p-button-text\" (click)=\"onAdd()\" [disabled]=\"formArray.length >= max()\"\n icon=\"pi pi-plus\" pButton type=\"button\">\n </button>\n } @else if (index > 0) {\n <button class=\"p-button-rounded p-button-text\" (click)=\"onDelete(index)\" icon=\"pi pi-minus\" pButton\n type=\"button\">\n </button>\n }\n }\n </div>\n }\n</ng-container>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "component", type: FileInputComponent, selector: "cl-file-input", inputs: ["directory", "icon", "label", "readonly"], outputs: ["onDownload"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
830
|
+
], usesInheritance: true, ngImport: i0, template: "<ng-container [formGroup]=\"formGroup\">\n @for (item of formArray.value; track index; let index = $index) {\n <div class=\"flex mb-3\">\n <cl-file-input [formControlName]=\"index\" [directory]=\"directory()\" [icon]=\"icon()\" [label]=\"label()\"\n (onDownload)=\"onDownload($event)\" [readonly]=\"readonly()\" />\n @if (!readonly()) {\n @if (index === 0) {\n <button class=\"p-button-rounded p-button-text\" (click)=\"onAdd()\" [disabled]=\"formArray.length >= max()\"\n icon=\"pi pi-plus\" pButton type=\"button\">\n </button>\n } @else if (index > 0) {\n <button class=\"p-button-rounded p-button-text\" (click)=\"onDelete(index)\" icon=\"pi pi-minus\" pButton\n type=\"button\">\n </button>\n }\n }\n </div>\n }\n</ng-container>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["ptButtonDirective", "pButtonPT", "pButtonUnstyled", "hostName", "text", "plain", "raised", "size", "outlined", "rounded", "iconPos", "loadingIcon", "fluid", "label", "icon", "loading", "buttonProps", "severity"] }, { kind: "component", type: FileInputComponent, selector: "cl-file-input", inputs: ["directory", "icon", "label", "readonly"], outputs: ["onDownload"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
831
831
|
}
|
|
832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: FileInputsComponent, decorators: [{
|
|
833
833
|
type: Component,
|
|
834
834
|
args: [{ selector: 'cl-file-inputs', imports: [
|
|
835
835
|
ButtonModule,
|
|
@@ -852,12 +852,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
852
852
|
|
|
853
853
|
const ERROR_DIRECTIVE = new InjectionToken('ErrorDirective');
|
|
854
854
|
class ErrorDirective {
|
|
855
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
856
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
855
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ErrorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
856
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.17", type: ErrorDirective, isStandalone: true, selector: "ff-error", providers: [
|
|
857
857
|
{ provide: ERROR_DIRECTIVE, useExisting: ErrorDirective }
|
|
858
858
|
], ngImport: i0 });
|
|
859
859
|
}
|
|
860
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
860
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ErrorDirective, decorators: [{
|
|
861
861
|
type: Directive,
|
|
862
862
|
args: [{
|
|
863
863
|
selector: 'ff-error',
|
|
@@ -870,14 +870,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
870
870
|
|
|
871
871
|
const FORM_FIELD = new InjectionToken('FormFieldComponent');
|
|
872
872
|
class FormFieldComponent {
|
|
873
|
-
control = contentChild(FormControlName, ...(ngDevMode ? [{ debugName: "control" }] : []));
|
|
874
|
-
isRequired = computed(() => this.control()?.control.hasValidator(Validators.required) ?? false, ...(ngDevMode ? [{ debugName: "isRequired" }] : []));
|
|
875
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
876
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
873
|
+
control = contentChild(FormControlName, ...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
|
|
874
|
+
isRequired = computed(() => this.control()?.control.hasValidator(Validators.required) ?? false, ...(ngDevMode ? [{ debugName: "isRequired" }] : /* istanbul ignore next */ []));
|
|
875
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: FormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
876
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: FormFieldComponent, isStandalone: true, selector: "cl-form-field", providers: [
|
|
877
877
|
{ provide: FORM_FIELD, useExisting: FormFieldComponent }
|
|
878
878
|
], queries: [{ propertyName: "control", first: true, predicate: FormControlName, descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"field\">\n <label class=\"block\" [class.required]=\"isRequired()\">\n <ng-content select=\"ff-label\" />\n </label>\n <div>\n <ng-content />\n </div>\n @if ((control()?.dirty || control()?.touched) && control()?.errors) {\n <small class=\"p-block p-error\">\n <ng-content select=\"ff-error\" />\n </small>\n }\n</div>\n", styles: [""], encapsulation: i0.ViewEncapsulation.None });
|
|
879
879
|
}
|
|
880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
880
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: FormFieldComponent, decorators: [{
|
|
881
881
|
type: Component,
|
|
882
882
|
args: [{ selector: 'cl-form-field', imports: [], encapsulation: ViewEncapsulation.None, providers: [
|
|
883
883
|
{ provide: FORM_FIELD, useExisting: FormFieldComponent }
|
|
@@ -886,12 +886,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
886
886
|
|
|
887
887
|
const LABEL_DIRECTIVE = new InjectionToken('LabelDirective');
|
|
888
888
|
class LabelDirective {
|
|
889
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
890
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
889
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: LabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
890
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.17", type: LabelDirective, isStandalone: true, selector: "ff-label", providers: [
|
|
891
891
|
{ provide: LABEL_DIRECTIVE, useExisting: LabelDirective }
|
|
892
892
|
], ngImport: i0 });
|
|
893
893
|
}
|
|
894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: LabelDirective, decorators: [{
|
|
895
895
|
type: Directive,
|
|
896
896
|
args: [{
|
|
897
897
|
selector: 'ff-label',
|
|
@@ -903,15 +903,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
903
903
|
}] });
|
|
904
904
|
|
|
905
905
|
class FormFieldModule {
|
|
906
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
907
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
906
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: FormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
907
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.17", ngImport: i0, type: FormFieldModule, imports: [ErrorDirective,
|
|
908
908
|
FormFieldComponent,
|
|
909
909
|
LabelDirective], exports: [ErrorDirective,
|
|
910
910
|
FormFieldComponent,
|
|
911
911
|
LabelDirective] });
|
|
912
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
912
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: FormFieldModule });
|
|
913
913
|
}
|
|
914
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
914
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: FormFieldModule, decorators: [{
|
|
915
915
|
type: NgModule,
|
|
916
916
|
args: [{
|
|
917
917
|
exports: [
|
|
@@ -930,16 +930,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
930
930
|
;
|
|
931
931
|
|
|
932
932
|
class CommonLibModule {
|
|
933
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
934
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
935
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
933
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CommonLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
934
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.17", ngImport: i0, type: CommonLibModule });
|
|
935
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CommonLibModule, providers: [
|
|
936
936
|
ConfirmationService$1,
|
|
937
937
|
DialogService,
|
|
938
938
|
DynamicDialogConfig,
|
|
939
939
|
MessageService,
|
|
940
940
|
] });
|
|
941
941
|
}
|
|
942
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
942
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CommonLibModule, decorators: [{
|
|
943
943
|
type: NgModule,
|
|
944
944
|
args: [{
|
|
945
945
|
providers: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jm-7c3-common-lib.mjs","sources":["../../../projects/common-lib/src/lib/controls/button/button.component.ts","../../../projects/common-lib/src/lib/controls/button/button.component.html","../../../projects/common-lib/src/lib/services/cl-state.service.ts","../../../projects/common-lib/src/lib/controls/confirmation/confirmation.component.ts","../../../projects/common-lib/src/lib/controls/confirmation/confirmation.component.html","../../../projects/common-lib/src/lib/controls/confirmation/confirmation.service.ts","../../../projects/common-lib/src/lib/controls/content-dialog/content-dialog.component.ts","../../../projects/common-lib/src/lib/controls/content-dialog/content-dialog.component.html","../../../projects/common-lib/src/lib/controls/content-dialog/content-dialog.service.ts","../../../projects/common-lib/src/lib/controls/form-dialog/form-dialog.component.ts","../../../projects/common-lib/src/lib/controls/form-dialog/form-dialog.component.html","../../../projects/common-lib/src/lib/controls/form-dialog/form-dialog.service.ts","../../../projects/common-lib/src/lib/controls/icon-button/icon-button.component.ts","../../../projects/common-lib/src/lib/controls/icon-button/icon-button.component.html","../../../projects/common-lib/src/lib/controls/progress-bar-dialog/progress-bar-dialog.component.ts","../../../projects/common-lib/src/lib/controls/progress-bar-dialog/progress-bar-dialog.component.html","../../../projects/common-lib/src/lib/controls/progress-bar-dialog/progress-bar-dialog.service.ts","../../../projects/common-lib/src/lib/controls/readonly-value/readonly-value.component.ts","../../../projects/common-lib/src/lib/controls/readonly-value/readonly-value.component.html","../../../projects/common-lib/src/lib/controls/toasts/toasts.component.ts","../../../projects/common-lib/src/lib/controls/toasts/toasts.component.html","../../../projects/common-lib/src/lib/controls/toasts/toasts.service.ts","../../../projects/common-lib/src/lib/forms/base-form/base-form.component.ts","../../../projects/common-lib/src/lib/forms/file-input/file-input.component.ts","../../../projects/common-lib/src/lib/forms/file-input/file-input.component.html","../../../projects/common-lib/src/lib/forms/file-inputs/file-inputs.component.ts","../../../projects/common-lib/src/lib/forms/file-inputs/file-inputs.component.html","../../../projects/common-lib/src/lib/forms/form-field/error.directive.ts","../../../projects/common-lib/src/lib/forms/form-field/form-field.component.ts","../../../projects/common-lib/src/lib/forms/form-field/form-field.component.html","../../../projects/common-lib/src/lib/forms/form-field/label.directive.ts","../../../projects/common-lib/src/lib/forms/form-field/form-field.module.ts","../../../projects/common-lib/src/lib/models/cl-state.model.ts","../../../projects/common-lib/src/lib/common-lib.module.ts","../../../projects/common-lib/src/lib/rxjs-operators/operators.ts","../../../projects/common-lib/src/public-api.ts","../../../projects/common-lib/src/jm-7c3-common-lib.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, effect, input, signal }\n from '@angular/core';\n\nimport { ButtonModule as PrimengButtonModule } from 'primeng/button';\n\nimport { ButtonColor } from './button.models';\n\n@Component({\n selector: 'cl-button',\n imports: [\n PrimengButtonModule\n],\n templateUrl: './button.component.html',\n styleUrl: './button.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ButtonComponent {\n readonly color = input<ButtonColor>('primary');\n readonly disabled = input(false);\n readonly icon = input<string>();\n readonly label = input<string>();\n readonly loading = input(false);\n readonly type = input<'button' | 'submit'>('button');\n\n readonly buttonClass = signal('');\n\n constructor() {\n effect(() => {\n switch (this.color()) {\n case 'danger':\n this.buttonClass.set('p-button-danger p-button-raised p-button-text');\n break;\n case 'link':\n this.buttonClass.set('p-button-info p-button-text');\n break;\n case 'main':\n this.buttonClass.set('p-button-primary p-button-raised');\n break;\n case 'primary':\n this.buttonClass.set('p-button-primary p-button-raised p-button-text');\n break;\n case 'secondary':\n this.buttonClass.set('p-button-secondary p-button-raised p-button-text');\n break;\n }\n });\n }\n}\n","<button [class]=\"buttonClass()\" [disabled]=\"disabled()\" [icon]=\"icon()!\" [label]=\"label()!\" [loading]=\"loading()\" pButton\n [type]=\"type()\">\n</button>\n","import { Injectable } from '@angular/core';\nimport { toObservable } from '@angular/core/rxjs-interop';\nimport { patchState, signalState } from '@ngrx/signals';\nimport { filter, Observable } from 'rxjs';\n\nimport { ClState, ClStateMessage, ClStateMessageType } from '../models';\n\nconst initialState: ClState = {\n stateMessage: null\n};\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ClStateService {\n private readonly state = signalState(initialState);\n\n readonly stateMessage: any = this.state.stateMessage;\n private readonly stateMessage$ = toObservable(this.state.stateMessage);\n\n onStateMessage(type: ClStateMessageType): Observable<ClStateMessage | null> {\n return this.stateMessage$.pipe(\n filter(message => message?.type === type)\n );\n }\n\n updateStateMessage(stateMessage: ClStateMessage | null): void {\n patchState(this.state, {stateMessage});\n }\n}\n","import { ChangeDetectionStrategy, Component, Inject, effect, inject, signal }\n from '@angular/core';\n\nimport { ConfirmationService as PngConfirmationService } from 'primeng/api';\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\n\nimport { ClStateMessage, ConfirmationConfig } from '../../models';\nimport { ClStateService } from '../../services';\nimport { ButtonComponent } from '../button';\n\n@Component({\n selector: 'cl-confirmation',\n imports: [\n ButtonComponent,\n ConfirmDialogModule\n],\n templateUrl: './confirmation.component.html',\n styleUrls: ['./confirmation.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ConfirmationComponent {\n private readonly clStateService = inject(ClStateService);\n private readonly confirmationService = inject(PngConfirmationService);\n\n readonly acceptLabel = signal('Accept');\n readonly cancelLabel = signal('Cancel');\n\n constructor(\n @Inject('env') private readonly env: any\n ) {\n const confirmationConfig: ConfirmationConfig = this.env?.commonLib?.confirmation;\n\n if (confirmationConfig) {\n if (confirmationConfig.acceptLabel) {\n this.acceptLabel.set(confirmationConfig.acceptLabel);\n }\n if (confirmationConfig.cancelLabel) {\n this.cancelLabel.set(confirmationConfig.cancelLabel);\n }\n }\n\n effect(() => {\n const message = this.clStateService.stateMessage();\n\n if (message?.type === 'confirmation') {\n this.openConfirmDialog(message);\n }\n });\n }\n\n private openConfirmDialog(stateMessge: ClStateMessage): void {\n const {data, header, key, message} = stateMessge.payload;\n\n this.confirmationService.confirm({\n accept: () => {\n this.clStateService.updateStateMessage({\n key: stateMessge.key,\n payload: data,\n type: 'confirmation-accept'\n });\n },\n acceptButtonStyleClass: 'primary',\n closeOnEscape: false,\n header,\n key,\n message,\n reject: () => {\n this.clStateService.updateStateMessage({\n key: stateMessge.key,\n payload: data,\n type: 'confirmation-cancel'\n });\n },\n });\n }\n}\n","<p-confirmDialog #general key=\"general\">\n <ng-template pTemplate=\"footer\">\n <cl-button class=\"mr-2\" (click)=\"general.onAccept()\" color=\"primary\" icon=\"pi pi-check\" [label]=\"acceptLabel()\" />\n <cl-button (click)=\"general.onReject()\" color=\"secondary\" icon=\"pi pi-times\" [label]=\"cancelLabel()\" />\n </ng-template>\n</p-confirmDialog>\n\n<p-confirmDialog icon=\"pi pi-exclamation-triangle\" key=\"general-warning\" #warning>\n <ng-template pTemplate=\"footer\">\n <cl-button class=\"mr-2\" (click)=\"warning.onAccept()\" color=\"primary\" icon=\"pi pi-check\" [label]=\"acceptLabel()\" />\n <cl-button (click)=\"warning.onReject()\" color=\"secondary\" icon=\"pi pi-times\" [label]=\"cancelLabel()\" />\n </ng-template>\n</p-confirmDialog>\n","import { Injectable, inject } from '@angular/core';\nimport { Observable, filter, map } from 'rxjs';\n\nimport { ClStateService } from '../../services';\nimport { ConfirmationData } from './confirmation.models';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ConfirmationService {\n private readonly clStateService = inject(ClStateService);\n\n confirm({data, header, key, message, type}: ConfirmationData): void {\n const confirmationData: ConfirmationData = {\n data,\n header,\n key: 'general',\n message\n };\n\n switch (type) {\n case 'warning':\n confirmationData.key = 'general-warning';\n break;\n }\n\n this.clStateService.updateStateMessage({\n key,\n payload: confirmationData,\n type: 'confirmation'\n });\n }\n\n onAccept(key: string): Observable<any> {\n return this.clStateService.onStateMessage('confirmation-accept').pipe(\n filter(message => message?.key === key),\n map(message => message?.payload)\n );\n }\n\n onCancel(key: string): Observable<null> {\n return this.clStateService.onStateMessage('confirmation-cancel').pipe(\n filter(message => message?.key === key),\n map(() => null)\n );\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Inject, OnInit, inject, signal }\n from '@angular/core';\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\n\nimport { ContentDialogConfig } from '../../models';\nimport { ButtonComponent } from '../button';\n\n@Component({\n selector: 'cl-content-dialog',\n imports: [\n ButtonComponent,\n CommonModule,\n ],\n templateUrl: './content-dialog.component.html',\n styleUrl: './content-dialog.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ContentDialogComponent implements OnInit {\n private readonly dialogConfig = inject(DynamicDialogConfig);\n private readonly dialogRef = inject(DynamicDialogRef);\n\n readonly component = signal<any>(null);\n readonly closeLabel = signal('Close');\n readonly header = signal('');\n\n constructor(\n @Inject('env') private readonly env: any\n ) {\n const contentDialogConfig: ContentDialogConfig = this.env?.commonLib?.contentDialog;\n\n if (contentDialogConfig) {\n if (contentDialogConfig.closeLabel) {\n this.closeLabel.set(contentDialogConfig.closeLabel);\n }\n }\n }\n\n ngOnInit(): void {\n const {component, config, header} = this.dialogConfig.data;\n\n if (component) {\n this.component.set(component);\n }\n\n if (config) {\n const {closeLabel} = config;\n\n if (closeLabel) {\n this.closeLabel.set(closeLabel);\n }\n }\n\n if (header) {\n this.header.set(header);\n }\n }\n\n onClose(): void {\n this.dialogRef.close();\n }\n}\n","@if (component()) {\n <ng-container *ngComponentOutlet=\"component()\" />\n}\n\n<div class=\"text-right\">\n <cl-button (click)=\"onClose()\" color=\"secondary\" [label]=\"closeLabel()\" />\n</div>\n","import { Injectable, inject } from '@angular/core';\nimport { DialogService, DynamicDialogConfig } from 'primeng/dynamicdialog';\nimport { Observable, filter, map } from 'rxjs';\n\nimport { ClStateService } from '../../services';\nimport { ContentDialogComponent } from './content-dialog.component';\nimport { ContentDialogData } from './content-dialog.models';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ContentDialogService {\n private readonly clStateService = inject(ClStateService);\n private readonly dialogService = inject(DialogService);\n\n onCancel(key: string): Observable<{key: string}> {\n return this.clStateService.onStateMessage('content-dialog-close').pipe(\n filter(message => message?.payload.key === key),\n map(() => ({key}))\n )\n }\n\n open(data: ContentDialogData): void {\n const {component, config, header, key, styleClass} = data;\n const dialogConfig: DynamicDialogConfig = {\n closable: false,\n data: { component, config, key },\n header,\n showHeader: true,\n styleClass: styleClass ?? 'w-4'\n };\n\n this.dialogService.open(ContentDialogComponent, dialogConfig)?.onClose\n .subscribe(() => {\n this.clStateService.updateStateMessage({\n key,\n type: 'content-dialog-close'\n });\n });\n }\n}\n","import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, OnInit,\n ViewContainerRef, inject, signal, viewChild} from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup }\n from '@angular/forms';\nimport { DynamicDialogConfig, DynamicDialogModule, DynamicDialogRef }\n from 'primeng/dynamicdialog';\n\nimport { FormDialogConfig } from '../../models';\nimport { ButtonComponent } from '../button';\n\n@Component({\n selector: 'cl-form-dialog',\n imports: [\n ButtonComponent,\n DynamicDialogModule,\n FormsModule,\n ReactiveFormsModule,\n ],\n templateUrl: './form-dialog.component.html',\n styleUrls: ['./form-dialog.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormDialogComponent implements OnInit {\n private readonly cdRef = inject(ChangeDetectorRef);\n private readonly dialogConfig = inject(DynamicDialogConfig);\n private readonly dialogRef = inject(DynamicDialogRef);\n\n private readonly formContainer = viewChild('formContainer', {read: ViewContainerRef});\n\n readonly cancelLabel = signal('Cancel');\n readonly form = signal<UntypedFormGroup | null>(null);\n readonly header = signal<string>('');\n readonly hideSubmitButton = signal(false);\n readonly submitLabel = signal('Submit');\n\n constructor(\n @Inject('env') private readonly env: any\n ) {\n const formDialogConfig: FormDialogConfig = this.env?.commonLib?.formDialog;\n\n if (formDialogConfig) {\n if (formDialogConfig.cancelLabel) {\n this.cancelLabel.set(formDialogConfig.cancelLabel);\n }\n if (formDialogConfig.submitLabel) {\n this.submitLabel.set(formDialogConfig.submitLabel);\n }\n }\n }\n\n ngOnInit(): void {\n const {component, config, header, value} = this.dialogConfig.data;\n\n this.header.set(header);\n\n if (component) {\n setTimeout(() => {\n const {instance} = this.formContainer()!.createComponent(component) as any;\n\n this.form.set(instance.form);\n\n if (!this.form) {\n throw new Error('Form not found.');\n }\n\n if (value) {\n this.form()?.patchValue(value);\n }\n\n this.cdRef.markForCheck();\n });\n }\n\n if (config) {\n this.hideSubmitButton.set(config.hideSubmitButton ?? this.hideSubmitButton);\n\n if (config.cancelLabel) {\n this.cancelLabel.set(config.cancelLabel);\n }\n if (config.submitLabel) {\n this.submitLabel.set(config.submitLabel);\n }\n }\n }\n\n onCancel(): void {\n this.dialogRef.close();\n }\n\n onSubmit(): void {\n if (this.form()?.valid) {\n this.dialogRef.close(this.form()!.value);\n }\n }\n\n}\n","<h2>{{ header() }}</h2>\n\n<div class=\"mb-2\">\n <ng-container #formContainer />\n</div>\n\n@if (form()) {\n <div class=\"text-right\">\n @if (!hideSubmitButton()) {\n <cl-button class=\"mr-2\" (click)=\"onSubmit()\" color=\"main\" [disabled]=\"form()!.invalid || form()!.pristine\"\n [label]=\"submitLabel()\" />\n }\n\n <cl-button (click)=\"onCancel()\" color=\"secondary\" [label]=\"cancelLabel()\" />\n </div>\n}\n","import { Injectable, inject } from '@angular/core';\nimport { DialogService, DynamicDialogConfig } from 'primeng/dynamicdialog';\nimport { Observable, filter, map } from 'rxjs';\n\nimport { ClStateService } from '../../services';\nimport { FormDialogComponent } from './form-dialog.component';\nimport { FormDialogData } from './form-dialog.models';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class FormDialogService {\n private readonly clStateService = inject(ClStateService);\n private readonly dialogService = inject(DialogService);\n\n onCancel(key: string): Observable<null> {\n return this.clStateService.onStateMessage('form-dialog-cancel').pipe(\n filter(message => message?.key === key),\n map(() => null)\n );\n }\n\n onSubmit(key: string): Observable<any> {\n return this.clStateService.onStateMessage('form-dialog-submit').pipe(\n filter(message => message?.key === key),\n map(message => message?.payload)\n );\n }\n\n // Workaround untill primeng v16.2.1 is available\n open(data: FormDialogData): void {\n const {component, config, header, key, styleClass, value} = data;\n const dialogConfig: DynamicDialogConfig = {\n data: { component, config, key, value },\n focusOnShow: false,\n header,\n modal: true,\n styleClass\n };\n\n const ref = this.dialogService.open(FormDialogComponent, dialogConfig);\n\n ref?.onClose.subscribe(value => {\n if (value) {\n this.clStateService.updateStateMessage({\n key,\n payload: value,\n type: 'form-dialog-submit'\n });\n } else {\n this.clStateService.updateStateMessage({\n key,\n type: 'form-dialog-cancel'\n });\n }\n });\n }\n}\n","import { ChangeDetectionStrategy, Component, effect, input, signal }\n from '@angular/core';\nimport { ButtonModule as PrimengButtonModule } from 'primeng/button';\n\n@Component({\n selector: 'cl-icon-button',\n imports: [\n PrimengButtonModule,\n ],\n templateUrl: './icon-button.component.html',\n styleUrl: './icon-button.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class IconButtonComponent {\n readonly disabled = input(false);\n readonly icon = input.required<string>();\n readonly loading = input(false);\n readonly severity = input<Severity>('');\n readonly type = input<'button' | 'submit'>('button');\n\n readonly class = signal('p-button-icon-only p-button-text');\n\n constructor() {\n effect(() => {\n this.updateClass(this.severity());\n });\n }\n\n private updateClass(severity: string) {\n this.class.update(value => value + ' p-button-' + severity);\n }\n}\n\ntype Severity = '' | 'danger' | 'help' | 'info' | 'secondary' | 'success' | 'warning';\n","<button [class]=\"class()\" [disabled]=\"disabled()\" [icon]=\"icon()\" [loading]=\"loading()\" pButton [type]=\"type()\">\n</button>\n","\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, effect, inject }\n from '@angular/core';\nimport { DialogModule } from 'primeng/dialog';\nimport { ProgressBarModule } from 'primeng/progressbar';\n\nimport { ClStateService } from '../../services';\n\n@Component({\n selector: 'cl-progress-bar-dialog',\n imports: [\n DialogModule,\n ProgressBarModule\n],\n templateUrl: './progress-bar-dialog.component.html',\n styleUrl: './progress-bar-dialog.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ProgressBarDialogComponent {\n private readonly cdRef = inject(ChangeDetectorRef);\n private readonly clStateService = inject(ClStateService);\n\n visible = false;\n\n constructor () {\n effect(() => {\n switch (this.clStateService.stateMessage()?.type) {\n case 'progess-bar-dialog-close':\n this.visible = false;\n\n this.cdRef.markForCheck();\n break;\n case 'progess-bar-dialog-open':\n this.visible = true;\n\n this.cdRef.markForCheck();\n break;\n }\n });\n }\n}\n","<p-dialog [closable]=\"false\" [closeOnEscape]=\"false\" [draggable]=\"false\" [modal]=\"true\" [resizable]=\"false\"\n [showHeader]=\"true\" styleClass=\"w-4\" [(visible)]=\"visible\">\n <p-progressBar mode=\"indeterminate\" />\n</p-dialog>\n","import { Injectable, inject } from '@angular/core';\n\nimport { ClStateService } from '../../services';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ProgressBarDialogService {\n private readonly clStateService = inject(ClStateService);\n\n close(): void {\n this.clStateService.updateStateMessage({\n type: 'progess-bar-dialog-close'\n });\n }\n\n open(): void {\n this.clStateService.updateStateMessage({\n type: 'progess-bar-dialog-open'\n });\n }\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\n\n@Component({\n selector: 'cl-readonly-value',\n imports: [],\n templateUrl: './readonly-value.component.html',\n styleUrl: './readonly-value.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ReadonlyValueComponent {\n readonly label = input<string>();\n readonly value = input<any>();\n}\n","<div>\n <strong>{{ label() }}</strong>\n <div>{{ value() }}</div>\n</div>\n","import { ChangeDetectionStrategy, Component, effect, inject } from '@angular/core';\nimport { ToastModule } from 'primeng/toast';\nimport { MessageService, ToastMessageOptions } from 'primeng/api';\n\nimport { ClStateService } from '../../services';\n\n@Component({\n selector: 'cl-toasts',\n imports: [\n ToastModule,\n ],\n templateUrl: './toasts.component.html',\n styleUrl: './toasts.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ToastsComponent {\n private readonly clStateService = inject(ClStateService);\n private readonly messageService = inject(MessageService);\n\n constructor () {\n effect(() => {\n const message = this.clStateService.stateMessage();\n\n if (message?.type === 'toast') {\n const {detail, severity, summary} = message?.payload;\n\n this.add(detail, summary, severity, 'general');\n }\n });\n }\n\n private add(detail: string, summary: string, severity: string, key?: string): void {\n const message: ToastMessageOptions = { detail, severity, summary };\n\n if (key) {\n message.key = key;\n }\n\n setTimeout(() => {\n this.messageService.add(message);\n });\n }\n}\n","<p-toast key=\"general\" position=\"bottom-center\" />\n","import { Injectable, inject } from '@angular/core';\n\nimport { ClStateService } from '../../services';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ToastsService {\n private readonly clStateService = inject(ClStateService);\n\n toastError(detail: string, summary = 'Error'): void {\n this.clStateService.updateStateMessage({\n payload: {\n detail,\n severity: 'error',\n summary\n },\n type: 'toast'\n });\n }\n\n toastSuccess(detail: string, summary = 'Success'): void {\n this.clStateService.updateStateMessage({\n payload: {\n detail,\n severity: 'success',\n summary\n },\n type: 'toast'\n });\n }\n\n toastWarning(detail: string, summary = 'Warning'): void {\n this.clStateService.updateStateMessage({\n payload: {\n detail,\n severity: 'warning',\n summary\n },\n type: 'toast'\n });\n }\n}\n","import { ChangeDetectionStrategy, Component, OnDestroy, signal } from '@angular/core';\n\nimport { AbstractControl, ControlValueAccessor, FormArray, FormControl, FormGroup,\n ValidationErrors, Validator } from '@angular/forms';\nimport { Subscription } from 'rxjs';\n\n@Component({\n imports: [],\n template: '',\n styles: '',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class BaseFormComponent implements ControlValueAccessor, OnDestroy,\n Validator {\n readonly control = this.getForm();\n readonly disabled = signal(false);\n protected readonly subscription = new Subscription();\n\n ngOnDestroy(): void {\n this.subscription.unsubscribe();\n }\n\n // Control Value Accessor methods\n\n registerOnChange(fn: any): void {\n this.subscription.add(\n this.control.valueChanges.subscribe(fn)\n );\n }\n\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n if (isDisabled) {\n this.control.disable();\n } else {\n this.control.enable();\n }\n\n setTimeout(() => {\n this.disabled.set(isDisabled);\n });\n }\n\n writeValue(obj: any): void {\n if (obj) {\n this.setValue(obj);\n }\n }\n\n // Validator methods\n\n validate(control?: AbstractControl): ValidationErrors | null {\n if (this.control.invalid) {\n return { invalid: true };\n }\n\n return null;\n }\n\n // Custom protected methods\n\n protected getForm(): FormArray | FormControl | FormGroup {\n throw new Error('Not implemented.');\n }\n\n protected setValue(value: any): void {\n this.control.patchValue(value);\n\n this.onChanged(value);\n this.onTouched();\n }\n\n // Custom private methods\n\n private onChanged: any = (value: any) => {};\n\n private onTouched: any = () => {};\n\n // Getters and setters\n\n get formArray(): FormArray {\n return this.control as FormArray;\n }\n\n get formControl(): FormControl {\n return this.control as FormControl;\n }\n\n get formGroup(): FormGroup {\n return this.control as FormGroup;\n }\n}\n","\nimport { ChangeDetectionStrategy, Component, ElementRef, input, output, signal,\n viewChild } from '@angular/core';\nimport { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR }\nfrom '@angular/forms';\nimport { cloneDeep } from 'lodash-es';\nimport { ButtonModule } from 'primeng/button';\nimport { v4 } from 'uuid';\n\nimport { ButtonComponent } from '../../controls/button';\n\n@Component({\n selector: 'cl-file-input',\n imports: [\n ButtonComponent,\n ButtonModule,\n FormsModule\n],\n templateUrl: './file-input.component.html',\n styleUrl: './file-input.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n multi: true,\n provide: NG_VALUE_ACCESSOR,\n useExisting: FileInputComponent,\n }\n ]\n})\nexport class FileInputComponent implements ControlValueAccessor {\n readonly directory = input('');\n readonly icon = input('pi pi-plus');\n readonly label = input('Browse');\n readonly readonly = input(false);\n readonly onDownloadEmitter = output<FileInput[]>({alias: 'onDownload'});\n readonly fileInput = viewChild<ElementRef>('fileInput');\n\n readonly fileName = signal('');\n readonly isDisabled = signal(false);\n readonly isFileSelected = signal(false);\n readonly value = signal<FileInputValue>(null);\n\n // ControlValueAccessor interface methods\n\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n setTimeout(() => {\n this.isDisabled.set(isDisabled);\n });\n }\n\n writeValue(value: FileInput[] | string | null = null): void {\n let newValue: FileInput[] = [];\n\n if (Array.isArray(value)) {\n newValue = cloneDeep(value);\n\n this.selectFile(newValue[0]);\n } else if (typeof value === 'string') {\n const hash = this.getHashFromFileName(value);\n\n const file: FileInput = {\n isNew: !value,\n hash,\n name: value,\n path: this.directory(),\n toDelete: false\n };\n\n newValue.push(file);\n\n this.selectFile(file);\n }\n\n this.setValue(newValue);\n }\n\n // Custom public methods\n\n onClick(): void {\n this.fileInput()?.nativeElement.click();\n this.onTouched();\n }\n\n onFileSelected(event: Event): void {\n const file: File = (event.target as HTMLInputElement).files![0];\n\n if (file) {\n const {extension, name} = this.getFileNameParts(file.name);\n const hash = v4().split('-')[0];\n \n const newFile: FileInput = {\n file,\n hash,\n isNew: true,\n name: `${name}.${hash}.${extension}`,\n path: this.directory(),\n toDelete: false\n };\n const newValue = [...this.value()!] as FileInput[];\n\n newValue.push(newFile);\n\n this.selectFile(newFile);\n this.setValue(newValue);\n }\n }\n\n onDelete(): void {\n const newValue = [...this.value()!];\n const file = this.getLastFile(newValue);\n\n if (file) {\n if (file.isNew) {\n newValue.pop();\n } else {\n file.toDelete = true;\n }\n\n this.fileName.set('');\n this.isFileSelected.set(false);\n this.setValue(newValue);\n }\n }\n\n onDownload(): void {\n this.onDownloadEmitter.emit(this.value() as FileInput[]);\n }\n\n // Custom private methods\n\n private getFileNameParts(fileName: string): {extension: string; name: string;} {\n const index = fileName.lastIndexOf('.'); \n\n return {\n extension: fileName.substring(index + 1),\n name: fileName.substring(0, index)\n };\n }\n\n private getHashFromFileName(fileName: string): string {\n const index = fileName.lastIndexOf('.');\n const nameIndex = fileName.lastIndexOf('.', index - 1);\n\n return fileName.substring(nameIndex + 1, index);\n }\n\n private getLastFile(value: FileInput[]): FileInput | undefined {\n return value[value.length - 1];\n }\n\n private getSafeFileName(file: FileInput): string {\n const {extension, name} = this.getFileNameParts(file.name);\n const hash = this.getHashFromFileName(file.name);\n\n const fileName = name.replace(`.${hash}`, '');\n\n return `${decodeURIComponent(fileName)}.${extension}`;\n }\n\n private onChange: any = (value: FileInputValue) => {};\n\n private onTouched: any = () => {};\n\n private selectFile(file: FileInput): void {\n const safeFileName = this.getSafeFileName(file);\n\n this.fileName.set(safeFileName);\n this.isFileSelected.set(true);\n }\n\n private setValue(value: FileInputValue): void {\n this.value.set(value);\n\n this.onChange(value);\n this.onTouched();\n }\n}\n\nexport interface FileInput {\n file?: File;\n hash: string;\n isNew: boolean;\n name: string;\n path: string;\n toDelete: boolean;\n}\n\ntype FileInputValue = FileInput[] | null;\n","<input type=\"hidden\" [value]=\"value()\" />\n<input (change)=\"onFileSelected($event)\" class=\"file-input\" #fileInput type=\"file\" />\n\n@if (isFileSelected()) {\n @if (readonly()) {\n <button class=\"link-button\" (click)=\"onDownload()\" type=\"button\">\n {{ fileName() }}\n </button>\n } @else {\n <div class=\"flex\">\n <cl-button class=\"mr-3\" [label]=\"fileName()\" />\n <button class=\"p-button-danger p-button-rounded p-button-text\" (click)=\"onDelete()\" [disabled]=\"isDisabled()\"\n icon=\"pi pi-trash\" pButton type=\"button\">\n </button>\n </div>\n }\n} @else {\n <cl-button (click)=\"onClick()\" [disabled]=\"isDisabled()\" [icon]=\"icon()\" [label]=\"label()\" />\n}\n\n","import { ChangeDetectionStrategy, ChangeDetectorRef, Component, inject, input,\n output} from '@angular/core';\nimport { AbstractControl, FormArray, FormControl, FormsModule, NG_VALIDATORS,\n NG_VALUE_ACCESSOR, ReactiveFormsModule, ValidationErrors, Validators }\n from '@angular/forms';\nimport { ButtonModule } from 'primeng/button';\n\nimport { BaseFormComponent } from '../base-form';\nimport { FileInput, FileInputComponent } from '../file-input';\n\n@Component({\n selector: 'cl-file-inputs',\n imports: [\n ButtonModule,\n FileInputComponent,\n FormsModule,\n ReactiveFormsModule,\n ],\n templateUrl: './file-inputs.component.html',\n styleUrl: './file-inputs.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n multi: true,\n provide: NG_VALIDATORS,\n useExisting: FileInputsComponent\n },\n {\n multi: true,\n provide: NG_VALUE_ACCESSOR,\n useExisting: FileInputsComponent\n }\n ]\n})\nexport class FileInputsComponent extends BaseFormComponent {\n private readonly cdRef = inject(ChangeDetectorRef);\n\n readonly directory = input('');\n readonly icon = input('pi pi-plus');\n readonly label = input('Browse');\n readonly max = input<number>(5);\n readonly readonly = input(false);\n readonly onDownloadEmitter = output<FileInput[]>({alias: 'onDownload'});\n\n onAdd(): void {\n this.formArray.push(\n new FormControl()\n );\n\n this.cdRef.markForCheck();\n }\n\n onDelete(index: number): void {\n this.formArray.removeAt(index);\n\n this.cdRef.markForCheck();\n }\n\n onDownload(file: FileInput[]): void {\n this.onDownloadEmitter.emit(file);\n }\n\n override setDisabledState(isDisabled: boolean): void {\n for (const control of this.formArray.controls) {\n if (isDisabled) {\n control.disable();\n } else {\n control.enable();\n }\n }\n }\n\n override validate(control?: AbstractControl): ValidationErrors | null {\n if (control?.hasValidator(Validators.required) && Array.isArray(control?.value)) {\n const first = control.value[0];\n\n if (!(\n typeof first === 'string' ||\n (Array.isArray(first) && first.some(({toDelete}) => toDelete === false))\n )) {\n return {\n required: true\n };\n }\n }\n\n return null;\n }\n\n override writeValue(value: FileInputsValue): void {\n if (Array.isArray(value)) {\n setTimeout(() => {\n if (value.length === 0) {\n this.onAdd();\n } else {\n for (let i = 0, j = value.length; i < j; i++) {\n this.onAdd();\n }\n\n this.setValue(value);\n }\n });\n } else if (!this.readonly()) {\n this.onAdd();\n }\n }\n\n protected override getForm(): FormArray<any> {\n return new FormArray<any>([]);\n }\n}\n\ntype FileInputsValue = FileInput[][] | null;\n","<ng-container [formGroup]=\"formGroup\">\n @for (item of formArray.value; track index; let index = $index) {\n <div class=\"flex mb-3\">\n <cl-file-input [formControlName]=\"index\" [directory]=\"directory()\" [icon]=\"icon()\" [label]=\"label()\"\n (onDownload)=\"onDownload($event)\" [readonly]=\"readonly()\" />\n @if (!readonly()) {\n @if (index === 0) {\n <button class=\"p-button-rounded p-button-text\" (click)=\"onAdd()\" [disabled]=\"formArray.length >= max()\"\n icon=\"pi pi-plus\" pButton type=\"button\">\n </button>\n } @else if (index > 0) {\n <button class=\"p-button-rounded p-button-text\" (click)=\"onDelete(index)\" icon=\"pi pi-minus\" pButton\n type=\"button\">\n </button>\n }\n }\n </div>\n }\n</ng-container>\n","import { Directive, InjectionToken } from '@angular/core';\n\nexport const ERROR_DIRECTIVE = new InjectionToken<ErrorDirective>('ErrorDirective');\n\n@Directive({\n selector: 'ff-error',\n standalone: true,\n providers: [\n { provide: ERROR_DIRECTIVE, useExisting: ErrorDirective }\n ]\n})\nexport class ErrorDirective {\n\n}\n","import { Component, InjectionToken, ViewEncapsulation, computed, contentChild }\n from '@angular/core';\nimport { FormControlName, Validators } from '@angular/forms';\n\nexport const FORM_FIELD = new InjectionToken<FormFieldComponent>('FormFieldComponent');\n\n@Component({\n selector: 'cl-form-field',\n imports: [],\n templateUrl: './form-field.component.html',\n styleUrl: './form-field.component.scss',\n // changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: FORM_FIELD, useExisting: FormFieldComponent }\n ]\n})\nexport class FormFieldComponent {\n readonly control = contentChild(FormControlName);\n\n readonly isRequired = computed(() =>\n this.control()?.control.hasValidator(Validators.required) ?? false\n );\n}\n","<div class=\"field\">\n <label class=\"block\" [class.required]=\"isRequired()\">\n <ng-content select=\"ff-label\" />\n </label>\n <div>\n <ng-content />\n </div>\n @if ((control()?.dirty || control()?.touched) && control()?.errors) {\n <small class=\"p-block p-error\">\n <ng-content select=\"ff-error\" />\n </small>\n }\n</div>\n","import { Directive, InjectionToken } from '@angular/core';\n\nexport const LABEL_DIRECTIVE = new InjectionToken<LabelDirective>('LabelDirective');\n\n@Directive({\n selector: 'ff-label',\n standalone: true,\n providers: [\n { provide: LABEL_DIRECTIVE, useExisting: LabelDirective }\n ]\n})\nexport class LabelDirective {\n\n}\n","import { NgModule } from '@angular/core';\n\nimport { ErrorDirective } from './error.directive';\nimport { FormFieldComponent } from './form-field.component';\nimport { LabelDirective } from './label.directive';\n\n@NgModule({\n exports: [\n ErrorDirective,\n FormFieldComponent,\n LabelDirective,\n ],\n imports: [\n ErrorDirective,\n FormFieldComponent,\n LabelDirective,\n ]\n})\nexport class FormFieldModule { }\n","export type ClState = {\n stateMessage: ClStateMessage | null;\n};\n\nexport interface ClStateMessage {\n key?: string;\n payload?: any;\n type: ClStateMessageType;\n};\n\nexport type ClStateMessageType = 'confirmation' | 'confirmation-accept' |\n 'confirmation-cancel' | 'content-dialog' | 'content-dialog-cancel' |\n 'content-dialog-close' | 'form-dialog' | 'form-dialog-cancel' |\n 'form-dialog-submit' | 'progess-bar-dialog-close' | 'progess-bar-dialog-open' |\n 'toast';\n","import { NgModule } from '@angular/core';\nimport { ConfirmationService, MessageService } from 'primeng/api';\nimport { DialogService, DynamicDialogConfig } from 'primeng/dynamicdialog';\n\n@NgModule({\n providers: [\n ConfirmationService,\n DialogService,\n DynamicDialogConfig,\n MessageService,\n ]\n})\nexport class CommonLibModule { }\n","import { concatWith, Observable, toArray } from 'rxjs';\n\nexport function concatWithToArray<T>(values: Observable<T>[]): Observable<T[]> {\n return values[0].pipe(\n concatWith(...values.slice(1)),\n toArray()\n );\n}\n","/*\n * Public API Surface of common-lib\n */\n\n// Controls\n\nexport * from './lib/controls/button';\nexport * from './lib/controls/confirmation';\nexport * from './lib/controls/content-dialog';\nexport * from './lib/controls/form-dialog';\nexport * from './lib/controls/icon-button';\nexport * from './lib/controls/progress-bar-dialog';\nexport * from './lib/controls/readonly-value';\nexport * from './lib/controls/toasts';\n\n// Forms\n\nexport * from './lib/forms/base-form';\nexport * from './lib/forms/file-input';\nexport * from './lib/forms/file-inputs';\nexport * from './lib/forms/form-field';\n\n// Models\n\nexport * from './lib/models';\n\n// Modules\n\nexport * from './lib/common-lib.module';\n\n// RXJS Operators\n\nexport * from './lib/rxjs-operators';\n\n// Services\n\nexport * from './lib/services'\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["PrimengButtonModule","PngConfirmationService","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BACnB,aAAa;wBACb,mBAAmB;wBACnB,cAAc;AACf;AACF,iBAAA;;;ACTK,SAAU,iBAAiB,CAAI,MAAuB,EAAA;IAC1D,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CACjB,UAAU,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9B,OAAO,EAAE,CACZ;AACH;;ACPA;;AAEG;AAEH;;ACJA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"jm-7c3-common-lib.mjs","sources":["../../../projects/common-lib/src/lib/controls/button/button.component.ts","../../../projects/common-lib/src/lib/controls/button/button.component.html","../../../projects/common-lib/src/lib/services/cl-state.service.ts","../../../projects/common-lib/src/lib/controls/confirmation/confirmation.component.ts","../../../projects/common-lib/src/lib/controls/confirmation/confirmation.component.html","../../../projects/common-lib/src/lib/controls/confirmation/confirmation.service.ts","../../../projects/common-lib/src/lib/controls/content-dialog/content-dialog.component.ts","../../../projects/common-lib/src/lib/controls/content-dialog/content-dialog.component.html","../../../projects/common-lib/src/lib/controls/content-dialog/content-dialog.service.ts","../../../projects/common-lib/src/lib/controls/form-dialog/form-dialog.component.ts","../../../projects/common-lib/src/lib/controls/form-dialog/form-dialog.component.html","../../../projects/common-lib/src/lib/controls/form-dialog/form-dialog.service.ts","../../../projects/common-lib/src/lib/controls/icon-button/icon-button.component.ts","../../../projects/common-lib/src/lib/controls/icon-button/icon-button.component.html","../../../projects/common-lib/src/lib/controls/progress-bar-dialog/progress-bar-dialog.component.ts","../../../projects/common-lib/src/lib/controls/progress-bar-dialog/progress-bar-dialog.component.html","../../../projects/common-lib/src/lib/controls/progress-bar-dialog/progress-bar-dialog.service.ts","../../../projects/common-lib/src/lib/controls/readonly-value/readonly-value.component.ts","../../../projects/common-lib/src/lib/controls/readonly-value/readonly-value.component.html","../../../projects/common-lib/src/lib/controls/toasts/toasts.component.ts","../../../projects/common-lib/src/lib/controls/toasts/toasts.component.html","../../../projects/common-lib/src/lib/controls/toasts/toasts.service.ts","../../../projects/common-lib/src/lib/forms/base-form/base-form.component.ts","../../../projects/common-lib/src/lib/forms/file-input/file-input.component.ts","../../../projects/common-lib/src/lib/forms/file-input/file-input.component.html","../../../projects/common-lib/src/lib/forms/file-inputs/file-inputs.component.ts","../../../projects/common-lib/src/lib/forms/file-inputs/file-inputs.component.html","../../../projects/common-lib/src/lib/forms/form-field/error.directive.ts","../../../projects/common-lib/src/lib/forms/form-field/form-field.component.ts","../../../projects/common-lib/src/lib/forms/form-field/form-field.component.html","../../../projects/common-lib/src/lib/forms/form-field/label.directive.ts","../../../projects/common-lib/src/lib/forms/form-field/form-field.module.ts","../../../projects/common-lib/src/lib/models/cl-state.model.ts","../../../projects/common-lib/src/lib/common-lib.module.ts","../../../projects/common-lib/src/lib/rxjs-operators/operators.ts","../../../projects/common-lib/src/public-api.ts","../../../projects/common-lib/src/jm-7c3-common-lib.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, effect, input, signal }\n from '@angular/core';\n\nimport { ButtonModule as PrimengButtonModule } from 'primeng/button';\n\nimport { ButtonColor } from './button.models';\n\n@Component({\n selector: 'cl-button',\n imports: [\n PrimengButtonModule\n],\n templateUrl: './button.component.html',\n styleUrl: './button.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ButtonComponent {\n readonly color = input<ButtonColor>('primary');\n readonly disabled = input(false);\n readonly icon = input<string>();\n readonly label = input<string>();\n readonly loading = input(false);\n readonly type = input<'button' | 'submit'>('button');\n\n readonly buttonClass = signal('');\n\n constructor() {\n effect(() => {\n switch (this.color()) {\n case 'danger':\n this.buttonClass.set('p-button-danger p-button-raised p-button-text');\n break;\n case 'link':\n this.buttonClass.set('p-button-info p-button-text');\n break;\n case 'main':\n this.buttonClass.set('p-button-primary p-button-raised');\n break;\n case 'primary':\n this.buttonClass.set('p-button-primary p-button-raised p-button-text');\n break;\n case 'secondary':\n this.buttonClass.set('p-button-secondary p-button-raised p-button-text');\n break;\n }\n });\n }\n}\n","<button [class]=\"buttonClass()\" [disabled]=\"disabled()\" [icon]=\"icon()!\" [label]=\"label()!\" [loading]=\"loading()\" pButton\n [type]=\"type()\">\n</button>\n","import { Injectable } from '@angular/core';\nimport { toObservable } from '@angular/core/rxjs-interop';\nimport { patchState, signalState } from '@ngrx/signals';\nimport { filter, Observable } from 'rxjs';\n\nimport { ClState, ClStateMessage, ClStateMessageType } from '../models';\n\nconst initialState: ClState = {\n stateMessage: null\n};\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ClStateService {\n private readonly state = signalState(initialState);\n\n readonly stateMessage: any = this.state.stateMessage;\n private readonly stateMessage$ = toObservable(this.state.stateMessage);\n\n onStateMessage(type: ClStateMessageType): Observable<ClStateMessage | null> {\n return this.stateMessage$.pipe(\n filter(message => message?.type === type)\n );\n }\n\n updateStateMessage(stateMessage: ClStateMessage | null): void {\n patchState(this.state, {stateMessage});\n }\n}\n","import { ChangeDetectionStrategy, Component, Inject, effect, inject, signal }\n from '@angular/core';\n\nimport { ConfirmationService as PngConfirmationService } from 'primeng/api';\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\n\nimport { ClStateMessage, ConfirmationConfig } from '../../models';\nimport { ClStateService } from '../../services';\nimport { ButtonComponent } from '../button';\n\n@Component({\n selector: 'cl-confirmation',\n imports: [\n ButtonComponent,\n ConfirmDialogModule\n],\n templateUrl: './confirmation.component.html',\n styleUrls: ['./confirmation.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ConfirmationComponent {\n private readonly clStateService = inject(ClStateService);\n private readonly confirmationService = inject(PngConfirmationService);\n\n readonly acceptLabel = signal('Accept');\n readonly cancelLabel = signal('Cancel');\n\n constructor(\n @Inject('env') private readonly env: any\n ) {\n const confirmationConfig: ConfirmationConfig = this.env?.commonLib?.confirmation;\n\n if (confirmationConfig) {\n if (confirmationConfig.acceptLabel) {\n this.acceptLabel.set(confirmationConfig.acceptLabel);\n }\n if (confirmationConfig.cancelLabel) {\n this.cancelLabel.set(confirmationConfig.cancelLabel);\n }\n }\n\n effect(() => {\n const message = this.clStateService.stateMessage();\n\n if (message?.type === 'confirmation') {\n this.openConfirmDialog(message);\n }\n });\n }\n\n private openConfirmDialog(stateMessge: ClStateMessage): void {\n const {data, header, key, message} = stateMessge.payload;\n\n this.confirmationService.confirm({\n accept: () => {\n this.clStateService.updateStateMessage({\n key: stateMessge.key,\n payload: data,\n type: 'confirmation-accept'\n });\n },\n acceptButtonStyleClass: 'primary',\n closeOnEscape: false,\n header,\n key,\n message,\n reject: () => {\n this.clStateService.updateStateMessage({\n key: stateMessge.key,\n payload: data,\n type: 'confirmation-cancel'\n });\n },\n });\n }\n}\n","<p-confirmDialog #general key=\"general\">\n <ng-template pTemplate=\"footer\">\n <cl-button class=\"mr-2\" (click)=\"general.onAccept()\" color=\"primary\" icon=\"pi pi-check\" [label]=\"acceptLabel()\" />\n <cl-button (click)=\"general.onReject()\" color=\"secondary\" icon=\"pi pi-times\" [label]=\"cancelLabel()\" />\n </ng-template>\n</p-confirmDialog>\n\n<p-confirmDialog icon=\"pi pi-exclamation-triangle\" key=\"general-warning\" #warning>\n <ng-template pTemplate=\"footer\">\n <cl-button class=\"mr-2\" (click)=\"warning.onAccept()\" color=\"primary\" icon=\"pi pi-check\" [label]=\"acceptLabel()\" />\n <cl-button (click)=\"warning.onReject()\" color=\"secondary\" icon=\"pi pi-times\" [label]=\"cancelLabel()\" />\n </ng-template>\n</p-confirmDialog>\n","import { Injectable, inject } from '@angular/core';\nimport { Observable, filter, map } from 'rxjs';\n\nimport { ClStateService } from '../../services';\nimport { ConfirmationData } from './confirmation.models';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ConfirmationService {\n private readonly clStateService = inject(ClStateService);\n\n confirm({data, header, key, message, type}: ConfirmationData): void {\n const confirmationData: ConfirmationData = {\n data,\n header,\n key: 'general',\n message\n };\n\n switch (type) {\n case 'warning':\n confirmationData.key = 'general-warning';\n break;\n }\n\n this.clStateService.updateStateMessage({\n key,\n payload: confirmationData,\n type: 'confirmation'\n });\n }\n\n onAccept(key: string): Observable<any> {\n return this.clStateService.onStateMessage('confirmation-accept').pipe(\n filter(message => message?.key === key),\n map(message => message?.payload)\n );\n }\n\n onCancel(key: string): Observable<null> {\n return this.clStateService.onStateMessage('confirmation-cancel').pipe(\n filter(message => message?.key === key),\n map(() => null)\n );\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Inject, OnInit, inject, signal }\n from '@angular/core';\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\n\nimport { ContentDialogConfig } from '../../models';\nimport { ButtonComponent } from '../button';\n\n@Component({\n selector: 'cl-content-dialog',\n imports: [\n ButtonComponent,\n CommonModule,\n ],\n templateUrl: './content-dialog.component.html',\n styleUrl: './content-dialog.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ContentDialogComponent implements OnInit {\n private readonly dialogConfig = inject(DynamicDialogConfig);\n private readonly dialogRef = inject(DynamicDialogRef);\n\n readonly component = signal<any>(null);\n readonly closeLabel = signal('Close');\n readonly header = signal('');\n\n constructor(\n @Inject('env') private readonly env: any\n ) {\n const contentDialogConfig: ContentDialogConfig = this.env?.commonLib?.contentDialog;\n\n if (contentDialogConfig) {\n if (contentDialogConfig.closeLabel) {\n this.closeLabel.set(contentDialogConfig.closeLabel);\n }\n }\n }\n\n ngOnInit(): void {\n const {component, config, header} = this.dialogConfig.data;\n\n if (component) {\n this.component.set(component);\n }\n\n if (config) {\n const {closeLabel} = config;\n\n if (closeLabel) {\n this.closeLabel.set(closeLabel);\n }\n }\n\n if (header) {\n this.header.set(header);\n }\n }\n\n onClose(): void {\n this.dialogRef.close();\n }\n}\n","@if (component()) {\n <ng-container *ngComponentOutlet=\"component()\" />\n}\n\n<div class=\"text-right\">\n <cl-button (click)=\"onClose()\" color=\"secondary\" [label]=\"closeLabel()\" />\n</div>\n","import { Injectable, inject } from '@angular/core';\nimport { DialogService, DynamicDialogConfig } from 'primeng/dynamicdialog';\nimport { Observable, filter, map } from 'rxjs';\n\nimport { ClStateService } from '../../services';\nimport { ContentDialogComponent } from './content-dialog.component';\nimport { ContentDialogData } from './content-dialog.models';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ContentDialogService {\n private readonly clStateService = inject(ClStateService);\n private readonly dialogService = inject(DialogService);\n\n onCancel(key: string): Observable<{key: string}> {\n return this.clStateService.onStateMessage('content-dialog-close').pipe(\n filter(message => message?.payload.key === key),\n map(() => ({key}))\n )\n }\n\n open(data: ContentDialogData): void {\n const {component, config, header, key, styleClass} = data;\n const dialogConfig: DynamicDialogConfig = {\n closable: false,\n data: { component, config, key },\n header,\n showHeader: true,\n styleClass: styleClass ?? 'w-4'\n };\n\n this.dialogService.open(ContentDialogComponent, dialogConfig)?.onClose\n .subscribe(() => {\n this.clStateService.updateStateMessage({\n key,\n type: 'content-dialog-close'\n });\n });\n }\n}\n","import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Inject, OnInit,\n ViewContainerRef, inject, signal, viewChild} from '@angular/core';\nimport { FormsModule, ReactiveFormsModule, UntypedFormGroup }\n from '@angular/forms';\nimport { DynamicDialogConfig, DynamicDialogModule, DynamicDialogRef }\n from 'primeng/dynamicdialog';\n\nimport { FormDialogConfig } from '../../models';\nimport { ButtonComponent } from '../button';\n\n@Component({\n selector: 'cl-form-dialog',\n imports: [\n ButtonComponent,\n DynamicDialogModule,\n FormsModule,\n ReactiveFormsModule,\n ],\n templateUrl: './form-dialog.component.html',\n styleUrls: ['./form-dialog.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FormDialogComponent implements OnInit {\n private readonly cdRef = inject(ChangeDetectorRef);\n private readonly dialogConfig = inject(DynamicDialogConfig);\n private readonly dialogRef = inject(DynamicDialogRef);\n\n private readonly formContainer = viewChild('formContainer', {read: ViewContainerRef});\n\n readonly cancelLabel = signal('Cancel');\n readonly form = signal<UntypedFormGroup | null>(null);\n readonly header = signal<string>('');\n readonly hideSubmitButton = signal(false);\n readonly submitLabel = signal('Submit');\n\n constructor(\n @Inject('env') private readonly env: any\n ) {\n const formDialogConfig: FormDialogConfig = this.env?.commonLib?.formDialog;\n\n if (formDialogConfig) {\n if (formDialogConfig.cancelLabel) {\n this.cancelLabel.set(formDialogConfig.cancelLabel);\n }\n if (formDialogConfig.submitLabel) {\n this.submitLabel.set(formDialogConfig.submitLabel);\n }\n }\n }\n\n ngOnInit(): void {\n const {component, config, header, value} = this.dialogConfig.data;\n\n this.header.set(header);\n\n if (component) {\n setTimeout(() => {\n const {instance} = this.formContainer()!.createComponent(component) as any;\n\n this.form.set(instance.form);\n\n if (!this.form) {\n throw new Error('Form not found.');\n }\n\n if (value) {\n this.form()?.patchValue(value);\n }\n\n this.cdRef.markForCheck();\n });\n }\n\n if (config) {\n this.hideSubmitButton.set(config.hideSubmitButton ?? this.hideSubmitButton);\n\n if (config.cancelLabel) {\n this.cancelLabel.set(config.cancelLabel);\n }\n if (config.submitLabel) {\n this.submitLabel.set(config.submitLabel);\n }\n }\n }\n\n onCancel(): void {\n this.dialogRef.close();\n }\n\n onSubmit(): void {\n if (this.form()?.valid) {\n this.dialogRef.close(this.form()!.value);\n }\n }\n\n}\n","<h2>{{ header() }}</h2>\n\n<div class=\"mb-2\">\n <ng-container #formContainer />\n</div>\n\n@if (form()) {\n <div class=\"text-right\">\n @if (!hideSubmitButton()) {\n <cl-button class=\"mr-2\" (click)=\"onSubmit()\" color=\"main\" [disabled]=\"form()!.invalid || form()!.pristine\"\n [label]=\"submitLabel()\" />\n }\n\n <cl-button (click)=\"onCancel()\" color=\"secondary\" [label]=\"cancelLabel()\" />\n </div>\n}\n","import { Injectable, inject } from '@angular/core';\nimport { DialogService, DynamicDialogConfig } from 'primeng/dynamicdialog';\nimport { Observable, filter, map } from 'rxjs';\n\nimport { ClStateService } from '../../services';\nimport { FormDialogComponent } from './form-dialog.component';\nimport { FormDialogData } from './form-dialog.models';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class FormDialogService {\n private readonly clStateService = inject(ClStateService);\n private readonly dialogService = inject(DialogService);\n\n onCancel(key: string): Observable<null> {\n return this.clStateService.onStateMessage('form-dialog-cancel').pipe(\n filter(message => message?.key === key),\n map(() => null)\n );\n }\n\n onSubmit(key: string): Observable<any> {\n return this.clStateService.onStateMessage('form-dialog-submit').pipe(\n filter(message => message?.key === key),\n map(message => message?.payload)\n );\n }\n\n // Workaround untill primeng v16.2.1 is available\n open(data: FormDialogData): void {\n const {component, config, header, key, styleClass, value} = data;\n const dialogConfig: DynamicDialogConfig = {\n data: { component, config, key, value },\n focusOnShow: false,\n header,\n modal: true,\n styleClass\n };\n\n const ref = this.dialogService.open(FormDialogComponent, dialogConfig);\n\n ref?.onClose.subscribe(value => {\n if (value) {\n this.clStateService.updateStateMessage({\n key,\n payload: value,\n type: 'form-dialog-submit'\n });\n } else {\n this.clStateService.updateStateMessage({\n key,\n type: 'form-dialog-cancel'\n });\n }\n });\n }\n}\n","import { ChangeDetectionStrategy, Component, effect, input, signal }\n from '@angular/core';\nimport { ButtonModule as PrimengButtonModule } from 'primeng/button';\n\n@Component({\n selector: 'cl-icon-button',\n imports: [\n PrimengButtonModule,\n ],\n templateUrl: './icon-button.component.html',\n styleUrl: './icon-button.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class IconButtonComponent {\n readonly disabled = input(false);\n readonly icon = input.required<string>();\n readonly loading = input(false);\n readonly severity = input<Severity>('');\n readonly type = input<'button' | 'submit'>('button');\n\n readonly class = signal('p-button-icon-only p-button-text');\n\n constructor() {\n effect(() => {\n this.updateClass(this.severity());\n });\n }\n\n private updateClass(severity: string) {\n this.class.update(value => value + ' p-button-' + severity);\n }\n}\n\ntype Severity = '' | 'danger' | 'help' | 'info' | 'secondary' | 'success' | 'warning';\n","<button [class]=\"class()\" [disabled]=\"disabled()\" [icon]=\"icon()\" [loading]=\"loading()\" pButton [type]=\"type()\">\n</button>\n","\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, effect, inject }\n from '@angular/core';\nimport { DialogModule } from 'primeng/dialog';\nimport { ProgressBarModule } from 'primeng/progressbar';\n\nimport { ClStateService } from '../../services';\n\n@Component({\n selector: 'cl-progress-bar-dialog',\n imports: [\n DialogModule,\n ProgressBarModule\n],\n templateUrl: './progress-bar-dialog.component.html',\n styleUrl: './progress-bar-dialog.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ProgressBarDialogComponent {\n private readonly cdRef = inject(ChangeDetectorRef);\n private readonly clStateService = inject(ClStateService);\n\n visible = false;\n\n constructor () {\n effect(() => {\n switch (this.clStateService.stateMessage()?.type) {\n case 'progess-bar-dialog-close':\n this.visible = false;\n\n this.cdRef.markForCheck();\n break;\n case 'progess-bar-dialog-open':\n this.visible = true;\n\n this.cdRef.markForCheck();\n break;\n }\n });\n }\n}\n","<p-dialog [closable]=\"false\" [closeOnEscape]=\"false\" [draggable]=\"false\" [modal]=\"true\" [resizable]=\"false\"\n [showHeader]=\"true\" styleClass=\"w-4\" [(visible)]=\"visible\">\n <p-progressBar mode=\"indeterminate\" />\n</p-dialog>\n","import { Injectable, inject } from '@angular/core';\n\nimport { ClStateService } from '../../services';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ProgressBarDialogService {\n private readonly clStateService = inject(ClStateService);\n\n close(): void {\n this.clStateService.updateStateMessage({\n type: 'progess-bar-dialog-close'\n });\n }\n\n open(): void {\n this.clStateService.updateStateMessage({\n type: 'progess-bar-dialog-open'\n });\n }\n}\n","import { ChangeDetectionStrategy, Component, input } from '@angular/core';\n\n@Component({\n selector: 'cl-readonly-value',\n imports: [],\n templateUrl: './readonly-value.component.html',\n styleUrl: './readonly-value.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ReadonlyValueComponent {\n readonly label = input<string>();\n readonly value = input<any>();\n}\n","<div>\n <strong>{{ label() }}</strong>\n <div>{{ value() }}</div>\n</div>\n","import { ChangeDetectionStrategy, Component, effect, inject } from '@angular/core';\nimport { ToastModule } from 'primeng/toast';\nimport { MessageService, ToastMessageOptions } from 'primeng/api';\n\nimport { ClStateService } from '../../services';\n\n@Component({\n selector: 'cl-toasts',\n imports: [\n ToastModule,\n ],\n templateUrl: './toasts.component.html',\n styleUrl: './toasts.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ToastsComponent {\n private readonly clStateService = inject(ClStateService);\n private readonly messageService = inject(MessageService);\n\n constructor () {\n effect(() => {\n const message = this.clStateService.stateMessage();\n\n if (message?.type === 'toast') {\n const {detail, severity, summary} = message?.payload;\n\n this.add(detail, summary, severity, 'general');\n }\n });\n }\n\n private add(detail: string, summary: string, severity: string, key?: string): void {\n const message: ToastMessageOptions = { detail, severity, summary };\n\n if (key) {\n message.key = key;\n }\n\n setTimeout(() => {\n this.messageService.add(message);\n });\n }\n}\n","<p-toast key=\"general\" position=\"bottom-center\" />\n","import { Injectable, inject } from '@angular/core';\n\nimport { ClStateService } from '../../services';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ToastsService {\n private readonly clStateService = inject(ClStateService);\n\n toastError(detail: string, summary = 'Error'): void {\n this.clStateService.updateStateMessage({\n payload: {\n detail,\n severity: 'error',\n summary\n },\n type: 'toast'\n });\n }\n\n toastSuccess(detail: string, summary = 'Success'): void {\n this.clStateService.updateStateMessage({\n payload: {\n detail,\n severity: 'success',\n summary\n },\n type: 'toast'\n });\n }\n\n toastWarning(detail: string, summary = 'Warning'): void {\n this.clStateService.updateStateMessage({\n payload: {\n detail,\n severity: 'warning',\n summary\n },\n type: 'toast'\n });\n }\n}\n","import { ChangeDetectionStrategy, Component, OnDestroy, signal } from '@angular/core';\n\nimport { AbstractControl, ControlValueAccessor, FormArray, FormControl, FormGroup,\n ValidationErrors, Validator } from '@angular/forms';\nimport { Subscription } from 'rxjs';\n\n@Component({\n imports: [],\n template: '',\n styles: '',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class BaseFormComponent implements ControlValueAccessor, OnDestroy,\n Validator {\n readonly control = this.getForm();\n readonly disabled = signal(false);\n protected readonly subscription = new Subscription();\n\n ngOnDestroy(): void {\n this.subscription.unsubscribe();\n }\n\n // Control Value Accessor methods\n\n registerOnChange(fn: any): void {\n this.subscription.add(\n this.control.valueChanges.subscribe(fn)\n );\n }\n\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n if (isDisabled) {\n this.control.disable();\n } else {\n this.control.enable();\n }\n\n setTimeout(() => {\n this.disabled.set(isDisabled);\n });\n }\n\n writeValue(obj: any): void {\n if (obj) {\n this.setValue(obj);\n }\n }\n\n // Validator methods\n\n validate(control?: AbstractControl): ValidationErrors | null {\n if (this.control.invalid) {\n return { invalid: true };\n }\n\n return null;\n }\n\n // Custom protected methods\n\n protected getForm(): FormArray | FormControl | FormGroup {\n throw new Error('Not implemented.');\n }\n\n protected setValue(value: any): void {\n this.control.patchValue(value);\n\n this.onChanged(value);\n this.onTouched();\n }\n\n // Custom private methods\n\n private onChanged: any = (value: any) => {};\n\n private onTouched: any = () => {};\n\n // Getters and setters\n\n get formArray(): FormArray {\n return this.control as FormArray;\n }\n\n get formControl(): FormControl {\n return this.control as FormControl;\n }\n\n get formGroup(): FormGroup {\n return this.control as FormGroup;\n }\n}\n","\nimport { ChangeDetectionStrategy, Component, ElementRef, input, output, signal,\n viewChild } from '@angular/core';\nimport { ControlValueAccessor, FormsModule, NG_VALUE_ACCESSOR }\nfrom '@angular/forms';\nimport { cloneDeep } from 'lodash-es';\nimport { ButtonModule } from 'primeng/button';\nimport { v4 } from 'uuid';\n\nimport { ButtonComponent } from '../../controls/button';\n\n@Component({\n selector: 'cl-file-input',\n imports: [\n ButtonComponent,\n ButtonModule,\n FormsModule\n],\n templateUrl: './file-input.component.html',\n styleUrl: './file-input.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n multi: true,\n provide: NG_VALUE_ACCESSOR,\n useExisting: FileInputComponent,\n }\n ]\n})\nexport class FileInputComponent implements ControlValueAccessor {\n readonly directory = input('');\n readonly icon = input('pi pi-plus');\n readonly label = input('Browse');\n readonly readonly = input(false);\n readonly onDownloadEmitter = output<FileInput[]>({alias: 'onDownload'});\n readonly fileInput = viewChild<ElementRef>('fileInput');\n\n readonly fileName = signal('');\n readonly isDisabled = signal(false);\n readonly isFileSelected = signal(false);\n readonly value = signal<FileInputValue>(null);\n\n // ControlValueAccessor interface methods\n\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n setTimeout(() => {\n this.isDisabled.set(isDisabled);\n });\n }\n\n writeValue(value: FileInput[] | string | null = null): void {\n let newValue: FileInput[] = [];\n\n if (Array.isArray(value)) {\n newValue = cloneDeep(value);\n\n this.selectFile(newValue[0]);\n } else if (typeof value === 'string') {\n const hash = this.getHashFromFileName(value);\n\n const file: FileInput = {\n isNew: !value,\n hash,\n name: value,\n path: this.directory(),\n toDelete: false\n };\n\n newValue.push(file);\n\n this.selectFile(file);\n }\n\n this.setValue(newValue);\n }\n\n // Custom public methods\n\n onClick(): void {\n this.fileInput()?.nativeElement.click();\n this.onTouched();\n }\n\n onFileSelected(event: Event): void {\n const file: File = (event.target as HTMLInputElement).files![0];\n\n if (file) {\n const {extension, name} = this.getFileNameParts(file.name);\n const hash = v4().split('-')[0];\n \n const newFile: FileInput = {\n file,\n hash,\n isNew: true,\n name: `${name}.${hash}.${extension}`,\n path: this.directory(),\n toDelete: false\n };\n const newValue = [...this.value()!] as FileInput[];\n\n newValue.push(newFile);\n\n this.selectFile(newFile);\n this.setValue(newValue);\n }\n }\n\n onDelete(): void {\n const newValue = [...this.value()!];\n const file = this.getLastFile(newValue);\n\n if (file) {\n if (file.isNew) {\n newValue.pop();\n } else {\n file.toDelete = true;\n }\n\n this.fileName.set('');\n this.isFileSelected.set(false);\n this.setValue(newValue);\n }\n }\n\n onDownload(): void {\n this.onDownloadEmitter.emit(this.value() as FileInput[]);\n }\n\n // Custom private methods\n\n private getFileNameParts(fileName: string): {extension: string; name: string;} {\n const index = fileName.lastIndexOf('.'); \n\n return {\n extension: fileName.substring(index + 1),\n name: fileName.substring(0, index)\n };\n }\n\n private getHashFromFileName(fileName: string): string {\n const index = fileName.lastIndexOf('.');\n const nameIndex = fileName.lastIndexOf('.', index - 1);\n\n return fileName.substring(nameIndex + 1, index);\n }\n\n private getLastFile(value: FileInput[]): FileInput | undefined {\n return value[value.length - 1];\n }\n\n private getSafeFileName(file: FileInput): string {\n const {extension, name} = this.getFileNameParts(file.name);\n const hash = this.getHashFromFileName(file.name);\n\n const fileName = name.replace(`.${hash}`, '');\n\n return `${decodeURIComponent(fileName)}.${extension}`;\n }\n\n private onChange: any = (value: FileInputValue) => {};\n\n private onTouched: any = () => {};\n\n private selectFile(file: FileInput): void {\n const safeFileName = this.getSafeFileName(file);\n\n this.fileName.set(safeFileName);\n this.isFileSelected.set(true);\n }\n\n private setValue(value: FileInputValue): void {\n this.value.set(value);\n\n this.onChange(value);\n this.onTouched();\n }\n}\n\nexport interface FileInput {\n file?: File;\n hash: string;\n isNew: boolean;\n name: string;\n path: string;\n toDelete: boolean;\n}\n\ntype FileInputValue = FileInput[] | null;\n","<input type=\"hidden\" [value]=\"value()\" />\n<input (change)=\"onFileSelected($event)\" class=\"file-input\" #fileInput type=\"file\" />\n\n@if (isFileSelected()) {\n @if (readonly()) {\n <button class=\"link-button\" (click)=\"onDownload()\" type=\"button\">\n {{ fileName() }}\n </button>\n } @else {\n <div class=\"flex\">\n <cl-button class=\"mr-3\" [label]=\"fileName()\" />\n <button class=\"p-button-danger p-button-rounded p-button-text\" (click)=\"onDelete()\" [disabled]=\"isDisabled()\"\n icon=\"pi pi-trash\" pButton type=\"button\">\n </button>\n </div>\n }\n} @else {\n <cl-button (click)=\"onClick()\" [disabled]=\"isDisabled()\" [icon]=\"icon()\" [label]=\"label()\" />\n}\n\n","import { ChangeDetectionStrategy, ChangeDetectorRef, Component, inject, input,\n output} from '@angular/core';\nimport { AbstractControl, FormArray, FormControl, FormsModule, NG_VALIDATORS,\n NG_VALUE_ACCESSOR, ReactiveFormsModule, ValidationErrors, Validators }\n from '@angular/forms';\nimport { ButtonModule } from 'primeng/button';\n\nimport { BaseFormComponent } from '../base-form';\nimport { FileInput, FileInputComponent } from '../file-input';\n\n@Component({\n selector: 'cl-file-inputs',\n imports: [\n ButtonModule,\n FileInputComponent,\n FormsModule,\n ReactiveFormsModule,\n ],\n templateUrl: './file-inputs.component.html',\n styleUrl: './file-inputs.component.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n multi: true,\n provide: NG_VALIDATORS,\n useExisting: FileInputsComponent\n },\n {\n multi: true,\n provide: NG_VALUE_ACCESSOR,\n useExisting: FileInputsComponent\n }\n ]\n})\nexport class FileInputsComponent extends BaseFormComponent {\n private readonly cdRef = inject(ChangeDetectorRef);\n\n readonly directory = input('');\n readonly icon = input('pi pi-plus');\n readonly label = input('Browse');\n readonly max = input<number>(5);\n readonly readonly = input(false);\n readonly onDownloadEmitter = output<FileInput[]>({alias: 'onDownload'});\n\n onAdd(): void {\n this.formArray.push(\n new FormControl()\n );\n\n this.cdRef.markForCheck();\n }\n\n onDelete(index: number): void {\n this.formArray.removeAt(index);\n\n this.cdRef.markForCheck();\n }\n\n onDownload(file: FileInput[]): void {\n this.onDownloadEmitter.emit(file);\n }\n\n override setDisabledState(isDisabled: boolean): void {\n for (const control of this.formArray.controls) {\n if (isDisabled) {\n control.disable();\n } else {\n control.enable();\n }\n }\n }\n\n override validate(control?: AbstractControl): ValidationErrors | null {\n if (control?.hasValidator(Validators.required) && Array.isArray(control?.value)) {\n const first = control.value[0];\n\n if (!(\n typeof first === 'string' ||\n (Array.isArray(first) && first.some(({toDelete}) => toDelete === false))\n )) {\n return {\n required: true\n };\n }\n }\n\n return null;\n }\n\n override writeValue(value: FileInputsValue): void {\n if (Array.isArray(value)) {\n setTimeout(() => {\n if (value.length === 0) {\n this.onAdd();\n } else {\n for (let i = 0, j = value.length; i < j; i++) {\n this.onAdd();\n }\n\n this.setValue(value);\n }\n });\n } else if (!this.readonly()) {\n this.onAdd();\n }\n }\n\n protected override getForm(): FormArray<any> {\n return new FormArray<any>([]);\n }\n}\n\ntype FileInputsValue = FileInput[][] | null;\n","<ng-container [formGroup]=\"formGroup\">\n @for (item of formArray.value; track index; let index = $index) {\n <div class=\"flex mb-3\">\n <cl-file-input [formControlName]=\"index\" [directory]=\"directory()\" [icon]=\"icon()\" [label]=\"label()\"\n (onDownload)=\"onDownload($event)\" [readonly]=\"readonly()\" />\n @if (!readonly()) {\n @if (index === 0) {\n <button class=\"p-button-rounded p-button-text\" (click)=\"onAdd()\" [disabled]=\"formArray.length >= max()\"\n icon=\"pi pi-plus\" pButton type=\"button\">\n </button>\n } @else if (index > 0) {\n <button class=\"p-button-rounded p-button-text\" (click)=\"onDelete(index)\" icon=\"pi pi-minus\" pButton\n type=\"button\">\n </button>\n }\n }\n </div>\n }\n</ng-container>\n","import { Directive, InjectionToken } from '@angular/core';\n\nexport const ERROR_DIRECTIVE = new InjectionToken<ErrorDirective>('ErrorDirective');\n\n@Directive({\n selector: 'ff-error',\n standalone: true,\n providers: [\n { provide: ERROR_DIRECTIVE, useExisting: ErrorDirective }\n ]\n})\nexport class ErrorDirective {\n\n}\n","import { Component, InjectionToken, ViewEncapsulation, computed, contentChild }\n from '@angular/core';\nimport { FormControlName, Validators } from '@angular/forms';\n\nexport const FORM_FIELD = new InjectionToken<FormFieldComponent>('FormFieldComponent');\n\n@Component({\n selector: 'cl-form-field',\n imports: [],\n templateUrl: './form-field.component.html',\n styleUrl: './form-field.component.scss',\n // changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n { provide: FORM_FIELD, useExisting: FormFieldComponent }\n ]\n})\nexport class FormFieldComponent {\n readonly control = contentChild(FormControlName);\n\n readonly isRequired = computed(() =>\n this.control()?.control.hasValidator(Validators.required) ?? false\n );\n}\n","<div class=\"field\">\n <label class=\"block\" [class.required]=\"isRequired()\">\n <ng-content select=\"ff-label\" />\n </label>\n <div>\n <ng-content />\n </div>\n @if ((control()?.dirty || control()?.touched) && control()?.errors) {\n <small class=\"p-block p-error\">\n <ng-content select=\"ff-error\" />\n </small>\n }\n</div>\n","import { Directive, InjectionToken } from '@angular/core';\n\nexport const LABEL_DIRECTIVE = new InjectionToken<LabelDirective>('LabelDirective');\n\n@Directive({\n selector: 'ff-label',\n standalone: true,\n providers: [\n { provide: LABEL_DIRECTIVE, useExisting: LabelDirective }\n ]\n})\nexport class LabelDirective {\n\n}\n","import { NgModule } from '@angular/core';\n\nimport { ErrorDirective } from './error.directive';\nimport { FormFieldComponent } from './form-field.component';\nimport { LabelDirective } from './label.directive';\n\n@NgModule({\n exports: [\n ErrorDirective,\n FormFieldComponent,\n LabelDirective,\n ],\n imports: [\n ErrorDirective,\n FormFieldComponent,\n LabelDirective,\n ]\n})\nexport class FormFieldModule { }\n","export type ClState = {\n stateMessage: ClStateMessage | null;\n};\n\nexport interface ClStateMessage {\n key?: string;\n payload?: any;\n type: ClStateMessageType;\n};\n\nexport type ClStateMessageType = 'confirmation' | 'confirmation-accept' |\n 'confirmation-cancel' | 'content-dialog' | 'content-dialog-cancel' |\n 'content-dialog-close' | 'form-dialog' | 'form-dialog-cancel' |\n 'form-dialog-submit' | 'progess-bar-dialog-close' | 'progess-bar-dialog-open' |\n 'toast';\n","import { NgModule } from '@angular/core';\nimport { ConfirmationService, MessageService } from 'primeng/api';\nimport { DialogService, DynamicDialogConfig } from 'primeng/dynamicdialog';\n\n@NgModule({\n providers: [\n ConfirmationService,\n DialogService,\n DynamicDialogConfig,\n MessageService,\n ]\n})\nexport class CommonLibModule { }\n","import { concatWith, Observable, toArray } from 'rxjs';\n\nexport function concatWithToArray<T>(values: Observable<T>[]): Observable<T[]> {\n return values[0].pipe(\n concatWith(...values.slice(1)),\n toArray()\n );\n}\n","/*\n * Public API Surface of common-lib\n */\n\n// Controls\n\nexport * from './lib/controls/button';\nexport * from './lib/controls/confirmation';\nexport * from './lib/controls/content-dialog';\nexport * from './lib/controls/form-dialog';\nexport * from './lib/controls/icon-button';\nexport * from './lib/controls/progress-bar-dialog';\nexport * from './lib/controls/readonly-value';\nexport * from './lib/controls/toasts';\n\n// Forms\n\nexport * from './lib/forms/base-form';\nexport * from './lib/forms/file-input';\nexport * from './lib/forms/file-inputs';\nexport * from './lib/forms/form-field';\n\n// Models\n\nexport * from './lib/models';\n\n// Modules\n\nexport * from './lib/common-lib.module';\n\n// RXJS Operators\n\nexport * from './lib/rxjs-operators';\n\n// Services\n\nexport * from './lib/services'\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["PrimengButtonModule","PngConfirmationService","i1","i2","ConfirmationService"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;MAgBa,eAAe,CAAA;AACjB,IAAA,KAAK,GAAG,KAAK,CAAc,SAAS,4EAAC;AACrC,IAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,+EAAC;IACvB,IAAI,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAU;IACtB,KAAK,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,OAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAU;AACvB,IAAA,OAAO,GAAG,KAAK,CAAC,KAAK,8EAAC;AACtB,IAAA,IAAI,GAAG,KAAK,CAAsB,QAAQ,2EAAC;AAE3C,IAAA,WAAW,GAAG,MAAM,CAAC,EAAE,kFAAC;AAEjC,IAAA,WAAA,GAAA;QACE,MAAM,CAAC,MAAK;AACV,YAAA,QAAQ,IAAI,CAAC,KAAK,EAAE;AAClB,gBAAA,KAAK,QAAQ;AACX,oBAAA,I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,cAAc;AACf;AACF,iBAAA;;;ACTA;;MCIY,eAAe,CAAA;wGAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;yGAAf,eAAe,EAAA,CAAA;AAAf,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAAA,SAAA,EAPf;YACTC,qBAAmB;YACnB,aAAa;YACb,mBAAmB;YACnB,cAAc;AACf,SAAA,EAAA,CAAA;;4FAEU,eAAe,EAAA,UAAA,EAAA,CAAA;kBAR3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,SAAS,EAAE;wBACTA,qBAAmB;wBACnB,aAAa;wBACb,mBAAmB;wBACnB,cAAc;AACf;AACF,iBAAA;;;ACTK,SAAU,iBAAiB,CAAI,MAAuB,EAAA;IAC1D,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CACjB,UAAU,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9B,OAAO,EAAE,CACZ;AACH;;ACPA;;AAEG;AAEH;;ACJA;;AAEG;;;;"}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jm-7c3/common-lib",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
7
|
-
"@ngrx/signals": "^
|
|
5
|
+
"@angular/common": "^21.2.17",
|
|
6
|
+
"@angular/core": "^21.2.17",
|
|
7
|
+
"@ngrx/signals": "^21.1.1",
|
|
8
8
|
"lodash-es": "^4.18.1",
|
|
9
|
-
"primeflex": "^
|
|
10
|
-
"primeicons": "^
|
|
11
|
-
"primeng": "^
|
|
12
|
-
"uuid": "^
|
|
9
|
+
"primeflex": "^4.0.0",
|
|
10
|
+
"primeicons": "^7.0.0",
|
|
11
|
+
"primeng": "^21.1.9",
|
|
12
|
+
"uuid": "^14.0.1"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"tslib": "^2.8.1"
|
|
@@ -20,14 +20,15 @@
|
|
|
20
20
|
"url": "https://github.com/jm-7c3/ngx-common-library.git"
|
|
21
21
|
},
|
|
22
22
|
"module": "fesm2022/jm-7c3-common-lib.mjs",
|
|
23
|
-
"typings": "
|
|
23
|
+
"typings": "types/jm-7c3-common-lib.d.ts",
|
|
24
24
|
"exports": {
|
|
25
25
|
"./package.json": {
|
|
26
26
|
"default": "./package.json"
|
|
27
27
|
},
|
|
28
28
|
".": {
|
|
29
|
-
"types": "./
|
|
29
|
+
"types": "./types/jm-7c3-common-lib.d.ts",
|
|
30
30
|
"default": "./fesm2022/jm-7c3-common-lib.mjs"
|
|
31
31
|
}
|
|
32
|
-
}
|
|
32
|
+
},
|
|
33
|
+
"type": "module"
|
|
33
34
|
}
|
|
Binary file
|
|
File without changes
|