ngx-sp-infra 5.2.17 → 5.7.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.
@@ -11,7 +11,7 @@ import * as i1 from 'ngx-bootstrap/modal';
11
11
  import { ModalModule } from 'ngx-bootstrap/modal';
12
12
  import * as i1$3 from 'ngx-bootstrap/tooltip';
13
13
  import { TooltipModule } from 'ngx-bootstrap/tooltip';
14
- import { Subject, Subscription, debounceTime, distinctUntilChanged, BehaviorSubject, take as take$1, tap, filter } from 'rxjs';
14
+ import { Subject, Subscription, debounceTime, distinctUntilChanged, BehaviorSubject, take as take$1, tap, firstValueFrom, filter } from 'rxjs';
15
15
  import * as i1$2 from '@angular/platform-browser';
16
16
  import * as i12 from 'ngx-pagination';
17
17
  import { NgxPaginationModule } from 'ngx-pagination';
@@ -9636,6 +9636,239 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
9636
9636
  args: ['document:keydown', ['$event']]
9637
9637
  }] } });
9638
9638
 
9639
+ class EmpresaAbasComponent {
9640
+ constructor(router) {
9641
+ this.router = router;
9642
+ this.linksList = [];
9643
+ this.Id = "";
9644
+ this.activeItem = '';
9645
+ }
9646
+ ngOnInit() {
9647
+ this.linksList.push({ nome: 'Empresa', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/empresas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Contábil', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Contabilidade/perfilDaEmpresa/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Estoque', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Estoque/SpEtq1Etq/EmpresaEstoque/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Compras/SpCopConfiguracoes/EmpresaCompras/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Recebimento', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Recebimento/SpRec1Cfg/ConfiguracaoEmpresa/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Efd-Reinf/perfil-da-empresa/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Patrimônio', uri: `https://siscandesv10.sispro.com.br/SpPat1Conf/EmpresaPatrimonio.aspx?IsCorp=True&InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'Aprovação', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/empresas/editar/aprovacao/${this.Id}`, isTargetSelf: false }, { nome: 'Financeiro', uri: `https://siscandesv10.sispro.com.br/SpFin1Cadastros/FinEmpresaParam_Edit.aspx?IsCorp=True&InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'Reinf', uri: `https://siscandesv10.sispro.com.br/SpReinf1Cad/ReinfEmpresa_List.aspx?InfraEmpresaId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'ECF/TAX', uri: `https://siscandesv10.sispro.com.br/SpGcf2Cadastros/GcfEmpresa_List.aspx?IsCorp=True&InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'SCP', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/empresas/editar/SCP/${this.Id}`, isTargetSelf: false });
9648
+ this.activeItem = this.router.url;
9649
+ }
9650
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EmpresaAbasComponent, deps: [{ token: i4.Router }], target: i0.ɵɵFactoryTarget.Component }); }
9651
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: EmpresaAbasComponent, isStandalone: true, selector: "lib-empresa-abas", inputs: { Id: "Id" }, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
9652
+ }
9653
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EmpresaAbasComponent, decorators: [{
9654
+ type: Component,
9655
+ args: [{ selector: 'lib-empresa-abas', imports: [NgFor], template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }]
9656
+ }], ctorParameters: () => [{ type: i4.Router }], propDecorators: { Id: [{
9657
+ type: Input
9658
+ }] } });
9659
+
9660
+ class PessoaService {
9661
+ constructor(_httpClient) {
9662
+ this._httpClient = _httpClient;
9663
+ this.PAPEL_BASE_URL = window.location.hostname.includes('localhost') ? `http://localhost:44384/api/Papeis` : `https://${window.location.hostname}/SisproErpCloud/Service_Private/Corporativo/SpCrp2CrpPessoaWS/api/Papeis`;
9664
+ this.PESSOA_BASE_URL = window.location.hostname.includes('localhost') ? `http://localhost:44384/api/Pessoas` : `https://${window.location.hostname}/SisproErpCloud/Service_Private/Corporativo/SpCrp2CrpPessoaWS/api/Pessoas`;
9665
+ }
9666
+ GetPapeisSelected(idCrpPessoa) {
9667
+ const headers = new HttpHeaders()
9668
+ .set('Content-Type', 'application/json');
9669
+ const params = new HttpParams()
9670
+ .set('idCrpPessoa', idCrpPessoa);
9671
+ const url = `${this.PAPEL_BASE_URL}/GetPapeisSelected`;
9672
+ return this._httpClient
9673
+ .get(url, { 'params': params, 'headers': headers })
9674
+ .pipe(take$1(1), tap(response => {
9675
+ if (response.Error) {
9676
+ throw Error(response.ErrorMessage);
9677
+ }
9678
+ }));
9679
+ }
9680
+ GetTipoPessoa(idCrpPessoa) {
9681
+ const headers = new HttpHeaders()
9682
+ .set('Content-Type', 'application/json');
9683
+ const params = new HttpParams()
9684
+ .set('idCrpPessoa', idCrpPessoa);
9685
+ const url = `${this.PESSOA_BASE_URL}/TipoPessoa`;
9686
+ return this._httpClient
9687
+ .get(url, { 'params': params, 'headers': headers })
9688
+ .pipe(take$1(1), tap(response => {
9689
+ if (response.Error) {
9690
+ throw Error(response.ErrorMessage);
9691
+ }
9692
+ }));
9693
+ }
9694
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PessoaService, deps: [{ token: i1$4.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
9695
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PessoaService, providedIn: 'root' }); }
9696
+ }
9697
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PessoaService, decorators: [{
9698
+ type: Injectable,
9699
+ args: [{
9700
+ providedIn: 'root'
9701
+ }]
9702
+ }], ctorParameters: () => [{ type: i1$4.HttpClient }] });
9703
+
9704
+ class PessoaAbasComponent {
9705
+ constructor(router, _pessoasService, cdr) {
9706
+ this.router = router;
9707
+ this._pessoasService = _pessoasService;
9708
+ this.cdr = cdr;
9709
+ this.UrisList = [];
9710
+ this.recarregar = false;
9711
+ this.recarregarChange = new EventEmitter();
9712
+ this.crpPesPapeisData = [];
9713
+ this.hasPapel = false;
9714
+ this.activeItem = '';
9715
+ this.isFornecedor = false;
9716
+ this.tipoPessoa = 0;
9717
+ }
9718
+ async ngOnChanges() {
9719
+ if (this.recarregar) {
9720
+ await this.GetPapeisSelected();
9721
+ await this.GetTipoPessoa();
9722
+ this.VerifyList();
9723
+ this.cdr.detectChanges();
9724
+ setTimeout(() => {
9725
+ this.recarregarChange.emit(false);
9726
+ }, 500);
9727
+ }
9728
+ }
9729
+ async ngOnInit() {
9730
+ if (!this.Id) {
9731
+ throw new Error('O parâmetro "Id" é obrigatório.');
9732
+ }
9733
+ await this.GetPapeisSelected();
9734
+ await this.GetTipoPessoa();
9735
+ this.activeItem = this.router.url;
9736
+ this.UrisList.push({ nome: 'Dados básicos', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/pessoas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados comerciais', uri: `https://siscandesv10.sispro.com.br/SpNeg3Cfg/PessoaDadosComerciais.aspx?IsCorp=True&CrpPessoaId=${this.Id}`, isTargetSelf: false }, { nome: 'Dados financeiros', uri: `https://siscandesv10.sispro.com.br/SpFin1Cadastros/PessoaDadosFinanceiros.aspx?CrpPessoaId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'Compras - Dados da pessoa para suprimentos', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Compras/SpCopConfiguracoes/PessoasDadosSuprimentos/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras - Dados dos fornecedor', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Compras/SpCopConfiguracoes/PessoasDadosFornecedor/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Dados auxiliares', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/pessoas/dadosAuxiliares/${this.Id}`, isTargetSelf: false }, { nome: 'Tipo', uri: `https://siscandesv10.sispro.com.br/SpMnt3Manutencao/TipoPessoa.aspx?IsCorp=True&CrpPessoaId=${this.Id}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/pessoas/pessoaFiscal/${this.Id}`, isTargetSelf: false }, { nome: 'Contabilidade', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Contabilidade/Participantes?CrpPessoaId=${this.Id}`, isTargetSelf: false });
9737
+ this.VerifyList();
9738
+ }
9739
+ async GetPapeisSelected() {
9740
+ this.hasPapel = false;
9741
+ try {
9742
+ const response = await firstValueFrom(this._pessoasService.GetPapeisSelected(this.Id));
9743
+ this.crpPesPapeisData = response.PapeisSelected;
9744
+ this.hasPapel = this.crpPesPapeisData.some(papel => papel.Id === "CTRCOM" || papel.Id === "REQ");
9745
+ this.isFornecedor = this.crpPesPapeisData.some(papel => papel.Id === "FOR");
9746
+ }
9747
+ catch (error) {
9748
+ }
9749
+ }
9750
+ async GetTipoPessoa() {
9751
+ try {
9752
+ const response = await firstValueFrom(this._pessoasService.GetTipoPessoa(this.Id));
9753
+ this.tipoPessoa = response.TipoPessoa;
9754
+ }
9755
+ catch (error) {
9756
+ }
9757
+ }
9758
+ VerifyList() {
9759
+ this.UrisList = [];
9760
+ this.UrisList.push({ nome: 'Dados básicos', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/pessoas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados comerciais', uri: `https://siscandesv10.sispro.com.br/SpNeg3Cfg/PessoaDadosComerciais.aspx?IsCorp=True&CrpPessoaId=${this.Id}`, isTargetSelf: false }, { nome: 'Dados financeiros', uri: `https://siscandesv10.sispro.com.br/SpFin1Cadastros/PessoaDadosFinanceiros.aspx?CrpPessoaId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'Compras - Dados da pessoa para suprimentos', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Compras/SpCopConfiguracoes/PessoasDadosSuprimentos/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras - Dados dos fornecedor', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Compras/SpCopConfiguracoes/PessoasDadosFornecedor/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Dados auxiliares', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/pessoas/dadosAuxiliares/${this.Id}`, isTargetSelf: false }, { nome: 'Tipo', uri: `https://siscandesv10.sispro.com.br/SpMnt3Manutencao/TipoPessoa.aspx?IsCorp=True&CrpPessoaId=${this.Id}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/pessoas/pessoaFiscal/${this.Id}`, isTargetSelf: false }, { nome: 'Contabilidade', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Contabilidade/Participantes?CrpPessoaId=${this.Id}`, isTargetSelf: false });
9761
+ if (this.hasPapel && this.tipoPessoa === 2 && this.isFornecedor) {
9762
+ }
9763
+ else if (this.hasPapel && this.tipoPessoa === 2) {
9764
+ this.UrisList = this.UrisList.filter(item => item.nome !== 'Compras - Dados dos fornecedor');
9765
+ }
9766
+ else if (this.isFornecedor) {
9767
+ this.UrisList = this.UrisList.filter(item => item.nome !== 'Compras - Dados da pessoa para suprimentos');
9768
+ }
9769
+ else {
9770
+ this.UrisList = this.UrisList.filter(item => item.nome !== 'Compras - Dados dos fornecedor');
9771
+ this.UrisList = this.UrisList.filter(item => item.nome !== 'Compras - Dados da pessoa para suprimentos');
9772
+ }
9773
+ }
9774
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PessoaAbasComponent, deps: [{ token: i4.Router }, { token: PessoaService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
9775
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: PessoaAbasComponent, isStandalone: true, selector: "lib-pessoa-abas", inputs: { Id: "Id", recarregar: "recarregar" }, outputs: { recarregarChange: "recarregarChange" }, usesOnChanges: true, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of UrisList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n\n </li>\n }\n</ul>\n\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}ul.menu{display:flex;flex-wrap:wrap}li.menu-item{white-space:nowrap;display:inline-block}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
9776
+ }
9777
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: PessoaAbasComponent, decorators: [{
9778
+ type: Component,
9779
+ args: [{ selector: 'lib-pessoa-abas', imports: [NgFor], template: "<ul class=\"menu\">\n @for(item of UrisList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n\n </li>\n }\n</ul>\n\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}ul.menu{display:flex;flex-wrap:wrap}li.menu-item{white-space:nowrap;display:inline-block}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }]
9780
+ }], ctorParameters: () => [{ type: i4.Router }, { type: PessoaService }, { type: i0.ChangeDetectorRef }], propDecorators: { Id: [{
9781
+ type: Input
9782
+ }], recarregar: [{
9783
+ type: Input
9784
+ }], recarregarChange: [{
9785
+ type: Output
9786
+ }] } });
9787
+
9788
+ class EstabelecimentoAbasComponent {
9789
+ constructor(router) {
9790
+ this.router = router;
9791
+ this.linksList = [];
9792
+ this.Id = "";
9793
+ this.activeItem = '';
9794
+ }
9795
+ ngOnInit() {
9796
+ this.linksList.push({ nome: 'Estabelecimento', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/estabelecimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Recebimento', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Recebimento/SpRec1Cfg/ConfiguracaoEstabelecimento/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Financeiro', uri: `https://siscandesv10.sispro.com.br/SpFin1Cadastros/FinEstabParam_Edit.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Efd-Reinf/identificacao-da-entidade/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Compras/SpCopConfiguracoes/EstabCompras/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Contratos', uri: `https://siscandesv10.sispro.com.br/SpCtr1Param/CtrGnCfgApl_Edit.aspx?EstabelecimentoId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'Vendas', uri: `https://siscandesv10.sispro.com.br/SpNeg3Cfg/CfgEstabelecimento.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false }, { nome: 'CNO', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/empresas/editar/aprovacao/${this.Id}`, isTargetSelf: false }, { nome: 'Tributos', uri: `https://siscandesv10.sispro.com.br/SpFis1Interface/ConfigOrdemCalcImpostos.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false });
9797
+ this.activeItem = this.router.url;
9798
+ }
9799
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EstabelecimentoAbasComponent, deps: [{ token: i4.Router }], target: i0.ɵɵFactoryTarget.Component }); }
9800
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: EstabelecimentoAbasComponent, isStandalone: true, selector: "lib-estabelecimento-abas", inputs: { Id: "Id" }, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
9801
+ }
9802
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: EstabelecimentoAbasComponent, decorators: [{
9803
+ type: Component,
9804
+ args: [{ selector: 'lib-estabelecimento-abas', imports: [NgFor], template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }]
9805
+ }], ctorParameters: () => [{ type: i4.Router }], propDecorators: { Id: [{
9806
+ type: Input
9807
+ }] } });
9808
+
9809
+ class ItemsAbasComponent {
9810
+ constructor(router) {
9811
+ this.router = router;
9812
+ this.linksList = [];
9813
+ this.Id = "";
9814
+ this.activeItem = '';
9815
+ }
9816
+ ngOnInit() {
9817
+ this.linksList.push({ nome: 'Estoque', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Estoque/SpEtq1Etq/ItemParaSuprimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados Compras', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Compras/SpCopConfiguracoes/ItemDadosCompras/editar/${this.Id}`, isTargetSelf: false });
9818
+ this.activeItem = this.router.url;
9819
+ }
9820
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ItemsAbasComponent, deps: [{ token: i4.Router }], target: i0.ɵɵFactoryTarget.Component }); }
9821
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: ItemsAbasComponent, isStandalone: true, selector: "lib-items-abas", inputs: { Id: "Id" }, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
9822
+ }
9823
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: ItemsAbasComponent, decorators: [{
9824
+ type: Component,
9825
+ args: [{ selector: 'lib-items-abas', imports: [NgFor], template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }]
9826
+ }], ctorParameters: () => [{ type: i4.Router }], propDecorators: { Id: [{
9827
+ type: Input
9828
+ }] } });
9829
+
9830
+ class UsuarioAbasComponent {
9831
+ constructor(router) {
9832
+ this.router = router;
9833
+ this.linksList = [];
9834
+ this.Id = "";
9835
+ this.activeItem = '';
9836
+ }
9837
+ ngOnInit() {
9838
+ this.linksList.push({ nome: 'Usuário', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/usuarios/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Pessoa', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/usuarios/pessoas/${this.Id}`, isTargetSelf: false }, { nome: 'Estoque', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Estoque/SpEtq1Etq/usuarios/editar/${this.Id}`, isTargetSelf: false });
9839
+ this.activeItem = window.location.origin + this.router.url;
9840
+ }
9841
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UsuarioAbasComponent, deps: [{ token: i4.Router }], target: i0.ɵɵFactoryTarget.Component }); }
9842
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: UsuarioAbasComponent, isStandalone: true, selector: "lib-usuario-abas", inputs: { Id: "Id" }, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri === activeItem\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
9843
+ }
9844
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: UsuarioAbasComponent, decorators: [{
9845
+ type: Component,
9846
+ args: [{ selector: 'lib-usuario-abas', imports: [NgFor], template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri === activeItem\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }]
9847
+ }], ctorParameters: () => [{ type: i4.Router }], propDecorators: { Id: [{
9848
+ type: Input
9849
+ }] } });
9850
+
9851
+ class GrupoContabilAbasComponent {
9852
+ constructor(router) {
9853
+ this.router = router;
9854
+ this.linksList = [];
9855
+ this.Id = "";
9856
+ this.activeItem = '';
9857
+ }
9858
+ ngOnInit() {
9859
+ this.linksList.push({ nome: 'Grupo Contabil', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Corporativo/grupo-contabil/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados Compras', uri: `https://siscandesv6.sispro.com.br/SisproErpCloud/Compras/SpCopConfiguracoes/GrpContabil/editar/${this.Id}`, isTargetSelf: false });
9860
+ this.activeItem = this.router.url;
9861
+ }
9862
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: GrupoContabilAbasComponent, deps: [{ token: i4.Router }], target: i0.ɵɵFactoryTarget.Component }); }
9863
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: GrupoContabilAbasComponent, isStandalone: true, selector: "lib-grupo-contabil-abas", inputs: { Id: "Id" }, ngImport: i0, template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }); }
9864
+ }
9865
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: GrupoContabilAbasComponent, decorators: [{
9866
+ type: Component,
9867
+ args: [{ selector: 'lib-grupo-contabil-abas', imports: [NgFor], template: "<ul class=\"menu\">\n @for(item of linksList; track $index) {\n <li class=\"menu-item\" [class.active]=\"item.uri.includes(activeItem)\">\n <a [href]=\"item.uri\" class=\"glb-cursor-pointer\" [tabindex]=\"$index\">{{ item.nome }}</a>\n </li>\n }\n</ul>\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#c7c7c7;text-decoration:none;border-bottom:2px solid #c7c7c7;transition:color .3s ease,border-bottom-color .3s ease;width:calc(100% + 15px)}.menu-item a:hover{color:#3e5154;border-bottom:2px solid #2847A0}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#2847a0}.menu-item.active a{color:#3e5154}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #2847A0;opacity:1;transition:all .2s ease-in-out}\n"] }]
9868
+ }], ctorParameters: () => [{ type: i4.Router }], propDecorators: { Id: [{
9869
+ type: Input
9870
+ }] } });
9871
+
9639
9872
  class InfraModule {
9640
9873
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: InfraModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
9641
9874
  static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: InfraModule, imports: [CommonModule, i1.ModalModule, i2.AccordionModule, TooltipModule,
@@ -9713,7 +9946,13 @@ class InfraModule {
9713
9946
  SearchInputComponent,
9714
9947
  LoadingScreenComponent,
9715
9948
  AuditoriaButtonComponent,
9716
- LibDateRangePickerComponent], exports: [PageNotAuthorizedComponent,
9949
+ LibDateRangePickerComponent,
9950
+ EmpresaAbasComponent,
9951
+ PessoaAbasComponent,
9952
+ EstabelecimentoAbasComponent,
9953
+ ItemsAbasComponent,
9954
+ UsuarioAbasComponent,
9955
+ GrupoContabilAbasComponent], exports: [PageNotAuthorizedComponent,
9717
9956
  LoadingComponent,
9718
9957
  FieldControlErrorComponent,
9719
9958
  FieldErrorMessageComponent,
@@ -9776,7 +10015,13 @@ class InfraModule {
9776
10015
  SearchInputComponent,
9777
10016
  LoadingScreenComponent,
9778
10017
  AuditoriaButtonComponent,
9779
- LibDateRangePickerComponent] }); }
10018
+ LibDateRangePickerComponent,
10019
+ EmpresaAbasComponent,
10020
+ PessoaAbasComponent,
10021
+ EstabelecimentoAbasComponent,
10022
+ ItemsAbasComponent,
10023
+ UsuarioAbasComponent,
10024
+ GrupoContabilAbasComponent] }); }
9780
10025
  static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: InfraModule, imports: [CommonModule,
9781
10026
  ModalModule.forRoot(),
9782
10027
  AccordionModule.forRoot(),
@@ -9896,6 +10141,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
9896
10141
  LoadingScreenComponent,
9897
10142
  AuditoriaButtonComponent,
9898
10143
  LibDateRangePickerComponent,
10144
+ EmpresaAbasComponent,
10145
+ PessoaAbasComponent,
10146
+ EstabelecimentoAbasComponent,
10147
+ ItemsAbasComponent,
10148
+ UsuarioAbasComponent,
10149
+ GrupoContabilAbasComponent
9899
10150
  ],
9900
10151
  exports: [
9901
10152
  PageNotAuthorizedComponent,
@@ -9962,6 +10213,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
9962
10213
  LoadingScreenComponent,
9963
10214
  AuditoriaButtonComponent,
9964
10215
  LibDateRangePickerComponent,
10216
+ EmpresaAbasComponent,
10217
+ PessoaAbasComponent,
10218
+ EstabelecimentoAbasComponent,
10219
+ ItemsAbasComponent,
10220
+ UsuarioAbasComponent,
10221
+ GrupoContabilAbasComponent
9965
10222
  ],
9966
10223
  providers: [],
9967
10224
  }]
@@ -10425,15 +10682,15 @@ class SubMenuCardComponent {
10425
10682
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: SubMenuCardComponent, isStandalone: true, selector: "sub-menu-card", inputs: { subMenuCards: "subMenuCards" }, ngImport: i0, template: `
10426
10683
  <div class="max-card-menu row">
10427
10684
  @for(card of subMenuCards; track $index) {
10428
- <a href="{{ card.urlPath }}" class="card-link col-4">
10685
+ <a href="{{ card.urlPath }}" class="card-link col-4" target="_blank">
10429
10686
  <div class="card">
10430
10687
  <div class="card-icon">
10431
10688
  <div class="card-icon2">
10432
- <lib-icon
10433
- class="bold"
10434
- iconName="{{ card.icon ? card.icon : 'engrenagem'}}"
10435
- iconColor="blue"
10436
- [iconFill]="true"
10689
+ <lib-icon
10690
+ class="bold"
10691
+ iconName="{{ card.icon ? card.icon : 'engrenagem'}}"
10692
+ iconColor="blue"
10693
+ [iconFill]="true"
10437
10694
  [iconSize]="35"
10438
10695
  ></lib-icon>
10439
10696
  </div>
@@ -10453,15 +10710,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
10453
10710
  args: [{ selector: 'sub-menu-card', imports: [LibIconsComponent], template: `
10454
10711
  <div class="max-card-menu row">
10455
10712
  @for(card of subMenuCards; track $index) {
10456
- <a href="{{ card.urlPath }}" class="card-link col-4">
10713
+ <a href="{{ card.urlPath }}" class="card-link col-4" target="_blank">
10457
10714
  <div class="card">
10458
10715
  <div class="card-icon">
10459
10716
  <div class="card-icon2">
10460
- <lib-icon
10461
- class="bold"
10462
- iconName="{{ card.icon ? card.icon : 'engrenagem'}}"
10463
- iconColor="blue"
10464
- [iconFill]="true"
10717
+ <lib-icon
10718
+ class="bold"
10719
+ iconName="{{ card.icon ? card.icon : 'engrenagem'}}"
10720
+ iconColor="blue"
10721
+ [iconFill]="true"
10465
10722
  [iconSize]="35"
10466
10723
  ></lib-icon>
10467
10724
  </div>
@@ -10513,11 +10770,11 @@ class NavTabsComponent {
10513
10770
  this.listaAtiva = this.subMenus[index].titulo;
10514
10771
  }
10515
10772
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: NavTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10516
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: NavTabsComponent, isStandalone: true, selector: "app-nav-tabs", inputs: { subMenus: "subMenus" }, ngImport: i0, template: "<ul class=\"menu mt-4\">\n @for(menu of subMenus; track $index) {\n <li class=\"menu-item\" (click)=\"abaActive(menu.titulo)\" [class.active]=\"menu.titulo === listaAtiva\">\n <a class=\"glb-cursor-pointer\" (click)=\"abaActive(menu.titulo)\" [tabindex]=\"$index\">\n {{ menu.titulo }}\n </a>\n </li>\n }\n</ul>\n@if(telasItem){\n <app-list [telasItem]=\"telasItem\"></app-list>\n}", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#6c757d;text-decoration:none;transition:color .3s ease,border-bottom-color .3s ease;border-bottom:2px solid #fff;width:calc(100% + 15px)}.menu-item a:hover{color:#213b70;border-bottom:2px solid #213B70}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#213b70}.menu-item.active a{color:#213b70}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;opacity:1;transition:all .2s ease-in-out}\n"], dependencies: [{ kind: "component", type: ListComponent, selector: "app-list", inputs: ["telasItem"] }] }); }
10773
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: NavTabsComponent, isStandalone: true, selector: "app-nav-tabs", inputs: { subMenus: "subMenus" }, ngImport: i0, template: "<ul class=\"menu my-3\">\n @for(menu of subMenus; track $index) {\n <li class=\"menu-item\" (click)=\"abaActive(menu.titulo)\" [class.active]=\"menu.titulo === listaAtiva\">\n <a class=\"glb-cursor-pointer\" (click)=\"abaActive(menu.titulo)\" [tabindex]=\"$index\">\n {{ menu.titulo }}\n </a>\n </li>\n }\n</ul>\n@if(telasItem){\n <app-list [telasItem]=\"telasItem\"></app-list>\n}\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#6c757d;text-decoration:none;transition:color .3s ease,border-bottom-color .3s ease;border-bottom:2px solid #fff;width:calc(100% + 15px)}.menu-item a:hover{color:#213b70;border-bottom:2px solid #213B70}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#213b70}.menu-item.active a{color:#213b70}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;opacity:1;transition:all .2s ease-in-out}\n"], dependencies: [{ kind: "component", type: ListComponent, selector: "app-list", inputs: ["telasItem"] }] }); }
10517
10774
  }
10518
10775
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: NavTabsComponent, decorators: [{
10519
10776
  type: Component,
10520
- args: [{ selector: 'app-nav-tabs', imports: [ListComponent], template: "<ul class=\"menu mt-4\">\n @for(menu of subMenus; track $index) {\n <li class=\"menu-item\" (click)=\"abaActive(menu.titulo)\" [class.active]=\"menu.titulo === listaAtiva\">\n <a class=\"glb-cursor-pointer\" (click)=\"abaActive(menu.titulo)\" [tabindex]=\"$index\">\n {{ menu.titulo }}\n </a>\n </li>\n }\n</ul>\n@if(telasItem){\n <app-list [telasItem]=\"telasItem\"></app-list>\n}", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#6c757d;text-decoration:none;transition:color .3s ease,border-bottom-color .3s ease;border-bottom:2px solid #fff;width:calc(100% + 15px)}.menu-item a:hover{color:#213b70;border-bottom:2px solid #213B70}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#213b70}.menu-item.active a{color:#213b70}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;opacity:1;transition:all .2s ease-in-out}\n"] }]
10777
+ args: [{ selector: 'app-nav-tabs', imports: [ListComponent], template: "<ul class=\"menu my-3\">\n @for(menu of subMenus; track $index) {\n <li class=\"menu-item\" (click)=\"abaActive(menu.titulo)\" [class.active]=\"menu.titulo === listaAtiva\">\n <a class=\"glb-cursor-pointer\" (click)=\"abaActive(menu.titulo)\" [tabindex]=\"$index\">\n {{ menu.titulo }}\n </a>\n </li>\n }\n</ul>\n@if(telasItem){\n <app-list [telasItem]=\"telasItem\"></app-list>\n}\n", styles: ["@charset \"UTF-8\";.menu{list-style:none;padding:0;margin:0;display:flex;gap:20px}.menu-item a{text-align:center;position:relative;display:inline-block;padding-bottom:5px;color:#6c757d;text-decoration:none;transition:color .3s ease,border-bottom-color .3s ease;border-bottom:2px solid #fff;width:calc(100% + 15px)}.menu-item a:hover{color:#213b70;border-bottom:2px solid #213B70}.menu-item.active a:after{content:\"\";position:absolute;bottom:-2px;left:50%;transform:translate(-50%);width:calc(100% + 5px);height:2px;background-color:#213b70}.menu-item.active a{color:#213b70}.menu-item.active a:before{content:\"\";position:absolute;bottom:0;left:50%;transform:translate(-50%);width:0;height:0;opacity:1;transition:all .2s ease-in-out}\n"] }]
10521
10778
  }], propDecorators: { subMenus: [{
10522
10779
  type: Input
10523
10780
  }] } });
@@ -10564,7 +10821,7 @@ class SubMenuComponent {
10564
10821
  }
10565
10822
  }
10566
10823
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SubMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10567
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: SubMenuComponent, isStandalone: true, selector: "app-nav-sub-menu", inputs: { navSubmenus: "navSubmenus", isProduction: "isProduction", hostname: "hostname" }, ngImport: i0, template: "<lib-container>\n <div class=\"px-5 mt-4\" innerContent1>\n @for(subMenu of navSubmenus; track $index) {\n <lib-icon class=\"bold engrenagem-ajustada\" iconName=\"{{ subMenu.icon ? subMenu.icon : ''}}\"></lib-icon>\n <span class=\"fw-bold fs-4 ms-1\">{{ subMenu.titulo }}</span>\n\n <app-nav-tabs [subMenus]=\"navSubmenus[$index].subMenuItem\"></app-nav-tabs>\n <hr>\n }\n </div>\n</lib-container>\n", styles: [".engrenagem-ajustada{position:relative;top:-4px}\n"], dependencies: [{ kind: "component", type: NavTabsComponent, selector: "app-nav-tabs", inputs: ["subMenus"] }, { kind: "component", type: LibIconsComponent, selector: "lib-icon", inputs: ["iconName", "iconColor", "iconSize", "iconFill"] }, { kind: "component", type: ContentContainerComponent, selector: "lib-container", inputs: ["documentation", "tabs", "advancedTabs", "containerTitle", "currentTab"], outputs: ["onChangeTab"] }] }); }
10824
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.14", type: SubMenuComponent, isStandalone: true, selector: "app-nav-sub-menu", inputs: { navSubmenus: "navSubmenus", isProduction: "isProduction", hostname: "hostname" }, ngImport: i0, template: "<lib-container>\n <div class=\"px-5\" innerContent1>\n @for(subMenu of navSubmenus; track $index) {\n <div\n [class]=\"\n $first && subMenu.titulo == '' && subMenu.icon == ''\n ? ' mb-2'\n : 'mt-4 mb-2'\n \"\n >\n @if(subMenu.icon != ''){\n <lib-icon\n class=\"bold engrenagem-ajustada\"\n iconName=\"{{ subMenu.icon }}\"\n ></lib-icon>\n } @if(subMenu.titulo != ''){\n <span class=\"fw-bold fs-4 ms-1\">{{ subMenu.titulo }}</span>\n\n }\n <app-nav-tabs [subMenus]=\"navSubmenus[$index].subMenuItem\"></app-nav-tabs>\n </div>\n @if(!$last){\n <hr />\n } }\n </div>\n</lib-container>\n", styles: [".engrenagem-ajustada{position:relative;top:-4px}\n"], dependencies: [{ kind: "component", type: NavTabsComponent, selector: "app-nav-tabs", inputs: ["subMenus"] }, { kind: "component", type: LibIconsComponent, selector: "lib-icon", inputs: ["iconName", "iconColor", "iconSize", "iconFill"] }, { kind: "component", type: ContentContainerComponent, selector: "lib-container", inputs: ["documentation", "tabs", "advancedTabs", "containerTitle", "currentTab"], outputs: ["onChangeTab"] }] }); }
10568
10825
  }
10569
10826
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: SubMenuComponent, decorators: [{
10570
10827
  type: Component,
@@ -10572,7 +10829,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
10572
10829
  NavTabsComponent,
10573
10830
  LibIconsComponent,
10574
10831
  ContentContainerComponent
10575
- ], standalone: true, template: "<lib-container>\n <div class=\"px-5 mt-4\" innerContent1>\n @for(subMenu of navSubmenus; track $index) {\n <lib-icon class=\"bold engrenagem-ajustada\" iconName=\"{{ subMenu.icon ? subMenu.icon : ''}}\"></lib-icon>\n <span class=\"fw-bold fs-4 ms-1\">{{ subMenu.titulo }}</span>\n\n <app-nav-tabs [subMenus]=\"navSubmenus[$index].subMenuItem\"></app-nav-tabs>\n <hr>\n }\n </div>\n</lib-container>\n", styles: [".engrenagem-ajustada{position:relative;top:-4px}\n"] }]
10832
+ ], standalone: true, template: "<lib-container>\n <div class=\"px-5\" innerContent1>\n @for(subMenu of navSubmenus; track $index) {\n <div\n [class]=\"\n $first && subMenu.titulo == '' && subMenu.icon == ''\n ? ' mb-2'\n : 'mt-4 mb-2'\n \"\n >\n @if(subMenu.icon != ''){\n <lib-icon\n class=\"bold engrenagem-ajustada\"\n iconName=\"{{ subMenu.icon }}\"\n ></lib-icon>\n } @if(subMenu.titulo != ''){\n <span class=\"fw-bold fs-4 ms-1\">{{ subMenu.titulo }}</span>\n\n }\n <app-nav-tabs [subMenus]=\"navSubmenus[$index].subMenuItem\"></app-nav-tabs>\n </div>\n @if(!$last){\n <hr />\n } }\n </div>\n</lib-container>\n", styles: [".engrenagem-ajustada{position:relative;top:-4px}\n"] }]
10576
10833
  }], propDecorators: { navSubmenus: [{
10577
10834
  type: Input
10578
10835
  }], isProduction: [{
@@ -13829,5 +14086,5 @@ class TreeItem {
13829
14086
  * Generated bundle index. Do not edit.
13830
14087
  */
13831
14088
 
13832
- 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, EnderecoByCep, FieldContadorMessageComponent, FieldControlErrorComponent, FieldErrorMessageComponent, FileModel, FileService, FilterByPipe, FilterMultipleChoicePipe, FiltrosAplicadosModel, FiltrosAplicadosService, FooterComponent, FormUtils, FormatByTypePipe, GenericModalComponent, GlobalLoadingService, HighlightDirective, HomeLogApiComponent, HomeLogDataAccessComponent, HomeLogEmailComponent, HomeLogTimerComponent, HomeLogsReportComponent, HomeLogsWSComponent, IconsList, ImageCropperComponent, InfraBreadcrumbComponent, InfraBreadcrumbItemComponent, InfraEstabelecimentoFavoritoDefault, InfraModule, InnerListComponent, InputTrimComponent, IpServiceService, JobRequest, LibComboboxComponent, LibConfigSenhaComponent, LibCustomizableTableComponent, LibDateRangePickerComponent, LibDirectivesModule, LibHeaderComponent, LibIconsComponent, 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, 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, Utils, alertIds, alertTypes };
14089
+ 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, InputTrimComponent, IpServiceService, ItemsAbasComponent, JobRequest, LibComboboxComponent, LibConfigSenhaComponent, LibCustomizableTableComponent, LibDateRangePickerComponent, LibDirectivesModule, LibHeaderComponent, LibIconsComponent, 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 };
13833
14090
  //# sourceMappingURL=ngx-sp-infra.mjs.map