ngx-sp-infra 6.1.0 → 6.3.0
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.
|
@@ -5959,7 +5959,7 @@ class DynamicInputComponent {
|
|
|
5959
5959
|
this.updateCoCarac.emit(this.txConteudoCarac);
|
|
5960
5960
|
}
|
|
5961
5961
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DynamicInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5962
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: DynamicInputComponent, isStandalone: true, selector: "app-dynamic-input, lib-dynamic-input", inputs: { disableInput: "disableInput", typeInput: "typeInput", showCharacterCounter: "showCharacterCounter", qtInteiros: "qtInteiros", qtDecimais: "qtDecimais", txConteudoCarac: "txConteudoCarac" }, outputs: { updateCoCarac: "updateCoCarac" }, queries: [{ propertyName: "leftAddon", first: true, predicate: ["leftAddon"], descendants: true, read: TemplateRef }, { propertyName: "rightAddon", first: true, predicate: ["rightAddon"], descendants: true, read: TemplateRef }], ngImport: i0, template: "<ng-container [ngSwitch]=\"typeInput\">\n\n <!--
|
|
5962
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: DynamicInputComponent, isStandalone: true, selector: "app-dynamic-input, lib-dynamic-input", inputs: { disableInput: "disableInput", typeInput: "typeInput", showCharacterCounter: "showCharacterCounter", qtInteiros: "qtInteiros", qtDecimais: "qtDecimais", txConteudoCarac: "txConteudoCarac" }, outputs: { updateCoCarac: "updateCoCarac" }, queries: [{ propertyName: "leftAddon", first: true, predicate: ["leftAddon"], descendants: true, read: TemplateRef }, { propertyName: "rightAddon", first: true, predicate: ["rightAddon"], descendants: true, read: TemplateRef }], ngImport: i0, template: "<ng-container [ngSwitch]=\"typeInput\">\n\n <!-- Todos os inputs agora fazem parte de input-groups para facilitar a integra\u00E7\u00E3o com \u00EDcones/bot\u00F5es na lateral -->\n <ng-container *ngSwitchCase=\"'date'\">\n <div class=\"input-group\">\n @if (leftAddon) { <ng-container *ngTemplateOutlet=\"leftAddon\"></ng-container> }\n\n <input type=\"date\" class=\"form-control\" id=\"dynamicInput_date\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n\n @if (rightAddon) { <ng-container *ngTemplateOutlet=\"rightAddon\"></ng-container> }\n </div>\n </ng-container>\n \n <ng-container *ngSwitchCase=\"'integer'\">\n <div class=\"input-group\">\n @if (leftAddon) { <ng-container *ngTemplateOutlet=\"leftAddon\"></ng-container> }\n\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_integer\" [mask]=\"intMask\" placeholder=\"N\u00FAmeros Inteiros\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n\n @if (rightAddon) { <ng-container *ngTemplateOutlet=\"rightAddon\"></ng-container> }\n </div>\n </ng-container>\n \n <ng-container *ngSwitchCase=\"'decimal'\">\n <div class=\"input-group\">\n @if (leftAddon) { <ng-container *ngTemplateOutlet=\"leftAddon\"></ng-container> }\n\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_decimal\" currencyMask [options]=\"{ precision: qtDecimais }\" placeholder=\"Conte\u00FAdo Decimal\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (keyup)=\"sendEventUpdateCoCarac()\">\n\n @if (rightAddon) { <ng-container *ngTemplateOutlet=\"rightAddon\"></ng-container> }\n </div>\n </ng-container>\n \n <ng-container *ngSwitchCase=\"'phone'\">\n <div class=\"input-group\">\n @if (leftAddon) { <ng-container *ngTemplateOutlet=\"leftAddon\"></ng-container> }\n\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_phone\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"\n [disabled]=\"disableInput ?? false\" [showMaskTyped]=\"false\" mask=\"(00) 0000-0000||(00) 00000-0000\" [dropSpecialCharacters]=\"false\">\n\n @if (rightAddon) { <ng-container *ngTemplateOutlet=\"rightAddon\"></ng-container> }\n </div>\n </ng-container>\n \n <ng-container *ngSwitchCase=\"'text'\">\n <div class=\"input-group\">\n @if (leftAddon) { <ng-container *ngTemplateOutlet=\"leftAddon\"></ng-container> }\n\n <textarea type=\"text\" maxlength=\"100\" class=\"form-control\" id=\"dynamicInput_text\" placeholder=\"Texto Livre\" rows=\"1\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"></textarea>\n\n @if (rightAddon) { <ng-container *ngTemplateOutlet=\"rightAddon\"></ng-container> }\n </div>\n \n @if (showCharacterCounter) {\n <div class=\"d-flex justify-content-end position-relative\">\n <span class=\"text-muted mt-1 glb-fs-14\">Caracteres restantes: {{ 100 - txConteudoCarac.length }}</span>\n </div>\n }\n </ng-container>\n \n <ng-container *ngSwitchCase=\"'longtext'\">\n <div class=\"input-group\">\n @if (leftAddon) { <ng-container *ngTemplateOutlet=\"leftAddon\"></ng-container> }\n\n <textarea type=\"text\" maxlength=\"1000\" class=\"form-control\" id=\"dynamicInput_longtext\" placeholder=\"Texto Livre\" rows=\"1\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"></textarea>\n\n @if (rightAddon) { <ng-container *ngTemplateOutlet=\"rightAddon\"></ng-container> }\n </div>\n \n @if (showCharacterCounter) {\n <div class=\"d-flex justify-content-end position-relative\">\n <span class=\"text-muted mt-1 glb-fs-14\">Caracteres restantes: {{ 1000 - txConteudoCarac.length }}</span>\n </div>\n }\n </ng-container>\n \n <ng-container *ngSwitchCase=\"'time'\">\n <div class=\"input-group\">\n @if (leftAddon) { <ng-container *ngTemplateOutlet=\"leftAddon\"></ng-container> }\n\n <input type=\"time\" class=\"form-control\" id=\"dynamicInput_time\" placeholder=\"Hor\u00E1rio\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n\n @if (rightAddon) { <ng-container *ngTemplateOutlet=\"rightAddon\"></ng-container> }\n </div>\n </ng-container>\n \n <ng-container *ngSwitchCase=\"'datetime'\">\n <div class=\"input-group\">\n @if (leftAddon) { <ng-container *ngTemplateOutlet=\"leftAddon\"></ng-container> }\n\n <input type=\"datetime-local\" class=\"form-control\" id=\"dynamicInput_datetime\" placeholder=\"Data e hora\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n\n @if (rightAddon) { <ng-container *ngTemplateOutlet=\"rightAddon\"></ng-container> }\n </div>\n </ng-container>\n\n</ng-container>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1$5.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1$5.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions", "instantPrefix"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }, { kind: "directive", type: NgxCurrencyDirective, selector: "input[currencyMask]", inputs: ["currencyMask", "options"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
5963
5963
|
}
|
|
5964
5964
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DynamicInputComponent, decorators: [{
|
|
5965
5965
|
type: Component,
|
|
@@ -5968,7 +5968,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
5968
5968
|
FormsModule,
|
|
5969
5969
|
NgxMaskDirective,
|
|
5970
5970
|
NgxCurrencyDirective
|
|
5971
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [ngSwitch]=\"typeInput\">\n\n <!--
|
|
5971
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [ngSwitch]=\"typeInput\">\n\n <!-- Todos os inputs agora fazem parte de input-groups para facilitar a integra\u00E7\u00E3o com \u00EDcones/bot\u00F5es na lateral -->\n <ng-container *ngSwitchCase=\"'date'\">\n <div class=\"input-group\">\n @if (leftAddon) { <ng-container *ngTemplateOutlet=\"leftAddon\"></ng-container> }\n\n <input type=\"date\" class=\"form-control\" id=\"dynamicInput_date\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n\n @if (rightAddon) { <ng-container *ngTemplateOutlet=\"rightAddon\"></ng-container> }\n </div>\n </ng-container>\n \n <ng-container *ngSwitchCase=\"'integer'\">\n <div class=\"input-group\">\n @if (leftAddon) { <ng-container *ngTemplateOutlet=\"leftAddon\"></ng-container> }\n\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_integer\" [mask]=\"intMask\" placeholder=\"N\u00FAmeros Inteiros\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n\n @if (rightAddon) { <ng-container *ngTemplateOutlet=\"rightAddon\"></ng-container> }\n </div>\n </ng-container>\n \n <ng-container *ngSwitchCase=\"'decimal'\">\n <div class=\"input-group\">\n @if (leftAddon) { <ng-container *ngTemplateOutlet=\"leftAddon\"></ng-container> }\n\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_decimal\" currencyMask [options]=\"{ precision: qtDecimais }\" placeholder=\"Conte\u00FAdo Decimal\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (keyup)=\"sendEventUpdateCoCarac()\">\n\n @if (rightAddon) { <ng-container *ngTemplateOutlet=\"rightAddon\"></ng-container> }\n </div>\n </ng-container>\n \n <ng-container *ngSwitchCase=\"'phone'\">\n <div class=\"input-group\">\n @if (leftAddon) { <ng-container *ngTemplateOutlet=\"leftAddon\"></ng-container> }\n\n <input type=\"text\" class=\"form-control\" id=\"dynamicInput_phone\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"\n [disabled]=\"disableInput ?? false\" [showMaskTyped]=\"false\" mask=\"(00) 0000-0000||(00) 00000-0000\" [dropSpecialCharacters]=\"false\">\n\n @if (rightAddon) { <ng-container *ngTemplateOutlet=\"rightAddon\"></ng-container> }\n </div>\n </ng-container>\n \n <ng-container *ngSwitchCase=\"'text'\">\n <div class=\"input-group\">\n @if (leftAddon) { <ng-container *ngTemplateOutlet=\"leftAddon\"></ng-container> }\n\n <textarea type=\"text\" maxlength=\"100\" class=\"form-control\" id=\"dynamicInput_text\" placeholder=\"Texto Livre\" rows=\"1\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"></textarea>\n\n @if (rightAddon) { <ng-container *ngTemplateOutlet=\"rightAddon\"></ng-container> }\n </div>\n \n @if (showCharacterCounter) {\n <div class=\"d-flex justify-content-end position-relative\">\n <span class=\"text-muted mt-1 glb-fs-14\">Caracteres restantes: {{ 100 - txConteudoCarac.length }}</span>\n </div>\n }\n </ng-container>\n \n <ng-container *ngSwitchCase=\"'longtext'\">\n <div class=\"input-group\">\n @if (leftAddon) { <ng-container *ngTemplateOutlet=\"leftAddon\"></ng-container> }\n\n <textarea type=\"text\" maxlength=\"1000\" class=\"form-control\" id=\"dynamicInput_longtext\" placeholder=\"Texto Livre\" rows=\"1\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\"></textarea>\n\n @if (rightAddon) { <ng-container *ngTemplateOutlet=\"rightAddon\"></ng-container> }\n </div>\n \n @if (showCharacterCounter) {\n <div class=\"d-flex justify-content-end position-relative\">\n <span class=\"text-muted mt-1 glb-fs-14\">Caracteres restantes: {{ 1000 - txConteudoCarac.length }}</span>\n </div>\n }\n </ng-container>\n \n <ng-container *ngSwitchCase=\"'time'\">\n <div class=\"input-group\">\n @if (leftAddon) { <ng-container *ngTemplateOutlet=\"leftAddon\"></ng-container> }\n\n <input type=\"time\" class=\"form-control\" id=\"dynamicInput_time\" placeholder=\"Hor\u00E1rio\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n\n @if (rightAddon) { <ng-container *ngTemplateOutlet=\"rightAddon\"></ng-container> }\n </div>\n </ng-container>\n \n <ng-container *ngSwitchCase=\"'datetime'\">\n <div class=\"input-group\">\n @if (leftAddon) { <ng-container *ngTemplateOutlet=\"leftAddon\"></ng-container> }\n\n <input type=\"datetime-local\" class=\"form-control\" id=\"dynamicInput_datetime\" placeholder=\"Data e hora\"\n [disabled]=\"disableInput ?? false\" [(ngModel)]=\"txConteudoCarac\" (change)=\"sendEventUpdateCoCarac()\">\n\n @if (rightAddon) { <ng-container *ngTemplateOutlet=\"rightAddon\"></ng-container> }\n </div>\n </ng-container>\n\n</ng-container>" }]
|
|
5972
5972
|
}], ctorParameters: () => [], propDecorators: { disableInput: [{
|
|
5973
5973
|
type: Input
|
|
5974
5974
|
}], typeInput: [{
|
|
@@ -6001,10 +6001,10 @@ class EmpresaAbasComponent {
|
|
|
6001
6001
|
}
|
|
6002
6002
|
ngOnInit() {
|
|
6003
6003
|
if (window.location.host.includes("localhost")) {
|
|
6004
|
-
this.linksList.push({ nome: 'Empresa', uri: `http://${window.location.host}/empresas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Contábil', uri: `http://${window.location.host}/perfilDaEmpresa?InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'Estoque', uri: `http://${window.location.host}/SpEtq1Etq/EmpresaEstoque/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras', uri: `http://${window.location.host}/
|
|
6004
|
+
this.linksList.push({ nome: 'Empresa', uri: `http://${window.location.host}/empresas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Contábil', uri: `http://${window.location.host}/perfilDaEmpresa?InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'Estoque', uri: `http://${window.location.host}/SpEtq1Etq/EmpresaEstoque/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras', uri: `http://${window.location.host}/empresa-compras/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Recebimento', uri: `http://${window.location.host}/configuracao-empresa/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `http://${window.location.host}/perfil-da-empresa/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Patrimônio', uri: `http://siscandesv10.sispro.com.br/SpPat1Conf/EmpresaPatrimonio.aspx?IsCorp=True&InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'Aprovação', uri: `http://${window.location.host}/empresas/editar/aprovacao/${this.Id}`, isTargetSelf: false }, { nome: 'Financeiro', uri: `http://${window.location.host}/empresa-estab/editar/empresa/${this.Id}`, isTargetSelf: false }, { nome: 'Reinf', uri: `http://siscandesv10.sispro.com.br/SpReinf1Cad/ReinfEmpresa_List.aspx?InfraEmpresaId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'ECF/TAX', uri: `http://siscandesv10.sispro.com.br/SpGcf2Cadastros/GcfEmpresa_List.aspx?IsCorp=True&InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'SCP', uri: `http://${window.location.host}/empresas/editar/SCP/${this.Id}`, isTargetSelf: false });
|
|
6005
6005
|
}
|
|
6006
6006
|
else {
|
|
6007
|
-
this.linksList.push({ nome: 'Empresa', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/empresas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Contábil', uri: `https://${window.location.host}/SisproErpCloud/Contabilidade/perfilDaEmpresa?InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'Estoque', uri: `https://${window.location.host}/SisproErpCloud/Estoque/SpEtq1Etq/EmpresaEstoque/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras', uri: `https://${window.location.host}/SisproErpCloud/Compras/
|
|
6007
|
+
this.linksList.push({ nome: 'Empresa', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/empresas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Contábil', uri: `https://${window.location.host}/SisproErpCloud/Contabilidade/perfilDaEmpresa?InfraEmpresaId=${this.Id}`, isTargetSelf: false }, { nome: 'Estoque', uri: `https://${window.location.host}/SisproErpCloud/Estoque/SpEtq1Etq/EmpresaEstoque/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras', uri: `https://${window.location.host}/SisproErpCloud/Compras/empresa-compras/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Recebimento', uri: `https://${window.location.host}/SisproErpCloud/Recebimento/configuracao-empresa/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `https://${window.location.host}/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://${window.location.host}/SisproErpCloud/Corporativo/empresas/editar/aprovacao/${this.Id}`, isTargetSelf: false }, { nome: 'Financeiro', uri: `https://${window.location.host}/SisproErpCloud/Financeiro/empresa-estab/editar/empresa/${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://${window.location.host}/SisproErpCloud/Corporativo/empresas/editar/SCP/${this.Id}`, isTargetSelf: false });
|
|
6008
6008
|
}
|
|
6009
6009
|
this.activeItem = this.router.url;
|
|
6010
6010
|
}
|
|
@@ -6030,15 +6030,16 @@ class EstabelecimentoAbasComponent {
|
|
|
6030
6030
|
this.router = router;
|
|
6031
6031
|
this.linksList = [];
|
|
6032
6032
|
this.Id = "";
|
|
6033
|
+
this.empresaId = "";
|
|
6033
6034
|
this.EstabId = new EventEmitter();
|
|
6034
6035
|
this.activeItem = '';
|
|
6035
6036
|
}
|
|
6036
6037
|
ngOnInit() {
|
|
6037
6038
|
if (window.location.host.includes("localhost")) {
|
|
6038
|
-
this.linksList.push({ nome: 'Estabelecimento', uri: `http://${window.location.host}/estabelecimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Recebimento', uri: `http://${window.location.host}/
|
|
6039
|
+
this.linksList.push({ nome: 'Estabelecimento', uri: `http://${window.location.host}/estabelecimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Recebimento', uri: `http://${window.location.host}/configuracao-estabelecimento/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Financeiro', uri: `http://${window.location.host}/empresa-estab/editar/estab/0?id=${this.Id}&empresaId=${this.empresaId}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `http://${window.location.host}/identificacao-da-entidade/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras', uri: `http://${window.location.host}/estabelecimento-compras/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Contratos', uri: `http://siscandesv10.sispro.com.br/SpCtr1Param/CtrGnCfgApl_Edit.aspx?EstabelecimentoId=${this.Id}&IsCorp=True`, isTargetSelf: false }, { nome: 'Vendas', uri: `http://siscandesv10.sispro.com.br/SpNeg3Cfg/CfgEstabelecimento.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false }, { nome: 'CNO', uri: `http://${window.location.host}/estabelecimentos/EstabCnoDet/${this.Id}`, isTargetSelf: false }, { nome: 'Tributos', uri: `http://siscandesv10.sispro.com.br/SpFis1Interface/ConfigOrdemCalcImpostos.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false });
|
|
6039
6040
|
}
|
|
6040
6041
|
else {
|
|
6041
|
-
this.linksList.push({ nome: 'Estabelecimento', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/estabelecimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Recebimento', uri: `https://${window.location.host}/SisproErpCloud/Recebimento/
|
|
6042
|
+
this.linksList.push({ nome: 'Estabelecimento', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/estabelecimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Recebimento', uri: `https://${window.location.host}/SisproErpCloud/Recebimento/configuracao-estabelecimento/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Financeiro', uri: `https://${window.location.host}/SisproErpCloud/Financeiro/empresa-estab/editar/estab/0?id=${this.Id}&empresaId=${this.empresaId}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `https://${window.location.host}/SisproErpCloud/Efd-Reinf/identificacao-da-entidade/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras', uri: `https://${window.location.host}/SisproErpCloud/Compras/estabelecimento-compras/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://${window.location.host}/SisproErpCloud/Corporativo/estabelecimentos/EstabCnoDet/${this.Id}`, isTargetSelf: false }, { nome: 'Tributos', uri: `https://siscandesv10.sispro.com.br/SpFis1Interface/ConfigOrdemCalcImpostos.aspx?IsCorp=True&EstabelecimentoId=${this.Id}`, isTargetSelf: false });
|
|
6042
6043
|
}
|
|
6043
6044
|
this.activeItem = this.router.url;
|
|
6044
6045
|
}
|
|
@@ -6048,13 +6049,15 @@ class EstabelecimentoAbasComponent {
|
|
|
6048
6049
|
}
|
|
6049
6050
|
}
|
|
6050
6051
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EstabelecimentoAbasComponent, deps: [{ token: i1$3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6051
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: EstabelecimentoAbasComponent, isStandalone: true, selector: "lib-estabelecimento-abas", inputs: { Id: "Id" }, outputs: { EstabId: "EstabId" }, usesOnChanges: true, 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
|
|
6052
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: EstabelecimentoAbasComponent, isStandalone: true, selector: "lib-estabelecimento-abas", inputs: { Id: "Id", empresaId: "empresaId" }, outputs: { EstabId: "EstabId" }, usesOnChanges: true, 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"] }); }
|
|
6052
6053
|
}
|
|
6053
6054
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EstabelecimentoAbasComponent, decorators: [{
|
|
6054
6055
|
type: Component,
|
|
6055
|
-
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
|
|
6056
|
+
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 </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"] }]
|
|
6056
6057
|
}], ctorParameters: () => [{ type: i1$3.Router }], propDecorators: { Id: [{
|
|
6057
6058
|
type: Input
|
|
6059
|
+
}], empresaId: [{
|
|
6060
|
+
type: Input
|
|
6058
6061
|
}], EstabId: [{
|
|
6059
6062
|
type: Output
|
|
6060
6063
|
}] } });
|
|
@@ -6321,10 +6324,10 @@ class GrupoContabilAbasComponent {
|
|
|
6321
6324
|
}
|
|
6322
6325
|
ngOnInit() {
|
|
6323
6326
|
if (window.location.host.includes("localhost")) {
|
|
6324
|
-
this.linksList.push({ nome: 'Grupo contabil', uri: `http://${window.location.host}/grupo-contabil/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados compras', uri: `http://${window.location.host}/grupo-contabil/editar/${this.Id}`, isTargetSelf: false });
|
|
6327
|
+
this.linksList.push({ nome: 'Grupo contabil', uri: `http://${window.location.host}/grupo-contabil-corp/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados compras', uri: `http://${window.location.host}/grupo-contabil/editar/${this.Id}`, isTargetSelf: false });
|
|
6325
6328
|
}
|
|
6326
6329
|
else {
|
|
6327
|
-
this.linksList.push({ nome: 'Grupo contabil', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/grupo-contabil/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados compras', uri: `https://${window.location.host}/SisproErpCloud/Compras/grupo-contabil/editar/${this.Id}`, isTargetSelf: false });
|
|
6330
|
+
this.linksList.push({ nome: 'Grupo contabil', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/grupo-contabil-corp/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados compras', uri: `https://${window.location.host}/SisproErpCloud/Compras/grupo-contabil/editar/${this.Id}`, isTargetSelf: false });
|
|
6328
6331
|
}
|
|
6329
6332
|
this.activeItem = this.router.url;
|
|
6330
6333
|
}
|
|
@@ -6382,10 +6385,10 @@ class ItemsAbasComponent {
|
|
|
6382
6385
|
}
|
|
6383
6386
|
ngOnInit() {
|
|
6384
6387
|
if (window.location.host.includes("localhost")) {
|
|
6385
|
-
this.linksList.push({ nome: 'Estoque', uri: `http://${window.location.host}/SpEtq1Etq/ItemParaSuprimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados Compras', uri: `http://${window.location.host}/
|
|
6388
|
+
this.linksList.push({ nome: 'Corporativo', uri: `http://${window.location.host}/itens/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Estoque', uri: `http://${window.location.host}/SpEtq1Etq/ItemParaSuprimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados Compras', uri: `http://${window.location.host}/item-dados-compras/editar/${this.Id}`, isTargetSelf: false });
|
|
6386
6389
|
}
|
|
6387
6390
|
else {
|
|
6388
|
-
this.linksList.push({ nome: 'Estoque', uri: `https://${window.location.host}/SisproErpCloud/Estoque/SpEtq1Etq/ItemParaSuprimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados Compras', uri: `https://${window.location.host}/SisproErpCloud/Compras/
|
|
6391
|
+
this.linksList.push({ nome: 'Corporativo', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/itens/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Estoque', uri: `https://${window.location.host}/SisproErpCloud/Estoque/SpEtq1Etq/ItemParaSuprimentos/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados Compras', uri: `https://${window.location.host}/SisproErpCloud/Compras/item-dados-compras/editar/${this.Id}`, isTargetSelf: false });
|
|
6389
6392
|
}
|
|
6390
6393
|
this.activeItem = this.router.url;
|
|
6391
6394
|
}
|
|
@@ -9283,10 +9286,10 @@ class PessoaAbasComponent {
|
|
|
9283
9286
|
VerifyList() {
|
|
9284
9287
|
this.UrisList = [];
|
|
9285
9288
|
if (window.location.host.includes("localhost")) {
|
|
9286
|
-
this.UrisList.push({ nome: 'Dados básicos', uri: `http://${window.location.host}/pessoas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados comerciais', uri: `http
|
|
9289
|
+
this.UrisList.push({ nome: 'Dados básicos', uri: `http://${window.location.host}/pessoas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados comerciais', uri: `http://${window.location.host}/pessoas-comercial/${this.Id}`, isTargetSelf: false }, { nome: 'Dados financeiros', uri: `http://${window.location.host}/dados-financeiros`, isTargetSelf: false }, { nome: 'Compras - Dados da pessoa para suprimentos', uri: `http://${window.location.host}/pessoas-dados-suprimentos/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras - Dados do fornecedor', uri: `http://${window.location.host}/pessoas-dados-fornecedor/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Dados auxiliares', uri: `http://${window.location.host}/pessoas/dadosAuxiliares/${this.Id}`, isTargetSelf: false }, { nome: 'Tipo', uri: `http://siscandesv10.sispro.com.br/SpMnt3Manutencao/TipoPessoa.aspx?IsCorp=True&CrpPessoaId=${this.Id}`, isTargetSelf: false }, { nome: 'Fiscal', uri: `http://${window.location.host}/pessoas/pessoaFiscal/${this.Id}`, isTargetSelf: false }, { nome: 'Contabilidade', uri: `http://${window.location.host}/Participantes?CrpPessoaId=${this.Id}`, isTargetSelf: false });
|
|
9287
9290
|
}
|
|
9288
9291
|
else {
|
|
9289
|
-
this.UrisList.push({ nome: 'Dados básicos', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/pessoas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados comerciais', uri: `https
|
|
9292
|
+
this.UrisList.push({ nome: 'Dados básicos', uri: `https://${window.location.host}/SisproErpCloud/Corporativo/pessoas/editar/${this.Id}`, isTargetSelf: true }, { nome: 'Dados comerciais', uri: `https://${window.location.host}/SisproErpCloud/Vendas/pessoas-comercial/${this.Id}`, isTargetSelf: false }, { nome: 'Dados financeiros', uri: `https://${window.location.host}/SisproErpCloud/Financeiro/dados-financeiros`, isTargetSelf: false }, { nome: 'Compras - Dados da pessoa para suprimentos', uri: `https://${window.location.host}/SisproErpCloud/Compras/pessoas-dados-suprimentos/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Compras - Dados do fornecedor', uri: `https://${window.location.host}/SisproErpCloud/Compras/pessoas-dados-fornecedor/editar/${this.Id}`, isTargetSelf: false }, { nome: 'Dados auxiliares', uri: `https://${window.location.host}/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://${window.location.host}/SisproErpCloud/Corporativo/pessoas/pessoaFiscal/${this.Id}`, isTargetSelf: false }, { nome: 'Contabilidade', uri: `https://${window.location.host}/SisproErpCloud/Contabilidade/Participantes?CrpPessoaId=${this.Id}`, isTargetSelf: false });
|
|
9290
9293
|
}
|
|
9291
9294
|
if (this.hasPapel && this.tipoPessoa === 2 && this.isFornecedor) {
|
|
9292
9295
|
}
|