@jm-7c3/common-lib 1.7.2 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,9 +1,144 @@
|
|
|
1
1
|
# Common Lib
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Constains elements based on PrimeNG library.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Controls
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Standalone UI controls, based on [PrimeNG](https://primeng.org) components.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
### Button
|
|
10
|
+
|
|
11
|
+
Button with configurable styles.
|
|
12
|
+
|
|
13
|
+
#### Import
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
import {ButtonComponent} from '@jm-7c3/common-lib';
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
#### Implementation
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
<cl-button />
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
#### Inputs
|
|
26
|
+
|
|
27
|
+
| Input | Type | Default | Required | Description |
|
|
28
|
+
| - | - | - | - | - |
|
|
29
|
+
| color | 'danger', 'main', 'primary', 'secondary' | 'primary' | false | Style of the button |
|
|
30
|
+
| disabled | boolean | false | false | Disables de button when value is true |
|
|
31
|
+
| icon | string | | false | Icon to be displayed |
|
|
32
|
+
| label | string | | false | Label to be displayed |
|
|
33
|
+
| loading | boolean | false | false | Shows a loading animation when value is true |
|
|
34
|
+
| type | 'button', 'submit' | 'button' | false | Type of the button |
|
|
35
|
+
|
|
36
|
+
### Confirmation
|
|
37
|
+
|
|
38
|
+
### Content Dialog
|
|
39
|
+
|
|
40
|
+
### Form Dialog
|
|
41
|
+
|
|
42
|
+
### Icon Button
|
|
43
|
+
|
|
44
|
+
Button to display only the icon with configurable styles.
|
|
45
|
+
|
|
46
|
+
#### Import
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
import {IconButtonComponent} from '@jm-7c3/common-lib';
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
#### Implementation
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
<cl-icon-button />
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
#### Inputs
|
|
59
|
+
|
|
60
|
+
| Input | Type | Default | Required | Description |
|
|
61
|
+
| - | - | - | - | - |
|
|
62
|
+
| disabled | boolean | false | false | Disables de button when value is true |
|
|
63
|
+
| icon | string | | false | Icon to be displayed |
|
|
64
|
+
| loading | boolean | false | false | Shows a loading animation when value is true |
|
|
65
|
+
| severity | '', 'danger', 'help', 'info', 'secondary', 'success', 'warning' | '' | false | Style of the button |
|
|
66
|
+
| type | 'button', 'submit' | 'button' | false | Type of the button |
|
|
67
|
+
|
|
68
|
+
### Progress Bar Dialog
|
|
69
|
+
|
|
70
|
+
Displays a dialog with a progress bar animation.
|
|
71
|
+
|
|
72
|
+
#### Implementation
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
import {OnInit} from '@angular/core';
|
|
76
|
+
import {ProgressBarDialogService} from '@jm-7c3/common-lib';
|
|
77
|
+
|
|
78
|
+
@Component({
|
|
79
|
+
template: '<cl-progress-bar-dialog />'
|
|
80
|
+
})
|
|
81
|
+
export class AppComponent implements OnInit {
|
|
82
|
+
private readonly progressBarDialogService = inject(ProgressBarDialogService);
|
|
83
|
+
|
|
84
|
+
ngOnInit(): void {
|
|
85
|
+
this.progressBarDialogService.open();
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
#### Service Methods
|
|
91
|
+
|
|
92
|
+
| Method | Description |
|
|
93
|
+
| - | - |
|
|
94
|
+
| close | Closes the dialog |
|
|
95
|
+
| open | Displays the dialog |
|
|
96
|
+
|
|
97
|
+
### Readonly Value
|
|
98
|
+
|
|
99
|
+
Displays the provided label and value.
|
|
100
|
+
|
|
101
|
+
#### Import
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
import {ReadonlyValueComponent} from '@jm-7c3/common-lib';
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
#### Implementation
|
|
108
|
+
|
|
109
|
+
```
|
|
110
|
+
<cl-readonly-value />
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
#### Inputs
|
|
114
|
+
|
|
115
|
+
| Input | Type | Default | Required | Description |
|
|
116
|
+
| - | - | - | - | - |
|
|
117
|
+
| label | string | | false | Label to be displayed |
|
|
118
|
+
| value | any | | false | Value to be displayed |
|
|
119
|
+
|
|
120
|
+
### Toasts
|
|
121
|
+
|
|
122
|
+
## Forms
|
|
123
|
+
|
|
124
|
+
Standalone UI form input controls, based on [PrimeNG](https://primeng.org) components, to be used in Reactive Forms.
|
|
125
|
+
|
|
126
|
+
### Base Form
|
|
127
|
+
|
|
128
|
+
Contains base value accessor functionality for other components to extend from.
|
|
129
|
+
|
|
130
|
+
#### Implementation
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
import { BaseFormComponent } from '@jm-7c3/common-lib';
|
|
134
|
+
|
|
135
|
+
class Step1FormComponent extends BaseFormComponent {
|
|
136
|
+
...
|
|
137
|
+
}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### File Input
|
|
141
|
+
|
|
142
|
+
### File Inputs
|
|
143
|
+
|
|
144
|
+
### Form Field
|
|
@@ -49,10 +49,10 @@ class ButtonComponent {
|
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
53
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.
|
|
52
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.14", 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: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
54
54
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
56
56
|
type: Component,
|
|
57
57
|
args: [{ selector: 'cl-button', imports: [
|
|
58
58
|
CommonModule,
|
|
@@ -73,10 +73,10 @@ class ClStateService {
|
|
|
73
73
|
updateStateMessage(stateMessage) {
|
|
74
74
|
patchState(this.state, { stateMessage });
|
|
75
75
|
}
|
|
76
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
77
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
76
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
77
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClStateService, providedIn: 'root' });
|
|
78
78
|
}
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ClStateService, decorators: [{
|
|
80
80
|
type: Injectable,
|
|
81
81
|
args: [{
|
|
82
82
|
providedIn: 'root'
|
|
@@ -131,10 +131,10 @@ class ConfirmationComponent {
|
|
|
131
131
|
},
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
135
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
134
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ConfirmationComponent, deps: [{ token: 'env' }], target: i0.ɵɵFactoryTarget.Component });
|
|
135
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", 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: CommonModule }, { 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", "visible", "position", "draggable"], outputs: ["onHide"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
136
136
|
}
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ConfirmationComponent, decorators: [{
|
|
138
138
|
type: Component,
|
|
139
139
|
args: [{ selector: 'cl-confirmation', imports: [
|
|
140
140
|
ButtonComponent,
|
|
@@ -172,10 +172,10 @@ class ConfirmationService {
|
|
|
172
172
|
onCancel(key) {
|
|
173
173
|
return this.clStateService.onStateMessage('confirmation-cancel').pipe(filter(message => message?.key === key), map(() => null));
|
|
174
174
|
}
|
|
175
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
176
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
175
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ConfirmationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
176
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ConfirmationService, providedIn: 'root' });
|
|
177
177
|
}
|
|
178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ConfirmationService, decorators: [{
|
|
179
179
|
type: Injectable,
|
|
180
180
|
args: [{
|
|
181
181
|
providedIn: 'root'
|
|
@@ -216,10 +216,10 @@ class ContentDialogComponent {
|
|
|
216
216
|
onClose() {
|
|
217
217
|
this.dialogRef.close();
|
|
218
218
|
}
|
|
219
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
220
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
219
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ContentDialogComponent, deps: [{ token: 'env' }], target: i0.ɵɵFactoryTarget.Component });
|
|
220
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", 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", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
221
221
|
}
|
|
222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ContentDialogComponent, decorators: [{
|
|
223
223
|
type: Component,
|
|
224
224
|
args: [{ selector: 'cl-content-dialog', imports: [
|
|
225
225
|
ButtonComponent,
|
|
@@ -253,10 +253,10 @@ class ContentDialogService {
|
|
|
253
253
|
});
|
|
254
254
|
});
|
|
255
255
|
}
|
|
256
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
257
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
256
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ContentDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
257
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ContentDialogService, providedIn: 'root' });
|
|
258
258
|
}
|
|
259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ContentDialogService, decorators: [{
|
|
260
260
|
type: Injectable,
|
|
261
261
|
args: [{
|
|
262
262
|
providedIn: 'root'
|
|
@@ -320,10 +320,10 @@ class FormDialogComponent {
|
|
|
320
320
|
this.dialogRef.close(this.form().value);
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
324
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
323
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormDialogComponent, deps: [{ token: 'env' }], target: i0.ɵɵFactoryTarget.Component });
|
|
324
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", 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 });
|
|
325
325
|
}
|
|
326
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormDialogComponent, decorators: [{
|
|
327
327
|
type: Component,
|
|
328
328
|
args: [{ selector: 'cl-form-dialog', imports: [
|
|
329
329
|
ButtonComponent,
|
|
@@ -372,10 +372,10 @@ class FormDialogService {
|
|
|
372
372
|
}
|
|
373
373
|
});
|
|
374
374
|
}
|
|
375
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
376
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
375
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
376
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormDialogService, providedIn: 'root' });
|
|
377
377
|
}
|
|
378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormDialogService, decorators: [{
|
|
379
379
|
type: Injectable,
|
|
380
380
|
args: [{
|
|
381
381
|
providedIn: 'root'
|
|
@@ -397,10 +397,10 @@ class IconButtonComponent {
|
|
|
397
397
|
updateClass(severity) {
|
|
398
398
|
this.class.update(value => value + ' p-button-' + severity);
|
|
399
399
|
}
|
|
400
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
401
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.
|
|
400
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: IconButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
401
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.14", 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: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
402
402
|
}
|
|
403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: IconButtonComponent, decorators: [{
|
|
404
404
|
type: Component,
|
|
405
405
|
args: [{ selector: 'cl-icon-button', imports: [
|
|
406
406
|
ButtonModule,
|
|
@@ -425,10 +425,10 @@ class ProgressBarDialogComponent {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}
|
|
428
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
429
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
428
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ProgressBarDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
429
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", 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: CommonModule }, { kind: "ngmodule", type: DialogModule }, { kind: "component", type: i1$3.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "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", "style", "unit", "mode", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
430
430
|
}
|
|
431
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
431
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ProgressBarDialogComponent, decorators: [{
|
|
432
432
|
type: Component,
|
|
433
433
|
args: [{ selector: 'cl-progress-bar-dialog', imports: [
|
|
434
434
|
CommonModule,
|
|
@@ -449,10 +449,10 @@ class ProgressBarDialogService {
|
|
|
449
449
|
type: 'progess-bar-dialog-open'
|
|
450
450
|
});
|
|
451
451
|
}
|
|
452
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
453
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
452
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ProgressBarDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
453
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ProgressBarDialogService, providedIn: 'root' });
|
|
454
454
|
}
|
|
455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
455
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ProgressBarDialogService, decorators: [{
|
|
456
456
|
type: Injectable,
|
|
457
457
|
args: [{
|
|
458
458
|
providedIn: 'root'
|
|
@@ -462,10 +462,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
462
462
|
class ReadonlyValueComponent {
|
|
463
463
|
label = input();
|
|
464
464
|
value = input();
|
|
465
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
466
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.
|
|
465
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReadonlyValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
466
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.14", type: ReadonlyValueComponent, isStandalone: true, selector: "cl-readonly-value", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div>\n <strong>{{ label() }}</strong>\n <div>{{ value() }}</div>\n</div>\n", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
467
467
|
}
|
|
468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ReadonlyValueComponent, decorators: [{
|
|
469
469
|
type: Component,
|
|
470
470
|
args: [{ selector: 'cl-readonly-value', imports: [], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>\n <strong>{{ label() }}</strong>\n <div>{{ value() }}</div>\n</div>\n" }]
|
|
471
471
|
}] });
|
|
@@ -491,10 +491,10 @@ class ToastsComponent {
|
|
|
491
491
|
this.messageService.add(message);
|
|
492
492
|
});
|
|
493
493
|
}
|
|
494
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
495
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
494
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ToastsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
495
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", 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", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
496
496
|
}
|
|
497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ToastsComponent, decorators: [{
|
|
498
498
|
type: Component,
|
|
499
499
|
args: [{ selector: 'cl-toasts', imports: [
|
|
500
500
|
ToastModule,
|
|
@@ -533,10 +533,10 @@ class ToastsService {
|
|
|
533
533
|
type: 'toast'
|
|
534
534
|
});
|
|
535
535
|
}
|
|
536
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
537
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
536
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ToastsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
537
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ToastsService, providedIn: 'root' });
|
|
538
538
|
}
|
|
539
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ToastsService, decorators: [{
|
|
540
540
|
type: Injectable,
|
|
541
541
|
args: [{
|
|
542
542
|
providedIn: 'root'
|
|
@@ -602,10 +602,10 @@ class BaseFormComponent {
|
|
|
602
602
|
get formGroup() {
|
|
603
603
|
return this.control;
|
|
604
604
|
}
|
|
605
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
606
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
605
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BaseFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
606
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: BaseFormComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: '', isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
607
607
|
}
|
|
608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: BaseFormComponent, decorators: [{
|
|
609
609
|
type: Component,
|
|
610
610
|
args: [{ imports: [CommonModule], template: '', changeDetection: ChangeDetectionStrategy.OnPush }]
|
|
611
611
|
}] });
|
|
@@ -712,8 +712,8 @@ class FileInputComponent {
|
|
|
712
712
|
this.onChange(value);
|
|
713
713
|
this.onTouched();
|
|
714
714
|
}
|
|
715
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
716
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
715
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FileInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
716
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", 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: [
|
|
717
717
|
{
|
|
718
718
|
multi: true,
|
|
719
719
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -721,7 +721,7 @@ class FileInputComponent {
|
|
|
721
721
|
}
|
|
722
722
|
], 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: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
723
723
|
}
|
|
724
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
724
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FileInputComponent, decorators: [{
|
|
725
725
|
type: Component,
|
|
726
726
|
args: [{ selector: 'cl-file-input', imports: [
|
|
727
727
|
ButtonComponent,
|
|
@@ -803,8 +803,8 @@ class FileInputsComponent extends BaseFormComponent {
|
|
|
803
803
|
getForm() {
|
|
804
804
|
return new FormArray([]);
|
|
805
805
|
}
|
|
806
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
807
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
806
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FileInputsComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
807
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", 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: [
|
|
808
808
|
{
|
|
809
809
|
multi: true,
|
|
810
810
|
provide: NG_VALIDATORS,
|
|
@@ -817,7 +817,7 @@ class FileInputsComponent extends BaseFormComponent {
|
|
|
817
817
|
}
|
|
818
818
|
], 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: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "component", type: FileInputComponent, selector: "cl-file-input", inputs: ["directory", "icon", "label", "readonly"], outputs: ["onDownload"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
819
819
|
}
|
|
820
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
820
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FileInputsComponent, decorators: [{
|
|
821
821
|
type: Component,
|
|
822
822
|
args: [{ selector: 'cl-file-inputs', imports: [
|
|
823
823
|
ButtonModule,
|
|
@@ -840,12 +840,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
840
840
|
|
|
841
841
|
const ERROR_DIRECTIVE = new InjectionToken('ErrorDirective');
|
|
842
842
|
class ErrorDirective {
|
|
843
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
844
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
843
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ErrorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
844
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.14", type: ErrorDirective, isStandalone: true, selector: "ff-error", providers: [
|
|
845
845
|
{ provide: ERROR_DIRECTIVE, useExisting: ErrorDirective }
|
|
846
846
|
], ngImport: i0 });
|
|
847
847
|
}
|
|
848
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
848
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ErrorDirective, decorators: [{
|
|
849
849
|
type: Directive,
|
|
850
850
|
args: [{
|
|
851
851
|
selector: 'ff-error',
|
|
@@ -860,12 +860,12 @@ const FORM_FIELD = new InjectionToken('FormFieldComponent');
|
|
|
860
860
|
class FormFieldComponent {
|
|
861
861
|
control = contentChild(FormControlName);
|
|
862
862
|
isRequired = computed(() => this.control()?.control.hasValidator(Validators.required) ?? false);
|
|
863
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
864
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
863
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
864
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: FormFieldComponent, isStandalone: true, selector: "cl-form-field", providers: [
|
|
865
865
|
{ provide: FORM_FIELD, useExisting: FormFieldComponent }
|
|
866
866
|
], 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 });
|
|
867
867
|
}
|
|
868
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
868
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldComponent, decorators: [{
|
|
869
869
|
type: Component,
|
|
870
870
|
args: [{ selector: 'cl-form-field', imports: [], encapsulation: ViewEncapsulation.None, providers: [
|
|
871
871
|
{ provide: FORM_FIELD, useExisting: FormFieldComponent }
|
|
@@ -874,12 +874,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
874
874
|
|
|
875
875
|
const LABEL_DIRECTIVE = new InjectionToken('LabelDirective');
|
|
876
876
|
class LabelDirective {
|
|
877
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
878
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
877
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
878
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.14", type: LabelDirective, isStandalone: true, selector: "ff-label", providers: [
|
|
879
879
|
{ provide: LABEL_DIRECTIVE, useExisting: LabelDirective }
|
|
880
880
|
], ngImport: i0 });
|
|
881
881
|
}
|
|
882
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
882
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LabelDirective, decorators: [{
|
|
883
883
|
type: Directive,
|
|
884
884
|
args: [{
|
|
885
885
|
selector: 'ff-label',
|
|
@@ -891,15 +891,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
891
891
|
}] });
|
|
892
892
|
|
|
893
893
|
class FormFieldModule {
|
|
894
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
895
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
894
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
895
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: FormFieldModule, imports: [ErrorDirective,
|
|
896
896
|
FormFieldComponent,
|
|
897
897
|
LabelDirective], exports: [ErrorDirective,
|
|
898
898
|
FormFieldComponent,
|
|
899
899
|
LabelDirective] });
|
|
900
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
900
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldModule });
|
|
901
901
|
}
|
|
902
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FormFieldModule, decorators: [{
|
|
903
903
|
type: NgModule,
|
|
904
904
|
args: [{
|
|
905
905
|
exports: [
|
|
@@ -918,16 +918,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.12", ngImpo
|
|
|
918
918
|
;
|
|
919
919
|
|
|
920
920
|
class CommonLibModule {
|
|
921
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
922
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
923
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
921
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CommonLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
922
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: CommonLibModule });
|
|
923
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CommonLibModule, providers: [
|
|
924
924
|
ConfirmationService$1,
|
|
925
925
|
DialogService,
|
|
926
926
|
DynamicDialogConfig,
|
|
927
927
|
MessageService,
|
|
928
928
|
] });
|
|
929
929
|
}
|
|
930
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
930
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CommonLibModule, decorators: [{
|
|
931
931
|
type: NgModule,
|
|
932
932
|
args: [{
|
|
933
933
|
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';\nimport { CommonModule } from '@angular/common';\nimport { ButtonModule as PrimengButtonModule } from 'primeng/button';\n\nimport { ButtonColor } from './button.models';\n\n@Component({\n selector: 'cl-button',\n imports: [\n CommonModule,\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 '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';\nimport { CommonModule } from '@angular/common';\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 CommonModule,\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","import { CommonModule } from '@angular/common';\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 CommonModule,\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';\nimport { CommonModule } from '@angular/common';\nimport { AbstractControl, ControlValueAccessor, FormArray, FormControl, FormGroup,\n ValidationErrors, Validator } from '@angular/forms';\nimport { Subscription } from 'rxjs';\n\n@Component({\n imports: [CommonModule],\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","import { CommonModule } from '@angular/common';\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 CommonModule,\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 lastSlashPosition = value.lastIndexOf('/');\n const fileName = value.substring(lastSlashPosition + 1, value.length);\n const name = fileName.split('.');\n\n const file: FileInput = {\n isNew: !value,\n hash: name[1],\n name: fileName,\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 const name = file.name.split('.');\n\n if (file) {\n const hash = v4().split('-')[0];\n const newFile: FileInput = {\n file,\n hash,\n isNew: true,\n name: `${encodeURIComponent(name[0])}.${hash}.${name[1]}`,\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 getLastFile(value: FileInput[]): FileInput | undefined {\n return value[value.length - 1];\n }\n\n private onChange: any = (value: FileInputValue) => {};\n\n private onTouched: any = () => {};\n\n private selectFile(file: FileInput): void {\n this.fileName.set(getSafeFileName(file));\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\nfunction getSafeFileName(file: FileInput): string {\n const name = file.name.split('.');\n\n return `${decodeURIComponent(name[0])}.${name[2]}`;\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":";;;;;;;;;;;;;;;;;;;;;;;;;MAiBa,eAAe,CAAA;AACjB,IAAA,KAAK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A,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,cAAc;wBACd,kBAAkB;wBAClB,cAAc;AACf,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,cAAc;wBACd,kBAAkB;wBAClB,cAAc;AACf;AACF,iBAAA;;;ACTA;;MCIY,eAAe,CAAA;wGAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;yGAAf,eAAe,EAAA,CAAA;AAAf,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAPf,SAAA,EAAA;YACTC,qBAAmB;YACnB,aAAa;YACb,mBAAmB;YACnB,cAAc;AACf,SAAA,EAAA,CAAA;;4FAEU,eAAe,EAAA,UAAA,EAAA,CAAA;kBAR3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,SAAS,EAAE;wBACTA,qBAAmB;wBACnB,aAAa;wBACb,mBAAmB;wBACnB,cAAc;AACf;AACF,iBAAA;;;ACTK,SAAU,iBAAiB,CAAI,MAAuB,EAAA;IAC1D,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CACjB,UAAU,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9B,OAAO,EAAE,CACZ;AACH;;ACPA;;AAEG;AAEH;;ACJA;;AAEG;;;;"}
|
|
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';\nimport { CommonModule } from '@angular/common';\nimport { ButtonModule as PrimengButtonModule } from 'primeng/button';\n\nimport { ButtonColor } from './button.models';\n\n@Component({\n selector: 'cl-button',\n imports: [\n CommonModule,\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 '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';\nimport { CommonModule } from '@angular/common';\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 CommonModule,\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","import { CommonModule } from '@angular/common';\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 CommonModule,\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';\nimport { CommonModule } from '@angular/common';\nimport { AbstractControl, ControlValueAccessor, FormArray, FormControl, FormGroup,\n ValidationErrors, Validator } from '@angular/forms';\nimport { Subscription } from 'rxjs';\n\n@Component({\n imports: [CommonModule],\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","import { CommonModule } from '@angular/common';\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 CommonModule,\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 lastSlashPosition = value.lastIndexOf('/');\n const fileName = value.substring(lastSlashPosition + 1, value.length);\n const name = fileName.split('.');\n\n const file: FileInput = {\n isNew: !value,\n hash: name[1],\n name: fileName,\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 const name = file.name.split('.');\n\n if (file) {\n const hash = v4().split('-')[0];\n const newFile: FileInput = {\n file,\n hash,\n isNew: true,\n name: `${encodeURIComponent(name[0])}.${hash}.${name[1]}`,\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 getLastFile(value: FileInput[]): FileInput | undefined {\n return value[value.length - 1];\n }\n\n private onChange: any = (value: FileInputValue) => {};\n\n private onTouched: any = () => {};\n\n private selectFile(file: FileInput): void {\n this.fileName.set(getSafeFileName(file));\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\nfunction getSafeFileName(file: FileInput): string {\n const name = file.name.split('.');\n\n return `${decodeURIComponent(name[0])}.${name[2]}`;\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":";;;;;;;;;;;;;;;;;;;;;;;;;MAiBa,eAAe,CAAA;AACjB,IAAA,KAAK,GAAG,KAAK,CAAc,SAAS,CAAC;AACrC,IAAA,QAAQ,GAAG,KAAK,CAA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B;wBAClB,cAAc;AACf,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,cAAc;wBACd,kBAAkB;wBAClB,cAAc;AACf;AACF,iBAAA;;;ACTA;;MCIY,eAAe,CAAA;wGAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;yGAAf,eAAe,EAAA,CAAA;AAAf,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAAA,SAAA,EAPf;YACTC,qBAAmB;YACnB,aAAa;YACb,mBAAmB;YACnB,cAAc;AACf,SAAA,EAAA,CAAA;;4FAEU,eAAe,EAAA,UAAA,EAAA,CAAA;kBAR3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,SAAS,EAAE;wBACTA,qBAAmB;wBACnB,aAAa;wBACb,mBAAmB;wBACnB,cAAc;AACf;AACF,iBAAA;;;ACTK,SAAU,iBAAiB,CAAI,MAAuB,EAAA;IAC1D,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CACjB,UAAU,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9B,OAAO,EAAE,CACZ;AACH;;ACPA;;AAEG;AAEH;;ACJA;;AAEG;;;;"}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jm-7c3/common-lib",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^19.1.0",
|
|
6
6
|
"@angular/core": "^19.1.0",
|
|
@@ -15,6 +15,10 @@
|
|
|
15
15
|
"tslib": "^2.3.0"
|
|
16
16
|
},
|
|
17
17
|
"sideEffects": false,
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/jm-7c3/ngx-common-library.git"
|
|
21
|
+
},
|
|
18
22
|
"module": "fesm2022/jm-7c3-common-lib.mjs",
|
|
19
23
|
"typings": "index.d.ts",
|
|
20
24
|
"exports": {
|
|
Binary file
|