@jm-7c3/common-lib 21.1.0 → 22.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,20 @@ import { cloneDeep } from 'lodash-es';
|
|
|
24
24
|
import { v4 } from 'uuid';
|
|
25
25
|
|
|
26
26
|
class ButtonComponent {
|
|
27
|
-
color = input('primary',
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
color = input('primary', /* @ts-ignore */
|
|
28
|
+
...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ []));
|
|
29
|
+
disabled = input(false, /* @ts-ignore */
|
|
30
|
+
...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
31
|
+
icon = input(/* @ts-ignore */
|
|
32
|
+
...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
33
|
+
label = input(/* @ts-ignore */
|
|
34
|
+
...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
|
|
35
|
+
loading = input(false, /* @ts-ignore */
|
|
36
|
+
...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
|
|
37
|
+
type = input('button', /* @ts-ignore */
|
|
38
|
+
...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
|
|
39
|
+
buttonClass = signal('', /* @ts-ignore */
|
|
40
|
+
...(ngDevMode ? [{ debugName: "buttonClass" }] : /* istanbul ignore next */ []));
|
|
34
41
|
constructor() {
|
|
35
42
|
effect(() => {
|
|
36
43
|
switch (this.color()) {
|
|
@@ -52,10 +59,10 @@ class ButtonComponent {
|
|
|
52
59
|
}
|
|
53
60
|
});
|
|
54
61
|
}
|
|
55
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
56
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
62
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
63
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", 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
64
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
59
66
|
type: Component,
|
|
60
67
|
args: [{ selector: 'cl-button', imports: [
|
|
61
68
|
ButtonModule
|
|
@@ -75,10 +82,10 @@ class ClStateService {
|
|
|
75
82
|
updateStateMessage(stateMessage) {
|
|
76
83
|
patchState(this.state, { stateMessage });
|
|
77
84
|
}
|
|
78
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
79
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
85
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
86
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClStateService, providedIn: 'root' });
|
|
80
87
|
}
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ClStateService, decorators: [{
|
|
82
89
|
type: Injectable,
|
|
83
90
|
args: [{
|
|
84
91
|
providedIn: 'root'
|
|
@@ -89,8 +96,10 @@ class ConfirmationComponent {
|
|
|
89
96
|
env;
|
|
90
97
|
clStateService = inject(ClStateService);
|
|
91
98
|
confirmationService = inject(ConfirmationService$1);
|
|
92
|
-
acceptLabel = signal('Accept',
|
|
93
|
-
|
|
99
|
+
acceptLabel = signal('Accept', /* @ts-ignore */
|
|
100
|
+
...(ngDevMode ? [{ debugName: "acceptLabel" }] : /* istanbul ignore next */ []));
|
|
101
|
+
cancelLabel = signal('Cancel', /* @ts-ignore */
|
|
102
|
+
...(ngDevMode ? [{ debugName: "cancelLabel" }] : /* istanbul ignore next */ []));
|
|
94
103
|
constructor(env) {
|
|
95
104
|
this.env = env;
|
|
96
105
|
const confirmationConfig = this.env?.commonLib?.confirmation;
|
|
@@ -133,10 +142,10 @@ class ConfirmationComponent {
|
|
|
133
142
|
},
|
|
134
143
|
});
|
|
135
144
|
}
|
|
136
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
137
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
145
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ConfirmationComponent, deps: [{ token: 'env' }], target: i0.ɵɵFactoryTarget.Component });
|
|
146
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", 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
147
|
}
|
|
139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ConfirmationComponent, decorators: [{
|
|
140
149
|
type: Component,
|
|
141
150
|
args: [{ selector: 'cl-confirmation', imports: [
|
|
142
151
|
ButtonComponent,
|
|
@@ -173,10 +182,10 @@ class ConfirmationService {
|
|
|
173
182
|
onCancel(key) {
|
|
174
183
|
return this.clStateService.onStateMessage('confirmation-cancel').pipe(filter(message => message?.key === key), map(() => null));
|
|
175
184
|
}
|
|
176
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
177
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
185
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ConfirmationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
186
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ConfirmationService, providedIn: 'root' });
|
|
178
187
|
}
|
|
179
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ConfirmationService, decorators: [{
|
|
180
189
|
type: Injectable,
|
|
181
190
|
args: [{
|
|
182
191
|
providedIn: 'root'
|
|
@@ -187,9 +196,12 @@ class ContentDialogComponent {
|
|
|
187
196
|
env;
|
|
188
197
|
dialogConfig = inject(DynamicDialogConfig);
|
|
189
198
|
dialogRef = inject(DynamicDialogRef);
|
|
190
|
-
component = signal(null,
|
|
191
|
-
|
|
192
|
-
|
|
199
|
+
component = signal(null, /* @ts-ignore */
|
|
200
|
+
...(ngDevMode ? [{ debugName: "component" }] : /* istanbul ignore next */ []));
|
|
201
|
+
closeLabel = signal('Close', /* @ts-ignore */
|
|
202
|
+
...(ngDevMode ? [{ debugName: "closeLabel" }] : /* istanbul ignore next */ []));
|
|
203
|
+
header = signal('', /* @ts-ignore */
|
|
204
|
+
...(ngDevMode ? [{ debugName: "header" }] : /* istanbul ignore next */ []));
|
|
193
205
|
constructor(env) {
|
|
194
206
|
this.env = env;
|
|
195
207
|
const contentDialogConfig = this.env?.commonLib?.contentDialog;
|
|
@@ -217,10 +229,10 @@ class ContentDialogComponent {
|
|
|
217
229
|
onClose() {
|
|
218
230
|
this.dialogRef.close();
|
|
219
231
|
}
|
|
220
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
221
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
232
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ContentDialogComponent, deps: [{ token: 'env' }], target: i0.ɵɵFactoryTarget.Component });
|
|
233
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", 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
234
|
}
|
|
223
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ContentDialogComponent, decorators: [{
|
|
224
236
|
type: Component,
|
|
225
237
|
args: [{ selector: 'cl-content-dialog', imports: [
|
|
226
238
|
ButtonComponent,
|
|
@@ -254,10 +266,10 @@ class ContentDialogService {
|
|
|
254
266
|
});
|
|
255
267
|
});
|
|
256
268
|
}
|
|
257
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
258
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
269
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ContentDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
270
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ContentDialogService, providedIn: 'root' });
|
|
259
271
|
}
|
|
260
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ContentDialogService, decorators: [{
|
|
261
273
|
type: Injectable,
|
|
262
274
|
args: [{
|
|
263
275
|
providedIn: 'root'
|
|
@@ -270,11 +282,16 @@ class FormDialogComponent {
|
|
|
270
282
|
dialogConfig = inject(DynamicDialogConfig);
|
|
271
283
|
dialogRef = inject(DynamicDialogRef);
|
|
272
284
|
formContainer = viewChild('formContainer', { ...(ngDevMode ? { debugName: "formContainer" } : /* istanbul ignore next */ {}), read: ViewContainerRef });
|
|
273
|
-
cancelLabel = signal('Cancel',
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
285
|
+
cancelLabel = signal('Cancel', /* @ts-ignore */
|
|
286
|
+
...(ngDevMode ? [{ debugName: "cancelLabel" }] : /* istanbul ignore next */ []));
|
|
287
|
+
form = signal(null, /* @ts-ignore */
|
|
288
|
+
...(ngDevMode ? [{ debugName: "form" }] : /* istanbul ignore next */ []));
|
|
289
|
+
header = signal('', /* @ts-ignore */
|
|
290
|
+
...(ngDevMode ? [{ debugName: "header" }] : /* istanbul ignore next */ []));
|
|
291
|
+
hideSubmitButton = signal(false, /* @ts-ignore */
|
|
292
|
+
...(ngDevMode ? [{ debugName: "hideSubmitButton" }] : /* istanbul ignore next */ []));
|
|
293
|
+
submitLabel = signal('Submit', /* @ts-ignore */
|
|
294
|
+
...(ngDevMode ? [{ debugName: "submitLabel" }] : /* istanbul ignore next */ []));
|
|
278
295
|
constructor(env) {
|
|
279
296
|
this.env = env;
|
|
280
297
|
const formDialogConfig = this.env?.commonLib?.formDialog;
|
|
@@ -321,10 +338,10 @@ class FormDialogComponent {
|
|
|
321
338
|
this.dialogRef.close(this.form().value);
|
|
322
339
|
}
|
|
323
340
|
}
|
|
324
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
325
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
341
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FormDialogComponent, deps: [{ token: 'env' }], target: i0.ɵɵFactoryTarget.Component });
|
|
342
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", 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
343
|
}
|
|
327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
344
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FormDialogComponent, decorators: [{
|
|
328
345
|
type: Component,
|
|
329
346
|
args: [{ selector: 'cl-form-dialog', imports: [
|
|
330
347
|
ButtonComponent,
|
|
@@ -373,10 +390,10 @@ class FormDialogService {
|
|
|
373
390
|
}
|
|
374
391
|
});
|
|
375
392
|
}
|
|
376
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
377
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
393
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FormDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
394
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FormDialogService, providedIn: 'root' });
|
|
378
395
|
}
|
|
379
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FormDialogService, decorators: [{
|
|
380
397
|
type: Injectable,
|
|
381
398
|
args: [{
|
|
382
399
|
providedIn: 'root'
|
|
@@ -384,12 +401,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
384
401
|
}] });
|
|
385
402
|
|
|
386
403
|
class IconButtonComponent {
|
|
387
|
-
disabled = input(false,
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
404
|
+
disabled = input(false, /* @ts-ignore */
|
|
405
|
+
...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
406
|
+
icon = input.required(/* @ts-ignore */
|
|
407
|
+
...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
408
|
+
loading = input(false, /* @ts-ignore */
|
|
409
|
+
...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
|
|
410
|
+
severity = input('', /* @ts-ignore */
|
|
411
|
+
...(ngDevMode ? [{ debugName: "severity" }] : /* istanbul ignore next */ []));
|
|
412
|
+
type = input('button', /* @ts-ignore */
|
|
413
|
+
...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
|
|
414
|
+
class = signal('p-button-icon-only p-button-text', /* @ts-ignore */
|
|
415
|
+
...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
|
|
393
416
|
constructor() {
|
|
394
417
|
effect(() => {
|
|
395
418
|
this.updateClass(this.severity());
|
|
@@ -398,10 +421,10 @@ class IconButtonComponent {
|
|
|
398
421
|
updateClass(severity) {
|
|
399
422
|
this.class.update(value => value + ' p-button-' + severity);
|
|
400
423
|
}
|
|
401
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
402
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
424
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: IconButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
425
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", 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
426
|
}
|
|
404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: IconButtonComponent, decorators: [{
|
|
405
428
|
type: Component,
|
|
406
429
|
args: [{ selector: 'cl-icon-button', imports: [
|
|
407
430
|
ButtonModule,
|
|
@@ -426,10 +449,10 @@ class ProgressBarDialogComponent {
|
|
|
426
449
|
}
|
|
427
450
|
});
|
|
428
451
|
}
|
|
429
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
430
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
452
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProgressBarDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
453
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", 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
454
|
}
|
|
432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProgressBarDialogComponent, decorators: [{
|
|
433
456
|
type: Component,
|
|
434
457
|
args: [{ selector: 'cl-progress-bar-dialog', imports: [
|
|
435
458
|
DialogModule,
|
|
@@ -449,10 +472,10 @@ class ProgressBarDialogService {
|
|
|
449
472
|
type: 'progess-bar-dialog-open'
|
|
450
473
|
});
|
|
451
474
|
}
|
|
452
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
453
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
475
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProgressBarDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
476
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProgressBarDialogService, providedIn: 'root' });
|
|
454
477
|
}
|
|
455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ProgressBarDialogService, decorators: [{
|
|
456
479
|
type: Injectable,
|
|
457
480
|
args: [{
|
|
458
481
|
providedIn: 'root'
|
|
@@ -460,12 +483,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
460
483
|
}] });
|
|
461
484
|
|
|
462
485
|
class ReadonlyValueComponent {
|
|
463
|
-
label = input(
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
486
|
+
label = input(/* @ts-ignore */
|
|
487
|
+
...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
|
|
488
|
+
value = input(/* @ts-ignore */
|
|
489
|
+
...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
|
|
490
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ReadonlyValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
491
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", 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
492
|
}
|
|
468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ReadonlyValueComponent, decorators: [{
|
|
469
494
|
type: Component,
|
|
470
495
|
args: [{ selector: 'cl-readonly-value', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>\n <strong>{{ label() }}</strong>\n <div>{{ value() }}</div>\n</div>\n" }]
|
|
471
496
|
}], 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 +516,10 @@ class ToastsComponent {
|
|
|
491
516
|
this.messageService.add(message);
|
|
492
517
|
});
|
|
493
518
|
}
|
|
494
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
495
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
519
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ToastsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
520
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", 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
521
|
}
|
|
497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ToastsComponent, decorators: [{
|
|
498
523
|
type: Component,
|
|
499
524
|
args: [{ selector: 'cl-toasts', imports: [
|
|
500
525
|
ToastModule,
|
|
@@ -533,10 +558,10 @@ class ToastsService {
|
|
|
533
558
|
type: 'toast'
|
|
534
559
|
});
|
|
535
560
|
}
|
|
536
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
537
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
561
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ToastsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
562
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ToastsService, providedIn: 'root' });
|
|
538
563
|
}
|
|
539
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
564
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ToastsService, decorators: [{
|
|
540
565
|
type: Injectable,
|
|
541
566
|
args: [{
|
|
542
567
|
providedIn: 'root'
|
|
@@ -545,7 +570,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
545
570
|
|
|
546
571
|
class BaseFormComponent {
|
|
547
572
|
control = this.getForm();
|
|
548
|
-
disabled = signal(false,
|
|
573
|
+
disabled = signal(false, /* @ts-ignore */
|
|
574
|
+
...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
549
575
|
subscription = new Subscription();
|
|
550
576
|
ngOnDestroy() {
|
|
551
577
|
this.subscription.unsubscribe();
|
|
@@ -602,25 +628,34 @@ class BaseFormComponent {
|
|
|
602
628
|
get formGroup() {
|
|
603
629
|
return this.control;
|
|
604
630
|
}
|
|
605
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
606
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
631
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: BaseFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
632
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: BaseFormComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: '', isInline: true, styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
607
633
|
}
|
|
608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: BaseFormComponent, decorators: [{
|
|
609
635
|
type: Component,
|
|
610
636
|
args: [{ imports: [], template: '', changeDetection: ChangeDetectionStrategy.OnPush }]
|
|
611
637
|
}] });
|
|
612
638
|
|
|
613
639
|
class FileInputComponent {
|
|
614
|
-
directory = input('',
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
640
|
+
directory = input('', /* @ts-ignore */
|
|
641
|
+
...(ngDevMode ? [{ debugName: "directory" }] : /* istanbul ignore next */ []));
|
|
642
|
+
icon = input('pi pi-plus', /* @ts-ignore */
|
|
643
|
+
...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
644
|
+
label = input('Browse', /* @ts-ignore */
|
|
645
|
+
...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
646
|
+
readonly = input(false, /* @ts-ignore */
|
|
647
|
+
...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
|
|
618
648
|
onDownloadEmitter = output({ alias: 'onDownload' });
|
|
619
|
-
fileInput = viewChild('fileInput',
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
649
|
+
fileInput = viewChild('fileInput', /* @ts-ignore */
|
|
650
|
+
...(ngDevMode ? [{ debugName: "fileInput" }] : /* istanbul ignore next */ []));
|
|
651
|
+
fileName = signal('', /* @ts-ignore */
|
|
652
|
+
...(ngDevMode ? [{ debugName: "fileName" }] : /* istanbul ignore next */ []));
|
|
653
|
+
isDisabled = signal(false, /* @ts-ignore */
|
|
654
|
+
...(ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []));
|
|
655
|
+
isFileSelected = signal(false, /* @ts-ignore */
|
|
656
|
+
...(ngDevMode ? [{ debugName: "isFileSelected" }] : /* istanbul ignore next */ []));
|
|
657
|
+
value = signal(null, /* @ts-ignore */
|
|
658
|
+
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
624
659
|
// ControlValueAccessor interface methods
|
|
625
660
|
registerOnChange(fn) {
|
|
626
661
|
this.onChange = fn;
|
|
@@ -729,8 +764,8 @@ class FileInputComponent {
|
|
|
729
764
|
this.onChange(value);
|
|
730
765
|
this.onTouched();
|
|
731
766
|
}
|
|
732
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
733
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
767
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FileInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
768
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", 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
769
|
{
|
|
735
770
|
multi: true,
|
|
736
771
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -738,7 +773,7 @@ class FileInputComponent {
|
|
|
738
773
|
}
|
|
739
774
|
], 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
775
|
}
|
|
741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
776
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FileInputComponent, decorators: [{
|
|
742
777
|
type: Component,
|
|
743
778
|
args: [{ selector: 'cl-file-input', imports: [
|
|
744
779
|
ButtonComponent,
|
|
@@ -755,11 +790,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
755
790
|
|
|
756
791
|
class FileInputsComponent extends BaseFormComponent {
|
|
757
792
|
cdRef = inject(ChangeDetectorRef);
|
|
758
|
-
directory = input('',
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
793
|
+
directory = input('', /* @ts-ignore */
|
|
794
|
+
...(ngDevMode ? [{ debugName: "directory" }] : /* istanbul ignore next */ []));
|
|
795
|
+
icon = input('pi pi-plus', /* @ts-ignore */
|
|
796
|
+
...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
797
|
+
label = input('Browse', /* @ts-ignore */
|
|
798
|
+
...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
799
|
+
max = input(5, /* @ts-ignore */
|
|
800
|
+
...(ngDevMode ? [{ debugName: "max" }] : /* istanbul ignore next */ []));
|
|
801
|
+
readonly = input(false, /* @ts-ignore */
|
|
802
|
+
...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
|
|
763
803
|
onDownloadEmitter = output({ alias: 'onDownload' });
|
|
764
804
|
onAdd() {
|
|
765
805
|
this.formArray.push(new FormControl());
|
|
@@ -815,8 +855,8 @@ class FileInputsComponent extends BaseFormComponent {
|
|
|
815
855
|
getForm() {
|
|
816
856
|
return new FormArray([]);
|
|
817
857
|
}
|
|
818
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
819
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
858
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FileInputsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
859
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", 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
860
|
{
|
|
821
861
|
multi: true,
|
|
822
862
|
provide: NG_VALIDATORS,
|
|
@@ -829,7 +869,7 @@ class FileInputsComponent extends BaseFormComponent {
|
|
|
829
869
|
}
|
|
830
870
|
], 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
871
|
}
|
|
832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FileInputsComponent, decorators: [{
|
|
833
873
|
type: Component,
|
|
834
874
|
args: [{ selector: 'cl-file-inputs', imports: [
|
|
835
875
|
ButtonModule,
|
|
@@ -852,12 +892,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
852
892
|
|
|
853
893
|
const ERROR_DIRECTIVE = new InjectionToken('ErrorDirective');
|
|
854
894
|
class ErrorDirective {
|
|
855
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
856
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
895
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ErrorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
896
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: ErrorDirective, isStandalone: true, selector: "ff-error", providers: [
|
|
857
897
|
{ provide: ERROR_DIRECTIVE, useExisting: ErrorDirective }
|
|
858
898
|
], ngImport: i0 });
|
|
859
899
|
}
|
|
860
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ErrorDirective, decorators: [{
|
|
861
901
|
type: Directive,
|
|
862
902
|
args: [{
|
|
863
903
|
selector: 'ff-error',
|
|
@@ -870,28 +910,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
870
910
|
|
|
871
911
|
const FORM_FIELD = new InjectionToken('FormFieldComponent');
|
|
872
912
|
class FormFieldComponent {
|
|
873
|
-
control = contentChild(FormControlName,
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
913
|
+
control = contentChild(FormControlName, /* @ts-ignore */
|
|
914
|
+
...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
|
|
915
|
+
isRequired = computed(() => this.control()?.control.hasValidator(Validators.required) ?? false, /* @ts-ignore */
|
|
916
|
+
...(ngDevMode ? [{ debugName: "isRequired" }] : /* istanbul ignore next */ []));
|
|
917
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
918
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: FormFieldComponent, isStandalone: true, selector: "cl-form-field", providers: [
|
|
877
919
|
{ provide: FORM_FIELD, useExisting: FormFieldComponent }
|
|
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 });
|
|
920
|
+
], 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: [""], changeDetection: i0.ChangeDetectionStrategy.Eager, encapsulation: i0.ViewEncapsulation.None });
|
|
879
921
|
}
|
|
880
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
922
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FormFieldComponent, decorators: [{
|
|
881
923
|
type: Component,
|
|
882
|
-
args: [{ selector: 'cl-form-field', imports: [], encapsulation: ViewEncapsulation.None, providers: [
|
|
924
|
+
args: [{ selector: 'cl-form-field', imports: [], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Eager, providers: [
|
|
883
925
|
{ provide: FORM_FIELD, useExisting: FormFieldComponent }
|
|
884
926
|
], 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" }]
|
|
885
927
|
}], propDecorators: { control: [{ type: i0.ContentChild, args: [i0.forwardRef(() => FormControlName), { isSignal: true }] }] } });
|
|
886
928
|
|
|
887
929
|
const LABEL_DIRECTIVE = new InjectionToken('LabelDirective');
|
|
888
930
|
class LabelDirective {
|
|
889
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
890
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
931
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
932
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: LabelDirective, isStandalone: true, selector: "ff-label", providers: [
|
|
891
933
|
{ provide: LABEL_DIRECTIVE, useExisting: LabelDirective }
|
|
892
934
|
], ngImport: i0 });
|
|
893
935
|
}
|
|
894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
936
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: LabelDirective, decorators: [{
|
|
895
937
|
type: Directive,
|
|
896
938
|
args: [{
|
|
897
939
|
selector: 'ff-label',
|
|
@@ -903,15 +945,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
903
945
|
}] });
|
|
904
946
|
|
|
905
947
|
class FormFieldModule {
|
|
906
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
907
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
948
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
949
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: FormFieldModule, imports: [ErrorDirective,
|
|
908
950
|
FormFieldComponent,
|
|
909
951
|
LabelDirective], exports: [ErrorDirective,
|
|
910
952
|
FormFieldComponent,
|
|
911
953
|
LabelDirective] });
|
|
912
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
954
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FormFieldModule });
|
|
913
955
|
}
|
|
914
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
956
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FormFieldModule, decorators: [{
|
|
915
957
|
type: NgModule,
|
|
916
958
|
args: [{
|
|
917
959
|
exports: [
|
|
@@ -930,16 +972,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
930
972
|
;
|
|
931
973
|
|
|
932
974
|
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: "
|
|
975
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CommonLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
976
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.5", ngImport: i0, type: CommonLibModule });
|
|
977
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CommonLibModule, providers: [
|
|
936
978
|
ConfirmationService$1,
|
|
937
979
|
DialogService,
|
|
938
980
|
DynamicDialogConfig,
|
|
939
981
|
MessageService,
|
|
940
982
|
] });
|
|
941
983
|
}
|
|
942
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
984
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CommonLibModule, decorators: [{
|
|
943
985
|
type: NgModule,
|
|
944
986
|
args: [{
|
|
945
987
|
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","i1","i2","ConfirmationService"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;MAgBa,eAAe,CAAA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BAAA;;;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, ChangeDetectionStrategy }\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 changeDetection: ChangeDetectionStrategy.Eager,\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;IACjB,KAAK,GAAG,KAAK,CAAc,SAAS;8EAAC;IACrC,QAAQ,GAAG,KAAK,CAAC,KAAK;iFAAC;AACvB,IAAA,IAAI,GAAG,KAAK;wFAAU;AACtB,IAAA,KAAK,GAAG,KAAK;yFAAU;IACvB,OAAO,GAAG,KAAK,CAAC,KAAK;gFAAC;IACtB,IAAI,GAAG,KAAK,CAAsB,QAAQ;6EAAC;IAE3C,WAAW,GAAG,MAAM,CAAC,EAAE;oFAAC;AAEjC,IAAA,WAAA,GAAA;QACE,MAAM,CAAC,MAAK;AACV,YAAA,QAAQ,IAAI,CAAC,KAAK,EAAE;AAClB,gBAAA,KAAK,QAAQ;AACX,oBAAA,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,+CAA+C,CAAC;oBACrE;AACF,gBAAA,KAAK,MAAM;AACT,oBAAA,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,6BAA6B,CAAC;oBACnD;AACF,gBAAA,KAAK,MAAM;AACT,oBAAA,IAAI,CAAC,WAAW,CAAC,GAAG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,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,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jm-7c3/common-lib",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^
|
|
6
|
-
"@angular/core": "^
|
|
5
|
+
"@angular/common": "^22.0.5",
|
|
6
|
+
"@angular/core": "^22.0.5",
|
|
7
7
|
"@ngrx/signals": "^21.1.1",
|
|
8
8
|
"lodash-es": "^4.18.1",
|
|
9
9
|
"primeflex": "^4.0.0",
|
|
Binary file
|