ngx-sp-infra 5.13.0 → 5.13.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.
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as i1$5 from '@angular/common';
|
|
2
|
+
import { NgIf, NgFor, DatePipe, NgClass, DOCUMENT, NgSwitch, NgSwitchCase, CommonModule, NgTemplateOutlet, TitleCasePipe as TitleCasePipe$1 } from '@angular/common';
|
|
2
3
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Input, Component, EventEmitter, Output, Directive, Pipe, HostListener, ViewChild, Injectable, input, Inject, forwardRef, ViewChildren, output, HostBinding, NgModule, signal, inject } from '@angular/core';
|
|
4
|
+
import { Input, Component, EventEmitter, Output, Directive, Pipe, HostListener, ViewChild, Injectable, input, Inject, forwardRef, ViewChildren, output, TemplateRef, ContentChild, ChangeDetectionStrategy, HostBinding, NgModule, signal, inject } from '@angular/core';
|
|
4
5
|
import * as i1$2 from '@angular/forms';
|
|
5
6
|
import { UntypedFormGroup, UntypedFormArray, FormControl, Validators, FormsModule, ReactiveFormsModule, FormGroup, NG_VALUE_ACCESSOR, NG_VALIDATORS } from '@angular/forms';
|
|
6
7
|
import * as i4 from '@angular/router';
|
|
@@ -16,7 +17,7 @@ import { NgxMaskDirective, NgxMaskPipe } from 'ngx-mask';
|
|
|
16
17
|
import * as i13 from 'ngx-pagination';
|
|
17
18
|
import { NgxPaginationModule } from 'ngx-pagination';
|
|
18
19
|
import * as i1 from '@angular/platform-browser';
|
|
19
|
-
import { Subscription, Subject, take as take$1, tap, BehaviorSubject, debounceTime, distinctUntilChanged, firstValueFrom, filter } from 'rxjs';
|
|
20
|
+
import { Subscription, Subject, take as take$1, tap, BehaviorSubject, debounceTime, distinctUntilChanged, map, takeUntil, firstValueFrom, filter } from 'rxjs';
|
|
20
21
|
import { take } from 'rxjs/operators';
|
|
21
22
|
import * as i1$4 from '@angular/common/http';
|
|
22
23
|
import { HttpHeaders, HttpParams } from '@angular/common/http';
|
|
@@ -7940,6 +7941,225 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
7940
7941
|
type: Input
|
|
7941
7942
|
}] } });
|
|
7942
7943
|
|
|
7944
|
+
class LibComboboxReworkComponent {
|
|
7945
|
+
displayValue() {
|
|
7946
|
+
if (!this.value)
|
|
7947
|
+
return this.placeholder;
|
|
7948
|
+
if (Array.isArray(this.value)) {
|
|
7949
|
+
if (this.value.length === 0)
|
|
7950
|
+
return this.placeholder;
|
|
7951
|
+
return this.value.map(v => this.displayWith(v)).join(', ');
|
|
7952
|
+
}
|
|
7953
|
+
return this.displayWith(this.value);
|
|
7954
|
+
}
|
|
7955
|
+
// #endregion PUBLIC
|
|
7956
|
+
// #endregion ==========> PROPERTIES <==========
|
|
7957
|
+
constructor(_cdr) {
|
|
7958
|
+
this._cdr = _cdr;
|
|
7959
|
+
// #region ==========> PROPERTIES <==========
|
|
7960
|
+
// #region PRIVATE
|
|
7961
|
+
this._search$ = new BehaviorSubject("");
|
|
7962
|
+
this._onTouched = () => { };
|
|
7963
|
+
this._onChange = (_) => { };
|
|
7964
|
+
this._destroy$ = new Subject();
|
|
7965
|
+
// #endregion PRIVATE
|
|
7966
|
+
// #region PUBLIC
|
|
7967
|
+
this.list = [];
|
|
7968
|
+
this.placeholder = "Selecione uma opção...";
|
|
7969
|
+
this.searchPlaceholder = "Pesquisa...";
|
|
7970
|
+
this.noResultsText = "Nenhum registro encontrado com esta pesquisa...";
|
|
7971
|
+
this.disabled = false;
|
|
7972
|
+
this.multiple = false;
|
|
7973
|
+
this.innerFilter = true;
|
|
7974
|
+
this.customLabel = "LABEL";
|
|
7975
|
+
this.customValue = "ID";
|
|
7976
|
+
this.selectionChange = new EventEmitter();
|
|
7977
|
+
this.filterChange = new EventEmitter();
|
|
7978
|
+
this.filterButtonClick = new EventEmitter();
|
|
7979
|
+
this.value = null;
|
|
7980
|
+
this.selectedValues = null;
|
|
7981
|
+
this.isOpen = false;
|
|
7982
|
+
this.searchControl = new FormControl("");
|
|
7983
|
+
this.filteredItems$ = this._search$.pipe(debounceTime(150), distinctUntilChanged(), map((term) => this.filterItems(term)));
|
|
7984
|
+
this.compareWith = (a, b) => a === b;
|
|
7985
|
+
this.displayWith = (item) => {
|
|
7986
|
+
if (!item)
|
|
7987
|
+
return '';
|
|
7988
|
+
if (typeof item === 'object') {
|
|
7989
|
+
const rec = item;
|
|
7990
|
+
return rec[this.customLabel] ?? String(rec[this.customValue] ?? '');
|
|
7991
|
+
}
|
|
7992
|
+
return String(item);
|
|
7993
|
+
};
|
|
7994
|
+
}
|
|
7995
|
+
ngOnInit() {
|
|
7996
|
+
this.searchControl.valueChanges
|
|
7997
|
+
.pipe(takeUntil(this._destroy$), debounceTime(200))
|
|
7998
|
+
.subscribe((v) => {
|
|
7999
|
+
if (this.innerFilter)
|
|
8000
|
+
this._search$.next(v ?? "");
|
|
8001
|
+
else
|
|
8002
|
+
this.filterChange.emit(v);
|
|
8003
|
+
});
|
|
8004
|
+
}
|
|
8005
|
+
ngAfterViewInit() {
|
|
8006
|
+
// nothing for now, placeholder for future keyboard focus handling
|
|
8007
|
+
}
|
|
8008
|
+
ngOnChanges(changes) {
|
|
8009
|
+
}
|
|
8010
|
+
ngOnDestroy() {
|
|
8011
|
+
this._destroy$.next();
|
|
8012
|
+
this._destroy$.complete();
|
|
8013
|
+
}
|
|
8014
|
+
// #region ==========> UTILS <==========
|
|
8015
|
+
filterItems(term) {
|
|
8016
|
+
if (!term)
|
|
8017
|
+
return this.list;
|
|
8018
|
+
const t = term.toLowerCase();
|
|
8019
|
+
return this.list.filter((item) => {
|
|
8020
|
+
const label = typeof item === 'object'
|
|
8021
|
+
? item[this.customLabel] ?? ''
|
|
8022
|
+
: String(item);
|
|
8023
|
+
return label.toLowerCase().includes(t);
|
|
8024
|
+
});
|
|
8025
|
+
}
|
|
8026
|
+
// #region Seleção
|
|
8027
|
+
select(item) {
|
|
8028
|
+
if (this.multiple) {
|
|
8029
|
+
this.selectedValues = Array.isArray(this.value) ? [...this.value] : [];
|
|
8030
|
+
const index = this.selectedValues.findIndex(v => this.compareWith(v, item));
|
|
8031
|
+
if (index > -1)
|
|
8032
|
+
this.selectedValues.splice(index, 1);
|
|
8033
|
+
else
|
|
8034
|
+
this.selectedValues.push(item);
|
|
8035
|
+
if (this.selectedValues.length === 0)
|
|
8036
|
+
this.selectedValues = null;
|
|
8037
|
+
this.value = this.selectedValues;
|
|
8038
|
+
this._onChange(this.selectedValues);
|
|
8039
|
+
this.selectionChange.emit(this.selectedValues);
|
|
8040
|
+
}
|
|
8041
|
+
else {
|
|
8042
|
+
this.value = item;
|
|
8043
|
+
this._onChange(item);
|
|
8044
|
+
this.selectionChange.emit(item);
|
|
8045
|
+
this.closeDropdown();
|
|
8046
|
+
}
|
|
8047
|
+
this._onTouched();
|
|
8048
|
+
}
|
|
8049
|
+
isSelected(item) {
|
|
8050
|
+
if (!item || !this.value)
|
|
8051
|
+
return false;
|
|
8052
|
+
if (this.multiple && Array.isArray(this.value)) {
|
|
8053
|
+
return this.value.some(v => this.compareWith(v, item));
|
|
8054
|
+
}
|
|
8055
|
+
return this.compareWith(item, this.value);
|
|
8056
|
+
}
|
|
8057
|
+
// #endregion Seleção
|
|
8058
|
+
// #region VALUE_ACCESSOR do Angular
|
|
8059
|
+
writeValue(obj) {
|
|
8060
|
+
if (!obj)
|
|
8061
|
+
this.selectedValues = null;
|
|
8062
|
+
this.value = obj;
|
|
8063
|
+
this._onTouched();
|
|
8064
|
+
this.selectionChange.emit(obj);
|
|
8065
|
+
this._cdr.markForCheck();
|
|
8066
|
+
}
|
|
8067
|
+
registerOnChange(fn) {
|
|
8068
|
+
this._onChange = fn;
|
|
8069
|
+
}
|
|
8070
|
+
registerOnTouched(fn) {
|
|
8071
|
+
this._onTouched = fn;
|
|
8072
|
+
}
|
|
8073
|
+
// #endregion VALUE_ACCESSOR do Angular
|
|
8074
|
+
// #region UI
|
|
8075
|
+
setDisabledState(isDisabled) {
|
|
8076
|
+
this.disabled = isDisabled;
|
|
8077
|
+
this._cdr.markForCheck();
|
|
8078
|
+
}
|
|
8079
|
+
toggleDropdown() {
|
|
8080
|
+
if (this.disabled)
|
|
8081
|
+
return;
|
|
8082
|
+
this.isOpen = !this.isOpen;
|
|
8083
|
+
if (this.isOpen) {
|
|
8084
|
+
this.searchControl.setValue("", { emitEvent: true });
|
|
8085
|
+
setTimeout(() => {
|
|
8086
|
+
const inputEl = document.querySelector('.reusable-combobox .dropdown-search input');
|
|
8087
|
+
inputEl?.focus();
|
|
8088
|
+
}, 0);
|
|
8089
|
+
}
|
|
8090
|
+
this._cdr.markForCheck();
|
|
8091
|
+
}
|
|
8092
|
+
closeDropdown() {
|
|
8093
|
+
this.isOpen = false;
|
|
8094
|
+
this._cdr.markForCheck();
|
|
8095
|
+
}
|
|
8096
|
+
onBlurOutside(event) {
|
|
8097
|
+
const target = event.target;
|
|
8098
|
+
if (!target.closest('.reusable-combobox')) {
|
|
8099
|
+
this.closeDropdown();
|
|
8100
|
+
}
|
|
8101
|
+
}
|
|
8102
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LibComboboxReworkComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8103
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: LibComboboxReworkComponent, isStandalone: true, selector: "lib-combobox-rework", inputs: { list: "list", placeholder: "placeholder", searchPlaceholder: "searchPlaceholder", noResultsText: "noResultsText", disabled: "disabled", multiple: "multiple", innerFilter: "innerFilter", customLabel: "customLabel", customValue: "customValue" }, outputs: { selectionChange: "selectionChange", filterChange: "filterChange", filterButtonClick: "filterButtonClick" }, providers: [
|
|
8104
|
+
{
|
|
8105
|
+
provide: NG_VALUE_ACCESSOR,
|
|
8106
|
+
useExisting: forwardRef(() => LibComboboxReworkComponent),
|
|
8107
|
+
multi: true
|
|
8108
|
+
}
|
|
8109
|
+
], queries: [{ propertyName: "optionTemplate", first: true, predicate: ["optionTemplate"], descendants: true, read: TemplateRef }, { propertyName: "leftButtonTemplate", first: true, predicate: ["leftButtonTemplate"], descendants: true, read: TemplateRef }, { propertyName: "rightButtonTemplate", first: true, predicate: ["rightButtonTemplate"], descendants: true, read: TemplateRef }], viewQueries: [{ propertyName: "toggleButton", first: true, predicate: ["toggleButton"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"reusable-combobox input-group \" [class.show]=\"isOpen\" (focusout)=\"onBlurOutside($event)\" >\n @if (leftButtonTemplate) { <ng-container *ngTemplateOutlet=\"leftButtonTemplate\"></ng-container> }\n\n <div class=\"dropdown w-100\">\n <button #toggleButton class=\"form-select d-flex align-items-center text-start\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-auto-close=\"outside\"\n [attr.aria-expanded]=\"isOpen\" [attr.aria-haspopup]=\"true\" [attr.aria-label]=\"placeholder\" [disabled]=\"disabled\"\n (click)=\"toggleDropdown()\" readonly \n [ngClass]=\"{\n 'rounded-start-0': leftButtonTemplate,\n 'rounded-end-0': rightButtonTemplate,\n }\" >\n <span libTextTruncate=\"100\">{{ displayValue() }}</span>\n </button>\n\n <div class=\"dropdown-menu p-2 w-100\" [class.show]=\"isOpen\" style=\"max-height: 320px; overflow-y: auto;\">\n <div class=\"dropdown-search input-group mb-2\">\n <input class=\"form-control form-control-sm\" type=\"search\" [placeholder]=\"searchPlaceholder\" [formControl]=\"searchControl\" aria-label=\"Pesquisar op\u00E7\u00F5es\" (keyup.enter)=\"filterButtonClick.emit(searchControl.value)\" />\n <button class=\"btn btn-sm btn-primary\" type=\"button\" (click)=\"filterButtonClick.emit(searchControl.value)\"> <lib-icon iconName=\"lupa\" iconSize=\"medium-small\" /> </button>\n </div>\n\n @if (multiple && selectedValues?.length) {\n <div class=\"d-flex flex-row gap-2 flex-wrap my-2\">\n <span *ngFor=\"let value of selectedValues; trackBy: trackByFn\" class=\"px-3 badge rounded-pill text-primary bg-primary-subtle\">\n {{ value[customLabel] }} <lib-icon class=\"glb-cursor-pointer\" iconName=\"fechar\" iconSize=\"small\" (click)=\"select(value)\" />\n </span>\n </div>\n }\n\n <!-- Se utilizar o filtro interno utiliza a propriedade de lista filteredItems$, caso contr\u00E1rio usa a pr\u00F3pria list pois ela ser\u00E1 filtrada pelo componente pai -->\n <ng-container *ngIf=\"(innerFilter ? (filteredItems$ | async) : list) as items\">\n @if (items.length === 0) { <div class=\"py-2 px-3 text-muted small\">{{ noResultsText }}</div> }\n\n @if (value !== '' && value !== null) {\n <button type=\"button\" class=\"dropdown-item d-flex align-items-center\" (click)=\"writeValue(null)\">\n <span class=\"fw-bold\">Limpar {{ multiple ? 'op\u00E7\u00F5es selecionadas' : 'op\u00E7\u00E3o selecionada' }}</span>\n </button>\n }\n\n <button *ngFor=\"let item of items; trackBy: trackByFn\" class=\"dropdown-item d-flex align-items-center\" type=\"button\"\n (click)=\"select(item)\" [attr.aria-selected]=\"isSelected(item)\" >\n\n @if (optionTemplate) {\n <ng-container *ngTemplateOutlet=\"optionTemplate; context: { $implicit: item, selected: isSelected(item) }\"></ng-container>\n }\n @else {\n <div class=\"w-100 original\">\n <div class=\"d-flex justify-content-between\">\n <div>{{ (item[customLabel] ?? item[customValue]) }}</div>\n <small class=\"text-muted\" *ngIf=\"isSelected(item)\">\u2713</small>\n </div>\n </div>\n }\n </button>\n </ng-container>\n </div>\n </div>\n\n @if (rightButtonTemplate) { <ng-container *ngTemplateOutlet=\"rightButtonTemplate\"></ng-container> }\n</div>", styles: [".reusable-combobox{position:relative;display:flex;flex-wrap:nowrap}.reusable-combobox .dropdown-toggle{justify-content:space-between}.reusable-combobox .dropdown-menu{width:100%;box-shadow:0 6px 18px #00000014;border-radius:.5rem}.reusable-combobox .dropdown-item{cursor:pointer;border-radius:6px;transition:all .3s ease}.reusable-combobox .dropdown-item:hover:not(:focus){background-color:#f1f5f9}.reusable-combobox.compact .dropdown-menu{max-height:200px}.bg-primary-subtle{background-color:#d1dfe7!important}::-webkit-scrollbar{width:4px;background:transparent}::-webkit-scrollbar-thumb{background:#bbb;border-radius:16px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i1$5.AsyncPipe, name: "async" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$2.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$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: LibIconsComponent, selector: "lib-icon", inputs: ["iconName", "iconColor", "iconSize", "iconFill"] }, { kind: "directive", type: TextTruncateDirective, selector: "[libTextTruncate], [textTruncate]", inputs: ["libTextTruncate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8110
|
+
}
|
|
8111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: LibComboboxReworkComponent, decorators: [{
|
|
8112
|
+
type: Component,
|
|
8113
|
+
args: [{ selector: 'lib-combobox-rework', imports: [
|
|
8114
|
+
CommonModule,
|
|
8115
|
+
ReactiveFormsModule,
|
|
8116
|
+
LibIconsComponent,
|
|
8117
|
+
TextTruncateDirective
|
|
8118
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
8119
|
+
{
|
|
8120
|
+
provide: NG_VALUE_ACCESSOR,
|
|
8121
|
+
useExisting: forwardRef(() => LibComboboxReworkComponent),
|
|
8122
|
+
multi: true
|
|
8123
|
+
}
|
|
8124
|
+
], template: "<div class=\"reusable-combobox input-group \" [class.show]=\"isOpen\" (focusout)=\"onBlurOutside($event)\" >\n @if (leftButtonTemplate) { <ng-container *ngTemplateOutlet=\"leftButtonTemplate\"></ng-container> }\n\n <div class=\"dropdown w-100\">\n <button #toggleButton class=\"form-select d-flex align-items-center text-start\" type=\"button\" data-bs-toggle=\"dropdown\" data-bs-auto-close=\"outside\"\n [attr.aria-expanded]=\"isOpen\" [attr.aria-haspopup]=\"true\" [attr.aria-label]=\"placeholder\" [disabled]=\"disabled\"\n (click)=\"toggleDropdown()\" readonly \n [ngClass]=\"{\n 'rounded-start-0': leftButtonTemplate,\n 'rounded-end-0': rightButtonTemplate,\n }\" >\n <span libTextTruncate=\"100\">{{ displayValue() }}</span>\n </button>\n\n <div class=\"dropdown-menu p-2 w-100\" [class.show]=\"isOpen\" style=\"max-height: 320px; overflow-y: auto;\">\n <div class=\"dropdown-search input-group mb-2\">\n <input class=\"form-control form-control-sm\" type=\"search\" [placeholder]=\"searchPlaceholder\" [formControl]=\"searchControl\" aria-label=\"Pesquisar op\u00E7\u00F5es\" (keyup.enter)=\"filterButtonClick.emit(searchControl.value)\" />\n <button class=\"btn btn-sm btn-primary\" type=\"button\" (click)=\"filterButtonClick.emit(searchControl.value)\"> <lib-icon iconName=\"lupa\" iconSize=\"medium-small\" /> </button>\n </div>\n\n @if (multiple && selectedValues?.length) {\n <div class=\"d-flex flex-row gap-2 flex-wrap my-2\">\n <span *ngFor=\"let value of selectedValues; trackBy: trackByFn\" class=\"px-3 badge rounded-pill text-primary bg-primary-subtle\">\n {{ value[customLabel] }} <lib-icon class=\"glb-cursor-pointer\" iconName=\"fechar\" iconSize=\"small\" (click)=\"select(value)\" />\n </span>\n </div>\n }\n\n <!-- Se utilizar o filtro interno utiliza a propriedade de lista filteredItems$, caso contr\u00E1rio usa a pr\u00F3pria list pois ela ser\u00E1 filtrada pelo componente pai -->\n <ng-container *ngIf=\"(innerFilter ? (filteredItems$ | async) : list) as items\">\n @if (items.length === 0) { <div class=\"py-2 px-3 text-muted small\">{{ noResultsText }}</div> }\n\n @if (value !== '' && value !== null) {\n <button type=\"button\" class=\"dropdown-item d-flex align-items-center\" (click)=\"writeValue(null)\">\n <span class=\"fw-bold\">Limpar {{ multiple ? 'op\u00E7\u00F5es selecionadas' : 'op\u00E7\u00E3o selecionada' }}</span>\n </button>\n }\n\n <button *ngFor=\"let item of items; trackBy: trackByFn\" class=\"dropdown-item d-flex align-items-center\" type=\"button\"\n (click)=\"select(item)\" [attr.aria-selected]=\"isSelected(item)\" >\n\n @if (optionTemplate) {\n <ng-container *ngTemplateOutlet=\"optionTemplate; context: { $implicit: item, selected: isSelected(item) }\"></ng-container>\n }\n @else {\n <div class=\"w-100 original\">\n <div class=\"d-flex justify-content-between\">\n <div>{{ (item[customLabel] ?? item[customValue]) }}</div>\n <small class=\"text-muted\" *ngIf=\"isSelected(item)\">\u2713</small>\n </div>\n </div>\n }\n </button>\n </ng-container>\n </div>\n </div>\n\n @if (rightButtonTemplate) { <ng-container *ngTemplateOutlet=\"rightButtonTemplate\"></ng-container> }\n</div>", styles: [".reusable-combobox{position:relative;display:flex;flex-wrap:nowrap}.reusable-combobox .dropdown-toggle{justify-content:space-between}.reusable-combobox .dropdown-menu{width:100%;box-shadow:0 6px 18px #00000014;border-radius:.5rem}.reusable-combobox .dropdown-item{cursor:pointer;border-radius:6px;transition:all .3s ease}.reusable-combobox .dropdown-item:hover:not(:focus){background-color:#f1f5f9}.reusable-combobox.compact .dropdown-menu{max-height:200px}.bg-primary-subtle{background-color:#d1dfe7!important}::-webkit-scrollbar{width:4px;background:transparent}::-webkit-scrollbar-thumb{background:#bbb;border-radius:16px}\n"] }]
|
|
8125
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { list: [{
|
|
8126
|
+
type: Input
|
|
8127
|
+
}], placeholder: [{
|
|
8128
|
+
type: Input
|
|
8129
|
+
}], searchPlaceholder: [{
|
|
8130
|
+
type: Input
|
|
8131
|
+
}], noResultsText: [{
|
|
8132
|
+
type: Input
|
|
8133
|
+
}], disabled: [{
|
|
8134
|
+
type: Input
|
|
8135
|
+
}], multiple: [{
|
|
8136
|
+
type: Input
|
|
8137
|
+
}], innerFilter: [{
|
|
8138
|
+
type: Input
|
|
8139
|
+
}], customLabel: [{
|
|
8140
|
+
type: Input
|
|
8141
|
+
}], customValue: [{
|
|
8142
|
+
type: Input
|
|
8143
|
+
}], optionTemplate: [{
|
|
8144
|
+
type: ContentChild,
|
|
8145
|
+
args: ["optionTemplate", { read: TemplateRef, static: false }]
|
|
8146
|
+
}], leftButtonTemplate: [{
|
|
8147
|
+
type: ContentChild,
|
|
8148
|
+
args: ["leftButtonTemplate", { read: TemplateRef, static: false }]
|
|
8149
|
+
}], rightButtonTemplate: [{
|
|
8150
|
+
type: ContentChild,
|
|
8151
|
+
args: ["rightButtonTemplate", { read: TemplateRef, static: false }]
|
|
8152
|
+
}], toggleButton: [{
|
|
8153
|
+
type: ViewChild,
|
|
8154
|
+
args: ["toggleButton", { static: true }]
|
|
8155
|
+
}], selectionChange: [{
|
|
8156
|
+
type: Output
|
|
8157
|
+
}], filterChange: [{
|
|
8158
|
+
type: Output
|
|
8159
|
+
}], filterButtonClick: [{
|
|
8160
|
+
type: Output
|
|
8161
|
+
}] } });
|
|
8162
|
+
|
|
7943
8163
|
class OrderingComponent {
|
|
7944
8164
|
// #endregion PUBLIC
|
|
7945
8165
|
// #endregion ==========> PROPERTIES <==========
|
|
@@ -10670,7 +10890,8 @@ class InfraModule {
|
|
|
10670
10890
|
UsuarioAbasComponent,
|
|
10671
10891
|
GrupoContabilAbasComponent,
|
|
10672
10892
|
LibAuthenticationConfigComponent,
|
|
10673
|
-
InnerRowsDirective
|
|
10893
|
+
InnerRowsDirective,
|
|
10894
|
+
LibComboboxReworkComponent], exports: [PageNotAuthorizedComponent,
|
|
10674
10895
|
LoadingComponent,
|
|
10675
10896
|
FieldControlErrorComponent,
|
|
10676
10897
|
FieldErrorMessageComponent,
|
|
@@ -10741,7 +10962,8 @@ class InfraModule {
|
|
|
10741
10962
|
UsuarioAbasComponent,
|
|
10742
10963
|
GrupoContabilAbasComponent,
|
|
10743
10964
|
LibAuthenticationConfigComponent,
|
|
10744
|
-
InnerRowsDirective
|
|
10965
|
+
InnerRowsDirective,
|
|
10966
|
+
LibComboboxReworkComponent] }); }
|
|
10745
10967
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: InfraModule, imports: [CommonModule,
|
|
10746
10968
|
ModalModule.forRoot(),
|
|
10747
10969
|
AccordionModule.forRoot(),
|
|
@@ -10777,7 +10999,8 @@ class InfraModule {
|
|
|
10777
10999
|
SearchInputComponent,
|
|
10778
11000
|
AuditoriaButtonComponent,
|
|
10779
11001
|
LibDateRangePickerComponent,
|
|
10780
|
-
LibAuthenticationConfigComponent
|
|
11002
|
+
LibAuthenticationConfigComponent,
|
|
11003
|
+
LibComboboxReworkComponent] }); }
|
|
10781
11004
|
}
|
|
10782
11005
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: InfraModule, decorators: [{
|
|
10783
11006
|
type: NgModule,
|
|
@@ -10870,6 +11093,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
10870
11093
|
GrupoContabilAbasComponent,
|
|
10871
11094
|
LibAuthenticationConfigComponent,
|
|
10872
11095
|
InnerRowsDirective,
|
|
11096
|
+
LibComboboxReworkComponent,
|
|
10873
11097
|
],
|
|
10874
11098
|
exports: [
|
|
10875
11099
|
PageNotAuthorizedComponent,
|
|
@@ -10944,6 +11168,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
10944
11168
|
GrupoContabilAbasComponent,
|
|
10945
11169
|
LibAuthenticationConfigComponent,
|
|
10946
11170
|
InnerRowsDirective,
|
|
11171
|
+
LibComboboxReworkComponent,
|
|
10947
11172
|
],
|
|
10948
11173
|
providers: [],
|
|
10949
11174
|
}]
|
|
@@ -11749,143 +11974,118 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
|
|
|
11749
11974
|
}]
|
|
11750
11975
|
}] });
|
|
11751
11976
|
|
|
11752
|
-
|
|
11753
|
-
* Estrutura principal usada para padronizar o preenchimento de elementos <select> ou <lib-combobox>.
|
|
11754
|
-
* Sua classe equivalente no C# é GUIDRecordCombobox ou NumberRecordCombobox (ambas terão seus nomes trocados em breve).
|
|
11755
|
-
*/
|
|
11756
|
-
class RecordCombobox {
|
|
11977
|
+
class RetBoolean {
|
|
11757
11978
|
constructor() {
|
|
11758
|
-
|
|
11759
|
-
this.
|
|
11760
|
-
|
|
11761
|
-
this.LABEL = "";
|
|
11762
|
-
/** Propriedade string adicional caso seja necessária. Se preenchida, seu valor será exibido por padrão ao lado esquerdo do LABEL no componente <lib-combobox>. */
|
|
11763
|
-
this.AdditionalStringProperty1 = "";
|
|
11764
|
-
/** Propriedade string adicional caso seja necessária. */
|
|
11765
|
-
this.AdditionalStringProperty2 = "";
|
|
11766
|
-
/** Propriedade numérica adicional caso seja necessária. */
|
|
11767
|
-
this.AdditionalLongProperty1 = 0;
|
|
11768
|
-
/** Propriedade numérica adicional caso seja necessária. */
|
|
11769
|
-
this.AdditionalLongProperty2 = 0;
|
|
11770
|
-
/** Propriedade booleana adicional caso seja necessária. */
|
|
11771
|
-
this.AdditionalBooleanProperty1 = false;
|
|
11772
|
-
/** Propriedade booleana adicional caso seja necessária. */
|
|
11773
|
-
this.AdditionalBooleanProperty2 = false;
|
|
11774
|
-
/** Usada apenas em casos muito específicos. */
|
|
11775
|
-
this.IS_SELECTED = false;
|
|
11979
|
+
this.Error = false;
|
|
11980
|
+
this.ErrorMessage = "";
|
|
11981
|
+
this.Boolean = false;
|
|
11776
11982
|
}
|
|
11777
11983
|
}
|
|
11778
|
-
// #endregion Interface IRecordsCombobox
|
|
11779
11984
|
|
|
11780
|
-
class
|
|
11985
|
+
class RetNumber {
|
|
11781
11986
|
constructor() {
|
|
11782
11987
|
this.Error = false;
|
|
11783
11988
|
this.ErrorMessage = "";
|
|
11784
|
-
this.
|
|
11989
|
+
this.Number = 0;
|
|
11785
11990
|
}
|
|
11786
11991
|
}
|
|
11787
|
-
|
|
11992
|
+
|
|
11993
|
+
class RetObjectList {
|
|
11788
11994
|
constructor() {
|
|
11789
11995
|
this.Error = false;
|
|
11790
11996
|
this.ErrorMessage = "";
|
|
11791
|
-
this.
|
|
11997
|
+
this.ObjectList = [];
|
|
11792
11998
|
}
|
|
11793
11999
|
}
|
|
11794
12000
|
|
|
11795
|
-
class
|
|
12001
|
+
class RetString {
|
|
11796
12002
|
constructor() {
|
|
11797
12003
|
this.Error = false;
|
|
11798
12004
|
this.ErrorMessage = "";
|
|
11799
|
-
this.
|
|
11800
|
-
this.File = "";
|
|
12005
|
+
this.String = "";
|
|
11801
12006
|
}
|
|
11802
12007
|
}
|
|
11803
12008
|
|
|
11804
|
-
class
|
|
11805
|
-
constructor(
|
|
11806
|
-
|
|
11807
|
-
this.
|
|
11808
|
-
this.
|
|
11809
|
-
}
|
|
11810
|
-
markAsDirty(opts = {}) {
|
|
11811
|
-
super.markAsDirty(opts);
|
|
11812
|
-
this._dirtyChanges.next(this.dirty);
|
|
11813
|
-
}
|
|
11814
|
-
markAsTouched(opts = {}) {
|
|
11815
|
-
super.markAsTouched(opts);
|
|
11816
|
-
this._touchedChanges.next(this.touched);
|
|
11817
|
-
}
|
|
11818
|
-
get dirtyChanges() {
|
|
11819
|
-
return this._dirtyChanges.asObservable();
|
|
11820
|
-
}
|
|
11821
|
-
get touchedChanges() {
|
|
11822
|
-
return this._touchedChanges.asObservable();
|
|
12009
|
+
class RetStringList {
|
|
12010
|
+
constructor() {
|
|
12011
|
+
this.Error = false;
|
|
12012
|
+
this.ErrorMessage = "";
|
|
12013
|
+
this.StringList = [];
|
|
11823
12014
|
}
|
|
11824
12015
|
}
|
|
11825
12016
|
|
|
11826
|
-
class
|
|
12017
|
+
class EnderecoByCep {
|
|
11827
12018
|
constructor() {
|
|
11828
|
-
this.
|
|
11829
|
-
this.
|
|
12019
|
+
this.UF = "";
|
|
12020
|
+
this.LOGRADOURO = "";
|
|
12021
|
+
this.CIDADE = "";
|
|
12022
|
+
this.BAIRRO = "";
|
|
11830
12023
|
}
|
|
11831
12024
|
}
|
|
11832
12025
|
|
|
11833
|
-
class
|
|
12026
|
+
class RetCep {
|
|
11834
12027
|
constructor() {
|
|
11835
12028
|
this.Error = false;
|
|
11836
12029
|
this.ErrorMessage = "";
|
|
11837
|
-
this.
|
|
12030
|
+
this.EnderecoByCep = new EnderecoByCep();
|
|
11838
12031
|
}
|
|
11839
12032
|
}
|
|
11840
12033
|
|
|
11841
12034
|
/**
|
|
11842
|
-
*
|
|
11843
|
-
|
|
11844
|
-
|
|
12035
|
+
* Estrutura principal usada para padronizar o preenchimento de elementos <select> ou <lib-combobox>.
|
|
12036
|
+
* Sua classe equivalente no C# é GUIDRecordCombobox ou NumberRecordCombobox (ambas terão seus nomes trocados em breve).
|
|
12037
|
+
*/
|
|
12038
|
+
class RecordCombobox {
|
|
11845
12039
|
constructor() {
|
|
11846
|
-
|
|
11847
|
-
this.
|
|
11848
|
-
|
|
11849
|
-
this.
|
|
11850
|
-
|
|
11851
|
-
this.
|
|
11852
|
-
|
|
11853
|
-
this.
|
|
11854
|
-
|
|
11855
|
-
this.
|
|
11856
|
-
|
|
11857
|
-
this.
|
|
11858
|
-
|
|
11859
|
-
this.
|
|
12040
|
+
/** ID ou CÓDIGO do registro, em casos de FK, ele que deve ser usado para preencher o valor no modelo de dados pai */
|
|
12041
|
+
this.ID = 0;
|
|
12042
|
+
/** Texto de exibição, o que estiver nesta propriedade geralmente será exibida para o usuário seja em um <select> ou <lib-combobox> */
|
|
12043
|
+
this.LABEL = "";
|
|
12044
|
+
/** Propriedade string adicional caso seja necessária. Se preenchida, seu valor será exibido por padrão ao lado esquerdo do LABEL no componente <lib-combobox>. */
|
|
12045
|
+
this.AdditionalStringProperty1 = "";
|
|
12046
|
+
/** Propriedade string adicional caso seja necessária. */
|
|
12047
|
+
this.AdditionalStringProperty2 = "";
|
|
12048
|
+
/** Propriedade numérica adicional caso seja necessária. */
|
|
12049
|
+
this.AdditionalLongProperty1 = 0;
|
|
12050
|
+
/** Propriedade numérica adicional caso seja necessária. */
|
|
12051
|
+
this.AdditionalLongProperty2 = 0;
|
|
12052
|
+
/** Propriedade booleana adicional caso seja necessária. */
|
|
12053
|
+
this.AdditionalBooleanProperty1 = false;
|
|
12054
|
+
/** Propriedade booleana adicional caso seja necessária. */
|
|
12055
|
+
this.AdditionalBooleanProperty2 = false;
|
|
12056
|
+
/** Usada apenas em casos muito específicos. */
|
|
12057
|
+
this.IS_SELECTED = false;
|
|
11860
12058
|
}
|
|
11861
12059
|
}
|
|
11862
|
-
|
|
11863
|
-
|
|
11864
|
-
|
|
11865
|
-
class EmailAnexoRecord {
|
|
12060
|
+
// #endregion Interface IRecordsCombobox
|
|
12061
|
+
|
|
12062
|
+
class RetRecordsCombobox {
|
|
11866
12063
|
constructor() {
|
|
11867
|
-
|
|
11868
|
-
this.
|
|
11869
|
-
|
|
11870
|
-
this.FileName = "";
|
|
11871
|
-
/** Tipo do conteúdo do arquivo */
|
|
11872
|
-
this.ContentType = "";
|
|
12064
|
+
this.Error = false;
|
|
12065
|
+
this.ErrorMessage = "";
|
|
12066
|
+
this.Records = [];
|
|
11873
12067
|
}
|
|
11874
12068
|
}
|
|
11875
|
-
|
|
11876
|
-
class RetError {
|
|
12069
|
+
class RetRecordCombobox {
|
|
11877
12070
|
constructor() {
|
|
11878
12071
|
this.Error = false;
|
|
11879
12072
|
this.ErrorMessage = "";
|
|
12073
|
+
this.Record = new RecordCombobox();
|
|
11880
12074
|
}
|
|
11881
12075
|
}
|
|
11882
12076
|
|
|
11883
|
-
|
|
11884
|
-
class RetFeedbackMessage {
|
|
12077
|
+
class ContainerTabsModel {
|
|
11885
12078
|
constructor() {
|
|
11886
|
-
|
|
11887
|
-
this.
|
|
11888
|
-
|
|
12079
|
+
/** Nome da aba que será exibida */
|
|
12080
|
+
this.name = "";
|
|
12081
|
+
/** Informa se a aba estará visível ou oculta. */
|
|
12082
|
+
this.visible = true;
|
|
12083
|
+
/** Informa se a aba pode ser selecionada. */
|
|
12084
|
+
this.available = true;
|
|
12085
|
+
/** Informa o tipo da aba, se é um simples texto ou se será um link para outra rota. */
|
|
12086
|
+
this.type = "text";
|
|
12087
|
+
/** Caso o 'type' seja um 'link' esta propriedade deve ser informada com a rota a ser redirecionada. */
|
|
12088
|
+
this.linkText = "";
|
|
11889
12089
|
}
|
|
11890
12090
|
}
|
|
11891
12091
|
|
|
@@ -11911,6 +12111,15 @@ class RetEstabelecimentosModal {
|
|
|
11911
12111
|
}
|
|
11912
12112
|
}
|
|
11913
12113
|
|
|
12114
|
+
class DownloadArquivos {
|
|
12115
|
+
constructor() {
|
|
12116
|
+
this.Error = false;
|
|
12117
|
+
this.ErrorMessage = "";
|
|
12118
|
+
this.FileName = "";
|
|
12119
|
+
this.File = "";
|
|
12120
|
+
}
|
|
12121
|
+
}
|
|
12122
|
+
|
|
11914
12123
|
class FileModel {
|
|
11915
12124
|
constructor() {
|
|
11916
12125
|
this.FileBase64 = '';
|
|
@@ -11920,74 +12129,66 @@ class FileModel {
|
|
|
11920
12129
|
}
|
|
11921
12130
|
}
|
|
11922
12131
|
|
|
11923
|
-
class
|
|
12132
|
+
class FiltrosAplicadosModel {
|
|
11924
12133
|
constructor() {
|
|
11925
|
-
this.
|
|
11926
|
-
this.
|
|
12134
|
+
this.label = "";
|
|
12135
|
+
this.value = null;
|
|
11927
12136
|
}
|
|
11928
12137
|
}
|
|
11929
12138
|
|
|
11930
|
-
class
|
|
11931
|
-
constructor() {
|
|
11932
|
-
|
|
11933
|
-
this.
|
|
11934
|
-
this.
|
|
12139
|
+
class CustomFormControl extends FormControl {
|
|
12140
|
+
constructor(formState = null, validatorOrOpts, asyncValidator) {
|
|
12141
|
+
super(formState, validatorOrOpts, asyncValidator);
|
|
12142
|
+
this._dirtyChanges = new Subject();
|
|
12143
|
+
this._touchedChanges = new Subject();
|
|
11935
12144
|
}
|
|
11936
|
-
}
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
constructor() {
|
|
11940
|
-
this.Error = false;
|
|
11941
|
-
this.ErrorMessage = "";
|
|
11942
|
-
this.Number = 0;
|
|
12145
|
+
markAsDirty(opts = {}) {
|
|
12146
|
+
super.markAsDirty(opts);
|
|
12147
|
+
this._dirtyChanges.next(this.dirty);
|
|
11943
12148
|
}
|
|
11944
|
-
}
|
|
11945
|
-
|
|
11946
|
-
|
|
11947
|
-
|
|
11948
|
-
|
|
11949
|
-
this.
|
|
11950
|
-
|
|
12149
|
+
markAsTouched(opts = {}) {
|
|
12150
|
+
super.markAsTouched(opts);
|
|
12151
|
+
this._touchedChanges.next(this.touched);
|
|
12152
|
+
}
|
|
12153
|
+
get dirtyChanges() {
|
|
12154
|
+
return this._dirtyChanges.asObservable();
|
|
12155
|
+
}
|
|
12156
|
+
get touchedChanges() {
|
|
12157
|
+
return this._touchedChanges.asObservable();
|
|
11951
12158
|
}
|
|
11952
12159
|
}
|
|
11953
12160
|
|
|
11954
|
-
class
|
|
12161
|
+
class MultiStatusList {
|
|
11955
12162
|
constructor() {
|
|
11956
|
-
this.
|
|
11957
|
-
this.
|
|
11958
|
-
this.String = "";
|
|
12163
|
+
this.ID = "";
|
|
12164
|
+
this.STATUS = false;
|
|
11959
12165
|
}
|
|
11960
12166
|
}
|
|
11961
12167
|
|
|
11962
|
-
class
|
|
12168
|
+
class JobRequest {
|
|
11963
12169
|
constructor() {
|
|
11964
|
-
this.
|
|
11965
|
-
this.
|
|
11966
|
-
this.
|
|
12170
|
+
this.Tenant_Id = 0;
|
|
12171
|
+
this.BodyParameter = "";
|
|
12172
|
+
this.RoutePrefix = "";
|
|
12173
|
+
this.FinalHttpMethod = "";
|
|
12174
|
+
this.FinalMethodEnpoint = "";
|
|
12175
|
+
this.ScheduleDate = "";
|
|
12176
|
+
this.IsParallel = false;
|
|
11967
12177
|
}
|
|
11968
12178
|
}
|
|
11969
12179
|
|
|
11970
|
-
class
|
|
12180
|
+
class ReportFile {
|
|
11971
12181
|
constructor() {
|
|
11972
|
-
this.
|
|
11973
|
-
this.
|
|
11974
|
-
this.CIDADE = "";
|
|
11975
|
-
this.BAIRRO = "";
|
|
12182
|
+
this.ReportName = '';
|
|
12183
|
+
this.ReportBase64 = '';
|
|
11976
12184
|
}
|
|
11977
12185
|
}
|
|
11978
12186
|
|
|
11979
|
-
class
|
|
12187
|
+
class RetReportFile {
|
|
11980
12188
|
constructor() {
|
|
11981
12189
|
this.Error = false;
|
|
11982
12190
|
this.ErrorMessage = "";
|
|
11983
|
-
this.
|
|
11984
|
-
}
|
|
11985
|
-
}
|
|
11986
|
-
|
|
11987
|
-
class FiltrosAplicadosModel {
|
|
11988
|
-
constructor() {
|
|
11989
|
-
this.label = "";
|
|
11990
|
-
this.value = null;
|
|
12191
|
+
this.ReportFile = new ReportFile();
|
|
11991
12192
|
}
|
|
11992
12193
|
}
|
|
11993
12194
|
|
|
@@ -12037,42 +12238,66 @@ class TransferListConfig {
|
|
|
12037
12238
|
}
|
|
12038
12239
|
}
|
|
12039
12240
|
|
|
12040
|
-
/**
|
|
12041
|
-
|
|
12241
|
+
/**
|
|
12242
|
+
* Modelo de dados para envio de e-mails
|
|
12243
|
+
*/
|
|
12244
|
+
class EmailModel {
|
|
12042
12245
|
constructor() {
|
|
12043
|
-
|
|
12044
|
-
this.
|
|
12045
|
-
|
|
12046
|
-
this.
|
|
12047
|
-
|
|
12048
|
-
this.
|
|
12246
|
+
this.tipoEmail = 0;
|
|
12247
|
+
this.moduloID = 0;
|
|
12248
|
+
this.moduloNome = "";
|
|
12249
|
+
this.adressFrom = "";
|
|
12250
|
+
this.remetenteNome = "";
|
|
12251
|
+
this.adressTo = "";
|
|
12252
|
+
this.adressesCC = "";
|
|
12253
|
+
this.assuntoEmail = "";
|
|
12254
|
+
this.tituloEmail = "";
|
|
12255
|
+
this.corpoEmail = "";
|
|
12256
|
+
this.htmlLinks = "";
|
|
12257
|
+
this.anexosList = [];
|
|
12258
|
+
this.estabelecimentoID = "";
|
|
12259
|
+
this.emailHomologacao = "";
|
|
12260
|
+
}
|
|
12261
|
+
}
|
|
12262
|
+
/**
|
|
12263
|
+
* Modelo de dados para anexos de e-mail
|
|
12264
|
+
*/
|
|
12265
|
+
class EmailAnexoRecord {
|
|
12266
|
+
constructor() {
|
|
12267
|
+
/** Base64 do arquivo */
|
|
12268
|
+
this.File = "";
|
|
12269
|
+
/** Nome do arquivo com sua extensão */
|
|
12270
|
+
this.FileName = "";
|
|
12271
|
+
/** Tipo do conteúdo do arquivo */
|
|
12272
|
+
this.ContentType = "";
|
|
12049
12273
|
}
|
|
12050
12274
|
}
|
|
12051
12275
|
|
|
12052
|
-
class
|
|
12276
|
+
class RetError {
|
|
12053
12277
|
constructor() {
|
|
12054
|
-
|
|
12055
|
-
this.
|
|
12056
|
-
/** Informa se a aba estará visível ou oculta. */
|
|
12057
|
-
this.visible = true;
|
|
12058
|
-
/** Informa se a aba pode ser selecionada. */
|
|
12059
|
-
this.available = true;
|
|
12060
|
-
/** Informa o tipo da aba, se é um simples texto ou se será um link para outra rota. */
|
|
12061
|
-
this.type = "text";
|
|
12062
|
-
/** Caso o 'type' seja um 'link' esta propriedade deve ser informada com a rota a ser redirecionada. */
|
|
12063
|
-
this.linkText = "";
|
|
12278
|
+
this.Error = false;
|
|
12279
|
+
this.ErrorMessage = "";
|
|
12064
12280
|
}
|
|
12065
12281
|
}
|
|
12066
12282
|
|
|
12067
|
-
|
|
12283
|
+
/** Usada para um retorno simples que possua apenas uma mensagem de feedback */
|
|
12284
|
+
class RetFeedbackMessage {
|
|
12068
12285
|
constructor() {
|
|
12069
|
-
this.
|
|
12070
|
-
this.
|
|
12071
|
-
this.
|
|
12072
|
-
|
|
12073
|
-
|
|
12074
|
-
|
|
12075
|
-
|
|
12286
|
+
this.Error = false;
|
|
12287
|
+
this.ErrorMessage = "";
|
|
12288
|
+
this.FeedbackMessage = "";
|
|
12289
|
+
}
|
|
12290
|
+
}
|
|
12291
|
+
|
|
12292
|
+
/** Propriedades agrupadas para utilizar com o componente ```<lib-navigation>``` */
|
|
12293
|
+
class NavigationOptions {
|
|
12294
|
+
constructor() {
|
|
12295
|
+
/** Lista de itens de navegação que serão exibidos */
|
|
12296
|
+
this.navItems = [];
|
|
12297
|
+
/** Indica se o ambiente é de produção ou não. Dentro dos projetos, deve ser buscado do arquivo 'environment'. */
|
|
12298
|
+
this.isProduction = true;
|
|
12299
|
+
/** Hostname do ambiente atual ou de produção (depende do que foi informado na isProduction). */
|
|
12300
|
+
this.hostname = "https://siscandesv6.sispro.com.br";
|
|
12076
12301
|
}
|
|
12077
12302
|
}
|
|
12078
12303
|
|
|
@@ -12698,7 +12923,6 @@ class HomeLogApiComponent {
|
|
|
12698
12923
|
ngAfterViewInit() {
|
|
12699
12924
|
const estado = localStorage.getItem('estado-log-api');
|
|
12700
12925
|
if (estado) {
|
|
12701
|
-
console.log('1');
|
|
12702
12926
|
const dados = JSON.parse(estado);
|
|
12703
12927
|
this.componentPesquisa.search = dados.textoPesquisa;
|
|
12704
12928
|
this.dateInicioIni = dados.dateInicioIni;
|
|
@@ -14750,13 +14974,13 @@ class TreeItem {
|
|
|
14750
14974
|
}
|
|
14751
14975
|
|
|
14752
14976
|
/**
|
|
14753
|
-
* Public API Surface of ngx-sp-
|
|
14754
|
-
|
|
14977
|
+
* Public API Surface of ngx-sp-auth
|
|
14978
|
+
|
|
14755
14979
|
/** Modules */
|
|
14756
14980
|
|
|
14757
14981
|
/**
|
|
14758
14982
|
* Generated bundle index. Do not edit.
|
|
14759
14983
|
*/
|
|
14760
14984
|
|
|
14761
|
-
export { A11yClickDirective, AlertComponent, AppliedFiltersComponent, AuditoriaButtonComponent, BasicFilters, BreadcrumbComponent, CheckUrlAndMethodService, ClickOutsideDirective, ComboboxComponent, ComboboxMultipleChoiceComponent, ConfirmComponent, ConfirmModalComponent, ContainerTabsModel, ContentContainerComponent, CopyClipboardDirective, CpfCnpjPipe, CpfCnpjValidator, CpfCnpjValidatorDirective, CurrencyPipe, CustomAcordionComponent, CustomFormControl, DecimalCommaPipe, DetalhesLogApiComponent, DetalhesLogDataAccessComponent, DetalhesLogEmailComponent, DetalhesLogTimerComponent, DetalhesLogWSComponent, DetalhesLogsGeralComponent, DetalhesLogsReportComponent, DialogCropperComponent, DisableControlDirective, DownloadArquivos, DropdownOptionsComponent, DynamicInputComponent, EmailAnexoRecord, EmailModel, EmpresaAbasComponent, EnderecoByCep, EstabelecimentoAbasComponent, FieldContadorMessageComponent, FieldControlErrorComponent, FieldErrorMessageComponent, FileModel, FileService, FilterByPipe, FilterMultipleChoicePipe, FiltrosAplicadosModel, FiltrosAplicadosService, FooterComponent, FormUtils, FormatByTypePipe, GenericModalComponent, GlobalLoadingService, GrupoContabilAbasComponent, HighlightDirective, HomeLogApiComponent, HomeLogDataAccessComponent, HomeLogEmailComponent, HomeLogTimerComponent, HomeLogsReportComponent, HomeLogsWSComponent, IconsList, ImageCropperComponent, InfraBreadcrumbComponent, InfraBreadcrumbItemComponent, InfraEstabelecimentoFavoritoDefault, InfraModule, InnerListComponent, InnerRowsDirective, InputTrimComponent, IpServiceService, ItemsAbasComponent, JobRequest, LibAuthenticationConfigComponent, LibComboboxComponent, LibConfigSenhaComponent, LibCustomizableTableComponent, LibDateRangePickerComponent, LibDirectivesModule, LibHeaderComponent, LibIconsComponent, LibIntegracaoLdapComponent, LibIntegracoesExternasComponent, LibNavProdutosComponent, LibPipesModule, LibSimplifiedTableComponent, LibSpinnerComponent, LibTransferListComponent, LibViewsModule, LibWidgetsModule, LimitToPipe, ListComponent, LoadingBtnDirective, LoadingButtonComponent, LoadingComponent, LoadingScreenComponent, LogsGeralComponent, MessageService, ModalUtilsService, MultiStatusList, NavItem, NavProdutosComponent, NavSubMenus, NavSubmenuCards, NavTabsComponent, NavigationOptions, OrderSortPipe, OrderingComponent, PageNotAuthorizedComponent, PaginationComponent, Params, PasswordPolicyComponent, PessoaAbasComponent, PhoneFormatPipe, QueueService, RecordCombobox, ReportFile, RequiredDirective, RetBoolean, RetCep, RetError, RetEstabelecimentosModal, RetFeedbackMessage, RetNumber, RetObjectList, RetRecordCombobox, RetRecordsCombobox, RetReportFile, RetString, RetStringList, RetTree, SaveComponent, SearchComboboxComponent, SearchFiltersComponent, SearchInputComponent, SearchTreePipe, SettingsService, SideTabsGenericComponent, SimpleSearchComponent, SubMenuCardComponent, SubMenuComponent, SubMenuItem, TableComponent, TableHeaderIcon, TableHeaderStructure, TableSelectionService, TelaItem, TextFilterPipe, TextTruncateDirective, TitleCasePipe, ToUrlPipe, TransferListConfig, TreeComponent, TreeItem, UsuarioAbasComponent, Utils, alertIds, alertTypes };
|
|
14985
|
+
export { A11yClickDirective, AlertComponent, AppliedFiltersComponent, AuditoriaButtonComponent, BasicFilters, BreadcrumbComponent, CheckUrlAndMethodService, ClickOutsideDirective, ComboboxComponent, ComboboxMultipleChoiceComponent, ConfirmComponent, ConfirmModalComponent, ContainerTabsModel, ContentContainerComponent, CopyClipboardDirective, CpfCnpjPipe, CpfCnpjValidator, CpfCnpjValidatorDirective, CurrencyPipe, CustomAcordionComponent, CustomFormControl, DecimalCommaPipe, DetalhesLogApiComponent, DetalhesLogDataAccessComponent, DetalhesLogEmailComponent, DetalhesLogTimerComponent, DetalhesLogWSComponent, DetalhesLogsGeralComponent, DetalhesLogsReportComponent, DialogCropperComponent, DisableControlDirective, DownloadArquivos, DropdownOptionsComponent, DynamicInputComponent, EmailAnexoRecord, EmailModel, EmpresaAbasComponent, EnderecoByCep, EstabelecimentoAbasComponent, FieldContadorMessageComponent, FieldControlErrorComponent, FieldErrorMessageComponent, FileModel, FileService, FilterByPipe, FilterMultipleChoicePipe, FiltrosAplicadosModel, FiltrosAplicadosService, FooterComponent, FormUtils, FormatByTypePipe, GenericModalComponent, GlobalLoadingService, GrupoContabilAbasComponent, HighlightDirective, HomeLogApiComponent, HomeLogDataAccessComponent, HomeLogEmailComponent, HomeLogTimerComponent, HomeLogsReportComponent, HomeLogsWSComponent, IconsList, ImageCropperComponent, InfraBreadcrumbComponent, InfraBreadcrumbItemComponent, InfraEstabelecimentoFavoritoDefault, InfraModule, InnerListComponent, InnerRowsDirective, InputTrimComponent, IpServiceService, ItemsAbasComponent, JobRequest, LibAuthenticationConfigComponent, LibComboboxComponent, LibComboboxReworkComponent, LibConfigSenhaComponent, LibCustomizableTableComponent, LibDateRangePickerComponent, LibDirectivesModule, LibHeaderComponent, LibIconsComponent, LibIntegracaoLdapComponent, LibIntegracoesExternasComponent, LibNavProdutosComponent, LibPipesModule, LibSimplifiedTableComponent, LibSpinnerComponent, LibTransferListComponent, LibViewsModule, LibWidgetsModule, LimitToPipe, ListComponent, LoadingBtnDirective, LoadingButtonComponent, LoadingComponent, LoadingScreenComponent, LogsGeralComponent, MessageService, ModalUtilsService, MultiStatusList, NavItem, NavProdutosComponent, NavSubMenus, NavSubmenuCards, NavTabsComponent, NavigationOptions, OrderSortPipe, OrderingComponent, PageNotAuthorizedComponent, PaginationComponent, Params, PasswordPolicyComponent, PessoaAbasComponent, PhoneFormatPipe, QueueService, RecordCombobox, ReportFile, RequiredDirective, RetBoolean, RetCep, RetError, RetEstabelecimentosModal, RetFeedbackMessage, RetNumber, RetObjectList, RetRecordCombobox, RetRecordsCombobox, RetReportFile, RetString, RetStringList, RetTree, SaveComponent, SearchComboboxComponent, SearchFiltersComponent, SearchInputComponent, SearchTreePipe, SettingsService, SideTabsGenericComponent, SimpleSearchComponent, SubMenuCardComponent, SubMenuComponent, SubMenuItem, TableComponent, TableHeaderIcon, TableHeaderStructure, TableSelectionService, TelaItem, TextFilterPipe, TextTruncateDirective, TitleCasePipe, ToUrlPipe, TransferListConfig, TreeComponent, TreeItem, UsuarioAbasComponent, Utils, alertIds, alertTypes };
|
|
14762
14986
|
//# sourceMappingURL=ngx-sp-infra.mjs.map
|