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.
Files changed (471) hide show
  1. package/esm2022/lib/components/backoffice.commons.component.mjs +40 -0
  2. package/esm2022/lib/components/common.lists.component.mjs +194 -0
  3. package/{esm2020 → esm2022}/lib/components/configuration-token/configuration-token-subject.service.mjs +23 -23
  4. package/esm2022/lib/components/configuration-token/configuration-token.component.mjs +665 -0
  5. package/esm2022/lib/components/configuration-token/guarantee-token/guarantee-token.component.mjs +103 -0
  6. package/esm2022/lib/components/configuration-token/snapshot-token/snapshot-token.component.mjs +108 -0
  7. package/esm2022/lib/components/configuration.commons.component.mjs +40 -0
  8. package/{esm2020 → esm2022}/lib/components/dashboard.commons.component.mjs +84 -84
  9. package/esm2022/lib/components/dynamic-filter/dynamic-filter.component.mjs +131 -0
  10. package/esm2022/lib/components/excel-to-json/excel-to-json.component.mjs +54 -0
  11. package/esm2022/lib/components/frontoffice.commons.component.mjs +86 -0
  12. package/esm2022/lib/components/pdf-analyzer/pdf-analyzer.component.mjs +162 -0
  13. package/{esm2020 → esm2022}/lib/components/pdf-config/pdf-config.component.mjs +170 -170
  14. package/esm2022/lib/components/pdf-generator/pdf-generator.component.mjs +223 -0
  15. package/esm2022/lib/components/pdf-merge-visualizer/pdf-merge-visualizer.component.mjs +307 -0
  16. package/esm2022/lib/components/pdf-visualizer/pdf-visualizer.component.mjs +387 -0
  17. package/esm2022/lib/components/progress-bar/progress-bar.component.mjs +92 -0
  18. package/esm2022/lib/components/segmentation-tokens/segmentation-tokens.component.mjs +199 -0
  19. package/esm2022/lib/components/select-ppp/select-ppp.component.mjs +199 -0
  20. package/esm2022/lib/components/show-hide-columns/show-hide-columns-table.component.mjs +116 -0
  21. package/esm2022/lib/components/token/token.component.mjs +1006 -0
  22. package/esm2022/lib/components/tokens-calculator/tokens-calculator.component.mjs +128 -0
  23. package/{esm2020 → esm2022}/lib/directives/currency-colfuturo-formatter.directive.mjs +47 -47
  24. package/{esm2020 → esm2022}/lib/directives/currency-decimal-colfuturo-formatter.directive.mjs +34 -34
  25. package/esm2022/lib/ng-pli-commons.module.mjs +387 -0
  26. package/{esm2020 → esm2022}/lib/ng-pli-commons.service.mjs +14 -14
  27. package/esm2022/lib/pipes/currency-colfuturo.pipe.mjs +35 -0
  28. package/{esm2020 → esm2022}/lib/pipes/currency-decimal-colfuturo.pipe.mjs +36 -36
  29. package/{esm2020 → esm2022}/lib/pipes/currency-print-colfuturo.pipe.mjs +33 -33
  30. package/esm2022/lib/pipes/thousands.pipe.mjs +60 -0
  31. package/{esm2020 → esm2022}/lib/services/application-fill-percentage.service.mjs +30 -30
  32. package/{esm2020 → esm2022}/lib/services/application-tag.service.mjs +56 -56
  33. package/{esm2020 → esm2022}/lib/services/application.service.mjs +247 -247
  34. package/esm2022/lib/services/authentication.service.mjs +133 -0
  35. package/{esm2020 → esm2022}/lib/services/blocked-beneficiary.service.mjs +42 -42
  36. package/esm2022/lib/services/budget-application.service.mjs +265 -0
  37. package/{esm2020 → esm2022}/lib/services/budget-simulation.service.mjs +61 -61
  38. package/esm2022/lib/services/budget.service.mjs +205 -0
  39. package/{esm2020 → esm2022}/lib/services/closure-wallet.service.mjs +39 -39
  40. package/{esm2020 → esm2022}/lib/services/cnf-correspondence-document-manager.service.mjs +39 -39
  41. package/{esm2020 → esm2022}/lib/services/committee-money.service.mjs +44 -44
  42. package/{esm2020 → esm2022}/lib/services/committee-pdf.service.mjs +27 -27
  43. package/{esm2020 → esm2022}/lib/services/committee-snapshot.service.mjs +60 -60
  44. package/{esm2020 → esm2022}/lib/services/common-info.service.mjs +51 -51
  45. package/esm2022/lib/services/common.service.mjs +291 -0
  46. package/esm2022/lib/services/configuration-document.service.mjs +297 -0
  47. package/{esm2020 → esm2022}/lib/services/configuration-minisite.service.mjs +26 -26
  48. package/{esm2020 → esm2022}/lib/services/configuration.service.mjs +53 -53
  49. package/{esm2020 → esm2022}/lib/services/correspondence-document-category.service.mjs +31 -31
  50. package/{esm2020 → esm2022}/lib/services/correspondence-manager.service.mjs +67 -67
  51. package/{esm2020 → esm2022}/lib/services/credit-score.service.mjs +48 -48
  52. package/{esm2020 → esm2022}/lib/services/credit-study.service.mjs +292 -292
  53. package/{esm2020 → esm2022}/lib/services/cube.service.mjs +27 -27
  54. package/{esm2020 → esm2022}/lib/services/data-form-history.service.mjs +25 -25
  55. package/{esm2020 → esm2022}/lib/services/data-form.service.mjs +176 -176
  56. package/{esm2020 → esm2022}/lib/services/data-letter-segmentation.service.mjs +64 -64
  57. package/{esm2020 → esm2022}/lib/services/document-analysis-auto.service.mjs +27 -27
  58. package/{esm2020 → esm2022}/lib/services/document-history.service.mjs +43 -43
  59. package/{esm2020 → esm2022}/lib/services/document-management.service.mjs +57 -57
  60. package/{esm2020 → esm2022}/lib/services/document-validation-attempt.service.mjs +32 -32
  61. package/{esm2020 → esm2022}/lib/services/document.service.mjs +131 -131
  62. package/esm2022/lib/services/documentary.type.service.mjs +69 -0
  63. package/{esm2020 → esm2022}/lib/services/email.service.mjs +30 -30
  64. package/{esm2020 → esm2022}/lib/services/evaluation.service.mjs +181 -181
  65. package/{esm2020 → esm2022}/lib/services/export-excel.service.mjs +32 -32
  66. package/esm2022/lib/services/file.service.mjs +153 -0
  67. package/{esm2020 → esm2022}/lib/services/form.service.mjs +112 -112
  68. package/{esm2020 → esm2022}/lib/services/gic-client-disbursement-metadata.service.mjs +31 -31
  69. package/{esm2020 → esm2022}/lib/services/gic-client.service.mjs +49 -49
  70. package/{esm2020 → esm2022}/lib/services/gic-cnf-bankvision-transaction.service.mjs +31 -31
  71. package/{esm2020 → esm2022}/lib/services/gic-cnf-closing-date.service.mjs +34 -34
  72. package/{esm2020 → esm2022}/lib/services/gic-cnf-maintenance.service.mjs +30 -30
  73. package/{esm2020 → esm2022}/lib/services/gic-collection.service.mjs +53 -53
  74. package/{esm2020 → esm2022}/lib/services/gic-disbursement.service.mjs +39 -39
  75. package/{esm2020 → esm2022}/lib/services/gic-extract.service.mjs +41 -41
  76. package/{esm2020 → esm2022}/lib/services/gic-log.service.mjs +41 -41
  77. package/{esm2020 → esm2022}/lib/services/gic-payment-application.service.mjs +35 -35
  78. package/{esm2020 → esm2022}/lib/services/gic-payment-plan-cube.service.mjs +27 -27
  79. package/{esm2020 → esm2022}/lib/services/gic-payment-plan.service.mjs +32 -32
  80. package/{esm2020 → esm2022}/lib/services/gic-trm.service.mjs +27 -27
  81. package/{esm2020 → esm2022}/lib/services/global.show.task.service.mjs +37 -37
  82. package/{esm2020 → esm2022}/lib/services/guarantee-document.service.mjs +52 -52
  83. package/{esm2020 → esm2022}/lib/services/guarantee-enrollment.service.mjs +37 -37
  84. package/esm2022/lib/services/guarantee.service.mjs +128 -0
  85. package/{esm2020 → esm2022}/lib/services/hash.service.mjs +36 -36
  86. package/{esm2020 → esm2022}/lib/services/import-data.service.mjs +27 -27
  87. package/{esm2020 → esm2022}/lib/services/import-excel-gic.service.mjs +45 -45
  88. package/{esm2020 → esm2022}/lib/services/initial-configuration-gic-parameters.service.mjs +51 -51
  89. package/{esm2020 → esm2022}/lib/services/initial-record.service.mjs +51 -51
  90. package/{esm2020 → esm2022}/lib/services/integration-ado.service.mjs +54 -54
  91. package/{esm2020 → esm2022}/lib/services/interaction-application-user.service.mjs +81 -81
  92. package/{esm2020 → esm2022}/lib/services/interest-adjustment.service.mjs +34 -34
  93. package/esm2022/lib/services/keys-assignation.service.mjs +127 -0
  94. package/{esm2020 → esm2022}/lib/services/legalization.service.mjs +150 -150
  95. package/{esm2020 → esm2022}/lib/services/letter-campaing.service.mjs +49 -49
  96. package/{esm2020 → esm2022}/lib/services/letter-task-mapping.service.mjs +40 -40
  97. package/{esm2020 → esm2022}/lib/services/log.service.mjs +41 -41
  98. package/{esm2020 → esm2022}/lib/services/maintenance.service.mjs +66 -66
  99. package/{esm2020 → esm2022}/lib/services/master-category.service.mjs +66 -66
  100. package/{esm2020 → esm2022}/lib/services/master-program.service.mjs +78 -78
  101. package/{esm2020 → esm2022}/lib/services/master-university.service.mjs +68 -68
  102. package/{esm2020 → esm2022}/lib/services/migration-plis.service.mjs +27 -27
  103. package/{esm2020 → esm2022}/lib/services/migration-survey-queue.service.mjs +24 -24
  104. package/{esm2020 → esm2022}/lib/services/page.service.mjs +38 -38
  105. package/{esm2020 → esm2022}/lib/services/partner-system.service.mjs +30 -30
  106. package/{esm2020 → esm2022}/lib/services/partner.service.mjs +34 -34
  107. package/{esm2020 → esm2022}/lib/services/pdf-analyzer.service.mjs +33 -33
  108. package/{esm2020 → esm2022}/lib/services/people-master.service.mjs +42 -42
  109. package/{esm2020 → esm2022}/lib/services/permission.service.mjs +29 -29
  110. package/{esm2020 → esm2022}/lib/services/pli-cnf-acuity-fields.service.mjs +34 -34
  111. package/{esm2020 → esm2022}/lib/services/pli-cnf-app-card-filter.service.mjs +40 -40
  112. package/{esm2020 → esm2022}/lib/services/pli-cnf-appointment-type.service.mjs +41 -41
  113. package/{esm2020 → esm2022}/lib/services/pli-cnf-budget-program-type.service.mjs +54 -54
  114. package/{esm2020 → esm2022}/lib/services/pli-cnf-budget.service.mjs +31 -31
  115. package/{esm2020 → esm2022}/lib/services/pli-cnf-cloning.service.mjs +27 -27
  116. package/{esm2020 → esm2022}/lib/services/pli-cnf-committee-pdf-config-table-config.service.mjs +47 -47
  117. package/{esm2020 → esm2022}/lib/services/pli-cnf-committee-pdf-gen-status.service.mjs +30 -30
  118. package/{esm2020 → esm2022}/lib/services/pli-cnf-committee-valpro-columns.service.mjs +42 -42
  119. package/{esm2020 → esm2022}/lib/services/pli-cnf-committee-visualization-mode.service.mjs +42 -42
  120. package/{esm2020 → esm2022}/lib/services/pli-cnf-committee.service.mjs +51 -51
  121. package/{esm2020 → esm2022}/lib/services/pli-cnf-config-minisite.service.mjs +90 -90
  122. package/{esm2020 → esm2022}/lib/services/pli-cnf-configuration-credit-study.service.mjs +41 -41
  123. package/{esm2020 → esm2022}/lib/services/pli-cnf-document-management.service.mjs +40 -40
  124. package/{esm2020 → esm2022}/lib/services/pli-cnf-dynamic-keys-assign.service.mjs +52 -52
  125. package/{esm2020 → esm2022}/lib/services/pli-cnf-evaluation-task-mailing.service.mjs +31 -31
  126. package/esm2022/lib/services/pli-cnf-evaluation-task.service.mjs +112 -0
  127. package/{esm2020 → esm2022}/lib/services/pli-cnf-evaluation-template.service.mjs +95 -95
  128. package/{esm2020 → esm2022}/lib/services/pli-cnf-form-edit.service.mjs +68 -68
  129. package/{esm2020 → esm2022}/lib/services/pli-cnf-form-multiaplicacion.service.mjs +46 -46
  130. package/{esm2020 → esm2022}/lib/services/pli-cnf-guarantee-documents-template.service.mjs +40 -40
  131. package/{esm2020 → esm2022}/lib/services/pli-cnf-guarantee-token.service.mjs +42 -42
  132. package/{esm2020 → esm2022}/lib/services/pli-cnf-header.service.mjs +39 -39
  133. package/{esm2020 → esm2022}/lib/services/pli-cnf-indicator.service.mjs +39 -39
  134. package/{esm2020 → esm2022}/lib/services/pli-cnf-information-system.service.mjs +24 -24
  135. package/{esm2020 → esm2022}/lib/services/pli-cnf-interaction.service.mjs +78 -78
  136. package/{esm2020 → esm2022}/lib/services/pli-cnf-letter-template-type.service.mjs +29 -29
  137. package/{esm2020 → esm2022}/lib/services/pli-cnf-letter-template.service.mjs +48 -48
  138. package/{esm2020 → esm2022}/lib/services/pli-cnf-look-and-feel.service.mjs +28 -28
  139. package/{esm2020 → esm2022}/lib/services/pli-cnf-mail.service.mjs +30 -30
  140. package/{esm2020 → esm2022}/lib/services/pli-cnf-menu-form.service.mjs +34 -34
  141. package/{esm2020 → esm2022}/lib/services/pli-cnf-migration-plis-field-budget.service.mjs +33 -33
  142. package/{esm2020 → esm2022}/lib/services/pli-cnf-migration-plis-field.service.mjs +47 -47
  143. package/{esm2020 → esm2022}/lib/services/pli-cnf-migration-status-plis.service.mjs +44 -44
  144. package/{esm2020 → esm2022}/lib/services/pli-cnf-page-section-form.service.mjs +66 -66
  145. package/{esm2020 → esm2022}/lib/services/pli-cnf-page-sub-process.service.mjs +25 -25
  146. package/{esm2020 → esm2022}/lib/services/pli-cnf-pdfs.service.mjs +31 -31
  147. package/{esm2020 → esm2022}/lib/services/pli-cnf-profile-form.service.mjs +40 -40
  148. package/{esm2020 → esm2022}/lib/services/pli-cnf-profile-user.service.mjs +49 -49
  149. package/{esm2020 → esm2022}/lib/services/pli-cnf-project-summary.service.mjs +39 -39
  150. package/{esm2020 → esm2022}/lib/services/pli-cnf-scenario.service.mjs +47 -47
  151. package/{esm2020 → esm2022}/lib/services/pli-cnf-segmentation.service.mjs +72 -72
  152. package/{esm2020 → esm2022}/lib/services/pli-cnf-snapshot-token.service.mjs +42 -42
  153. package/{esm2020 → esm2022}/lib/services/pli-cnf-status-flow-interaction.service.mjs +74 -74
  154. package/{esm2020 → esm2022}/lib/services/pli-cnf-status-flow.service.mjs +56 -56
  155. package/{esm2020 → esm2022}/lib/services/pli-cnf-support-document-category.service.mjs +47 -47
  156. package/{esm2020 → esm2022}/lib/services/pli-cnf-support-document.service.mjs +56 -56
  157. package/{esm2020 → esm2022}/lib/services/pli-cnf-survey-document.service.mjs +37 -37
  158. package/{esm2020 → esm2022}/lib/services/pli-cnf-survey-pdf.service.mjs +34 -34
  159. package/{esm2020 → esm2022}/lib/services/pli-cnf-survey.service.mjs +46 -46
  160. package/{esm2020 → esm2022}/lib/services/pli-cnf-task-group.service.mjs +33 -33
  161. package/{esm2020 → esm2022}/lib/services/pli-cnf-text-category.service.mjs +38 -38
  162. package/{esm2020 → esm2022}/lib/services/pli-cnf-text-option.service.mjs +39 -39
  163. package/{esm2020 → esm2022}/lib/services/pli-cnf-text.service.mjs +62 -62
  164. package/{esm2020 → esm2022}/lib/services/pli-cnf-type-text.service.mjs +45 -45
  165. package/{esm2020 → esm2022}/lib/services/pli-cnf-university-article.service.mjs +39 -39
  166. package/{esm2020 → esm2022}/lib/services/pli-cnf-user-calendar.service.mjs +36 -36
  167. package/{esm2020 → esm2022}/lib/services/pli-cnf-user-workspace.service.mjs +35 -35
  168. package/{esm2020 → esm2022}/lib/services/pli-cnf-valpro-keys.service.mjs +35 -35
  169. package/{esm2020 → esm2022}/lib/services/pli-cnf-workspace-segmentation.service.mjs +31 -31
  170. package/{esm2020 → esm2022}/lib/services/pli-message-type.service.mjs +40 -40
  171. package/{esm2020 → esm2022}/lib/services/pli-multiple-value-filter.service.mjs +39 -39
  172. package/{esm2020 → esm2022}/lib/services/pli-promocion-username.service.mjs +57 -57
  173. package/{esm2020 → esm2022}/lib/services/pli-seg-action-user.service.mjs +37 -37
  174. package/{esm2020 → esm2022}/lib/services/pli-segmentation.service.mjs +130 -130
  175. package/{esm2020 → esm2022}/lib/services/pli-tag-assignment.service.mjs +36 -36
  176. package/{esm2020 → esm2022}/lib/services/pli-tag.service.mjs +55 -55
  177. package/{esm2020 → esm2022}/lib/services/pli-user.service.mjs +51 -51
  178. package/{esm2020 → esm2022}/lib/services/plis-beneficiario.service.mjs +29 -29
  179. package/{esm2020 → esm2022}/lib/services/plis-estatus-change.service.mjs +30 -30
  180. package/esm2022/lib/services/ppp.service.mjs +360 -0
  181. package/{esm2020 → esm2022}/lib/services/profile.service.mjs +60 -60
  182. package/esm2022/lib/services/progress-bar.service.mjs +40 -0
  183. package/{esm2020 → esm2022}/lib/services/promotion-score.service.mjs +44 -44
  184. package/{esm2020 → esm2022}/lib/services/registry-identifier.service.mjs +39 -39
  185. package/{esm2020 → esm2022}/lib/services/return-refund.service.mjs +53 -53
  186. package/esm2022/lib/services/segmentation-tokens.service.mjs +43 -0
  187. package/{esm2020 → esm2022}/lib/services/segmentation-user-service.service.mjs +90 -90
  188. package/{esm2020 → esm2022}/lib/services/segmentation.service.mjs +31 -31
  189. package/esm2022/lib/services/send-application.service.mjs +492 -0
  190. package/{esm2020 → esm2022}/lib/services/sesion-form.service.mjs +31 -31
  191. package/{esm2020 → esm2022}/lib/services/sesion.service.mjs +48 -48
  192. package/{esm2020 → esm2022}/lib/services/spinner.service.mjs +16 -16
  193. package/{esm2020 → esm2022}/lib/services/sponsorship-letter.service.mjs +68 -68
  194. package/{esm2020 → esm2022}/lib/services/status.service.mjs +100 -100
  195. package/{esm2020 → esm2022}/lib/services/summary-budget.service.mjs +24 -24
  196. package/{esm2020 → esm2022}/lib/services/survey-metadata.service.mjs +28 -28
  197. package/{esm2020 → esm2022}/lib/services/survey-queue.service.mjs +24 -24
  198. package/{esm2020 → esm2022}/lib/services/survey.service.mjs +52 -52
  199. package/{esm2020 → esm2022}/lib/services/tasa.cambio.service.mjs +35 -35
  200. package/{esm2020 → esm2022}/lib/services/token-transformation.service.mjs +62 -62
  201. package/esm2022/lib/services/token.service.mjs +1345 -0
  202. package/{esm2020 → esm2022}/lib/services/university.service.mjs +50 -50
  203. package/esm2022/lib/services/upload-documents.service.mjs +60 -0
  204. package/{esm2020 → esm2022}/lib/services/user.service.mjs +28 -28
  205. package/{esm2020 → esm2022}/lib/services/visualization-committee.service.mjs +84 -84
  206. package/esm2022/lib/utils/custom-validator.mjs +95 -0
  207. package/esm2022/lib/utils/form-util.mjs +35 -0
  208. package/esm2022/lib/utils/formio-util.mjs +582 -0
  209. package/{esm2020 → esm2022}/lib/utils/version-commons.mjs +9 -9
  210. package/{esm2020 → esm2022}/ng-pli-commons.mjs +4 -4
  211. package/{esm2020 → esm2022}/public-api.mjs +214 -214
  212. package/{esm2020 → esm2022}/version.mjs +29 -29
  213. package/{fesm2020 → fesm2022}/ng-pli-commons.mjs +16724 -16725
  214. package/fesm2022/ng-pli-commons.mjs.map +1 -0
  215. package/{ng-pli-commons.d.ts → index.d.ts} +5 -5
  216. package/lib/components/backoffice.commons.component.d.ts +15 -15
  217. package/lib/components/common.lists.component.d.ts +61 -61
  218. package/lib/components/configuration-token/configuration-token-subject.service.d.ts +10 -10
  219. package/lib/components/configuration-token/configuration-token.component.d.ts +124 -124
  220. package/lib/components/configuration-token/guarantee-token/guarantee-token.component.d.ts +33 -33
  221. package/lib/components/configuration-token/snapshot-token/snapshot-token.component.d.ts +37 -37
  222. package/lib/components/configuration.commons.component.d.ts +15 -15
  223. package/lib/components/dashboard.commons.component.d.ts +39 -39
  224. package/lib/components/dynamic-filter/dynamic-filter.component.d.ts +50 -50
  225. package/lib/components/excel-to-json/excel-to-json.component.d.ts +12 -12
  226. package/lib/components/frontoffice.commons.component.d.ts +26 -26
  227. package/lib/components/pdf-analyzer/pdf-analyzer.component.d.ts +36 -36
  228. package/lib/components/pdf-config/pdf-config.component.d.ts +78 -78
  229. package/lib/components/pdf-generator/pdf-generator.component.d.ts +69 -69
  230. package/lib/components/pdf-merge-visualizer/pdf-merge-visualizer.component.d.ts +114 -114
  231. package/lib/components/pdf-visualizer/pdf-visualizer.component.d.ts +147 -147
  232. package/lib/components/progress-bar/progress-bar.component.d.ts +30 -30
  233. package/lib/components/segmentation-tokens/segmentation-tokens.component.d.ts +48 -48
  234. package/lib/components/select-ppp/select-ppp.component.d.ts +42 -42
  235. package/lib/components/show-hide-columns/show-hide-columns-table.component.d.ts +39 -39
  236. package/lib/components/token/token.component.d.ts +99 -99
  237. package/lib/components/tokens-calculator/tokens-calculator.component.d.ts +37 -37
  238. package/lib/directives/currency-colfuturo-formatter.directive.d.ts +14 -14
  239. package/lib/directives/currency-decimal-colfuturo-formatter.directive.d.ts +13 -13
  240. package/lib/ng-pli-commons.module.d.ts +47 -47
  241. package/lib/ng-pli-commons.service.d.ts +6 -6
  242. package/lib/pipes/currency-colfuturo.pipe.d.ts +12 -12
  243. package/lib/pipes/currency-decimal-colfuturo.pipe.d.ts +11 -11
  244. package/lib/pipes/currency-print-colfuturo.pipe.d.ts +11 -11
  245. package/lib/pipes/thousands.pipe.d.ts +9 -9
  246. package/lib/services/application-fill-percentage.service.d.ts +15 -15
  247. package/lib/services/application-tag.service.d.ts +23 -23
  248. package/lib/services/application.service.d.ts +107 -107
  249. package/lib/services/authentication.service.d.ts +45 -45
  250. package/lib/services/blocked-beneficiary.service.d.ts +17 -17
  251. package/lib/services/budget-application.service.d.ts +52 -52
  252. package/lib/services/budget-simulation.service.d.ts +32 -32
  253. package/lib/services/budget.service.d.ts +65 -65
  254. package/lib/services/closure-wallet.service.d.ts +16 -16
  255. package/lib/services/cnf-correspondence-document-manager.service.d.ts +14 -14
  256. package/lib/services/committee-money.service.d.ts +12 -12
  257. package/lib/services/committee-pdf.service.d.ts +13 -13
  258. package/lib/services/committee-snapshot.service.d.ts +24 -24
  259. package/lib/services/common-info.service.d.ts +30 -30
  260. package/lib/services/common.service.d.ts +103 -103
  261. package/lib/services/configuration-document.service.d.ts +84 -84
  262. package/lib/services/configuration-minisite.service.d.ts +13 -13
  263. package/lib/services/configuration.service.d.ts +15 -15
  264. package/lib/services/correspondence-document-category.service.d.ts +12 -12
  265. package/lib/services/correspondence-manager.service.d.ts +21 -21
  266. package/lib/services/credit-score.service.d.ts +14 -14
  267. package/lib/services/credit-study.service.d.ts +52 -52
  268. package/lib/services/cube.service.d.ts +14 -14
  269. package/lib/services/data-form-history.service.d.ts +13 -13
  270. package/lib/services/data-form.service.d.ts +82 -82
  271. package/lib/services/data-letter-segmentation.service.d.ts +20 -20
  272. package/lib/services/document-analysis-auto.service.d.ts +14 -14
  273. package/lib/services/document-history.service.d.ts +18 -18
  274. package/lib/services/document-management.service.d.ts +22 -22
  275. package/lib/services/document-validation-attempt.service.d.ts +13 -13
  276. package/lib/services/document.service.d.ts +51 -51
  277. package/lib/services/documentary.type.service.d.ts +23 -23
  278. package/lib/services/email.service.d.ts +15 -15
  279. package/lib/services/evaluation.service.d.ts +58 -58
  280. package/lib/services/export-excel.service.d.ts +8 -8
  281. package/lib/services/file.service.d.ts +63 -63
  282. package/lib/services/form.service.d.ts +39 -39
  283. package/lib/services/gic-client-disbursement-metadata.service.d.ts +12 -12
  284. package/lib/services/gic-client.service.d.ts +20 -20
  285. package/lib/services/gic-cnf-bankvision-transaction.service.d.ts +13 -13
  286. package/lib/services/gic-cnf-closing-date.service.d.ts +15 -15
  287. package/lib/services/gic-cnf-maintenance.service.d.ts +13 -13
  288. package/lib/services/gic-collection.service.d.ts +19 -19
  289. package/lib/services/gic-disbursement.service.d.ts +16 -16
  290. package/lib/services/gic-extract.service.d.ts +15 -15
  291. package/lib/services/gic-log.service.d.ts +17 -17
  292. package/lib/services/gic-payment-application.service.d.ts +15 -15
  293. package/lib/services/gic-payment-plan-cube.service.d.ts +13 -13
  294. package/lib/services/gic-payment-plan.service.d.ts +19 -19
  295. package/lib/services/gic-trm.service.d.ts +14 -14
  296. package/lib/services/global.show.task.service.d.ts +20 -20
  297. package/lib/services/guarantee-document.service.d.ts +17 -17
  298. package/lib/services/guarantee-enrollment.service.d.ts +14 -14
  299. package/lib/services/guarantee.service.d.ts +34 -34
  300. package/lib/services/hash.service.d.ts +18 -18
  301. package/lib/services/import-data.service.d.ts +14 -14
  302. package/lib/services/import-excel-gic.service.d.ts +22 -22
  303. package/lib/services/initial-configuration-gic-parameters.service.d.ts +19 -19
  304. package/lib/services/initial-record.service.d.ts +24 -24
  305. package/lib/services/integration-ado.service.d.ts +15 -15
  306. package/lib/services/interaction-application-user.service.d.ts +28 -28
  307. package/lib/services/interest-adjustment.service.d.ts +16 -16
  308. package/lib/services/keys-assignation.service.d.ts +33 -33
  309. package/lib/services/legalization.service.d.ts +46 -46
  310. package/lib/services/letter-campaing.service.d.ts +24 -24
  311. package/lib/services/letter-task-mapping.service.d.ts +22 -22
  312. package/lib/services/log.service.d.ts +17 -17
  313. package/lib/services/maintenance.service.d.ts +23 -23
  314. package/lib/services/master-category.service.d.ts +40 -40
  315. package/lib/services/master-program.service.d.ts +45 -45
  316. package/lib/services/master-university.service.d.ts +40 -40
  317. package/lib/services/migration-plis.service.d.ts +14 -14
  318. package/lib/services/migration-survey-queue.service.d.ts +12 -12
  319. package/lib/services/page.service.d.ts +18 -18
  320. package/lib/services/partner-system.service.d.ts +13 -13
  321. package/lib/services/partner.service.d.ts +17 -17
  322. package/lib/services/pdf-analyzer.service.d.ts +11 -11
  323. package/lib/services/people-master.service.d.ts +14 -14
  324. package/lib/services/permission.service.d.ts +14 -14
  325. package/lib/services/pli-cnf-acuity-fields.service.d.ts +14 -14
  326. package/lib/services/pli-cnf-app-card-filter.service.d.ts +20 -20
  327. package/lib/services/pli-cnf-appointment-type.service.d.ts +16 -16
  328. package/lib/services/pli-cnf-budget-program-type.service.d.ts +18 -18
  329. package/lib/services/pli-cnf-budget.service.d.ts +13 -13
  330. package/lib/services/pli-cnf-cloning.service.d.ts +12 -12
  331. package/lib/services/pli-cnf-committee-pdf-config-table-config.service.d.ts +19 -19
  332. package/lib/services/pli-cnf-committee-pdf-gen-status.service.d.ts +13 -13
  333. package/lib/services/pli-cnf-committee-valpro-columns.service.d.ts +15 -15
  334. package/lib/services/pli-cnf-committee-visualization-mode.service.d.ts +17 -17
  335. package/lib/services/pli-cnf-committee.service.d.ts +21 -21
  336. package/lib/services/pli-cnf-config-minisite.service.d.ts +26 -26
  337. package/lib/services/pli-cnf-configuration-credit-study.service.d.ts +16 -16
  338. package/lib/services/pli-cnf-document-management.service.d.ts +15 -15
  339. package/lib/services/pli-cnf-dynamic-keys-assign.service.d.ts +21 -21
  340. package/lib/services/pli-cnf-evaluation-task-mailing.service.d.ts +13 -13
  341. package/lib/services/pli-cnf-evaluation-task.service.d.ts +35 -35
  342. package/lib/services/pli-cnf-evaluation-template.service.d.ts +44 -44
  343. package/lib/services/pli-cnf-form-edit.service.d.ts +29 -29
  344. package/lib/services/pli-cnf-form-multiaplicacion.service.d.ts +21 -21
  345. package/lib/services/pli-cnf-guarantee-documents-template.service.d.ts +17 -17
  346. package/lib/services/pli-cnf-guarantee-token.service.d.ts +16 -16
  347. package/lib/services/pli-cnf-header.service.d.ts +18 -18
  348. package/lib/services/pli-cnf-indicator.service.d.ts +20 -20
  349. package/lib/services/pli-cnf-information-system.service.d.ts +12 -12
  350. package/lib/services/pli-cnf-interaction.service.d.ts +31 -31
  351. package/lib/services/pli-cnf-letter-template-type.service.d.ts +15 -15
  352. package/lib/services/pli-cnf-letter-template.service.d.ts +22 -22
  353. package/lib/services/pli-cnf-look-and-feel.service.d.ts +13 -13
  354. package/lib/services/pli-cnf-mail.service.d.ts +13 -13
  355. package/lib/services/pli-cnf-menu-form.service.d.ts +16 -16
  356. package/lib/services/pli-cnf-migration-plis-field-budget.service.d.ts +14 -14
  357. package/lib/services/pli-cnf-migration-plis-field.service.d.ts +17 -17
  358. package/lib/services/pli-cnf-migration-status-plis.service.d.ts +17 -17
  359. package/lib/services/pli-cnf-page-section-form.service.d.ts +24 -24
  360. package/lib/services/pli-cnf-page-sub-process.service.d.ts +12 -12
  361. package/lib/services/pli-cnf-pdfs.service.d.ts +14 -14
  362. package/lib/services/pli-cnf-profile-form.service.d.ts +20 -20
  363. package/lib/services/pli-cnf-profile-user.service.d.ts +24 -24
  364. package/lib/services/pli-cnf-project-summary.service.d.ts +16 -16
  365. package/lib/services/pli-cnf-scenario.service.d.ts +23 -23
  366. package/lib/services/pli-cnf-segmentation.service.d.ts +32 -32
  367. package/lib/services/pli-cnf-snapshot-token.service.d.ts +16 -16
  368. package/lib/services/pli-cnf-status-flow-interaction.service.d.ts +28 -28
  369. package/lib/services/pli-cnf-status-flow.service.d.ts +26 -26
  370. package/lib/services/pli-cnf-support-document-category.service.d.ts +17 -17
  371. package/lib/services/pli-cnf-support-document.service.d.ts +23 -23
  372. package/lib/services/pli-cnf-survey-document.service.d.ts +16 -16
  373. package/lib/services/pli-cnf-survey-pdf.service.d.ts +15 -15
  374. package/lib/services/pli-cnf-survey.service.d.ts +19 -19
  375. package/lib/services/pli-cnf-task-group.service.d.ts +15 -15
  376. package/lib/services/pli-cnf-text-category.service.d.ts +15 -15
  377. package/lib/services/pli-cnf-text-option.service.d.ts +15 -15
  378. package/lib/services/pli-cnf-text.service.d.ts +21 -21
  379. package/lib/services/pli-cnf-type-text.service.d.ts +16 -16
  380. package/lib/services/pli-cnf-university-article.service.d.ts +20 -20
  381. package/lib/services/pli-cnf-user-calendar.service.d.ts +16 -16
  382. package/lib/services/pli-cnf-user-workspace.service.d.ts +18 -18
  383. package/lib/services/pli-cnf-valpro-keys.service.d.ts +18 -18
  384. package/lib/services/pli-cnf-workspace-segmentation.service.d.ts +16 -16
  385. package/lib/services/pli-message-type.service.d.ts +15 -15
  386. package/lib/services/pli-multiple-value-filter.service.d.ts +17 -17
  387. package/lib/services/pli-promocion-username.service.d.ts +26 -26
  388. package/lib/services/pli-seg-action-user.service.d.ts +20 -20
  389. package/lib/services/pli-segmentation.service.d.ts +48 -48
  390. package/lib/services/pli-tag-assignment.service.d.ts +15 -15
  391. package/lib/services/pli-tag.service.d.ts +21 -21
  392. package/lib/services/pli-user.service.d.ts +24 -24
  393. package/lib/services/plis-beneficiario.service.d.ts +10 -10
  394. package/lib/services/plis-estatus-change.service.d.ts +13 -13
  395. package/lib/services/ppp.service.d.ts +77 -77
  396. package/lib/services/profile.service.d.ts +26 -26
  397. package/lib/services/progress-bar.service.d.ts +14 -14
  398. package/lib/services/promotion-score.service.d.ts +14 -14
  399. package/lib/services/registry-identifier.service.d.ts +16 -16
  400. package/lib/services/return-refund.service.d.ts +20 -20
  401. package/lib/services/segmentation-tokens.service.d.ts +22 -22
  402. package/lib/services/segmentation-user-service.service.d.ts +26 -26
  403. package/lib/services/segmentation.service.d.ts +16 -16
  404. package/lib/services/send-application.service.d.ts +71 -71
  405. package/lib/services/sesion-form.service.d.ts +16 -16
  406. package/lib/services/sesion.service.d.ts +27 -27
  407. package/lib/services/spinner.service.d.ts +6 -6
  408. package/lib/services/sponsorship-letter.service.d.ts +34 -34
  409. package/lib/services/status.service.d.ts +31 -31
  410. package/lib/services/summary-budget.service.d.ts +11 -11
  411. package/lib/services/survey-metadata.service.d.ts +13 -13
  412. package/lib/services/survey-queue.service.d.ts +12 -12
  413. package/lib/services/survey.service.d.ts +17 -17
  414. package/lib/services/tasa.cambio.service.d.ts +14 -14
  415. package/lib/services/token-transformation.service.d.ts +19 -19
  416. package/lib/services/token.service.d.ts +270 -270
  417. package/lib/services/university.service.d.ts +28 -28
  418. package/lib/services/upload-documents.service.d.ts +21 -21
  419. package/lib/services/user.service.d.ts +12 -12
  420. package/lib/services/visualization-committee.service.d.ts +32 -32
  421. package/lib/utils/custom-validator.d.ts +19 -19
  422. package/lib/utils/form-util.d.ts +11 -11
  423. package/lib/utils/formio-util.d.ts +105 -105
  424. package/lib/utils/version-commons.d.ts +4 -4
  425. package/package.json +10 -16
  426. package/public-api.d.ts +210 -210
  427. package/version.d.ts +25 -25
  428. package/esm2020/lib/components/backoffice.commons.component.mjs +0 -40
  429. package/esm2020/lib/components/common.lists.component.mjs +0 -194
  430. package/esm2020/lib/components/configuration-token/configuration-token.component.mjs +0 -665
  431. package/esm2020/lib/components/configuration-token/guarantee-token/guarantee-token.component.mjs +0 -103
  432. package/esm2020/lib/components/configuration-token/snapshot-token/snapshot-token.component.mjs +0 -108
  433. package/esm2020/lib/components/configuration.commons.component.mjs +0 -40
  434. package/esm2020/lib/components/dynamic-filter/dynamic-filter.component.mjs +0 -131
  435. package/esm2020/lib/components/excel-to-json/excel-to-json.component.mjs +0 -54
  436. package/esm2020/lib/components/frontoffice.commons.component.mjs +0 -86
  437. package/esm2020/lib/components/pdf-analyzer/pdf-analyzer.component.mjs +0 -162
  438. package/esm2020/lib/components/pdf-generator/pdf-generator.component.mjs +0 -223
  439. package/esm2020/lib/components/pdf-merge-visualizer/pdf-merge-visualizer.component.mjs +0 -307
  440. package/esm2020/lib/components/pdf-visualizer/pdf-visualizer.component.mjs +0 -387
  441. package/esm2020/lib/components/progress-bar/progress-bar.component.mjs +0 -92
  442. package/esm2020/lib/components/segmentation-tokens/segmentation-tokens.component.mjs +0 -199
  443. package/esm2020/lib/components/select-ppp/select-ppp.component.mjs +0 -199
  444. package/esm2020/lib/components/show-hide-columns/show-hide-columns-table.component.mjs +0 -116
  445. package/esm2020/lib/components/token/token.component.mjs +0 -1006
  446. package/esm2020/lib/components/tokens-calculator/tokens-calculator.component.mjs +0 -128
  447. package/esm2020/lib/ng-pli-commons.module.mjs +0 -390
  448. package/esm2020/lib/pipes/currency-colfuturo.pipe.mjs +0 -35
  449. package/esm2020/lib/pipes/thousands.pipe.mjs +0 -60
  450. package/esm2020/lib/services/authentication.service.mjs +0 -133
  451. package/esm2020/lib/services/budget-application.service.mjs +0 -265
  452. package/esm2020/lib/services/budget.service.mjs +0 -205
  453. package/esm2020/lib/services/common.service.mjs +0 -291
  454. package/esm2020/lib/services/configuration-document.service.mjs +0 -297
  455. package/esm2020/lib/services/documentary.type.service.mjs +0 -69
  456. package/esm2020/lib/services/file.service.mjs +0 -153
  457. package/esm2020/lib/services/guarantee.service.mjs +0 -128
  458. package/esm2020/lib/services/keys-assignation.service.mjs +0 -127
  459. package/esm2020/lib/services/pli-cnf-evaluation-task.service.mjs +0 -112
  460. package/esm2020/lib/services/ppp.service.mjs +0 -360
  461. package/esm2020/lib/services/progress-bar.service.mjs +0 -40
  462. package/esm2020/lib/services/segmentation-tokens.service.mjs +0 -43
  463. package/esm2020/lib/services/send-application.service.mjs +0 -492
  464. package/esm2020/lib/services/token.service.mjs +0 -1345
  465. package/esm2020/lib/services/upload-documents.service.mjs +0 -60
  466. package/esm2020/lib/utils/custom-validator.mjs +0 -95
  467. package/esm2020/lib/utils/form-util.mjs +0 -35
  468. package/esm2020/lib/utils/formio-util.mjs +0 -580
  469. package/fesm2015/ng-pli-commons.mjs +0 -17373
  470. package/fesm2015/ng-pli-commons.mjs.map +0 -1
  471. package/fesm2020/ng-pli-commons.mjs.map +0 -1
@@ -1,223 +0,0 @@
1
- import { Component, HostListener, Input, ViewChild, Output, EventEmitter } from '@angular/core';
2
- import { RequestPdf } from 'ng-pli-util';
3
- import * as PDFJS_ from 'pdfjs-dist/build/pdf';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/platform-browser";
6
- import * as i2 from "../../services/data-form.service";
7
- import * as i3 from "../../services/application.service";
8
- import * as i4 from "../../services/ppp.service";
9
- import * as i5 from "../../services/common.service";
10
- import * as i6 from "../../services/pli-cnf-look-and-feel.service";
11
- import * as i7 from "../../services/pli-cnf-header.service";
12
- import * as i8 from "@angular/router";
13
- import * as i9 from "../../services/form.service";
14
- import * as i10 from "../../services/pli-cnf-pdfs.service";
15
- import * as i11 from "../../services/token-transformation.service";
16
- import * as i12 from "formioangular-colfuturo";
17
- import * as i13 from "primeng/tieredmenu";
18
- import * as i14 from "@angular/common";
19
- const PDFJS = PDFJS_;
20
- export class PdfGeneratorComponent {
21
- constructor(sanitizer, dataFormService, applicationService, pppService, commonService, lookAndFeelService, header, resolver, activatedRoute, formService, pliCnfPdfService, pliCnfHeaderService, tokenTransformationService) {
22
- this.sanitizer = sanitizer;
23
- this.dataFormService = dataFormService;
24
- this.applicationService = applicationService;
25
- this.pppService = pppService;
26
- this.commonService = commonService;
27
- this.lookAndFeelService = lookAndFeelService;
28
- this.header = header;
29
- this.resolver = resolver;
30
- this.activatedRoute = activatedRoute;
31
- this.formService = formService;
32
- this.pliCnfPdfService = pliCnfPdfService;
33
- this.pliCnfHeaderService = pliCnfHeaderService;
34
- this.tokenTransformationService = tokenTransformationService;
35
- this.showLabel = false;
36
- this.actionClass = 'referenceClass';
37
- this.display = true;
38
- this.items = [];
39
- this.dataForms = [];
40
- this.allDataForms = [];
41
- this.forms = [];
42
- /** it contains the id of canvas */
43
- this.id_canvas = 'pdf-canvas';
44
- this.ready = false;
45
- this.onDownload = new EventEmitter();
46
- }
47
- set configurations(cnfPdf) {
48
- this.items = cnfPdf.map((c) => ({
49
- label: c.name,
50
- command: async () => {
51
- this.configuration = c;
52
- await this.htmltoPDF();
53
- }
54
- }));
55
- }
56
- set applicationId(value) {
57
- this._applicationId = value;
58
- }
59
- onClick(event) {
60
- if (!this._applicationId) {
61
- this._applicationId = this.getElementIdFromEvent(event.composedPath());
62
- }
63
- }
64
- getElementIdFromEvent(path) {
65
- const element = this.getElement(path);
66
- return element ? element.getAttribute('data-element-id') : '';
67
- }
68
- getElement(pathList) {
69
- return pathList.find((element) => element.classList && element.classList.contains(this.actionClass));
70
- }
71
- async htmltoPDF() {
72
- const applicationData = await this.applicationService
73
- .getById(this._applicationId)
74
- .toPromise();
75
- const promCodigo = applicationData.promCodigo;
76
- this.allDataForms = await this.dataFormService
77
- .getByApplicationId(this._applicationId)
78
- .toPromise();
79
- //get patCode
80
- const patCode = this.pppService.getPatCodigoByPromCodigo(this.promCode);
81
- //get header
82
- if (this.configuration.header) {
83
- const header = await this.pliCnfHeaderService
84
- .getByPromCodigo(this.promCode)
85
- .toPromise();
86
- const text = await this.tokenTransformationService
87
- .transformAndKeepToken(this.configuration.header, promCodigo, this._applicationId, true, 'es')
88
- .toPromise();
89
- this.headerHtml = text.txt;
90
- }
91
- //get footer
92
- if (this.configuration.footer) {
93
- const text = await this.tokenTransformationService
94
- .transformAndKeepToken(this.configuration.footer, promCodigo, this._applicationId, true, 'es')
95
- .toPromise();
96
- this.footerHtml = text.txt;
97
- }
98
- if (this.configuration.body) {
99
- const text = await this.tokenTransformationService
100
- .transformAndKeepToken(this.configuration.body, promCodigo, this._applicationId, true, 'es')
101
- .toPromise();
102
- this.BodyHtml = text.txt;
103
- }
104
- await this.exportAsPDF();
105
- }
106
- async exportAsPDF() {
107
- // if html was changed
108
- let requestPdf = new RequestPdf();
109
- requestPdf.html = this.BodyHtml;
110
- requestPdf.header = this.headerHtml;
111
- requestPdf.footer = this.footerHtml;
112
- requestPdf.lang = 'es';
113
- requestPdf.marginTop = this.configuration.marginTop;
114
- requestPdf.marginRight = this.configuration.marginRight;
115
- requestPdf.marginBottom = this.configuration.marginBottom;
116
- requestPdf.marginLeft = this.configuration.marginLeft;
117
- requestPdf.repeatHeader = true;
118
- requestPdf.repeatFooter = true;
119
- requestPdf.showPager = true;
120
- this.commonService.getBase64Pdf(requestPdf).subscribe((result) => {
121
- this.showBase64Pdf(result);
122
- }, (error) => {
123
- console.log('Error trying to render PDF', error);
124
- });
125
- }
126
- download() {
127
- const contentType = 'application/pdf';
128
- const b64Data = this.base64;
129
- const blob = this.b64toBlob(b64Data, contentType);
130
- const blobUrl = URL.createObjectURL(blob);
131
- var a = document.createElement('a');
132
- document.body.appendChild(a);
133
- a.style.display = 'none';
134
- a.href = blobUrl;
135
- a.download = 'resumenPdf';
136
- a.click();
137
- setTimeout(() => {
138
- window.URL.revokeObjectURL(blobUrl);
139
- document.body.removeChild(a);
140
- this.onDownload.emit({
141
- base64: this.base64
142
- });
143
- }, 200);
144
- }
145
- b64toBlob(b64Data, contentType = '', sliceSize = 512) {
146
- const byteArrays = [];
147
- const byteCharacters = atob(b64Data);
148
- for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) {
149
- const slice = byteCharacters.slice(offset, offset + sliceSize);
150
- const byteNumbers = new Array(slice.length);
151
- for (let i = 0; i < slice.length; i++) {
152
- byteNumbers[i] = slice.charCodeAt(i);
153
- }
154
- const byteArray = new Uint8Array(byteNumbers);
155
- byteArrays.push(byteArray);
156
- }
157
- const blob = new Blob(byteArrays, { type: contentType });
158
- return blob;
159
- }
160
- renderPage(num) {
161
- this.pdfDocument.pageRendering = true;
162
- // assign variables out of scope
163
- let selfPdfDocument = this.pdfDocument;
164
- let self = this;
165
- // Using promise to fetch the page
166
- this.pdfDocument.pdfDoc.getPage(num).then(function (page) {
167
- var scale = selfPdfDocument.scale ? selfPdfDocument.scale : 1.5;
168
- var viewport = page.getViewport({ scale: scale });
169
- selfPdfDocument.canvas.height = viewport.height;
170
- selfPdfDocument.canvas.width = viewport.width;
171
- // Render PDF page into canvas context
172
- var renderContext = {
173
- canvasContext: selfPdfDocument.canvas.getContext('2d'),
174
- viewport: viewport
175
- };
176
- var renderTask = page.render(renderContext);
177
- // Wait for rendering to finish
178
- renderTask.promise.then(function () {
179
- selfPdfDocument.pageRendering = false;
180
- if (selfPdfDocument.pageNumPending !== null) {
181
- // New page rendering is pending
182
- this.renderPage(selfPdfDocument.pageNumPending);
183
- selfPdfDocument.pageNumPending = null;
184
- }
185
- });
186
- });
187
- }
188
- showBase64Pdf(result) {
189
- this.base64 = result.base64;
190
- this.download();
191
- }
192
- deleteButtons(doc) {
193
- const buttons = doc.querySelectorAll('button');
194
- for (let i = 0; i < buttons.length; i++) {
195
- buttons[i].style.display = 'none';
196
- }
197
- }
198
- }
199
- PdfGeneratorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: PdfGeneratorComponent, deps: [{ token: i1.DomSanitizer }, { token: i2.DataFormService }, { token: i3.ApplicationService }, { token: i4.PppService }, { token: i5.CommonService }, { token: i6.PliCnfLookAndFeelService }, { token: i7.PliCnfHeaderService }, { token: i0.ComponentFactoryResolver }, { token: i8.ActivatedRoute }, { token: i9.FormService }, { token: i10.PliCnfPdfsService }, { token: i7.PliCnfHeaderService }, { token: i11.TokenTransformationService }], target: i0.ɵɵFactoryTarget.Component });
200
- PdfGeneratorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.5", type: PdfGeneratorComponent, selector: "pli-pdf-generator", inputs: { configurations: "configurations", applicationId: "applicationId", showLabel: "showLabel", actionClass: "actionClass", promCode: "promCode" }, outputs: { onDownload: "onDownload" }, host: { listeners: { "click": "onClick($event)" } }, viewQueries: [{ propertyName: "contentElement", first: true, predicate: ["content"], descendants: true }], ngImport: i0, template: "<div #content id=\"content\" class=\"main-content\" [class.main-content--show]=\"display\">\r\n\t<div class=\"header\">\r\n\t\t<div class=\"header-item\">\r\n\t\t\t<img [src]=\"urlLogo\" alt=\"logo\" class=\"img-logo\" />\r\n\t\t</div>\r\n\t\t<div class=\"header-item\">\r\n\t\t\t<div [innerHTML]=\"headerHtml\"></div>\r\n\t\t</div>\r\n\t</div>\r\n\t<div *ngFor=\"let f of dataForms; index as i\">\r\n\t\t<formio [form]=\"forms[i]\" [submission]=\"dataForms[i]\"></formio>\r\n\t\t<div class=\"html2pdf__page-break\"></div>\r\n\t</div>\r\n\t<div [innerHTML]=\"footerHtml\"></div>\r\n</div>\r\n<div class=\"btn btn-default\">\r\n\t<button type=\"button\" class=\"fa fa-file-pdf btn-sm\" (click)=\"menu.toggle($event)\" title=\"PDF\">\r\n\t\t{{ showLabel ? 'Generar PDF' : '' }}\r\n\t</button>\r\n</div>\r\n<p-tieredMenu #menu [model]=\"items\" appendTo=\"body\" [popup]=\"true\"></p-tieredMenu>\r\n", styles: ["@charset \"UTF-8\";@import\"https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700\";@import\"https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700&display=swap\";.text-menu,a.help_menu,a.letter,.mat-drawer-inner-container .mat-list-base .mat-list-item{color:#000;height:auto!important;padding:.3em 0;margin-bottom:0;border-left:0;font-size:15px;font-weight:300;line-height:17px;font-family:Roboto,sans-serif;min-height:20px!important}.text-menu:hover,a.help_menu:hover,a.letter:hover,.mat-drawer-inner-container .mat-list-base .mat-list-item:hover{color:#00a5e6!important;background-color:transparent}.text-menu:focus,a.help_menu:focus,a.letter:focus,.mat-drawer-inner-container .mat-list-base .mat-list-item:focus{color:#fff;background-color:#da291c}body{margin:auto;display:block;max-width:1280px;background-color:#fafafa}.sin-padding{padding:0!important}.mat-toolbar-single-row{height:72px!important}.mat-drawer-content{position:relative}.img-logo{max-width:100%}.card p{color:#666;font-size:16px;font-weight:300;line-height:22px;font-family:Roboto,sans-serif;margin-top:0;margin-bottom:15px}.mat-drawer-inner-container .mat-list-base{border:1px solid #cccccc;margin-top:20px;padding-top:0!important;padding-bottom:15px;background-color:#f7f7f7;cursor:auto}.mat-toolbar.mat-primary{border-bottom:2px solid #da291c!important}.mat-toolbar.mat-primary .button-close-session{background-color:transparent}mat-toolbar.mat-toolbar{margin-bottom:0!important}.mat-drawer-side{border-right:0}#list-home{margin-bottom:0!important}.formio-form{padding:0 15px}mat-toolbar.mat-toolbar,.mat-drawer{position:relative!important}.mat-toolbar{background-color:transparent}.mat-toolbar.header--light{padding:0}.mat-toolbar h3{width:100%;display:block;font-size:27px;font-weight:400;font-family:Roboto,sans-serif;margin-top:0;margin-bottom:0;padding-bottom:6px;border-bottom:1px solid #cccccc}mat-toolbar.mat-toolbar{box-shadow:none;margin-bottom:0}.mat-drawer-container{background-color:#fff}.mat-sidenav-content,.mat-drawer-inner-container{padding-top:0}.mat-drawer.mat-drawer-side{float:left}.button-close-session{position:absolute!important;right:5px;height:40px;color:#fff;border-radius:0;border-left:1px solid #bbb}.button-close-session:before{content:\"\";width:25px;height:22px;position:absolute;background-image:url(http://apps.colfuturo.org/PLIS/plantilla/img/otrocerrar.png)}.button-close-session:hover{color:#fff}.button-close-session:hover:before{background-image:url(http://apps.colfuturo.org/PLIS/plantilla/img/otrocerrar.png)}.card{border:0!important;border-bottom:1px solid #ccc!important;background-color:#fff;border-radius:0}.card .card-header{padding:0;border-bottom:0;background-color:#fff}.card h4.card-title{font-size:19px;font-family:Roboto,sans-serif;font-weight:400;margin-top:5px;margin-bottom:5px!important}.card .card-body{padding:.3rem 15px}.stats h4.panel-title{font-size:15px}.stats label.control-label--hidden{display:none}.stats.required h4.panel-title{position:relative}.stats.required h4.panel-title:after{content:\"*\";color:#da291c;margin-right:.5em;height:30px}.card.No_border{border-bottom:0!important}.mat-drawer-inner-container .mat-list-base{margin-top:0;padding-bottom:0}.menu .mat-list-item.active:hover{background-color:#da291c!important;color:#fff!important}.menu .mat-list-item.active:hover .mat-list-item-content{color:#fff!important}a.letter{display:block;padding-left:10px;margin-top:10px}a.letter:hover{text-decoration:none;background-color:transparent!important;color:#00a5e6!important}a.letter img{margin-right:.3em}a.help_menu{display:block;padding-left:10px;margin-top:5px}a.help_menu img{margin-right:.3em}a.help_menu:hover{text-decoration:none}a.mat-list-item.letter.active,a.mat-list-item.help_menu.active{color:#da291c!important;background-color:transparent}.mat-drawer.mat-drawer-end{position:fixed!important}.mat-drawer-inner-container .mat-list-base .mat-list-item .mat-list-item-content{padding-right:0!important}.send .mat-list-item-content{padding-left:0!important}label{color:#333;font-size:14px;font-weight:300;font-family:Roboto,sans-serif;margin-bottom:0;position:relative}label i.fa-question-circle{position:relative;left:2px}label.control-label--hidden:after{position:absolute;right:inherit;left:0;font-size:15px;line-height:13px}.no_label label.control-label--hidden{position:relative;right:inherit;left:0;float:left;width:15px;height:10px;margin-right:inherit!important}.no_label input[type=text]{width:90%}.no_label div.choices{margin-left:15px}.form-group{margin-bottom:8px;margin-top:8px}.form-group .form-control{height:22px;font-size:14px;font-weight:300;font-family:Roboto,sans-serif;padding:4px;border-radius:0!important}.form-group textarea.form-control{min-height:50px;height:auto!important}.form-group select.form-control{height:22px;line-height:22px;padding:0}.form-group .choices.form-group.formio-choices .form-control{padding:0 10px}.form-group .button-copy{color:#08c;font-size:15px;font-weight:400;padding:0}.n_margin .form-group,.form-group.formio-choices{margin-top:0;margin-bottom:0}.n_padding,.n_padding_card .card-body{padding:0}.form-control[readonly]{background-color:#f5f5f5}.form-control:disabled{background-color:transparent!important;border:0!important}input{border:1px solid #CCCCCC;line-height:1;font-family:Roboto,sans-serif}textarea:focus,input:focus{box-shadow:0 0 0 .1rem #8daee5!important;border-color:#8daee5!important;background-color:#fff6de!important}.sidenav{width:230px}.btn{padding:3px 10px!important;font-size:14px!important;font-weight:400!important;font-family:Roboto,sans-serif!important;min-width:initial;width:auto;border-radius:0!important}.btn:focus{box-shadow:none}.btn-info,.btn-info:hover{background-color:#08c;border:0;background-image:none!important}.btn-success,.btn-primary{border:0;border-radius:0;background-image:none}.btn-success:hover,.btn-primary:hover{border:0!important;background-image:none;background-color:#d20000}.btn-primary{background-color:#08c}.editgrid-add .btn{width:23px;height:23px;border-radius:50%!important;font-size:20px!important;line-height:1px;font-weight:400!important;border:2px solid #449d44;color:#449d44;background-color:transparent;text-align:center;padding:2px!important;transition:all .3s}.editgrid-add .btn:hover,.editgrid-add .btn:active{background-color:#449d44;color:#fff;box-shadow:none!important;border:1px solid #FFF!important}.editgrid-listgroup .list-group-header{background-color:#e3e3e3!important;border-radius:0!important}.editgrid-listgroup .list-group-header div{border-left:1px solid #fff;border-right:1px solid #fff;font-family:Roboto Condensed,sans-serif;font-weight:300;font-size:14px}.editgrid-listgroup .list-group-header:nth-child(1){border-right:0}.editgrid-listgroup .list-group-item{border:0;position:relative;padding:0 5px!important;background-color:transparent}.editgrid-listgroup .list-group-item small{font-size:14px;font-weight:300}.editgrid-listgroup .list-group-item small strong{font-weight:300!important}.editgrid-listgroup .list-group-item .btn-group.pull-right button{background-color:transparent;background-image:none;position:relative;padding:3px 0;border:0;color:#fff}.editgrid-listgroup .list-group-item .btn-group.pull-right button.editRow{left:-5px;width:35px}.editgrid-listgroup .list-group-item .btn-group.pull-right button.editRow:before{content:\"\";position:absolute;width:14px;height:14px;background-size:cover;background-image:url(http://apps.colfuturo.org/PLIS/plantilla/img/lapiz.png)}.editgrid-listgroup .list-group-item .btn-group.pull-right button.removeRow:before{width:14px;height:14px;content:\"\";position:absolute;background-size:cover;background-image:url(http://apps.colfuturo.org/PLIS/img/delete_h.png)}.editgrid-listgroup .list-group-item .btn-group.pull-right button.removeRow:hover:before{background-image:url(http://apps.colfuturo.org/PLIS/img/delete.png)}.editgrid-listgroup .list-group-item .right_edit{position:absolute;right:0}.editgrid-listgroup .editgrid-actions{margin-top:8px;margin-bottom:8px}.editgrid-listgroup .editgrid-actions .btn-primary{border:0px;padding:.375rem .75rem;font-size:.8125rem;background-image:none;background-color:#08c}.editgrid-listgroup .editgrid-actions .btn-primary:hover{border:1px solid #016293;background-image:none;background-color:#016293}.global-footer .container{padding:15px;margin-top:0;background-color:#e3e3e3}.global-footer .container p{font-size:15px;text-align:left;margin-bottom:0}button .fa{display:none}button.btn.btn-success{margin:0;font-size:16px!important;padding:5px 20px!important;background-color:#449d44}.fwwb-active{background:#4796d6;color:#fff!important}.toast{opacity:1!important}.toast-success{background-color:#51a351!important}.toast-error{background-color:#bd362f!important}.toast-info{background-color:#2f96b4!important}.toast-warning{background-color:#f89406!important}.has-error.alert-danger .checkbox,.has-error.alert-danger .checkbox-inline,.has-error.alert-danger .control-label,.has-error.alert-danger .help-block,.has-error.alert-danger .radio,.has-error.alert-danger .radio-inline,.has-error.alert-danger.checkbox label,.has-error.alert-danger.checkbox-inline label,.has-error.alert-danger.radio label,.has-error.alert-danger.radio-inline label{color:#ed1d24!important}.choices__list--single .choices__item span{white-space:nowrap}.editgrid-listgroup .editgrid-actions .btn-danger{background-color:#da291c;border:1px solid #da291c;transition:all .3s;text-transform:none!important}.editgrid-listgroup .editgrid-actions .btn-danger:hover{background-color:#981d14;color:#fff}p.Alert{color:#da291c}.editgrid-body{padding:10px 0}.choices__list--single .choices__item{overflow:hidden}.checkbox-inline label,.radio-inline label{font-weight:300!important}.sin-p{padding:0!important}.n_p-right .col-sm-2,.n_p-right .col-sm-7,.n_p-right .col-sm-5,.n_p-right .col-sm-6{padding-right:0!important}.n_p .col-xs-5{padding:0!important}.choices[data-type*=select-one] .choices__button{margin-right:1px!important;background:#fff;opacity:1!important;width:15px!important}.choices[data-type*=select-one]:after{right:5px!important}.Label-left .form-check.radio{float:left;margin:0 .3em}.has-feedback .form-control{padding-right:5px!important}.tooltip-inner{text-align:left!important;background-color:#6d6d6d;color:#fff!important;max-width:300px;min-width:150px;padding:.6em;font-family:Open Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol;font-size:.7109375rem}.alert-danger{background-color:#fffcf8;border:0!important;padding:1em 0}.alert-danger p{font-size:13px;margin-bottom:0;margin-top:1em}.card p{font-size:13px}.was-validated .form-control:invalid,.form-control.is-invalid{background-image:none}.editgrid-listgroup .list-group-header div,.editgrid-listgroup .list-group-header div:first-child{border-left:0!important}.editgrid-listgroup .list-group-header div:last-child{border-right:0!important}.editgrid-listgroup .list-group-item{padding:0 5px}.Ensayo label:after,.required_label label:after,.N_Left label:after{right:-10px}.list-group-item div{font-weight:300;font-family:Roboto,sans-serif;font-size:14px;color:#333}.list-group-item .body_table div{padding-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.help-block{color:#ed1d24!important;clear:both}.editgrid-listgroup .editgrid-actions .btn-danger{background-color:#da291c;color:#fff;border:1px solid #f5f5f5;background-image:none}.editgrid-listgroup .editgrid-actions .btn-danger:hover{background-color:#971b12}.editgrid-listgroup.bloque_laboral{width:55%!important}.cortado .form-group .form-check{float:left;width:50%!important;padding:0 1em}.btn-group.pull-right{padding:0!important}.editgrid-edit{width:980px}.choices__list--dropdown{width:auto!important}.choices__list--dropdown .choices__item{font-weight:300!important;font-weight:13px!important;padding:4px 10px!important;font-family:Roboto Condensed,sans-serif}.Phone input{width:55%!important}.date_full-1 .input-group{width:65%!important}.date_full-2 .input-group{width:60%!important}.date_full-3 .input-group{width:47%!important}button.btn.btn-default.editRow,button.btn.btn-danger.removeRow{padding-right:0!important;padding-left:0!important}.Statistics .form-group .form-group{padding:0 17px}.row_2{margin-left:-15px}.mat-tab-label{min-width:120px}.mat-toolbar.mat-primary button.mat-icon-button{display:none}p{font-size:14px;font-weight:300;font-family:Roboto,sans-serif}.margin_bottom{margin-bottom:20px;margin-top:20px}.p-10{padding:10px!important}.pl-30{padding-left:30px!important}.mat-card-header .mat-card-header-text{margin:0!important}input[type=radio],input[type=checkbox]{box-shadow:none!important;border-color:transparent!important}.choices__list--dropdown{word-break:normal!important}.field-required:after{font-size:12px;position:relative;left:2px}.form-group .choices.form-group.formio-choices .form-control{overflow:hidden}.formio-component-submit{padding-left:15px}.date .input-group input.form-control{margin-right:0}.input-group-addon{float:right;width:30px}.input-group-addon .glyphicon{width:16px;height:16px;position:absolute;right:7px;top:3px;background-size:cover;background-repeat:no-repeat}.input-group-addon .glyphicon-calendar{background-image:url(http://apps.colfuturo.org/PLIS/img/calendar.svg)}.numInputWrapper span{opacity:1!important}.flatpickr-current-month .numInputWrapper{width:60px!important}.flatpickr-months .flatpickr-month{height:39px!important}.n_margin-to,.mt-0{margin-top:0!important}.group-item label{font-weight:300;font-family:Roboto,sans-serif;font-size:14px;color:#333;float:left;margin-right:1em}.group-item{float:left;margin-right:.4em;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex}.mat-card,.mat-elevation-z8{box-shadow:none!important}.relative{position:relative}mat-card-content h4{margin-bottom:1.5rem}.mat-select-panel .mat-option{height:20px!important}.mat-select-arrow{border-top:5px solid #757575!important}input.mat-input-element{font-family:Roboto,sans-serif;font-weight:300;font-size:14px}.mat-form-field-hide-placeholder .mat-select-placeholder{color:#666!important;-webkit-text-fill-color:#666!important}.mat-vertical-stepper-header{height:auto!important;padding:8px 24px!important;margin-top:5px}.mat-vertical-content{padding:5px 25px 0!important}.mat-form-field{margin-right:1em!important}.mat-form-field-infix{margin-top:0;border:1px solid #bbb;width:auto!important;height:22px;line-height:22px;padding:0!important;min-width:55px!important}.mat-select-value{padding:0 3px;overflow:visible!important;font-size:14px;color:#7a7a7a;font-weight:300}table.ng-star-inserted th,table.ng-star-inserted td{vertical-align:top!important;padding:10px 15px 0 0;font-weight:300;font-family:Roboto,sans-serif;font-size:14px;color:#666}table.ng-star-inserted .subcategory{padding-right:15px;width:130px}table.ng-star-inserted .select-repeat,table.ng-star-inserted .mat-form-field.input-money{margin-right:0!important}table.summary .last{border-left:1px solid #ccc}table.summary tr:last-child .last{border-left:1px solid #fff}.select-currency{margin-bottom:.3em}.mat-icon-button{padding:0 0 0 1em!important;width:auto!important;height:20px!important;line-height:20px!important}.inner{overflow-x:scroll;margin-left:124px;margin-right:170px}.presupuesto_detalle .table thead th{border-bottom:0px solid transparent!important;border-left:1px solid #ccc}.presupuesto_detalle .table tbody tr.Last th{border-right:1px solid white!important;background-color:#cacaca!important}.presupuesto_detalle .table tbody tr.Last th.Last{border-left:1px solid white}.presupuesto_detalle .table tbody tr:hover .col1{color:#00a5e6!important}.col1,.col2{position:absolute;top:auto}.col1{width:125px;left:0em;font-weight:400!important;border-right:1px solid #ccc;border-left:0!important}.col2{min-width:85px!important;font-weight:700!important;text-align:right;border-left:1px solid #ccc}.tabla_fija .mat-tab-body-wrapper,.mat-tab-body-content{overflow:visible!important;height:auto!important}.mat-tab-body.mat-tab-body-active{overflow-y:inherit!important}.mat-form-field-appearance-legacy .mat-form-field-underline{height:0!important}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:none!important}input.mat-input-element{padding-right:5px}.mat-step-header .mat-step-icon-state-edit{background:#00aa1a!important}.mat-tab-label{height:40px!important;min-width:90px!important}.mat-tab-label .mat-tab-label-content{font-size:17px;font-weight:400}.mat-raised-button.mat-primary{padding:5px 20px!important;font-size:16px!important;background-color:#449d44}.mat-flat-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary{background:#08c}.mat-flat-button.mat-primary:hover,.mat-raised-button.mat-primary:hover,.mat-fab.mat-primary:hover,.mat-mini-fab.mat-primary:hover{background-color:#d20000}.mat-raised-button{min-width:inherit!important;padding:0 10px!important;line-height:27px!important;border-radius:0!important;margin-top:20px!important}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:none!important}.table th{font-weight:300}.mat-stroked-button:not([class*=mat-elevation-z]),.mat-flat-button:not([class*=mat-elevation-z]){box-shadow:none;border-radius:0;line-height:27px;padding:0 10px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{height:auto!important;margin-bottom:10px}.mat-list-base{padding-top:0!important}mat-icon.add,button.add span{color:#449d44}button.remove{color:#da291c}.icon-hover{display:none!important}.icon-with-hover:hover .icon-hover{display:inline!important}.icon-with-hover:hover .icon-active{display:none}mat-icon.edit{color:#f3ab46}tr.mat-header-row{height:35px!important}.mat-header-cell{font-size:14px;font-weight:300}.mat-radio-container,.mat-radio-outer-circle,.mat-radio-inner-circle{height:12px!important;width:12px!important}.mat-radio-outer-circle{border-width:1px!important}.mat-radio-outer-circle{border-color:#a8a8a8!important;background-color:#dedede}.mat-radio-button:not(.mat-radio-disabled).cdk-focused .mat-radio-persistent-ripple{opacity:0!important}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#666!important}mat-radio-group{display:inline-block!important}mat-radio-button{margin:0 10px 5px!important}.mat-icon{background-color:#fff}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:.35em}.mat-form-field-appearance-legacy .mat-form-field-underline{display:none!important}input.mat-input-element{padding-left:5px}.mat-step-icon .mat-icon,.mat-step-icon-content{transform:translate(-45%,-53%)!important}.mat-step-header .mat-step-icon{background:#aaaaaa;position:relative;z-index:2}.mat-step-label{font-size:19px!important;line-height:26px;font-family:Roboto Condensed,sans-serif;font-weight:400}.letter .mat-form-field{margin-right:0;min-width:210px}.btn-info{transition:all .3s}.btn-info span{color:#fff}.btn-info:hover{cursor:pointer;background-color:#d20000}.btn-info:disabled{background-color:#ccc!important;border-color:#ccc!important}.mat-standard-chip{padding:0!important;background-color:#fff!important;justify-content:center;width:100%}.mat-standard-chip:hover:after{background:transparent!important}.mat-select-panel{min-width:calc(100% + 10px)!important}.mat-button-focus-overlay{background-color:transparent!important}button.delete:focus{outline:0}.mat-step-header .mat-step-icon-selected{background-color:#da291c!important}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0!important}.mat-card>.mat-card-actions:last-child{margin-bottom:0!important}@media screen and (max-width: 1260px){.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col,.col-auto,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm,.col-sm-auto,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-md,.col-md-auto,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg,.col-lg-auto,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl,.col-xl-auto{padding-right:5px}.Form_2{margin:20px 4px!important}}@media screen and (max-width: 1250px){label{font-size:13px!important}}@media screen and (max-width: 1220px){.mat-drawer.sidenav{position:absolute!important}.row.formio-component{margin-left:0;margin-right:0}.card .card-header h4.card-title{text-align:center}.card .card-body{padding:.3rem 0!important}label{width:100%!important;margin:.3em 1em .3em 0!important}label:after{position:relative}.form-group .form-control,.form-group .input-group{margin-left:0!important;margin-right:0!important;width:100%!important}.formio-choices.form-group{float:left;margin-left:0!important;margin-top:0!important}.mat-toolbar-row,.mat-toolbar-single-row{height:75px!important}.col{padding-left:5px!important;padding-right:5px!important}.block .row{display:block}.mat-toolbar.mat-primary button.mat-icon-button{display:block;margin-right:2em}.no_label label.control-label--hidden{width:auto!important;margin-right:1em!important}.hidden-responsive{display:none}}@media screen and (max-width: 991px){.col{flex:100%!important;max-width:inherit!important;padding-left:0!important;padding-right:0!important}.form-group .input-group{width:40%!important}.mat-toolbar.mat-primary .button-close-session{width:40px}.row_2{margin-left:0}.mat-vertical-content{padding:5px 5px 0!important}.mat-vertical-content{overflow:hidden}}.main-content{position:fixed;z-index:-1;overflow:visible;display:none;opacity:0;margin-top:10px;margin-bottom:10px;text-align:left!important}.main-content--show{top:0;left:0;display:block}.main-content hr{display:block;border-style:inset;border-width:1px;color:red}.header{display:flex;align-items:stretch}.header-item{margin:0 5px}button.fa-file-pdf{font-size:2em}\n"], components: [{ type: i12.FormioComponent, selector: "formio" }, { type: i13.TieredMenu, selector: "p-tieredMenu", inputs: ["model", "popup", "style", "styleClass", "appendTo", "autoZIndex", "baseZIndex", "autoDisplay", "showTransitionOptions", "hideTransitionOptions"] }], directives: [{ type: i14.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
201
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.5", ngImport: i0, type: PdfGeneratorComponent, decorators: [{
202
- type: Component,
203
- args: [{ selector: 'pli-pdf-generator', template: "<div #content id=\"content\" class=\"main-content\" [class.main-content--show]=\"display\">\r\n\t<div class=\"header\">\r\n\t\t<div class=\"header-item\">\r\n\t\t\t<img [src]=\"urlLogo\" alt=\"logo\" class=\"img-logo\" />\r\n\t\t</div>\r\n\t\t<div class=\"header-item\">\r\n\t\t\t<div [innerHTML]=\"headerHtml\"></div>\r\n\t\t</div>\r\n\t</div>\r\n\t<div *ngFor=\"let f of dataForms; index as i\">\r\n\t\t<formio [form]=\"forms[i]\" [submission]=\"dataForms[i]\"></formio>\r\n\t\t<div class=\"html2pdf__page-break\"></div>\r\n\t</div>\r\n\t<div [innerHTML]=\"footerHtml\"></div>\r\n</div>\r\n<div class=\"btn btn-default\">\r\n\t<button type=\"button\" class=\"fa fa-file-pdf btn-sm\" (click)=\"menu.toggle($event)\" title=\"PDF\">\r\n\t\t{{ showLabel ? 'Generar PDF' : '' }}\r\n\t</button>\r\n</div>\r\n<p-tieredMenu #menu [model]=\"items\" appendTo=\"body\" [popup]=\"true\"></p-tieredMenu>\r\n", styles: ["@charset \"UTF-8\";@import\"https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700\";@import\"https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700&display=swap\";.text-menu,a.help_menu,a.letter,.mat-drawer-inner-container .mat-list-base .mat-list-item{color:#000;height:auto!important;padding:.3em 0;margin-bottom:0;border-left:0;font-size:15px;font-weight:300;line-height:17px;font-family:Roboto,sans-serif;min-height:20px!important}.text-menu:hover,a.help_menu:hover,a.letter:hover,.mat-drawer-inner-container .mat-list-base .mat-list-item:hover{color:#00a5e6!important;background-color:transparent}.text-menu:focus,a.help_menu:focus,a.letter:focus,.mat-drawer-inner-container .mat-list-base .mat-list-item:focus{color:#fff;background-color:#da291c}body{margin:auto;display:block;max-width:1280px;background-color:#fafafa}.sin-padding{padding:0!important}.mat-toolbar-single-row{height:72px!important}.mat-drawer-content{position:relative}.img-logo{max-width:100%}.card p{color:#666;font-size:16px;font-weight:300;line-height:22px;font-family:Roboto,sans-serif;margin-top:0;margin-bottom:15px}.mat-drawer-inner-container .mat-list-base{border:1px solid #cccccc;margin-top:20px;padding-top:0!important;padding-bottom:15px;background-color:#f7f7f7;cursor:auto}.mat-toolbar.mat-primary{border-bottom:2px solid #da291c!important}.mat-toolbar.mat-primary .button-close-session{background-color:transparent}mat-toolbar.mat-toolbar{margin-bottom:0!important}.mat-drawer-side{border-right:0}#list-home{margin-bottom:0!important}.formio-form{padding:0 15px}mat-toolbar.mat-toolbar,.mat-drawer{position:relative!important}.mat-toolbar{background-color:transparent}.mat-toolbar.header--light{padding:0}.mat-toolbar h3{width:100%;display:block;font-size:27px;font-weight:400;font-family:Roboto,sans-serif;margin-top:0;margin-bottom:0;padding-bottom:6px;border-bottom:1px solid #cccccc}mat-toolbar.mat-toolbar{box-shadow:none;margin-bottom:0}.mat-drawer-container{background-color:#fff}.mat-sidenav-content,.mat-drawer-inner-container{padding-top:0}.mat-drawer.mat-drawer-side{float:left}.button-close-session{position:absolute!important;right:5px;height:40px;color:#fff;border-radius:0;border-left:1px solid #bbb}.button-close-session:before{content:\"\";width:25px;height:22px;position:absolute;background-image:url(http://apps.colfuturo.org/PLIS/plantilla/img/otrocerrar.png)}.button-close-session:hover{color:#fff}.button-close-session:hover:before{background-image:url(http://apps.colfuturo.org/PLIS/plantilla/img/otrocerrar.png)}.card{border:0!important;border-bottom:1px solid #ccc!important;background-color:#fff;border-radius:0}.card .card-header{padding:0;border-bottom:0;background-color:#fff}.card h4.card-title{font-size:19px;font-family:Roboto,sans-serif;font-weight:400;margin-top:5px;margin-bottom:5px!important}.card .card-body{padding:.3rem 15px}.stats h4.panel-title{font-size:15px}.stats label.control-label--hidden{display:none}.stats.required h4.panel-title{position:relative}.stats.required h4.panel-title:after{content:\"*\";color:#da291c;margin-right:.5em;height:30px}.card.No_border{border-bottom:0!important}.mat-drawer-inner-container .mat-list-base{margin-top:0;padding-bottom:0}.menu .mat-list-item.active:hover{background-color:#da291c!important;color:#fff!important}.menu .mat-list-item.active:hover .mat-list-item-content{color:#fff!important}a.letter{display:block;padding-left:10px;margin-top:10px}a.letter:hover{text-decoration:none;background-color:transparent!important;color:#00a5e6!important}a.letter img{margin-right:.3em}a.help_menu{display:block;padding-left:10px;margin-top:5px}a.help_menu img{margin-right:.3em}a.help_menu:hover{text-decoration:none}a.mat-list-item.letter.active,a.mat-list-item.help_menu.active{color:#da291c!important;background-color:transparent}.mat-drawer.mat-drawer-end{position:fixed!important}.mat-drawer-inner-container .mat-list-base .mat-list-item .mat-list-item-content{padding-right:0!important}.send .mat-list-item-content{padding-left:0!important}label{color:#333;font-size:14px;font-weight:300;font-family:Roboto,sans-serif;margin-bottom:0;position:relative}label i.fa-question-circle{position:relative;left:2px}label.control-label--hidden:after{position:absolute;right:inherit;left:0;font-size:15px;line-height:13px}.no_label label.control-label--hidden{position:relative;right:inherit;left:0;float:left;width:15px;height:10px;margin-right:inherit!important}.no_label input[type=text]{width:90%}.no_label div.choices{margin-left:15px}.form-group{margin-bottom:8px;margin-top:8px}.form-group .form-control{height:22px;font-size:14px;font-weight:300;font-family:Roboto,sans-serif;padding:4px;border-radius:0!important}.form-group textarea.form-control{min-height:50px;height:auto!important}.form-group select.form-control{height:22px;line-height:22px;padding:0}.form-group .choices.form-group.formio-choices .form-control{padding:0 10px}.form-group .button-copy{color:#08c;font-size:15px;font-weight:400;padding:0}.n_margin .form-group,.form-group.formio-choices{margin-top:0;margin-bottom:0}.n_padding,.n_padding_card .card-body{padding:0}.form-control[readonly]{background-color:#f5f5f5}.form-control:disabled{background-color:transparent!important;border:0!important}input{border:1px solid #CCCCCC;line-height:1;font-family:Roboto,sans-serif}textarea:focus,input:focus{box-shadow:0 0 0 .1rem #8daee5!important;border-color:#8daee5!important;background-color:#fff6de!important}.sidenav{width:230px}.btn{padding:3px 10px!important;font-size:14px!important;font-weight:400!important;font-family:Roboto,sans-serif!important;min-width:initial;width:auto;border-radius:0!important}.btn:focus{box-shadow:none}.btn-info,.btn-info:hover{background-color:#08c;border:0;background-image:none!important}.btn-success,.btn-primary{border:0;border-radius:0;background-image:none}.btn-success:hover,.btn-primary:hover{border:0!important;background-image:none;background-color:#d20000}.btn-primary{background-color:#08c}.editgrid-add .btn{width:23px;height:23px;border-radius:50%!important;font-size:20px!important;line-height:1px;font-weight:400!important;border:2px solid #449d44;color:#449d44;background-color:transparent;text-align:center;padding:2px!important;transition:all .3s}.editgrid-add .btn:hover,.editgrid-add .btn:active{background-color:#449d44;color:#fff;box-shadow:none!important;border:1px solid #FFF!important}.editgrid-listgroup .list-group-header{background-color:#e3e3e3!important;border-radius:0!important}.editgrid-listgroup .list-group-header div{border-left:1px solid #fff;border-right:1px solid #fff;font-family:Roboto Condensed,sans-serif;font-weight:300;font-size:14px}.editgrid-listgroup .list-group-header:nth-child(1){border-right:0}.editgrid-listgroup .list-group-item{border:0;position:relative;padding:0 5px!important;background-color:transparent}.editgrid-listgroup .list-group-item small{font-size:14px;font-weight:300}.editgrid-listgroup .list-group-item small strong{font-weight:300!important}.editgrid-listgroup .list-group-item .btn-group.pull-right button{background-color:transparent;background-image:none;position:relative;padding:3px 0;border:0;color:#fff}.editgrid-listgroup .list-group-item .btn-group.pull-right button.editRow{left:-5px;width:35px}.editgrid-listgroup .list-group-item .btn-group.pull-right button.editRow:before{content:\"\";position:absolute;width:14px;height:14px;background-size:cover;background-image:url(http://apps.colfuturo.org/PLIS/plantilla/img/lapiz.png)}.editgrid-listgroup .list-group-item .btn-group.pull-right button.removeRow:before{width:14px;height:14px;content:\"\";position:absolute;background-size:cover;background-image:url(http://apps.colfuturo.org/PLIS/img/delete_h.png)}.editgrid-listgroup .list-group-item .btn-group.pull-right button.removeRow:hover:before{background-image:url(http://apps.colfuturo.org/PLIS/img/delete.png)}.editgrid-listgroup .list-group-item .right_edit{position:absolute;right:0}.editgrid-listgroup .editgrid-actions{margin-top:8px;margin-bottom:8px}.editgrid-listgroup .editgrid-actions .btn-primary{border:0px;padding:.375rem .75rem;font-size:.8125rem;background-image:none;background-color:#08c}.editgrid-listgroup .editgrid-actions .btn-primary:hover{border:1px solid #016293;background-image:none;background-color:#016293}.global-footer .container{padding:15px;margin-top:0;background-color:#e3e3e3}.global-footer .container p{font-size:15px;text-align:left;margin-bottom:0}button .fa{display:none}button.btn.btn-success{margin:0;font-size:16px!important;padding:5px 20px!important;background-color:#449d44}.fwwb-active{background:#4796d6;color:#fff!important}.toast{opacity:1!important}.toast-success{background-color:#51a351!important}.toast-error{background-color:#bd362f!important}.toast-info{background-color:#2f96b4!important}.toast-warning{background-color:#f89406!important}.has-error.alert-danger .checkbox,.has-error.alert-danger .checkbox-inline,.has-error.alert-danger .control-label,.has-error.alert-danger .help-block,.has-error.alert-danger .radio,.has-error.alert-danger .radio-inline,.has-error.alert-danger.checkbox label,.has-error.alert-danger.checkbox-inline label,.has-error.alert-danger.radio label,.has-error.alert-danger.radio-inline label{color:#ed1d24!important}.choices__list--single .choices__item span{white-space:nowrap}.editgrid-listgroup .editgrid-actions .btn-danger{background-color:#da291c;border:1px solid #da291c;transition:all .3s;text-transform:none!important}.editgrid-listgroup .editgrid-actions .btn-danger:hover{background-color:#981d14;color:#fff}p.Alert{color:#da291c}.editgrid-body{padding:10px 0}.choices__list--single .choices__item{overflow:hidden}.checkbox-inline label,.radio-inline label{font-weight:300!important}.sin-p{padding:0!important}.n_p-right .col-sm-2,.n_p-right .col-sm-7,.n_p-right .col-sm-5,.n_p-right .col-sm-6{padding-right:0!important}.n_p .col-xs-5{padding:0!important}.choices[data-type*=select-one] .choices__button{margin-right:1px!important;background:#fff;opacity:1!important;width:15px!important}.choices[data-type*=select-one]:after{right:5px!important}.Label-left .form-check.radio{float:left;margin:0 .3em}.has-feedback .form-control{padding-right:5px!important}.tooltip-inner{text-align:left!important;background-color:#6d6d6d;color:#fff!important;max-width:300px;min-width:150px;padding:.6em;font-family:Open Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",Segoe UI Symbol;font-size:.7109375rem}.alert-danger{background-color:#fffcf8;border:0!important;padding:1em 0}.alert-danger p{font-size:13px;margin-bottom:0;margin-top:1em}.card p{font-size:13px}.was-validated .form-control:invalid,.form-control.is-invalid{background-image:none}.editgrid-listgroup .list-group-header div,.editgrid-listgroup .list-group-header div:first-child{border-left:0!important}.editgrid-listgroup .list-group-header div:last-child{border-right:0!important}.editgrid-listgroup .list-group-item{padding:0 5px}.Ensayo label:after,.required_label label:after,.N_Left label:after{right:-10px}.list-group-item div{font-weight:300;font-family:Roboto,sans-serif;font-size:14px;color:#333}.list-group-item .body_table div{padding-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.help-block{color:#ed1d24!important;clear:both}.editgrid-listgroup .editgrid-actions .btn-danger{background-color:#da291c;color:#fff;border:1px solid #f5f5f5;background-image:none}.editgrid-listgroup .editgrid-actions .btn-danger:hover{background-color:#971b12}.editgrid-listgroup.bloque_laboral{width:55%!important}.cortado .form-group .form-check{float:left;width:50%!important;padding:0 1em}.btn-group.pull-right{padding:0!important}.editgrid-edit{width:980px}.choices__list--dropdown{width:auto!important}.choices__list--dropdown .choices__item{font-weight:300!important;font-weight:13px!important;padding:4px 10px!important;font-family:Roboto Condensed,sans-serif}.Phone input{width:55%!important}.date_full-1 .input-group{width:65%!important}.date_full-2 .input-group{width:60%!important}.date_full-3 .input-group{width:47%!important}button.btn.btn-default.editRow,button.btn.btn-danger.removeRow{padding-right:0!important;padding-left:0!important}.Statistics .form-group .form-group{padding:0 17px}.row_2{margin-left:-15px}.mat-tab-label{min-width:120px}.mat-toolbar.mat-primary button.mat-icon-button{display:none}p{font-size:14px;font-weight:300;font-family:Roboto,sans-serif}.margin_bottom{margin-bottom:20px;margin-top:20px}.p-10{padding:10px!important}.pl-30{padding-left:30px!important}.mat-card-header .mat-card-header-text{margin:0!important}input[type=radio],input[type=checkbox]{box-shadow:none!important;border-color:transparent!important}.choices__list--dropdown{word-break:normal!important}.field-required:after{font-size:12px;position:relative;left:2px}.form-group .choices.form-group.formio-choices .form-control{overflow:hidden}.formio-component-submit{padding-left:15px}.date .input-group input.form-control{margin-right:0}.input-group-addon{float:right;width:30px}.input-group-addon .glyphicon{width:16px;height:16px;position:absolute;right:7px;top:3px;background-size:cover;background-repeat:no-repeat}.input-group-addon .glyphicon-calendar{background-image:url(http://apps.colfuturo.org/PLIS/img/calendar.svg)}.numInputWrapper span{opacity:1!important}.flatpickr-current-month .numInputWrapper{width:60px!important}.flatpickr-months .flatpickr-month{height:39px!important}.n_margin-to,.mt-0{margin-top:0!important}.group-item label{font-weight:300;font-family:Roboto,sans-serif;font-size:14px;color:#333;float:left;margin-right:1em}.group-item{float:left;margin-right:.4em;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex}.mat-card,.mat-elevation-z8{box-shadow:none!important}.relative{position:relative}mat-card-content h4{margin-bottom:1.5rem}.mat-select-panel .mat-option{height:20px!important}.mat-select-arrow{border-top:5px solid #757575!important}input.mat-input-element{font-family:Roboto,sans-serif;font-weight:300;font-size:14px}.mat-form-field-hide-placeholder .mat-select-placeholder{color:#666!important;-webkit-text-fill-color:#666!important}.mat-vertical-stepper-header{height:auto!important;padding:8px 24px!important;margin-top:5px}.mat-vertical-content{padding:5px 25px 0!important}.mat-form-field{margin-right:1em!important}.mat-form-field-infix{margin-top:0;border:1px solid #bbb;width:auto!important;height:22px;line-height:22px;padding:0!important;min-width:55px!important}.mat-select-value{padding:0 3px;overflow:visible!important;font-size:14px;color:#7a7a7a;font-weight:300}table.ng-star-inserted th,table.ng-star-inserted td{vertical-align:top!important;padding:10px 15px 0 0;font-weight:300;font-family:Roboto,sans-serif;font-size:14px;color:#666}table.ng-star-inserted .subcategory{padding-right:15px;width:130px}table.ng-star-inserted .select-repeat,table.ng-star-inserted .mat-form-field.input-money{margin-right:0!important}table.summary .last{border-left:1px solid #ccc}table.summary tr:last-child .last{border-left:1px solid #fff}.select-currency{margin-bottom:.3em}.mat-icon-button{padding:0 0 0 1em!important;width:auto!important;height:20px!important;line-height:20px!important}.inner{overflow-x:scroll;margin-left:124px;margin-right:170px}.presupuesto_detalle .table thead th{border-bottom:0px solid transparent!important;border-left:1px solid #ccc}.presupuesto_detalle .table tbody tr.Last th{border-right:1px solid white!important;background-color:#cacaca!important}.presupuesto_detalle .table tbody tr.Last th.Last{border-left:1px solid white}.presupuesto_detalle .table tbody tr:hover .col1{color:#00a5e6!important}.col1,.col2{position:absolute;top:auto}.col1{width:125px;left:0em;font-weight:400!important;border-right:1px solid #ccc;border-left:0!important}.col2{min-width:85px!important;font-weight:700!important;text-align:right;border-left:1px solid #ccc}.tabla_fija .mat-tab-body-wrapper,.mat-tab-body-content{overflow:visible!important;height:auto!important}.mat-tab-body.mat-tab-body-active{overflow-y:inherit!important}.mat-form-field-appearance-legacy .mat-form-field-underline{height:0!important}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:none!important}input.mat-input-element{padding-right:5px}.mat-step-header .mat-step-icon-state-edit{background:#00aa1a!important}.mat-tab-label{height:40px!important;min-width:90px!important}.mat-tab-label .mat-tab-label-content{font-size:17px;font-weight:400}.mat-raised-button.mat-primary{padding:5px 20px!important;font-size:16px!important;background-color:#449d44}.mat-flat-button.mat-primary,.mat-fab.mat-primary,.mat-mini-fab.mat-primary{background:#08c}.mat-flat-button.mat-primary:hover,.mat-raised-button.mat-primary:hover,.mat-fab.mat-primary:hover,.mat-mini-fab.mat-primary:hover{background-color:#d20000}.mat-raised-button{min-width:inherit!important;padding:0 10px!important;line-height:27px!important;border-radius:0!important;margin-top:20px!important}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:none!important}.table th{font-weight:300}.mat-stroked-button:not([class*=mat-elevation-z]),.mat-flat-button:not([class*=mat-elevation-z]){box-shadow:none;border-radius:0;line-height:27px;padding:0 10px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{height:auto!important;margin-bottom:10px}.mat-list-base{padding-top:0!important}mat-icon.add,button.add span{color:#449d44}button.remove{color:#da291c}.icon-hover{display:none!important}.icon-with-hover:hover .icon-hover{display:inline!important}.icon-with-hover:hover .icon-active{display:none}mat-icon.edit{color:#f3ab46}tr.mat-header-row{height:35px!important}.mat-header-cell{font-size:14px;font-weight:300}.mat-radio-container,.mat-radio-outer-circle,.mat-radio-inner-circle{height:12px!important;width:12px!important}.mat-radio-outer-circle{border-width:1px!important}.mat-radio-outer-circle{border-color:#a8a8a8!important;background-color:#dedede}.mat-radio-button:not(.mat-radio-disabled).cdk-focused .mat-radio-persistent-ripple{opacity:0!important}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#666!important}mat-radio-group{display:inline-block!important}mat-radio-button{margin:0 10px 5px!important}.mat-icon{background-color:#fff}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:.35em}.mat-form-field-appearance-legacy .mat-form-field-underline{display:none!important}input.mat-input-element{padding-left:5px}.mat-step-icon .mat-icon,.mat-step-icon-content{transform:translate(-45%,-53%)!important}.mat-step-header .mat-step-icon{background:#aaaaaa;position:relative;z-index:2}.mat-step-label{font-size:19px!important;line-height:26px;font-family:Roboto Condensed,sans-serif;font-weight:400}.letter .mat-form-field{margin-right:0;min-width:210px}.btn-info{transition:all .3s}.btn-info span{color:#fff}.btn-info:hover{cursor:pointer;background-color:#d20000}.btn-info:disabled{background-color:#ccc!important;border-color:#ccc!important}.mat-standard-chip{padding:0!important;background-color:#fff!important;justify-content:center;width:100%}.mat-standard-chip:hover:after{background:transparent!important}.mat-select-panel{min-width:calc(100% + 10px)!important}.mat-button-focus-overlay{background-color:transparent!important}button.delete:focus{outline:0}.mat-step-header .mat-step-icon-selected{background-color:#da291c!important}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0!important}.mat-card>.mat-card-actions:last-child{margin-bottom:0!important}@media screen and (max-width: 1260px){.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col,.col-auto,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm,.col-sm-auto,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-md,.col-md-auto,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg,.col-lg-auto,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl,.col-xl-auto{padding-right:5px}.Form_2{margin:20px 4px!important}}@media screen and (max-width: 1250px){label{font-size:13px!important}}@media screen and (max-width: 1220px){.mat-drawer.sidenav{position:absolute!important}.row.formio-component{margin-left:0;margin-right:0}.card .card-header h4.card-title{text-align:center}.card .card-body{padding:.3rem 0!important}label{width:100%!important;margin:.3em 1em .3em 0!important}label:after{position:relative}.form-group .form-control,.form-group .input-group{margin-left:0!important;margin-right:0!important;width:100%!important}.formio-choices.form-group{float:left;margin-left:0!important;margin-top:0!important}.mat-toolbar-row,.mat-toolbar-single-row{height:75px!important}.col{padding-left:5px!important;padding-right:5px!important}.block .row{display:block}.mat-toolbar.mat-primary button.mat-icon-button{display:block;margin-right:2em}.no_label label.control-label--hidden{width:auto!important;margin-right:1em!important}.hidden-responsive{display:none}}@media screen and (max-width: 991px){.col{flex:100%!important;max-width:inherit!important;padding-left:0!important;padding-right:0!important}.form-group .input-group{width:40%!important}.mat-toolbar.mat-primary .button-close-session{width:40px}.row_2{margin-left:0}.mat-vertical-content{padding:5px 5px 0!important}.mat-vertical-content{overflow:hidden}}.main-content{position:fixed;z-index:-1;overflow:visible;display:none;opacity:0;margin-top:10px;margin-bottom:10px;text-align:left!important}.main-content--show{top:0;left:0;display:block}.main-content hr{display:block;border-style:inset;border-width:1px;color:red}.header{display:flex;align-items:stretch}.header-item{margin:0 5px}button.fa-file-pdf{font-size:2em}\n"] }]
204
- }], ctorParameters: function () { return [{ type: i1.DomSanitizer }, { type: i2.DataFormService }, { type: i3.ApplicationService }, { type: i4.PppService }, { type: i5.CommonService }, { type: i6.PliCnfLookAndFeelService }, { type: i7.PliCnfHeaderService }, { type: i0.ComponentFactoryResolver }, { type: i8.ActivatedRoute }, { type: i9.FormService }, { type: i10.PliCnfPdfsService }, { type: i7.PliCnfHeaderService }, { type: i11.TokenTransformationService }]; }, propDecorators: { configurations: [{
205
- type: Input
206
- }], applicationId: [{
207
- type: Input
208
- }], contentElement: [{
209
- type: ViewChild,
210
- args: ['content']
211
- }], showLabel: [{
212
- type: Input
213
- }], actionClass: [{
214
- type: Input
215
- }], promCode: [{
216
- type: Input
217
- }], onDownload: [{
218
- type: Output
219
- }], onClick: [{
220
- type: HostListener,
221
- args: ['click', ['$event']]
222
- }] } });
223
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGRmLWdlbmVyYXRvci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZy1wbGktY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