@main-class/componentes 3.3.15 → 3.4.1
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/fesm2022/main-class-componentes-arquivo.mjs +12 -12
- package/fesm2022/main-class-componentes-core.mjs +12 -12
- package/fesm2022/main-class-componentes-crud.mjs +18 -18
- package/fesm2022/main-class-componentes-dialog.mjs +27 -27
- package/fesm2022/main-class-componentes-form.mjs +9 -9
- package/fesm2022/main-class-componentes-input.mjs +78 -78
- package/fesm2022/main-class-componentes-loader.mjs +6 -6
- package/fesm2022/main-class-componentes-misc.mjs +33 -33
- package/fesm2022/main-class-componentes-pipe.mjs +3 -3
- package/fesm2022/main-class-componentes-table.mjs +30 -30
- package/package.json +9 -9
|
@@ -41,10 +41,10 @@ class DownloadArquivoDirective {
|
|
|
41
41
|
document.body.removeChild(link);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
45
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
44
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DownloadArquivoDirective, deps: [{ token: ARQUIVO_MANAGER_SERVICE }], target: i0.ɵɵFactoryTarget.Directive });
|
|
45
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: DownloadArquivoDirective, isStandalone: true, selector: "[mclDownloadArquivo]", inputs: { attachment: ["mclDownloadArquivo", "attachment"], target: "target" }, host: { listeners: { "click": "download()" } }, ngImport: i0 });
|
|
46
46
|
}
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
47
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DownloadArquivoDirective, decorators: [{
|
|
48
48
|
type: Directive,
|
|
49
49
|
args: [{
|
|
50
50
|
selector: '[mclDownloadArquivo]'
|
|
@@ -104,10 +104,10 @@ class DialogPreviewArquivoComponent {
|
|
|
104
104
|
else {
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
108
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
107
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DialogPreviewArquivoComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: ARQUIVO_MANAGER_SERVICE }], target: i0.ɵɵFactoryTarget.Component });
|
|
108
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: DialogPreviewArquivoComponent, isStandalone: true, selector: "mcl-dialog-preview-arquivo", ngImport: i0, template: "<mat-dialog-content>\r\n @if (loadingFile) {\r\n <div class=\"spinner-wrapper\">\r\n <mat-spinner style=\"margin: 0 auto\" [diameter]=\"50\" color=\"warn\"></mat-spinner>\r\n </div>\r\n }\r\n\r\n @switch (type) {\r\n @case ('image') {\r\n @if (group) {\r\n <ngx-image-viewer [src]=\"group\" [index]=\"group.indexOf(src)\"\r\n [config]=\"{customBtns:[{name: 'download', icon: 'fa fa-download'}]}\"\r\n (customEvent)=\"handleEvent($event)\"></ngx-image-viewer>\r\n } @else {\r\n <ngx-image-viewer [src]=\"[src]\" [index]=\"0\"\r\n [config]=\"{customBtns:[{name: 'download', icon: 'fa fa-download'}]}\"\r\n (customEvent)=\"handleEvent($event)\"></ngx-image-viewer>\r\n }\r\n }\r\n @case ('pdf') {\r\n <pdf-viewer (page-rendered)=\"previewCarregado($event)\"\r\n [src]=\"src\" [original-size]=\"false\"></pdf-viewer>\r\n }\r\n }\r\n\r\n</mat-dialog-content>\r\n\r\n<div mat-dialog-actions>\r\n <button mat-button mat-dialog-close>\r\n <mat-icon>close</mat-icon>\r\n Fechar\r\n </button>\r\n\r\n <div class=\"spacer\"></div>\r\n\r\n @if (!loadingFile) {\r\n <button mat-stroked-button (click)=\"download()\">\r\n <mat-icon>cloud_download</mat-icon>\r\n Realizar o Download\r\n </button>\r\n }\r\n</div>\r\n", styles: ["pdf-viewer{width:100%;display:block}.spinner-wrapper{margin:30px auto;width:800px;height:400px}.dialog-title-text{margin-right:10px;line-height:38px}[mat-dialog-title]{display:flex;padding:8px 24px 7px}[mat-dialog-title] .spacer{flex:1 1 auto}[mat-dialog-actions]{text-align:right}[mat-dialog-actions] button{margin-left:auto}[mat-dialog-actions] button mat-icon{vertical-align:middle;margin-right:10px}\n"], dependencies: [{ kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: PdfViewerModule }, { kind: "component", type: i1.PdfViewerComponent, selector: "pdf-viewer", inputs: ["src", "c-maps-url", "page", "render-text", "render-text-mode", "original-size", "show-all", "stick-to-page", "zoom", "zoom-scale", "rotation", "external-link-target", "autoresize", "fit-to-page", "show-borders"], outputs: ["after-load-complete", "page-rendered", "pages-initialized", "text-layer-rendered", "error", "on-progress", "pageChange"] }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: ImageViewerModule }, { kind: "component", type: i2.ImageViewerComponent, selector: "ngx-image-viewer", inputs: ["src", "index", "config"], outputs: ["indexChange", "configChange", "customEvent"] }] });
|
|
109
109
|
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DialogPreviewArquivoComponent, decorators: [{
|
|
111
111
|
type: Component,
|
|
112
112
|
args: [{ selector: 'mcl-dialog-preview-arquivo', imports: [
|
|
113
113
|
MatDialogContent,
|
|
@@ -243,10 +243,10 @@ class PreviewArquivoComponent {
|
|
|
243
243
|
},
|
|
244
244
|
});
|
|
245
245
|
}
|
|
246
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
247
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
246
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: PreviewArquivoComponent, deps: [{ token: ARQUIVO_MANAGER_SERVICE }, { token: i1$1.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
|
|
247
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: PreviewArquivoComponent, isStandalone: true, selector: "mcl-preview-arquivo", inputs: { showLoading: "showLoading", height: "height", width: "width", group: "group", arquivo: "arquivo" }, ngImport: i0, template: "@if (!!src) {\r\n @switch (type) {\r\n @case ('image') {\r\n <img [src]=\"src\"\r\n [ngStyle]=\"{width:width,height:height}\"\r\n (click)=\"abrePreview()\"/>\r\n }\r\n @case ('other') {\r\n <div class=\"other\"\r\n [ngStyle]=\"{width:width,height:height}\"\r\n [mclDownloadArquivo]=\"arquivo\">\r\n <mat-icon>insert_drive_file</mat-icon>\r\n <small>{{ filename }}</small>\r\n </div>\r\n }\r\n @case ('pdf') {\r\n <pdf-viewer [src]=\"src\"\r\n [ngStyle]=\"{width:width,height:height}\"\r\n [original-size]=\"false\"\r\n [page]=\"1\"\r\n [render-text]=\"false\"\r\n (click)=\"abrePreview()\"\r\n ></pdf-viewer>\r\n }\r\n }\r\n}\r\n", styles: ["pdf-viewer,img,.other{overflow:hidden;display:block;border-radius:5px;background:#efefef;border:1px solid #a9a9a9}pdf-viewer.other,img.other,.other.other{display:flex;flex-direction:column;justify-items:center}pdf-viewer.other mat-icon,img.other mat-icon,.other.other mat-icon{margin:auto;text-align:center;font-size:75px;height:75px;width:75px;line-height:75px}pdf-viewer:hover,img:hover,.other:hover{cursor:pointer}\n"], dependencies: [{ kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: DownloadArquivoDirective, selector: "[mclDownloadArquivo]", inputs: ["mclDownloadArquivo", "target"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: PdfViewerModule }, { kind: "component", type: i1.PdfViewerComponent, selector: "pdf-viewer", inputs: ["src", "c-maps-url", "page", "render-text", "render-text-mode", "original-size", "show-all", "stick-to-page", "zoom", "zoom-scale", "rotation", "external-link-target", "autoresize", "fit-to-page", "show-borders"], outputs: ["after-load-complete", "page-rendered", "pages-initialized", "text-layer-rendered", "error", "on-progress", "pageChange"] }] });
|
|
248
248
|
}
|
|
249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: PreviewArquivoComponent, decorators: [{
|
|
250
250
|
type: Component,
|
|
251
251
|
args: [{ selector: 'mcl-preview-arquivo', imports: [
|
|
252
252
|
NgStyle,
|
|
@@ -331,10 +331,10 @@ class ImagemDirective {
|
|
|
331
331
|
}
|
|
332
332
|
ngOnInit() {
|
|
333
333
|
}
|
|
334
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
335
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
334
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ImagemDirective, deps: [{ token: MCL_IMAGE_PADRAO, optional: true }, { token: i0.ElementRef, self: true }, { token: ARQUIVO_MANAGER_SERVICE }], target: i0.ɵɵFactoryTarget.Directive });
|
|
335
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: ImagemDirective, isStandalone: true, selector: "[mclImagemSrc],[mclImagemBackground]", inputs: { imagemSrc: ["mclImagemSrc", "imagemSrc"], imagemBackground: ["mclImagemBackground", "imagemBackground"], padrao: "padrao" }, ngImport: i0 });
|
|
336
336
|
}
|
|
337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ImagemDirective, decorators: [{
|
|
338
338
|
type: Directive,
|
|
339
339
|
args: [{
|
|
340
340
|
selector: '[mclImagemSrc],[mclImagemBackground]'
|
|
@@ -11,10 +11,10 @@ class CriptografiaService {
|
|
|
11
11
|
rsa.setPublicKey(chavePublica);
|
|
12
12
|
return rsa.encrypt(senha);
|
|
13
13
|
}
|
|
14
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
15
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: CriptografiaService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
15
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: CriptografiaService, providedIn: 'root' });
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: CriptografiaService, decorators: [{
|
|
18
18
|
type: Injectable,
|
|
19
19
|
args: [{
|
|
20
20
|
providedIn: 'root'
|
|
@@ -107,10 +107,10 @@ class ValidaModulo11Service {
|
|
|
107
107
|
}
|
|
108
108
|
return (11 - total);
|
|
109
109
|
}
|
|
110
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
111
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
110
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ValidaModulo11Service, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
111
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ValidaModulo11Service, providedIn: 'root' });
|
|
112
112
|
}
|
|
113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ValidaModulo11Service, decorators: [{
|
|
114
114
|
type: Injectable,
|
|
115
115
|
args: [{
|
|
116
116
|
providedIn: 'root'
|
|
@@ -163,10 +163,10 @@ class MensageriaService {
|
|
|
163
163
|
ref.dismiss();
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
167
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
166
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MensageriaService, deps: [{ token: i1.MatSnackBar }, { token: i2.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
167
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MensageriaService, providedIn: 'root' });
|
|
168
168
|
}
|
|
169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MensageriaService, decorators: [{
|
|
170
170
|
type: Injectable,
|
|
171
171
|
args: [{
|
|
172
172
|
providedIn: 'root'
|
|
@@ -206,10 +206,10 @@ class MobileService {
|
|
|
206
206
|
get tablet() {
|
|
207
207
|
return this.tabletQuery.matches;
|
|
208
208
|
}
|
|
209
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
210
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
209
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MobileService, deps: [{ token: i1$1.MediaMatcher }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
210
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MobileService, providedIn: 'root' });
|
|
211
211
|
}
|
|
212
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MobileService, decorators: [{
|
|
213
213
|
type: Injectable,
|
|
214
214
|
args: [{
|
|
215
215
|
providedIn: 'root'
|
|
@@ -132,10 +132,10 @@ class QueryFieldComponent {
|
|
|
132
132
|
}
|
|
133
133
|
return undefined;
|
|
134
134
|
}
|
|
135
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
136
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
135
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: QueryFieldComponent, deps: [{ token: SELECT_OPTION_PROVIDER, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
136
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: QueryFieldComponent, isStandalone: true, selector: "mcl-query-field", inputs: { labelText: ["label", "labelText"], description: "description", mask: "mask", name: "name", fieldType: ["type", "fieldType"] }, queries: [{ propertyName: "options", predicate: SelectOptionComponent }, { propertyName: "fields", predicate: QueryFieldComponent }], ngImport: i0, template: "", styles: [""], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }] });
|
|
137
137
|
}
|
|
138
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: QueryFieldComponent, decorators: [{
|
|
139
139
|
type: Component,
|
|
140
140
|
args: [{ selector: 'mcl-query-field', imports: [
|
|
141
141
|
ReactiveFormsModule
|
|
@@ -176,10 +176,10 @@ class QueryFormFieldComponent {
|
|
|
176
176
|
get formGroup() {
|
|
177
177
|
return this.control;
|
|
178
178
|
}
|
|
179
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
180
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
179
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: QueryFormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
180
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: QueryFormFieldComponent, isStandalone: true, selector: "mcl-query-form-field", inputs: { field: "field", control: "control" }, ngImport: i0, template: "@if (field!.fieldType === 'group') {\n <div [formGroup]=\"formGroup\">\n @for (child of field!.fields; track child.labelText) {\n <mcl-query-form-field [field]=\"child\"\n [control]=\"formGroup.controls[child.labelText!]\"></mcl-query-form-field>\n }\n </div>\n} @else {\n <mat-form-field>\n <mat-label>{{ field!.labelText }}</mat-label>\n @switch (field!.fieldType) {\n @case ('input') {\n <input matInput [formControl]=\"formControl\"/>\n }\n @case ('cpf') {\n <mcl-input cpf [formControl]=\"formControl\"/>\n }\n @case ('cnpj') {\n <mcl-input cnpj [formControl]=\"formControl\"/>\n }\n @case ('cpf_cnpj') {\n <mcl-input cpfCnpj [formControl]=\"formControl\"/>\n }\n @case ('date') {\n <mcl-input-datetime type=\"date\" [formControl]=\"formControl\"/>\n }\n @case ('option') {\n <mcl-select-autocomplete [formControl]=\"formControl\" [delegate]=\"field\"/>\n }\n @case ('mask') {\n <mcl-input [mask]=\"field!.mask!\" [formControl]=\"formControl\"/>\n }\n @case ('currency') {\n <mcl-input currency [formControl]=\"formControl\"/>\n }\n }\n @if (!!field?.description) {\n <mat-hint>{{ field?.description }}</mat-hint>\n }\n <mat-error [mclErrorFor]=\"formControl\"></mat-error>\n </mat-form-field>\n}\n", styles: [""], dependencies: [{ kind: "component", type: QueryFormFieldComponent, selector: "mcl-query-form-field", inputs: ["field", "control"] }, { kind: "component", type: MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "component", type: InputDatetimeComponent, selector: "mcl-input-datetime", inputs: ["type", "readonly", "name"] }, { kind: "directive", type: MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "directive", type: MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "component", type: InputCpfComponent, selector: "mcl-input[cpf]" }, { kind: "component", type: InputCnpjComponent, selector: "mcl-input[cnpj]" }, { kind: "component", type: InputCpfCnpjComponent, selector: "mcl-input[cpfCnpj]" }, { kind: "component", type: SelectAutocompleteComponent, selector: "mcl-select-autocomplete", inputs: ["readonly"], outputs: ["select", "blur"] }, { kind: "component", type: InputMaskComponent, selector: "mcl-input[mask]", inputs: ["keepMask", "mask"], outputs: ["focusin", "focusout"] }, { kind: "component", type: MensagensErroComponent, selector: "[mclErrorFor],[mclError]", inputs: ["mclErrorFor"] }, { kind: "component", type: InputCurrencyComponent, selector: "mcl-input[currency]" }, { kind: "directive", type: DelegateOptionProviderDirective, selector: "mcl-select-autocomplete[delegate]", inputs: ["delegate"] }] });
|
|
181
181
|
}
|
|
182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: QueryFormFieldComponent, decorators: [{
|
|
183
183
|
type: Component,
|
|
184
184
|
args: [{ selector: 'mcl-query-form-field', imports: [
|
|
185
185
|
MatFormField,
|
|
@@ -239,10 +239,10 @@ class QueryModalFormComponent {
|
|
|
239
239
|
});
|
|
240
240
|
this.modalRef.close();
|
|
241
241
|
}
|
|
242
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
243
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
242
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: QueryModalFormComponent, deps: [{ token: i1.FormBuilder }, { token: i2.SidebarModalRef }, { token: SIDEBAR_MODAL_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
243
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: QueryModalFormComponent, isStandalone: true, selector: "mcl-query-form", ngImport: i0, template: "<form (ngSubmit)=\"apply()\" class=\"sidebar\">\n <h2 mclSidebarModalHeader>\n <mat-icon>search</mat-icon>\n Aplicar filtros\n </h2>\n\n <div mclSidebarModalBody>\n @for (field of fields; track field.name) {\n <div [ngClass]=\"field.fieldType\">\n @if (field.fieldType === 'group') {\n <h3>{{ field.labelText }}</h3>\n }\n\n <mcl-query-form-field [field]=\"field\" [control]=\"form.controls[field.name!]!\"></mcl-query-form-field>\n </div>\n }\n </div>\n\n <div mclSidebarModalFooter>\n <button mat-flat-button color=\"primary\" type=\"submit\">\n Aplicar\n </button>\n <button mat-button type=\"button\" mclSidebarModalClose>\n Cancelar\n </button>\n </div>\n</form>\n", styles: ["h2{text-transform:uppercase;font-weight:lighter;color:#0000008a}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: ModalHeaderDirective, selector: "[mclSidebarModalHeader]" }, { kind: "directive", type: ModalCloseDirective, selector: "[mclSidebarModalClose]" }, { kind: "directive", type: ModalBodyDirective, selector: "[mclSidebarModalBody]" }, { kind: "directive", type: ModalFooterDirective, selector: "[mclSidebarModalFooter]" }, { kind: "component", type: QueryFormFieldComponent, selector: "mcl-query-form-field", inputs: ["field", "control"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
244
244
|
}
|
|
245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: QueryModalFormComponent, decorators: [{
|
|
246
246
|
type: Component,
|
|
247
247
|
args: [{ selector: 'mcl-query-form', imports: [
|
|
248
248
|
ReactiveFormsModule,
|
|
@@ -347,10 +347,10 @@ class QueryFormComponent {
|
|
|
347
347
|
.reduce((o1, o2) => ({ ...o1, ...o2 }), {});
|
|
348
348
|
this.query.emit(query);
|
|
349
349
|
}
|
|
350
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
351
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
350
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: QueryFormComponent, deps: [{ token: i1$1.Router }, { token: i2.DialogService }, { token: i1$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
351
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: QueryFormComponent, isStandalone: true, selector: "mcl-query-form", outputs: { query: "query" }, queries: [{ propertyName: "fields", predicate: QueryFieldComponent }], viewQueries: [{ propertyName: "modalTemplate", first: true, predicate: ["modalTemplate"], descendants: true, read: TemplateRef }], ngImport: i0, template: "@if (!!fields) {\n <mat-accordion>\n <mat-expansion-panel expanded>\n <mat-expansion-panel-header>\n <button mat-icon-button (click)=\"openFilter($event)\">\n <mat-icon>filter_alt</mat-icon>\n </button>\n\n <div class=\"title\">\n Filtros aplicados\n @if (filterCount > 0) {\n ({{ filterCount }})\n }\n </div>\n </mat-expansion-panel-header>\n\n\n @if (filterCount === 0) {\n Nenhum filtro aplicado\n } @else {\n @for (field of fields.toArray(); track field.labelText) {\n @if (!field.empty) {\n <div class=\"field\">\n {{ field.labelText }}: \n @if (field.fieldType === 'group') {\n @for (child of field.fields!.toArray(); track child.labelText) {\n @if (!child.empty) {\n <div class=\"value\">\n <strong>{{ child.value }}</strong>\n @if (!child.formControl?.hasValidator(Validators.required)) {\n <mat-icon (click)=\"clear(child)\" >close</mat-icon>\n }\n </div>\n }\n }\n } @else {\n <div class=\"value\">\n <strong>{{ field.value }}</strong>\n @if (!field.formControl?.hasValidator(Validators.required)) {\n <mat-icon (click)=\"clear(field)\" >close</mat-icon>\n }\n </div>\n }\n </div>\n }\n }\n }\n </mat-expansion-panel>\n </mat-accordion>\n}\n\n", styles: ["br-accordion-item{border-radius:5px}br-accordion-item::ng-deep .item>button{background:#efefef;padding-right:30px}br-accordion-item::ng-deep .item>button [brtitle]{display:flex;gap:20px;align-items:center}br-accordion-item::ng-deep .item>button [brtitle] .title{flex:1 1 auto}br-accordion-item::ng-deep .content{border:0;margin:0;padding:10px 30px!important}br-accordion-item .field .value{display:inline;margin-right:10px}br-accordion-item .field .value fa-icon{cursor:pointer;display:inline-block;height:20px;width:20px;line-height:20px;border-radius:50%;color:#fff;margin-left:10px}br-accordion-item .field .value fa-icon::ng-deep svg{width:20px}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: MatAccordion, selector: "mat-accordion", inputs: ["hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] });
|
|
352
352
|
}
|
|
353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: QueryFormComponent, decorators: [{
|
|
354
354
|
type: Component,
|
|
355
355
|
args: [{ selector: 'mcl-query-form', imports: [
|
|
356
356
|
FormsModule,
|
|
@@ -404,10 +404,10 @@ class AbstractConsultaPaginadaComponent {
|
|
|
404
404
|
await this.loaderService.listen(this.deleteEntidade(entidade)).toPromise();
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
408
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
407
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: AbstractConsultaPaginadaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
408
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: AbstractConsultaPaginadaComponent, isStandalone: true, selector: "ng-component", viewQueries: [{ propertyName: "table", first: true, predicate: PaginatedTableComponent, descendants: true }], ngImport: i0, template: '', isInline: true });
|
|
409
409
|
}
|
|
410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: AbstractConsultaPaginadaComponent, decorators: [{
|
|
411
411
|
type: Component,
|
|
412
412
|
args: [{
|
|
413
413
|
template: ''
|
|
@@ -439,10 +439,10 @@ class AbstractEdicaoComponent {
|
|
|
439
439
|
await this.loaderService.listen(this.salvaEntidade()).toPromise();
|
|
440
440
|
this.mensageriaService.addMensagem('mcl.edicao.salvo-sucesso');
|
|
441
441
|
}
|
|
442
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
443
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
442
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: AbstractEdicaoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
443
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: AbstractEdicaoComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: '', isInline: true });
|
|
444
444
|
}
|
|
445
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
445
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: AbstractEdicaoComponent, decorators: [{
|
|
446
446
|
type: Component,
|
|
447
447
|
args: [{
|
|
448
448
|
template: ''
|
|
@@ -40,10 +40,10 @@ class DialogConfirmacaoComponent {
|
|
|
40
40
|
}
|
|
41
41
|
this.dialogRef.close(true);
|
|
42
42
|
}
|
|
43
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
44
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
43
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DialogConfirmacaoComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: DialogConfirmacaoComponent, isStandalone: true, selector: "mcl-dialog-confirmacao", ngImport: i0, template: "<div mat-dialog-title>\n {{ titulo | translate }}\n</div>\n\n<form (ngSubmit)=\"confirma(form)\" #form=\"ngForm\">\n <div mat-dialog-content>\n\n <p [innerHTML]=\"mensagem | translate\"></p>\n\n </div>\n\n <div mat-dialog-actions>\n <button mat-stroked-button color=\"accent\">\n {{ okLabel | translate }}\n </button>\n @if (!!cancelLabel) {\n <button mat-flat-button color=\"warn\" type=\"button\" mat-dialog-close>\n {{ cancelLabel | translate }}\n </button>\n }\n </div>\n</form>\n", styles: [".mat-mdc-dialog-content{width:95vw;max-width:280px;min-width:auto;margin:10px 60px;text-align:center;min-height:120px;display:flex;flex-direction:column;justify-content:center}[mat-dialog-title]{text-align:center;margin:40px 60px 20px}[mat-dialog-actions]{justify-content:center;margin:20px 60px 40px;flex-direction:row}@media (max-width: 750px){.mat-mdc-dialog-content{margin:10px 20px}}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "directive", type: MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "directive", type: MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }] });
|
|
45
45
|
}
|
|
46
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DialogConfirmacaoComponent, decorators: [{
|
|
47
47
|
type: Component,
|
|
48
48
|
args: [{ selector: 'mcl-dialog-confirmacao', imports: [
|
|
49
49
|
FormsModule,
|
|
@@ -89,10 +89,10 @@ class DialogIframeComponent {
|
|
|
89
89
|
close() {
|
|
90
90
|
this.dialogRef.close(this.returnValue());
|
|
91
91
|
}
|
|
92
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
93
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
92
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DialogIframeComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }, { token: i2$1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
93
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: DialogIframeComponent, isStandalone: true, selector: "mcl-dialog-iframe", viewQueries: [{ propertyName: "iframe", first: true, predicate: ["iframe"], descendants: true }], ngImport: i0, template: "<div mat-dialog-title >\n <h2>{{titulo}}</h2>\n <button mat-icon-button mat-dialog-close class=\"pull-right\" tabindex=\"-1\">\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div mat-dialog-content>\n <iframe #iframe width=\"560\" height=\"315\" [src]=\"url\" (close)=\"close()\" frameborder=\"0\"\n ></iframe>\n</div>\n", styles: ["[mat-dialog-title]{display:flex}[mat-dialog-title] h2{font-size:25px;flex:1 1 auto;margin:0 0 20px}[mat-dialog-title] mat-icon{vertical-align:middle}mat-dialog-content{margin:-24px;width:calc(100% + 48px);padding:0}mat-dialog-content iframe{width:100%;height:60vh;border:0}\n"], dependencies: [{ kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "directive", type: MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "component", type: MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }] });
|
|
94
94
|
}
|
|
95
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DialogIframeComponent, decorators: [{
|
|
96
96
|
type: Component,
|
|
97
97
|
args: [{ selector: 'mcl-dialog-iframe', imports: [
|
|
98
98
|
MatDialogContent,
|
|
@@ -157,8 +157,8 @@ class ModalTemplateComponent {
|
|
|
157
157
|
this.modalRef.close();
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
161
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
160
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ModalTemplateComponent, deps: [{ token: SidebarModalRef }, { token: SIDEBAR_MODAL_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
161
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: ModalTemplateComponent, isStandalone: true, selector: "mcl-sidebar-modal-template", host: { listeners: { "click": "close()" } }, ngImport: i0, template: "<div class=\"sidebar\" @modal (click)=\"$event.stopPropagation()\"\n [ngClass]=\"{absolute: !fixed}\">\n <div class=\"inner {{size}}\"\n (click)=\"$event.stopPropagation()\">\n <ng-content select=\"br-modal-content\"></ng-content>\n </div>\n</div>\n", styles: [":host{position:fixed;inset:0;z-index:998;display:block;background:transparent}.sidebar{position:fixed;top:0;bottom:0;right:0;width:500px;background:#fff;box-shadow:0 0 10px #0000004d;z-index:999;padding:30px;overflow-y:auto}.sidebar.small{width:300px}.sidebar.medium{width:500px}.sidebar.large{width:800px}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], animations: [
|
|
162
162
|
trigger('modal', [
|
|
163
163
|
transition(':enter', [
|
|
164
164
|
style({ maxWidth: 0 }),
|
|
@@ -175,7 +175,7 @@ class ModalTemplateComponent {
|
|
|
175
175
|
])
|
|
176
176
|
] });
|
|
177
177
|
}
|
|
178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ModalTemplateComponent, decorators: [{
|
|
179
179
|
type: Component,
|
|
180
180
|
args: [{ selector: 'mcl-sidebar-modal-template', imports: [
|
|
181
181
|
NgClass
|
|
@@ -287,10 +287,10 @@ class DialogService {
|
|
|
287
287
|
}).afterClosed();
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
291
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
290
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DialogService, deps: [{ token: i0.ApplicationRef }, { token: i0.Injector }, { token: i1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
291
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DialogService, providedIn: 'root' });
|
|
292
292
|
}
|
|
293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: DialogService, decorators: [{
|
|
294
294
|
type: Injectable,
|
|
295
295
|
args: [{
|
|
296
296
|
providedIn: 'root'
|
|
@@ -302,10 +302,10 @@ class ModalComponent {
|
|
|
302
302
|
constructor(template) {
|
|
303
303
|
this.template = template;
|
|
304
304
|
}
|
|
305
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
306
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
305
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ModalComponent, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
306
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: ModalComponent, isStandalone: true, selector: "mcl-modal", ngImport: i0, template: "<mcl-sidebar-modal-template>\n <ng-container [ngTemplateOutlet]=\"template\"></ng-container>\n</mcl-sidebar-modal-template>\n", styles: [""], dependencies: [{ kind: "component", type: ModalTemplateComponent, selector: "mcl-sidebar-modal-template" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
307
307
|
}
|
|
308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ModalComponent, decorators: [{
|
|
309
309
|
type: Component,
|
|
310
310
|
args: [{ selector: 'mcl-modal', imports: [
|
|
311
311
|
ModalTemplateComponent,
|
|
@@ -321,10 +321,10 @@ class ModalCloseDirective {
|
|
|
321
321
|
onClick() {
|
|
322
322
|
this.modalRef.close();
|
|
323
323
|
}
|
|
324
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
325
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
324
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ModalCloseDirective, deps: [{ token: SidebarModalRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
325
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: ModalCloseDirective, isStandalone: true, selector: "[mclSidebarModalClose]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
326
326
|
}
|
|
327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ModalCloseDirective, decorators: [{
|
|
328
328
|
type: Directive,
|
|
329
329
|
args: [{
|
|
330
330
|
selector: '[mclSidebarModalClose]',
|
|
@@ -336,10 +336,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
336
336
|
|
|
337
337
|
class ModalFooterDirective {
|
|
338
338
|
constructor() { }
|
|
339
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
340
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
339
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ModalFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
340
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: ModalFooterDirective, isStandalone: true, selector: "[mclSidebarModalFooter]", host: { styleAttribute: "border-top: 1px solid #ddd; margin: 20px -30px -300px; padding: 10px 30px 30px;display: flex; flex-direction: row-reverse; gap: 20px" }, ngImport: i0 });
|
|
341
341
|
}
|
|
342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ModalFooterDirective, decorators: [{
|
|
343
343
|
type: Directive,
|
|
344
344
|
args: [{
|
|
345
345
|
selector: '[mclSidebarModalFooter]',
|
|
@@ -351,10 +351,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.5", ngImpor
|
|
|
351
351
|
|
|
352
352
|
class ModalHeaderDirective {
|
|
353
353
|
constructor() { }
|
|
354
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
355
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
354
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ModalHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
355
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: ModalHeaderDirective, isStandalone: true, selector: "[mclSidebarModalHeader]", host: { styleAttribute: "border-bottom: 1px solid #ddd; margin: -30px -30px 20px; padding: 30px 30px 10px" }, ngImport: i0 });
|
|
356
356
|
}
|
|
357
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ModalHeaderDirective, decorators: [{
|
|
358
358
|
type: Directive,
|
|
359
359
|
args: [{
|
|
360
360
|
selector: '[mclSidebarModalHeader]',
|
|
@@ -372,10 +372,10 @@ class ModalBodyDirective {
|
|
|
372
372
|
get size() {
|
|
373
373
|
return this.config.size;
|
|
374
374
|
}
|
|
375
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
376
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
375
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ModalBodyDirective, deps: [{ token: SIDEBAR_MODAL_OPTIONS }], target: i0.ɵɵFactoryTarget.Directive });
|
|
376
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: ModalBodyDirective, isStandalone: true, selector: "[mclSidebarModalBody]", ngImport: i0 });
|
|
377
377
|
}
|
|
378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: ModalBodyDirective, decorators: [{
|
|
379
379
|
type: Directive,
|
|
380
380
|
args: [{
|
|
381
381
|
selector: '[mclSidebarModalBody]',
|
|
@@ -92,10 +92,10 @@ class FormComponent {
|
|
|
92
92
|
}
|
|
93
93
|
this.eventSubject.next(form);
|
|
94
94
|
}
|
|
95
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
96
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
95
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: FormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
96
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.9", type: FormComponent, isStandalone: true, selector: "mcl-form", inputs: { throttleMillis: "throttleMillis" }, outputs: { submitted: "submitted" }, queries: [{ propertyName: "models", predicate: NgModel, descendants: true }], viewQueries: [{ propertyName: "form", first: true, predicate: NgForm, descendants: true }], ngImport: i0, template: "<form #form=\"ngForm\" (ngSubmit)=\"submit(form)\">\n <ng-content></ng-content>\n</form>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }] });
|
|
97
97
|
}
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: FormComponent, decorators: [{
|
|
99
99
|
type: Component,
|
|
100
100
|
args: [{ selector: 'mcl-form', imports: [
|
|
101
101
|
FormsModule
|
|
@@ -131,10 +131,10 @@ class SingleClickDirective {
|
|
|
131
131
|
this.subscription?.unsubscribe();
|
|
132
132
|
this.singleClick.unsubscribe();
|
|
133
133
|
}
|
|
134
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
135
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
134
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: SingleClickDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
135
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: SingleClickDirective, isStandalone: true, selector: "[mclSingleClick],[singleClick]", inputs: { throttleMillis: "throttleMillis" }, outputs: { singleClick: "singleClick" }, ngImport: i0 });
|
|
136
136
|
}
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: SingleClickDirective, decorators: [{
|
|
138
138
|
type: Directive,
|
|
139
139
|
args: [{
|
|
140
140
|
selector: '[mclSingleClick],[singleClick]'
|
|
@@ -176,10 +176,10 @@ class MensagensErroComponent {
|
|
|
176
176
|
}
|
|
177
177
|
return undefined;
|
|
178
178
|
}
|
|
179
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
180
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.
|
|
179
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MensagensErroComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
180
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.9", type: MensagensErroComponent, isStandalone: true, selector: "[mclErrorFor],[mclError]", inputs: { for: ["mclErrorFor", "for"] }, ngImport: i0, template: "@for (error of errors; track error) {\n <span>{{ 'validation.' + error | translate:control!.errors![error] }}</span>\n}\n", styles: [""], dependencies: [{ kind: "pipe", type: TranslatePipe, name: "translate" }] });
|
|
181
181
|
}
|
|
182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MensagensErroComponent, decorators: [{
|
|
183
183
|
type: Component,
|
|
184
184
|
args: [{ selector: '[mclErrorFor],[mclError]', imports: [
|
|
185
185
|
TranslatePipe,
|