ng-pli-commons 0.0.1908 → 1.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/esm2022/lib/components/backoffice.commons.component.mjs +40 -0
- package/esm2022/lib/components/common.lists.component.mjs +194 -0
- package/{esm2020 → esm2022}/lib/components/configuration-token/configuration-token-subject.service.mjs +23 -23
- package/esm2022/lib/components/configuration-token/configuration-token.component.mjs +665 -0
- package/esm2022/lib/components/configuration-token/guarantee-token/guarantee-token.component.mjs +103 -0
- package/esm2022/lib/components/configuration-token/snapshot-token/snapshot-token.component.mjs +108 -0
- package/esm2022/lib/components/configuration.commons.component.mjs +40 -0
- package/{esm2020 → esm2022}/lib/components/dashboard.commons.component.mjs +84 -84
- package/esm2022/lib/components/dynamic-filter/dynamic-filter.component.mjs +131 -0
- package/esm2022/lib/components/excel-to-json/excel-to-json.component.mjs +54 -0
- package/esm2022/lib/components/frontoffice.commons.component.mjs +86 -0
- package/esm2022/lib/components/pdf-analyzer/pdf-analyzer.component.mjs +162 -0
- package/{esm2020 → esm2022}/lib/components/pdf-config/pdf-config.component.mjs +170 -170
- package/esm2022/lib/components/pdf-generator/pdf-generator.component.mjs +223 -0
- package/esm2022/lib/components/pdf-merge-visualizer/pdf-merge-visualizer.component.mjs +307 -0
- package/esm2022/lib/components/pdf-visualizer/pdf-visualizer.component.mjs +387 -0
- package/esm2022/lib/components/progress-bar/progress-bar.component.mjs +92 -0
- package/esm2022/lib/components/segmentation-tokens/segmentation-tokens.component.mjs +199 -0
- package/esm2022/lib/components/select-ppp/select-ppp.component.mjs +199 -0
- package/esm2022/lib/components/show-hide-columns/show-hide-columns-table.component.mjs +116 -0
- package/esm2022/lib/components/token/token.component.mjs +1006 -0
- package/esm2022/lib/components/tokens-calculator/tokens-calculator.component.mjs +128 -0
- package/{esm2020 → esm2022}/lib/directives/currency-colfuturo-formatter.directive.mjs +47 -47
- package/{esm2020 → esm2022}/lib/directives/currency-decimal-colfuturo-formatter.directive.mjs +34 -34
- package/esm2022/lib/ng-pli-commons.module.mjs +387 -0
- package/{esm2020 → esm2022}/lib/ng-pli-commons.service.mjs +14 -14
- package/esm2022/lib/pipes/currency-colfuturo.pipe.mjs +35 -0
- package/{esm2020 → esm2022}/lib/pipes/currency-decimal-colfuturo.pipe.mjs +36 -36
- package/{esm2020 → esm2022}/lib/pipes/currency-print-colfuturo.pipe.mjs +33 -33
- package/esm2022/lib/pipes/thousands.pipe.mjs +60 -0
- package/{esm2020 → esm2022}/lib/services/application-fill-percentage.service.mjs +30 -30
- package/{esm2020 → esm2022}/lib/services/application-tag.service.mjs +56 -56
- package/{esm2020 → esm2022}/lib/services/application.service.mjs +247 -247
- package/esm2022/lib/services/authentication.service.mjs +133 -0
- package/{esm2020 → esm2022}/lib/services/blocked-beneficiary.service.mjs +42 -42
- package/esm2022/lib/services/budget-application.service.mjs +265 -0
- package/{esm2020 → esm2022}/lib/services/budget-simulation.service.mjs +61 -61
- package/esm2022/lib/services/budget.service.mjs +205 -0
- package/{esm2020 → esm2022}/lib/services/closure-wallet.service.mjs +39 -39
- package/{esm2020 → esm2022}/lib/services/cnf-correspondence-document-manager.service.mjs +39 -39
- package/{esm2020 → esm2022}/lib/services/committee-money.service.mjs +44 -44
- package/{esm2020 → esm2022}/lib/services/committee-pdf.service.mjs +27 -27
- package/{esm2020 → esm2022}/lib/services/committee-snapshot.service.mjs +60 -60
- package/{esm2020 → esm2022}/lib/services/common-info.service.mjs +51 -51
- package/esm2022/lib/services/common.service.mjs +291 -0
- package/esm2022/lib/services/configuration-document.service.mjs +297 -0
- package/{esm2020 → esm2022}/lib/services/configuration-minisite.service.mjs +26 -26
- package/{esm2020 → esm2022}/lib/services/configuration.service.mjs +53 -53
- package/{esm2020 → esm2022}/lib/services/correspondence-document-category.service.mjs +31 -31
- package/{esm2020 → esm2022}/lib/services/correspondence-manager.service.mjs +67 -67
- package/{esm2020 → esm2022}/lib/services/credit-score.service.mjs +48 -48
- package/{esm2020 → esm2022}/lib/services/credit-study.service.mjs +292 -292
- package/{esm2020 → esm2022}/lib/services/cube.service.mjs +27 -27
- package/{esm2020 → esm2022}/lib/services/data-form-history.service.mjs +25 -25
- package/{esm2020 → esm2022}/lib/services/data-form.service.mjs +176 -176
- package/{esm2020 → esm2022}/lib/services/data-letter-segmentation.service.mjs +64 -64
- package/{esm2020 → esm2022}/lib/services/document-analysis-auto.service.mjs +27 -27
- package/{esm2020 → esm2022}/lib/services/document-history.service.mjs +43 -43
- package/{esm2020 → esm2022}/lib/services/document-management.service.mjs +57 -57
- package/{esm2020 → esm2022}/lib/services/document-validation-attempt.service.mjs +32 -32
- package/{esm2020 → esm2022}/lib/services/document.service.mjs +131 -131
- package/esm2022/lib/services/documentary.type.service.mjs +69 -0
- package/{esm2020 → esm2022}/lib/services/email.service.mjs +30 -30
- package/{esm2020 → esm2022}/lib/services/evaluation.service.mjs +181 -181
- package/{esm2020 → esm2022}/lib/services/export-excel.service.mjs +32 -32
- package/esm2022/lib/services/file.service.mjs +153 -0
- package/{esm2020 → esm2022}/lib/services/form.service.mjs +112 -112
- package/{esm2020 → esm2022}/lib/services/gic-client-disbursement-metadata.service.mjs +31 -31
- package/{esm2020 → esm2022}/lib/services/gic-client.service.mjs +49 -49
- package/{esm2020 → esm2022}/lib/services/gic-cnf-bankvision-transaction.service.mjs +31 -31
- package/{esm2020 → esm2022}/lib/services/gic-cnf-closing-date.service.mjs +34 -34
- package/{esm2020 → esm2022}/lib/services/gic-cnf-maintenance.service.mjs +30 -30
- package/{esm2020 → esm2022}/lib/services/gic-collection.service.mjs +53 -53
- package/{esm2020 → esm2022}/lib/services/gic-disbursement.service.mjs +39 -39
- package/{esm2020 → esm2022}/lib/services/gic-extract.service.mjs +41 -41
- package/{esm2020 → esm2022}/lib/services/gic-log.service.mjs +41 -41
- package/{esm2020 → esm2022}/lib/services/gic-payment-application.service.mjs +35 -35
- package/{esm2020 → esm2022}/lib/services/gic-payment-plan-cube.service.mjs +27 -27
- package/{esm2020 → esm2022}/lib/services/gic-payment-plan.service.mjs +32 -32
- package/{esm2020 → esm2022}/lib/services/gic-trm.service.mjs +27 -27
- package/{esm2020 → esm2022}/lib/services/global.show.task.service.mjs +37 -37
- package/{esm2020 → esm2022}/lib/services/guarantee-document.service.mjs +52 -52
- package/{esm2020 → esm2022}/lib/services/guarantee-enrollment.service.mjs +37 -37
- package/esm2022/lib/services/guarantee.service.mjs +128 -0
- package/{esm2020 → esm2022}/lib/services/hash.service.mjs +36 -36
- package/{esm2020 → esm2022}/lib/services/import-data.service.mjs +27 -27
- package/{esm2020 → esm2022}/lib/services/import-excel-gic.service.mjs +45 -45
- package/{esm2020 → esm2022}/lib/services/initial-configuration-gic-parameters.service.mjs +51 -51
- package/{esm2020 → esm2022}/lib/services/initial-record.service.mjs +51 -51
- package/{esm2020 → esm2022}/lib/services/integration-ado.service.mjs +54 -54
- package/{esm2020 → esm2022}/lib/services/interaction-application-user.service.mjs +81 -81
- package/{esm2020 → esm2022}/lib/services/interest-adjustment.service.mjs +34 -34
- package/esm2022/lib/services/keys-assignation.service.mjs +127 -0
- package/{esm2020 → esm2022}/lib/services/legalization.service.mjs +150 -150
- package/{esm2020 → esm2022}/lib/services/letter-campaing.service.mjs +49 -49
- package/{esm2020 → esm2022}/lib/services/letter-task-mapping.service.mjs +40 -40
- package/{esm2020 → esm2022}/lib/services/log.service.mjs +41 -41
- package/{esm2020 → esm2022}/lib/services/maintenance.service.mjs +66 -66
- package/{esm2020 → esm2022}/lib/services/master-category.service.mjs +66 -66
- package/{esm2020 → esm2022}/lib/services/master-program.service.mjs +78 -78
- package/{esm2020 → esm2022}/lib/services/master-university.service.mjs +68 -68
- package/{esm2020 → esm2022}/lib/services/migration-plis.service.mjs +27 -27
- package/{esm2020 → esm2022}/lib/services/migration-survey-queue.service.mjs +24 -24
- package/{esm2020 → esm2022}/lib/services/page.service.mjs +38 -38
- package/{esm2020 → esm2022}/lib/services/partner-system.service.mjs +30 -30
- package/{esm2020 → esm2022}/lib/services/partner.service.mjs +34 -34
- package/{esm2020 → esm2022}/lib/services/pdf-analyzer.service.mjs +33 -33
- package/{esm2020 → esm2022}/lib/services/people-master.service.mjs +42 -42
- package/{esm2020 → esm2022}/lib/services/permission.service.mjs +29 -29
- package/{esm2020 → esm2022}/lib/services/pli-cnf-acuity-fields.service.mjs +34 -34
- package/{esm2020 → esm2022}/lib/services/pli-cnf-app-card-filter.service.mjs +40 -40
- package/{esm2020 → esm2022}/lib/services/pli-cnf-appointment-type.service.mjs +41 -41
- package/{esm2020 → esm2022}/lib/services/pli-cnf-budget-program-type.service.mjs +54 -54
- package/{esm2020 → esm2022}/lib/services/pli-cnf-budget.service.mjs +31 -31
- package/{esm2020 → esm2022}/lib/services/pli-cnf-cloning.service.mjs +27 -27
- package/{esm2020 → esm2022}/lib/services/pli-cnf-committee-pdf-config-table-config.service.mjs +47 -47
- package/{esm2020 → esm2022}/lib/services/pli-cnf-committee-pdf-gen-status.service.mjs +30 -30
- package/{esm2020 → esm2022}/lib/services/pli-cnf-committee-valpro-columns.service.mjs +42 -42
- package/{esm2020 → esm2022}/lib/services/pli-cnf-committee-visualization-mode.service.mjs +42 -42
- package/{esm2020 → esm2022}/lib/services/pli-cnf-committee.service.mjs +51 -51
- package/{esm2020 → esm2022}/lib/services/pli-cnf-config-minisite.service.mjs +90 -90
- package/{esm2020 → esm2022}/lib/services/pli-cnf-configuration-credit-study.service.mjs +41 -41
- package/{esm2020 → esm2022}/lib/services/pli-cnf-document-management.service.mjs +40 -40
- package/{esm2020 → esm2022}/lib/services/pli-cnf-dynamic-keys-assign.service.mjs +52 -52
- package/{esm2020 → esm2022}/lib/services/pli-cnf-evaluation-task-mailing.service.mjs +31 -31
- package/esm2022/lib/services/pli-cnf-evaluation-task.service.mjs +112 -0
- package/{esm2020 → esm2022}/lib/services/pli-cnf-evaluation-template.service.mjs +95 -95
- package/{esm2020 → esm2022}/lib/services/pli-cnf-form-edit.service.mjs +68 -68
- package/{esm2020 → esm2022}/lib/services/pli-cnf-form-multiaplicacion.service.mjs +46 -46
- package/{esm2020 → esm2022}/lib/services/pli-cnf-guarantee-documents-template.service.mjs +40 -40
- package/{esm2020 → esm2022}/lib/services/pli-cnf-guarantee-token.service.mjs +42 -42
- package/{esm2020 → esm2022}/lib/services/pli-cnf-header.service.mjs +39 -39
- package/{esm2020 → esm2022}/lib/services/pli-cnf-indicator.service.mjs +39 -39
- package/{esm2020 → esm2022}/lib/services/pli-cnf-information-system.service.mjs +24 -24
- package/{esm2020 → esm2022}/lib/services/pli-cnf-interaction.service.mjs +78 -78
- package/{esm2020 → esm2022}/lib/services/pli-cnf-letter-template-type.service.mjs +29 -29
- package/{esm2020 → esm2022}/lib/services/pli-cnf-letter-template.service.mjs +48 -48
- package/{esm2020 → esm2022}/lib/services/pli-cnf-look-and-feel.service.mjs +28 -28
- package/{esm2020 → esm2022}/lib/services/pli-cnf-mail.service.mjs +30 -30
- package/{esm2020 → esm2022}/lib/services/pli-cnf-menu-form.service.mjs +34 -34
- package/{esm2020 → esm2022}/lib/services/pli-cnf-migration-plis-field-budget.service.mjs +33 -33
- package/{esm2020 → esm2022}/lib/services/pli-cnf-migration-plis-field.service.mjs +47 -47
- package/{esm2020 → esm2022}/lib/services/pli-cnf-migration-status-plis.service.mjs +44 -44
- package/{esm2020 → esm2022}/lib/services/pli-cnf-page-section-form.service.mjs +66 -66
- package/{esm2020 → esm2022}/lib/services/pli-cnf-page-sub-process.service.mjs +25 -25
- package/{esm2020 → esm2022}/lib/services/pli-cnf-pdfs.service.mjs +31 -31
- package/{esm2020 → esm2022}/lib/services/pli-cnf-profile-form.service.mjs +40 -40
- package/{esm2020 → esm2022}/lib/services/pli-cnf-profile-user.service.mjs +49 -49
- package/{esm2020 → esm2022}/lib/services/pli-cnf-project-summary.service.mjs +39 -39
- package/{esm2020 → esm2022}/lib/services/pli-cnf-scenario.service.mjs +47 -47
- package/{esm2020 → esm2022}/lib/services/pli-cnf-segmentation.service.mjs +72 -72
- package/{esm2020 → esm2022}/lib/services/pli-cnf-snapshot-token.service.mjs +42 -42
- package/{esm2020 → esm2022}/lib/services/pli-cnf-status-flow-interaction.service.mjs +74 -74
- package/{esm2020 → esm2022}/lib/services/pli-cnf-status-flow.service.mjs +56 -56
- package/{esm2020 → esm2022}/lib/services/pli-cnf-support-document-category.service.mjs +47 -47
- package/{esm2020 → esm2022}/lib/services/pli-cnf-support-document.service.mjs +56 -56
- package/{esm2020 → esm2022}/lib/services/pli-cnf-survey-document.service.mjs +37 -37
- package/{esm2020 → esm2022}/lib/services/pli-cnf-survey-pdf.service.mjs +34 -34
- package/{esm2020 → esm2022}/lib/services/pli-cnf-survey.service.mjs +46 -46
- package/{esm2020 → esm2022}/lib/services/pli-cnf-task-group.service.mjs +33 -33
- package/{esm2020 → esm2022}/lib/services/pli-cnf-text-category.service.mjs +38 -38
- package/{esm2020 → esm2022}/lib/services/pli-cnf-text-option.service.mjs +39 -39
- package/{esm2020 → esm2022}/lib/services/pli-cnf-text.service.mjs +62 -62
- package/{esm2020 → esm2022}/lib/services/pli-cnf-type-text.service.mjs +45 -45
- package/{esm2020 → esm2022}/lib/services/pli-cnf-university-article.service.mjs +39 -39
- package/{esm2020 → esm2022}/lib/services/pli-cnf-user-calendar.service.mjs +36 -36
- package/{esm2020 → esm2022}/lib/services/pli-cnf-user-workspace.service.mjs +35 -35
- package/{esm2020 → esm2022}/lib/services/pli-cnf-valpro-keys.service.mjs +35 -35
- package/{esm2020 → esm2022}/lib/services/pli-cnf-workspace-segmentation.service.mjs +31 -31
- package/{esm2020 → esm2022}/lib/services/pli-message-type.service.mjs +40 -40
- package/{esm2020 → esm2022}/lib/services/pli-multiple-value-filter.service.mjs +39 -39
- package/{esm2020 → esm2022}/lib/services/pli-promocion-username.service.mjs +57 -57
- package/{esm2020 → esm2022}/lib/services/pli-seg-action-user.service.mjs +37 -37
- package/{esm2020 → esm2022}/lib/services/pli-segmentation.service.mjs +130 -130
- package/{esm2020 → esm2022}/lib/services/pli-tag-assignment.service.mjs +36 -36
- package/{esm2020 → esm2022}/lib/services/pli-tag.service.mjs +55 -55
- package/{esm2020 → esm2022}/lib/services/pli-user.service.mjs +51 -51
- package/{esm2020 → esm2022}/lib/services/plis-beneficiario.service.mjs +29 -29
- package/{esm2020 → esm2022}/lib/services/plis-estatus-change.service.mjs +30 -30
- package/esm2022/lib/services/ppp.service.mjs +360 -0
- package/{esm2020 → esm2022}/lib/services/profile.service.mjs +60 -60
- package/esm2022/lib/services/progress-bar.service.mjs +40 -0
- package/{esm2020 → esm2022}/lib/services/promotion-score.service.mjs +44 -44
- package/{esm2020 → esm2022}/lib/services/registry-identifier.service.mjs +39 -39
- package/{esm2020 → esm2022}/lib/services/return-refund.service.mjs +53 -53
- package/esm2022/lib/services/segmentation-tokens.service.mjs +43 -0
- package/{esm2020 → esm2022}/lib/services/segmentation-user-service.service.mjs +90 -90
- package/{esm2020 → esm2022}/lib/services/segmentation.service.mjs +31 -31
- package/esm2022/lib/services/send-application.service.mjs +492 -0
- package/{esm2020 → esm2022}/lib/services/sesion-form.service.mjs +31 -31
- package/{esm2020 → esm2022}/lib/services/sesion.service.mjs +48 -48
- package/{esm2020 → esm2022}/lib/services/spinner.service.mjs +16 -16
- package/{esm2020 → esm2022}/lib/services/sponsorship-letter.service.mjs +68 -68
- package/{esm2020 → esm2022}/lib/services/status.service.mjs +100 -100
- package/{esm2020 → esm2022}/lib/services/summary-budget.service.mjs +24 -24
- package/{esm2020 → esm2022}/lib/services/survey-metadata.service.mjs +28 -28
- package/{esm2020 → esm2022}/lib/services/survey-queue.service.mjs +24 -24
- package/{esm2020 → esm2022}/lib/services/survey.service.mjs +52 -52
- package/{esm2020 → esm2022}/lib/services/tasa.cambio.service.mjs +35 -35
- package/{esm2020 → esm2022}/lib/services/token-transformation.service.mjs +62 -62
- package/esm2022/lib/services/token.service.mjs +1345 -0
- package/{esm2020 → esm2022}/lib/services/university.service.mjs +50 -50
- package/esm2022/lib/services/upload-documents.service.mjs +60 -0
- package/{esm2020 → esm2022}/lib/services/user.service.mjs +28 -28
- package/{esm2020 → esm2022}/lib/services/visualization-committee.service.mjs +84 -84
- package/esm2022/lib/utils/custom-validator.mjs +95 -0
- package/esm2022/lib/utils/form-util.mjs +35 -0
- package/esm2022/lib/utils/formio-util.mjs +582 -0
- package/{esm2020 → esm2022}/lib/utils/version-commons.mjs +9 -9
- package/{esm2020 → esm2022}/ng-pli-commons.mjs +4 -4
- package/{esm2020 → esm2022}/public-api.mjs +214 -214
- package/{esm2020 → esm2022}/version.mjs +29 -29
- package/{fesm2020 → fesm2022}/ng-pli-commons.mjs +16724 -16725
- package/fesm2022/ng-pli-commons.mjs.map +1 -0
- package/{ng-pli-commons.d.ts → index.d.ts} +5 -5
- package/lib/components/backoffice.commons.component.d.ts +15 -15
- package/lib/components/common.lists.component.d.ts +61 -61
- package/lib/components/configuration-token/configuration-token-subject.service.d.ts +10 -10
- package/lib/components/configuration-token/configuration-token.component.d.ts +124 -124
- package/lib/components/configuration-token/guarantee-token/guarantee-token.component.d.ts +33 -33
- package/lib/components/configuration-token/snapshot-token/snapshot-token.component.d.ts +37 -37
- package/lib/components/configuration.commons.component.d.ts +15 -15
- package/lib/components/dashboard.commons.component.d.ts +39 -39
- package/lib/components/dynamic-filter/dynamic-filter.component.d.ts +50 -50
- package/lib/components/excel-to-json/excel-to-json.component.d.ts +12 -12
- package/lib/components/frontoffice.commons.component.d.ts +26 -26
- package/lib/components/pdf-analyzer/pdf-analyzer.component.d.ts +36 -36
- package/lib/components/pdf-config/pdf-config.component.d.ts +78 -78
- package/lib/components/pdf-generator/pdf-generator.component.d.ts +69 -69
- package/lib/components/pdf-merge-visualizer/pdf-merge-visualizer.component.d.ts +114 -114
- package/lib/components/pdf-visualizer/pdf-visualizer.component.d.ts +147 -147
- package/lib/components/progress-bar/progress-bar.component.d.ts +30 -30
- package/lib/components/segmentation-tokens/segmentation-tokens.component.d.ts +48 -48
- package/lib/components/select-ppp/select-ppp.component.d.ts +42 -42
- package/lib/components/show-hide-columns/show-hide-columns-table.component.d.ts +39 -39
- package/lib/components/token/token.component.d.ts +99 -99
- package/lib/components/tokens-calculator/tokens-calculator.component.d.ts +37 -37
- package/lib/directives/currency-colfuturo-formatter.directive.d.ts +14 -14
- package/lib/directives/currency-decimal-colfuturo-formatter.directive.d.ts +13 -13
- package/lib/ng-pli-commons.module.d.ts +47 -47
- package/lib/ng-pli-commons.service.d.ts +6 -6
- package/lib/pipes/currency-colfuturo.pipe.d.ts +12 -12
- package/lib/pipes/currency-decimal-colfuturo.pipe.d.ts +11 -11
- package/lib/pipes/currency-print-colfuturo.pipe.d.ts +11 -11
- package/lib/pipes/thousands.pipe.d.ts +9 -9
- package/lib/services/application-fill-percentage.service.d.ts +15 -15
- package/lib/services/application-tag.service.d.ts +23 -23
- package/lib/services/application.service.d.ts +107 -107
- package/lib/services/authentication.service.d.ts +45 -45
- package/lib/services/blocked-beneficiary.service.d.ts +17 -17
- package/lib/services/budget-application.service.d.ts +52 -52
- package/lib/services/budget-simulation.service.d.ts +32 -32
- package/lib/services/budget.service.d.ts +65 -65
- package/lib/services/closure-wallet.service.d.ts +16 -16
- package/lib/services/cnf-correspondence-document-manager.service.d.ts +14 -14
- package/lib/services/committee-money.service.d.ts +12 -12
- package/lib/services/committee-pdf.service.d.ts +13 -13
- package/lib/services/committee-snapshot.service.d.ts +24 -24
- package/lib/services/common-info.service.d.ts +30 -30
- package/lib/services/common.service.d.ts +103 -103
- package/lib/services/configuration-document.service.d.ts +84 -84
- package/lib/services/configuration-minisite.service.d.ts +13 -13
- package/lib/services/configuration.service.d.ts +15 -15
- package/lib/services/correspondence-document-category.service.d.ts +12 -12
- package/lib/services/correspondence-manager.service.d.ts +21 -21
- package/lib/services/credit-score.service.d.ts +14 -14
- package/lib/services/credit-study.service.d.ts +52 -52
- package/lib/services/cube.service.d.ts +14 -14
- package/lib/services/data-form-history.service.d.ts +13 -13
- package/lib/services/data-form.service.d.ts +82 -82
- package/lib/services/data-letter-segmentation.service.d.ts +20 -20
- package/lib/services/document-analysis-auto.service.d.ts +14 -14
- package/lib/services/document-history.service.d.ts +18 -18
- package/lib/services/document-management.service.d.ts +22 -22
- package/lib/services/document-validation-attempt.service.d.ts +13 -13
- package/lib/services/document.service.d.ts +51 -51
- package/lib/services/documentary.type.service.d.ts +23 -23
- package/lib/services/email.service.d.ts +15 -15
- package/lib/services/evaluation.service.d.ts +58 -58
- package/lib/services/export-excel.service.d.ts +8 -8
- package/lib/services/file.service.d.ts +63 -63
- package/lib/services/form.service.d.ts +39 -39
- package/lib/services/gic-client-disbursement-metadata.service.d.ts +12 -12
- package/lib/services/gic-client.service.d.ts +20 -20
- package/lib/services/gic-cnf-bankvision-transaction.service.d.ts +13 -13
- package/lib/services/gic-cnf-closing-date.service.d.ts +15 -15
- package/lib/services/gic-cnf-maintenance.service.d.ts +13 -13
- package/lib/services/gic-collection.service.d.ts +19 -19
- package/lib/services/gic-disbursement.service.d.ts +16 -16
- package/lib/services/gic-extract.service.d.ts +15 -15
- package/lib/services/gic-log.service.d.ts +17 -17
- package/lib/services/gic-payment-application.service.d.ts +15 -15
- package/lib/services/gic-payment-plan-cube.service.d.ts +13 -13
- package/lib/services/gic-payment-plan.service.d.ts +19 -19
- package/lib/services/gic-trm.service.d.ts +14 -14
- package/lib/services/global.show.task.service.d.ts +20 -20
- package/lib/services/guarantee-document.service.d.ts +17 -17
- package/lib/services/guarantee-enrollment.service.d.ts +14 -14
- package/lib/services/guarantee.service.d.ts +34 -34
- package/lib/services/hash.service.d.ts +18 -18
- package/lib/services/import-data.service.d.ts +14 -14
- package/lib/services/import-excel-gic.service.d.ts +22 -22
- package/lib/services/initial-configuration-gic-parameters.service.d.ts +19 -19
- package/lib/services/initial-record.service.d.ts +24 -24
- package/lib/services/integration-ado.service.d.ts +15 -15
- package/lib/services/interaction-application-user.service.d.ts +28 -28
- package/lib/services/interest-adjustment.service.d.ts +16 -16
- package/lib/services/keys-assignation.service.d.ts +33 -33
- package/lib/services/legalization.service.d.ts +46 -46
- package/lib/services/letter-campaing.service.d.ts +24 -24
- package/lib/services/letter-task-mapping.service.d.ts +22 -22
- package/lib/services/log.service.d.ts +17 -17
- package/lib/services/maintenance.service.d.ts +23 -23
- package/lib/services/master-category.service.d.ts +40 -40
- package/lib/services/master-program.service.d.ts +45 -45
- package/lib/services/master-university.service.d.ts +40 -40
- package/lib/services/migration-plis.service.d.ts +14 -14
- package/lib/services/migration-survey-queue.service.d.ts +12 -12
- package/lib/services/page.service.d.ts +18 -18
- package/lib/services/partner-system.service.d.ts +13 -13
- package/lib/services/partner.service.d.ts +17 -17
- package/lib/services/pdf-analyzer.service.d.ts +11 -11
- package/lib/services/people-master.service.d.ts +14 -14
- package/lib/services/permission.service.d.ts +14 -14
- package/lib/services/pli-cnf-acuity-fields.service.d.ts +14 -14
- package/lib/services/pli-cnf-app-card-filter.service.d.ts +20 -20
- package/lib/services/pli-cnf-appointment-type.service.d.ts +16 -16
- package/lib/services/pli-cnf-budget-program-type.service.d.ts +18 -18
- package/lib/services/pli-cnf-budget.service.d.ts +13 -13
- package/lib/services/pli-cnf-cloning.service.d.ts +12 -12
- package/lib/services/pli-cnf-committee-pdf-config-table-config.service.d.ts +19 -19
- package/lib/services/pli-cnf-committee-pdf-gen-status.service.d.ts +13 -13
- package/lib/services/pli-cnf-committee-valpro-columns.service.d.ts +15 -15
- package/lib/services/pli-cnf-committee-visualization-mode.service.d.ts +17 -17
- package/lib/services/pli-cnf-committee.service.d.ts +21 -21
- package/lib/services/pli-cnf-config-minisite.service.d.ts +26 -26
- package/lib/services/pli-cnf-configuration-credit-study.service.d.ts +16 -16
- package/lib/services/pli-cnf-document-management.service.d.ts +15 -15
- package/lib/services/pli-cnf-dynamic-keys-assign.service.d.ts +21 -21
- package/lib/services/pli-cnf-evaluation-task-mailing.service.d.ts +13 -13
- package/lib/services/pli-cnf-evaluation-task.service.d.ts +35 -35
- package/lib/services/pli-cnf-evaluation-template.service.d.ts +44 -44
- package/lib/services/pli-cnf-form-edit.service.d.ts +29 -29
- package/lib/services/pli-cnf-form-multiaplicacion.service.d.ts +21 -21
- package/lib/services/pli-cnf-guarantee-documents-template.service.d.ts +17 -17
- package/lib/services/pli-cnf-guarantee-token.service.d.ts +16 -16
- package/lib/services/pli-cnf-header.service.d.ts +18 -18
- package/lib/services/pli-cnf-indicator.service.d.ts +20 -20
- package/lib/services/pli-cnf-information-system.service.d.ts +12 -12
- package/lib/services/pli-cnf-interaction.service.d.ts +31 -31
- package/lib/services/pli-cnf-letter-template-type.service.d.ts +15 -15
- package/lib/services/pli-cnf-letter-template.service.d.ts +22 -22
- package/lib/services/pli-cnf-look-and-feel.service.d.ts +13 -13
- package/lib/services/pli-cnf-mail.service.d.ts +13 -13
- package/lib/services/pli-cnf-menu-form.service.d.ts +16 -16
- package/lib/services/pli-cnf-migration-plis-field-budget.service.d.ts +14 -14
- package/lib/services/pli-cnf-migration-plis-field.service.d.ts +17 -17
- package/lib/services/pli-cnf-migration-status-plis.service.d.ts +17 -17
- package/lib/services/pli-cnf-page-section-form.service.d.ts +24 -24
- package/lib/services/pli-cnf-page-sub-process.service.d.ts +12 -12
- package/lib/services/pli-cnf-pdfs.service.d.ts +14 -14
- package/lib/services/pli-cnf-profile-form.service.d.ts +20 -20
- package/lib/services/pli-cnf-profile-user.service.d.ts +24 -24
- package/lib/services/pli-cnf-project-summary.service.d.ts +16 -16
- package/lib/services/pli-cnf-scenario.service.d.ts +23 -23
- package/lib/services/pli-cnf-segmentation.service.d.ts +32 -32
- package/lib/services/pli-cnf-snapshot-token.service.d.ts +16 -16
- package/lib/services/pli-cnf-status-flow-interaction.service.d.ts +28 -28
- package/lib/services/pli-cnf-status-flow.service.d.ts +26 -26
- package/lib/services/pli-cnf-support-document-category.service.d.ts +17 -17
- package/lib/services/pli-cnf-support-document.service.d.ts +23 -23
- package/lib/services/pli-cnf-survey-document.service.d.ts +16 -16
- package/lib/services/pli-cnf-survey-pdf.service.d.ts +15 -15
- package/lib/services/pli-cnf-survey.service.d.ts +19 -19
- package/lib/services/pli-cnf-task-group.service.d.ts +15 -15
- package/lib/services/pli-cnf-text-category.service.d.ts +15 -15
- package/lib/services/pli-cnf-text-option.service.d.ts +15 -15
- package/lib/services/pli-cnf-text.service.d.ts +21 -21
- package/lib/services/pli-cnf-type-text.service.d.ts +16 -16
- package/lib/services/pli-cnf-university-article.service.d.ts +20 -20
- package/lib/services/pli-cnf-user-calendar.service.d.ts +16 -16
- package/lib/services/pli-cnf-user-workspace.service.d.ts +18 -18
- package/lib/services/pli-cnf-valpro-keys.service.d.ts +18 -18
- package/lib/services/pli-cnf-workspace-segmentation.service.d.ts +16 -16
- package/lib/services/pli-message-type.service.d.ts +15 -15
- package/lib/services/pli-multiple-value-filter.service.d.ts +17 -17
- package/lib/services/pli-promocion-username.service.d.ts +26 -26
- package/lib/services/pli-seg-action-user.service.d.ts +20 -20
- package/lib/services/pli-segmentation.service.d.ts +48 -48
- package/lib/services/pli-tag-assignment.service.d.ts +15 -15
- package/lib/services/pli-tag.service.d.ts +21 -21
- package/lib/services/pli-user.service.d.ts +24 -24
- package/lib/services/plis-beneficiario.service.d.ts +10 -10
- package/lib/services/plis-estatus-change.service.d.ts +13 -13
- package/lib/services/ppp.service.d.ts +77 -77
- package/lib/services/profile.service.d.ts +26 -26
- package/lib/services/progress-bar.service.d.ts +14 -14
- package/lib/services/promotion-score.service.d.ts +14 -14
- package/lib/services/registry-identifier.service.d.ts +16 -16
- package/lib/services/return-refund.service.d.ts +20 -20
- package/lib/services/segmentation-tokens.service.d.ts +22 -22
- package/lib/services/segmentation-user-service.service.d.ts +26 -26
- package/lib/services/segmentation.service.d.ts +16 -16
- package/lib/services/send-application.service.d.ts +71 -71
- package/lib/services/sesion-form.service.d.ts +16 -16
- package/lib/services/sesion.service.d.ts +27 -27
- package/lib/services/spinner.service.d.ts +6 -6
- package/lib/services/sponsorship-letter.service.d.ts +34 -34
- package/lib/services/status.service.d.ts +31 -31
- package/lib/services/summary-budget.service.d.ts +11 -11
- package/lib/services/survey-metadata.service.d.ts +13 -13
- package/lib/services/survey-queue.service.d.ts +12 -12
- package/lib/services/survey.service.d.ts +17 -17
- package/lib/services/tasa.cambio.service.d.ts +14 -14
- package/lib/services/token-transformation.service.d.ts +19 -19
- package/lib/services/token.service.d.ts +270 -270
- package/lib/services/university.service.d.ts +28 -28
- package/lib/services/upload-documents.service.d.ts +21 -21
- package/lib/services/user.service.d.ts +12 -12
- package/lib/services/visualization-committee.service.d.ts +32 -32
- package/lib/utils/custom-validator.d.ts +19 -19
- package/lib/utils/form-util.d.ts +11 -11
- package/lib/utils/formio-util.d.ts +105 -105
- package/lib/utils/version-commons.d.ts +4 -4
- package/package.json +10 -16
- package/public-api.d.ts +210 -210
- package/version.d.ts +25 -25
- package/esm2020/lib/components/backoffice.commons.component.mjs +0 -40
- package/esm2020/lib/components/common.lists.component.mjs +0 -194
- package/esm2020/lib/components/configuration-token/configuration-token.component.mjs +0 -665
- package/esm2020/lib/components/configuration-token/guarantee-token/guarantee-token.component.mjs +0 -103
- package/esm2020/lib/components/configuration-token/snapshot-token/snapshot-token.component.mjs +0 -108
- package/esm2020/lib/components/configuration.commons.component.mjs +0 -40
- package/esm2020/lib/components/dynamic-filter/dynamic-filter.component.mjs +0 -131
- package/esm2020/lib/components/excel-to-json/excel-to-json.component.mjs +0 -54
- package/esm2020/lib/components/frontoffice.commons.component.mjs +0 -86
- package/esm2020/lib/components/pdf-analyzer/pdf-analyzer.component.mjs +0 -162
- package/esm2020/lib/components/pdf-generator/pdf-generator.component.mjs +0 -223
- package/esm2020/lib/components/pdf-merge-visualizer/pdf-merge-visualizer.component.mjs +0 -307
- package/esm2020/lib/components/pdf-visualizer/pdf-visualizer.component.mjs +0 -387
- package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +0 -92
- package/esm2020/lib/components/segmentation-tokens/segmentation-tokens.component.mjs +0 -199
- package/esm2020/lib/components/select-ppp/select-ppp.component.mjs +0 -199
- package/esm2020/lib/components/show-hide-columns/show-hide-columns-table.component.mjs +0 -116
- package/esm2020/lib/components/token/token.component.mjs +0 -1006
- package/esm2020/lib/components/tokens-calculator/tokens-calculator.component.mjs +0 -128
- package/esm2020/lib/ng-pli-commons.module.mjs +0 -390
- package/esm2020/lib/pipes/currency-colfuturo.pipe.mjs +0 -35
- package/esm2020/lib/pipes/thousands.pipe.mjs +0 -60
- package/esm2020/lib/services/authentication.service.mjs +0 -133
- package/esm2020/lib/services/budget-application.service.mjs +0 -265
- package/esm2020/lib/services/budget.service.mjs +0 -205
- package/esm2020/lib/services/common.service.mjs +0 -291
- package/esm2020/lib/services/configuration-document.service.mjs +0 -297
- package/esm2020/lib/services/documentary.type.service.mjs +0 -69
- package/esm2020/lib/services/file.service.mjs +0 -153
- package/esm2020/lib/services/guarantee.service.mjs +0 -128
- package/esm2020/lib/services/keys-assignation.service.mjs +0 -127
- package/esm2020/lib/services/pli-cnf-evaluation-task.service.mjs +0 -112
- package/esm2020/lib/services/ppp.service.mjs +0 -360
- package/esm2020/lib/services/progress-bar.service.mjs +0 -40
- package/esm2020/lib/services/segmentation-tokens.service.mjs +0 -43
- package/esm2020/lib/services/send-application.service.mjs +0 -492
- package/esm2020/lib/services/token.service.mjs +0 -1345
- package/esm2020/lib/services/upload-documents.service.mjs +0 -60
- package/esm2020/lib/utils/custom-validator.mjs +0 -95
- package/esm2020/lib/utils/form-util.mjs +0 -35
- package/esm2020/lib/utils/formio-util.mjs +0 -580
- package/fesm2015/ng-pli-commons.mjs +0 -17373
- package/fesm2015/ng-pli-commons.mjs.map +0 -1
- package/fesm2020/ng-pli-commons.mjs.map +0 -1
package/esm2020/lib/components/configuration-token/guarantee-token/guarantee-token.component.mjs
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { CommonListsComponent } from '../../common.lists.component';
|
|
3
|
-
import { TokenService } from '../../../services/token.service';
|
|
4
|
-
import { PliCnfGuaranteeToken, UtilString } from 'ng-pli-util';
|
|
5
|
-
import { FormControl, FormGroup, Validators } from '@angular/forms';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../../services/common.service";
|
|
8
|
-
import * as i2 from "ngx-toastr";
|
|
9
|
-
import * as i3 from "../../../services/pli-cnf-guarantee-token.service";
|
|
10
|
-
import * as i4 from "primeng/table";
|
|
11
|
-
import * as i5 from "primeng/dialog";
|
|
12
|
-
import * as i6 from "primeng/api";
|
|
13
|
-
import * as i7 from "ng-pli-util";
|
|
14
|
-
import * as i8 from "@angular/common";
|
|
15
|
-
import * as i9 from "@angular/forms";
|
|
16
|
-
export class GuaranteeTokenComponent extends CommonListsComponent {
|
|
17
|
-
constructor(cdRef, commonService, toastrService, pliCnfGuaranteeTokenService) {
|
|
18
|
-
super(commonService, cdRef);
|
|
19
|
-
this.cdRef = cdRef;
|
|
20
|
-
this.commonService = commonService;
|
|
21
|
-
this.toastrService = toastrService;
|
|
22
|
-
this.pliCnfGuaranteeTokenService = pliCnfGuaranteeTokenService;
|
|
23
|
-
this.lGuaranteeTokens = [];
|
|
24
|
-
}
|
|
25
|
-
ngOnInit() {
|
|
26
|
-
super.ngOnInit();
|
|
27
|
-
this.getTokenGuarantee();
|
|
28
|
-
}
|
|
29
|
-
/* The label to guarantee tokens */
|
|
30
|
-
labelGuarantee(token) {
|
|
31
|
-
return '${' + TokenService.getKeyGuarantee(token) + '}';
|
|
32
|
-
}
|
|
33
|
-
getTokenGuarantee() {
|
|
34
|
-
this.pliCnfGuaranteeTokenService.getAllByPromCodigo(this.promCodigo).subscribe((result) => {
|
|
35
|
-
this.lGuaranteeTokens = result;
|
|
36
|
-
}, (error) => {
|
|
37
|
-
this.toastrService.error('Error al obtener los token de garantias', 'Error');
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
initForm(tokenSelected) {
|
|
41
|
-
this.tokenSelected =
|
|
42
|
-
tokenSelected == null
|
|
43
|
-
? new PliCnfGuaranteeToken()
|
|
44
|
-
: Object.assign(new PliCnfGuaranteeToken(), JSON.parse(JSON.stringify(tokenSelected)));
|
|
45
|
-
if (!this.tokenSelected.promCodigo) {
|
|
46
|
-
this.tokenSelected.promCodigo = this.promCodigo;
|
|
47
|
-
}
|
|
48
|
-
this.controlName = new FormControl(this.tokenSelected.name, Validators.required);
|
|
49
|
-
this.controlFormula = new FormControl(this.tokenSelected.formula, Validators.required);
|
|
50
|
-
this.frmToken = new FormGroup({
|
|
51
|
-
controlName: this.controlName,
|
|
52
|
-
controlFormula: this.controlFormula
|
|
53
|
-
});
|
|
54
|
-
this.showModal = true;
|
|
55
|
-
}
|
|
56
|
-
save() {
|
|
57
|
-
if (this.isFormValid(this.frmToken) && this.isValid()) {
|
|
58
|
-
this.pliCnfGuaranteeTokenService.save(this.tokenSelected).subscribe((result) => {
|
|
59
|
-
this.getTokenGuarantee();
|
|
60
|
-
this.onCloseModal();
|
|
61
|
-
this.toastrService.success('Se ha guardado exitosamente ', 'Guardado exitoso!');
|
|
62
|
-
this.tokenSelected = null;
|
|
63
|
-
}, (error) => {
|
|
64
|
-
this.toastrService.error('Error al intentar guardar el token', 'Error');
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
isValid() {
|
|
69
|
-
const token = this.lGuaranteeTokens.find((token) => UtilString.replaceAccentSpacesOthers(token.name) ===
|
|
70
|
-
UtilString.replaceAccentSpacesOthers(this.tokenSelected.name) &&
|
|
71
|
-
(!this.tokenSelected.id || this.tokenSelected.id !== token.id));
|
|
72
|
-
if (token) {
|
|
73
|
-
this.toastrService.error('El token ' + token.name + ' ya existe', 'Alerta!');
|
|
74
|
-
return false;
|
|
75
|
-
}
|
|
76
|
-
return true;
|
|
77
|
-
}
|
|
78
|
-
onCloseModal() {
|
|
79
|
-
this.showModal = false;
|
|
80
|
-
}
|
|
81
|
-
delete(token) {
|
|
82
|
-
if (confirm('¿Está seguro que desea eliminar el token ' + token.name + '?')) {
|
|
83
|
-
this.pliCnfGuaranteeTokenService.delete(token.id).subscribe((result) => {
|
|
84
|
-
this.getTokenGuarantee();
|
|
85
|
-
this.toastrService.success('El token fué eliminada exitosamente', 'Exito!');
|
|
86
|
-
}, (error) => {
|
|
87
|
-
this.toastrService.error('Error al intentar eliminar el token', 'Error');
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
resolveKeyCalculatedToken() {
|
|
92
|
-
return UtilString.replaceAccentSpacesOthers(this.tokenSelected.name);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
GuaranteeTokenComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: GuaranteeTokenComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.CommonService }, { token: i2.ToastrService }, { token: i3.PliCnfGuaranteeTokenService }], target: i0.ɵɵFactoryTarget.Component });
|
|
96
|
-
GuaranteeTokenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.5", type: GuaranteeTokenComponent, selector: "pli-guarantee-token", inputs: { promCodigo: "promCodigo" }, usesInheritance: true, ngImport: i0, template: "<h4 class=\"no-margin-top\">\r\n\tTokens Garantias\r\n</h4>\r\n<p-table [value]=\"lGuaranteeTokens\" [responsive]=\"true\">\r\n\t<ng-template pTemplate=\"header\">\r\n\t\t<tr class=\"text-align-center\">\r\n\t\t\t<th class=\"text-align-center\" width=\"40%\">Nombre</th>\r\n\t\t\t<th class=\"text-align-center\">Formula</th>\r\n\t\t\t<th class=\"text-align-center\">Creado</th>\r\n\t\t\t<th class=\"text-align-center\">Modificado</th>\r\n\t\t\t<th class=\"text-align-center\">Acciones</th>\r\n\t\t</tr>\r\n\t</ng-template>\r\n\t<ng-template pTemplate=\"body\" let-token>\r\n\t\t<tr>\r\n\t\t\t<td>\r\n\t\t\t\t<button\r\n\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t(click)=\"copyMessage(labelGuarantee(token))\"\r\n\t\t\t\t\tstyle=\"margin-right: 8px;\"\r\n\t\t\t\t\ttitle=\"{{ labelGuarantee(token) }}\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<span class=\"fa fa-clipboard\"></span>\r\n\t\t\t\t</button>\r\n\t\t\t\t{{ token.name }}\r\n\t\t\t</td>\r\n\t\t\t<td class=\"cut-line\">{{ token.formula }}</td>\r\n\t\t\t<td>{{ token.createdAt | date: 'dd MMM yyyy' | lowercase }}</td>\r\n\t\t\t<td>{{ token.modifiedAt | date: 'dd MMM yyyy' | lowercase }}</td>\r\n\t\t\t<td>\r\n\t\t\t\t<div class=\"btn-group\" role=\"group\">\r\n\t\t\t\t\t<button\r\n\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\tclass=\"btn btn-default\"\r\n\t\t\t\t\t\t(click)=\"initForm(token)\"\r\n\t\t\t\t\t\tpliAuthorityDirective\r\n\t\t\t\t\t\t[externalAllowed]=\"false\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tEditar\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<button\r\n\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\tclass=\"btn btn-default dropdown-toggle\"\r\n\t\t\t\t\t\tdata-toggle=\"dropdown\"\r\n\t\t\t\t\t\taria-haspopup=\"true\"\r\n\t\t\t\t\t\taria-expanded=\"false\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<span class=\"caret\"></span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<ul class=\"dropdown-menu\">\r\n\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t<a\r\n\t\t\t\t\t\t\t\thref=\"Javascript:;\"\r\n\t\t\t\t\t\t\t\t(click)=\"delete(token)\"\r\n\t\t\t\t\t\t\t\tpliAuthorityDirective\r\n\t\t\t\t\t\t\t\t[authorities]=\"[p('ROLE_TOKENS_ELIMINAR')]\"\r\n\t\t\t\t\t\t\t\t[externalAllowed]=\"false\"\r\n\t\t\t\t\t\t\t\t>Eliminar</a\r\n\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t</li>\r\n\t\t\t\t\t</ul>\r\n\t\t\t\t</div>\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t</ng-template>\r\n</p-table>\r\n<div class=\"text-align-right\" style=\"padding: 0.75rem 1.25rem;\">\r\n\t<button type=\"button\" class=\"btn btn-primary\" (click)=\"initForm(null)\">\r\n\t\tAgregar nuevo\r\n\t</button>\r\n</div>\r\n<p-dialog\r\n\theader=\"Token Garantias\"\r\n\t[(visible)]=\"showModal\"\r\n\t[modal]=\"true\"\r\n\t(onHide)=\"onCloseModal()\"\r\n\t[contentStyle]=\"{\r\n\t\twidth: '400px',\r\n\t\t'overflow-y': 'auto',\r\n\t\t'min-height': '500px',\r\n\t\t'max-height': '500px',\r\n\t\t'text-align': 'left'\r\n\t}\"\r\n\theight=\"500px\"\r\n\twidth=\"500px\"\r\n\tdismissableMask=\"true\"\r\n>\r\n\t<form [formGroup]=\"frmToken\" (ngSubmit)=\"save()\" *ngIf=\"tokenSelected\">\r\n\t\t<div class=\"row\">\r\n\t\t\t<div class=\"col-sm-12 col-md-12 col-lg-12\">\r\n\t\t\t\t<div class=\"form-group required\">\r\n\t\t\t\t\t<label for=\"name\" class=\"form-control-label\">Nombre</label>\r\n\t\t\t\t\t<input\r\n\t\t\t\t\t\ttype=\"input\"\r\n\t\t\t\t\t\tclass=\"form-control\"\r\n\t\t\t\t\t\tname=\"name\"\r\n\t\t\t\t\t\tid=\"name\"\r\n\t\t\t\t\t\tplaceholder=\"Nombre\"\r\n\t\t\t\t\t\tformControlName=\"controlName\"\r\n\t\t\t\t\t\t[(ngModel)]=\"tokenSelected.name\"\r\n\t\t\t\t\t/>\r\n\t\t\t\t\t<div class=\"form-control-error\">\r\n\t\t\t\t\t\t<small *ngIf=\"hasError(controlName, 'required')\"\r\n\t\t\t\t\t\t\t>El nombre es requerido</small\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class=\"form-group\">\r\n\t\t\t\t\t<label class=\"form-control-label\">Llave: </label>\r\n\t\t\t\t\t<p style=\"font-weight: bold; margin-bottom: 25px;\">\r\n\t\t\t\t\t\t{{ resolveKeyCalculatedToken() }}\r\n\t\t\t\t\t</p>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class=\"form-group required\">\r\n\t\t\t\t\t<label for=\"formula\" class=\"form-control-label\">Formula</label>\r\n\t\t\t\t\t<textarea\r\n\t\t\t\t\t\trows=\"3\"\r\n\t\t\t\t\t\tclass=\"form-control\"\r\n\t\t\t\t\t\tname=\"formula\"\r\n\t\t\t\t\t\tid=\"formula\"\r\n\t\t\t\t\t\tformControlName=\"controlFormula\"\r\n\t\t\t\t\t\t[(ngModel)]=\"tokenSelected.formula\"\r\n\t\t\t\t\t></textarea>\r\n\t\t\t\t\t<div class=\"form-control-error\">\r\n\t\t\t\t\t\t<small *ngIf=\"hasError(controlFormula, 'required')\"\r\n\t\t\t\t\t\t\t>La f\u00F3rmula es requerida</small\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class=\"card-footer text-align-right\">\r\n\t\t\t\t\t<button type=\"button\" (click)=\"onCloseModal()\" class=\"btn btn-link\">\r\n\t\t\t\t\t\tCancelar\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<button type=\"submit\" class=\"btn btn-success\">\r\n\t\t\t\t\t\tGuardar\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</form>\r\n</p-dialog>\r\n", components: [{ type: i4.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollDelay", "virtualRowHeight", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "minBufferPx", "maxBufferPx", "responsiveLayout", "breakpoint", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll"], outputs: ["selectAllChange", "selectionChange", "contextMenuSelectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { type: i5.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }], directives: [{ type: i6.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { type: i7.AuthorityDirectiveDirective, selector: "[pliAuthorityDirective]", inputs: ["authorities", "patCodigo", "externalAllowed"] }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i9.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i9.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i9.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i9.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], pipes: { "lowercase": i8.LowerCasePipe, "date": i8.DatePipe } });
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: GuaranteeTokenComponent, decorators: [{
|
|
98
|
-
type: Component,
|
|
99
|
-
args: [{ selector: 'pli-guarantee-token', template: "<h4 class=\"no-margin-top\">\r\n\tTokens Garantias\r\n</h4>\r\n<p-table [value]=\"lGuaranteeTokens\" [responsive]=\"true\">\r\n\t<ng-template pTemplate=\"header\">\r\n\t\t<tr class=\"text-align-center\">\r\n\t\t\t<th class=\"text-align-center\" width=\"40%\">Nombre</th>\r\n\t\t\t<th class=\"text-align-center\">Formula</th>\r\n\t\t\t<th class=\"text-align-center\">Creado</th>\r\n\t\t\t<th class=\"text-align-center\">Modificado</th>\r\n\t\t\t<th class=\"text-align-center\">Acciones</th>\r\n\t\t</tr>\r\n\t</ng-template>\r\n\t<ng-template pTemplate=\"body\" let-token>\r\n\t\t<tr>\r\n\t\t\t<td>\r\n\t\t\t\t<button\r\n\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t(click)=\"copyMessage(labelGuarantee(token))\"\r\n\t\t\t\t\tstyle=\"margin-right: 8px;\"\r\n\t\t\t\t\ttitle=\"{{ labelGuarantee(token) }}\"\r\n\t\t\t\t>\r\n\t\t\t\t\t<span class=\"fa fa-clipboard\"></span>\r\n\t\t\t\t</button>\r\n\t\t\t\t{{ token.name }}\r\n\t\t\t</td>\r\n\t\t\t<td class=\"cut-line\">{{ token.formula }}</td>\r\n\t\t\t<td>{{ token.createdAt | date: 'dd MMM yyyy' | lowercase }}</td>\r\n\t\t\t<td>{{ token.modifiedAt | date: 'dd MMM yyyy' | lowercase }}</td>\r\n\t\t\t<td>\r\n\t\t\t\t<div class=\"btn-group\" role=\"group\">\r\n\t\t\t\t\t<button\r\n\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\tclass=\"btn btn-default\"\r\n\t\t\t\t\t\t(click)=\"initForm(token)\"\r\n\t\t\t\t\t\tpliAuthorityDirective\r\n\t\t\t\t\t\t[externalAllowed]=\"false\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\tEditar\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<button\r\n\t\t\t\t\t\ttype=\"button\"\r\n\t\t\t\t\t\tclass=\"btn btn-default dropdown-toggle\"\r\n\t\t\t\t\t\tdata-toggle=\"dropdown\"\r\n\t\t\t\t\t\taria-haspopup=\"true\"\r\n\t\t\t\t\t\taria-expanded=\"false\"\r\n\t\t\t\t\t>\r\n\t\t\t\t\t\t<span class=\"caret\"></span>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<ul class=\"dropdown-menu\">\r\n\t\t\t\t\t\t<li>\r\n\t\t\t\t\t\t\t<a\r\n\t\t\t\t\t\t\t\thref=\"Javascript:;\"\r\n\t\t\t\t\t\t\t\t(click)=\"delete(token)\"\r\n\t\t\t\t\t\t\t\tpliAuthorityDirective\r\n\t\t\t\t\t\t\t\t[authorities]=\"[p('ROLE_TOKENS_ELIMINAR')]\"\r\n\t\t\t\t\t\t\t\t[externalAllowed]=\"false\"\r\n\t\t\t\t\t\t\t\t>Eliminar</a\r\n\t\t\t\t\t\t\t>\r\n\t\t\t\t\t\t</li>\r\n\t\t\t\t\t</ul>\r\n\t\t\t\t</div>\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t</ng-template>\r\n</p-table>\r\n<div class=\"text-align-right\" style=\"padding: 0.75rem 1.25rem;\">\r\n\t<button type=\"button\" class=\"btn btn-primary\" (click)=\"initForm(null)\">\r\n\t\tAgregar nuevo\r\n\t</button>\r\n</div>\r\n<p-dialog\r\n\theader=\"Token Garantias\"\r\n\t[(visible)]=\"showModal\"\r\n\t[modal]=\"true\"\r\n\t(onHide)=\"onCloseModal()\"\r\n\t[contentStyle]=\"{\r\n\t\twidth: '400px',\r\n\t\t'overflow-y': 'auto',\r\n\t\t'min-height': '500px',\r\n\t\t'max-height': '500px',\r\n\t\t'text-align': 'left'\r\n\t}\"\r\n\theight=\"500px\"\r\n\twidth=\"500px\"\r\n\tdismissableMask=\"true\"\r\n>\r\n\t<form [formGroup]=\"frmToken\" (ngSubmit)=\"save()\" *ngIf=\"tokenSelected\">\r\n\t\t<div class=\"row\">\r\n\t\t\t<div class=\"col-sm-12 col-md-12 col-lg-12\">\r\n\t\t\t\t<div class=\"form-group required\">\r\n\t\t\t\t\t<label for=\"name\" class=\"form-control-label\">Nombre</label>\r\n\t\t\t\t\t<input\r\n\t\t\t\t\t\ttype=\"input\"\r\n\t\t\t\t\t\tclass=\"form-control\"\r\n\t\t\t\t\t\tname=\"name\"\r\n\t\t\t\t\t\tid=\"name\"\r\n\t\t\t\t\t\tplaceholder=\"Nombre\"\r\n\t\t\t\t\t\tformControlName=\"controlName\"\r\n\t\t\t\t\t\t[(ngModel)]=\"tokenSelected.name\"\r\n\t\t\t\t\t/>\r\n\t\t\t\t\t<div class=\"form-control-error\">\r\n\t\t\t\t\t\t<small *ngIf=\"hasError(controlName, 'required')\"\r\n\t\t\t\t\t\t\t>El nombre es requerido</small\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class=\"form-group\">\r\n\t\t\t\t\t<label class=\"form-control-label\">Llave: </label>\r\n\t\t\t\t\t<p style=\"font-weight: bold; margin-bottom: 25px;\">\r\n\t\t\t\t\t\t{{ resolveKeyCalculatedToken() }}\r\n\t\t\t\t\t</p>\r\n\t\t\t\t</div>\r\n\t\t\t\t<div class=\"form-group required\">\r\n\t\t\t\t\t<label for=\"formula\" class=\"form-control-label\">Formula</label>\r\n\t\t\t\t\t<textarea\r\n\t\t\t\t\t\trows=\"3\"\r\n\t\t\t\t\t\tclass=\"form-control\"\r\n\t\t\t\t\t\tname=\"formula\"\r\n\t\t\t\t\t\tid=\"formula\"\r\n\t\t\t\t\t\tformControlName=\"controlFormula\"\r\n\t\t\t\t\t\t[(ngModel)]=\"tokenSelected.formula\"\r\n\t\t\t\t\t></textarea>\r\n\t\t\t\t\t<div class=\"form-control-error\">\r\n\t\t\t\t\t\t<small *ngIf=\"hasError(controlFormula, 'required')\"\r\n\t\t\t\t\t\t\t>La f\u00F3rmula es requerida</small\r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div class=\"card-footer text-align-right\">\r\n\t\t\t\t\t<button type=\"button\" (click)=\"onCloseModal()\" class=\"btn btn-link\">\r\n\t\t\t\t\t\tCancelar\r\n\t\t\t\t\t</button>\r\n\t\t\t\t\t<button type=\"submit\" class=\"btn btn-success\">\r\n\t\t\t\t\t\tGuardar\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</form>\r\n</p-dialog>\r\n" }]
|
|
100
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.CommonService }, { type: i2.ToastrService }, { type: i3.PliCnfGuaranteeTokenService }]; }, propDecorators: { promCodigo: [{
|
|
101
|
-
type: Input
|
|
102
|
-
}] } });
|
|
103
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3VhcmFudGVlLXRva2VuLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXBsaS1jb21tb25zL3NyYy9saWIvY29tcG9uZW50cy9jb25maWd1cmF0aW9uLXRva2VuL2d1YXJhbnRlZS10b2tlbi9ndWFyYW50ZWUtdG9rZW4uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctcGxpLWNvbW1vbnMvc3JjL2xpYi9jb21wb25lbnRzL2NvbmZpZ3VyYXRpb24tdG9rZW4vZ3VhcmFudGVlLXRva2VuL2d1YXJhbnRlZS10b2tlbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQXFCLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDNUUsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFFcEUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQy9ELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxVQUFVLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFDL0QsT0FBTyxFQUFFLFdBQVcsRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7Ozs7Ozs7Ozs7O0FBUXBFLE1BQU0sT0FBTyx1QkFBd0IsU0FBUSxvQkFB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JcclxuXHRcdFx0XHRcdFx0XHQ+TGEgZsOzcm11bGEgZXMgcmVxdWVyaWRhPC9zbWFsbFxyXG5cdFx0XHRcdFx0XHQ+XHJcblx0XHRcdFx0XHQ8L2Rpdj5cclxuXHRcdFx0XHQ8L2Rpdj5cclxuXHJcblx0XHRcdFx0PGRpdiBjbGFzcz1cImNhcmQtZm9vdGVyIHRleHQtYWxpZ24tcmlnaHRcIj5cclxuXHRcdFx0XHRcdDxidXR0b24gdHlwZT1cImJ1dHRvblwiIChjbGljayk9XCJvbkNsb3NlTW9kYWwoKVwiIGNsYXNzPVwiYnRuIGJ0bi1saW5rXCI+XHJcblx0XHRcdFx0XHRcdENhbmNlbGFyXHJcblx0XHRcdFx0XHQ8L2J1dHRvbj5cclxuXHRcdFx0XHRcdDxidXR0b24gdHlwZT1cInN1Ym1pdFwiIGNsYXNzPVwiYnRuIGJ0bi1zdWNjZXNzXCI+XHJcblx0XHRcdFx0XHRcdEd1YXJkYXJcclxuXHRcdFx0XHRcdDwvYnV0dG9uPlxyXG5cdFx0XHRcdDwvZGl2PlxyXG5cdFx0XHQ8L2Rpdj5cclxuXHRcdDwvZGl2PlxyXG5cdDwvZm9ybT5cclxuPC9wLWRpYWxvZz5cclxuIl19
|
package/esm2020/lib/components/configuration-token/snapshot-token/snapshot-token.component.mjs
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { PliCnfSnapshotToken, UtilString } from "ng-pli-util";
|
|
3
|
-
import { CommonListsComponent } from "../../common.lists.component";
|
|
4
|
-
import { TokenService } from "../../../services/token.service";
|
|
5
|
-
import { FormControl, FormGroup, Validators } from "@angular/forms";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../../services/common.service";
|
|
8
|
-
import * as i2 from "ngx-toastr";
|
|
9
|
-
import * as i3 from "../../../services/pli-cnf-snapshot-token.service";
|
|
10
|
-
import * as i4 from "primeng/table";
|
|
11
|
-
import * as i5 from "primeng/dialog";
|
|
12
|
-
import * as i6 from "primeng/api";
|
|
13
|
-
import * as i7 from "ng-pli-util";
|
|
14
|
-
import * as i8 from "@angular/common";
|
|
15
|
-
import * as i9 from "@angular/forms";
|
|
16
|
-
export class SnapshotTokenComponent extends CommonListsComponent {
|
|
17
|
-
constructor(cdRef, commonService, toastrService, tokenService) {
|
|
18
|
-
super(commonService, cdRef);
|
|
19
|
-
this.cdRef = cdRef;
|
|
20
|
-
this.commonService = commonService;
|
|
21
|
-
this.toastrService = toastrService;
|
|
22
|
-
this.tokenService = tokenService;
|
|
23
|
-
}
|
|
24
|
-
/** Tet the label to calculated tokens */
|
|
25
|
-
labelSnapshot(token) {
|
|
26
|
-
return '${' + TokenService.getKeySnapshot(token) + '}';
|
|
27
|
-
}
|
|
28
|
-
async ngOnInit() {
|
|
29
|
-
super.ngOnInit();
|
|
30
|
-
this.getTokens();
|
|
31
|
-
this.types = await this.tokenService.getAllType().toPromise();
|
|
32
|
-
}
|
|
33
|
-
initForm(tokenSelected) {
|
|
34
|
-
this.tokenSelected =
|
|
35
|
-
tokenSelected == null
|
|
36
|
-
? new PliCnfSnapshotToken()
|
|
37
|
-
: Object.assign(new PliCnfSnapshotToken(), JSON.parse(JSON.stringify(tokenSelected)));
|
|
38
|
-
if (!this.tokenSelected.promCodigo) {
|
|
39
|
-
this.tokenSelected.promCodigo = this.promCodigo;
|
|
40
|
-
}
|
|
41
|
-
this.controlName = new FormControl(this.tokenSelected.name, Validators.required);
|
|
42
|
-
this.controlFormula = new FormControl(this.tokenSelected.formula, Validators.required);
|
|
43
|
-
this.controlType = new FormControl(this.tokenSelected.type, Validators.required);
|
|
44
|
-
this.frmToken = new FormGroup({
|
|
45
|
-
controlName: this.controlName,
|
|
46
|
-
controlFormula: this.controlFormula,
|
|
47
|
-
controlType: this.controlType
|
|
48
|
-
});
|
|
49
|
-
this.showModal = true;
|
|
50
|
-
}
|
|
51
|
-
/** It deletes a sponsor */
|
|
52
|
-
delete(token) {
|
|
53
|
-
if (confirm('¿Está seguro que desea eliminar el token ' + token.name + '?')) {
|
|
54
|
-
this.tokenService.delete(token.id).subscribe((result) => {
|
|
55
|
-
this.toastrService.success('El token fué eliminada exitosamente');
|
|
56
|
-
this.getTokens();
|
|
57
|
-
}, (error) => {
|
|
58
|
-
this.toastrService.error('Error al intentar eliminar el token');
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
getTokens() {
|
|
63
|
-
this.tokenService.getAllByPromCode(this.promCodigo).subscribe((lToken) => {
|
|
64
|
-
this.tokens = lToken;
|
|
65
|
-
}, (error) => {
|
|
66
|
-
console.log('Error getTokenCalculated -getListByPromCodigo', error);
|
|
67
|
-
this.toastrService.error('Error el formulario');
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
resolveKeyCalculatedToken() {
|
|
71
|
-
return UtilString.replaceAccentSpacesOthers(this.tokenSelected.name);
|
|
72
|
-
}
|
|
73
|
-
onCloseModal() {
|
|
74
|
-
this.showModal = false;
|
|
75
|
-
}
|
|
76
|
-
save() {
|
|
77
|
-
if (this.isFormValid(this.frmToken) && this.isValid()) {
|
|
78
|
-
this.tokenService.save(this.tokenSelected).subscribe((tokenSave) => {
|
|
79
|
-
this.toastrService.success('Se ha guardado exitosamente ', 'Guardado exitoso!');
|
|
80
|
-
this.tokenSelected = null;
|
|
81
|
-
this.getTokens();
|
|
82
|
-
this.onCloseModal();
|
|
83
|
-
}, (error) => {
|
|
84
|
-
console.error(error);
|
|
85
|
-
this.toastrService.error('Error al intentar guardar el token', 'Error!');
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
isValid() {
|
|
90
|
-
const token = this.tokens.find(token => UtilString.replaceAccentSpacesOthers(token.name) ===
|
|
91
|
-
UtilString.replaceAccentSpacesOthers(this.tokenSelected.name) &&
|
|
92
|
-
(!this.tokenSelected.id || this.tokenSelected.id !== token.id));
|
|
93
|
-
if (token) {
|
|
94
|
-
this.toastrService.error('El token ' + token.name + ' ya existe', 'Alerta!');
|
|
95
|
-
return false;
|
|
96
|
-
}
|
|
97
|
-
return true;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
SnapshotTokenComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: SnapshotTokenComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.CommonService }, { token: i2.ToastrService }, { token: i3.PliCnfSnapshotTokenServices }], target: i0.ɵɵFactoryTarget.Component });
|
|
101
|
-
SnapshotTokenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.5", type: SnapshotTokenComponent, selector: "pli-snapshot-token", inputs: { promCodigo: "promCodigo" }, usesInheritance: true, ngImport: i0, template: "<h4 class=\"no-margin-top\">\r\n Tokens Snapshot\r\n</h4>\r\n<p-table [value]=\"tokens\" [responsive]=\"true\">\r\n <ng-template pTemplate=\"header\">\r\n <tr class=\"text-align-center\">\r\n <th class=\"text-align-center\" width=\"40%\">Nombre</th>\r\n <th class=\"text-align-center\">Formula</th>\r\n <th class=\"text-align-center\">Tipo</th>\r\n <th class=\"text-align-center\">Creado</th>\r\n <th class=\"text-align-center\">Modificado</th>\r\n <th class=\"text-align-center\">Acciones</th>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\" let-token>\r\n <tr>\r\n <td>\r\n <button\r\n type=\"button\"\r\n (click)=\"copyMessage(labelSnapshot(token))\"\r\n style=\"margin-right: 8px;\"\r\n title=\"{{ labelSnapshot(token) }}\"\r\n >\r\n <span class=\"fa fa-clipboard\"></span>\r\n </button>\r\n {{ token.name }}\r\n </td>\r\n <td class=\"cut-line\">{{ token.formula }}</td>\r\n <td class=\"cut-line\">{{ token.type.name }}</td>\r\n <td>{{ token.createdAt | date: 'dd MMM yyyy' | lowercase }}</td>\r\n <td>{{ token.modifiedAt | date: 'dd MMM yyyy' | lowercase }}</td>\r\n <td>\r\n <div class=\"btn-group\" role=\"group\">\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-default\"\r\n (click)=\"initForm(token)\"\r\n pliAuthorityDirective\r\n [externalAllowed]=\"false\"\r\n >\r\n Editar\r\n </button>\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-default dropdown-toggle\"\r\n data-toggle=\"dropdown\"\r\n aria-haspopup=\"true\"\r\n aria-expanded=\"false\"\r\n >\r\n <span class=\"caret\"></span>\r\n </button>\r\n <ul class=\"dropdown-menu\">\r\n <li>\r\n <a\r\n href=\"Javascript:;\"\r\n (click)=\"delete(token)\"\r\n pliAuthorityDirective\r\n [authorities]=\"[p('ROLE_TOKENS_ELIMINAR')]\"\r\n [externalAllowed]=\"false\"\r\n >Eliminar</a\r\n >\r\n </li>\r\n </ul>\r\n </div>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n</p-table>\r\n<div class=\"text-align-right\" style=\"padding: .75rem 1.25rem;\">\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-primary\"\r\n (click)=\"initForm(null)\"\r\n >\r\n Agregar nuevo\r\n </button>\r\n</div>\r\n\r\n<p-dialog\r\n header=\"Snapshot Token\"\r\n [(visible)]=\"showModal\"\r\n [modal]=\"true\"\r\n (onHide)=\"onCloseModal()\"\r\n [contentStyle]=\"{\r\n\t\twidth: '400px',\r\n\t\t'overflow-y': 'auto',\r\n\t\t'min-height': '500px',\r\n\t\t'max-height': '500px',\r\n\t\t'text-align': 'left'\r\n\t}\"\r\n height=\"500px\"\r\n width=\"400px\"\r\n dismissableMask=\"true\"\r\n>\r\n <form [formGroup]=\"frmToken\" (ngSubmit)=\"save()\" *ngIf=\"tokenSelected\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-12 col-md-12\">\r\n <div class=\"form-group required\">\r\n <label for=\"name\" class=\"form-control-label\">Nombre</label>\r\n <input\r\n type=\"input\"\r\n class=\"form-control\"\r\n name=\"name\"\r\n id=\"name\"\r\n placeholder=\"Nombre\"\r\n formControlName=\"controlName\"\r\n [(ngModel)]=\"tokenSelected.name\"/>\r\n <div class=\"form-control-error\">\r\n <small *ngIf=\"hasError(controlName, 'required')\">Nombre es requerido</small>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-12 col-md-12\">\r\n <div class=\"form-group required\">\r\n <label for=\"type\" class=\"form-control-label\">Tipo</label>\r\n <select\r\n name=\"type\"\r\n id=\"type\"\r\n class=\"form-control\"\r\n formControlName=\"controlType\"\r\n [(ngModel)]=\"tokenSelected.type.id\">\r\n <option value=\"\">-- Seleccione opci\u00F3n</option>\r\n <option *ngFor=\"let type of types\" [value]=\"type.id\">{{ type.name }}</option>\r\n </select>\r\n <div class=\"form-control-error\">\r\n <small *ngIf=\"hasError(controlType, 'required')\">Tipo de token requerido</small>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-12 col-md-12\">\r\n <div class=\"form-group required\">\r\n <label class=\"form-control-label\">Llave:</label> \r\n <span style=\"font-weight: bold;\"> {{resolveKeyCalculatedToken()}}</span>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-12 col-md-12\">\r\n <div class=\"form-group required\">\r\n <label for=\"formula\" class=\"form-control-label\"\r\n >Formula</label\r\n >\r\n <textarea\r\n cols=\"150\"\r\n rows=\"4\"\r\n class=\"form-control\"\r\n name=\"formula\"\r\n id=\"formula\"\r\n formControlName=\"controlFormula\"\r\n [(ngModel)]=\"tokenSelected.formula\"\r\n ></textarea>\r\n <div class=\"form-control-error\">\r\n <small *ngIf=\"hasError(controlFormula, 'required')\"\r\n >F\u00F3rmula es requerida</small\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card-footer text-align-right\">\r\n <button type=\"button\" (click)=\"onCloseModal()\" class=\"btn btn-link\">\r\n Cancelar\r\n </button>\r\n <button\r\n type=\"submit\"\r\n class=\"btn btn-success\"\r\n >\r\n Guardar\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n</p-dialog>\r\n\r\n\r\n", components: [{ type: i4.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollDelay", "virtualRowHeight", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "minBufferPx", "maxBufferPx", "responsiveLayout", "breakpoint", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll"], outputs: ["selectAllChange", "selectionChange", "contextMenuSelectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { type: i5.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }], directives: [{ type: i6.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { type: i7.AuthorityDirectiveDirective, selector: "[pliAuthorityDirective]", inputs: ["authorities", "patCodigo", "externalAllowed"] }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i9.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i9.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i9.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i9.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i9.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { type: i9.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { type: i9.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i9.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { type: i8.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "lowercase": i8.LowerCasePipe, "date": i8.DatePipe } });
|
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: SnapshotTokenComponent, decorators: [{
|
|
103
|
-
type: Component,
|
|
104
|
-
args: [{ selector: 'pli-snapshot-token', template: "<h4 class=\"no-margin-top\">\r\n Tokens Snapshot\r\n</h4>\r\n<p-table [value]=\"tokens\" [responsive]=\"true\">\r\n <ng-template pTemplate=\"header\">\r\n <tr class=\"text-align-center\">\r\n <th class=\"text-align-center\" width=\"40%\">Nombre</th>\r\n <th class=\"text-align-center\">Formula</th>\r\n <th class=\"text-align-center\">Tipo</th>\r\n <th class=\"text-align-center\">Creado</th>\r\n <th class=\"text-align-center\">Modificado</th>\r\n <th class=\"text-align-center\">Acciones</th>\r\n </tr>\r\n </ng-template>\r\n <ng-template pTemplate=\"body\" let-token>\r\n <tr>\r\n <td>\r\n <button\r\n type=\"button\"\r\n (click)=\"copyMessage(labelSnapshot(token))\"\r\n style=\"margin-right: 8px;\"\r\n title=\"{{ labelSnapshot(token) }}\"\r\n >\r\n <span class=\"fa fa-clipboard\"></span>\r\n </button>\r\n {{ token.name }}\r\n </td>\r\n <td class=\"cut-line\">{{ token.formula }}</td>\r\n <td class=\"cut-line\">{{ token.type.name }}</td>\r\n <td>{{ token.createdAt | date: 'dd MMM yyyy' | lowercase }}</td>\r\n <td>{{ token.modifiedAt | date: 'dd MMM yyyy' | lowercase }}</td>\r\n <td>\r\n <div class=\"btn-group\" role=\"group\">\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-default\"\r\n (click)=\"initForm(token)\"\r\n pliAuthorityDirective\r\n [externalAllowed]=\"false\"\r\n >\r\n Editar\r\n </button>\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-default dropdown-toggle\"\r\n data-toggle=\"dropdown\"\r\n aria-haspopup=\"true\"\r\n aria-expanded=\"false\"\r\n >\r\n <span class=\"caret\"></span>\r\n </button>\r\n <ul class=\"dropdown-menu\">\r\n <li>\r\n <a\r\n href=\"Javascript:;\"\r\n (click)=\"delete(token)\"\r\n pliAuthorityDirective\r\n [authorities]=\"[p('ROLE_TOKENS_ELIMINAR')]\"\r\n [externalAllowed]=\"false\"\r\n >Eliminar</a\r\n >\r\n </li>\r\n </ul>\r\n </div>\r\n </td>\r\n </tr>\r\n </ng-template>\r\n</p-table>\r\n<div class=\"text-align-right\" style=\"padding: .75rem 1.25rem;\">\r\n <button\r\n type=\"button\"\r\n class=\"btn btn-primary\"\r\n (click)=\"initForm(null)\"\r\n >\r\n Agregar nuevo\r\n </button>\r\n</div>\r\n\r\n<p-dialog\r\n header=\"Snapshot Token\"\r\n [(visible)]=\"showModal\"\r\n [modal]=\"true\"\r\n (onHide)=\"onCloseModal()\"\r\n [contentStyle]=\"{\r\n\t\twidth: '400px',\r\n\t\t'overflow-y': 'auto',\r\n\t\t'min-height': '500px',\r\n\t\t'max-height': '500px',\r\n\t\t'text-align': 'left'\r\n\t}\"\r\n height=\"500px\"\r\n width=\"400px\"\r\n dismissableMask=\"true\"\r\n>\r\n <form [formGroup]=\"frmToken\" (ngSubmit)=\"save()\" *ngIf=\"tokenSelected\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div class=\"row\">\r\n <div class=\"col-sm-12 col-md-12\">\r\n <div class=\"form-group required\">\r\n <label for=\"name\" class=\"form-control-label\">Nombre</label>\r\n <input\r\n type=\"input\"\r\n class=\"form-control\"\r\n name=\"name\"\r\n id=\"name\"\r\n placeholder=\"Nombre\"\r\n formControlName=\"controlName\"\r\n [(ngModel)]=\"tokenSelected.name\"/>\r\n <div class=\"form-control-error\">\r\n <small *ngIf=\"hasError(controlName, 'required')\">Nombre es requerido</small>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-12 col-md-12\">\r\n <div class=\"form-group required\">\r\n <label for=\"type\" class=\"form-control-label\">Tipo</label>\r\n <select\r\n name=\"type\"\r\n id=\"type\"\r\n class=\"form-control\"\r\n formControlName=\"controlType\"\r\n [(ngModel)]=\"tokenSelected.type.id\">\r\n <option value=\"\">-- Seleccione opci\u00F3n</option>\r\n <option *ngFor=\"let type of types\" [value]=\"type.id\">{{ type.name }}</option>\r\n </select>\r\n <div class=\"form-control-error\">\r\n <small *ngIf=\"hasError(controlType, 'required')\">Tipo de token requerido</small>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-12 col-md-12\">\r\n <div class=\"form-group required\">\r\n <label class=\"form-control-label\">Llave:</label> \r\n <span style=\"font-weight: bold;\"> {{resolveKeyCalculatedToken()}}</span>\r\n </div>\r\n </div>\r\n <div class=\"col-sm-12 col-md-12\">\r\n <div class=\"form-group required\">\r\n <label for=\"formula\" class=\"form-control-label\"\r\n >Formula</label\r\n >\r\n <textarea\r\n cols=\"150\"\r\n rows=\"4\"\r\n class=\"form-control\"\r\n name=\"formula\"\r\n id=\"formula\"\r\n formControlName=\"controlFormula\"\r\n [(ngModel)]=\"tokenSelected.formula\"\r\n ></textarea>\r\n <div class=\"form-control-error\">\r\n <small *ngIf=\"hasError(controlFormula, 'required')\"\r\n >F\u00F3rmula es requerida</small\r\n >\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card-footer text-align-right\">\r\n <button type=\"button\" (click)=\"onCloseModal()\" class=\"btn btn-link\">\r\n Cancelar\r\n </button>\r\n <button\r\n type=\"submit\"\r\n class=\"btn btn-success\"\r\n >\r\n Guardar\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </form>\r\n</p-dialog>\r\n\r\n\r\n" }]
|
|
105
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.CommonService }, { type: i2.ToastrService }, { type: i3.PliCnfSnapshotTokenServices }]; }, propDecorators: { promCodigo: [{
|
|
106
|
-
type: Input
|
|
107
|
-
}] } });
|
|
108
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic25hcHNob3QtdG9rZW4uY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gICAgICAgPGxpPlxyXG4gICAgICAgICAgICAgIDxhXHJcbiAgICAgICAgICAgICAgICBocmVmPVwiSmF2YXNjcmlwdDo7XCJcclxuICAgICAgICAgICAgICAgIChjbGljayk9XCJkZWxldGUodG9rZW4pXCJcclxuICAgICAgICAgICAgICAgIHBsaUF1dGhvcml0eURpcmVjdGl2ZVxyXG4gICAgICAgICAgICAgICAgW2F1dGhvcml0aWVzXT1cIltwKCdST0xFX1RPS0VOU19FTElNSU5BUicpXVwiXHJcbiAgICAgICAgICAgICAgICBbZXh0ZXJuYWxBbGxvd2VkXT1cImZhbHNlXCJcclxuICAgICAgICAgICAgICA+RWxpbWluYXI8L2FcclxuICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgIDwvbGk+XHJcbiAgICAgICAgICA8L3VsPlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgICA8L3RkPlxyXG4gICAgPC90cj5cclxuICA8L25nLXRlbXBsYXRlPlxyXG48L3AtdGFibGU+XHJcbjxkaXYgY2xhc3M9XCJ0ZXh0LWFsaWduLXJpZ2h0XCIgc3R5bGU9XCJwYWRkaW5nOiAuNzVyZW0gMS4yNXJlbTtcIj5cclxuICA8YnV0dG9uXHJcbiAgICB0eXBlPVwiYnV0dG9uXCJcclxuICAgIGNsYXNzPVwiYnRuIGJ0bi1wcmltYXJ5XCJcclxuICAgIChjbGljayk9XCJpbml0Rm9ybShudWxsKVwiXHJcbiAgPlxyXG4gICAgQWdyZWdhciBudWV2b1xyXG4gIDwvYnV0dG9uPlxyXG48L2Rpdj5cclxuXHJcbjxwLWRpYWxvZ1xyXG4gIGhlYWRlcj1cIlNuYXBzaG90IFRva2VuXCJcclxuICBbKHZpc2libGUpXT1cInNob3dNb2RhbFwiXHJcbiAgW21vZGFsXT1cInRydWVcIlxyXG4gIChvbkhpZGUpPVwib25DbG9zZU1vZGFsKClcIlxyXG4gIFtjb250ZW50U3R5bGVdPVwie1xyXG5cdFx0d2lkdGg6ICc0MDBweCcsXH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cIjE1MFwiXHJcbiAgICAgICAgICAgICAgICByb3dzPVwiNFwiXHJcbiAgICAgICAgICAgICAgICBjbGFzcz1cImZvcm0tY29udHJvbFwiXHJcbiAgICAgICAgICAgICAgICBuYW1lPVwiZm9ybXVsYVwiXHJcbiAgICAgICAgICAgICAgICBpZD1cImZvcm11bGFcIlxyXG4gICAgICAgICAgICAgICAgZm9ybUNvbnRyb2xOYW1lPVwiY29udHJvbEZvcm11bGFcIlxyXG4gICAgICAgICAgICAgICAgWyhuZ01vZGVsKV09XCJ0b2tlblNlbGVjdGVkLmZvcm11bGFcIlxyXG4gICAgICAgICAgICAgID48L3RleHRhcmVhPlxyXG4gICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJmb3JtLWNvbnRyb2wtZXJyb3JcIj5cclxuICAgICAgICAgICAgICAgIDxzbWFsbCAqbmdJZj1cImhhc0Vycm9yKGNvbnRyb2xGb3JtdWxhLCAncmVxdWlyZWQnKVwiXHJcbiAgICAgICAgICAgICAgICA+RsOzcm11bGEgZXMgcmVxdWVyaWRhPC9zbWFsbFxyXG4gICAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDxkaXYgY2xhc3M9XCJjYXJkLWZvb3RlciB0ZXh0LWFsaWduLXJpZ2h0XCI+XHJcbiAgICAgICAgICA8YnV0dG9uIHR5cGU9XCJidXR0b25cIiAoY2xpY2spPVwib25DbG9zZU1vZGFsKClcIiBjbGFzcz1cImJ0biBidG4tbGlua1wiPlxyXG4gICAgICAgICAgICBDYW5jZWxhclxyXG4gICAgICAgICAgPC9idXR0b24+XHJcbiAgICAgICAgICA8YnV0dG9uXHJcbiAgICAgICAgICAgIHR5cGU9XCJzdWJtaXRcIlxyXG4gICAgICAgICAgICBjbGFzcz1cImJ0biBidG4tc3VjY2Vzc1wiXHJcbiAgICAgICAgICA+XHJcbiAgICAgICAgICAgIEd1YXJkYXJcclxuICAgICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgICA8L2Rpdj5cclxuICAgIDwvZGl2PlxyXG4gIDwvZm9ybT5cclxuPC9wLWRpYWxvZz5cclxuXHJcblxyXG4iXX0=
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { CommonListsComponent } from './common.lists.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../services/common.service";
|
|
5
|
-
export class ConfigurationCommonsComponent extends CommonListsComponent {
|
|
6
|
-
constructor(commonService, cdRef) {
|
|
7
|
-
super(commonService, cdRef);
|
|
8
|
-
this.commonService = commonService;
|
|
9
|
-
this.cdRef = cdRef;
|
|
10
|
-
/** */
|
|
11
|
-
this.fullWidth = false;
|
|
12
|
-
}
|
|
13
|
-
ngOnInit() {
|
|
14
|
-
super.ngOnInit();
|
|
15
|
-
if (this.fullWidth) {
|
|
16
|
-
const element = document.getElementById('mainContainer');
|
|
17
|
-
if (element) {
|
|
18
|
-
element.classList.remove('container');
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
ngOnDestroy() {
|
|
23
|
-
if (this.fullWidth) {
|
|
24
|
-
const element = document.getElementById('mainContainer');
|
|
25
|
-
if (element) {
|
|
26
|
-
element.classList.add('container');
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
ConfigurationCommonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: ConfigurationCommonsComponent, deps: [{ token: i1.CommonService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
-
ConfigurationCommonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.5", type: ConfigurationCommonsComponent, selector: "app-configuration-commons", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: ConfigurationCommonsComponent, decorators: [{
|
|
34
|
-
type: Component,
|
|
35
|
-
args: [{
|
|
36
|
-
selector: 'app-configuration-commons',
|
|
37
|
-
template: ''
|
|
38
|
-
}]
|
|
39
|
-
}], ctorParameters: function () { return [{ type: i1.CommonService }, { type: i0.ChangeDetectorRef }]; } });
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlndXJhdGlvbi5jb21tb25zLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXBsaS1jb21tb25zL3NyYy9saWIvY29tcG9uZW50cy9jb25maWd1cmF0aW9uLmNvbW1vbnMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBd0MsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRWhGLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDOzs7QUFNaEUsTUFBTSxPQUFnQiw2QkFDckIsU0FBUSxvQkFBb0I7SUFLNUIsWUFBc0IsYUFBNEIsRUFBWSxLQUF3QjtRQUNyRixLQUFLLENBQUMsYUFBYSxFQUFFLEtBQUssQ0FBQyxDQUFDO1FBRFAsa0JBQWEsR0FBYixhQUFhLENBQWU7UUFBWSxVQUFLLEdBQUwsS0FBSyxDQUFtQjtRQUh0RixNQUFNO1FBQ04sY0FBUyxHQUFZLEtBQUssQ0FBQztJQUkzQixDQUFDO0lBRUQsUUFBUTtRQUNQLEtBQUssQ0FBQyxRQUFRLEVBQUUsQ0FBQztRQUNqQixJQUFJLElBQUksQ0FBQyxT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