@senior-gestao-empresarial/angular-components 7.29.1 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/breadcrumb/index.d.ts +5 -0
- package/breadcrumb/lib/breadcrumb.component.d.ts +23 -0
- package/breadcrumb/lib/breadcrumb.module.d.ts +10 -0
- package/breadcrumb/package.json +3 -0
- package/breadcrumb/public-api.d.ts +2 -0
- package/esm2022/breadcrumb/lib/breadcrumb.component.mjs +99 -0
- package/esm2022/breadcrumb/lib/breadcrumb.module.mjs +20 -0
- package/esm2022/breadcrumb/public-api.mjs +3 -0
- package/esm2022/breadcrumb/senior-gestao-empresarial-angular-components-breadcrumb.mjs +5 -0
- package/esm2022/global-filter/lib/global-filter-modal/global-filter-modal.component.mjs +119 -0
- package/esm2022/global-filter/lib/global-filter.component.mjs +103 -0
- package/esm2022/global-filter/lib/global-filter.module.mjs +43 -0
- package/esm2022/global-filter/lib/global-filter.service.mjs +58 -0
- package/esm2022/global-filter/public-api.mjs +4 -0
- package/esm2022/global-filter/senior-gestao-empresarial-angular-components-global-filter.mjs +5 -0
- package/esm2022/locale/lib/fallback.mjs +79 -0
- package/esm2022/locale/public-api.mjs +2 -0
- package/esm2022/locale/senior-gestao-empresarial-angular-components-locale.mjs +5 -0
- package/esm2022/lookups/lib/core/enums/enum-ana-sin.mjs +6 -0
- package/esm2022/lookups/lib/core/enums/enum-apl-cpg.mjs +7 -0
- package/esm2022/lookups/lib/core/enums/enum-apl-snf.mjs +9 -0
- package/esm2022/lookups/lib/core/enums/enum-difal-contribuinte.mjs +11 -0
- package/esm2022/lookups/lib/core/enums/enum-difal-nao-contribuinte.mjs +6 -0
- package/esm2022/lookups/lib/core/enums/enum-imposto-cadastro.mjs +16 -0
- package/esm2022/lookups/lib/core/enums/enum-nat-ctb.mjs +7 -0
- package/esm2022/lookups/lib/core/enums/enum-origem-mercadoria-imposto.mjs +8 -0
- package/esm2022/lookups/lib/core/enums/enum-perfil-tributario-segmento.mjs +13 -0
- package/esm2022/lookups/lib/core/enums/enum-pro-vei.mjs +6 -0
- package/esm2022/lookups/lib/core/enums/enum-situacao-caracteristica-fiscal.mjs +6 -0
- package/esm2022/lookups/lib/core/enums/enum-tip-crr.mjs +10 -0
- package/esm2022/lookups/lib/core/enums/enum-tip-ctb.mjs +11 -0
- package/esm2022/lookups/lib/core/enums/enum-tip-rod.mjs +10 -0
- package/esm2022/lookups/lib/core/enums/enum-tip-vei.mjs +6 -0
- package/esm2022/lookups/lib/core/enums/enum-tipo-origem.mjs +7 -0
- package/esm2022/lookups/lib/core/enums/erpx-cpl-dfe-eventos-fiscais-backend/enum-situacao-registro.mjs +6 -0
- package/esm2022/lookups/lib/core/enums/erpx-cpl-dfe-eventos-fiscais-backend/enum-tipo-evento.mjs +18 -0
- package/esm2022/lookups/lib/core/enums/erpx-cpl-imp-cadastros-backend/enum-situacao.mjs +6 -0
- package/esm2022/lookups/lib/core/enums/erpx-fnd-produto-backend/enum-sit-reg.mjs +6 -0
- package/esm2022/lookups/lib/entities/agreement-lookup.mjs +30 -0
- package/esm2022/lookups/lib/entities/apuracao-foundation/parameters-lookup.mjs +87 -0
- package/esm2022/lookups/lib/entities/apuracao-foundation/type-taxes-lookup.mjs +55 -0
- package/esm2022/lookups/lib/entities/beneficio-fiscal-lookup.mjs +71 -0
- package/esm2022/lookups/lib/entities/caracteristica-fiscal-lookup.mjs +69 -0
- package/esm2022/lookups/lib/entities/classificacao-tributaria-lookup.mjs +80 -0
- package/esm2022/lookups/lib/entities/composicao-base-calculo-lookup.mjs +102 -0
- package/esm2022/lookups/lib/entities/conta-interna-filial-lookup.mjs +76 -0
- package/esm2022/lookups/lib/entities/documento-lookup.mjs +51 -0
- package/esm2022/lookups/lib/entities/e-001-end-lookup.mjs +107 -0
- package/esm2022/lookups/lib/entities/e-001-pes-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-001-tns-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-001-tns-sup-est-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-002-tpt-lookup.mjs +30 -0
- package/esm2022/lookups/lib/entities/e-006-pai-lookup.mjs +49 -0
- package/esm2022/lookups/lib/entities/e-007-ufs-lookup.mjs +59 -0
- package/esm2022/lookups/lib/entities/e-008-cep-lookup.mjs +74 -0
- package/esm2022/lookups/lib/entities/e-008-rai-lookup.mjs +59 -0
- package/esm2022/lookups/lib/entities/e-012-fam-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-015-med-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-020-snf-lookup.mjs +93 -0
- package/esm2022/lookups/lib/entities/e-021-mot-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-023-crp-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-024-msg-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-027-eqi-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-027-str-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-028-cpg-lookup.mjs +78 -0
- package/esm2022/lookups/lib/entities/e-030-age-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-030-ban-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-031-moe-lookup.mjs +55 -0
- package/esm2022/lookups/lib/entities/e-032-edc-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-034-tcc-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-035-ocr-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-036-ins-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-039-por-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-041-ceb-lookup.mjs +35 -0
- package/esm2022/lookups/lib/entities/e-043-mpc-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-043-pcm-lookup.mjs +79 -0
- package/esm2022/lookups/lib/entities/e-044-ccu-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-045-pla-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-046-hpd-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-047-ntg-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-048-fct-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-048-sfc-lookup.mjs +108 -0
- package/esm2022/lookups/lib/entities/e-051-dis-lookup.mjs +30 -0
- package/esm2022/lookups/lib/entities/e-066-fpg-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-067-fin-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-069-gre-lookup.mjs +29 -0
- package/esm2022/lookups/lib/entities/e-070-emp-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-070-ent-lookup.mjs +107 -0
- package/esm2022/lookups/lib/entities/e-070-fil-loc-ret-lookup.mjs +75 -0
- package/esm2022/lookups/lib/entities/e-070-fil-lookup.mjs +101 -0
- package/esm2022/lookups/lib/entities/e-073-pes-lookup.mjs +63 -0
- package/esm2022/lookups/lib/entities/e-073-vei-lookup.mjs +227 -0
- package/esm2022/lookups/lib/entities/e-075-der-lookup.mjs +50 -0
- package/esm2022/lookups/lib/entities/e-076-mar-lookup.mjs +45 -0
- package/esm2022/lookups/lib/entities/e-080-ser-lookup.mjs +50 -0
- package/esm2022/lookups/lib/entities/e-081-tab-lookup.mjs +71 -0
- package/esm2022/lookups/lib/entities/e-082-tpr-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-085-pes-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-089-doc-lookup.mjs +24 -0
- package/esm2022/lookups/lib/entities/e-090-hrp-com-ger-lookup.mjs +49 -0
- package/esm2022/lookups/lib/entities/e-090-pes-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-091-plf-lookup.mjs +55 -0
- package/esm2022/lookups/lib/entities/e-095-hfo-sup-ger-lookup.mjs +30 -0
- package/esm2022/lookups/lib/entities/e-095-pes-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-099-usu-com-ger-lookup.mjs +35 -0
- package/esm2022/lookups/lib/entities/e-099-usu-sup-cpr-lookup.mjs +43 -0
- package/esm2022/lookups/lib/entities/e-140-ins-lookup.mjs +59 -0
- package/esm2022/lookups/lib/entities/e-140-nfs-lookup.mjs +59 -0
- package/esm2022/lookups/lib/entities/e-200-lot-lookup.mjs +35 -0
- package/esm2022/lookups/lib/entities/e-200-ser-lookup.mjs +35 -0
- package/esm2022/lookups/lib/entities/e-205-dep-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-210-dxp-e-075-der-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-210-dxp-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-301-tcr-lookup.mjs +51 -0
- package/esm2022/lookups/lib/entities/e-403-fpr-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/e-420-icp-lookup.mjs +64 -0
- package/esm2022/lookups/lib/entities/e-420-ipc-lookup.mjs +59 -0
- package/esm2022/lookups/lib/entities/e-420-ocp-lookup.mjs +51 -0
- package/esm2022/lookups/lib/entities/e-501-tcp-lookup.mjs +51 -0
- package/esm2022/lookups/lib/entities/e-600-cco-lookup.mjs +95 -0
- package/esm2022/lookups/lib/entities/e-640-lot-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/equipment-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/erpx-cpl-dfe/dfe-evento-lookup.mjs +146 -0
- package/esm2022/lookups/lib/entities/erpx-cpl-itr-dere/atividade-financeira-lookup.mjs +30 -0
- package/esm2022/lookups/lib/entities/erpx-cpl-itr-dere/codigo-tributacao-lookup.mjs +34 -0
- package/esm2022/lookups/lib/entities/erpx-cpl-itr-dere/e-070-emp-dere-lookup.mjs +46 -0
- package/esm2022/lookups/lib/entities/erpx-cpl-itr-dere/processo-lookup.mjs +26 -0
- package/esm2022/lookups/lib/entities/erpx-cpl-itr-dere/unidade-federativa-lookup.mjs +34 -0
- package/esm2022/lookups/lib/entities/ind-operacao-fornecimento-lookup.mjs +67 -0
- package/esm2022/lookups/lib/entities/lei-complementar-1162003-lookup.mjs +30 -0
- package/esm2022/lookups/lib/entities/ligacao-item-fornecedor-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/lista-servico-nacional-lookup.mjs +32 -0
- package/esm2022/lookups/lib/entities/natureza-receita-pis-cofins.lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/nbs-lookup.mjs +30 -0
- package/esm2022/lookups/lib/entities/ncm-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/nota-fiscal-entrada-lookup.mjs +25 -0
- package/esm2022/lookups/lib/entities/operacoes-lookup.mjs +59 -0
- package/esm2022/lookups/lib/entities/origem-destino-lookup.mjs +136 -0
- package/esm2022/lookups/lib/entities/origem-mercadoria-lookup.mjs +71 -0
- package/esm2022/lookups/lib/entities/produtoServico-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/qtd-disponivel-demanda-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-001-end-lookup.mjs +123 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-001-pes-lookup.mjs +131 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-001-tns-lookup.mjs +195 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-007-ufs-lookup.mjs +55 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-008-rai-lookup.mjs +59 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-015-med-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-020-snf-lookup.mjs +155 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-024-msg-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-028-cpg-lookup.mjs +51 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-032-edc-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-051-dis-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-066-fpg-lookup.mjs +187 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-070-emp-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-070-fil-lookup.mjs +63 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-075-der-lookup.mjs +55 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-080-ser-lookup.mjs +55 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-natureza-receita-pis-cofins.mjs +63 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-ncm-lookup.mjs +59 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-nf-entrada-lookup.mjs +109 -0
- package/esm2022/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-nf-saida-lookup.mjs +109 -0
- package/esm2022/lookups/lib/entities/requisicao-lookup.mjs +35 -0
- package/esm2022/lookups/lib/entities/segmento-lookup.mjs +71 -0
- package/esm2022/lookups/lib/entities/unidade-medida-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/wizard-entities/bank-lookup.mjs +47 -0
- package/esm2022/lookups/lib/entities/wizard-entities/country-lookup.mjs +55 -0
- package/esm2022/lookups/lib/entities/wizard-entities/currency-lookup.mjs +55 -0
- package/esm2022/lookups/lib/entities/xt-integration/entity-person-product-lookup.mjs +47 -0
- package/esm2022/lookups/lib/enum-options.util.mjs +9 -0
- package/esm2022/lookups/lib/erp-lookups.mjs +492 -0
- package/esm2022/lookups/lib/erp-lookups.module.mjs +413 -0
- package/esm2022/lookups/lib/erp-lookups.service.mjs +87 -0
- package/esm2022/lookups/public-api.mjs +134 -0
- package/esm2022/lookups/senior-gestao-empresarial-angular-components-lookups.mjs +5 -0
- package/esm2022/nps/lib/nps.service.mjs +74 -0
- package/esm2022/nps/lib/protocols/index.mjs +4 -0
- package/esm2022/nps/lib/protocols/tenant-full-dto.mjs +2 -0
- package/esm2022/nps/lib/protocols/token-senior-x.mjs +2 -0
- package/esm2022/nps/lib/protocols/tracksale-request.mjs +2 -0
- package/esm2022/nps/public-api.mjs +3 -0
- package/esm2022/nps/senior-gestao-empresarial-angular-components-nps.mjs +5 -0
- package/esm2022/object-card/lib/elements/field/object-card-field.component.mjs +50 -0
- package/esm2022/object-card/lib/elements/main/object-card-main.component.mjs +135 -0
- package/esm2022/object-card/lib/object-card.component.mjs +168 -0
- package/esm2022/object-card/lib/object-card.module.mjs +63 -0
- package/esm2022/object-card/lib/shared/border-button/border-button.component.mjs +43 -0
- package/esm2022/object-card/lib/shared/border-button/border-button.module.mjs +19 -0
- package/esm2022/object-card/lib/shared/models/border-button-options.mjs +2 -0
- package/esm2022/object-card/lib/shared/models/enum-severity.mjs +9 -0
- package/esm2022/object-card/public-api.mjs +6 -0
- package/esm2022/object-card/senior-gestao-empresarial-angular-components-object-card.mjs +5 -0
- package/esm2022/permissions/lib/protocols/modules.enum.mjs +14 -0
- package/esm2022/permissions/lib/protocols/query-module.mjs +2 -0
- package/esm2022/permissions/lib/protocols/rec-modulo.mjs +2 -0
- package/esm2022/permissions/lib/verify-module-permission-service.mjs +21 -0
- package/esm2022/permissions/lib/verify-module-permission.mjs +46 -0
- package/esm2022/permissions/lib/verify-module-permissions-service.mjs +21 -0
- package/esm2022/permissions/lib/verify-module-permissions.mjs +46 -0
- package/esm2022/permissions/public-api.mjs +4 -0
- package/esm2022/permissions/senior-gestao-empresarial-angular-components-permissions.mjs +5 -0
- package/esm2022/polling/lib/erp-polling.mjs +27 -0
- package/esm2022/polling/public-api.mjs +2 -0
- package/esm2022/polling/senior-gestao-empresarial-angular-components-polling.mjs +5 -0
- package/esm2022/public-api.mjs +2 -0
- package/esm2022/senior-gestao-empresarial-angular-components.mjs +5 -0
- package/esm2022/storage/lib/filters-storage.service.mjs +130 -0
- package/esm2022/storage/lib/storage.service.mjs +18 -0
- package/esm2022/storage/public-api.mjs +2 -0
- package/esm2022/storage/senior-gestao-empresarial-angular-components-storage.mjs +5 -0
- package/esm2022/thumbnail/lib/thumbnail-size.mjs +7 -0
- package/esm2022/thumbnail/lib/thumbnail.component.mjs +94 -0
- package/esm2022/thumbnail/lib/thumbnail.module.mjs +20 -0
- package/esm2022/thumbnail/lib/thumbnail.service.mjs +96 -0
- package/esm2022/thumbnail/public-api.mjs +4 -0
- package/esm2022/thumbnail/senior-gestao-empresarial-angular-components-thumbnail.mjs +5 -0
- package/esm2022/utils/lib/async-lock.mjs +27 -0
- package/esm2022/utils/lib/breakpoints.mjs +11 -0
- package/esm2022/utils/lib/export-utils.mjs +83 -0
- package/esm2022/utils/lib/form-utils.mjs +213 -0
- package/esm2022/utils/lib/http-status-code.mjs +68 -0
- package/esm2022/utils/lib/lookup-validation-utils.mjs +64 -0
- package/esm2022/utils/lib/utils.module.mjs +30 -0
- package/esm2022/utils/public-api.mjs +8 -0
- package/esm2022/utils/senior-gestao-empresarial-angular-components-utils.mjs +5 -0
- package/esm2022/websocket/lib/models/index.mjs +2 -0
- package/esm2022/websocket/lib/models/primitive-manager.mjs +35 -0
- package/esm2022/websocket/lib/protocols/index.mjs +3 -0
- package/esm2022/websocket/lib/protocols/on-event-options.mjs +2 -0
- package/esm2022/websocket/lib/protocols/primitive-event.mjs +2 -0
- package/esm2022/websocket/lib/user-information.service.mjs +33 -0
- package/esm2022/websocket/lib/websocket.service.mjs +334 -0
- package/esm2022/websocket/public-api.mjs +4 -0
- package/esm2022/websocket/senior-gestao-empresarial-angular-components-websocket.mjs +5 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-breadcrumb.mjs +122 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-breadcrumb.mjs.map +1 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-global-filter.mjs +311 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-global-filter.mjs.map +1 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-locale.mjs +85 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-locale.mjs.map +1 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-lookups.mjs +8215 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-lookups.mjs.map +1 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-nps.mjs +81 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-nps.mjs.map +1 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-object-card.mjs +461 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-object-card.mjs.map +1 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-permissions.mjs +144 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-permissions.mjs.map +1 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-polling.mjs +34 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-polling.mjs.map +1 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-storage.mjs +154 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-storage.mjs.map +1 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-thumbnail.mjs +216 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-thumbnail.mjs.map +1 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-utils.mjs +498 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-utils.mjs.map +1 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-websocket.mjs +404 -0
- package/fesm2022/senior-gestao-empresarial-angular-components-websocket.mjs.map +1 -0
- package/fesm2022/senior-gestao-empresarial-angular-components.mjs +4 -0
- package/fesm2022/senior-gestao-empresarial-angular-components.mjs.map +1 -0
- package/global-filter/index.d.ts +5 -0
- package/global-filter/lib/global-filter-modal/global-filter-modal.component.d.ts +29 -0
- package/global-filter/lib/global-filter.component.d.ts +40 -0
- package/global-filter/lib/global-filter.module.d.ts +14 -0
- package/global-filter/lib/global-filter.service.d.ts +42 -0
- package/global-filter/package.json +3 -0
- package/global-filter/public-api.d.ts +3 -0
- package/index.d.ts +5 -0
- package/locale/index.d.ts +5 -0
- package/locale/lib/fallback.d.ts +78 -0
- package/locale/package.json +3 -0
- package/locale/public-api.d.ts +1 -0
- package/lookups/index.d.ts +5 -0
- package/lookups/lib/entities/agreement-lookup.d.ts +11 -0
- package/lookups/lib/entities/apuracao-foundation/parameters-lookup.d.ts +11 -0
- package/lookups/lib/entities/apuracao-foundation/type-taxes-lookup.d.ts +11 -0
- package/lookups/lib/entities/beneficio-fiscal-lookup.d.ts +11 -0
- package/lookups/lib/entities/caracteristica-fiscal-lookup.d.ts +11 -0
- package/lookups/lib/entities/classificacao-tributaria-lookup.d.ts +11 -0
- package/lookups/lib/entities/composicao-base-calculo-lookup.d.ts +11 -0
- package/lookups/lib/entities/conta-interna-filial-lookup.d.ts +11 -0
- package/lookups/lib/entities/documento-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-001-end-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-001-pes-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-001-tns-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-001-tns-sup-est-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-002-tpt-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-006-pai-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-007-ufs-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-008-cep-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-008-rai-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-012-fam-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-015-med-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-020-snf-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-021-mot-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-023-crp-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-024-msg-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-027-eqi-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-027-str-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-028-cpg-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-030-age-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-030-ban-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-031-moe-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-032-edc-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-034-tcc-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-035-ocr-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-036-ins-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-039-por-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-041-ceb-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-043-mpc-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-043-pcm-lookup.d.ts +12 -0
- package/lookups/lib/entities/e-044-ccu-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-045-pla-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-046-hpd-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-047-ntg-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-048-fct-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-048-sfc-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-051-dis-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-066-fpg-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-067-fin-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-069-gre-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-070-emp-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-070-ent-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-070-fil-loc-ret-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-070-fil-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-073-pes-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-073-vei-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-075-der-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-076-mar-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-080-ser-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-081-tab-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-082-tpr-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-085-pes-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-089-doc-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-090-hrp-com-ger-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-090-pes-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-091-plf-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-095-hfo-sup-ger-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-095-pes-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-099-usu-com-ger-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-099-usu-sup-cpr-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-140-ins-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-140-nfs-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-200-lot-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-200-ser-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-205-dep-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-210-dxp-e-075-der-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-210-dxp-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-301-tcr-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-403-fpr-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-420-icp-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-420-ipc-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-420-ocp-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-501-tcp-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-600-cco-lookup.d.ts +11 -0
- package/lookups/lib/entities/e-640-lot-lookup.d.ts +11 -0
- package/lookups/lib/entities/equipment-lookup.d.ts +11 -0
- package/lookups/lib/entities/erpx-cpl-dfe/dfe-evento-lookup.d.ts +11 -0
- package/lookups/lib/entities/erpx-cpl-itr-dere/atividade-financeira-lookup.d.ts +11 -0
- package/lookups/lib/entities/erpx-cpl-itr-dere/codigo-tributacao-lookup.d.ts +11 -0
- package/lookups/lib/entities/erpx-cpl-itr-dere/e-070-emp-dere-lookup.d.ts +11 -0
- package/lookups/lib/entities/erpx-cpl-itr-dere/processo-lookup.d.ts +11 -0
- package/lookups/lib/entities/erpx-cpl-itr-dere/unidade-federativa-lookup.d.ts +11 -0
- package/lookups/lib/entities/ind-operacao-fornecimento-lookup.d.ts +11 -0
- package/lookups/lib/entities/lei-complementar-1162003-lookup.d.ts +11 -0
- package/lookups/lib/entities/ligacao-item-fornecedor-lookup.d.ts +11 -0
- package/lookups/lib/entities/lista-servico-nacional-lookup.d.ts +11 -0
- package/lookups/lib/entities/natureza-receita-pis-cofins.lookup.d.ts +11 -0
- package/lookups/lib/entities/nbs-lookup.d.ts +11 -0
- package/lookups/lib/entities/ncm-lookup.d.ts +11 -0
- package/lookups/lib/entities/nota-fiscal-entrada-lookup.d.ts +11 -0
- package/lookups/lib/entities/operacoes-lookup.d.ts +11 -0
- package/lookups/lib/entities/origem-destino-lookup.d.ts +11 -0
- package/lookups/lib/entities/origem-mercadoria-lookup.d.ts +11 -0
- package/lookups/lib/entities/produtoServico-lookup.d.ts +11 -0
- package/lookups/lib/entities/qtd-disponivel-demanda-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-001-end-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-001-pes-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-001-tns-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-007-ufs-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-008-rai-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-015-med-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-020-snf-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-024-msg-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-028-cpg-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-032-edc-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-051-dis-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-066-fpg-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-070-emp-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-070-fil-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-075-der-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-e-080-ser-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-natureza-receita-pis-cofins.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-ncm-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-nf-entrada-lookup.d.ts +11 -0
- package/lookups/lib/entities/replication-entities/cpl-tri-nota-saida-nf-saida-lookup.d.ts +11 -0
- package/lookups/lib/entities/requisicao-lookup.d.ts +11 -0
- package/lookups/lib/entities/segmento-lookup.d.ts +11 -0
- package/lookups/lib/entities/unidade-medida-lookup.d.ts +11 -0
- package/lookups/lib/entities/wizard-entities/bank-lookup.d.ts +11 -0
- package/lookups/lib/entities/wizard-entities/country-lookup.d.ts +11 -0
- package/lookups/lib/entities/wizard-entities/currency-lookup.d.ts +11 -0
- package/lookups/lib/entities/xt-integration/entity-person-product-lookup.d.ts +11 -0
- package/lookups/lib/enum-options.util.d.ts +5 -0
- package/lookups/lib/erp-lookups.d.ts +162 -0
- package/lookups/lib/erp-lookups.module.d.ts +7 -0
- package/lookups/lib/erp-lookups.service.d.ts +22 -0
- package/lookups/package.json +3 -0
- package/lookups/public-api.d.ts +133 -0
- package/nps/index.d.ts +5 -0
- package/nps/lib/nps.service.d.ts +19 -0
- package/nps/lib/protocols/index.d.ts +3 -0
- package/nps/lib/protocols/tracksale-request.d.ts +18 -0
- package/nps/package.json +3 -0
- package/nps/public-api.d.ts +2 -0
- package/object-card/index.d.ts +5 -0
- package/object-card/lib/elements/field/object-card-field.component.d.ts +21 -0
- package/object-card/lib/elements/main/object-card-main.component.d.ts +40 -0
- package/object-card/lib/object-card.component.d.ts +35 -0
- package/object-card/lib/object-card.module.d.ts +17 -0
- package/object-card/lib/shared/border-button/border-button.component.d.ts +15 -0
- package/object-card/lib/shared/border-button/border-button.module.d.ts +9 -0
- package/object-card/lib/shared/models/border-button-options.d.ts +9 -0
- package/object-card/package.json +3 -0
- package/object-card/public-api.d.ts +6 -0
- package/package.json +123 -16
- package/permissions/index.d.ts +5 -0
- package/permissions/lib/protocols/query-module.d.ts +10 -0
- package/permissions/lib/protocols/rec-modulo.d.ts +8 -0
- package/permissions/lib/verify-module-permission-service.d.ts +10 -0
- package/permissions/lib/verify-module-permission.d.ts +16 -0
- package/permissions/lib/verify-module-permissions-service.d.ts +19 -0
- package/permissions/lib/verify-module-permissions.d.ts +17 -0
- package/permissions/package.json +3 -0
- package/permissions/public-api.d.ts +3 -0
- package/polling/index.d.ts +5 -0
- package/polling/lib/erp-polling.d.ts +15 -0
- package/polling/package.json +3 -0
- package/polling/public-api.d.ts +1 -0
- package/public-api.d.ts +1 -12
- package/schematics/collection.json +9 -0
- package/schematics/migrations/migrate-imports/index.d.ts +11 -0
- package/schematics/migrations/migrate-imports/index.js +67 -0
- package/schematics/migrations/migrate-imports/index.js.map +1 -0
- package/schematics/migrations/migrate-imports/symbol-map.d.ts +2 -0
- package/schematics/migrations/migrate-imports/symbol-map.js +192 -0
- package/schematics/migrations/migrate-imports/symbol-map.js.map +1 -0
- package/schematics/migrations.json +10 -0
- package/schematics/utils/rewrite-imports.d.ts +33 -0
- package/schematics/utils/rewrite-imports.js +147 -0
- package/schematics/utils/rewrite-imports.js.map +1 -0
- package/storage/index.d.ts +5 -0
- package/storage/lib/filters-storage.service.d.ts +15 -0
- package/storage/lib/storage.service.d.ts +5 -0
- package/storage/package.json +3 -0
- package/storage/public-api.d.ts +1 -0
- package/thumbnail/index.d.ts +5 -0
- package/thumbnail/lib/thumbnail.component.d.ts +32 -0
- package/thumbnail/lib/thumbnail.module.d.ts +8 -0
- package/thumbnail/lib/thumbnail.service.d.ts +24 -0
- package/thumbnail/package.json +3 -0
- package/thumbnail/public-api.d.ts +3 -0
- package/utils/index.d.ts +5 -0
- package/utils/lib/export-utils.d.ts +6 -0
- package/utils/lib/form-utils.d.ts +93 -0
- package/utils/lib/lookup-validation-utils.d.ts +22 -0
- package/utils/lib/utils.module.d.ts +13 -0
- package/utils/package.json +3 -0
- package/utils/public-api.d.ts +7 -0
- package/websocket/index.d.ts +5 -0
- package/websocket/lib/models/primitive-manager.d.ts +18 -0
- package/websocket/lib/user-information.service.d.ts +10 -0
- package/websocket/lib/websocket.service.d.ts +101 -0
- package/websocket/package.json +3 -0
- package/websocket/public-api.d.ts +3 -0
- package/bundles/senior-gestao-empresarial-angular-components.umd.js +0 -10634
- package/bundles/senior-gestao-empresarial-angular-components.umd.js.map +0 -1
- package/bundles/senior-gestao-empresarial-angular-components.umd.min.js +0 -16
- package/bundles/senior-gestao-empresarial-angular-components.umd.min.js.map +0 -1
- package/components/breadcrumb/breadcrumb.component.d.ts +0 -21
- package/components/breadcrumb/breadcrumb.module.d.ts +0 -2
- package/components/breadcrumb/index.d.ts +0 -2
- package/components/global-filter/global-filter-modal/global-filter-modal.component.d.ts +0 -41
- package/components/global-filter/global-filter.component.d.ts +0 -61
- package/components/global-filter/global-filter.module.d.ts +0 -2
- package/components/global-filter/global-filter.service.d.ts +0 -54
- package/components/global-filter/index.d.ts +0 -3
- package/components/lookups/entities/agreement-lookup.d.ts +0 -8
- package/components/lookups/entities/apuracao-foundation/parameters-lookup.d.ts +0 -8
- package/components/lookups/entities/apuracao-foundation/type-taxes-lookup.d.ts +0 -8
- package/components/lookups/entities/beneficio-fiscal-lookup.d.ts +0 -8
- package/components/lookups/entities/caracteristica-fiscal-lookup.d.ts +0 -8
- package/components/lookups/entities/classificacao-tributaria-lookup.d.ts +0 -8
- package/components/lookups/entities/composicao-base-calculo-lookup.d.ts +0 -8
- package/components/lookups/entities/conta-interna-filial-lookup.d.ts +0 -8
- package/components/lookups/entities/documento-lookup.d.ts +0 -8
- package/components/lookups/entities/e-001-end-lookup.d.ts +0 -8
- package/components/lookups/entities/e-001-pes-lookup.d.ts +0 -8
- package/components/lookups/entities/e-001-tns-lookup.d.ts +0 -8
- package/components/lookups/entities/e-001-tns-sup-est-lookup.d.ts +0 -8
- package/components/lookups/entities/e-002-tpt-lookup.d.ts +0 -8
- package/components/lookups/entities/e-006-pai-lookup.d.ts +0 -8
- package/components/lookups/entities/e-007-ufs-lookup.d.ts +0 -8
- package/components/lookups/entities/e-008-cep-lookup.d.ts +0 -8
- package/components/lookups/entities/e-008-rai-lookup.d.ts +0 -8
- package/components/lookups/entities/e-012-fam-lookup.d.ts +0 -8
- package/components/lookups/entities/e-015-med-lookup.d.ts +0 -8
- package/components/lookups/entities/e-020-snf-lookup.d.ts +0 -8
- package/components/lookups/entities/e-021-mot-lookup.d.ts +0 -8
- package/components/lookups/entities/e-023-crp-lookup.d.ts +0 -8
- package/components/lookups/entities/e-024-msg-lookup.d.ts +0 -8
- package/components/lookups/entities/e-027-eqi-lookup.d.ts +0 -8
- package/components/lookups/entities/e-027-str-lookup.d.ts +0 -8
- package/components/lookups/entities/e-028-cpg-lookup.d.ts +0 -8
- package/components/lookups/entities/e-030-age-lookup.d.ts +0 -8
- package/components/lookups/entities/e-030-ban-lookup.d.ts +0 -8
- package/components/lookups/entities/e-031-moe-lookup.d.ts +0 -8
- package/components/lookups/entities/e-032-edc-lookup.d.ts +0 -8
- package/components/lookups/entities/e-034-tcc-lookup.d.ts +0 -8
- package/components/lookups/entities/e-035-ocr-lookup.d.ts +0 -8
- package/components/lookups/entities/e-036-ins-lookup.d.ts +0 -8
- package/components/lookups/entities/e-039-por-lookup.d.ts +0 -8
- package/components/lookups/entities/e-041-ceb-lookup.d.ts +0 -8
- package/components/lookups/entities/e-043-mpc-lookup.d.ts +0 -8
- package/components/lookups/entities/e-043-pcm-lookup.d.ts +0 -9
- package/components/lookups/entities/e-044-ccu-lookup.d.ts +0 -8
- package/components/lookups/entities/e-045-pla-lookup.d.ts +0 -8
- package/components/lookups/entities/e-046-hpd-lookup.d.ts +0 -8
- package/components/lookups/entities/e-047-ntg-lookup.d.ts +0 -8
- package/components/lookups/entities/e-048-fct-lookup.d.ts +0 -8
- package/components/lookups/entities/e-048-sfc-lookup.d.ts +0 -8
- package/components/lookups/entities/e-051-dis-lookup.d.ts +0 -8
- package/components/lookups/entities/e-066-fpg-lookup.d.ts +0 -8
- package/components/lookups/entities/e-067-fin-lookup.d.ts +0 -8
- package/components/lookups/entities/e-069-gre-lookup.d.ts +0 -8
- package/components/lookups/entities/e-070-emp-lookup.d.ts +0 -8
- package/components/lookups/entities/e-070-ent-lookup.d.ts +0 -8
- package/components/lookups/entities/e-070-fil-loc-ret-lookup.d.ts +0 -8
- package/components/lookups/entities/e-070-fil-lookup.d.ts +0 -8
- package/components/lookups/entities/e-073-pes-lookup.d.ts +0 -8
- package/components/lookups/entities/e-073-vei-lookup.d.ts +0 -8
- package/components/lookups/entities/e-075-der-lookup.d.ts +0 -8
- package/components/lookups/entities/e-076-mar-lookup.d.ts +0 -8
- package/components/lookups/entities/e-080-ser-lookup.d.ts +0 -8
- package/components/lookups/entities/e-081-tab-lookup.d.ts +0 -8
- package/components/lookups/entities/e-082-tpr-lookup.d.ts +0 -8
- package/components/lookups/entities/e-085-pes-lookup.d.ts +0 -8
- package/components/lookups/entities/e-089-doc-lookup.d.ts +0 -8
- package/components/lookups/entities/e-090-hrp-com-ger-lookup.d.ts +0 -8
- package/components/lookups/entities/e-090-pes-lookup.d.ts +0 -8
- package/components/lookups/entities/e-091-plf-lookup.d.ts +0 -8
- package/components/lookups/entities/e-095-hfo-sup-ger-lookup.d.ts +0 -8
- package/components/lookups/entities/e-095-pes-lookup.d.ts +0 -8
- package/components/lookups/entities/e-099-usu-com-ger-lookup.d.ts +0 -8
- package/components/lookups/entities/e-099-usu-sup-cpr-lookup.d.ts +0 -8
- package/components/lookups/entities/e-140-ins-lookup.d.ts +0 -8
- package/components/lookups/entities/e-140-nfs-lookup.d.ts +0 -8
- package/components/lookups/entities/e-200-lot-lookup.d.ts +0 -8
- package/components/lookups/entities/e-200-ser-lookup.d.ts +0 -8
- package/components/lookups/entities/e-205-dep-lookup.d.ts +0 -8
- package/components/lookups/entities/e-210-dxp-e-075-der-lookup.d.ts +0 -8
- package/components/lookups/entities/e-210-dxp-lookup.d.ts +0 -8
- package/components/lookups/entities/e-301-tcr-lookup.d.ts +0 -8
- package/components/lookups/entities/e-403-fpr-lookup.d.ts +0 -8
- package/components/lookups/entities/e-420-icp-lookup.d.ts +0 -8
- package/components/lookups/entities/e-420-ipc-lookup.d.ts +0 -8
- package/components/lookups/entities/e-420-ocp-lookup.d.ts +0 -8
- package/components/lookups/entities/e-501-tcp-lookup.d.ts +0 -8
- package/components/lookups/entities/e-600-cco-lookup.d.ts +0 -8
- package/components/lookups/entities/e-640-lot-lookup.d.ts +0 -8
- package/components/lookups/entities/equipment-lookup.d.ts +0 -8
- package/components/lookups/entities/erpx-cpl-dfe/dfe-evento-lookup.d.ts +0 -12
- package/components/lookups/entities/erpx-cpl-itr-dere/atividade-financeira-lookup.d.ts +0 -8
- package/components/lookups/entities/erpx-cpl-itr-dere/codigo-tributacao-lookup.d.ts +0 -8
- package/components/lookups/entities/erpx-cpl-itr-dere/e-070-emp-dere-lookup.d.ts +0 -8
- package/components/lookups/entities/erpx-cpl-itr-dere/processo-lookup.d.ts +0 -8
- package/components/lookups/entities/erpx-cpl-itr-dere/unidade-federativa-lookup.d.ts +0 -8
- package/components/lookups/entities/ind-operacao-fornecimento-lookup.d.ts +0 -8
- package/components/lookups/entities/lei-complementar-1162003-lookup.d.ts +0 -8
- package/components/lookups/entities/ligacao-item-fornecedor-lookup.d.ts +0 -8
- package/components/lookups/entities/lista-servico-nacional-lookup.d.ts +0 -8
- package/components/lookups/entities/natureza-receita-pis-cofins.lookup.d.ts +0 -8
- package/components/lookups/entities/nbs-lookup.d.ts +0 -8
- package/components/lookups/entities/ncm-lookup.d.ts +0 -8
- package/components/lookups/entities/nota-fiscal-entrada-lookup.d.ts +0 -8
- package/components/lookups/entities/operacoes-lookup.d.ts +0 -8
- package/components/lookups/entities/origem-destino-lookup.d.ts +0 -10
- package/components/lookups/entities/origem-mercadoria-lookup.d.ts +0 -8
- package/components/lookups/entities/produtoServico-lookup.d.ts +0 -8
- package/components/lookups/entities/qtd-disponivel-demanda-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-001-end-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-001-pes-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-001-tns-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-007-ufs-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-008-rai-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-015-med-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-020-snf-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-024-msg-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-028-cpg-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-032-edc-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-051-dis-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-066-fpg-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-070-emp-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-070-fil-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-075-der-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-080-ser-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-natureza-receita-pis-cofins.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-ncm-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-nf-entrada-lookup.d.ts +0 -8
- package/components/lookups/entities/replication-entities/cpl-tri-nota-saida-nf-saida-lookup.d.ts +0 -8
- package/components/lookups/entities/requisicao-lookup.d.ts +0 -8
- package/components/lookups/entities/segmento-lookup.d.ts +0 -8
- package/components/lookups/entities/unidade-medida-lookup.d.ts +0 -8
- package/components/lookups/entities/wizard-entities/bank-lookup.d.ts +0 -8
- package/components/lookups/entities/wizard-entities/country-lookup.d.ts +0 -8
- package/components/lookups/entities/wizard-entities/currency-lookup.d.ts +0 -8
- package/components/lookups/entities/xt-integration/entity-person-product-lookup.d.ts +0 -8
- package/components/lookups/erp-lookups.d.ts +0 -175
- package/components/lookups/erp-lookups.module.d.ts +0 -2
- package/components/lookups/erp-lookups.service.d.ts +0 -19
- package/components/lookups/index.d.ts +0 -133
- package/components/nps/index.d.ts +0 -2
- package/components/nps/nps.service.d.ts +0 -18
- package/components/nps/protocols/index.d.ts +0 -3
- package/components/nps/protocols/tracksale-request.d.ts +0 -18
- package/components/object-card/elements/field/object-card-field.component.d.ts +0 -18
- package/components/object-card/elements/main/object-card-main.component.d.ts +0 -37
- package/components/object-card/index.d.ts +0 -4
- package/components/object-card/object-card.component.d.ts +0 -29
- package/components/object-card/object-card.module.d.ts +0 -2
- package/components/permissions/index.d.ts +0 -3
- package/components/permissions/protocols/query-module.d.ts +0 -10
- package/components/permissions/protocols/rec-modulo.d.ts +0 -8
- package/components/permissions/verify-module-permission-service.d.ts +0 -9
- package/components/permissions/verify-module-permission.d.ts +0 -15
- package/components/permissions/verify-module-permissions-service.d.ts +0 -18
- package/components/permissions/verify-module-permissions.d.ts +0 -16
- package/components/polling/erp-polling.d.ts +0 -12
- package/components/polling/index.d.ts +0 -1
- package/components/shared/border-button/border-button.component.d.ts +0 -7
- package/components/shared/border-button/border-button.module.d.ts +0 -2
- package/components/shared/models/border-button-options.d.ts +0 -9
- package/components/storage/filters-storage.service.d.ts +0 -12
- package/components/storage/index.d.ts +0 -1
- package/components/storage/storage.service.d.ts +0 -5
- package/components/thumbnail/index.d.ts +0 -3
- package/components/thumbnail/thumbnail.component.d.ts +0 -28
- package/components/thumbnail/thumbnail.module.d.ts +0 -2
- package/components/thumbnail/thumbnail.service.d.ts +0 -21
- package/components/utils/export-utils.d.ts +0 -6
- package/components/utils/form-utils.d.ts +0 -93
- package/components/utils/index.d.ts +0 -6
- package/components/utils/lookup-validation-utils.d.ts +0 -19
- package/components/utils/utils.module.d.ts +0 -8
- package/components/websocket/index.d.ts +0 -3
- package/components/websocket/models/primitive-manager.d.ts +0 -18
- package/components/websocket/user-information.service.d.ts +0 -7
- package/components/websocket/websocket.service.d.ts +0 -100
- package/esm2015/components/breadcrumb/breadcrumb.component.js +0 -86
- package/esm2015/components/breadcrumb/breadcrumb.module.js +0 -17
- package/esm2015/components/breadcrumb/index.js +0 -3
- package/esm2015/components/global-filter/global-filter-modal/global-filter-modal.component.js +0 -124
- package/esm2015/components/global-filter/global-filter.component.js +0 -120
- package/esm2015/components/global-filter/global-filter.module.js +0 -29
- package/esm2015/components/global-filter/global-filter.service.js +0 -74
- package/esm2015/components/global-filter/index.js +0 -4
- package/esm2015/components/lookups/entities/agreement-lookup.js +0 -31
- package/esm2015/components/lookups/entities/apuracao-foundation/parameters-lookup.js +0 -76
- package/esm2015/components/lookups/entities/apuracao-foundation/type-taxes-lookup.js +0 -52
- package/esm2015/components/lookups/entities/beneficio-fiscal-lookup.js +0 -73
- package/esm2015/components/lookups/entities/caracteristica-fiscal-lookup.js +0 -73
- package/esm2015/components/lookups/entities/classificacao-tributaria-lookup.js +0 -82
- package/esm2015/components/lookups/entities/composicao-base-calculo-lookup.js +0 -104
- package/esm2015/components/lookups/entities/conta-interna-filial-lookup.js +0 -54
- package/esm2015/components/lookups/entities/documento-lookup.js +0 -53
- package/esm2015/components/lookups/entities/e-001-end-lookup.js +0 -109
- package/esm2015/components/lookups/entities/e-001-pes-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-001-tns-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-001-tns-sup-est-lookup.js +0 -47
- package/esm2015/components/lookups/entities/e-002-tpt-lookup.js +0 -32
- package/esm2015/components/lookups/entities/e-006-pai-lookup.js +0 -48
- package/esm2015/components/lookups/entities/e-007-ufs-lookup.js +0 -55
- package/esm2015/components/lookups/entities/e-008-cep-lookup.js +0 -80
- package/esm2015/components/lookups/entities/e-008-rai-lookup.js +0 -55
- package/esm2015/components/lookups/entities/e-012-fam-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-015-med-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-020-snf-lookup.js +0 -73
- package/esm2015/components/lookups/entities/e-021-mot-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-023-crp-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-024-msg-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-027-eqi-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-027-str-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-028-cpg-lookup.js +0 -64
- package/esm2015/components/lookups/entities/e-030-age-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-030-ban-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-031-moe-lookup.js +0 -53
- package/esm2015/components/lookups/entities/e-032-edc-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-034-tcc-lookup.js +0 -47
- package/esm2015/components/lookups/entities/e-035-ocr-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-036-ins-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-039-por-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-041-ceb-lookup.js +0 -37
- package/esm2015/components/lookups/entities/e-043-mpc-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-043-pcm-lookup.js +0 -67
- package/esm2015/components/lookups/entities/e-044-ccu-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-045-pla-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-046-hpd-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-047-ntg-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-048-fct-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-048-sfc-lookup.js +0 -80
- package/esm2015/components/lookups/entities/e-051-dis-lookup.js +0 -31
- package/esm2015/components/lookups/entities/e-066-fpg-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-067-fin-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-069-gre-lookup.js +0 -31
- package/esm2015/components/lookups/entities/e-070-emp-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-070-ent-lookup.js +0 -109
- package/esm2015/components/lookups/entities/e-070-fil-loc-ret-lookup.js +0 -76
- package/esm2015/components/lookups/entities/e-070-fil-lookup.js +0 -96
- package/esm2015/components/lookups/entities/e-073-pes-lookup.js +0 -65
- package/esm2015/components/lookups/entities/e-073-vei-lookup.js +0 -133
- package/esm2015/components/lookups/entities/e-075-der-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-076-mar-lookup.js +0 -49
- package/esm2015/components/lookups/entities/e-080-ser-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-081-tab-lookup.js +0 -73
- package/esm2015/components/lookups/entities/e-082-tpr-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-085-pes-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-089-doc-lookup.js +0 -26
- package/esm2015/components/lookups/entities/e-090-hrp-com-ger-lookup.js +0 -51
- package/esm2015/components/lookups/entities/e-090-pes-lookup.js +0 -49
- package/esm2015/components/lookups/entities/e-091-plf-lookup.js +0 -55
- package/esm2015/components/lookups/entities/e-095-hfo-sup-ger-lookup.js +0 -32
- package/esm2015/components/lookups/entities/e-095-pes-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-099-usu-com-ger-lookup.js +0 -37
- package/esm2015/components/lookups/entities/e-099-usu-sup-cpr-lookup.js +0 -45
- package/esm2015/components/lookups/entities/e-140-ins-lookup.js +0 -55
- package/esm2015/components/lookups/entities/e-140-nfs-lookup.js +0 -55
- package/esm2015/components/lookups/entities/e-200-lot-lookup.js +0 -37
- package/esm2015/components/lookups/entities/e-200-ser-lookup.js +0 -37
- package/esm2015/components/lookups/entities/e-205-dep-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-210-dxp-e-075-der-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-210-dxp-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-301-tcr-lookup.js +0 -53
- package/esm2015/components/lookups/entities/e-403-fpr-lookup.js +0 -46
- package/esm2015/components/lookups/entities/e-420-icp-lookup.js +0 -60
- package/esm2015/components/lookups/entities/e-420-ipc-lookup.js +0 -55
- package/esm2015/components/lookups/entities/e-420-ocp-lookup.js +0 -49
- package/esm2015/components/lookups/entities/e-501-tcp-lookup.js +0 -49
- package/esm2015/components/lookups/entities/e-600-cco-lookup.js +0 -65
- package/esm2015/components/lookups/entities/e-640-lot-lookup.js +0 -46
- package/esm2015/components/lookups/entities/equipment-lookup.js +0 -46
- package/esm2015/components/lookups/entities/erpx-cpl-dfe/dfe-evento-lookup.js +0 -149
- package/esm2015/components/lookups/entities/erpx-cpl-itr-dere/atividade-financeira-lookup.js +0 -32
- package/esm2015/components/lookups/entities/erpx-cpl-itr-dere/codigo-tributacao-lookup.js +0 -36
- package/esm2015/components/lookups/entities/erpx-cpl-itr-dere/e-070-emp-dere-lookup.js +0 -51
- package/esm2015/components/lookups/entities/erpx-cpl-itr-dere/processo-lookup.js +0 -28
- package/esm2015/components/lookups/entities/erpx-cpl-itr-dere/unidade-federativa-lookup.js +0 -36
- package/esm2015/components/lookups/entities/ind-operacao-fornecimento-lookup.js +0 -69
- package/esm2015/components/lookups/entities/lei-complementar-1162003-lookup.js +0 -32
- package/esm2015/components/lookups/entities/ligacao-item-fornecedor-lookup.js +0 -46
- package/esm2015/components/lookups/entities/lista-servico-nacional-lookup.js +0 -34
- package/esm2015/components/lookups/entities/natureza-receita-pis-cofins.lookup.js +0 -49
- package/esm2015/components/lookups/entities/nbs-lookup.js +0 -32
- package/esm2015/components/lookups/entities/ncm-lookup.js +0 -46
- package/esm2015/components/lookups/entities/nota-fiscal-entrada-lookup.js +0 -27
- package/esm2015/components/lookups/entities/operacoes-lookup.js +0 -61
- package/esm2015/components/lookups/entities/origem-destino-lookup.js +0 -123
- package/esm2015/components/lookups/entities/origem-mercadoria-lookup.js +0 -71
- package/esm2015/components/lookups/entities/produtoServico-lookup.js +0 -46
- package/esm2015/components/lookups/entities/qtd-disponivel-demanda-lookup.js +0 -46
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-001-end-lookup.js +0 -125
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-001-pes-lookup.js +0 -115
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-001-tns-lookup.js +0 -101
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-007-ufs-lookup.js +0 -57
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-008-rai-lookup.js +0 -61
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-015-med-lookup.js +0 -49
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-020-snf-lookup.js +0 -127
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-024-msg-lookup.js +0 -49
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-028-cpg-lookup.js +0 -53
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-032-edc-lookup.js +0 -49
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-051-dis-lookup.js +0 -49
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-066-fpg-lookup.js +0 -93
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-070-emp-lookup.js +0 -49
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-070-fil-lookup.js +0 -65
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-075-der-lookup.js +0 -57
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-080-ser-lookup.js +0 -57
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-natureza-receita-pis-cofins.js +0 -65
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-ncm-lookup.js +0 -61
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-nf-entrada-lookup.js +0 -84
- package/esm2015/components/lookups/entities/replication-entities/cpl-tri-nota-saida-nf-saida-lookup.js +0 -84
- package/esm2015/components/lookups/entities/requisicao-lookup.js +0 -37
- package/esm2015/components/lookups/entities/segmento-lookup.js +0 -75
- package/esm2015/components/lookups/entities/unidade-medida-lookup.js +0 -46
- package/esm2015/components/lookups/entities/wizard-entities/bank-lookup.js +0 -46
- package/esm2015/components/lookups/entities/wizard-entities/country-lookup.js +0 -52
- package/esm2015/components/lookups/entities/wizard-entities/currency-lookup.js +0 -52
- package/esm2015/components/lookups/entities/xt-integration/entity-person-product-lookup.js +0 -49
- package/esm2015/components/lookups/erp-lookups.js +0 -412
- package/esm2015/components/lookups/erp-lookups.module.js +0 -279
- package/esm2015/components/lookups/erp-lookups.service.js +0 -84
- package/esm2015/components/lookups/index.js +0 -134
- package/esm2015/components/nps/index.js +0 -2
- package/esm2015/components/nps/nps.service.js +0 -73
- package/esm2015/components/nps/protocols/index.js +0 -1
- package/esm2015/components/nps/protocols/tenant-full-dto.js +0 -1
- package/esm2015/components/nps/protocols/token-senior-x.js +0 -1
- package/esm2015/components/nps/protocols/tracksale-request.js +0 -1
- package/esm2015/components/object-card/elements/field/object-card-field.component.js +0 -58
- package/esm2015/components/object-card/elements/main/object-card-main.component.js +0 -142
- package/esm2015/components/object-card/index.js +0 -5
- package/esm2015/components/object-card/object-card.component.js +0 -142
- package/esm2015/components/object-card/object-card.module.js +0 -22
- package/esm2015/components/permissions/index.js +0 -4
- package/esm2015/components/permissions/protocols/modules.enum.js +0 -14
- package/esm2015/components/permissions/protocols/query-module.js +0 -1
- package/esm2015/components/permissions/protocols/rec-modulo.js +0 -1
- package/esm2015/components/permissions/verify-module-permission-service.js +0 -26
- package/esm2015/components/permissions/verify-module-permission.js +0 -52
- package/esm2015/components/permissions/verify-module-permissions-service.js +0 -26
- package/esm2015/components/permissions/verify-module-permissions.js +0 -51
- package/esm2015/components/polling/erp-polling.js +0 -32
- package/esm2015/components/polling/index.js +0 -2
- package/esm2015/components/shared/border-button/border-button.component.js +0 -24
- package/esm2015/components/shared/border-button/border-button.module.js +0 -16
- package/esm2015/components/shared/models/border-button-options.js +0 -1
- package/esm2015/components/shared/models/enum-severity.js +0 -9
- package/esm2015/components/storage/filters-storage.service.js +0 -136
- package/esm2015/components/storage/index.js +0 -2
- package/esm2015/components/storage/storage.service.js +0 -18
- package/esm2015/components/thumbnail/index.js +0 -4
- package/esm2015/components/thumbnail/thumbnail-size.js +0 -7
- package/esm2015/components/thumbnail/thumbnail.component.js +0 -96
- package/esm2015/components/thumbnail/thumbnail.module.js +0 -17
- package/esm2015/components/thumbnail/thumbnail.service.js +0 -90
- package/esm2015/components/utils/async-lock.js +0 -34
- package/esm2015/components/utils/breakpoints.js +0 -11
- package/esm2015/components/utils/export-utils.js +0 -71
- package/esm2015/components/utils/form-utils.js +0 -203
- package/esm2015/components/utils/http-status-code.js +0 -68
- package/esm2015/components/utils/index.js +0 -7
- package/esm2015/components/utils/lookup-validation-utils.js +0 -64
- package/esm2015/components/utils/utils.module.js +0 -30
- package/esm2015/components/websocket/index.js +0 -3
- package/esm2015/components/websocket/models/index.js +0 -2
- package/esm2015/components/websocket/models/primitive-manager.js +0 -35
- package/esm2015/components/websocket/protocols/index.js +0 -1
- package/esm2015/components/websocket/protocols/on-event-options.js +0 -1
- package/esm2015/components/websocket/protocols/primitive-event.js +0 -1
- package/esm2015/components/websocket/user-information.service.js +0 -34
- package/esm2015/components/websocket/websocket.service.js +0 -347
- package/esm2015/core/enums/enum-ana-sin.js +0 -6
- package/esm2015/core/enums/enum-apl-cpg.js +0 -7
- package/esm2015/core/enums/enum-apl-snf.js +0 -9
- package/esm2015/core/enums/enum-difal-contribuinte.js +0 -11
- package/esm2015/core/enums/enum-difal-nao-contribuinte.js +0 -6
- package/esm2015/core/enums/enum-imposto-cadastro.js +0 -16
- package/esm2015/core/enums/enum-nat-ctb.js +0 -7
- package/esm2015/core/enums/enum-origem-mercadoria-imposto.js +0 -8
- package/esm2015/core/enums/enum-perfil-tributario-segmento.js +0 -13
- package/esm2015/core/enums/enum-pro-vei.js +0 -6
- package/esm2015/core/enums/enum-situacao-caracteristica-fiscal.js +0 -6
- package/esm2015/core/enums/enum-tip-crr.js +0 -10
- package/esm2015/core/enums/enum-tip-ctb.js +0 -11
- package/esm2015/core/enums/enum-tip-rod.js +0 -10
- package/esm2015/core/enums/enum-tip-vei.js +0 -6
- package/esm2015/core/enums/enum-tipo-origem.js +0 -7
- package/esm2015/core/enums/erpx-cpl-dfe-eventos-fiscais-backend/enum-situacao-registro.js +0 -6
- package/esm2015/core/enums/erpx-cpl-dfe-eventos-fiscais-backend/enum-tipo-evento.js +0 -18
- package/esm2015/core/enums/erpx-cpl-imp-cadastros-backend/enum-situacao.js +0 -6
- package/esm2015/core/enums/erpx-fnd-produto-backend/enum-sit-reg.js +0 -6
- package/esm2015/locale/fallback.js +0 -79
- package/esm2015/public-api.js +0 -13
- package/esm2015/senior-gestao-empresarial-angular-components.js +0 -17
- package/esm2015/utils/utils.js +0 -9
- package/esm5/components/breadcrumb/breadcrumb.component.js +0 -91
- package/esm5/components/breadcrumb/breadcrumb.module.js +0 -20
- package/esm5/components/breadcrumb/index.js +0 -3
- package/esm5/components/global-filter/global-filter-modal/global-filter-modal.component.js +0 -124
- package/esm5/components/global-filter/global-filter.component.js +0 -135
- package/esm5/components/global-filter/global-filter.module.js +0 -32
- package/esm5/components/global-filter/global-filter.service.js +0 -87
- package/esm5/components/global-filter/index.js +0 -4
- package/esm5/components/lookups/entities/agreement-lookup.js +0 -34
- package/esm5/components/lookups/entities/apuracao-foundation/parameters-lookup.js +0 -79
- package/esm5/components/lookups/entities/apuracao-foundation/type-taxes-lookup.js +0 -55
- package/esm5/components/lookups/entities/beneficio-fiscal-lookup.js +0 -76
- package/esm5/components/lookups/entities/caracteristica-fiscal-lookup.js +0 -75
- package/esm5/components/lookups/entities/classificacao-tributaria-lookup.js +0 -85
- package/esm5/components/lookups/entities/composicao-base-calculo-lookup.js +0 -107
- package/esm5/components/lookups/entities/conta-interna-filial-lookup.js +0 -55
- package/esm5/components/lookups/entities/documento-lookup.js +0 -56
- package/esm5/components/lookups/entities/e-001-end-lookup.js +0 -112
- package/esm5/components/lookups/entities/e-001-pes-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-001-tns-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-001-tns-sup-est-lookup.js +0 -50
- package/esm5/components/lookups/entities/e-002-tpt-lookup.js +0 -35
- package/esm5/components/lookups/entities/e-006-pai-lookup.js +0 -51
- package/esm5/components/lookups/entities/e-007-ufs-lookup.js +0 -58
- package/esm5/components/lookups/entities/e-008-cep-lookup.js +0 -79
- package/esm5/components/lookups/entities/e-008-rai-lookup.js +0 -58
- package/esm5/components/lookups/entities/e-012-fam-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-015-med-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-020-snf-lookup.js +0 -76
- package/esm5/components/lookups/entities/e-021-mot-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-023-crp-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-024-msg-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-027-eqi-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-027-str-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-028-cpg-lookup.js +0 -67
- package/esm5/components/lookups/entities/e-030-age-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-030-ban-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-031-moe-lookup.js +0 -56
- package/esm5/components/lookups/entities/e-032-edc-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-034-tcc-lookup.js +0 -50
- package/esm5/components/lookups/entities/e-035-ocr-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-036-ins-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-039-por-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-041-ceb-lookup.js +0 -40
- package/esm5/components/lookups/entities/e-043-mpc-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-043-pcm-lookup.js +0 -71
- package/esm5/components/lookups/entities/e-044-ccu-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-045-pla-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-046-hpd-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-047-ntg-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-048-fct-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-048-sfc-lookup.js +0 -83
- package/esm5/components/lookups/entities/e-051-dis-lookup.js +0 -34
- package/esm5/components/lookups/entities/e-066-fpg-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-067-fin-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-069-gre-lookup.js +0 -34
- package/esm5/components/lookups/entities/e-070-emp-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-070-ent-lookup.js +0 -112
- package/esm5/components/lookups/entities/e-070-fil-loc-ret-lookup.js +0 -79
- package/esm5/components/lookups/entities/e-070-fil-lookup.js +0 -99
- package/esm5/components/lookups/entities/e-073-pes-lookup.js +0 -68
- package/esm5/components/lookups/entities/e-073-vei-lookup.js +0 -136
- package/esm5/components/lookups/entities/e-075-der-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-076-mar-lookup.js +0 -55
- package/esm5/components/lookups/entities/e-080-ser-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-081-tab-lookup.js +0 -76
- package/esm5/components/lookups/entities/e-082-tpr-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-085-pes-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-089-doc-lookup.js +0 -29
- package/esm5/components/lookups/entities/e-090-hrp-com-ger-lookup.js +0 -54
- package/esm5/components/lookups/entities/e-090-pes-lookup.js +0 -52
- package/esm5/components/lookups/entities/e-091-plf-lookup.js +0 -58
- package/esm5/components/lookups/entities/e-095-hfo-sup-ger-lookup.js +0 -35
- package/esm5/components/lookups/entities/e-095-pes-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-099-usu-com-ger-lookup.js +0 -40
- package/esm5/components/lookups/entities/e-099-usu-sup-cpr-lookup.js +0 -48
- package/esm5/components/lookups/entities/e-140-ins-lookup.js +0 -58
- package/esm5/components/lookups/entities/e-140-nfs-lookup.js +0 -58
- package/esm5/components/lookups/entities/e-200-lot-lookup.js +0 -40
- package/esm5/components/lookups/entities/e-200-ser-lookup.js +0 -40
- package/esm5/components/lookups/entities/e-205-dep-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-210-dxp-e-075-der-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-210-dxp-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-301-tcr-lookup.js +0 -56
- package/esm5/components/lookups/entities/e-403-fpr-lookup.js +0 -49
- package/esm5/components/lookups/entities/e-420-icp-lookup.js +0 -63
- package/esm5/components/lookups/entities/e-420-ipc-lookup.js +0 -58
- package/esm5/components/lookups/entities/e-420-ocp-lookup.js +0 -52
- package/esm5/components/lookups/entities/e-501-tcp-lookup.js +0 -52
- package/esm5/components/lookups/entities/e-600-cco-lookup.js +0 -68
- package/esm5/components/lookups/entities/e-640-lot-lookup.js +0 -49
- package/esm5/components/lookups/entities/equipment-lookup.js +0 -49
- package/esm5/components/lookups/entities/erpx-cpl-dfe/dfe-evento-lookup.js +0 -161
- package/esm5/components/lookups/entities/erpx-cpl-itr-dere/atividade-financeira-lookup.js +0 -35
- package/esm5/components/lookups/entities/erpx-cpl-itr-dere/codigo-tributacao-lookup.js +0 -39
- package/esm5/components/lookups/entities/erpx-cpl-itr-dere/e-070-emp-dere-lookup.js +0 -63
- package/esm5/components/lookups/entities/erpx-cpl-itr-dere/processo-lookup.js +0 -31
- package/esm5/components/lookups/entities/erpx-cpl-itr-dere/unidade-federativa-lookup.js +0 -39
- package/esm5/components/lookups/entities/ind-operacao-fornecimento-lookup.js +0 -71
- package/esm5/components/lookups/entities/lei-complementar-1162003-lookup.js +0 -35
- package/esm5/components/lookups/entities/ligacao-item-fornecedor-lookup.js +0 -49
- package/esm5/components/lookups/entities/lista-servico-nacional-lookup.js +0 -37
- package/esm5/components/lookups/entities/natureza-receita-pis-cofins.lookup.js +0 -52
- package/esm5/components/lookups/entities/nbs-lookup.js +0 -35
- package/esm5/components/lookups/entities/ncm-lookup.js +0 -49
- package/esm5/components/lookups/entities/nota-fiscal-entrada-lookup.js +0 -30
- package/esm5/components/lookups/entities/operacoes-lookup.js +0 -64
- package/esm5/components/lookups/entities/origem-destino-lookup.js +0 -133
- package/esm5/components/lookups/entities/origem-mercadoria-lookup.js +0 -77
- package/esm5/components/lookups/entities/produtoServico-lookup.js +0 -49
- package/esm5/components/lookups/entities/qtd-disponivel-demanda-lookup.js +0 -49
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-001-end-lookup.js +0 -128
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-001-pes-lookup.js +0 -118
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-001-tns-lookup.js +0 -104
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-007-ufs-lookup.js +0 -60
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-008-rai-lookup.js +0 -64
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-015-med-lookup.js +0 -52
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-020-snf-lookup.js +0 -130
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-024-msg-lookup.js +0 -52
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-028-cpg-lookup.js +0 -56
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-032-edc-lookup.js +0 -52
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-051-dis-lookup.js +0 -52
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-066-fpg-lookup.js +0 -96
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-070-emp-lookup.js +0 -52
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-070-fil-lookup.js +0 -68
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-075-der-lookup.js +0 -60
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-e-080-ser-lookup.js +0 -60
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-natureza-receita-pis-cofins.js +0 -68
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-ncm-lookup.js +0 -64
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-nf-entrada-lookup.js +0 -87
- package/esm5/components/lookups/entities/replication-entities/cpl-tri-nota-saida-nf-saida-lookup.js +0 -87
- package/esm5/components/lookups/entities/requisicao-lookup.js +0 -40
- package/esm5/components/lookups/entities/segmento-lookup.js +0 -78
- package/esm5/components/lookups/entities/unidade-medida-lookup.js +0 -49
- package/esm5/components/lookups/entities/wizard-entities/bank-lookup.js +0 -49
- package/esm5/components/lookups/entities/wizard-entities/country-lookup.js +0 -55
- package/esm5/components/lookups/entities/wizard-entities/currency-lookup.js +0 -55
- package/esm5/components/lookups/entities/xt-integration/entity-person-product-lookup.js +0 -52
- package/esm5/components/lookups/erp-lookups.js +0 -437
- package/esm5/components/lookups/erp-lookups.module.js +0 -282
- package/esm5/components/lookups/erp-lookups.service.js +0 -86
- package/esm5/components/lookups/index.js +0 -134
- package/esm5/components/nps/index.js +0 -2
- package/esm5/components/nps/nps.service.js +0 -89
- package/esm5/components/nps/protocols/index.js +0 -1
- package/esm5/components/nps/protocols/tenant-full-dto.js +0 -1
- package/esm5/components/nps/protocols/token-senior-x.js +0 -1
- package/esm5/components/nps/protocols/tracksale-request.js +0 -1
- package/esm5/components/object-card/elements/field/object-card-field.component.js +0 -60
- package/esm5/components/object-card/elements/main/object-card-main.component.js +0 -167
- package/esm5/components/object-card/index.js +0 -5
- package/esm5/components/object-card/object-card.component.js +0 -144
- package/esm5/components/object-card/object-card.module.js +0 -25
- package/esm5/components/permissions/index.js +0 -4
- package/esm5/components/permissions/protocols/modules.enum.js +0 -14
- package/esm5/components/permissions/protocols/query-module.js +0 -1
- package/esm5/components/permissions/protocols/rec-modulo.js +0 -1
- package/esm5/components/permissions/verify-module-permission-service.js +0 -28
- package/esm5/components/permissions/verify-module-permission.js +0 -54
- package/esm5/components/permissions/verify-module-permissions-service.js +0 -28
- package/esm5/components/permissions/verify-module-permissions.js +0 -53
- package/esm5/components/polling/erp-polling.js +0 -35
- package/esm5/components/polling/index.js +0 -2
- package/esm5/components/shared/border-button/border-button.component.js +0 -25
- package/esm5/components/shared/border-button/border-button.module.js +0 -19
- package/esm5/components/shared/models/border-button-options.js +0 -1
- package/esm5/components/shared/models/enum-severity.js +0 -9
- package/esm5/components/storage/filters-storage.service.js +0 -166
- package/esm5/components/storage/index.js +0 -2
- package/esm5/components/storage/storage.service.js +0 -39
- package/esm5/components/thumbnail/index.js +0 -4
- package/esm5/components/thumbnail/thumbnail-size.js +0 -7
- package/esm5/components/thumbnail/thumbnail.component.js +0 -99
- package/esm5/components/thumbnail/thumbnail.module.js +0 -20
- package/esm5/components/thumbnail/thumbnail.service.js +0 -95
- package/esm5/components/utils/async-lock.js +0 -43
- package/esm5/components/utils/breakpoints.js +0 -11
- package/esm5/components/utils/export-utils.js +0 -78
- package/esm5/components/utils/form-utils.js +0 -212
- package/esm5/components/utils/http-status-code.js +0 -68
- package/esm5/components/utils/index.js +0 -7
- package/esm5/components/utils/lookup-validation-utils.js +0 -65
- package/esm5/components/utils/utils.module.js +0 -34
- package/esm5/components/websocket/index.js +0 -3
- package/esm5/components/websocket/models/index.js +0 -2
- package/esm5/components/websocket/models/primitive-manager.js +0 -54
- package/esm5/components/websocket/protocols/index.js +0 -1
- package/esm5/components/websocket/protocols/on-event-options.js +0 -1
- package/esm5/components/websocket/protocols/primitive-event.js +0 -1
- package/esm5/components/websocket/user-information.service.js +0 -38
- package/esm5/components/websocket/websocket.service.js +0 -419
- package/esm5/core/enums/enum-ana-sin.js +0 -6
- package/esm5/core/enums/enum-apl-cpg.js +0 -7
- package/esm5/core/enums/enum-apl-snf.js +0 -9
- package/esm5/core/enums/enum-difal-contribuinte.js +0 -11
- package/esm5/core/enums/enum-difal-nao-contribuinte.js +0 -6
- package/esm5/core/enums/enum-imposto-cadastro.js +0 -16
- package/esm5/core/enums/enum-nat-ctb.js +0 -7
- package/esm5/core/enums/enum-origem-mercadoria-imposto.js +0 -8
- package/esm5/core/enums/enum-perfil-tributario-segmento.js +0 -13
- package/esm5/core/enums/enum-pro-vei.js +0 -6
- package/esm5/core/enums/enum-situacao-caracteristica-fiscal.js +0 -6
- package/esm5/core/enums/enum-tip-crr.js +0 -10
- package/esm5/core/enums/enum-tip-ctb.js +0 -11
- package/esm5/core/enums/enum-tip-rod.js +0 -10
- package/esm5/core/enums/enum-tip-vei.js +0 -6
- package/esm5/core/enums/enum-tipo-origem.js +0 -7
- package/esm5/core/enums/erpx-cpl-dfe-eventos-fiscais-backend/enum-situacao-registro.js +0 -6
- package/esm5/core/enums/erpx-cpl-dfe-eventos-fiscais-backend/enum-tipo-evento.js +0 -18
- package/esm5/core/enums/erpx-cpl-imp-cadastros-backend/enum-situacao.js +0 -6
- package/esm5/core/enums/erpx-fnd-produto-backend/enum-sit-reg.js +0 -6
- package/esm5/locale/fallback.js +0 -79
- package/esm5/public-api.js +0 -13
- package/esm5/senior-gestao-empresarial-angular-components.js +0 -17
- package/esm5/utils/utils.js +0 -9
- package/fesm2015/senior-gestao-empresarial-angular-components.js +0 -9533
- package/fesm2015/senior-gestao-empresarial-angular-components.js.map +0 -1
- package/fesm5/senior-gestao-empresarial-angular-components.js +0 -10259
- package/fesm5/senior-gestao-empresarial-angular-components.js.map +0 -1
- package/locale/fallback.d.ts +0 -78
- package/senior-gestao-empresarial-angular-components.d.ts +0 -16
- package/senior-gestao-empresarial-angular-components.metadata.json +0 -1
- package/utils/utils.d.ts +0 -5
- /package/{core → lookups/lib/core}/enums/enum-ana-sin.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/enum-apl-cpg.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/enum-apl-snf.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/enum-difal-contribuinte.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/enum-difal-nao-contribuinte.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/enum-imposto-cadastro.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/enum-nat-ctb.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/enum-origem-mercadoria-imposto.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/enum-perfil-tributario-segmento.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/enum-pro-vei.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/enum-situacao-caracteristica-fiscal.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/enum-tip-crr.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/enum-tip-ctb.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/enum-tip-rod.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/enum-tip-vei.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/enum-tipo-origem.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/erpx-cpl-dfe-eventos-fiscais-backend/enum-situacao-registro.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/erpx-cpl-dfe-eventos-fiscais-backend/enum-tipo-evento.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/erpx-cpl-imp-cadastros-backend/enum-situacao.d.ts +0 -0
- /package/{core → lookups/lib/core}/enums/erpx-fnd-produto-backend/enum-sit-reg.d.ts +0 -0
- /package/{components/nps → nps/lib}/protocols/tenant-full-dto.d.ts +0 -0
- /package/{components/nps → nps/lib}/protocols/token-senior-x.d.ts +0 -0
- /package/{components → object-card/lib}/shared/models/enum-severity.d.ts +0 -0
- /package/{components/permissions → permissions/lib}/protocols/modules.enum.d.ts +0 -0
- /package/{components/thumbnail → thumbnail/lib}/thumbnail-size.d.ts +0 -0
- /package/{components/utils → utils/lib}/async-lock.d.ts +0 -0
- /package/{components/utils → utils/lib}/breakpoints.d.ts +0 -0
- /package/{components/utils → utils/lib}/http-status-code.d.ts +0 -0
- /package/{components/websocket → websocket/lib}/models/index.d.ts +0 -0
- /package/{components/websocket → websocket/lib}/protocols/index.d.ts +0 -0
- /package/{components/websocket → websocket/lib}/protocols/on-event-options.d.ts +0 -0
- /package/{components/websocket → websocket/lib}/protocols/primitive-event.d.ts +0 -0
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Component, Input, ViewChild, } from "@angular/core";
|
|
3
|
-
import { from, Subject } from "rxjs";
|
|
4
|
-
import { takeUntil } from "rxjs/operators";
|
|
5
|
-
import { ThumbnailSize } from "./thumbnail-size";
|
|
6
|
-
import { ThumbnailService } from "./thumbnail.service";
|
|
7
|
-
var ThumbnailComponent = /** @class */ (function () {
|
|
8
|
-
function ThumbnailComponent(thumbnailService) {
|
|
9
|
-
this.thumbnailService = thumbnailService;
|
|
10
|
-
this.fallback = false;
|
|
11
|
-
this.id = "s-thumbnail-" + ThumbnailComponent_1.getNextId();
|
|
12
|
-
this.size = ThumbnailSize.Medium;
|
|
13
|
-
this.iconClass = "far fa-image";
|
|
14
|
-
this.hasAction = false;
|
|
15
|
-
this.actionIconClass = "fas fa-camera";
|
|
16
|
-
this.isTile = false;
|
|
17
|
-
this.isBrand = false;
|
|
18
|
-
this.ngUnsubscribe = new Subject();
|
|
19
|
-
}
|
|
20
|
-
ThumbnailComponent_1 = ThumbnailComponent;
|
|
21
|
-
ThumbnailComponent.prototype.ngOnDestroy = function () {
|
|
22
|
-
this.ngUnsubscribe.next();
|
|
23
|
-
this.ngUnsubscribe.complete();
|
|
24
|
-
};
|
|
25
|
-
ThumbnailComponent.prototype.ngAfterViewInit = function () {
|
|
26
|
-
var _this = this;
|
|
27
|
-
if (this.imgEl) {
|
|
28
|
-
this.imgEl.nativeElement.addEventListener("load", function () {
|
|
29
|
-
from(_this.thumbnailService.getBinaryFile(_this.imgEl.nativeElement))
|
|
30
|
-
.pipe(takeUntil(_this.ngUnsubscribe))
|
|
31
|
-
.subscribe(function (orientation) { return (_this.orientation = orientation); });
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
ThumbnailComponent.getNextId = function () {
|
|
36
|
-
var id = ThumbnailComponent_1.nextId;
|
|
37
|
-
ThumbnailComponent_1.nextId++;
|
|
38
|
-
return id;
|
|
39
|
-
};
|
|
40
|
-
ThumbnailComponent.prototype.getImageAltText = function () {
|
|
41
|
-
var altText = this.imageAlt || '';
|
|
42
|
-
// Remove a palavra "image" ou "imagem" para evitar redundância
|
|
43
|
-
return altText.replace(/\bimage\b/gi, '').replace(/\bimagem\b/gi, '').trim();
|
|
44
|
-
};
|
|
45
|
-
ThumbnailComponent.prototype.onImageError = function () {
|
|
46
|
-
this.fallback = true;
|
|
47
|
-
};
|
|
48
|
-
ThumbnailComponent.prototype.onFallbackError = function () {
|
|
49
|
-
this.imageFallback = null;
|
|
50
|
-
};
|
|
51
|
-
var ThumbnailComponent_1;
|
|
52
|
-
ThumbnailComponent.nextId = 0;
|
|
53
|
-
ThumbnailComponent.ctorParameters = function () { return [
|
|
54
|
-
{ type: ThumbnailService }
|
|
55
|
-
]; };
|
|
56
|
-
__decorate([
|
|
57
|
-
ViewChild("img", { static: false })
|
|
58
|
-
], ThumbnailComponent.prototype, "imgEl", void 0);
|
|
59
|
-
__decorate([
|
|
60
|
-
Input()
|
|
61
|
-
], ThumbnailComponent.prototype, "id", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
Input()
|
|
64
|
-
], ThumbnailComponent.prototype, "size", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
Input()
|
|
67
|
-
], ThumbnailComponent.prototype, "imageSource", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
Input()
|
|
70
|
-
], ThumbnailComponent.prototype, "imageFallback", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
Input()
|
|
73
|
-
], ThumbnailComponent.prototype, "imageAlt", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
Input()
|
|
76
|
-
], ThumbnailComponent.prototype, "iconClass", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
Input()
|
|
79
|
-
], ThumbnailComponent.prototype, "hasAction", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
Input()
|
|
82
|
-
], ThumbnailComponent.prototype, "actionIconClass", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
Input()
|
|
85
|
-
], ThumbnailComponent.prototype, "isTile", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
Input()
|
|
88
|
-
], ThumbnailComponent.prototype, "isBrand", void 0);
|
|
89
|
-
ThumbnailComponent = ThumbnailComponent_1 = __decorate([
|
|
90
|
-
Component({
|
|
91
|
-
selector: "s-thumbnail",
|
|
92
|
-
template: "<div\n [id]=\"id\"\n class=\"thumbnail-container thumbnail-container--{{size}}\"\n [attr.title]=\"imageAlt || 'Thumbnail'\"\n [ngClass]=\"{\n 'thumbnail-container--with-action': hasAction,\n 'thumbnail-container--brand': isBrand\n }\">\n <div\n [id]=\"id + '-image-container'\"\n *ngIf=\"imageSource || imageFallback\"\n class=\"image-container\"\n [ngClass]=\"{\n 'image-container--rounded': !isBrand\n }\">\n <ng-container *ngIf=\"!fallback; else fallbackImage\">\n <ng-container *ngTemplateOutlet=\"imageTemplate; context: {\n imgId: id + '-image',\n imgSrc: imageSource,\n errorHandler: onImageError,\n titleText: imageAlt || 'Thumbnail'\n }\"></ng-container>\n </ng-container>\n\n <ng-template #fallbackImage>\n <ng-container *ngIf=\"imageFallback; else iconFallback\">\n <ng-container *ngTemplateOutlet=\"imageTemplate; context: {\n imgId: id + '-image-fallback',\n imgSrc: imageFallback,\n errorHandler: onFallbackError,\n titleText: imageAlt || 'Thumbnail fallback'\n }\"></ng-container>\n </ng-container>\n </ng-template>\n\n <ng-template #iconFallback>\n <i\n ngClass=\"far fa-image\"\n class=\"fallback-img-color\">\n </i>\n </ng-template>\n\n <ng-template\n #imageTemplate\n let-imgId=\"imgId\"\n let-imgSrc=\"imgSrc\"\n let-errorHandler=\"errorHandler\"\n let-titleText=\"titleText\">\n <img\n #img\n [id]=\"imgId\"\n (error)=\"errorHandler()\"\n [src]=\"imgSrc\"\n alt=\"\"\n [attr.alt]=\"getImageAltText()\"\n [attr.title]=\"titleText\"\n width=\"100%\"\n height=\"auto\"\n [ngClass]=\"{\n 'smallThumbnail': isTile,\n 'exif-orientation-2': orientation == 2,\n 'exif-orientation-3': orientation == 3,\n 'exif-orientation-4': orientation == 4,\n 'exif-orientation-5': orientation == 5,\n 'exif-orientation-6': orientation == 6,\n 'exif-orientation-7': orientation == 7,\n 'exif-orientation-8': orientation == 8\n }\"/>\n </ng-template>\n </div>\n <div\n [id]=\"id + '-action-icon-container'\"\n *ngIf=\"hasAction\"\n class=\"action-icon-container action-icon-container--{{size}}\">\n <span\n [id]=\"id + '-action-icon'\"\n [class]=\"actionIconClass\"\n aria-hidden=\"true\">\n </span>\n </div>\n <div\n [id]=\"id + '-icon-container'\"\n *ngIf=\"!imageSource && !imageFallback\"\n class=\"icon-container icon-container--{{size}}\"\n [ngClass]=\"{'image-container--rounded': !isBrand}\">\n <span\n [id]=\"id + '-icon'\"\n [class]=\"iconClass\"\n aria-hidden=\"true\">\n </span>\n </div>\n\n <ng-content></ng-content>\n</div>\n",
|
|
93
|
-
styles: [":host{display:inline-block}.thumbnail-container{color:#fff;position:relative;text-align:center}.thumbnail-container--large{font-size:50px;height:100px;width:100px}.thumbnail-container--large.thumbnail-container--brand{width:200px}.thumbnail-container--medium{font-size:40px;height:70px;width:70px}.thumbnail-container--medium.thumbnail-container--brand{width:140px}.thumbnail-container--small{font-size:22px;height:40px;width:40px}.thumbnail-container--small.thumbnail-container--brand{width:80px}.thumbnail-container--with-action{cursor:pointer}.action-icon-container{background-color:#428bca;border-radius:50%;bottom:0;position:absolute;right:0}.action-icon-container--large,.action-icon-container--medium{font-size:10pt;height:25px;padding:3px;width:25px}.action-icon-container--small{font-size:6pt;height:16px;padding:2px;width:16px}.icon-container,.image-container{-ms-flex-align:center;align-items:center;height:100%;overflow:hidden;width:100%}.icon-container--rounded,.image-container--rounded{border-radius:50%}.smallThumbnail{height:40px!important}.icon-container{background-color:#ccc;color:#fff}.icon-container--large{line-height:98px}.icon-container--medium{line-height:68px}.icon-container--small{line-height:38px}.image-container{-ms-flex-align:center;align-items:center;background-color:#ccc;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.image-container img{width:100%}.image-container img.exif-orientation-2{transform:rotateY(180deg)}.image-container img.exif-orientation-3{transform:rotate(180deg)}.image-container img.exif-orientation-4{transform:rotate(180deg) rotateY(180deg)}.image-container img.exif-orientation-5{transform:rotate(270deg) rotateY(180deg)}.image-container img.exif-orientation-6{transform:rotate(90deg)}.image-container img.exif-orientation-7{transform:rotate(90deg) rotateY(180deg)}.image-container img.exif-orientation-8{transform:rotate(270deg)}.fallback-img-color{color:#fff}"]
|
|
94
|
-
})
|
|
95
|
-
], ThumbnailComponent);
|
|
96
|
-
return ThumbnailComponent;
|
|
97
|
-
}());
|
|
98
|
-
export { ThumbnailComponent };
|
|
99
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGh1bWJuYWlsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BzZW5pb3ItZ2VzdGFvLWVtcHJlc2FyaWFsL2FuZ3VsYXItY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvdGh1bWJuYWlsL3RodW1ibmFpbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFFSCxTQUFTLEVBRVQsS0FBSyxFQUNMLFNBQVMsR0FFWixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsSUFBSSxFQUFFLE9BQU8sRUFB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m5leHRJZDtcbiAgICAgICAgVGh1bWJuYWlsQ29tcG9uZW50Lm5leHRJZCsrO1xuICAgICAgICByZXR1cm4gaWQ7XG4gICAgfVxuXG4gICAgcHVibGljIGdldEltYWdlQWx0VGV4dCgpOiBzdHJpbmcge1xuICAgICAgICBjb25zdCBhbHRUZXh0ID0gdGhpcy5pbWFnZUFsdCB8fCAnJztcbiAgICAgICAgLy8gUmVtb3ZlIGEgcGFsYXZyYSBcImltYWdlXCIgb3UgXCJpbWFnZW1cIiBwYXJhIGV2aXRhciByZWR1bmTDom5jaWFcbiAgICAgICAgcmV0dXJuIGFsdFRleHQucmVwbGFjZSgvXFxiaW1hZ2VcXGIvZ2ksICcnKS5yZXBsYWNlKC9cXGJpbWFnZW1cXGIvZ2ksICcnKS50cmltKCk7XG4gICAgfVxuXG4gICAgcHVibGljIG9uSW1hZ2VFcnJvcigpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5mYWxsYmFjayA9IHRydWU7XG4gICAgfVxuXG4gICAgcHVibGljIG9uRmFsbGJhY2tFcnJvcigpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5pbWFnZUZhbGxiYWNrID0gbnVsbDtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { CommonModule } from "@angular/common";
|
|
3
|
-
import { NgModule } from "@angular/core";
|
|
4
|
-
import { ThumbnailComponent } from "./thumbnail.component";
|
|
5
|
-
import { ThumbnailService } from "./thumbnail.service";
|
|
6
|
-
var ThumbnailModule = /** @class */ (function () {
|
|
7
|
-
function ThumbnailModule() {
|
|
8
|
-
}
|
|
9
|
-
ThumbnailModule = __decorate([
|
|
10
|
-
NgModule({
|
|
11
|
-
imports: [CommonModule],
|
|
12
|
-
declarations: [ThumbnailComponent],
|
|
13
|
-
exports: [ThumbnailComponent],
|
|
14
|
-
providers: [ThumbnailService],
|
|
15
|
-
})
|
|
16
|
-
], ThumbnailModule);
|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1xuXG5pbXBvcnQgeyBUaHVtYm5haWxDb21wb25lbnQgfSBmcm9tIFwiLi90aHVtYm5haWwuY29tcG9uZW50XCI7XG5pbXBvcnQgeyBUaHVtYm5haWxTZXJ2aWNlIH0gZnJvbSBcIi4vdGh1bWJuYWlsLnNlcnZpY2VcIjtcblxuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtUaHVtYm5haWxDb21wb25lbnRdLFxuICAgIGV4cG9ydHM6IFtUaHVtYm5haWxDb21wb25lbnRdLFxuICAgIHByb3ZpZGVyczogW1RodW1ibmFpbFNlcnZpY2VdLFxufSlcbmV4cG9ydCBjbGFzcyBUaHVtYm5haWxNb2R1bGUge31cbiJdfQ==
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Injectable } from "@angular/core";
|
|
3
|
-
var ThumbnailService = /** @class */ (function () {
|
|
4
|
-
function ThumbnailService() {
|
|
5
|
-
}
|
|
6
|
-
ThumbnailService_1 = ThumbnailService;
|
|
7
|
-
ThumbnailService.prototype.getBinaryFile = function (img) {
|
|
8
|
-
var _this = this;
|
|
9
|
-
return new Promise(function (resolve) {
|
|
10
|
-
var getOrientation = _this.getOrientation.bind(_this);
|
|
11
|
-
var http = new XMLHttpRequest();
|
|
12
|
-
http.addEventListener("load", function () {
|
|
13
|
-
if (http.readyState === 4 && (http.status === ThumbnailService_1.HTTP_STATUS_OK || http.status === 0)) {
|
|
14
|
-
var orientation_1 = getOrientation(http.response);
|
|
15
|
-
http = null;
|
|
16
|
-
resolve(orientation_1);
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
http.addEventListener("error", function () {
|
|
20
|
-
http = null;
|
|
21
|
-
throw new Error("Não foi possível carregar a imagem");
|
|
22
|
-
});
|
|
23
|
-
http.open("GET", img.src, true);
|
|
24
|
-
http.responseType = "arraybuffer";
|
|
25
|
-
http.send(null);
|
|
26
|
-
});
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Retorna a tag da orientação EXIF {-1} Não definido, {-2} Não é formato JPEG, {1, 2, 3, 4, 5, 6, 7, 8} valores da orientação.
|
|
30
|
-
*/
|
|
31
|
-
ThumbnailService.prototype.getOrientation = function (file) {
|
|
32
|
-
var view = new DataView(file);
|
|
33
|
-
if (view.getUint16(0, false) !== ThumbnailService_1.JPEG_MARKER) {
|
|
34
|
-
return ThumbnailService_1.NOT_JPEG;
|
|
35
|
-
}
|
|
36
|
-
var length = view.byteLength;
|
|
37
|
-
var offset = ThumbnailService_1.INITIAL_OFFSET;
|
|
38
|
-
while (offset < length) {
|
|
39
|
-
var marker = view.getUint16(offset, false);
|
|
40
|
-
offset += ThumbnailService_1.INITIAL_OFFSET;
|
|
41
|
-
if (marker === ThumbnailService_1.EXIF_MARKER) {
|
|
42
|
-
var orientation_2 = this.extractOrientationFromExif(view, offset);
|
|
43
|
-
if (orientation_2 !== null) {
|
|
44
|
-
return orientation_2;
|
|
45
|
-
}
|
|
46
|
-
return ThumbnailService_1.NOT_DEFINED;
|
|
47
|
-
}
|
|
48
|
-
// tslint:disable-next-line: no-bitwise
|
|
49
|
-
if ((marker & ThumbnailService_1.MARKER_MASK) !== ThumbnailService_1.MARKER_MASK) {
|
|
50
|
-
break;
|
|
51
|
-
}
|
|
52
|
-
offset += view.getUint16(offset, false);
|
|
53
|
-
}
|
|
54
|
-
return ThumbnailService_1.NOT_DEFINED;
|
|
55
|
-
};
|
|
56
|
-
ThumbnailService.prototype.extractOrientationFromExif = function (view, initialOffset) {
|
|
57
|
-
var offset = initialOffset;
|
|
58
|
-
offset += ThumbnailService_1.INITIAL_OFFSET;
|
|
59
|
-
if (view.getUint32(offset, false) !== ThumbnailService_1.EXIF_SIGNATURE) {
|
|
60
|
-
return null;
|
|
61
|
-
}
|
|
62
|
-
offset += ThumbnailService_1.EXIF_OFFSET;
|
|
63
|
-
var little = view.getUint16(offset, false) === ThumbnailService_1.LITTLE_ENDIAN_MARKER;
|
|
64
|
-
offset += view.getUint32(offset + 4, little);
|
|
65
|
-
var tags = view.getUint16(offset, little);
|
|
66
|
-
offset += ThumbnailService_1.INITIAL_OFFSET;
|
|
67
|
-
for (var i = 0; i < tags; i++) {
|
|
68
|
-
var tagOffset = offset + i * ThumbnailService_1.TAG_SIZE;
|
|
69
|
-
if (view.getUint16(tagOffset, little) === ThumbnailService_1.ORIENTATION_TAG) {
|
|
70
|
-
return view.getUint16(tagOffset + ThumbnailService_1.TAG_VALUE_OFFSET, little);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
return null;
|
|
74
|
-
};
|
|
75
|
-
var ThumbnailService_1;
|
|
76
|
-
ThumbnailService.HTTP_STATUS_OK = 200;
|
|
77
|
-
ThumbnailService.JPEG_MARKER = 0xffd8;
|
|
78
|
-
ThumbnailService.EXIF_MARKER = 0xffe1;
|
|
79
|
-
ThumbnailService.EXIF_SIGNATURE = 0x45786966;
|
|
80
|
-
ThumbnailService.LITTLE_ENDIAN_MARKER = 0x4949;
|
|
81
|
-
ThumbnailService.ORIENTATION_TAG = 0x0112;
|
|
82
|
-
ThumbnailService.MARKER_MASK = 0xff00;
|
|
83
|
-
ThumbnailService.NOT_DEFINED = -1;
|
|
84
|
-
ThumbnailService.NOT_JPEG = -2;
|
|
85
|
-
ThumbnailService.INITIAL_OFFSET = 2;
|
|
86
|
-
ThumbnailService.EXIF_OFFSET = 6;
|
|
87
|
-
ThumbnailService.TAG_SIZE = 12;
|
|
88
|
-
ThumbnailService.TAG_VALUE_OFFSET = 8;
|
|
89
|
-
ThumbnailService = ThumbnailService_1 = __decorate([
|
|
90
|
-
Injectable()
|
|
91
|
-
], ThumbnailService);
|
|
92
|
-
return ThumbnailService;
|
|
93
|
-
}());
|
|
94
|
-
export { ThumbnailService };
|
|
95
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGh1bWJuYW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9PRkZTRVQgPSA4O1xuXG4gICAgcHVibGljIGdldEJpbmFyeUZpbGUoaW1nOiBIVE1MSW1hZ2VFbGVtZW50KSB7XG4gICAgICAgIHJldHVybiBuZXcgUHJvbWlzZShyZXNvbHZlID0+IHtcbiAgICAgICAgICAgIGNvbnN0IGdldE9yaWVudGF0aW9uID0gdGhpcy5nZXRPcmllbnRhdGlvbi5iaW5kKHRoaXMpO1xuXG4gICAgICAgICAgICBsZXQgaHR0cCA9IG5ldyBYTUxIdHRwUmVxdWVzdCgpO1xuICAgICAgICAgICAgaHR0cC5hZGRFdmVudExpc3RlbmVyKFwibG9hZFwiLCAoKSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKGh0dHAucmVhZHlTdGF0ZSA9PT0gNCAmJiAoaHR0cC5zdGF0dXMgPT09IFRodW1ibmFpbFNlcnZpY2UuSFRUUF9TVEFUVVNfT0sgfHwgaHR0cC5zdGF0dXMgPT09IDApKSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IG9yaWVudGF0aW9uID0gZ2V0T3JpZW50YXRpb24oaHR0cC5yZXNwb25zZSk7XG4gICAgICAgICAgICAgICAgICAgIGh0dHAgPSBudWxsO1xuICAgICAgICAgICAgICAgICAgICByZXNvbHZlKG9yaWVudGF0aW9uKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9KTtcblxuICAgICAgICAgICAgaHR0cC5hZGRFdmVudExpc3RlbmVyKFwiZXJyb3JcIiwgKCkgPT4ge1xuICAgICAgICAgICAgICAgIGh0dHAgPSBudWxsO1xuICAgICAgICAgICAgICAgIHRocm93IG5ldyBFcnJvcihcIk7Do28gZm9pIHBvc3PDrXZlbCBjYXJyZWdhciBhIGltYWdlbVwiKTtcbiAgICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgICBodHRwLm9wZW4oXCJHRVRcIiwgaW1nLnNyYywgdHJ1ZSk7XG4gICAgICAgICAgICBodHRwLnJlc3BvbnNlVHlwZSA9IFwiYXJyYX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vZmZzZXQpO1xuICAgICAgICAgICAgICAgIGlmIChvcmllbnRhdGlvbiAhPT0gbnVsbCkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gb3JpZW50YXRpb247XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIHJldHVybiBUaHVtYm5haWxTZXJ2aWNlLk5PVF9ERUZJTkVEO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAvLyB0c2xpbnQ6ZGlzYWJsZS1uZXh0LWxpbmU6IG5vLWJpdHdpc2VcbiAgICAgICAgICAgIGlmICgobWFya2VyICYgVGh1bWJuYWlsU2VydmljZS5NQVJLRVJfTUFTSykgIT09IFRodW1ibmFpbFNlcnZpY2UuTUFSS0VSX01BU0spIHtcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgb2Zmc2V0ICs9IHZpZXcuZ2V0VWludDE2KG9mZnNldCwgZmFsc2UpO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBUaHVtYm5haWxTZXJ2aWNlLk5PVF9ERUZJTkVEO1xuICAgIH1cblxuICAgIHByaXZhdGUgZXh0cmFjdE9yaWVudGF0aW9uRnJvbUV4aWYodmlldzogRGF0YVZpZXcsIGluaXRpYWxPZmZzZXQ6IG51bWJlcik6IG51bWJlciB8IG51bGwge1xuICAgICAgICBsZXQgb2Zmc2V0ID0gaW5pdGlhbE9mZnNldDtcbiAgICAgICAgb2Zmc2V0ICs9IFRodW1ibmFpbFNlcnZpY2UuSU5JVElBTF9PRkZTRVQ7XG5cbiAgICAgICAgaWYgKHZpZXcuZ2V0VWludDMyKG9mZnNldCwgZmFsc2UpICE9PSBUaHVtYm5haWxTZXJ2aWNlLkVYSUZfU0lHTkFUVVJFKSB7XG4gICAgICAgICAgICByZXR1cm4gbnVsbDtcbiAgICAgICAgfVxuXG4gICAgICAgIG9mZnNldCArPSBUaHVtYm5haWxTZXJ2aWNlLkVYSUZfT0ZGU0VUO1xuICAgICAgICBjb25zdCBsaXR0bGUgPSB2aWV3LmdldFVpbnQxNihvZmZzZXQsIGZhbHNlKSA9PT0gVGh1bWJuYWlsU2VydmljZS5MSVRUTEVfRU5ESUFOX01BUktFUjtcbiAgICAgICAgb2Zmc2V0ICs9IHZpZXcuZ2V0VWludDMyKG9mZnNldCArIDQsIGxpdHRsZSk7XG4gICAgICAgIGNvbnN0IHRhZ3MgPSB2aWV3LmdldFVpbnQxNihvZmZzZXQsIGxpdHRsZSk7XG4gICAgICAgIG9mZnNldCArPSBUaHVtYm5haWxTZXJ2aWNlLklOSVRJQUxfT0ZGU0VUO1xuXG4gICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgdGFnczsgaSsrKSB7XG4gICAgICAgICAgICBjb25zdCB0YWdPZmZzZXQgPSBvZmZzZXQgKyBpICogVGh1bWJuYWlsU2VydmljZS5UQUdfU0laRTtcbiAgICAgICAgICAgIGlmICh2aWV3LmdldFVpbnQxNih0YWdPZmZzZXQsIGxpdHRsZSkgPT09IFRodW1ibmFpbFNlcnZpY2UuT1JJRU5UQVRJT05fVEFHKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHZpZXcuZ2V0VWludDE2KHRhZ09mZnNldCArIFRodW1ibmFpbFNlcnZpY2UuVEFHX1ZBTFVFX09GRlNFVCwgbGl0dGxlKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiBudWxsO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { __awaiter, __generator } from "tslib";
|
|
2
|
-
var AsyncLock = /** @class */ (function () {
|
|
3
|
-
function AsyncLock() {
|
|
4
|
-
this.queue = [];
|
|
5
|
-
this.acquired = false;
|
|
6
|
-
}
|
|
7
|
-
AsyncLock.prototype.acquire = function () {
|
|
8
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
9
|
-
var _this = this;
|
|
10
|
-
return __generator(this, function (_a) {
|
|
11
|
-
if (!this.acquired) {
|
|
12
|
-
this.acquired = true;
|
|
13
|
-
return [2 /*return*/, Promise.resolve()];
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
return [2 /*return*/, new Promise(function (resolve, _) {
|
|
17
|
-
_this.queue.push(resolve);
|
|
18
|
-
})];
|
|
19
|
-
}
|
|
20
|
-
return [2 /*return*/];
|
|
21
|
-
});
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
AsyncLock.prototype.release = function () {
|
|
25
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
26
|
-
var continuation;
|
|
27
|
-
return __generator(this, function (_a) {
|
|
28
|
-
if (this.queue.length === 0 && this.acquired) {
|
|
29
|
-
this.acquired = false;
|
|
30
|
-
return [2 /*return*/, Promise.resolve()];
|
|
31
|
-
}
|
|
32
|
-
continuation = this.queue.shift();
|
|
33
|
-
return [2 /*return*/, new Promise(function (res) {
|
|
34
|
-
continuation();
|
|
35
|
-
res();
|
|
36
|
-
})];
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
};
|
|
40
|
-
return AsyncLock;
|
|
41
|
-
}());
|
|
42
|
-
export { AsyncLock };
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXN5bmMtbG9jay5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BzZW5pb3ItZ2VzdGFvLWVtcHJlc2FyaWFsL2FuZ3VsYXItY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvdXRpbHMvYXN5bmMtbG9jay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBRUE7SUFBQTtRQUNxQixVQUFLLEdBQWdCLEVBQUUsQ0FBQztRQUNqQyxhQUFRLEdBQUcsS0FBSyxDQUFDO0lBeUI3QixDQUFDO0lBdkJnQiwyQkFBTyxHQUFwQjs7OztnQkFDSSxJQUFJLENBQUMsSUFBSSxDQUFDLFFBQVEsRUF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kPiB7XG4gICAgICAgIGlmICghdGhpcy5hY3F1aXJlZCkge1xuICAgICAgICAgICAgdGhpcy5hY3F1aXJlZCA9IHRydWU7XG4gICAgICAgICAgICByZXR1cm4gUHJvbWlzZS5yZXNvbHZlKCk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICByZXR1cm4gbmV3IFByb21pc2U8dm9pZD4oKHJlc29sdmUsIF8pID0+IHtcbiAgICAgICAgICAgICAgdGhpcy5xdWV1ZS5wdXNoKHJlc29sdmUpO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBwdWJsaWMgYXN5bmMgcmVsZWFzZSgpOiBQcm9taXNlPHZvaWQ+IHtcbiAgICAgICAgaWYgKHRoaXMucXVldWUubGVuZ3RoID09PSAwICYmIHRoaXMuYWNxdWlyZWQpIHtcbiAgICAgICAgICAgIHRoaXMuYWNxdWlyZWQgPSBmYWxzZTtcbiAgICAgICAgICAgcmV0dXJuIFByb21pc2UucmVzb2x2ZSgpO1xuICAgICAgICB9XG5cbiAgICAgICAgY29uc3QgY29udGludWF0aW9uID0gdGhpcy5xdWV1ZS5zaGlmdCgpO1xuICAgICAgICByZXR1cm4gbmV3IFByb21pc2UoKHJlczogUXVldWVJdGVtKSA9PiB7XG4gICAgICAgICAgICBjb250aW51YXRpb24oKTtcbiAgICAgICAgICAgIHJlcygpO1xuICAgICAgICB9KTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export var Breakpoints = {
|
|
2
|
-
SM_MIN: 0,
|
|
3
|
-
SM_MAX: 640,
|
|
4
|
-
MD_MIN: 641,
|
|
5
|
-
MD_MAX: 1024,
|
|
6
|
-
LG_MIN: 1025,
|
|
7
|
-
LG_MAX: 1440,
|
|
8
|
-
XL_MIN: 1441,
|
|
9
|
-
XL_MAX: Infinity,
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWtwb2ludHMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9Ac2VuaW9yLWdlc3Rhby1lbXByZXNhcmlhbC9hbmd1bGFyLWNvbXBvbmVudHMvIiwic291cmNlcyI6WyJjb21wb25lbnRzL3V0aWxzL2JyZWFrcG9pbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxJQUFNLFdBQVcsR0FBRztJQUN2QixNQUFNLEVBQUUsQ0FBQztJQUNULE1BQU0sRUFBRSxHQUFHO0lBQ1gsTUFBTSxFQUFFLEdBQUc7SUFDWCxNQUFNLEVBQUUsSUFBSTtJQUNaLE1BQU0sRUFBRSxJQUFJO0lBQ1osTUFBTSxFQUFFLElBQUk7SUFDWixNQUFNLEVBQUUsSUFBSTtJQUNaLE1BQU0sRUFBRSxRQUFRO0NBQ25CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgQnJlYWtwb2ludHMgPSB7XG4gICAgU01fTUlOOiAwLFxuICAgIFNNX01BWDogNjQwLFxuICAgIE1EX01JTjogNjQxLFxuICAgIE1EX01BWDogMTAyNCxcbiAgICBMR19NSU46IDEwMjUsXG4gICAgTEdfTUFYOiAxNDQwLFxuICAgIFhMX01JTjogMTQ0MSxcbiAgICBYTF9NQVg6IEluZmluaXR5LFxufTtcbiJdfQ==
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
var ExportUtils = /** @class */ (function () {
|
|
2
|
-
function ExportUtils() {
|
|
3
|
-
throw new Error("Classe não deve ser instanciada.");
|
|
4
|
-
}
|
|
5
|
-
ExportUtils.exportCSV = function (columns, data, csvSeparator, documentName) {
|
|
6
|
-
var _this = this;
|
|
7
|
-
if (columns === void 0) { columns = []; }
|
|
8
|
-
if (data === void 0) { data = []; }
|
|
9
|
-
if (csvSeparator === void 0) { csvSeparator = ";"; }
|
|
10
|
-
if (documentName === void 0) { documentName = "download"; }
|
|
11
|
-
var csv = "\ufeff";
|
|
12
|
-
columns.filter(function (column) { return column.exportable && column.field; }).forEach(function (column, i) {
|
|
13
|
-
csv += "\"" + (column.header || column.field) + "\"";
|
|
14
|
-
if (i < columns.length - 1)
|
|
15
|
-
csv += csvSeparator;
|
|
16
|
-
});
|
|
17
|
-
data.forEach(function (record) {
|
|
18
|
-
csv += "\n";
|
|
19
|
-
columns.filter(function (column) { return column.exportable && column.field; }).forEach(function (column, i) {
|
|
20
|
-
var cellData = _this.resolveFieldData(record, column.field);
|
|
21
|
-
if (cellData != null)
|
|
22
|
-
cellData = String(cellData).replace(/"/g, "\"\"");
|
|
23
|
-
else
|
|
24
|
-
cellData = "";
|
|
25
|
-
csv += "\"" + cellData + "\"";
|
|
26
|
-
if (i < columns.length - 1)
|
|
27
|
-
csv += csvSeparator;
|
|
28
|
-
});
|
|
29
|
-
});
|
|
30
|
-
var blob = new Blob([csv], {
|
|
31
|
-
type: "text/csv;charset=utf-8;",
|
|
32
|
-
});
|
|
33
|
-
if (window.navigator.msSaveOrOpenBlob)
|
|
34
|
-
navigator.msSaveOrOpenBlob(blob, documentName + ".csv");
|
|
35
|
-
else {
|
|
36
|
-
var link = document.createElement("a");
|
|
37
|
-
link.style.display = "none";
|
|
38
|
-
document.body.appendChild(link);
|
|
39
|
-
if (link.download !== undefined) {
|
|
40
|
-
link.setAttribute("href", URL.createObjectURL(blob));
|
|
41
|
-
link.setAttribute("download", documentName + ".csv");
|
|
42
|
-
link.click();
|
|
43
|
-
}
|
|
44
|
-
else {
|
|
45
|
-
csv = "data:text/csv;charset=utf-8," + csv;
|
|
46
|
-
window.open(encodeURI(csv));
|
|
47
|
-
}
|
|
48
|
-
document.body.removeChild(link);
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
ExportUtils.resolveFieldData = function (data, field) {
|
|
52
|
-
if (data && field) {
|
|
53
|
-
if (this.isFunction(field))
|
|
54
|
-
return field(data);
|
|
55
|
-
else if (field.indexOf(".") == -1)
|
|
56
|
-
return data[field];
|
|
57
|
-
else {
|
|
58
|
-
var fields = field.split(".");
|
|
59
|
-
var value = data;
|
|
60
|
-
for (var i = 0, len = fields.length; i < len; ++i) {
|
|
61
|
-
if (value == null) {
|
|
62
|
-
return null;
|
|
63
|
-
}
|
|
64
|
-
value = value[fields[i]];
|
|
65
|
-
}
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
else
|
|
70
|
-
return null;
|
|
71
|
-
};
|
|
72
|
-
ExportUtils.isFunction = function (obj) {
|
|
73
|
-
return !!(obj && obj.constructor && obj.call && obj.apply);
|
|
74
|
-
};
|
|
75
|
-
return ExportUtils;
|
|
76
|
-
}());
|
|
77
|
-
export { ExportUtils };
|
|
78
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwb3J0LXV0aWxzLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHNlbmlvci1nZXN0YW8tZW1wcmVzYXJpYWwvYW5ndWxhci1jb21wb25lbnRzLyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy91dGlscy9leHBvcnQtdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0E7SUFDSTtRQUNJLE1BQU0sSUFBSSxLQUFLLENBQUMsa0NBQWtDLENBQUMsQ0FBQztJQUN4RCxDQUFDO0lBRWEscUJBQVMsR0FBdkIsVUFDSSxPQUE0QixFQUM1QixJQUFnQixFQUNoQixZQUEwQixFQUMxQixZQUFpQztRQUpyQyxpQkFnREM7UUEvQ0csd0JBQUEsRUFBQSxZQUE0QjtRQUM1QixxQkFBQSxFQUFBLFNBQWdCO1FBQ2hCLDZCQUFBLEVBQUEsa0JBQTBCO1FBQzFCLDZCQUFBLEVBQUEseUJBQWlDO1FBRWpDLElBQUksR0FBRyxHQUFHLFFBQVEsQ0FBQztRQUVuQixPQUFPLENBQUMsTUFBTSxDQUFDLFVBQUMsTUFBVyxJQUFLLE9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YWRcIiwgZG9jdW1lbnROYW1lICsgXCIuY3N2XCIpO1xuICAgICAgICAgICAgICAgIGxpbmsuY2xpY2soKTtcbiAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgY3N2ID0gXCJkYXRhOnRleHQvY3N2O2NoYXJzZXQ9dXRmLTgsXCIgKyBjc3Y7XG4gICAgICAgICAgICAgICAgd2luZG93Lm9wZW4oZW5jb2RlVVJJKGNzdikpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgZG9jdW1lbnQuYm9keS5yZW1vdmVDaGlsZChsaW5rKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHByaXZhdGUgc3RhdGljIHJlc29sdmVGaWVsZERhdGEoZGF0YTogYW55LCBmaWVsZDogYW55KTogYW55IHtcbiAgICAgICAgaWYgKGRhdGEgJiYgZmllbGQpIHtcbiAgICAgICAgICAgIGlmICh0aGlzLmlzRnVuY3Rpb24oZmllbGQpKSByZXR1cm4gZmllbGQoZGF0YSk7XG4gICAgICAgICAgICBlbHNlIGlmIChmaWVsZC5pbmRleE9mKFwiLlwiKSA9PSAtMSkgcmV0dXJuIGRhdGFbZmllbGRdO1xuICAgICAgICAgICAgZWxzZSB7XG4gICAgICAgICAgICAgICAgY29uc3QgZmllbGRzOiBzdHJpbmdbXSA9IGZpZWxkLnNwbGl0KFwiLlwiKTtcbiAgICAgICAgICAgICAgICBsZXQgdmFsdWUgPSBkYXRhO1xuICAgICAgICAgICAgICAgIGZvciAobGV0IGkgPSAwLCBsZW4gPSBmaWVsZHMubGVuZ3RoOyBpIDwgbGVuOyArK2kpIHtcbiAgICAgICAgICAgICAgICAgICAgaWYgKHZhbHVlID09IG51bGwpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIHZhbHVlID0gdmFsdWVbZmllbGRzW2ldXTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgcmV0dXJuIHZhbHVlO1xuICAgICAgICAgICAgfVxuICAgICAgICB9IGVsc2UgcmV0dXJuIG51bGw7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBzdGF0aWMgaXNGdW5jdGlvbihvYmo6IGFueSkge1xuICAgICAgICByZXR1cm4gISEob2JqICYmIG9iai5jb25zdHJ1Y3RvciAmJiBvYmouY2FsbCAmJiBvYmouYXBwbHkpO1xuICAgIH1cbn1cbiJdfQ==
|