@ngx-smz/core 21.10.0-next.6 → 21.10.0-next.8

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.
@@ -2987,11 +2987,11 @@ class ColorPickerComponent {
2987
2987
  this.control.markAsTouched();
2988
2988
  }
2989
2989
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ColorPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2990
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: ColorPickerComponent, isStandalone: false, selector: "smz-color-picker", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<smz-label\r\n class=\"smz__input_name\"\r\n [text]=\"input.name\"\r\n [propertyName]=\"input.propertyName\"\r\n [showLabel]=\"input.hideLabel != true\"\r\n [warning]=\"input.warning?.()\"\r\n [help]=\"input.tooltip?.()\"\r\n [popover]=\"input.popover?.()\">\r\n</smz-label>\r\n<div class=\"input_inner__wrapper flex flex-wrap items-center justify-start flex-nowrap mt-1\">\r\n <ui-color-picker [id]=\"input.propertyName\" class=\"smz__input_value\" appendTo=\"body\" [formControl]=\"control\">\r\n </ui-color-picker>\r\n <div class=\"flex-grow\">\r\n <input\r\n #colorinput\r\n class=\"smz__input_value colorpicker-hexa-input ml-2\"\r\n smzInputText\r\n [disabled]=\"input.isDisabled\"\r\n [(ngModel)]=\"color\"\r\n (keyup)=\"onInputChange(colorinput.value)\"\r\n (blur)=\"markAsTouched()\"/>\r\n </div>\r\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n</div>", dependencies: [{ kind: "component", type: i2.SmzColorPickerComponent, selector: "ui-color-picker", inputs: ["inputId", "appendTo"], outputs: ["changed"] }, { kind: "directive", type: i1$1.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$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.SmzInputTextDirective, selector: "input[smzInputText]", inputs: ["size", "invalid"] }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: LabelComponent, selector: "smz-label", inputs: ["text", "propertyName", "showLabel", "warning", "help", "popover"] }, { kind: "component", type: ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }] });
2990
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: ColorPickerComponent, isStandalone: false, selector: "smz-color-picker", inputs: { input: "input", control: "control", behaviors: "behaviors" }, ngImport: i0, template: "<smz-label\r\n class=\"smz__input_name\"\r\n [text]=\"input.name\"\r\n [propertyName]=\"input.propertyName\"\r\n [showLabel]=\"input.hideLabel != true\"\r\n [warning]=\"input.warning?.()\"\r\n [help]=\"input.tooltip?.()\"\r\n [popover]=\"input.popover?.()\">\r\n</smz-label>\r\n<div class=\"input_inner__wrapper flex flex-wrap items-center justify-start mt-1\">\r\n <ui-color-picker [id]=\"input.propertyName\" class=\"smz__input_value\" appendTo=\"body\" [formControl]=\"control\">\r\n </ui-color-picker>\r\n <div class=\"flex-grow\">\r\n <input\r\n #colorinput\r\n class=\"smz__input_value colorpicker-hexa-input ml-2\"\r\n smzInputText\r\n [disabled]=\"input.isDisabled\"\r\n [(ngModel)]=\"color\"\r\n (keyup)=\"onInputChange(colorinput.value)\"\r\n (blur)=\"markAsTouched()\"/>\r\n </div>\r\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n</div>", dependencies: [{ kind: "component", type: i2.SmzColorPickerComponent, selector: "ui-color-picker", inputs: ["inputId", "appendTo"], outputs: ["changed"] }, { kind: "directive", type: i1$1.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$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.SmzInputTextDirective, selector: "input[smzInputText]", inputs: ["size", "invalid"] }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: LabelComponent, selector: "smz-label", inputs: ["text", "propertyName", "showLabel", "warning", "help", "popover"] }, { kind: "component", type: ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }] });
2991
2991
  }
2992
2992
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ColorPickerComponent, decorators: [{
2993
2993
  type: Component,
2994
- args: [{ selector: 'smz-color-picker', standalone: false, template: "<smz-label\r\n class=\"smz__input_name\"\r\n [text]=\"input.name\"\r\n [propertyName]=\"input.propertyName\"\r\n [showLabel]=\"input.hideLabel != true\"\r\n [warning]=\"input.warning?.()\"\r\n [help]=\"input.tooltip?.()\"\r\n [popover]=\"input.popover?.()\">\r\n</smz-label>\r\n<div class=\"input_inner__wrapper flex flex-wrap items-center justify-start flex-nowrap mt-1\">\r\n <ui-color-picker [id]=\"input.propertyName\" class=\"smz__input_value\" appendTo=\"body\" [formControl]=\"control\">\r\n </ui-color-picker>\r\n <div class=\"flex-grow\">\r\n <input\r\n #colorinput\r\n class=\"smz__input_value colorpicker-hexa-input ml-2\"\r\n smzInputText\r\n [disabled]=\"input.isDisabled\"\r\n [(ngModel)]=\"color\"\r\n (keyup)=\"onInputChange(colorinput.value)\"\r\n (blur)=\"markAsTouched()\"/>\r\n </div>\r\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n</div>" }]
2994
+ args: [{ selector: 'smz-color-picker', standalone: false, template: "<smz-label\r\n class=\"smz__input_name\"\r\n [text]=\"input.name\"\r\n [propertyName]=\"input.propertyName\"\r\n [showLabel]=\"input.hideLabel != true\"\r\n [warning]=\"input.warning?.()\"\r\n [help]=\"input.tooltip?.()\"\r\n [popover]=\"input.popover?.()\">\r\n</smz-label>\r\n<div class=\"input_inner__wrapper flex flex-wrap items-center justify-start mt-1\">\r\n <ui-color-picker [id]=\"input.propertyName\" class=\"smz__input_value\" appendTo=\"body\" [formControl]=\"control\">\r\n </ui-color-picker>\r\n <div class=\"flex-grow\">\r\n <input\r\n #colorinput\r\n class=\"smz__input_value colorpicker-hexa-input ml-2\"\r\n smzInputText\r\n [disabled]=\"input.isDisabled\"\r\n [(ngModel)]=\"color\"\r\n (keyup)=\"onInputChange(colorinput.value)\"\r\n (blur)=\"markAsTouched()\"/>\r\n </div>\r\n <smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n</div>" }]
2995
2995
  }], propDecorators: { input: [{
2996
2996
  type: Input
2997
2997
  }], control: [{
@@ -3647,11 +3647,11 @@ class FileUploadComponent {
3647
3647
  return '.' + file.name.split('.').pop();
3648
3648
  }
3649
3649
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FileUploadComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$3.Store }], target: i0.ɵɵFactoryTarget.Component });
3650
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: FileUploadComponent, isStandalone: false, selector: "smz-file-upload", inputs: { input: "input", form: "form", control: "control", behaviors: "behaviors" }, outputs: { selectChange: "selectChange" }, ngImport: i0, template: "<smz-label\r\n class=\"smz__input_name\"\r\n [text]=\"input.name\"\r\n [propertyName]=\"input.propertyName\"\r\n [showLabel]=\"input.hideLabel != true\"\r\n [warning]=\"input.warning?.()\"\r\n [help]=\"input.tooltip?.()\"\r\n [popover]=\"input.popover?.()\">\r\n</smz-label>\r\n\r\n<!-- ZONA DE DROPPING -->\r\n@if (input._file == null) {\r\n <div SmzDragDrop (fileDropped)=\"input.isDisabled ? notAllowed() : onFilesDropped($event, true, true, this.cdf)\" class=\"file_upload__drag-container flex flex-wrap items-center justify-center mt-1 mb-1\">\r\n <div class=\"flex flex-wrap flex-col items-center justify-center pt-3 pb-3\">\r\n <!-- ICONE DE UPLOAD -->\r\n <i [ngClass]=\"input.dragIconClass\" class=\"text-4xl mb-2\"></i>\r\n <span class=\"flex flex-wrap gap-2\">\r\n <!-- INPUT DE UPLOAD MANUAL -->\r\n <input type=\"file\" [name]=\"uploadControl\" class=\"upload_manual_control\" [attr.disabled]=\"input.isDisabled\" [accept]=\"input.fileAccept\" [id]=\"uploadControl\" (change)=\"onInputFiles($event)\" />\r\n <!-- BOT\u00C3O PARA SELECIONAR ARQUIVO -->\r\n <label [for]=\"uploadControl\" [ngClass]=\"{ 'text-gray-500' : input.isDisabled,'clickable upload_manual_label hvr hvr-grow': !input.isDisabled }\">{{ input.inputMessage }}</label>\r\n <!-- MENSAGEM PARA ARRASTAR -->\r\n <span class=\"upload_field-drag-message\">ou {{ input.dragMessage }}</span>\r\n </span>\r\n <!-- MENSAGEM DE ERRO PARA SELE\u00C7\u00C3O DE ARQUIVO -->\r\n @for (error of errors; track error) {\r\n <ui-message [ngStyle]=\"{ 'width': '100%;' }\" class=\"dialog-messages\" [severity]=\"$any(error?.severity)\">\r\n {{ error?.detail ?? error?.summary ?? 'Erro desconhecido' }}\r\n </ui-message>\r\n }\r\n </div>\r\n </div>\r\n}\r\n\r\n<!-- CONTE\u00DADO COM ARQUIVO CARREGADO -->\r\n@if (input._file != null) {\r\n <div class=\"flex flex-wrap items-center justify-start flex-nowrap mt-1 mb-1 file_upload-container\">\r\n <div class=\"upload_field\" [style.height]=\"input.thumbnailSize\" [style.width]=\"input.thumbnailSize\">\r\n @switch (input._fileType) {\r\n <!-- IMAGENS -->\r\n @case ('image') {\r\n <!-- THUMBNAIL DE IMAGENS -->\r\n @if (input.base64) {\r\n <img class=\"upload_field-img mr-3\" [src]=\"input.base64 | safeUrl\"/>\r\n }\r\n <!-- ZOOM PARA IMAGENS -->\r\n <div class=\"upload_field__actions\">\r\n <div class=\"flex flex-wrap items-center justify-end mr-2 mt-2\">\r\n @if (input.allowZoom) {\r\n <i class=\"fa-solid fa-magnifying-glass-plus upload_field__actions_icon hvr hvr-grow text-white clickable\" (click)=\"applyZoom()\"></i>\r\n }\r\n </div>\r\n </div>\r\n }\r\n <!-- APLICA\u00C7\u00D5ES -->\r\n @case ('application') {\r\n <div class=\"upload_field-generic h-full w-full flex flex-wrap items-center text-5xl justify-center mr-3\">\r\n <!-- THUMBNAIL DE APLICA\u00C7\u00D5ES -->\r\n @switch (input._fileExtension) {\r\n @case ('.pdf') {\r\n <i class=\"fa-solid fa-file-pdf\"></i>\r\n }\r\n @case ('.doc') {\r\n <i class=\"fa-solid fa-file-word\"></i>\r\n }\r\n @case ('.docx') {\r\n <i class=\"fa-solid fa-file-word\"></i>\r\n }\r\n @case ('.ppt') {\r\n <i class=\"fa-solid fa-file-powerpoint\"></i>\r\n }\r\n @case ('.pptx') {\r\n <i class=\"fa-solid fa-file-powerpoint\"></i>\r\n }\r\n @case ('.xls') {\r\n <i class=\"fa-solid fa-file-excel\"></i>\r\n }\r\n @case ('.xlsx') {\r\n <i class=\"fa-solid fa-file-excel\"></i>\r\n }\r\n @case ('.zip') {\r\n <i class=\"fa-solid fa-file-zipper\"></i>\r\n }\r\n @case ('.7zip') {\r\n <i class=\"fa-solid fa-file-zipper\"></i>\r\n }\r\n @case ('.rar') {\r\n <i class=\"fa-solid fa-file-zipper\"></i>\r\n }\r\n @case ('.txt') {\r\n <i class=\"fa-solid fa-file-lines\"></i>\r\n }\r\n @default {\r\n <i class=\"fa-solid fa-file\"></i>\r\n }\r\n }\r\n </div>\r\n <!-- ZOOM PARA PDF -->\r\n @if (input._fileExtension === '.pdf') {\r\n <div class=\"upload_field__actions\">\r\n <div class=\"flex flex-wrap items-center justify-end mr-2 mt-2\">\r\n @if (input.allowZoom) {\r\n <i class=\"fa-solid fa-magnifying-glass-plus upload_field__actions_icon hvr hvr-grow text-white clickable\" (click)=\"applyZoom()\"></i>\r\n }\r\n </div>\r\n </div>\r\n }\r\n }\r\n <!-- V\u00CDDEOS -->\r\n @case ('video') {\r\n <!-- THUMBNAIL DE V\u00CDDEOS -->\r\n <div class=\"upload_field-generic h-full w-full flex flex-wrap items-center text-5xl justify-center mr-3\">\r\n <i class=\"fa-solid fa-file-video\"></i>\r\n </div>\r\n }\r\n <!-- AUDIOS -->\r\n @case ('audio') {\r\n <!-- THUMBNAIL DE AUDIOS -->\r\n <div class=\"upload_field-generic h-full w-full flex flex-wrap items-center text-5xl justify-center mr-3\">\r\n <i class=\"fa-solid fa-file-audio\"></i>\r\n </div>\r\n }\r\n <!-- OUTROS -->\r\n @default {\r\n <!-- THUMBNAIL GENERICOS -->\r\n <div class=\"upload_field-generic h-full w-full flex flex-wrap items-center text-5xl justify-center mr-3\">\r\n <i class=\"fa-solid fa-file\"></i>\r\n </div>\r\n }\r\n }\r\n </div>\r\n <!-- NOME E TAMANHO DO ARQUIVO -->\r\n <div class=\"flex flex-wrap flex-col items-start justify-end ml-3\">\r\n <span>{{ input._file.name | fileNameShorten : input.shortenLength : input.shortenSeparator }} <i class=\"far fa-trash-alt hvr hvr-grow text-red-500 clickable ml-2 mb-1 cursor-pointer\" (click)=\"clear(true)\"></i></span>\r\n @if (input.showFileSize) {\r\n <span><small>{{ formatBytes(input._file.size) }}</small></span>\r\n }\r\n </div>\r\n </div>\r\n}\r\n\r\n<!-- MENSAGEM DE ERRO DE VALIDA\u00C7\u00C3O DO FORM -->\r\n<smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n\r\n@if (isZoomActive) {\r\n <div class=\"upload_field__fullscreen-image\">\r\n <!-- VISUALIZA\u00C7\u00C3O FULLSCREEN DE PDF -->\r\n @if (input._fileExtension === '.pdf') {\r\n @if (input.base64) {\r\n <iframe [src]=\"input.base64 | safeUrl\" class=\"animate__animated animate__zoomIn animate__faster\" width=\"100%\" height=\"100%\" frameborder=\"0\"></iframe>\r\n }\r\n } @else {\r\n @if (input.base64) {\r\n <img class=\"animate__animated animate__zoomIn animate__faster\" [src]=\"input.base64 | safeUrl\" height=\"100%\" width=\"100%\"/>\r\n }\r\n }\r\n <!-- VISUALIZA\u00C7\u00C3O FULLSCREEN DE IMAGENS -->\r\n <!-- ICONE DE SAIR DO FULLSCREEN -->\r\n <i class=\"far fa-times-circle clickable m-4 hvr hvr-grow text-4xl text-white\" (click)=\"restoreZoom()\"></i>\r\n </div>\r\n}", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.SmzMessageComponent, selector: "ui-message", inputs: ["severity", "text", "icon"] }, { kind: "component", type: LabelComponent, selector: "smz-label", inputs: ["text", "propertyName", "showLabel", "warning", "help", "popover"] }, { kind: "component", type: ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }, { kind: "directive", type: FileDragDropDirective, selector: "[SmzDragDrop]", outputs: ["fileDropped"] }, { kind: "pipe", type: SafeUrlPipe$1, name: "safeUrl" }, { kind: "pipe", type: FileNameShortenPipe, name: "fileNameShorten" }] });
3650
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: FileUploadComponent, isStandalone: false, selector: "smz-file-upload", inputs: { input: "input", form: "form", control: "control", behaviors: "behaviors" }, outputs: { selectChange: "selectChange" }, ngImport: i0, template: "<smz-label\r\n class=\"smz__input_name\"\r\n [text]=\"input.name\"\r\n [propertyName]=\"input.propertyName\"\r\n [showLabel]=\"input.hideLabel != true\"\r\n [warning]=\"input.warning?.()\"\r\n [help]=\"input.tooltip?.()\"\r\n [popover]=\"input.popover?.()\">\r\n</smz-label>\r\n\r\n<!-- ZONA DE DROPPING -->\r\n@if (input._file == null) {\r\n <div SmzDragDrop (fileDropped)=\"input.isDisabled ? notAllowed() : onFilesDropped($event, true, true, this.cdf)\" class=\"file_upload__drag-container flex flex-wrap items-center justify-center mt-1 mb-1\">\r\n <div class=\"flex flex-wrap flex-col items-center justify-center pt-3 pb-3\">\r\n <!-- ICONE DE UPLOAD -->\r\n <i [ngClass]=\"input.dragIconClass\" class=\"text-4xl mb-2\"></i>\r\n <span class=\"flex flex-wrap gap-2\">\r\n <!-- INPUT DE UPLOAD MANUAL -->\r\n <input type=\"file\" [name]=\"uploadControl\" class=\"upload_manual_control\" [attr.disabled]=\"input.isDisabled\" [accept]=\"input.fileAccept\" [id]=\"uploadControl\" (change)=\"onInputFiles($event)\" />\r\n <!-- BOT\u00C3O PARA SELECIONAR ARQUIVO -->\r\n <label [for]=\"uploadControl\" [ngClass]=\"{ 'text-gray-500' : input.isDisabled,'clickable upload_manual_label hvr hvr-grow': !input.isDisabled }\">{{ input.inputMessage }}</label>\r\n <!-- MENSAGEM PARA ARRASTAR -->\r\n <span class=\"upload_field-drag-message\">ou {{ input.dragMessage }}</span>\r\n </span>\r\n <!-- MENSAGEM DE ERRO PARA SELE\u00C7\u00C3O DE ARQUIVO -->\r\n @for (error of errors; track error) {\r\n <ui-message [ngStyle]=\"{ 'width': '100%;' }\" class=\"dialog-messages\" [severity]=\"$any(error?.severity)\">\r\n {{ error?.detail ?? error?.summary ?? 'Erro desconhecido' }}\r\n </ui-message>\r\n }\r\n </div>\r\n </div>\r\n}\r\n\r\n<!-- CONTE\u00DADO COM ARQUIVO CARREGADO -->\r\n@if (input._file != null) {\r\n <div class=\"flex flex-wrap items-center justify-start mt-1 mb-1 file_upload-container\">\r\n <div class=\"upload_field\" [style.height]=\"input.thumbnailSize\" [style.width]=\"input.thumbnailSize\">\r\n @switch (input._fileType) {\r\n <!-- IMAGENS -->\r\n @case ('image') {\r\n <!-- THUMBNAIL DE IMAGENS -->\r\n @if (input.base64) {\r\n <img class=\"upload_field-img mr-3\" [src]=\"input.base64 | safeUrl\"/>\r\n }\r\n <!-- ZOOM PARA IMAGENS -->\r\n <div class=\"upload_field__actions\">\r\n <div class=\"flex flex-wrap items-center justify-end mr-2 mt-2\">\r\n @if (input.allowZoom) {\r\n <i class=\"fa-solid fa-magnifying-glass-plus upload_field__actions_icon hvr hvr-grow text-white clickable\" (click)=\"applyZoom()\"></i>\r\n }\r\n </div>\r\n </div>\r\n }\r\n <!-- APLICA\u00C7\u00D5ES -->\r\n @case ('application') {\r\n <div class=\"upload_field-generic h-full w-full flex flex-wrap items-center text-5xl justify-center mr-3\">\r\n <!-- THUMBNAIL DE APLICA\u00C7\u00D5ES -->\r\n @switch (input._fileExtension) {\r\n @case ('.pdf') {\r\n <i class=\"fa-solid fa-file-pdf\"></i>\r\n }\r\n @case ('.doc') {\r\n <i class=\"fa-solid fa-file-word\"></i>\r\n }\r\n @case ('.docx') {\r\n <i class=\"fa-solid fa-file-word\"></i>\r\n }\r\n @case ('.ppt') {\r\n <i class=\"fa-solid fa-file-powerpoint\"></i>\r\n }\r\n @case ('.pptx') {\r\n <i class=\"fa-solid fa-file-powerpoint\"></i>\r\n }\r\n @case ('.xls') {\r\n <i class=\"fa-solid fa-file-excel\"></i>\r\n }\r\n @case ('.xlsx') {\r\n <i class=\"fa-solid fa-file-excel\"></i>\r\n }\r\n @case ('.zip') {\r\n <i class=\"fa-solid fa-file-zipper\"></i>\r\n }\r\n @case ('.7zip') {\r\n <i class=\"fa-solid fa-file-zipper\"></i>\r\n }\r\n @case ('.rar') {\r\n <i class=\"fa-solid fa-file-zipper\"></i>\r\n }\r\n @case ('.txt') {\r\n <i class=\"fa-solid fa-file-lines\"></i>\r\n }\r\n @default {\r\n <i class=\"fa-solid fa-file\"></i>\r\n }\r\n }\r\n </div>\r\n <!-- ZOOM PARA PDF -->\r\n @if (input._fileExtension === '.pdf') {\r\n <div class=\"upload_field__actions\">\r\n <div class=\"flex flex-wrap items-center justify-end mr-2 mt-2\">\r\n @if (input.allowZoom) {\r\n <i class=\"fa-solid fa-magnifying-glass-plus upload_field__actions_icon hvr hvr-grow text-white clickable\" (click)=\"applyZoom()\"></i>\r\n }\r\n </div>\r\n </div>\r\n }\r\n }\r\n <!-- V\u00CDDEOS -->\r\n @case ('video') {\r\n <!-- THUMBNAIL DE V\u00CDDEOS -->\r\n <div class=\"upload_field-generic h-full w-full flex flex-wrap items-center text-5xl justify-center mr-3\">\r\n <i class=\"fa-solid fa-file-video\"></i>\r\n </div>\r\n }\r\n <!-- AUDIOS -->\r\n @case ('audio') {\r\n <!-- THUMBNAIL DE AUDIOS -->\r\n <div class=\"upload_field-generic h-full w-full flex flex-wrap items-center text-5xl justify-center mr-3\">\r\n <i class=\"fa-solid fa-file-audio\"></i>\r\n </div>\r\n }\r\n <!-- OUTROS -->\r\n @default {\r\n <!-- THUMBNAIL GENERICOS -->\r\n <div class=\"upload_field-generic h-full w-full flex flex-wrap items-center text-5xl justify-center mr-3\">\r\n <i class=\"fa-solid fa-file\"></i>\r\n </div>\r\n }\r\n }\r\n </div>\r\n <!-- NOME E TAMANHO DO ARQUIVO -->\r\n <div class=\"flex flex-wrap flex-col items-start justify-end ml-3\">\r\n <span>{{ input._file.name | fileNameShorten : input.shortenLength : input.shortenSeparator }} <i class=\"far fa-trash-alt hvr hvr-grow text-red-500 clickable ml-2 mb-1 cursor-pointer\" (click)=\"clear(true)\"></i></span>\r\n @if (input.showFileSize) {\r\n <span><small>{{ formatBytes(input._file.size) }}</small></span>\r\n }\r\n </div>\r\n </div>\r\n}\r\n\r\n<!-- MENSAGEM DE ERRO DE VALIDA\u00C7\u00C3O DO FORM -->\r\n<smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n\r\n@if (isZoomActive) {\r\n <div class=\"upload_field__fullscreen-image\">\r\n <!-- VISUALIZA\u00C7\u00C3O FULLSCREEN DE PDF -->\r\n @if (input._fileExtension === '.pdf') {\r\n @if (input.base64) {\r\n <iframe [src]=\"input.base64 | safeUrl\" class=\"animate__animated animate__zoomIn animate__faster\" width=\"100%\" height=\"100%\" frameborder=\"0\"></iframe>\r\n }\r\n } @else {\r\n @if (input.base64) {\r\n <img class=\"animate__animated animate__zoomIn animate__faster\" [src]=\"input.base64 | safeUrl\" height=\"100%\" width=\"100%\"/>\r\n }\r\n }\r\n <!-- VISUALIZA\u00C7\u00C3O FULLSCREEN DE IMAGENS -->\r\n <!-- ICONE DE SAIR DO FULLSCREEN -->\r\n <i class=\"far fa-times-circle clickable m-4 hvr hvr-grow text-4xl text-white\" (click)=\"restoreZoom()\"></i>\r\n </div>\r\n}", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.SmzMessageComponent, selector: "ui-message", inputs: ["severity", "text", "icon"] }, { kind: "component", type: LabelComponent, selector: "smz-label", inputs: ["text", "propertyName", "showLabel", "warning", "help", "popover"] }, { kind: "component", type: ValidationMessagesComponent, selector: "smz-validation-messages", inputs: ["input", "control", "behaviors", "extraMessages"] }, { kind: "directive", type: FileDragDropDirective, selector: "[SmzDragDrop]", outputs: ["fileDropped"] }, { kind: "pipe", type: SafeUrlPipe$1, name: "safeUrl" }, { kind: "pipe", type: FileNameShortenPipe, name: "fileNameShorten" }] });
3651
3651
  }
3652
3652
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: FileUploadComponent, decorators: [{
3653
3653
  type: Component,
3654
- args: [{ selector: 'smz-file-upload', standalone: false, template: "<smz-label\r\n class=\"smz__input_name\"\r\n [text]=\"input.name\"\r\n [propertyName]=\"input.propertyName\"\r\n [showLabel]=\"input.hideLabel != true\"\r\n [warning]=\"input.warning?.()\"\r\n [help]=\"input.tooltip?.()\"\r\n [popover]=\"input.popover?.()\">\r\n</smz-label>\r\n\r\n<!-- ZONA DE DROPPING -->\r\n@if (input._file == null) {\r\n <div SmzDragDrop (fileDropped)=\"input.isDisabled ? notAllowed() : onFilesDropped($event, true, true, this.cdf)\" class=\"file_upload__drag-container flex flex-wrap items-center justify-center mt-1 mb-1\">\r\n <div class=\"flex flex-wrap flex-col items-center justify-center pt-3 pb-3\">\r\n <!-- ICONE DE UPLOAD -->\r\n <i [ngClass]=\"input.dragIconClass\" class=\"text-4xl mb-2\"></i>\r\n <span class=\"flex flex-wrap gap-2\">\r\n <!-- INPUT DE UPLOAD MANUAL -->\r\n <input type=\"file\" [name]=\"uploadControl\" class=\"upload_manual_control\" [attr.disabled]=\"input.isDisabled\" [accept]=\"input.fileAccept\" [id]=\"uploadControl\" (change)=\"onInputFiles($event)\" />\r\n <!-- BOT\u00C3O PARA SELECIONAR ARQUIVO -->\r\n <label [for]=\"uploadControl\" [ngClass]=\"{ 'text-gray-500' : input.isDisabled,'clickable upload_manual_label hvr hvr-grow': !input.isDisabled }\">{{ input.inputMessage }}</label>\r\n <!-- MENSAGEM PARA ARRASTAR -->\r\n <span class=\"upload_field-drag-message\">ou {{ input.dragMessage }}</span>\r\n </span>\r\n <!-- MENSAGEM DE ERRO PARA SELE\u00C7\u00C3O DE ARQUIVO -->\r\n @for (error of errors; track error) {\r\n <ui-message [ngStyle]=\"{ 'width': '100%;' }\" class=\"dialog-messages\" [severity]=\"$any(error?.severity)\">\r\n {{ error?.detail ?? error?.summary ?? 'Erro desconhecido' }}\r\n </ui-message>\r\n }\r\n </div>\r\n </div>\r\n}\r\n\r\n<!-- CONTE\u00DADO COM ARQUIVO CARREGADO -->\r\n@if (input._file != null) {\r\n <div class=\"flex flex-wrap items-center justify-start flex-nowrap mt-1 mb-1 file_upload-container\">\r\n <div class=\"upload_field\" [style.height]=\"input.thumbnailSize\" [style.width]=\"input.thumbnailSize\">\r\n @switch (input._fileType) {\r\n <!-- IMAGENS -->\r\n @case ('image') {\r\n <!-- THUMBNAIL DE IMAGENS -->\r\n @if (input.base64) {\r\n <img class=\"upload_field-img mr-3\" [src]=\"input.base64 | safeUrl\"/>\r\n }\r\n <!-- ZOOM PARA IMAGENS -->\r\n <div class=\"upload_field__actions\">\r\n <div class=\"flex flex-wrap items-center justify-end mr-2 mt-2\">\r\n @if (input.allowZoom) {\r\n <i class=\"fa-solid fa-magnifying-glass-plus upload_field__actions_icon hvr hvr-grow text-white clickable\" (click)=\"applyZoom()\"></i>\r\n }\r\n </div>\r\n </div>\r\n }\r\n <!-- APLICA\u00C7\u00D5ES -->\r\n @case ('application') {\r\n <div class=\"upload_field-generic h-full w-full flex flex-wrap items-center text-5xl justify-center mr-3\">\r\n <!-- THUMBNAIL DE APLICA\u00C7\u00D5ES -->\r\n @switch (input._fileExtension) {\r\n @case ('.pdf') {\r\n <i class=\"fa-solid fa-file-pdf\"></i>\r\n }\r\n @case ('.doc') {\r\n <i class=\"fa-solid fa-file-word\"></i>\r\n }\r\n @case ('.docx') {\r\n <i class=\"fa-solid fa-file-word\"></i>\r\n }\r\n @case ('.ppt') {\r\n <i class=\"fa-solid fa-file-powerpoint\"></i>\r\n }\r\n @case ('.pptx') {\r\n <i class=\"fa-solid fa-file-powerpoint\"></i>\r\n }\r\n @case ('.xls') {\r\n <i class=\"fa-solid fa-file-excel\"></i>\r\n }\r\n @case ('.xlsx') {\r\n <i class=\"fa-solid fa-file-excel\"></i>\r\n }\r\n @case ('.zip') {\r\n <i class=\"fa-solid fa-file-zipper\"></i>\r\n }\r\n @case ('.7zip') {\r\n <i class=\"fa-solid fa-file-zipper\"></i>\r\n }\r\n @case ('.rar') {\r\n <i class=\"fa-solid fa-file-zipper\"></i>\r\n }\r\n @case ('.txt') {\r\n <i class=\"fa-solid fa-file-lines\"></i>\r\n }\r\n @default {\r\n <i class=\"fa-solid fa-file\"></i>\r\n }\r\n }\r\n </div>\r\n <!-- ZOOM PARA PDF -->\r\n @if (input._fileExtension === '.pdf') {\r\n <div class=\"upload_field__actions\">\r\n <div class=\"flex flex-wrap items-center justify-end mr-2 mt-2\">\r\n @if (input.allowZoom) {\r\n <i class=\"fa-solid fa-magnifying-glass-plus upload_field__actions_icon hvr hvr-grow text-white clickable\" (click)=\"applyZoom()\"></i>\r\n }\r\n </div>\r\n </div>\r\n }\r\n }\r\n <!-- V\u00CDDEOS -->\r\n @case ('video') {\r\n <!-- THUMBNAIL DE V\u00CDDEOS -->\r\n <div class=\"upload_field-generic h-full w-full flex flex-wrap items-center text-5xl justify-center mr-3\">\r\n <i class=\"fa-solid fa-file-video\"></i>\r\n </div>\r\n }\r\n <!-- AUDIOS -->\r\n @case ('audio') {\r\n <!-- THUMBNAIL DE AUDIOS -->\r\n <div class=\"upload_field-generic h-full w-full flex flex-wrap items-center text-5xl justify-center mr-3\">\r\n <i class=\"fa-solid fa-file-audio\"></i>\r\n </div>\r\n }\r\n <!-- OUTROS -->\r\n @default {\r\n <!-- THUMBNAIL GENERICOS -->\r\n <div class=\"upload_field-generic h-full w-full flex flex-wrap items-center text-5xl justify-center mr-3\">\r\n <i class=\"fa-solid fa-file\"></i>\r\n </div>\r\n }\r\n }\r\n </div>\r\n <!-- NOME E TAMANHO DO ARQUIVO -->\r\n <div class=\"flex flex-wrap flex-col items-start justify-end ml-3\">\r\n <span>{{ input._file.name | fileNameShorten : input.shortenLength : input.shortenSeparator }} <i class=\"far fa-trash-alt hvr hvr-grow text-red-500 clickable ml-2 mb-1 cursor-pointer\" (click)=\"clear(true)\"></i></span>\r\n @if (input.showFileSize) {\r\n <span><small>{{ formatBytes(input._file.size) }}</small></span>\r\n }\r\n </div>\r\n </div>\r\n}\r\n\r\n<!-- MENSAGEM DE ERRO DE VALIDA\u00C7\u00C3O DO FORM -->\r\n<smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n\r\n@if (isZoomActive) {\r\n <div class=\"upload_field__fullscreen-image\">\r\n <!-- VISUALIZA\u00C7\u00C3O FULLSCREEN DE PDF -->\r\n @if (input._fileExtension === '.pdf') {\r\n @if (input.base64) {\r\n <iframe [src]=\"input.base64 | safeUrl\" class=\"animate__animated animate__zoomIn animate__faster\" width=\"100%\" height=\"100%\" frameborder=\"0\"></iframe>\r\n }\r\n } @else {\r\n @if (input.base64) {\r\n <img class=\"animate__animated animate__zoomIn animate__faster\" [src]=\"input.base64 | safeUrl\" height=\"100%\" width=\"100%\"/>\r\n }\r\n }\r\n <!-- VISUALIZA\u00C7\u00C3O FULLSCREEN DE IMAGENS -->\r\n <!-- ICONE DE SAIR DO FULLSCREEN -->\r\n <i class=\"far fa-times-circle clickable m-4 hvr hvr-grow text-4xl text-white\" (click)=\"restoreZoom()\"></i>\r\n </div>\r\n}" }]
3654
+ args: [{ selector: 'smz-file-upload', standalone: false, template: "<smz-label\r\n class=\"smz__input_name\"\r\n [text]=\"input.name\"\r\n [propertyName]=\"input.propertyName\"\r\n [showLabel]=\"input.hideLabel != true\"\r\n [warning]=\"input.warning?.()\"\r\n [help]=\"input.tooltip?.()\"\r\n [popover]=\"input.popover?.()\">\r\n</smz-label>\r\n\r\n<!-- ZONA DE DROPPING -->\r\n@if (input._file == null) {\r\n <div SmzDragDrop (fileDropped)=\"input.isDisabled ? notAllowed() : onFilesDropped($event, true, true, this.cdf)\" class=\"file_upload__drag-container flex flex-wrap items-center justify-center mt-1 mb-1\">\r\n <div class=\"flex flex-wrap flex-col items-center justify-center pt-3 pb-3\">\r\n <!-- ICONE DE UPLOAD -->\r\n <i [ngClass]=\"input.dragIconClass\" class=\"text-4xl mb-2\"></i>\r\n <span class=\"flex flex-wrap gap-2\">\r\n <!-- INPUT DE UPLOAD MANUAL -->\r\n <input type=\"file\" [name]=\"uploadControl\" class=\"upload_manual_control\" [attr.disabled]=\"input.isDisabled\" [accept]=\"input.fileAccept\" [id]=\"uploadControl\" (change)=\"onInputFiles($event)\" />\r\n <!-- BOT\u00C3O PARA SELECIONAR ARQUIVO -->\r\n <label [for]=\"uploadControl\" [ngClass]=\"{ 'text-gray-500' : input.isDisabled,'clickable upload_manual_label hvr hvr-grow': !input.isDisabled }\">{{ input.inputMessage }}</label>\r\n <!-- MENSAGEM PARA ARRASTAR -->\r\n <span class=\"upload_field-drag-message\">ou {{ input.dragMessage }}</span>\r\n </span>\r\n <!-- MENSAGEM DE ERRO PARA SELE\u00C7\u00C3O DE ARQUIVO -->\r\n @for (error of errors; track error) {\r\n <ui-message [ngStyle]=\"{ 'width': '100%;' }\" class=\"dialog-messages\" [severity]=\"$any(error?.severity)\">\r\n {{ error?.detail ?? error?.summary ?? 'Erro desconhecido' }}\r\n </ui-message>\r\n }\r\n </div>\r\n </div>\r\n}\r\n\r\n<!-- CONTE\u00DADO COM ARQUIVO CARREGADO -->\r\n@if (input._file != null) {\r\n <div class=\"flex flex-wrap items-center justify-start mt-1 mb-1 file_upload-container\">\r\n <div class=\"upload_field\" [style.height]=\"input.thumbnailSize\" [style.width]=\"input.thumbnailSize\">\r\n @switch (input._fileType) {\r\n <!-- IMAGENS -->\r\n @case ('image') {\r\n <!-- THUMBNAIL DE IMAGENS -->\r\n @if (input.base64) {\r\n <img class=\"upload_field-img mr-3\" [src]=\"input.base64 | safeUrl\"/>\r\n }\r\n <!-- ZOOM PARA IMAGENS -->\r\n <div class=\"upload_field__actions\">\r\n <div class=\"flex flex-wrap items-center justify-end mr-2 mt-2\">\r\n @if (input.allowZoom) {\r\n <i class=\"fa-solid fa-magnifying-glass-plus upload_field__actions_icon hvr hvr-grow text-white clickable\" (click)=\"applyZoom()\"></i>\r\n }\r\n </div>\r\n </div>\r\n }\r\n <!-- APLICA\u00C7\u00D5ES -->\r\n @case ('application') {\r\n <div class=\"upload_field-generic h-full w-full flex flex-wrap items-center text-5xl justify-center mr-3\">\r\n <!-- THUMBNAIL DE APLICA\u00C7\u00D5ES -->\r\n @switch (input._fileExtension) {\r\n @case ('.pdf') {\r\n <i class=\"fa-solid fa-file-pdf\"></i>\r\n }\r\n @case ('.doc') {\r\n <i class=\"fa-solid fa-file-word\"></i>\r\n }\r\n @case ('.docx') {\r\n <i class=\"fa-solid fa-file-word\"></i>\r\n }\r\n @case ('.ppt') {\r\n <i class=\"fa-solid fa-file-powerpoint\"></i>\r\n }\r\n @case ('.pptx') {\r\n <i class=\"fa-solid fa-file-powerpoint\"></i>\r\n }\r\n @case ('.xls') {\r\n <i class=\"fa-solid fa-file-excel\"></i>\r\n }\r\n @case ('.xlsx') {\r\n <i class=\"fa-solid fa-file-excel\"></i>\r\n }\r\n @case ('.zip') {\r\n <i class=\"fa-solid fa-file-zipper\"></i>\r\n }\r\n @case ('.7zip') {\r\n <i class=\"fa-solid fa-file-zipper\"></i>\r\n }\r\n @case ('.rar') {\r\n <i class=\"fa-solid fa-file-zipper\"></i>\r\n }\r\n @case ('.txt') {\r\n <i class=\"fa-solid fa-file-lines\"></i>\r\n }\r\n @default {\r\n <i class=\"fa-solid fa-file\"></i>\r\n }\r\n }\r\n </div>\r\n <!-- ZOOM PARA PDF -->\r\n @if (input._fileExtension === '.pdf') {\r\n <div class=\"upload_field__actions\">\r\n <div class=\"flex flex-wrap items-center justify-end mr-2 mt-2\">\r\n @if (input.allowZoom) {\r\n <i class=\"fa-solid fa-magnifying-glass-plus upload_field__actions_icon hvr hvr-grow text-white clickable\" (click)=\"applyZoom()\"></i>\r\n }\r\n </div>\r\n </div>\r\n }\r\n }\r\n <!-- V\u00CDDEOS -->\r\n @case ('video') {\r\n <!-- THUMBNAIL DE V\u00CDDEOS -->\r\n <div class=\"upload_field-generic h-full w-full flex flex-wrap items-center text-5xl justify-center mr-3\">\r\n <i class=\"fa-solid fa-file-video\"></i>\r\n </div>\r\n }\r\n <!-- AUDIOS -->\r\n @case ('audio') {\r\n <!-- THUMBNAIL DE AUDIOS -->\r\n <div class=\"upload_field-generic h-full w-full flex flex-wrap items-center text-5xl justify-center mr-3\">\r\n <i class=\"fa-solid fa-file-audio\"></i>\r\n </div>\r\n }\r\n <!-- OUTROS -->\r\n @default {\r\n <!-- THUMBNAIL GENERICOS -->\r\n <div class=\"upload_field-generic h-full w-full flex flex-wrap items-center text-5xl justify-center mr-3\">\r\n <i class=\"fa-solid fa-file\"></i>\r\n </div>\r\n }\r\n }\r\n </div>\r\n <!-- NOME E TAMANHO DO ARQUIVO -->\r\n <div class=\"flex flex-wrap flex-col items-start justify-end ml-3\">\r\n <span>{{ input._file.name | fileNameShorten : input.shortenLength : input.shortenSeparator }} <i class=\"far fa-trash-alt hvr hvr-grow text-red-500 clickable ml-2 mb-1 cursor-pointer\" (click)=\"clear(true)\"></i></span>\r\n @if (input.showFileSize) {\r\n <span><small>{{ formatBytes(input._file.size) }}</small></span>\r\n }\r\n </div>\r\n </div>\r\n}\r\n\r\n<!-- MENSAGEM DE ERRO DE VALIDA\u00C7\u00C3O DO FORM -->\r\n<smz-validation-messages [input]=\"input\" [control]=\"control\" [behaviors]=\"behaviors\"></smz-validation-messages>\r\n\r\n@if (isZoomActive) {\r\n <div class=\"upload_field__fullscreen-image\">\r\n <!-- VISUALIZA\u00C7\u00C3O FULLSCREEN DE PDF -->\r\n @if (input._fileExtension === '.pdf') {\r\n @if (input.base64) {\r\n <iframe [src]=\"input.base64 | safeUrl\" class=\"animate__animated animate__zoomIn animate__faster\" width=\"100%\" height=\"100%\" frameborder=\"0\"></iframe>\r\n }\r\n } @else {\r\n @if (input.base64) {\r\n <img class=\"animate__animated animate__zoomIn animate__faster\" [src]=\"input.base64 | safeUrl\" height=\"100%\" width=\"100%\"/>\r\n }\r\n }\r\n <!-- VISUALIZA\u00C7\u00C3O FULLSCREEN DE IMAGENS -->\r\n <!-- ICONE DE SAIR DO FULLSCREEN -->\r\n <i class=\"far fa-times-circle clickable m-4 hvr hvr-grow text-4xl text-white\" (click)=\"restoreZoom()\"></i>\r\n </div>\r\n}" }]
3655
3655
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1$3.Store }], propDecorators: { input: [{
3656
3656
  type: Input
3657
3657
  }], form: [{
@@ -38325,7 +38325,7 @@ class HephaestusProfileMenuComponent {
38325
38325
  }
38326
38326
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: HephaestusProfileMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
38327
38327
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: HephaestusProfileMenuComponent, isStandalone: false, selector: "[smz-ui-hephaestus-profile-menu]", inputs: { items: "items" }, host: { properties: { "class": "this.themeClass" } }, ngImport: i0, template: `
38328
- <a class="profile clickable flex flex-wrap items-center justify-end m-0 p-0 flex-nowrap gap-2" [ngClass]="{ 'profile-with-icon': !uiConfig.layouts.useAvatar }" (click)="toggle()">
38328
+ <a class="profile clickable flex flex-wrap items-center justify-end m-0 p-0 gap-2" [ngClass]="{ 'profile-with-icon': !uiConfig.layouts.useAvatar }" (click)="toggle()">
38329
38329
  @if (userData$ | async; as userdata) {
38330
38330
  <span class="username">{{ uiConfig.layouts.profileMessage }}{{ userdata[uiConfig.layouts.usernameProperty] }}</span>
38331
38331
  @if (uiConfig.layouts.useAvatar && userdata[uiConfig.layouts.avatarProperty]) {
@@ -38356,7 +38356,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
38356
38356
  selector: '[smz-ui-hephaestus-profile-menu]',
38357
38357
  changeDetection: ChangeDetectionStrategy.OnPush,
38358
38358
  template: `
38359
- <a class="profile clickable flex flex-wrap items-center justify-end m-0 p-0 flex-nowrap gap-2" [ngClass]="{ 'profile-with-icon': !uiConfig.layouts.useAvatar }" (click)="toggle()">
38359
+ <a class="profile clickable flex flex-wrap items-center justify-end m-0 p-0 gap-2" [ngClass]="{ 'profile-with-icon': !uiConfig.layouts.useAvatar }" (click)="toggle()">
38360
38360
  @if (userData$ | async; as userdata) {
38361
38361
  <span class="username">{{ uiConfig.layouts.profileMessage }}{{ userdata[uiConfig.layouts.usernameProperty] }}</span>
38362
38362
  @if (uiConfig.layouts.useAvatar && userdata[uiConfig.layouts.avatarProperty]) {
@@ -40542,7 +40542,7 @@ class AthenaProfileMenuComponent {
40542
40542
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AthenaProfileMenuComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
40543
40543
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AthenaProfileMenuComponent, isStandalone: false, selector: "[smz-ui-athena-profile-menu]", inputs: { profile: "profile" }, host: { listeners: { "document:click": "collapse($event)" }, properties: { "class": "this.themeClass" } }, queries: [{ propertyName: "templates", predicate: SmzTemplateDirective }], ngImport: i0, template: `
40544
40544
  <!-- <ng-content></ng-content> -->
40545
- <a class="profile clickable flex flex-wrap items-center justify-end m-0 p-0 flex-nowrap gap-2" [ngClass]="{ 'profile-with-icon': !uiConfig.layouts.useAvatar }" (click)="toggle()">
40545
+ <a class="profile clickable flex flex-wrap items-center justify-end m-0 p-0 gap-2" [ngClass]="{ 'profile-with-icon': !uiConfig.layouts.useAvatar }" (click)="toggle()">
40546
40546
  @if (userData$ | async; as userdata) {
40547
40547
  <span class="username">{{ uiConfig.layouts.profileMessage }}{{ userdata[uiConfig.layouts.usernameProperty] }}</span>
40548
40548
  @if (uiConfig.layouts.useAvatar && userdata[uiConfig.layouts.avatarProperty]) {
@@ -40571,7 +40571,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
40571
40571
  changeDetection: ChangeDetectionStrategy.OnPush,
40572
40572
  template: `
40573
40573
  <!-- <ng-content></ng-content> -->
40574
- <a class="profile clickable flex flex-wrap items-center justify-end m-0 p-0 flex-nowrap gap-2" [ngClass]="{ 'profile-with-icon': !uiConfig.layouts.useAvatar }" (click)="toggle()">
40574
+ <a class="profile clickable flex flex-wrap items-center justify-end m-0 p-0 gap-2" [ngClass]="{ 'profile-with-icon': !uiConfig.layouts.useAvatar }" (click)="toggle()">
40575
40575
  @if (userData$ | async; as userdata) {
40576
40576
  <span class="username">{{ uiConfig.layouts.profileMessage }}{{ userdata[uiConfig.layouts.usernameProperty] }}</span>
40577
40577
  @if (uiConfig.layouts.useAvatar && userdata[uiConfig.layouts.avatarProperty]) {
@@ -41158,11 +41158,11 @@ class NotificationItemComponent {
41158
41158
  ngOnInit() {
41159
41159
  }
41160
41160
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NotificationItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
41161
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: NotificationItemComponent, isStandalone: false, selector: "smz-notification-item", inputs: { item: "item", charactersLimit: "charactersLimit", showDate: "showDate" }, ngImport: i0, template: "<div class=\"flex flex-wrap flex-row flex-nowrap items-center justify-between relative py-2 pl-2 min-h-[90px] -m-1\" [ngClass]=\"uiConfig.rbkUtils.notifications.showTypeIndicators ? typeClass[item.type] : ''\">\r\n\r\n <div class=\"flex flex-wrap flex-col items-stretch justify-start relative p-1 -m-1\">\r\n <div class=\"flex flex-wrap items-center justify-start mb-1 p-1\">\r\n <div class=\"font-medium\" [ngClass]=\"{ 'font-extrabold': item.status === status.NEW || item.status === status.NOTIFIED }\">{{item.title}}</div>\r\n @if (item.status === status.NEW) {\r\n <div class=\"rounded bg-blue-500 text-white px-1 py-0.5 ml-2 text-xs\">NOVO</div>\r\n }\r\n </div>\r\n <div class=\"text-sm p-1\" [ngClass]=\"{ 'font-bold': item.status === status.NEW || item.status === status.NOTIFIED }\">{{ charactersLimit != null ? (item.body | shorten : charactersLimit : '...') : item.body}}</div>\r\n </div>\r\n\r\n @if (showDate) {\r\n <div class=\"p-1\">\r\n @if (uiConfig.rbkUtils.notifications.date; as date) {\r\n <span class=\"text-xs text-right whitespace-nowrap\">\r\n {{ item.date | calendar : date.recentsMethod : date.recentsDaysCount : date.othersFormat }}\r\n </span>\r\n }\r\n </div>\r\n }\r\n\r\n</div>\r\n", styles: ["smz-notification-item .success-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-success)}smz-notification-item .info-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-info)}smz-notification-item .warning-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-warning)}smz-notification-item .danger-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-danger)}smz-notification-item .help-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-help)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: CalendarPipe, name: "calendar" }, { kind: "pipe", type: ShortenPipe, name: "shorten" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
41161
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: NotificationItemComponent, isStandalone: false, selector: "smz-notification-item", inputs: { item: "item", charactersLimit: "charactersLimit", showDate: "showDate" }, ngImport: i0, template: "<div class=\"flex flex-wrap flex-row items-center justify-between relative py-2 pl-2 min-h-[90px] -m-1\" [ngClass]=\"uiConfig.rbkUtils.notifications.showTypeIndicators ? typeClass[item.type] : ''\">\r\n\r\n <div class=\"flex flex-wrap flex-col items-stretch justify-start relative p-1 -m-1\">\r\n <div class=\"flex flex-wrap items-center justify-start mb-1 p-1\">\r\n <div class=\"font-medium\" [ngClass]=\"{ 'font-extrabold': item.status === status.NEW || item.status === status.NOTIFIED }\">{{item.title}}</div>\r\n @if (item.status === status.NEW) {\r\n <div class=\"rounded bg-blue-500 text-white px-1 py-0.5 ml-2 text-xs\">NOVO</div>\r\n }\r\n </div>\r\n <div class=\"text-sm p-1\" [ngClass]=\"{ 'font-bold': item.status === status.NEW || item.status === status.NOTIFIED }\">{{ charactersLimit != null ? (item.body | shorten : charactersLimit : '...') : item.body}}</div>\r\n </div>\r\n\r\n @if (showDate) {\r\n <div class=\"p-1\">\r\n @if (uiConfig.rbkUtils.notifications.date; as date) {\r\n <span class=\"text-xs text-right whitespace-nowrap\">\r\n {{ item.date | calendar : date.recentsMethod : date.recentsDaysCount : date.othersFormat }}\r\n </span>\r\n }\r\n </div>\r\n }\r\n\r\n</div>\r\n", styles: ["smz-notification-item .success-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-success)}smz-notification-item .info-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-info)}smz-notification-item .warning-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-warning)}smz-notification-item .danger-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-danger)}smz-notification-item .help-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-help)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "pipe", type: CalendarPipe, name: "calendar" }, { kind: "pipe", type: ShortenPipe, name: "shorten" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
41162
41162
  }
41163
41163
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NotificationItemComponent, decorators: [{
41164
41164
  type: Component,
41165
- args: [{ selector: 'smz-notification-item', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"flex flex-wrap flex-row flex-nowrap items-center justify-between relative py-2 pl-2 min-h-[90px] -m-1\" [ngClass]=\"uiConfig.rbkUtils.notifications.showTypeIndicators ? typeClass[item.type] : ''\">\r\n\r\n <div class=\"flex flex-wrap flex-col items-stretch justify-start relative p-1 -m-1\">\r\n <div class=\"flex flex-wrap items-center justify-start mb-1 p-1\">\r\n <div class=\"font-medium\" [ngClass]=\"{ 'font-extrabold': item.status === status.NEW || item.status === status.NOTIFIED }\">{{item.title}}</div>\r\n @if (item.status === status.NEW) {\r\n <div class=\"rounded bg-blue-500 text-white px-1 py-0.5 ml-2 text-xs\">NOVO</div>\r\n }\r\n </div>\r\n <div class=\"text-sm p-1\" [ngClass]=\"{ 'font-bold': item.status === status.NEW || item.status === status.NOTIFIED }\">{{ charactersLimit != null ? (item.body | shorten : charactersLimit : '...') : item.body}}</div>\r\n </div>\r\n\r\n @if (showDate) {\r\n <div class=\"p-1\">\r\n @if (uiConfig.rbkUtils.notifications.date; as date) {\r\n <span class=\"text-xs text-right whitespace-nowrap\">\r\n {{ item.date | calendar : date.recentsMethod : date.recentsDaysCount : date.othersFormat }}\r\n </span>\r\n }\r\n </div>\r\n }\r\n\r\n</div>\r\n", styles: ["smz-notification-item .success-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-success)}smz-notification-item .info-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-info)}smz-notification-item .warning-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-warning)}smz-notification-item .danger-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-danger)}smz-notification-item .help-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-help)}\n"] }]
41165
+ args: [{ selector: 'smz-notification-item', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"flex flex-wrap flex-row items-center justify-between relative py-2 pl-2 min-h-[90px] -m-1\" [ngClass]=\"uiConfig.rbkUtils.notifications.showTypeIndicators ? typeClass[item.type] : ''\">\r\n\r\n <div class=\"flex flex-wrap flex-col items-stretch justify-start relative p-1 -m-1\">\r\n <div class=\"flex flex-wrap items-center justify-start mb-1 p-1\">\r\n <div class=\"font-medium\" [ngClass]=\"{ 'font-extrabold': item.status === status.NEW || item.status === status.NOTIFIED }\">{{item.title}}</div>\r\n @if (item.status === status.NEW) {\r\n <div class=\"rounded bg-blue-500 text-white px-1 py-0.5 ml-2 text-xs\">NOVO</div>\r\n }\r\n </div>\r\n <div class=\"text-sm p-1\" [ngClass]=\"{ 'font-bold': item.status === status.NEW || item.status === status.NOTIFIED }\">{{ charactersLimit != null ? (item.body | shorten : charactersLimit : '...') : item.body}}</div>\r\n </div>\r\n\r\n @if (showDate) {\r\n <div class=\"p-1\">\r\n @if (uiConfig.rbkUtils.notifications.date; as date) {\r\n <span class=\"text-xs text-right whitespace-nowrap\">\r\n {{ item.date | calendar : date.recentsMethod : date.recentsDaysCount : date.othersFormat }}\r\n </span>\r\n }\r\n </div>\r\n }\r\n\r\n</div>\r\n", styles: ["smz-notification-item .success-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-success)}smz-notification-item .info-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-info)}smz-notification-item .warning-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-warning)}smz-notification-item .danger-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-danger)}smz-notification-item .help-type:before{content:\"\";position:absolute;top:5px;left:-5px;width:5px;bottom:5px;background-color:var(--color-help)}\n"] }]
41166
41166
  }], ctorParameters: () => [], propDecorators: { item: [{
41167
41167
  type: Input
41168
41168
  }], charactersLimit: [{
@@ -41487,11 +41487,11 @@ class AthenaTopbarComponent {
41487
41487
  this.store.dispatch(new UiAthenaActions$1.ToggleSidebar);
41488
41488
  }
41489
41489
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AthenaTopbarComponent, deps: [{ token: i1$3.Store }], target: i0.ɵɵFactoryTarget.Component });
41490
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AthenaTopbarComponent, isStandalone: false, selector: "smz-ui-athena-topbar", inputs: { notifications: "notifications", profile: "profile" }, queries: [{ propertyName: "templates", predicate: SmzTemplateDirective }], ngImport: i0, template: "@if (layout$ | async; as layout) {\r\n <div class=\"topbar clearfix\">\r\n <div class=\"w-full h-full flex flex-wrap items-center justify-start flex-nowrap\" smz-ui-athena-topbar-actions [headerExtrasTemplate]=\"headerExtrasTemplate\" [profile]=\"profile\" [notifications]=\"notifications\">\r\n <a class=\"topbar-logo flex-1\">\r\n @if ((appLogo$ | async); as appLogo) {\r\n <img routerlink=\"/\" [src]=\"appLogo.horizontal\" [routerLink]=\"uiConfig.rbkUtils.authentication.authenticatedRoot\" [ngClass]=\"{ 'logo': !layout.enlargeTopbarLogo, 'enlarged-logo': layout.enlargeTopbarLogo }\"\r\n style=\"outline: none; cursor: pointer;\" tabindex=\"0\">\r\n }\r\n </a>\r\n @if (!layout.hideResponsiveMenuButton) {\r\n <a id=\"menu-button\" class=\"clickable\" (click)=\"toggle()\">\r\n <i class=\"fa-solid fa-align-left\"></i>\r\n </a>\r\n }\r\n <!-- <a *ngIf=\"layout.menu === horizontalMenuType\" class=\"clickable\" (click)=\"toggle()\">\r\n <i class=\"fa-solid fa-align-left text-red\"></i>\r\n </a> -->\r\n </div>\r\n </div>\r\n}", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$5.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: AthenaTopbarActionsComponent$1, selector: "[smz-ui-athena-topbar-actions]", inputs: ["profile", "notifications", "headerExtrasTemplate"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
41490
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AthenaTopbarComponent, isStandalone: false, selector: "smz-ui-athena-topbar", inputs: { notifications: "notifications", profile: "profile" }, queries: [{ propertyName: "templates", predicate: SmzTemplateDirective }], ngImport: i0, template: "@if (layout$ | async; as layout) {\r\n <div class=\"topbar clearfix\">\r\n <div class=\"w-full h-full flex flex-wrap items-center justify-start\" smz-ui-athena-topbar-actions [headerExtrasTemplate]=\"headerExtrasTemplate\" [profile]=\"profile\" [notifications]=\"notifications\">\r\n <a class=\"topbar-logo flex-1\">\r\n @if ((appLogo$ | async); as appLogo) {\r\n <img routerlink=\"/\" [src]=\"appLogo.horizontal\" [routerLink]=\"uiConfig.rbkUtils.authentication.authenticatedRoot\" [ngClass]=\"{ 'logo': !layout.enlargeTopbarLogo, 'enlarged-logo': layout.enlargeTopbarLogo }\"\r\n style=\"outline: none; cursor: pointer;\" tabindex=\"0\">\r\n }\r\n </a>\r\n @if (!layout.hideResponsiveMenuButton) {\r\n <a id=\"menu-button\" class=\"clickable\" (click)=\"toggle()\">\r\n <i class=\"fa-solid fa-align-left\"></i>\r\n </a>\r\n }\r\n <!-- <a *ngIf=\"layout.menu === horizontalMenuType\" class=\"clickable\" (click)=\"toggle()\">\r\n <i class=\"fa-solid fa-align-left text-red\"></i>\r\n </a> -->\r\n </div>\r\n </div>\r\n}", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$5.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: AthenaTopbarActionsComponent$1, selector: "[smz-ui-athena-topbar-actions]", inputs: ["profile", "notifications", "headerExtrasTemplate"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
41491
41491
  }
41492
41492
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AthenaTopbarComponent, decorators: [{
41493
41493
  type: Component,
41494
- args: [{ selector: 'smz-ui-athena-topbar', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "@if (layout$ | async; as layout) {\r\n <div class=\"topbar clearfix\">\r\n <div class=\"w-full h-full flex flex-wrap items-center justify-start flex-nowrap\" smz-ui-athena-topbar-actions [headerExtrasTemplate]=\"headerExtrasTemplate\" [profile]=\"profile\" [notifications]=\"notifications\">\r\n <a class=\"topbar-logo flex-1\">\r\n @if ((appLogo$ | async); as appLogo) {\r\n <img routerlink=\"/\" [src]=\"appLogo.horizontal\" [routerLink]=\"uiConfig.rbkUtils.authentication.authenticatedRoot\" [ngClass]=\"{ 'logo': !layout.enlargeTopbarLogo, 'enlarged-logo': layout.enlargeTopbarLogo }\"\r\n style=\"outline: none; cursor: pointer;\" tabindex=\"0\">\r\n }\r\n </a>\r\n @if (!layout.hideResponsiveMenuButton) {\r\n <a id=\"menu-button\" class=\"clickable\" (click)=\"toggle()\">\r\n <i class=\"fa-solid fa-align-left\"></i>\r\n </a>\r\n }\r\n <!-- <a *ngIf=\"layout.menu === horizontalMenuType\" class=\"clickable\" (click)=\"toggle()\">\r\n <i class=\"fa-solid fa-align-left text-red\"></i>\r\n </a> -->\r\n </div>\r\n </div>\r\n}" }]
41494
+ args: [{ selector: 'smz-ui-athena-topbar', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "@if (layout$ | async; as layout) {\r\n <div class=\"topbar clearfix\">\r\n <div class=\"w-full h-full flex flex-wrap items-center justify-start\" smz-ui-athena-topbar-actions [headerExtrasTemplate]=\"headerExtrasTemplate\" [profile]=\"profile\" [notifications]=\"notifications\">\r\n <a class=\"topbar-logo flex-1\">\r\n @if ((appLogo$ | async); as appLogo) {\r\n <img routerlink=\"/\" [src]=\"appLogo.horizontal\" [routerLink]=\"uiConfig.rbkUtils.authentication.authenticatedRoot\" [ngClass]=\"{ 'logo': !layout.enlargeTopbarLogo, 'enlarged-logo': layout.enlargeTopbarLogo }\"\r\n style=\"outline: none; cursor: pointer;\" tabindex=\"0\">\r\n }\r\n </a>\r\n @if (!layout.hideResponsiveMenuButton) {\r\n <a id=\"menu-button\" class=\"clickable\" (click)=\"toggle()\">\r\n <i class=\"fa-solid fa-align-left\"></i>\r\n </a>\r\n }\r\n <!-- <a *ngIf=\"layout.menu === horizontalMenuType\" class=\"clickable\" (click)=\"toggle()\">\r\n <i class=\"fa-solid fa-align-left text-red\"></i>\r\n </a> -->\r\n </div>\r\n </div>\r\n}" }]
41495
41495
  }], ctorParameters: () => [{ type: i1$3.Store }], propDecorators: { templates: [{
41496
41496
  type: ContentChildren,
41497
41497
  args: [SmzTemplateDirective]
@@ -42655,7 +42655,7 @@ class NewAthenaProfileMenuComponent {
42655
42655
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NewAthenaProfileMenuComponent, deps: [{ token: i0.ElementRef }, { token: i1$3.Store }], target: i0.ɵɵFactoryTarget.Component });
42656
42656
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: NewAthenaProfileMenuComponent, isStandalone: false, selector: "[smz-ui-new-athena-profile-menu]", inputs: { profile: "profile" }, host: { listeners: { "document:click": "collapse($event)" }, properties: { "class": "this.themeClass" } }, queries: [{ propertyName: "templates", predicate: SmzTemplateDirective }], ngImport: i0, template: `
42657
42657
  <!-- <ng-content></ng-content> -->
42658
- <a class="profile clickable flex flex-wrap items-center justify-end m-0 p-0 flex-nowrap gap-2" [ngClass]="{ 'profile-with-icon': !uiConfig.layouts.useAvatar }" (click)="toggle()">
42658
+ <a class="profile clickable flex flex-wrap items-center justify-end m-0 p-0 gap-2" [ngClass]="{ 'profile-with-icon': !uiConfig.layouts.useAvatar }" (click)="toggle()">
42659
42659
  @if (userData$ | async; as userdata) {
42660
42660
  <span class="username">{{ uiConfig.layouts.profileMessage }}{{ userdata[uiConfig.layouts.usernameProperty] }}</span>
42661
42661
  @if (uiConfig.layouts.useAvatar && userdata[uiConfig.layouts.avatarProperty]) {
@@ -42688,7 +42688,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
42688
42688
  changeDetection: ChangeDetectionStrategy.OnPush,
42689
42689
  template: `
42690
42690
  <!-- <ng-content></ng-content> -->
42691
- <a class="profile clickable flex flex-wrap items-center justify-end m-0 p-0 flex-nowrap gap-2" [ngClass]="{ 'profile-with-icon': !uiConfig.layouts.useAvatar }" (click)="toggle()">
42691
+ <a class="profile clickable flex flex-wrap items-center justify-end m-0 p-0 gap-2" [ngClass]="{ 'profile-with-icon': !uiConfig.layouts.useAvatar }" (click)="toggle()">
42692
42692
  @if (userData$ | async; as userdata) {
42693
42693
  <span class="username">{{ uiConfig.layouts.profileMessage }}{{ userdata[uiConfig.layouts.usernameProperty] }}</span>
42694
42694
  @if (uiConfig.layouts.useAvatar && userdata[uiConfig.layouts.avatarProperty]) {
@@ -43040,11 +43040,11 @@ class NewAthenaTopbarComponent {
43040
43040
  this.store.dispatch(new UiAthenaActions.ToggleSidebar);
43041
43041
  }
43042
43042
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NewAthenaTopbarComponent, deps: [{ token: i1$3.Store }], target: i0.ɵɵFactoryTarget.Component });
43043
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: NewAthenaTopbarComponent, isStandalone: false, selector: "smz-ui-new-athena-topbar", inputs: { notifications: "notifications", profile: "profile" }, queries: [{ propertyName: "templates", predicate: SmzTemplateDirective }], ngImport: i0, template: "@if (layout$ | async; as layout) {\r\n <smz-responsive class=\"flex flex-wrap w-full items-center justify-start\">\r\n <!-- LANDSCAPE -->\r\n <ng-template smzTemplate=\"landscape\">\r\n <div class=\"topbar clearfix\">\r\n <div class=\"w-full h-full flex flex-wrap items-center justify-start flex-nowrap\" smz-ui-new-athena-topbar-actions [headerExtrasTemplate]=\"headerLandscapeTemplate\" [profile]=\"profile\" [notifications]=\"notifications\">\r\n <a class=\"topbar-logo\">\r\n @if ((appLogo$ | async); as appLogo) {\r\n <img routerlink=\"/\" [src]=\"appLogo.horizontal\" [routerLink]=\"uiConfig.rbkUtils.authentication.authenticatedRoot\"\r\n [ngClass]=\"{ 'logo': !layout.enlargeTopbarLogo, 'enlarged-logo': layout.enlargeTopbarLogo }\"\r\n class=\"cursor-pointer outline-none\" tabindex=\"0\"\r\n >\r\n }\r\n </a>\r\n @if (!layout.hideResponsiveMenuButton) {\r\n <a id=\"menu-button\" class=\"clickable\" (click)=\"toggle()\">\r\n <i class=\"fa-solid fa-align-left\"></i>\r\n </a>\r\n }\r\n </div>\r\n </div>\r\n </ng-template>\r\n <!-- PORTRAIT -->\r\n <ng-template smzTemplate=\"portrait\">\r\n <div class=\"topbar clearfix\">\r\n <div class=\"w-full h-full flex flex-wrap items-center justify-start flex-nowrap\" smz-ui-new-athena-topbar-actions [headerExtrasTemplate]=\"headerPortraitTemplate\" [profile]=\"profile\" [notifications]=\"notifications\">\r\n <a class=\"topbar-logo max-w-[100px]\">\r\n @if ((appLogo$ | async); as appLogo) {\r\n <img routerlink=\"/\" [src]=\"appLogo.horizontal\" [routerLink]=\"uiConfig.rbkUtils.authentication.authenticatedRoot\"\r\n class=\"w-full h-full cursor-pointer outline-none\" tabindex=\"0\"\r\n >\r\n }\r\n </a>\r\n @if (!layout.hideResponsiveMenuButton) {\r\n <a id=\"menu-button\" class=\"clickable\" (click)=\"toggle()\">\r\n <i class=\"fa-solid fa-align-left\"></i>\r\n </a>\r\n }\r\n </div>\r\n </div>\r\n </ng-template>\r\n </smz-responsive>\r\n }", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$5.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: AthenaTopbarActionsComponent, selector: "[smz-ui-new-athena-topbar-actions]", inputs: ["profile", "notifications", "headerExtrasTemplate"] }, { kind: "directive", type: i2.SmzTemplateDirective, selector: "ng-template[smzTemplate]", inputs: ["smzTemplate"] }, { kind: "component", type: SmzResponsiveComponent, selector: "smz-responsive" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
43043
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: NewAthenaTopbarComponent, isStandalone: false, selector: "smz-ui-new-athena-topbar", inputs: { notifications: "notifications", profile: "profile" }, queries: [{ propertyName: "templates", predicate: SmzTemplateDirective }], ngImport: i0, template: "@if (layout$ | async; as layout) {\r\n <smz-responsive class=\"flex flex-wrap w-full items-center justify-start\">\r\n <!-- LANDSCAPE -->\r\n <ng-template smzTemplate=\"landscape\">\r\n <div class=\"topbar clearfix\">\r\n <div class=\"w-full h-full flex flex-wrap items-center justify-start\" smz-ui-new-athena-topbar-actions [headerExtrasTemplate]=\"headerLandscapeTemplate\" [profile]=\"profile\" [notifications]=\"notifications\">\r\n <a class=\"topbar-logo\">\r\n @if ((appLogo$ | async); as appLogo) {\r\n <img routerlink=\"/\" [src]=\"appLogo.horizontal\" [routerLink]=\"uiConfig.rbkUtils.authentication.authenticatedRoot\"\r\n [ngClass]=\"{ 'logo': !layout.enlargeTopbarLogo, 'enlarged-logo': layout.enlargeTopbarLogo }\"\r\n class=\"cursor-pointer outline-none\" tabindex=\"0\"\r\n >\r\n }\r\n </a>\r\n @if (!layout.hideResponsiveMenuButton) {\r\n <a id=\"menu-button\" class=\"clickable\" (click)=\"toggle()\">\r\n <i class=\"fa-solid fa-align-left\"></i>\r\n </a>\r\n }\r\n </div>\r\n </div>\r\n </ng-template>\r\n <!-- PORTRAIT -->\r\n <ng-template smzTemplate=\"portrait\">\r\n <div class=\"topbar clearfix\">\r\n <div class=\"w-full h-full flex flex-wrap items-center justify-start\" smz-ui-new-athena-topbar-actions [headerExtrasTemplate]=\"headerPortraitTemplate\" [profile]=\"profile\" [notifications]=\"notifications\">\r\n <a class=\"topbar-logo max-w-[100px]\">\r\n @if ((appLogo$ | async); as appLogo) {\r\n <img routerlink=\"/\" [src]=\"appLogo.horizontal\" [routerLink]=\"uiConfig.rbkUtils.authentication.authenticatedRoot\"\r\n class=\"w-full h-full cursor-pointer outline-none\" tabindex=\"0\"\r\n >\r\n }\r\n </a>\r\n @if (!layout.hideResponsiveMenuButton) {\r\n <a id=\"menu-button\" class=\"clickable\" (click)=\"toggle()\">\r\n <i class=\"fa-solid fa-align-left\"></i>\r\n </a>\r\n }\r\n </div>\r\n </div>\r\n </ng-template>\r\n </smz-responsive>\r\n }", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$5.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: AthenaTopbarActionsComponent, selector: "[smz-ui-new-athena-topbar-actions]", inputs: ["profile", "notifications", "headerExtrasTemplate"] }, { kind: "directive", type: i2.SmzTemplateDirective, selector: "ng-template[smzTemplate]", inputs: ["smzTemplate"] }, { kind: "component", type: SmzResponsiveComponent, selector: "smz-responsive" }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
43044
43044
  }
43045
43045
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NewAthenaTopbarComponent, decorators: [{
43046
43046
  type: Component,
43047
- args: [{ selector: 'smz-ui-new-athena-topbar', changeDetection: ChangeDetectionStrategy.Default, standalone: false, template: "@if (layout$ | async; as layout) {\r\n <smz-responsive class=\"flex flex-wrap w-full items-center justify-start\">\r\n <!-- LANDSCAPE -->\r\n <ng-template smzTemplate=\"landscape\">\r\n <div class=\"topbar clearfix\">\r\n <div class=\"w-full h-full flex flex-wrap items-center justify-start flex-nowrap\" smz-ui-new-athena-topbar-actions [headerExtrasTemplate]=\"headerLandscapeTemplate\" [profile]=\"profile\" [notifications]=\"notifications\">\r\n <a class=\"topbar-logo\">\r\n @if ((appLogo$ | async); as appLogo) {\r\n <img routerlink=\"/\" [src]=\"appLogo.horizontal\" [routerLink]=\"uiConfig.rbkUtils.authentication.authenticatedRoot\"\r\n [ngClass]=\"{ 'logo': !layout.enlargeTopbarLogo, 'enlarged-logo': layout.enlargeTopbarLogo }\"\r\n class=\"cursor-pointer outline-none\" tabindex=\"0\"\r\n >\r\n }\r\n </a>\r\n @if (!layout.hideResponsiveMenuButton) {\r\n <a id=\"menu-button\" class=\"clickable\" (click)=\"toggle()\">\r\n <i class=\"fa-solid fa-align-left\"></i>\r\n </a>\r\n }\r\n </div>\r\n </div>\r\n </ng-template>\r\n <!-- PORTRAIT -->\r\n <ng-template smzTemplate=\"portrait\">\r\n <div class=\"topbar clearfix\">\r\n <div class=\"w-full h-full flex flex-wrap items-center justify-start flex-nowrap\" smz-ui-new-athena-topbar-actions [headerExtrasTemplate]=\"headerPortraitTemplate\" [profile]=\"profile\" [notifications]=\"notifications\">\r\n <a class=\"topbar-logo max-w-[100px]\">\r\n @if ((appLogo$ | async); as appLogo) {\r\n <img routerlink=\"/\" [src]=\"appLogo.horizontal\" [routerLink]=\"uiConfig.rbkUtils.authentication.authenticatedRoot\"\r\n class=\"w-full h-full cursor-pointer outline-none\" tabindex=\"0\"\r\n >\r\n }\r\n </a>\r\n @if (!layout.hideResponsiveMenuButton) {\r\n <a id=\"menu-button\" class=\"clickable\" (click)=\"toggle()\">\r\n <i class=\"fa-solid fa-align-left\"></i>\r\n </a>\r\n }\r\n </div>\r\n </div>\r\n </ng-template>\r\n </smz-responsive>\r\n }" }]
43047
+ args: [{ selector: 'smz-ui-new-athena-topbar', changeDetection: ChangeDetectionStrategy.Default, standalone: false, template: "@if (layout$ | async; as layout) {\r\n <smz-responsive class=\"flex flex-wrap w-full items-center justify-start\">\r\n <!-- LANDSCAPE -->\r\n <ng-template smzTemplate=\"landscape\">\r\n <div class=\"topbar clearfix\">\r\n <div class=\"w-full h-full flex flex-wrap items-center justify-start\" smz-ui-new-athena-topbar-actions [headerExtrasTemplate]=\"headerLandscapeTemplate\" [profile]=\"profile\" [notifications]=\"notifications\">\r\n <a class=\"topbar-logo\">\r\n @if ((appLogo$ | async); as appLogo) {\r\n <img routerlink=\"/\" [src]=\"appLogo.horizontal\" [routerLink]=\"uiConfig.rbkUtils.authentication.authenticatedRoot\"\r\n [ngClass]=\"{ 'logo': !layout.enlargeTopbarLogo, 'enlarged-logo': layout.enlargeTopbarLogo }\"\r\n class=\"cursor-pointer outline-none\" tabindex=\"0\"\r\n >\r\n }\r\n </a>\r\n @if (!layout.hideResponsiveMenuButton) {\r\n <a id=\"menu-button\" class=\"clickable\" (click)=\"toggle()\">\r\n <i class=\"fa-solid fa-align-left\"></i>\r\n </a>\r\n }\r\n </div>\r\n </div>\r\n </ng-template>\r\n <!-- PORTRAIT -->\r\n <ng-template smzTemplate=\"portrait\">\r\n <div class=\"topbar clearfix\">\r\n <div class=\"w-full h-full flex flex-wrap items-center justify-start\" smz-ui-new-athena-topbar-actions [headerExtrasTemplate]=\"headerPortraitTemplate\" [profile]=\"profile\" [notifications]=\"notifications\">\r\n <a class=\"topbar-logo max-w-[100px]\">\r\n @if ((appLogo$ | async); as appLogo) {\r\n <img routerlink=\"/\" [src]=\"appLogo.horizontal\" [routerLink]=\"uiConfig.rbkUtils.authentication.authenticatedRoot\"\r\n class=\"w-full h-full cursor-pointer outline-none\" tabindex=\"0\"\r\n >\r\n }\r\n </a>\r\n @if (!layout.hideResponsiveMenuButton) {\r\n <a id=\"menu-button\" class=\"clickable\" (click)=\"toggle()\">\r\n <i class=\"fa-solid fa-align-left\"></i>\r\n </a>\r\n }\r\n </div>\r\n </div>\r\n </ng-template>\r\n </smz-responsive>\r\n }" }]
43048
43048
  }], ctorParameters: () => [{ type: i1$3.Store }], propDecorators: { templates: [{
43049
43049
  type: ContentChildren,
43050
43050
  args: [SmzTemplateDirective]
@@ -46170,7 +46170,7 @@ class SmzCommentsComponent {
46170
46170
  <ui-tree [value]="data">
46171
46171
  <ng-template let-node smzTemplate="default">
46172
46172
  <!-- CONTAINER -->
46173
- <div class="flex flex-wrap items-start justify-start flex-nowrap mb-3 py-1 gap-3">
46173
+ <div class="flex flex-wrap items-start justify-start mb-3 py-1 gap-3">
46174
46174
  <!-- AVATAR -->
46175
46175
  <img class="w-20" [src]="node.data.avatar | safeUrl"/>
46176
46176
  <!-- CONTENT -->
@@ -46206,7 +46206,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
46206
46206
  <ui-tree [value]="data">
46207
46207
  <ng-template let-node smzTemplate="default">
46208
46208
  <!-- CONTAINER -->
46209
- <div class="flex flex-wrap items-start justify-start flex-nowrap mb-3 py-1 gap-3">
46209
+ <div class="flex flex-wrap items-start justify-start mb-3 py-1 gap-3">
46210
46210
  <!-- AVATAR -->
46211
46211
  <img class="w-20" [src]="node.data.avatar | safeUrl"/>
46212
46212
  <!-- CONTENT -->