mapa-library-ui 0.77.4 → 0.90.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1070) hide show
  1. package/esm2020/lib/core/components/form-errors/form-errors.component.mjs +26 -0
  2. package/esm2020/lib/core/directives/custom-paginator-legacy.directive.mjs +39 -62
  3. package/esm2020/lib/core/directives/mat-input-autosize.directive.mjs +11 -8
  4. package/esm2020/lib/core/elements/errors.mjs +1 -1
  5. package/esm2020/lib/core/i18n/mapa-ui-texts.mjs +100 -0
  6. package/esm2020/lib/core/interfaces/classification.interface.mjs +2 -0
  7. package/esm2020/lib/core/interfaces/table-column.interface.mjs +2 -0
  8. package/esm2020/lib/core/pipes/safe-html.pipe.mjs +21 -0
  9. package/esm2020/lib/core/services/html-sanitizer.service.mjs +23 -0
  10. package/esm2020/lib/core/services/mapa-i18n.service.mjs +36 -0
  11. package/esm2020/lib/core/services/validation-message-resolver.service.mjs +72 -0
  12. package/esm2020/public-api.mjs +10 -1
  13. package/esm2020/src/lib/components/benchmarking/lib/components/benchmarking/src/benchmark-chart.component.mjs +2 -2
  14. package/esm2020/src/lib/components/benchmarking/lib/components/benchmarking/src/benchmark-indicator/benchmark-indicator.component.mjs +2 -2
  15. package/esm2020/src/lib/components/breadcrumb/lib/components/breadcrumb/src/breadcrumb.component.mjs +3 -3
  16. package/esm2020/src/lib/components/button/button.mjs +5 -0
  17. package/esm2020/src/lib/components/{chart → button}/lib/components/button/src/button.component.mjs +2 -2
  18. package/esm2020/src/lib/components/button/mapa-library-ui-src-lib-components-button.mjs +2 -2
  19. package/esm2020/src/lib/components/button-icon/lib/components/button-icon/src/button-icon.component.mjs +11 -3
  20. package/esm2020/src/lib/components/capability/lib/components/button/src/button.component.mjs +2 -2
  21. package/esm2020/src/lib/components/capability/lib/components/capability/public-api.mjs +3 -1
  22. package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-comparative/capability-comparative.module.mjs +2 -2
  23. package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.component.mjs +2 -2
  24. package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-comparative-header/capability-comparative-header.component.mjs +27 -6
  25. package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.component.mjs +2 -2
  26. package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-detail/capability-detail.component.mjs +18 -4
  27. package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-detail/capability-detail.module.mjs +1 -1
  28. package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-dot/capability-dot.component.mjs +4 -4
  29. package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-dot/capability-dot.module.mjs +9 -11
  30. package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-expand/capability-expand.component.mjs +35 -9
  31. package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-expand/capability-expand.module.mjs +4 -3
  32. package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-indicator/capability-indicator.component.mjs +2 -2
  33. package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.component.mjs +2 -2
  34. package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-indicator-list/capability-indicator-list.component.mjs +44 -8
  35. package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-interval/capability-interval.component.mjs +2 -2
  36. package/esm2020/src/lib/components/capability/lib/components/capability/src/capability-interval-bar/capability-interval-bar.component.mjs +2 -5
  37. package/esm2020/src/lib/components/capability/lib/components/capability/src/essentials/services/reusable-interval-bar.service.mjs +11 -3
  38. package/esm2020/src/lib/components/capability/lib/components/dropdown/src/dropdown.component.mjs +75 -99
  39. package/esm2020/src/lib/components/capability/lib/components/dropdown/src/dropdown.module.mjs +12 -5
  40. package/esm2020/src/lib/components/capability/lib/components/filters/src/filters.component.mjs +30 -11
  41. package/esm2020/src/lib/components/capability/lib/components/filters/src/filters.module.mjs +1 -1
  42. package/esm2020/src/lib/components/capability/lib/components/tag/src/tag.component.mjs +2 -2
  43. package/esm2020/src/lib/components/capability/lib/core/components/form-errors/form-errors.component.mjs +26 -0
  44. package/esm2020/src/lib/components/capability/lib/core/elements/errors.mjs +1 -1
  45. package/esm2020/src/lib/components/capability/lib/core/i18n/mapa-ui-texts.mjs +100 -0
  46. package/esm2020/src/lib/components/capability/lib/core/pipes/safe-html.pipe.mjs +21 -0
  47. package/esm2020/src/lib/components/capability/lib/core/services/html-sanitizer.service.mjs +23 -0
  48. package/esm2020/src/lib/components/capability/lib/core/services/mapa-i18n.service.mjs +36 -0
  49. package/esm2020/src/lib/components/capability/lib/core/services/validation-message-resolver.service.mjs +72 -0
  50. package/esm2020/src/lib/components/chart/lib/components/chart/src/chart.component.mjs +11 -6
  51. package/esm2020/src/lib/components/chart/lib/components/chart/src/chart.module.mjs +2 -2
  52. package/esm2020/src/lib/components/checkbox/checkbox.mjs +5 -0
  53. package/esm2020/src/lib/components/{table/lib/components/svg-icon → checkbox/lib/components/checkbox}/public-api.mjs +4 -4
  54. package/esm2020/src/lib/components/checkbox/{src → lib/components/checkbox/src}/checkbox.component.mjs +1 -1
  55. package/esm2020/src/lib/components/checkbox/{src → lib/components/checkbox/src}/checkbox.module.mjs +1 -1
  56. package/esm2020/src/lib/components/checkbox/mapa-library-ui-src-lib-components-checkbox.mjs +2 -2
  57. package/esm2020/src/lib/components/datepicker/datepicker.mjs +5 -0
  58. package/esm2020/src/lib/components/datepicker/lib/components/datepicker/public-api.mjs +6 -0
  59. package/esm2020/src/lib/components/datepicker/lib/components/datepicker/src/datepicker.component.mjs +65 -0
  60. package/esm2020/src/lib/components/datepicker/lib/components/datepicker/src/datepicker.module.mjs +70 -0
  61. package/esm2020/src/lib/components/datepicker/lib/core/i18n/mapa-ui-texts.mjs +100 -0
  62. package/esm2020/src/lib/components/datepicker/lib/core/services/mapa-i18n.service.mjs +36 -0
  63. package/esm2020/src/lib/components/datepicker/mapa-library-ui-src-lib-components-datepicker.mjs +2 -2
  64. package/esm2020/src/lib/components/dialog/lib/components/button/src/button.component.mjs +2 -2
  65. package/esm2020/src/lib/components/dialog/lib/components/dialog/src/dialog.component.mjs +6 -4
  66. package/esm2020/src/lib/components/dialog/lib/components/dialog/src/dialog.module.mjs +6 -3
  67. package/esm2020/src/lib/components/dialog/lib/core/pipes/safe-html.pipe.mjs +21 -0
  68. package/esm2020/src/lib/components/dialog/lib/core/services/html-sanitizer.service.mjs +23 -0
  69. package/esm2020/src/lib/components/dropdown/dropdown.mjs +1 -2
  70. package/esm2020/src/lib/components/dropdown/lib/components/dropdown/src/dropdown.component.mjs +75 -99
  71. package/esm2020/src/lib/components/dropdown/lib/components/dropdown/src/dropdown.module.mjs +12 -5
  72. package/esm2020/src/lib/components/dropdown/lib/core/components/form-errors/form-errors.component.mjs +26 -0
  73. package/esm2020/src/lib/components/dropdown/lib/core/elements/errors.mjs +1 -1
  74. package/esm2020/src/lib/components/dropdown/lib/core/i18n/mapa-ui-texts.mjs +100 -0
  75. package/esm2020/src/lib/components/dropdown/lib/core/pipes/safe-html.pipe.mjs +21 -0
  76. package/esm2020/src/lib/components/dropdown/lib/core/services/html-sanitizer.service.mjs +23 -0
  77. package/esm2020/src/lib/components/dropdown/lib/core/services/mapa-i18n.service.mjs +36 -0
  78. package/esm2020/src/lib/components/dropdown/lib/core/services/validation-message-resolver.service.mjs +72 -0
  79. package/esm2020/src/lib/components/dropdown-tree/dropdown-tree.mjs +9 -0
  80. package/esm2020/src/lib/components/dropdown-tree/lib/components/dropdown-tree/src/dropdown.component.mjs +33 -16
  81. package/esm2020/src/lib/components/dropdown-tree/lib/components/dropdown-tree/src/dropdown.module.mjs +9 -41
  82. package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/errors.mjs +1 -1
  83. package/esm2020/src/lib/components/dropdown-tree/mapa-library-ui-src-lib-components-dropdown-tree.mjs +2 -2
  84. package/esm2020/src/lib/components/empty/empty.mjs +5 -0
  85. package/esm2020/src/lib/components/empty/lib/components/empty/public-api.mjs +6 -0
  86. package/esm2020/src/lib/components/empty/{src → lib/components/empty/src}/empty.component.mjs +4 -3
  87. package/esm2020/src/lib/components/empty/lib/components/empty/src/empty.module.mjs +27 -0
  88. package/esm2020/src/lib/components/empty/lib/core/pipes/safe-html.pipe.mjs +21 -0
  89. package/esm2020/src/lib/components/empty/lib/core/services/html-sanitizer.service.mjs +23 -0
  90. package/esm2020/src/lib/components/empty/mapa-library-ui-src-lib-components-empty.mjs +2 -2
  91. package/esm2020/src/lib/components/filters/lib/components/button/src/button.component.mjs +2 -2
  92. package/esm2020/src/lib/components/filters/lib/components/filters/src/filters.component.mjs +30 -11
  93. package/esm2020/src/lib/components/filters/lib/components/filters/src/filters.module.mjs +1 -1
  94. package/esm2020/src/lib/components/filters/lib/core/i18n/mapa-ui-texts.mjs +100 -0
  95. package/esm2020/src/lib/components/filters/lib/core/services/mapa-i18n.service.mjs +36 -0
  96. package/esm2020/src/lib/components/form/lib/components/button/src/button.component.mjs +2 -2
  97. package/esm2020/src/lib/components/form/lib/components/form/src/form.component.mjs +6 -5
  98. package/esm2020/src/lib/components/form/lib/components/form/src/form.module.mjs +3 -2
  99. package/esm2020/src/lib/components/form/lib/components/input/src/input.component.mjs +5 -4
  100. package/esm2020/src/lib/components/form/lib/components/input/src/input.module.mjs +13 -13
  101. package/esm2020/src/lib/components/form/lib/components/radio-button/src/radio-button.component.mjs +8 -3
  102. package/esm2020/src/lib/components/form/lib/components/slide-toggle/src/slide-toggle.component.mjs +8 -3
  103. package/esm2020/src/lib/components/form/lib/components/textarea/src/textarea.component.mjs +4 -3
  104. package/esm2020/src/lib/components/form/lib/components/textarea/src/textarea.module.mjs +7 -3
  105. package/esm2020/src/lib/components/form/lib/core/components/form-errors/form-errors.component.mjs +26 -0
  106. package/esm2020/src/lib/components/form/lib/core/directives/mat-input-autosize.directive.mjs +99 -0
  107. package/esm2020/src/lib/components/form/lib/core/elements/errors.mjs +1 -1
  108. package/esm2020/src/lib/components/form/lib/core/i18n/mapa-ui-texts.mjs +100 -0
  109. package/esm2020/src/lib/components/form/lib/core/services/mapa-i18n.service.mjs +36 -0
  110. package/esm2020/src/lib/components/form/lib/core/services/validation-message-resolver.service.mjs +72 -0
  111. package/esm2020/src/lib/components/group-report/lib/components/group-report/src/group-report-interface.mjs +1 -1
  112. package/esm2020/src/lib/components/group-report/lib/components/group-report/src/group-report.component.mjs +7 -6
  113. package/esm2020/src/lib/components/group-report/lib/components/group-report/src/group-report.module.mjs +2 -2
  114. package/esm2020/src/lib/components/icon/icon.mjs +5 -0
  115. package/esm2020/src/lib/components/icon/mapa-library-ui-src-lib-components-icon.mjs +2 -2
  116. package/esm2020/src/lib/components/input/input.mjs +5 -0
  117. package/esm2020/src/lib/components/input/lib/components/input/public-api.mjs +6 -0
  118. package/esm2020/src/lib/components/input/lib/components/input/src/input.component.mjs +40 -0
  119. package/esm2020/src/lib/components/input/lib/components/input/src/input.module.mjs +60 -0
  120. package/esm2020/src/lib/components/input/lib/core/components/form-errors/form-errors.component.mjs +26 -0
  121. package/esm2020/src/lib/components/input/lib/core/directives/mat-input-autosize.directive.mjs +99 -0
  122. package/esm2020/src/lib/components/{group-report → input}/lib/core/elements/errors.mjs +1 -1
  123. package/esm2020/src/lib/components/input/lib/core/i18n/mapa-ui-texts.mjs +100 -0
  124. package/esm2020/src/lib/components/input/lib/core/services/mapa-i18n.service.mjs +36 -0
  125. package/esm2020/src/lib/components/input/lib/core/services/validation-message-resolver.service.mjs +72 -0
  126. package/esm2020/src/lib/components/input/mapa-library-ui-src-lib-components-input.mjs +2 -2
  127. package/esm2020/src/lib/components/{table → menu}/lib/components/menu/src/menu.module.mjs +1 -1
  128. package/esm2020/src/lib/components/menu/mapa-library-ui-src-lib-components-menu.mjs +2 -2
  129. package/esm2020/src/lib/components/menu/menu.mjs +5 -0
  130. package/esm2020/src/lib/components/nav-list/lib/components/nav-list/src/nav-list.component.mjs +3 -3
  131. package/esm2020/src/lib/components/radio-button/lib/components/radio-button/src/radio-button.component.mjs +8 -3
  132. package/esm2020/src/lib/components/report-item/lib/components/report-item/public-api.mjs +6 -0
  133. package/esm2020/src/lib/components/report-item/lib/components/report-item/src/report-item.component.mjs +63 -0
  134. package/esm2020/src/lib/components/report-item/{src → lib/components/report-item/src}/report-item.module.mjs +1 -1
  135. package/esm2020/src/lib/components/report-item/mapa-library-ui-src-lib-components-report-item.mjs +2 -2
  136. package/esm2020/src/lib/components/report-item/report-item.mjs +5 -0
  137. package/esm2020/src/lib/components/scale/lib/components/button/src/button.component.mjs +2 -2
  138. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-interval/capability-interval.component.mjs +2 -2
  139. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-interval-bar/capability-interval-bar.component.mjs +2 -5
  140. package/esm2020/src/lib/components/scale/lib/components/filters/src/filters.component.mjs +30 -11
  141. package/esm2020/src/lib/components/scale/lib/components/filters/src/filters.module.mjs +1 -1
  142. package/esm2020/src/lib/components/scale/lib/components/group-report/src/group-report-interface.mjs +1 -1
  143. package/esm2020/src/lib/components/scale/lib/components/scale/src/details/details.component.mjs +3 -3
  144. package/esm2020/src/lib/components/scale/lib/components/scale/src/scale.component.mjs +25 -9
  145. package/esm2020/src/lib/components/scale/lib/components/scale/src/scale.interface.mjs +1 -1
  146. package/esm2020/src/lib/components/scale/lib/core/i18n/mapa-ui-texts.mjs +100 -0
  147. package/esm2020/src/lib/components/scale/lib/core/services/mapa-i18n.service.mjs +36 -0
  148. package/esm2020/src/lib/components/scale-parameterization/lib/components/group-report/src/group-report-interface.mjs +1 -1
  149. package/esm2020/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/details/details.component.mjs +3 -3
  150. package/esm2020/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/scale-parameterization.component.mjs +24 -9
  151. package/esm2020/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/scale-parameterization.interface.mjs +1 -1
  152. package/esm2020/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/scale-parameterization.module.mjs +6 -6
  153. package/esm2020/src/lib/components/scale-parameterization/lib/core/i18n/mapa-ui-texts.mjs +100 -0
  154. package/esm2020/src/lib/components/scale-parameterization/lib/core/services/mapa-i18n.service.mjs +36 -0
  155. package/esm2020/src/lib/components/slide-toggle/lib/components/slide-toggle/src/slide-toggle.component.mjs +8 -3
  156. package/esm2020/src/lib/components/svg-icon/lib/components/svg-icon/src/svg-icon.component.mjs +30 -18
  157. package/esm2020/src/lib/components/svg-icon/lib/components/svg-icon/src/svg-icon.module.mjs +5 -5
  158. package/esm2020/src/lib/components/svg-icon/lib/core/pipes/safe-html.pipe.mjs +21 -0
  159. package/esm2020/src/lib/components/svg-icon/lib/core/services/html-sanitizer.service.mjs +23 -0
  160. package/esm2020/src/lib/components/table/lib/components/table/src/paginator_customization.mjs +11 -16
  161. package/esm2020/src/lib/components/table/lib/components/table/src/table.component.mjs +74 -33
  162. package/esm2020/src/lib/components/table/lib/components/table/src/table.module.mjs +13 -9
  163. package/esm2020/src/lib/components/table/lib/core/directives/custom-paginator-legacy.directive.mjs +39 -62
  164. package/esm2020/src/lib/components/table/lib/core/i18n/mapa-ui-texts.mjs +100 -0
  165. package/esm2020/src/lib/components/table/lib/core/js-brasil/index.mjs +16 -0
  166. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/create.mjs +455 -0
  167. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/createNumberMask.mjs +115 -0
  168. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/estados.mjs +34 -0
  169. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/index.mjs +34 -0
  170. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/inscricaoestadual.mjs +702 -0
  171. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/interfaces.mjs +2 -0
  172. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/iptu.mjs +25 -0
  173. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/iptu_create.mjs +60 -0
  174. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/iptu_mask.mjs +38 -0
  175. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/iptu_validate.mjs +67 -0
  176. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/mask.mjs +579 -0
  177. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/name.mjs +371 -0
  178. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/placa.mjs +162 -0
  179. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/rg.mjs +63 -0
  180. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/saude.mjs +62 -0
  181. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/utils.mjs +304 -0
  182. package/esm2020/src/lib/components/table/lib/core/js-brasil/src/validate.mjs +627 -0
  183. package/esm2020/src/lib/components/table/lib/core/pipes/cpf.mjs +17 -0
  184. package/esm2020/src/lib/components/table/lib/core/pipes/safe-html.pipe.mjs +21 -0
  185. package/esm2020/src/lib/components/table/lib/core/services/html-sanitizer.service.mjs +23 -0
  186. package/esm2020/src/lib/components/table/lib/core/services/mapa-i18n.service.mjs +36 -0
  187. package/esm2020/src/lib/components/{scale-parameterization → tag}/lib/components/tag/src/tag.component.mjs +2 -2
  188. package/esm2020/src/lib/components/tag/mapa-library-ui-src-lib-components-tag.mjs +2 -2
  189. package/esm2020/src/lib/components/tag/tag.mjs +5 -0
  190. package/esm2020/src/lib/components/textarea/lib/components/textarea/src/textarea.component.mjs +4 -3
  191. package/esm2020/src/lib/components/textarea/lib/components/textarea/src/textarea.module.mjs +7 -3
  192. package/esm2020/src/lib/components/textarea/lib/core/components/form-errors/form-errors.component.mjs +26 -0
  193. package/esm2020/src/lib/components/textarea/lib/core/elements/errors.mjs +1 -1
  194. package/esm2020/src/lib/components/textarea/lib/core/i18n/mapa-ui-texts.mjs +100 -0
  195. package/esm2020/src/lib/components/textarea/lib/core/services/mapa-i18n.service.mjs +36 -0
  196. package/esm2020/src/lib/components/textarea/lib/core/services/validation-message-resolver.service.mjs +72 -0
  197. package/esm2020/src/lib/components/tooltip/lib/components/tooltip/public-api.mjs +7 -0
  198. package/esm2020/src/lib/components/tooltip/mapa-library-ui-src-lib-components-tooltip.mjs +2 -2
  199. package/esm2020/src/lib/components/tooltip/tooltip.mjs +6 -0
  200. package/esm2020/src/lib/components/{group-report/lib/components/filters → warning/lib/components/warning}/public-api.mjs +4 -4
  201. package/esm2020/src/lib/components/warning/lib/components/warning/src/warning.component.mjs +43 -0
  202. package/esm2020/src/lib/components/warning/{src → lib/components/warning/src}/warning.module.mjs +1 -1
  203. package/esm2020/src/lib/components/warning/mapa-library-ui-src-lib-components-warning.mjs +2 -2
  204. package/esm2020/src/lib/components/warning/warning.mjs +5 -0
  205. package/fesm2015/mapa-library-ui-src-lib-components-benchmarking.mjs +4 -4
  206. package/fesm2015/mapa-library-ui-src-lib-components-benchmarking.mjs.map +1 -1
  207. package/fesm2015/mapa-library-ui-src-lib-components-breadcrumb.mjs +2 -2
  208. package/fesm2015/mapa-library-ui-src-lib-components-breadcrumb.mjs.map +1 -1
  209. package/fesm2015/mapa-library-ui-src-lib-components-button-icon.mjs +10 -2
  210. package/fesm2015/mapa-library-ui-src-lib-components-button-icon.mjs.map +1 -1
  211. package/fesm2015/mapa-library-ui-src-lib-components-button.mjs +6 -2
  212. package/fesm2015/mapa-library-ui-src-lib-components-button.mjs.map +1 -1
  213. package/fesm2015/mapa-library-ui-src-lib-components-capability.mjs +630 -306
  214. package/fesm2015/mapa-library-ui-src-lib-components-capability.mjs.map +1 -1
  215. package/fesm2015/mapa-library-ui-src-lib-components-chart.mjs +13 -312
  216. package/fesm2015/mapa-library-ui-src-lib-components-chart.mjs.map +1 -1
  217. package/fesm2015/mapa-library-ui-src-lib-components-checkbox.mjs +4 -0
  218. package/fesm2015/mapa-library-ui-src-lib-components-checkbox.mjs.map +1 -1
  219. package/fesm2015/mapa-library-ui-src-lib-components-datepicker.mjs +154 -14
  220. package/fesm2015/mapa-library-ui-src-lib-components-datepicker.mjs.map +1 -1
  221. package/fesm2015/mapa-library-ui-src-lib-components-dialog.mjs +50 -8
  222. package/fesm2015/mapa-library-ui-src-lib-components-dialog.mjs.map +1 -1
  223. package/fesm2015/mapa-library-ui-src-lib-components-dropdown-tree.mjs +40 -348
  224. package/fesm2015/mapa-library-ui-src-lib-components-dropdown-tree.mjs.map +1 -1
  225. package/fesm2015/mapa-library-ui-src-lib-components-dropdown.mjs +321 -254
  226. package/fesm2015/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
  227. package/fesm2015/mapa-library-ui-src-lib-components-empty.mjs +52 -6
  228. package/fesm2015/mapa-library-ui-src-lib-components-empty.mjs.map +1 -1
  229. package/fesm2015/mapa-library-ui-src-lib-components-filters.mjs +148 -14
  230. package/fesm2015/mapa-library-ui-src-lib-components-filters.mjs.map +1 -1
  231. package/fesm2015/mapa-library-ui-src-lib-components-form.mjs +347 -30
  232. package/fesm2015/mapa-library-ui-src-lib-components-form.mjs.map +1 -1
  233. package/fesm2015/mapa-library-ui-src-lib-components-group-report.mjs +7 -40
  234. package/fesm2015/mapa-library-ui-src-lib-components-group-report.mjs.map +1 -1
  235. package/fesm2015/mapa-library-ui-src-lib-components-icon.mjs +4 -0
  236. package/fesm2015/mapa-library-ui-src-lib-components-icon.mjs.map +1 -1
  237. package/fesm2015/mapa-library-ui-src-lib-components-input.mjs +319 -15
  238. package/fesm2015/mapa-library-ui-src-lib-components-input.mjs.map +1 -1
  239. package/fesm2015/mapa-library-ui-src-lib-components-menu.mjs +4 -0
  240. package/fesm2015/mapa-library-ui-src-lib-components-menu.mjs.map +1 -1
  241. package/fesm2015/mapa-library-ui-src-lib-components-nav-list.mjs +2 -2
  242. package/fesm2015/mapa-library-ui-src-lib-components-nav-list.mjs.map +1 -1
  243. package/fesm2015/mapa-library-ui-src-lib-components-radio-button.mjs +8 -2
  244. package/fesm2015/mapa-library-ui-src-lib-components-radio-button.mjs.map +1 -1
  245. package/fesm2015/mapa-library-ui-src-lib-components-report-item.mjs +48 -12
  246. package/fesm2015/mapa-library-ui-src-lib-components-report-item.mjs.map +1 -1
  247. package/fesm2015/mapa-library-ui-src-lib-components-scale-parameterization.mjs +134 -1304
  248. package/fesm2015/mapa-library-ui-src-lib-components-scale-parameterization.mjs.map +1 -1
  249. package/fesm2015/mapa-library-ui-src-lib-components-scale.mjs +176 -32
  250. package/fesm2015/mapa-library-ui-src-lib-components-scale.mjs.map +1 -1
  251. package/fesm2015/mapa-library-ui-src-lib-components-slide-toggle.mjs +8 -2
  252. package/fesm2015/mapa-library-ui-src-lib-components-slide-toggle.mjs.map +1 -1
  253. package/fesm2015/mapa-library-ui-src-lib-components-svg-icon.mjs +61 -27
  254. package/fesm2015/mapa-library-ui-src-lib-components-svg-icon.mjs.map +1 -1
  255. package/fesm2015/mapa-library-ui-src-lib-components-table.mjs +3935 -234
  256. package/fesm2015/mapa-library-ui-src-lib-components-table.mjs.map +1 -1
  257. package/fesm2015/mapa-library-ui-src-lib-components-tag.mjs +6 -2
  258. package/fesm2015/mapa-library-ui-src-lib-components-tag.mjs.map +1 -1
  259. package/fesm2015/mapa-library-ui-src-lib-components-textarea.mjs +216 -7
  260. package/fesm2015/mapa-library-ui-src-lib-components-textarea.mjs.map +1 -1
  261. package/fesm2015/mapa-library-ui-src-lib-components-tooltip.mjs +4 -0
  262. package/fesm2015/mapa-library-ui-src-lib-components-tooltip.mjs.map +1 -1
  263. package/fesm2015/mapa-library-ui-src-lib-components-warning.mjs +12 -2
  264. package/fesm2015/mapa-library-ui-src-lib-components-warning.mjs.map +1 -1
  265. package/fesm2015/mapa-library-ui.mjs +297 -70
  266. package/fesm2015/mapa-library-ui.mjs.map +1 -1
  267. package/fesm2020/mapa-library-ui-src-lib-components-benchmarking.mjs +4 -4
  268. package/fesm2020/mapa-library-ui-src-lib-components-benchmarking.mjs.map +1 -1
  269. package/fesm2020/mapa-library-ui-src-lib-components-breadcrumb.mjs +2 -2
  270. package/fesm2020/mapa-library-ui-src-lib-components-breadcrumb.mjs.map +1 -1
  271. package/fesm2020/mapa-library-ui-src-lib-components-button-icon.mjs +10 -2
  272. package/fesm2020/mapa-library-ui-src-lib-components-button-icon.mjs.map +1 -1
  273. package/fesm2020/mapa-library-ui-src-lib-components-button.mjs +6 -2
  274. package/fesm2020/mapa-library-ui-src-lib-components-button.mjs.map +1 -1
  275. package/fesm2020/mapa-library-ui-src-lib-components-capability.mjs +641 -303
  276. package/fesm2020/mapa-library-ui-src-lib-components-capability.mjs.map +1 -1
  277. package/fesm2020/mapa-library-ui-src-lib-components-chart.mjs +13 -306
  278. package/fesm2020/mapa-library-ui-src-lib-components-chart.mjs.map +1 -1
  279. package/fesm2020/mapa-library-ui-src-lib-components-checkbox.mjs +4 -0
  280. package/fesm2020/mapa-library-ui-src-lib-components-checkbox.mjs.map +1 -1
  281. package/fesm2020/mapa-library-ui-src-lib-components-datepicker.mjs +169 -14
  282. package/fesm2020/mapa-library-ui-src-lib-components-datepicker.mjs.map +1 -1
  283. package/fesm2020/mapa-library-ui-src-lib-components-dialog.mjs +49 -8
  284. package/fesm2020/mapa-library-ui-src-lib-components-dialog.mjs.map +1 -1
  285. package/fesm2020/mapa-library-ui-src-lib-components-dropdown-tree.mjs +41 -343
  286. package/fesm2020/mapa-library-ui-src-lib-components-dropdown-tree.mjs.map +1 -1
  287. package/fesm2020/mapa-library-ui-src-lib-components-dropdown.mjs +333 -254
  288. package/fesm2020/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
  289. package/fesm2020/mapa-library-ui-src-lib-components-empty.mjs +51 -6
  290. package/fesm2020/mapa-library-ui-src-lib-components-empty.mjs.map +1 -1
  291. package/fesm2020/mapa-library-ui-src-lib-components-filters.mjs +163 -14
  292. package/fesm2020/mapa-library-ui-src-lib-components-filters.mjs.map +1 -1
  293. package/fesm2020/mapa-library-ui-src-lib-components-form.mjs +356 -30
  294. package/fesm2020/mapa-library-ui-src-lib-components-form.mjs.map +1 -1
  295. package/fesm2020/mapa-library-ui-src-lib-components-group-report.mjs +7 -40
  296. package/fesm2020/mapa-library-ui-src-lib-components-group-report.mjs.map +1 -1
  297. package/fesm2020/mapa-library-ui-src-lib-components-icon.mjs +4 -0
  298. package/fesm2020/mapa-library-ui-src-lib-components-icon.mjs.map +1 -1
  299. package/fesm2020/mapa-library-ui-src-lib-components-input.mjs +330 -15
  300. package/fesm2020/mapa-library-ui-src-lib-components-input.mjs.map +1 -1
  301. package/fesm2020/mapa-library-ui-src-lib-components-menu.mjs +4 -0
  302. package/fesm2020/mapa-library-ui-src-lib-components-menu.mjs.map +1 -1
  303. package/fesm2020/mapa-library-ui-src-lib-components-nav-list.mjs +2 -2
  304. package/fesm2020/mapa-library-ui-src-lib-components-nav-list.mjs.map +1 -1
  305. package/fesm2020/mapa-library-ui-src-lib-components-radio-button.mjs +7 -2
  306. package/fesm2020/mapa-library-ui-src-lib-components-radio-button.mjs.map +1 -1
  307. package/fesm2020/mapa-library-ui-src-lib-components-report-item.mjs +47 -12
  308. package/fesm2020/mapa-library-ui-src-lib-components-report-item.mjs.map +1 -1
  309. package/fesm2020/mapa-library-ui-src-lib-components-scale-parameterization.mjs +140 -1289
  310. package/fesm2020/mapa-library-ui-src-lib-components-scale-parameterization.mjs.map +1 -1
  311. package/fesm2020/mapa-library-ui-src-lib-components-scale.mjs +191 -32
  312. package/fesm2020/mapa-library-ui-src-lib-components-scale.mjs.map +1 -1
  313. package/fesm2020/mapa-library-ui-src-lib-components-slide-toggle.mjs +7 -2
  314. package/fesm2020/mapa-library-ui-src-lib-components-slide-toggle.mjs.map +1 -1
  315. package/fesm2020/mapa-library-ui-src-lib-components-svg-icon.mjs +60 -27
  316. package/fesm2020/mapa-library-ui-src-lib-components-svg-icon.mjs.map +1 -1
  317. package/fesm2020/mapa-library-ui-src-lib-components-table.mjs +3954 -234
  318. package/fesm2020/mapa-library-ui-src-lib-components-table.mjs.map +1 -1
  319. package/fesm2020/mapa-library-ui-src-lib-components-tag.mjs +6 -2
  320. package/fesm2020/mapa-library-ui-src-lib-components-tag.mjs.map +1 -1
  321. package/fesm2020/mapa-library-ui-src-lib-components-textarea.mjs +230 -7
  322. package/fesm2020/mapa-library-ui-src-lib-components-textarea.mjs.map +1 -1
  323. package/fesm2020/mapa-library-ui-src-lib-components-tooltip.mjs +4 -0
  324. package/fesm2020/mapa-library-ui-src-lib-components-tooltip.mjs.map +1 -1
  325. package/fesm2020/mapa-library-ui-src-lib-components-warning.mjs +12 -2
  326. package/fesm2020/mapa-library-ui-src-lib-components-warning.mjs.map +1 -1
  327. package/fesm2020/mapa-library-ui.mjs +309 -70
  328. package/fesm2020/mapa-library-ui.mjs.map +1 -1
  329. package/lib/core/components/form-errors/form-errors.component.d.ts +13 -0
  330. package/lib/core/directives/custom-paginator-legacy.directive.d.ts +10 -9
  331. package/lib/core/directives/mat-input-autosize.directive.d.ts +1 -2
  332. package/lib/core/elements/errors.d.ts +1 -2
  333. package/lib/core/i18n/mapa-ui-texts.d.ts +102 -0
  334. package/lib/core/pipes/safe-html.pipe.d.ts +10 -0
  335. package/lib/core/services/html-sanitizer.service.d.ts +10 -0
  336. package/lib/core/services/mapa-i18n.service.d.ts +13 -0
  337. package/lib/core/services/validation-message-resolver.service.d.ts +14 -0
  338. package/mapa-library-ui-0.90.0.tgz +0 -0
  339. package/package.json +14 -2
  340. package/public-api.d.ts +9 -0
  341. package/src/lib/components/button/button.d.ts +1 -0
  342. package/src/lib/components/button/index.d.ts +1 -1
  343. package/src/lib/components/button-icon/lib/components/button-icon/src/button-icon.component.d.ts +5 -3
  344. package/src/lib/components/capability/lib/components/capability/public-api.d.ts +2 -0
  345. package/src/lib/components/capability/lib/components/capability/src/capability-comparative/capability-comparative.module.d.ts +1 -1
  346. package/src/lib/components/capability/lib/components/capability/src/capability-comparative-header/capability-comparative-header.component.d.ts +10 -1
  347. package/src/lib/components/capability/lib/components/capability/src/capability-detail/capability-detail.component.d.ts +5 -2
  348. package/src/lib/components/capability/lib/components/capability/src/capability-dot/capability-dot.module.d.ts +3 -3
  349. package/src/lib/components/capability/lib/components/capability/src/capability-expand/capability-expand.component.d.ts +12 -2
  350. package/src/lib/components/capability/lib/components/capability/src/capability-expand/capability-expand.module.d.ts +2 -1
  351. package/src/lib/components/capability/lib/components/capability/src/capability-indicator-list/capability-indicator-list.component.d.ts +15 -3
  352. package/src/lib/components/capability/lib/components/capability/src/capability-interval-bar/capability-interval-bar.component.d.ts +0 -2
  353. package/src/lib/components/capability/lib/components/capability/src/essentials/services/reusable-interval-bar.service.d.ts +4 -3
  354. package/src/lib/components/capability/lib/components/dropdown/src/dropdown.component.d.ts +15 -13
  355. package/src/lib/components/capability/lib/components/dropdown/src/dropdown.module.d.ts +4 -2
  356. package/src/lib/components/capability/lib/components/filters/src/filters.component.d.ts +10 -2
  357. package/src/lib/components/capability/lib/core/components/form-errors/form-errors.component.d.ts +13 -0
  358. package/src/lib/components/capability/lib/core/elements/errors.d.ts +1 -2
  359. package/src/lib/components/capability/lib/core/i18n/mapa-ui-texts.d.ts +102 -0
  360. package/src/lib/components/capability/lib/core/pipes/safe-html.pipe.d.ts +10 -0
  361. package/src/lib/components/capability/lib/core/services/html-sanitizer.service.d.ts +10 -0
  362. package/src/lib/components/capability/lib/core/services/mapa-i18n.service.d.ts +13 -0
  363. package/src/lib/components/capability/lib/core/services/validation-message-resolver.service.d.ts +14 -0
  364. package/src/lib/components/chart/lib/components/chart/src/chart.component.d.ts +4 -3
  365. package/src/lib/components/chart/lib/components/chart/src/chart.module.d.ts +1 -1
  366. package/src/lib/components/checkbox/checkbox.d.ts +1 -0
  367. package/src/lib/components/checkbox/index.d.ts +1 -1
  368. package/src/lib/components/datepicker/datepicker.d.ts +1 -0
  369. package/src/lib/components/datepicker/index.d.ts +1 -1
  370. package/src/lib/components/datepicker/{src → lib/components/datepicker/src}/datepicker.component.d.ts +10 -1
  371. package/src/lib/components/datepicker/lib/core/i18n/mapa-ui-texts.d.ts +102 -0
  372. package/src/lib/components/datepicker/lib/core/services/mapa-i18n.service.d.ts +13 -0
  373. package/src/lib/components/dialog/lib/components/dialog/src/dialog.component.d.ts +3 -3
  374. package/src/lib/components/dialog/lib/components/dialog/src/dialog.module.d.ts +2 -1
  375. package/src/lib/components/dialog/lib/core/pipes/safe-html.pipe.d.ts +10 -0
  376. package/src/lib/components/dialog/lib/core/services/html-sanitizer.service.d.ts +10 -0
  377. package/src/lib/components/dropdown/dropdown.d.ts +0 -1
  378. package/src/lib/components/dropdown/lib/components/dropdown/src/dropdown.component.d.ts +15 -13
  379. package/src/lib/components/dropdown/lib/components/dropdown/src/dropdown.module.d.ts +4 -2
  380. package/src/lib/components/dropdown/lib/core/components/form-errors/form-errors.component.d.ts +13 -0
  381. package/src/lib/components/dropdown/lib/core/elements/errors.d.ts +1 -2
  382. package/src/lib/components/dropdown/lib/core/i18n/mapa-ui-texts.d.ts +102 -0
  383. package/src/lib/components/dropdown/lib/core/pipes/safe-html.pipe.d.ts +10 -0
  384. package/src/lib/components/dropdown/lib/core/services/html-sanitizer.service.d.ts +10 -0
  385. package/src/lib/components/dropdown/lib/core/services/mapa-i18n.service.d.ts +13 -0
  386. package/src/lib/components/dropdown/lib/core/services/validation-message-resolver.service.d.ts +14 -0
  387. package/src/lib/components/dropdown-tree/{dropdown.d.ts → dropdown-tree.d.ts} +1 -1
  388. package/src/lib/components/dropdown-tree/index.d.ts +1 -1
  389. package/src/lib/components/dropdown-tree/lib/components/dropdown-tree/src/dropdown.component.d.ts +7 -7
  390. package/src/lib/components/dropdown-tree/lib/components/dropdown-tree/src/dropdown.module.d.ts +2 -4
  391. package/src/lib/components/dropdown-tree/lib/core/elements/errors.d.ts +1 -2
  392. package/src/lib/components/empty/empty.d.ts +1 -0
  393. package/src/lib/components/empty/index.d.ts +1 -1
  394. package/src/lib/components/empty/{src → lib/components/empty/src}/empty.module.d.ts +2 -1
  395. package/src/lib/components/empty/lib/core/pipes/safe-html.pipe.d.ts +10 -0
  396. package/src/lib/components/empty/lib/core/services/html-sanitizer.service.d.ts +10 -0
  397. package/src/lib/components/filters/lib/components/filters/src/filters.component.d.ts +10 -2
  398. package/src/lib/components/filters/lib/core/i18n/mapa-ui-texts.d.ts +102 -0
  399. package/src/lib/components/filters/lib/core/services/mapa-i18n.service.d.ts +13 -0
  400. package/src/lib/components/form/lib/components/form/src/form.component.d.ts +1 -2
  401. package/src/lib/components/form/lib/components/form/src/form.module.d.ts +5 -4
  402. package/src/lib/components/form/lib/components/input/src/input.component.d.ts +1 -1
  403. package/src/lib/components/form/lib/components/input/src/input.module.d.ts +3 -2
  404. package/src/lib/components/form/lib/components/radio-button/src/radio-button.component.d.ts +4 -4
  405. package/src/lib/components/form/lib/components/slide-toggle/src/slide-toggle.component.d.ts +4 -4
  406. package/src/lib/components/form/lib/components/textarea/src/textarea.component.d.ts +1 -1
  407. package/src/lib/components/form/lib/components/textarea/src/textarea.module.d.ts +2 -1
  408. package/src/lib/components/form/lib/core/components/form-errors/form-errors.component.d.ts +13 -0
  409. package/src/lib/components/form/lib/core/directives/mat-input-autosize.directive.d.ts +25 -0
  410. package/src/lib/components/form/lib/core/elements/errors.d.ts +1 -2
  411. package/src/lib/components/form/lib/core/i18n/mapa-ui-texts.d.ts +102 -0
  412. package/src/lib/components/form/lib/core/services/mapa-i18n.service.d.ts +13 -0
  413. package/src/lib/components/form/lib/core/services/validation-message-resolver.service.d.ts +14 -0
  414. package/src/lib/components/group-report/lib/components/group-report/src/group-report.component.d.ts +3 -3
  415. package/src/lib/components/group-report/lib/components/group-report/src/group-report.module.d.ts +1 -1
  416. package/src/lib/components/icon/icon.d.ts +1 -0
  417. package/src/lib/components/icon/index.d.ts +1 -1
  418. package/src/lib/components/input/index.d.ts +1 -1
  419. package/src/lib/components/input/input.d.ts +1 -0
  420. package/src/lib/components/input/{src → lib/components/input/src}/input.component.d.ts +1 -1
  421. package/src/lib/components/input/{src → lib/components/input/src}/input.module.d.ts +3 -2
  422. package/src/lib/components/input/lib/core/components/form-errors/form-errors.component.d.ts +13 -0
  423. package/src/lib/components/input/lib/core/directives/mat-input-autosize.directive.d.ts +25 -0
  424. package/src/lib/components/{chart → input}/lib/core/elements/errors.d.ts +1 -2
  425. package/src/lib/components/input/lib/core/i18n/mapa-ui-texts.d.ts +102 -0
  426. package/src/lib/components/input/lib/core/services/mapa-i18n.service.d.ts +13 -0
  427. package/src/lib/components/input/lib/core/services/validation-message-resolver.service.d.ts +14 -0
  428. package/src/lib/components/menu/index.d.ts +1 -1
  429. package/src/lib/components/menu/menu.d.ts +1 -0
  430. package/src/lib/components/nav-list/lib/components/nav-list/src/nav-list.component.d.ts +1 -1
  431. package/src/lib/components/radio-button/lib/components/radio-button/src/radio-button.component.d.ts +4 -4
  432. package/src/lib/components/report-item/index.d.ts +1 -1
  433. package/src/lib/components/report-item/lib/components/report-item/src/report-item.component.d.ts +33 -0
  434. package/src/lib/components/report-item/report-item.d.ts +1 -0
  435. package/src/lib/components/scale/lib/components/capability/src/capability-interval-bar/capability-interval-bar.component.d.ts +0 -2
  436. package/src/lib/components/scale/lib/components/filters/src/filters.component.d.ts +10 -2
  437. package/src/lib/components/scale/lib/components/scale/src/scale.component.d.ts +11 -3
  438. package/src/lib/components/scale/lib/components/scale/src/scale.interface.d.ts +1 -1
  439. package/src/lib/components/scale/lib/core/i18n/mapa-ui-texts.d.ts +102 -0
  440. package/src/lib/components/scale/lib/core/services/mapa-i18n.service.d.ts +13 -0
  441. package/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/scale-parameterization.component.d.ts +12 -4
  442. package/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/scale-parameterization.interface.d.ts +1 -1
  443. package/src/lib/components/scale-parameterization/lib/components/scale-parameterization/src/scale-parameterization.module.d.ts +3 -4
  444. package/src/lib/components/scale-parameterization/lib/core/i18n/mapa-ui-texts.d.ts +102 -0
  445. package/src/lib/components/scale-parameterization/lib/core/services/mapa-i18n.service.d.ts +13 -0
  446. package/src/lib/components/slide-toggle/lib/components/slide-toggle/src/slide-toggle.component.d.ts +4 -4
  447. package/src/lib/components/svg-icon/lib/components/svg-icon/src/svg-icon.component.d.ts +6 -3
  448. package/src/lib/components/svg-icon/lib/components/svg-icon/src/svg-icon.module.d.ts +3 -3
  449. package/src/lib/components/svg-icon/lib/core/pipes/safe-html.pipe.d.ts +10 -0
  450. package/src/lib/components/svg-icon/lib/core/services/html-sanitizer.service.d.ts +10 -0
  451. package/src/lib/components/table/lib/components/table/src/paginator_customization.d.ts +2 -1
  452. package/src/lib/components/table/lib/components/table/src/table.component.d.ts +18 -7
  453. package/src/lib/components/table/lib/components/table/src/table.module.d.ts +4 -3
  454. package/src/lib/components/table/lib/core/directives/custom-paginator-legacy.directive.d.ts +10 -9
  455. package/src/lib/components/table/lib/core/i18n/mapa-ui-texts.d.ts +102 -0
  456. package/src/lib/components/table/lib/core/js-brasil/index.d.ts +15 -0
  457. package/src/lib/components/table/lib/core/js-brasil/src/create.d.ts +37 -0
  458. package/src/lib/components/table/lib/core/js-brasil/src/createNumberMask.d.ts +13 -0
  459. package/src/lib/components/table/lib/core/js-brasil/src/estados.d.ts +7 -0
  460. package/src/lib/components/table/lib/core/js-brasil/src/index.d.ts +34 -0
  461. package/src/lib/components/table/lib/core/js-brasil/src/inscricaoestadual.d.ts +7 -0
  462. package/src/lib/components/table/lib/core/js-brasil/src/interfaces.d.ts +51 -0
  463. package/src/lib/components/table/lib/core/js-brasil/src/iptu.d.ts +3 -0
  464. package/src/lib/components/table/lib/core/js-brasil/src/iptu_create.d.ts +5 -0
  465. package/src/lib/components/table/lib/core/js-brasil/src/iptu_mask.d.ts +2 -0
  466. package/src/lib/components/table/lib/core/js-brasil/src/iptu_validate.d.ts +10 -0
  467. package/src/lib/components/table/lib/core/js-brasil/src/mask.d.ts +53 -0
  468. package/src/lib/components/table/lib/core/js-brasil/src/name.d.ts +9 -0
  469. package/src/lib/components/table/lib/core/js-brasil/src/placa.d.ts +6 -0
  470. package/src/lib/components/table/lib/core/js-brasil/src/rg.d.ts +5 -0
  471. package/src/lib/components/table/lib/core/js-brasil/src/saude.d.ts +84 -0
  472. package/src/lib/components/table/lib/core/js-brasil/src/utils.d.ts +71 -0
  473. package/src/lib/components/table/lib/core/js-brasil/src/validate.d.ts +90 -0
  474. package/src/lib/components/table/lib/core/pipes/cpf.d.ts +7 -0
  475. package/src/lib/components/table/lib/core/pipes/safe-html.pipe.d.ts +10 -0
  476. package/src/lib/components/table/lib/core/services/html-sanitizer.service.d.ts +10 -0
  477. package/src/lib/components/table/lib/core/services/mapa-i18n.service.d.ts +13 -0
  478. package/src/lib/components/tag/index.d.ts +1 -1
  479. package/src/lib/components/tag/tag.d.ts +1 -0
  480. package/src/lib/components/textarea/lib/components/textarea/src/textarea.component.d.ts +1 -1
  481. package/src/lib/components/textarea/lib/components/textarea/src/textarea.module.d.ts +2 -1
  482. package/src/lib/components/textarea/lib/core/components/form-errors/form-errors.component.d.ts +13 -0
  483. package/src/lib/components/textarea/lib/core/elements/errors.d.ts +1 -2
  484. package/src/lib/components/textarea/lib/core/i18n/mapa-ui-texts.d.ts +102 -0
  485. package/src/lib/components/textarea/lib/core/services/mapa-i18n.service.d.ts +13 -0
  486. package/src/lib/components/textarea/lib/core/services/validation-message-resolver.service.d.ts +14 -0
  487. package/src/lib/components/tooltip/index.d.ts +1 -1
  488. package/src/lib/components/tooltip/tooltip.d.ts +2 -0
  489. package/src/lib/components/warning/index.d.ts +1 -1
  490. package/src/lib/components/warning/{src → lib/components/warning/src}/warning.component.d.ts +3 -2
  491. package/src/lib/components/warning/warning.d.ts +1 -0
  492. package/esm2020/src/lib/components/button/public-api.mjs +0 -6
  493. package/esm2020/src/lib/components/button/src/button.component.mjs +0 -23
  494. package/esm2020/src/lib/components/button/src/button.module.mjs +0 -19
  495. package/esm2020/src/lib/components/button-icon/lib/core/interfaces/button-icon.interface.mjs +0 -2
  496. package/esm2020/src/lib/components/chart/lib/components/dropdown/public-api.mjs +0 -6
  497. package/esm2020/src/lib/components/chart/lib/components/dropdown/src/dropdown.component.mjs +0 -191
  498. package/esm2020/src/lib/components/chart/lib/components/dropdown/src/dropdown.module.mjs +0 -75
  499. package/esm2020/src/lib/components/chart/lib/core/elements/dropdown.mjs +0 -8
  500. package/esm2020/src/lib/components/chart/lib/core/elements/errors.mjs +0 -2
  501. package/esm2020/src/lib/components/chart/lib/core/interfaces/chart-options.interface.mjs +0 -2
  502. package/esm2020/src/lib/components/checkbox/public-api.mjs +0 -6
  503. package/esm2020/src/lib/components/datepicker/public-api.mjs +0 -6
  504. package/esm2020/src/lib/components/datepicker/src/datepicker.component.mjs +0 -44
  505. package/esm2020/src/lib/components/datepicker/src/datepicker.module.mjs +0 -70
  506. package/esm2020/src/lib/components/dialog/lib/core/interfaces/dialog-data.interface.mjs +0 -2
  507. package/esm2020/src/lib/components/dropdown/lib/components/button/public-api.mjs +0 -6
  508. package/esm2020/src/lib/components/dropdown/lib/components/button/src/button.component.mjs +0 -23
  509. package/esm2020/src/lib/components/dropdown/lib/components/button/src/button.module.mjs +0 -19
  510. package/esm2020/src/lib/components/dropdown/lib/components/dropdown-tree/public-api.mjs +0 -6
  511. package/esm2020/src/lib/components/dropdown/lib/components/dropdown-tree/src/dropdown.component.mjs +0 -77
  512. package/esm2020/src/lib/components/dropdown/lib/components/dropdown-tree/src/dropdown.module.mjs +0 -52
  513. package/esm2020/src/lib/components/dropdown/lib/core/elements/dropdown-tree.mjs +0 -8
  514. package/esm2020/src/lib/components/dropdown/lib/core/elements/index.mjs +0 -10
  515. package/esm2020/src/lib/components/dropdown/lib/core/elements/input-text.mjs +0 -8
  516. package/esm2020/src/lib/components/dropdown/lib/core/elements/radio-button.mjs +0 -8
  517. package/esm2020/src/lib/components/dropdown/lib/core/elements/slide-toggle.mjs +0 -8
  518. package/esm2020/src/lib/components/dropdown/lib/core/elements/textarea.mjs +0 -8
  519. package/esm2020/src/lib/components/dropdown/lib/core/interfaces/button-icon.interface.mjs +0 -2
  520. package/esm2020/src/lib/components/dropdown/lib/core/interfaces/chart-options.interface.mjs +0 -2
  521. package/esm2020/src/lib/components/dropdown/lib/core/interfaces/classification.interface.mjs +0 -2
  522. package/esm2020/src/lib/components/dropdown/lib/core/interfaces/dialog-data.interface.mjs +0 -2
  523. package/esm2020/src/lib/components/dropdown/lib/core/interfaces/index.mjs +0 -7
  524. package/esm2020/src/lib/components/dropdown/lib/core/interfaces/table-column.interface.mjs +0 -2
  525. package/esm2020/src/lib/components/dropdown/lib/core/interfaces/table-row-click-event.interface.mjs +0 -2
  526. package/esm2020/src/lib/components/dropdown-tree/dropdown.mjs +0 -9
  527. package/esm2020/src/lib/components/dropdown-tree/lib/components/button/public-api.mjs +0 -6
  528. package/esm2020/src/lib/components/dropdown-tree/lib/components/button/src/button.component.mjs +0 -23
  529. package/esm2020/src/lib/components/dropdown-tree/lib/components/button/src/button.module.mjs +0 -19
  530. package/esm2020/src/lib/components/dropdown-tree/lib/components/dropdown/public-api.mjs +0 -6
  531. package/esm2020/src/lib/components/dropdown-tree/lib/components/dropdown/src/dropdown.component.mjs +0 -191
  532. package/esm2020/src/lib/components/dropdown-tree/lib/components/dropdown/src/dropdown.module.mjs +0 -75
  533. package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/index.mjs +0 -10
  534. package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/radio-button.mjs +0 -8
  535. package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/slide-toggle.mjs +0 -8
  536. package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/textarea.mjs +0 -8
  537. package/esm2020/src/lib/components/dropdown-tree/lib/core/interfaces/button-icon.interface.mjs +0 -2
  538. package/esm2020/src/lib/components/dropdown-tree/lib/core/interfaces/chart-options.interface.mjs +0 -2
  539. package/esm2020/src/lib/components/dropdown-tree/lib/core/interfaces/classification.interface.mjs +0 -2
  540. package/esm2020/src/lib/components/dropdown-tree/lib/core/interfaces/dialog-data.interface.mjs +0 -2
  541. package/esm2020/src/lib/components/dropdown-tree/lib/core/interfaces/index.mjs +0 -7
  542. package/esm2020/src/lib/components/dropdown-tree/lib/core/interfaces/table-column.interface.mjs +0 -2
  543. package/esm2020/src/lib/components/dropdown-tree/lib/core/interfaces/table-row-click-event.interface.mjs +0 -2
  544. package/esm2020/src/lib/components/empty/public-api.mjs +0 -6
  545. package/esm2020/src/lib/components/empty/src/empty.module.mjs +0 -24
  546. package/esm2020/src/lib/components/form/lib/core/elements/dropdown-tree.mjs +0 -8
  547. package/esm2020/src/lib/components/form/lib/core/elements/dropdown.mjs +0 -8
  548. package/esm2020/src/lib/components/form/lib/core/elements/index.mjs +0 -10
  549. package/esm2020/src/lib/components/form/lib/core/elements/radio-button.mjs +0 -8
  550. package/esm2020/src/lib/components/form/lib/core/elements/slide-toggle.mjs +0 -8
  551. package/esm2020/src/lib/components/form/lib/core/elements/textarea.mjs +0 -8
  552. package/esm2020/src/lib/components/form/lib/core/interfaces/button-icon.interface.mjs +0 -2
  553. package/esm2020/src/lib/components/form/lib/core/interfaces/chart-options.interface.mjs +0 -2
  554. package/esm2020/src/lib/components/form/lib/core/interfaces/classification.interface.mjs +0 -2
  555. package/esm2020/src/lib/components/form/lib/core/interfaces/dialog-data.interface.mjs +0 -2
  556. package/esm2020/src/lib/components/form/lib/core/interfaces/index.mjs +0 -7
  557. package/esm2020/src/lib/components/form/lib/core/interfaces/table-column.interface.mjs +0 -2
  558. package/esm2020/src/lib/components/form/lib/core/interfaces/table-row-click-event.interface.mjs +0 -2
  559. package/esm2020/src/lib/components/group-report/filters.mjs +0 -7
  560. package/esm2020/src/lib/components/group-report/lib/components/button/public-api.mjs +0 -6
  561. package/esm2020/src/lib/components/group-report/lib/components/button/src/button.component.mjs +0 -23
  562. package/esm2020/src/lib/components/group-report/lib/components/button/src/button.module.mjs +0 -19
  563. package/esm2020/src/lib/components/group-report/lib/components/capability/public-api.mjs +0 -26
  564. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-comparative/capability-comparative.component.mjs +0 -17
  565. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-comparative/capability-comparative.module.mjs +0 -32
  566. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.component.mjs +0 -24
  567. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.module.mjs +0 -19
  568. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-comparative-header/capability-comparative-header.component.mjs +0 -20
  569. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-comparative-header/capability-comparative-header.module.mjs +0 -19
  570. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.component.mjs +0 -19
  571. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.module.mjs +0 -19
  572. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-detail/capability-detail.component.mjs +0 -73
  573. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-detail/capability-detail.module.mjs +0 -64
  574. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-dot/capability-dot.component.mjs +0 -31
  575. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-dot/capability-dot.module.mjs +0 -22
  576. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-expand/capability-expand.component.mjs +0 -27
  577. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-expand/capability-expand.module.mjs +0 -22
  578. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-indicator/capability-indicator.component.mjs +0 -14
  579. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-indicator/capability-indicator.module.mjs +0 -18
  580. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.component.mjs +0 -33
  581. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.module.mjs +0 -21
  582. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-indicator-list/capability-indicator-list.component.mjs +0 -27
  583. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-indicator-list/capability-indicator-list.module.mjs +0 -21
  584. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-interval/capability-interval.component.mjs +0 -81
  585. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-interval/capability-interval.module.mjs +0 -18
  586. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-interval-bar/capability-interval-bar.component.mjs +0 -31
  587. package/esm2020/src/lib/components/group-report/lib/components/capability/src/capability-interval-bar/capability-interval-bar.module.mjs +0 -20
  588. package/esm2020/src/lib/components/group-report/lib/components/capability/src/essentials/consts/capability-classification.const.mjs +0 -57
  589. package/esm2020/src/lib/components/group-report/lib/components/capability/src/essentials/interfaces/capability-classification.interface.mjs +0 -2
  590. package/esm2020/src/lib/components/group-report/lib/components/capability/src/essentials/interfaces/capability-comparative.interface.mjs +0 -2
  591. package/esm2020/src/lib/components/group-report/lib/components/capability/src/essentials/interfaces/capability-item.interface.mjs +0 -2
  592. package/esm2020/src/lib/components/group-report/lib/components/capability/src/essentials/interfaces/capability.interface.mjs +0 -2
  593. package/esm2020/src/lib/components/group-report/lib/components/capability/src/essentials/interfaces/index.mjs +0 -4
  594. package/esm2020/src/lib/components/group-report/lib/components/capability/src/essentials/services/capability-classification.service.mjs +0 -14
  595. package/esm2020/src/lib/components/group-report/lib/components/capability/src/essentials/services/reusable-interval-bar.service.mjs +0 -32
  596. package/esm2020/src/lib/components/group-report/lib/components/dropdown/public-api.mjs +0 -6
  597. package/esm2020/src/lib/components/group-report/lib/components/dropdown/src/dropdown.component.mjs +0 -191
  598. package/esm2020/src/lib/components/group-report/lib/components/dropdown/src/dropdown.module.mjs +0 -75
  599. package/esm2020/src/lib/components/group-report/lib/components/filters/src/filters.component.mjs +0 -34
  600. package/esm2020/src/lib/components/group-report/lib/components/filters/src/filters.module.mjs +0 -38
  601. package/esm2020/src/lib/components/group-report/lib/components/tag/public-api.mjs +0 -6
  602. package/esm2020/src/lib/components/group-report/lib/components/tag/src/tag.component.mjs +0 -14
  603. package/esm2020/src/lib/components/group-report/lib/core/elements/action-button.mjs +0 -2
  604. package/esm2020/src/lib/components/group-report/lib/core/elements/dropdown.mjs +0 -8
  605. package/esm2020/src/lib/components/group-report/lib/core/elements/element-base.mjs +0 -37
  606. package/esm2020/src/lib/components/group-report/lib/core/elements/element-search.mjs +0 -2
  607. package/esm2020/src/lib/components/group-report/lib/core/interfaces/classification.interface.mjs +0 -2
  608. package/esm2020/src/lib/components/group-report/lib/core/interfaces/element-group.interface.mjs +0 -2
  609. package/esm2020/src/lib/components/group-report/lib/core/interfaces/element-option.interface.mjs +0 -2
  610. package/esm2020/src/lib/components/group-report/lib/core/interfaces/table-column.interface.mjs +0 -2
  611. package/esm2020/src/lib/components/icon/public-api.mjs +0 -6
  612. package/esm2020/src/lib/components/icon/src/icon.component.mjs +0 -26
  613. package/esm2020/src/lib/components/icon/src/icon.module.mjs +0 -19
  614. package/esm2020/src/lib/components/input/public-api.mjs +0 -6
  615. package/esm2020/src/lib/components/input/src/input.component.mjs +0 -39
  616. package/esm2020/src/lib/components/input/src/input.module.mjs +0 -60
  617. package/esm2020/src/lib/components/menu/public-api.mjs +0 -6
  618. package/esm2020/src/lib/components/menu/src/menu.component.mjs +0 -34
  619. package/esm2020/src/lib/components/menu/src/menu.module.mjs +0 -36
  620. package/esm2020/src/lib/components/nav-list/lib/core/interfaces/element-option.interface.mjs +0 -2
  621. package/esm2020/src/lib/components/radio-button/lib/core/elements/action-button.mjs +0 -2
  622. package/esm2020/src/lib/components/radio-button/lib/core/elements/element-base.mjs +0 -37
  623. package/esm2020/src/lib/components/radio-button/lib/core/elements/element-search.mjs +0 -2
  624. package/esm2020/src/lib/components/radio-button/lib/core/elements/errors.mjs +0 -2
  625. package/esm2020/src/lib/components/radio-button/lib/core/interfaces/element-group.interface.mjs +0 -2
  626. package/esm2020/src/lib/components/radio-button/lib/core/interfaces/element-option.interface.mjs +0 -2
  627. package/esm2020/src/lib/components/report-item/public-api.mjs +0 -6
  628. package/esm2020/src/lib/components/report-item/src/report-item.component.mjs +0 -32
  629. package/esm2020/src/lib/components/scale/lib/components/capability/public-api.mjs +0 -26
  630. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-comparative/capability-comparative.component.mjs +0 -17
  631. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-comparative/capability-comparative.module.mjs +0 -32
  632. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.component.mjs +0 -24
  633. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.module.mjs +0 -19
  634. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-comparative-header/capability-comparative-header.component.mjs +0 -20
  635. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-comparative-header/capability-comparative-header.module.mjs +0 -19
  636. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.component.mjs +0 -19
  637. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.module.mjs +0 -19
  638. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-detail/capability-detail.component.mjs +0 -73
  639. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-detail/capability-detail.module.mjs +0 -64
  640. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-dot/capability-dot.component.mjs +0 -31
  641. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-dot/capability-dot.module.mjs +0 -22
  642. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-expand/capability-expand.component.mjs +0 -27
  643. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-expand/capability-expand.module.mjs +0 -22
  644. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-indicator/capability-indicator.component.mjs +0 -14
  645. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-indicator/capability-indicator.module.mjs +0 -18
  646. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.component.mjs +0 -33
  647. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.module.mjs +0 -21
  648. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-indicator-list/capability-indicator-list.component.mjs +0 -27
  649. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-indicator-list/capability-indicator-list.module.mjs +0 -21
  650. package/esm2020/src/lib/components/scale/lib/components/capability/src/essentials/consts/capability-classification.const.mjs +0 -57
  651. package/esm2020/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/capability-classification.interface.mjs +0 -2
  652. package/esm2020/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/capability-comparative.interface.mjs +0 -2
  653. package/esm2020/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/index.mjs +0 -4
  654. package/esm2020/src/lib/components/scale/lib/components/capability/src/essentials/services/capability-classification.service.mjs +0 -14
  655. package/esm2020/src/lib/components/scale/lib/components/capability/src/essentials/services/reusable-interval-bar.service.mjs +0 -32
  656. package/esm2020/src/lib/components/scale/lib/components/dropdown/public-api.mjs +0 -6
  657. package/esm2020/src/lib/components/scale/lib/components/dropdown/src/dropdown.component.mjs +0 -191
  658. package/esm2020/src/lib/components/scale/lib/components/dropdown/src/dropdown.module.mjs +0 -75
  659. package/esm2020/src/lib/components/scale/lib/components/tag/public-api.mjs +0 -6
  660. package/esm2020/src/lib/components/scale/lib/components/tag/src/tag.component.mjs +0 -14
  661. package/esm2020/src/lib/components/scale/lib/components/tag/src/tag.module.mjs +0 -24
  662. package/esm2020/src/lib/components/scale/lib/components/tooltip/src/tooltip.component.mjs +0 -21
  663. package/esm2020/src/lib/components/scale/lib/components/tooltip/src/tooltip.directive.mjs +0 -140
  664. package/esm2020/src/lib/components/scale/lib/components/tooltip/src/tooltip.enums.mjs +0 -16
  665. package/esm2020/src/lib/components/scale/lib/components/tooltip/src/tooltip.module.mjs +0 -19
  666. package/esm2020/src/lib/components/scale/lib/core/elements/action-button.mjs +0 -2
  667. package/esm2020/src/lib/components/scale/lib/core/elements/dropdown.mjs +0 -8
  668. package/esm2020/src/lib/components/scale/lib/core/elements/element-base.mjs +0 -37
  669. package/esm2020/src/lib/components/scale/lib/core/elements/element-search.mjs +0 -2
  670. package/esm2020/src/lib/components/scale/lib/core/elements/errors.mjs +0 -2
  671. package/esm2020/src/lib/components/scale/lib/core/interfaces/classification.interface.mjs +0 -2
  672. package/esm2020/src/lib/components/scale/lib/core/interfaces/element-group.interface.mjs +0 -2
  673. package/esm2020/src/lib/components/scale/lib/core/interfaces/element-option.interface.mjs +0 -2
  674. package/esm2020/src/lib/components/scale-parameterization/filters.mjs +0 -7
  675. package/esm2020/src/lib/components/scale-parameterization/lib/components/button/public-api.mjs +0 -6
  676. package/esm2020/src/lib/components/scale-parameterization/lib/components/button/src/button.component.mjs +0 -23
  677. package/esm2020/src/lib/components/scale-parameterization/lib/components/button/src/button.module.mjs +0 -19
  678. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/public-api.mjs +0 -26
  679. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-comparative/capability-comparative.component.mjs +0 -17
  680. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-comparative/capability-comparative.module.mjs +0 -32
  681. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.component.mjs +0 -24
  682. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.module.mjs +0 -19
  683. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-comparative-header/capability-comparative-header.component.mjs +0 -20
  684. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-comparative-header/capability-comparative-header.module.mjs +0 -19
  685. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.component.mjs +0 -19
  686. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.module.mjs +0 -19
  687. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-detail/capability-detail.component.mjs +0 -73
  688. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-detail/capability-detail.module.mjs +0 -64
  689. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-dot/capability-dot.component.mjs +0 -31
  690. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-dot/capability-dot.module.mjs +0 -22
  691. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-expand/capability-expand.component.mjs +0 -27
  692. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-expand/capability-expand.module.mjs +0 -22
  693. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-indicator/capability-indicator.component.mjs +0 -14
  694. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-indicator/capability-indicator.module.mjs +0 -18
  695. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.component.mjs +0 -33
  696. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.module.mjs +0 -21
  697. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-indicator-list/capability-indicator-list.component.mjs +0 -27
  698. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-indicator-list/capability-indicator-list.module.mjs +0 -21
  699. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-interval/capability-interval.component.mjs +0 -81
  700. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-interval/capability-interval.module.mjs +0 -18
  701. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-interval-bar/capability-interval-bar.component.mjs +0 -31
  702. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/capability-interval-bar/capability-interval-bar.module.mjs +0 -20
  703. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/essentials/consts/capability-classification.const.mjs +0 -57
  704. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/essentials/interfaces/capability-classification.interface.mjs +0 -2
  705. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/essentials/interfaces/capability-comparative.interface.mjs +0 -2
  706. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/essentials/interfaces/capability-item.interface.mjs +0 -2
  707. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/essentials/interfaces/capability.interface.mjs +0 -2
  708. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/essentials/interfaces/index.mjs +0 -4
  709. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/essentials/services/capability-classification.service.mjs +0 -14
  710. package/esm2020/src/lib/components/scale-parameterization/lib/components/capability/src/essentials/services/reusable-interval-bar.service.mjs +0 -32
  711. package/esm2020/src/lib/components/scale-parameterization/lib/components/dropdown/public-api.mjs +0 -6
  712. package/esm2020/src/lib/components/scale-parameterization/lib/components/dropdown/src/dropdown.component.mjs +0 -191
  713. package/esm2020/src/lib/components/scale-parameterization/lib/components/dropdown/src/dropdown.module.mjs +0 -75
  714. package/esm2020/src/lib/components/scale-parameterization/lib/components/filters/public-api.mjs +0 -6
  715. package/esm2020/src/lib/components/scale-parameterization/lib/components/filters/src/filters.component.mjs +0 -34
  716. package/esm2020/src/lib/components/scale-parameterization/lib/components/filters/src/filters.module.mjs +0 -38
  717. package/esm2020/src/lib/components/scale-parameterization/lib/components/icon/public-api.mjs +0 -6
  718. package/esm2020/src/lib/components/scale-parameterization/lib/components/icon/src/icon.component.mjs +0 -26
  719. package/esm2020/src/lib/components/scale-parameterization/lib/components/icon/src/icon.module.mjs +0 -19
  720. package/esm2020/src/lib/components/scale-parameterization/lib/components/tag/public-api.mjs +0 -6
  721. package/esm2020/src/lib/components/scale-parameterization/lib/components/tag/src/tag.module.mjs +0 -24
  722. package/esm2020/src/lib/components/scale-parameterization/lib/components/tooltip/src/tooltip.component.mjs +0 -21
  723. package/esm2020/src/lib/components/scale-parameterization/lib/components/tooltip/src/tooltip.directive.mjs +0 -140
  724. package/esm2020/src/lib/components/scale-parameterization/lib/components/tooltip/src/tooltip.enums.mjs +0 -16
  725. package/esm2020/src/lib/components/scale-parameterization/lib/components/tooltip/src/tooltip.module.mjs +0 -19
  726. package/esm2020/src/lib/components/scale-parameterization/lib/core/elements/action-button.mjs +0 -2
  727. package/esm2020/src/lib/components/scale-parameterization/lib/core/elements/dropdown.mjs +0 -8
  728. package/esm2020/src/lib/components/scale-parameterization/lib/core/elements/element-base.mjs +0 -37
  729. package/esm2020/src/lib/components/scale-parameterization/lib/core/elements/element-search.mjs +0 -2
  730. package/esm2020/src/lib/components/scale-parameterization/lib/core/elements/errors.mjs +0 -2
  731. package/esm2020/src/lib/components/scale-parameterization/lib/core/interfaces/classification.interface.mjs +0 -2
  732. package/esm2020/src/lib/components/scale-parameterization/lib/core/interfaces/element-group.interface.mjs +0 -2
  733. package/esm2020/src/lib/components/scale-parameterization/lib/core/interfaces/element-option.interface.mjs +0 -2
  734. package/esm2020/src/lib/components/slide-toggle/lib/core/elements/action-button.mjs +0 -2
  735. package/esm2020/src/lib/components/slide-toggle/lib/core/elements/element-base.mjs +0 -37
  736. package/esm2020/src/lib/components/slide-toggle/lib/core/elements/element-search.mjs +0 -2
  737. package/esm2020/src/lib/components/slide-toggle/lib/core/elements/errors.mjs +0 -2
  738. package/esm2020/src/lib/components/slide-toggle/lib/core/interfaces/element-group.interface.mjs +0 -2
  739. package/esm2020/src/lib/components/slide-toggle/lib/core/interfaces/element-option.interface.mjs +0 -2
  740. package/esm2020/src/lib/components/svg-icon/lib/components/svg-icon/src/safe-html.pipe.mjs +0 -20
  741. package/esm2020/src/lib/components/table/lib/components/svg-icon/src/safe-html.pipe.mjs +0 -20
  742. package/esm2020/src/lib/components/table/lib/components/svg-icon/src/svg-icon.component.mjs +0 -48
  743. package/esm2020/src/lib/components/table/lib/components/svg-icon/src/svg-icon.module.mjs +0 -19
  744. package/esm2020/src/lib/components/tag/public-api.mjs +0 -6
  745. package/esm2020/src/lib/components/tag/src/tag.component.mjs +0 -14
  746. package/esm2020/src/lib/components/tag/src/tag.module.mjs +0 -24
  747. package/esm2020/src/lib/components/textarea/lib/core/elements/action-button.mjs +0 -2
  748. package/esm2020/src/lib/components/textarea/lib/core/elements/element-base.mjs +0 -37
  749. package/esm2020/src/lib/components/textarea/lib/core/elements/element-search.mjs +0 -2
  750. package/esm2020/src/lib/components/textarea/lib/core/elements/textarea.mjs +0 -8
  751. package/esm2020/src/lib/components/textarea/lib/core/interfaces/element-group.interface.mjs +0 -2
  752. package/esm2020/src/lib/components/textarea/lib/core/interfaces/element-option.interface.mjs +0 -2
  753. package/esm2020/src/lib/components/tooltip/public-api.mjs +0 -7
  754. package/esm2020/src/lib/components/tooltip/src/tooltip.component.mjs +0 -21
  755. package/esm2020/src/lib/components/tooltip/src/tooltip.directive.mjs +0 -140
  756. package/esm2020/src/lib/components/tooltip/src/tooltip.enums.mjs +0 -16
  757. package/esm2020/src/lib/components/tooltip/src/tooltip.module.mjs +0 -19
  758. package/esm2020/src/lib/components/warning/public-api.mjs +0 -6
  759. package/esm2020/src/lib/components/warning/src/warning.component.mjs +0 -37
  760. package/mapa-library-ui-0.77.4.tgz +0 -0
  761. package/src/lib/components/button-icon/lib/core/interfaces/button-icon.interface.d.ts +0 -6
  762. package/src/lib/components/chart/lib/components/button/public-api.d.ts +0 -2
  763. package/src/lib/components/chart/lib/components/button/src/button.component.d.ts +0 -10
  764. package/src/lib/components/chart/lib/components/button/src/button.module.d.ts +0 -9
  765. package/src/lib/components/chart/lib/components/dropdown/public-api.d.ts +0 -2
  766. package/src/lib/components/chart/lib/components/dropdown/src/dropdown.component.d.ts +0 -45
  767. package/src/lib/components/chart/lib/components/dropdown/src/dropdown.module.d.ts +0 -16
  768. package/src/lib/components/chart/lib/core/elements/dropdown.d.ts +0 -4
  769. package/src/lib/components/chart/lib/core/interfaces/chart-options.interface.d.ts +0 -19
  770. package/src/lib/components/dialog/lib/core/interfaces/dialog-data.interface.d.ts +0 -11
  771. package/src/lib/components/dropdown/lib/components/button/public-api.d.ts +0 -2
  772. package/src/lib/components/dropdown/lib/components/button/src/button.component.d.ts +0 -10
  773. package/src/lib/components/dropdown/lib/components/button/src/button.module.d.ts +0 -9
  774. package/src/lib/components/dropdown/lib/components/dropdown-tree/public-api.d.ts +0 -2
  775. package/src/lib/components/dropdown/lib/components/dropdown-tree/src/dropdown.component.d.ts +0 -37
  776. package/src/lib/components/dropdown/lib/components/dropdown-tree/src/dropdown.module.d.ts +0 -12
  777. package/src/lib/components/dropdown/lib/core/elements/dropdown-tree.d.ts +0 -4
  778. package/src/lib/components/dropdown/lib/core/elements/index.d.ts +0 -9
  779. package/src/lib/components/dropdown/lib/core/elements/input-text.d.ts +0 -4
  780. package/src/lib/components/dropdown/lib/core/elements/radio-button.d.ts +0 -4
  781. package/src/lib/components/dropdown/lib/core/elements/slide-toggle.d.ts +0 -4
  782. package/src/lib/components/dropdown/lib/core/elements/textarea.d.ts +0 -4
  783. package/src/lib/components/dropdown/lib/core/interfaces/button-icon.interface.d.ts +0 -6
  784. package/src/lib/components/dropdown/lib/core/interfaces/chart-options.interface.d.ts +0 -19
  785. package/src/lib/components/dropdown/lib/core/interfaces/classification.interface.d.ts +0 -6
  786. package/src/lib/components/dropdown/lib/core/interfaces/dialog-data.interface.d.ts +0 -11
  787. package/src/lib/components/dropdown/lib/core/interfaces/index.d.ts +0 -6
  788. package/src/lib/components/dropdown/lib/core/interfaces/table-column.interface.d.ts +0 -19
  789. package/src/lib/components/dropdown/lib/core/interfaces/table-row-click-event.interface.d.ts +0 -4
  790. package/src/lib/components/dropdown-tree/lib/components/button/public-api.d.ts +0 -2
  791. package/src/lib/components/dropdown-tree/lib/components/button/src/button.component.d.ts +0 -10
  792. package/src/lib/components/dropdown-tree/lib/components/button/src/button.module.d.ts +0 -9
  793. package/src/lib/components/dropdown-tree/lib/components/dropdown/public-api.d.ts +0 -2
  794. package/src/lib/components/dropdown-tree/lib/components/dropdown/src/dropdown.component.d.ts +0 -45
  795. package/src/lib/components/dropdown-tree/lib/components/dropdown/src/dropdown.module.d.ts +0 -16
  796. package/src/lib/components/dropdown-tree/lib/core/elements/index.d.ts +0 -9
  797. package/src/lib/components/dropdown-tree/lib/core/elements/radio-button.d.ts +0 -4
  798. package/src/lib/components/dropdown-tree/lib/core/elements/slide-toggle.d.ts +0 -4
  799. package/src/lib/components/dropdown-tree/lib/core/elements/textarea.d.ts +0 -4
  800. package/src/lib/components/dropdown-tree/lib/core/interfaces/button-icon.interface.d.ts +0 -6
  801. package/src/lib/components/dropdown-tree/lib/core/interfaces/chart-options.interface.d.ts +0 -19
  802. package/src/lib/components/dropdown-tree/lib/core/interfaces/dialog-data.interface.d.ts +0 -11
  803. package/src/lib/components/dropdown-tree/lib/core/interfaces/index.d.ts +0 -6
  804. package/src/lib/components/dropdown-tree/lib/core/interfaces/table-row-click-event.interface.d.ts +0 -4
  805. package/src/lib/components/form/lib/core/elements/dropdown-tree.d.ts +0 -4
  806. package/src/lib/components/form/lib/core/elements/dropdown.d.ts +0 -4
  807. package/src/lib/components/form/lib/core/elements/index.d.ts +0 -9
  808. package/src/lib/components/form/lib/core/elements/radio-button.d.ts +0 -4
  809. package/src/lib/components/form/lib/core/elements/slide-toggle.d.ts +0 -4
  810. package/src/lib/components/form/lib/core/elements/textarea.d.ts +0 -4
  811. package/src/lib/components/form/lib/core/interfaces/button-icon.interface.d.ts +0 -6
  812. package/src/lib/components/form/lib/core/interfaces/chart-options.interface.d.ts +0 -19
  813. package/src/lib/components/form/lib/core/interfaces/classification.interface.d.ts +0 -6
  814. package/src/lib/components/form/lib/core/interfaces/dialog-data.interface.d.ts +0 -11
  815. package/src/lib/components/form/lib/core/interfaces/index.d.ts +0 -6
  816. package/src/lib/components/form/lib/core/interfaces/table-column.interface.d.ts +0 -19
  817. package/src/lib/components/form/lib/core/interfaces/table-row-click-event.interface.d.ts +0 -4
  818. package/src/lib/components/group-report/filters.d.ts +0 -3
  819. package/src/lib/components/group-report/lib/components/button/public-api.d.ts +0 -2
  820. package/src/lib/components/group-report/lib/components/button/src/button.component.d.ts +0 -10
  821. package/src/lib/components/group-report/lib/components/button/src/button.module.d.ts +0 -9
  822. package/src/lib/components/group-report/lib/components/capability/public-api.d.ts +0 -22
  823. package/src/lib/components/group-report/lib/components/capability/src/capability-comparative/capability-comparative.component.d.ts +0 -10
  824. package/src/lib/components/group-report/lib/components/capability/src/capability-comparative/capability-comparative.module.d.ts +0 -11
  825. package/src/lib/components/group-report/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.component.d.ts +0 -9
  826. package/src/lib/components/group-report/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.module.d.ts +0 -9
  827. package/src/lib/components/group-report/lib/components/capability/src/capability-comparative-header/capability-comparative-header.component.d.ts +0 -9
  828. package/src/lib/components/group-report/lib/components/capability/src/capability-comparative-header/capability-comparative-header.module.d.ts +0 -9
  829. package/src/lib/components/group-report/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.component.d.ts +0 -9
  830. package/src/lib/components/group-report/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.module.d.ts +0 -9
  831. package/src/lib/components/group-report/lib/components/capability/src/capability-detail/capability-detail.component.d.ts +0 -29
  832. package/src/lib/components/group-report/lib/components/capability/src/capability-detail/capability-detail.module.d.ts +0 -17
  833. package/src/lib/components/group-report/lib/components/capability/src/capability-dot/capability-dot.component.d.ts +0 -17
  834. package/src/lib/components/group-report/lib/components/capability/src/capability-dot/capability-dot.module.d.ts +0 -10
  835. package/src/lib/components/group-report/lib/components/capability/src/capability-expand/capability-expand.component.d.ts +0 -16
  836. package/src/lib/components/group-report/lib/components/capability/src/capability-expand/capability-expand.module.d.ts +0 -10
  837. package/src/lib/components/group-report/lib/components/capability/src/capability-indicator/capability-indicator.component.d.ts +0 -7
  838. package/src/lib/components/group-report/lib/components/capability/src/capability-indicator/capability-indicator.module.d.ts +0 -8
  839. package/src/lib/components/group-report/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.component.d.ts +0 -12
  840. package/src/lib/components/group-report/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.module.d.ts +0 -9
  841. package/src/lib/components/group-report/lib/components/capability/src/capability-indicator-list/capability-indicator-list.component.d.ts +0 -14
  842. package/src/lib/components/group-report/lib/components/capability/src/capability-indicator-list/capability-indicator-list.module.d.ts +0 -9
  843. package/src/lib/components/group-report/lib/components/capability/src/capability-interval/capability-interval.component.d.ts +0 -29
  844. package/src/lib/components/group-report/lib/components/capability/src/capability-interval/capability-interval.module.d.ts +0 -8
  845. package/src/lib/components/group-report/lib/components/capability/src/capability-interval-bar/capability-interval-bar.component.d.ts +0 -16
  846. package/src/lib/components/group-report/lib/components/capability/src/capability-interval-bar/capability-interval-bar.module.d.ts +0 -10
  847. package/src/lib/components/group-report/lib/components/capability/src/essentials/consts/capability-classification.const.d.ts +0 -2
  848. package/src/lib/components/group-report/lib/components/capability/src/essentials/interfaces/capability-classification.interface.d.ts +0 -6
  849. package/src/lib/components/group-report/lib/components/capability/src/essentials/interfaces/capability-comparative.interface.d.ts +0 -10
  850. package/src/lib/components/group-report/lib/components/capability/src/essentials/interfaces/capability-item.interface.d.ts +0 -20
  851. package/src/lib/components/group-report/lib/components/capability/src/essentials/interfaces/capability.interface.d.ts +0 -8
  852. package/src/lib/components/group-report/lib/components/capability/src/essentials/interfaces/index.d.ts +0 -3
  853. package/src/lib/components/group-report/lib/components/capability/src/essentials/services/capability-classification.service.d.ts +0 -8
  854. package/src/lib/components/group-report/lib/components/capability/src/essentials/services/reusable-interval-bar.service.d.ts +0 -15
  855. package/src/lib/components/group-report/lib/components/dropdown/public-api.d.ts +0 -2
  856. package/src/lib/components/group-report/lib/components/dropdown/src/dropdown.component.d.ts +0 -45
  857. package/src/lib/components/group-report/lib/components/dropdown/src/dropdown.module.d.ts +0 -16
  858. package/src/lib/components/group-report/lib/components/filters/public-api.d.ts +0 -2
  859. package/src/lib/components/group-report/lib/components/filters/src/filters.component.d.ts +0 -14
  860. package/src/lib/components/group-report/lib/components/filters/src/filters.module.d.ts +0 -12
  861. package/src/lib/components/group-report/lib/components/tag/public-api.d.ts +0 -2
  862. package/src/lib/components/group-report/lib/core/elements/action-button.d.ts +0 -5
  863. package/src/lib/components/group-report/lib/core/elements/dropdown.d.ts +0 -4
  864. package/src/lib/components/group-report/lib/core/elements/element-base.d.ts +0 -75
  865. package/src/lib/components/group-report/lib/core/elements/element-search.d.ts +0 -7
  866. package/src/lib/components/group-report/lib/core/elements/errors.d.ts +0 -12
  867. package/src/lib/components/group-report/lib/core/interfaces/classification.interface.d.ts +0 -6
  868. package/src/lib/components/group-report/lib/core/interfaces/element-group.interface.d.ts +0 -5
  869. package/src/lib/components/group-report/lib/core/interfaces/element-option.interface.d.ts +0 -6
  870. package/src/lib/components/group-report/lib/core/interfaces/table-column.interface.d.ts +0 -19
  871. package/src/lib/components/icon/public-api.d.ts +0 -2
  872. package/src/lib/components/icon/src/icon.component.d.ts +0 -13
  873. package/src/lib/components/icon/src/icon.module.d.ts +0 -9
  874. package/src/lib/components/nav-list/lib/core/interfaces/element-option.interface.d.ts +0 -6
  875. package/src/lib/components/radio-button/lib/core/elements/action-button.d.ts +0 -5
  876. package/src/lib/components/radio-button/lib/core/elements/element-base.d.ts +0 -75
  877. package/src/lib/components/radio-button/lib/core/elements/element-search.d.ts +0 -7
  878. package/src/lib/components/radio-button/lib/core/elements/errors.d.ts +0 -12
  879. package/src/lib/components/radio-button/lib/core/interfaces/element-group.interface.d.ts +0 -5
  880. package/src/lib/components/radio-button/lib/core/interfaces/element-option.interface.d.ts +0 -6
  881. package/src/lib/components/report-item/src/report-item.component.d.ts +0 -18
  882. package/src/lib/components/scale/lib/components/capability/public-api.d.ts +0 -22
  883. package/src/lib/components/scale/lib/components/capability/src/capability-comparative/capability-comparative.component.d.ts +0 -10
  884. package/src/lib/components/scale/lib/components/capability/src/capability-comparative/capability-comparative.module.d.ts +0 -11
  885. package/src/lib/components/scale/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.component.d.ts +0 -9
  886. package/src/lib/components/scale/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.module.d.ts +0 -9
  887. package/src/lib/components/scale/lib/components/capability/src/capability-comparative-header/capability-comparative-header.component.d.ts +0 -9
  888. package/src/lib/components/scale/lib/components/capability/src/capability-comparative-header/capability-comparative-header.module.d.ts +0 -9
  889. package/src/lib/components/scale/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.component.d.ts +0 -9
  890. package/src/lib/components/scale/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.module.d.ts +0 -9
  891. package/src/lib/components/scale/lib/components/capability/src/capability-detail/capability-detail.component.d.ts +0 -29
  892. package/src/lib/components/scale/lib/components/capability/src/capability-detail/capability-detail.module.d.ts +0 -17
  893. package/src/lib/components/scale/lib/components/capability/src/capability-dot/capability-dot.component.d.ts +0 -17
  894. package/src/lib/components/scale/lib/components/capability/src/capability-dot/capability-dot.module.d.ts +0 -10
  895. package/src/lib/components/scale/lib/components/capability/src/capability-expand/capability-expand.component.d.ts +0 -16
  896. package/src/lib/components/scale/lib/components/capability/src/capability-expand/capability-expand.module.d.ts +0 -10
  897. package/src/lib/components/scale/lib/components/capability/src/capability-indicator/capability-indicator.component.d.ts +0 -7
  898. package/src/lib/components/scale/lib/components/capability/src/capability-indicator/capability-indicator.module.d.ts +0 -8
  899. package/src/lib/components/scale/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.component.d.ts +0 -12
  900. package/src/lib/components/scale/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.module.d.ts +0 -9
  901. package/src/lib/components/scale/lib/components/capability/src/capability-indicator-list/capability-indicator-list.component.d.ts +0 -14
  902. package/src/lib/components/scale/lib/components/capability/src/capability-indicator-list/capability-indicator-list.module.d.ts +0 -9
  903. package/src/lib/components/scale/lib/components/capability/src/essentials/consts/capability-classification.const.d.ts +0 -2
  904. package/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/capability-classification.interface.d.ts +0 -6
  905. package/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/capability-comparative.interface.d.ts +0 -10
  906. package/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/index.d.ts +0 -3
  907. package/src/lib/components/scale/lib/components/capability/src/essentials/services/capability-classification.service.d.ts +0 -8
  908. package/src/lib/components/scale/lib/components/capability/src/essentials/services/reusable-interval-bar.service.d.ts +0 -15
  909. package/src/lib/components/scale/lib/components/dropdown/public-api.d.ts +0 -2
  910. package/src/lib/components/scale/lib/components/dropdown/src/dropdown.component.d.ts +0 -45
  911. package/src/lib/components/scale/lib/components/dropdown/src/dropdown.module.d.ts +0 -16
  912. package/src/lib/components/scale/lib/components/tag/public-api.d.ts +0 -2
  913. package/src/lib/components/scale/lib/components/tag/src/tag.component.d.ts +0 -12
  914. package/src/lib/components/scale/lib/components/tag/src/tag.module.d.ts +0 -8
  915. package/src/lib/components/scale/lib/components/tooltip/src/tooltip.component.d.ts +0 -15
  916. package/src/lib/components/scale/lib/components/tooltip/src/tooltip.directive.d.ts +0 -32
  917. package/src/lib/components/scale/lib/components/tooltip/src/tooltip.enums.d.ts +0 -13
  918. package/src/lib/components/scale/lib/components/tooltip/src/tooltip.module.d.ts +0 -9
  919. package/src/lib/components/scale/lib/core/elements/action-button.d.ts +0 -5
  920. package/src/lib/components/scale/lib/core/elements/dropdown.d.ts +0 -4
  921. package/src/lib/components/scale/lib/core/elements/element-base.d.ts +0 -75
  922. package/src/lib/components/scale/lib/core/elements/element-search.d.ts +0 -7
  923. package/src/lib/components/scale/lib/core/elements/errors.d.ts +0 -12
  924. package/src/lib/components/scale/lib/core/interfaces/classification.interface.d.ts +0 -6
  925. package/src/lib/components/scale/lib/core/interfaces/element-group.interface.d.ts +0 -5
  926. package/src/lib/components/scale/lib/core/interfaces/element-option.interface.d.ts +0 -6
  927. package/src/lib/components/scale-parameterization/filters.d.ts +0 -3
  928. package/src/lib/components/scale-parameterization/lib/components/button/public-api.d.ts +0 -2
  929. package/src/lib/components/scale-parameterization/lib/components/button/src/button.component.d.ts +0 -10
  930. package/src/lib/components/scale-parameterization/lib/components/button/src/button.module.d.ts +0 -9
  931. package/src/lib/components/scale-parameterization/lib/components/capability/public-api.d.ts +0 -22
  932. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-comparative/capability-comparative.component.d.ts +0 -10
  933. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-comparative/capability-comparative.module.d.ts +0 -11
  934. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.component.d.ts +0 -9
  935. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.module.d.ts +0 -9
  936. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-comparative-header/capability-comparative-header.component.d.ts +0 -9
  937. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-comparative-header/capability-comparative-header.module.d.ts +0 -9
  938. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.component.d.ts +0 -9
  939. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.module.d.ts +0 -9
  940. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-detail/capability-detail.component.d.ts +0 -29
  941. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-detail/capability-detail.module.d.ts +0 -17
  942. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-dot/capability-dot.component.d.ts +0 -17
  943. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-dot/capability-dot.module.d.ts +0 -10
  944. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-expand/capability-expand.component.d.ts +0 -16
  945. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-expand/capability-expand.module.d.ts +0 -10
  946. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-indicator/capability-indicator.component.d.ts +0 -7
  947. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-indicator/capability-indicator.module.d.ts +0 -8
  948. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.component.d.ts +0 -12
  949. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.module.d.ts +0 -9
  950. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-indicator-list/capability-indicator-list.component.d.ts +0 -14
  951. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-indicator-list/capability-indicator-list.module.d.ts +0 -9
  952. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-interval/capability-interval.component.d.ts +0 -29
  953. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-interval/capability-interval.module.d.ts +0 -8
  954. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-interval-bar/capability-interval-bar.component.d.ts +0 -16
  955. package/src/lib/components/scale-parameterization/lib/components/capability/src/capability-interval-bar/capability-interval-bar.module.d.ts +0 -10
  956. package/src/lib/components/scale-parameterization/lib/components/capability/src/essentials/consts/capability-classification.const.d.ts +0 -2
  957. package/src/lib/components/scale-parameterization/lib/components/capability/src/essentials/interfaces/capability-classification.interface.d.ts +0 -6
  958. package/src/lib/components/scale-parameterization/lib/components/capability/src/essentials/interfaces/capability-comparative.interface.d.ts +0 -10
  959. package/src/lib/components/scale-parameterization/lib/components/capability/src/essentials/interfaces/capability-item.interface.d.ts +0 -20
  960. package/src/lib/components/scale-parameterization/lib/components/capability/src/essentials/interfaces/capability.interface.d.ts +0 -8
  961. package/src/lib/components/scale-parameterization/lib/components/capability/src/essentials/interfaces/index.d.ts +0 -3
  962. package/src/lib/components/scale-parameterization/lib/components/capability/src/essentials/services/capability-classification.service.d.ts +0 -8
  963. package/src/lib/components/scale-parameterization/lib/components/capability/src/essentials/services/reusable-interval-bar.service.d.ts +0 -15
  964. package/src/lib/components/scale-parameterization/lib/components/dropdown/public-api.d.ts +0 -2
  965. package/src/lib/components/scale-parameterization/lib/components/dropdown/src/dropdown.component.d.ts +0 -45
  966. package/src/lib/components/scale-parameterization/lib/components/dropdown/src/dropdown.module.d.ts +0 -16
  967. package/src/lib/components/scale-parameterization/lib/components/filters/public-api.d.ts +0 -2
  968. package/src/lib/components/scale-parameterization/lib/components/filters/src/filters.component.d.ts +0 -14
  969. package/src/lib/components/scale-parameterization/lib/components/filters/src/filters.module.d.ts +0 -12
  970. package/src/lib/components/scale-parameterization/lib/components/icon/public-api.d.ts +0 -2
  971. package/src/lib/components/scale-parameterization/lib/components/icon/src/icon.component.d.ts +0 -13
  972. package/src/lib/components/scale-parameterization/lib/components/icon/src/icon.module.d.ts +0 -9
  973. package/src/lib/components/scale-parameterization/lib/components/tag/public-api.d.ts +0 -2
  974. package/src/lib/components/scale-parameterization/lib/components/tag/src/tag.component.d.ts +0 -12
  975. package/src/lib/components/scale-parameterization/lib/components/tag/src/tag.module.d.ts +0 -8
  976. package/src/lib/components/scale-parameterization/lib/components/tooltip/src/tooltip.component.d.ts +0 -15
  977. package/src/lib/components/scale-parameterization/lib/components/tooltip/src/tooltip.directive.d.ts +0 -32
  978. package/src/lib/components/scale-parameterization/lib/components/tooltip/src/tooltip.enums.d.ts +0 -13
  979. package/src/lib/components/scale-parameterization/lib/components/tooltip/src/tooltip.module.d.ts +0 -9
  980. package/src/lib/components/scale-parameterization/lib/core/elements/action-button.d.ts +0 -5
  981. package/src/lib/components/scale-parameterization/lib/core/elements/dropdown.d.ts +0 -4
  982. package/src/lib/components/scale-parameterization/lib/core/elements/element-base.d.ts +0 -75
  983. package/src/lib/components/scale-parameterization/lib/core/elements/element-search.d.ts +0 -7
  984. package/src/lib/components/scale-parameterization/lib/core/elements/errors.d.ts +0 -12
  985. package/src/lib/components/scale-parameterization/lib/core/interfaces/classification.interface.d.ts +0 -6
  986. package/src/lib/components/scale-parameterization/lib/core/interfaces/element-group.interface.d.ts +0 -5
  987. package/src/lib/components/scale-parameterization/lib/core/interfaces/element-option.interface.d.ts +0 -6
  988. package/src/lib/components/slide-toggle/lib/core/elements/action-button.d.ts +0 -5
  989. package/src/lib/components/slide-toggle/lib/core/elements/element-base.d.ts +0 -75
  990. package/src/lib/components/slide-toggle/lib/core/elements/element-search.d.ts +0 -7
  991. package/src/lib/components/slide-toggle/lib/core/elements/errors.d.ts +0 -12
  992. package/src/lib/components/slide-toggle/lib/core/interfaces/element-group.interface.d.ts +0 -5
  993. package/src/lib/components/slide-toggle/lib/core/interfaces/element-option.interface.d.ts +0 -6
  994. package/src/lib/components/svg-icon/lib/components/svg-icon/src/safe-html.pipe.d.ts +0 -10
  995. package/src/lib/components/table/lib/components/menu/public-api.d.ts +0 -2
  996. package/src/lib/components/table/lib/components/menu/src/menu.component.d.ts +0 -22
  997. package/src/lib/components/table/lib/components/menu/src/menu.module.d.ts +0 -11
  998. package/src/lib/components/table/lib/components/svg-icon/public-api.d.ts +0 -2
  999. package/src/lib/components/table/lib/components/svg-icon/src/safe-html.pipe.d.ts +0 -10
  1000. package/src/lib/components/table/lib/components/svg-icon/src/svg-icon.component.d.ts +0 -14
  1001. package/src/lib/components/table/lib/components/svg-icon/src/svg-icon.module.d.ts +0 -9
  1002. package/src/lib/components/tag/public-api.d.ts +0 -2
  1003. package/src/lib/components/tag/src/tag.component.d.ts +0 -12
  1004. package/src/lib/components/tag/src/tag.module.d.ts +0 -8
  1005. package/src/lib/components/textarea/lib/core/elements/action-button.d.ts +0 -5
  1006. package/src/lib/components/textarea/lib/core/elements/element-base.d.ts +0 -75
  1007. package/src/lib/components/textarea/lib/core/elements/element-search.d.ts +0 -7
  1008. package/src/lib/components/textarea/lib/core/elements/textarea.d.ts +0 -4
  1009. package/src/lib/components/textarea/lib/core/interfaces/element-group.interface.d.ts +0 -5
  1010. package/src/lib/components/textarea/lib/core/interfaces/element-option.interface.d.ts +0 -6
  1011. package/src/lib/components/tooltip/src/tooltip.component.d.ts +0 -15
  1012. package/src/lib/components/tooltip/src/tooltip.directive.d.ts +0 -32
  1013. package/src/lib/components/tooltip/src/tooltip.enums.d.ts +0 -13
  1014. package/src/lib/components/tooltip/src/tooltip.module.d.ts +0 -9
  1015. /package/esm2020/src/lib/components/{chart → button}/lib/components/button/public-api.mjs +0 -0
  1016. /package/esm2020/src/lib/components/{chart → button}/lib/components/button/src/button.module.mjs +0 -0
  1017. /package/esm2020/src/lib/components/{group-report → icon}/lib/components/icon/public-api.mjs +0 -0
  1018. /package/esm2020/src/lib/components/{group-report → icon}/lib/components/icon/src/icon.component.mjs +0 -0
  1019. /package/esm2020/src/lib/components/{group-report → icon}/lib/components/icon/src/icon.module.mjs +0 -0
  1020. /package/esm2020/src/lib/components/{chart → input}/lib/core/elements/action-button.mjs +0 -0
  1021. /package/esm2020/src/lib/components/{chart → input}/lib/core/elements/element-base.mjs +0 -0
  1022. /package/esm2020/src/lib/components/{chart → input}/lib/core/elements/element-search.mjs +0 -0
  1023. /package/esm2020/src/lib/components/{dropdown-tree → input}/lib/core/elements/input-text.mjs +0 -0
  1024. /package/esm2020/src/lib/components/{chart → input}/lib/core/interfaces/element-group.interface.mjs +0 -0
  1025. /package/esm2020/src/lib/components/{chart → input}/lib/core/interfaces/element-option.interface.mjs +0 -0
  1026. /package/esm2020/src/lib/components/{table → menu}/lib/components/menu/public-api.mjs +0 -0
  1027. /package/esm2020/src/lib/components/{table → menu}/lib/components/menu/src/menu.component.mjs +0 -0
  1028. /package/esm2020/src/lib/components/{capability → tag}/lib/components/tag/public-api.mjs +0 -0
  1029. /package/esm2020/src/lib/components/{group-report → tag}/lib/components/tag/src/tag.module.mjs +0 -0
  1030. /package/esm2020/src/lib/components/{group-report → tooltip}/lib/components/tooltip/src/tooltip.component.mjs +0 -0
  1031. /package/esm2020/src/lib/components/{group-report → tooltip}/lib/components/tooltip/src/tooltip.directive.mjs +0 -0
  1032. /package/esm2020/src/lib/components/{group-report → tooltip}/lib/components/tooltip/src/tooltip.enums.mjs +0 -0
  1033. /package/esm2020/src/lib/components/{group-report → tooltip}/lib/components/tooltip/src/tooltip.module.mjs +0 -0
  1034. /package/{src/lib/components/dropdown-tree/lib → lib}/core/interfaces/classification.interface.d.ts +0 -0
  1035. /package/{src/lib/components/dropdown-tree/lib → lib}/core/interfaces/table-column.interface.d.ts +0 -0
  1036. /package/src/lib/components/button/{public-api.d.ts → lib/components/button/public-api.d.ts} +0 -0
  1037. /package/src/lib/components/button/{src → lib/components/button/src}/button.component.d.ts +0 -0
  1038. /package/src/lib/components/button/{src → lib/components/button/src}/button.module.d.ts +0 -0
  1039. /package/src/lib/components/checkbox/{public-api.d.ts → lib/components/checkbox/public-api.d.ts} +0 -0
  1040. /package/src/lib/components/checkbox/{src → lib/components/checkbox/src}/checkbox.component.d.ts +0 -0
  1041. /package/src/lib/components/checkbox/{src → lib/components/checkbox/src}/checkbox.module.d.ts +0 -0
  1042. /package/src/lib/components/datepicker/{public-api.d.ts → lib/components/datepicker/public-api.d.ts} +0 -0
  1043. /package/src/lib/components/datepicker/{src → lib/components/datepicker/src}/datepicker.module.d.ts +0 -0
  1044. /package/src/lib/components/empty/{public-api.d.ts → lib/components/empty/public-api.d.ts} +0 -0
  1045. /package/src/lib/components/empty/{src → lib/components/empty/src}/empty.component.d.ts +0 -0
  1046. /package/src/lib/components/{group-report → icon}/lib/components/icon/public-api.d.ts +0 -0
  1047. /package/src/lib/components/{group-report → icon}/lib/components/icon/src/icon.component.d.ts +0 -0
  1048. /package/src/lib/components/{group-report → icon}/lib/components/icon/src/icon.module.d.ts +0 -0
  1049. /package/src/lib/components/input/{public-api.d.ts → lib/components/input/public-api.d.ts} +0 -0
  1050. /package/src/lib/components/{chart → input}/lib/core/elements/action-button.d.ts +0 -0
  1051. /package/src/lib/components/{chart → input}/lib/core/elements/element-base.d.ts +0 -0
  1052. /package/src/lib/components/{chart → input}/lib/core/elements/element-search.d.ts +0 -0
  1053. /package/src/lib/components/{dropdown-tree → input}/lib/core/elements/input-text.d.ts +0 -0
  1054. /package/src/lib/components/{chart → input}/lib/core/interfaces/element-group.interface.d.ts +0 -0
  1055. /package/src/lib/components/{chart → input}/lib/core/interfaces/element-option.interface.d.ts +0 -0
  1056. /package/src/lib/components/menu/{public-api.d.ts → lib/components/menu/public-api.d.ts} +0 -0
  1057. /package/src/lib/components/menu/{src → lib/components/menu/src}/menu.component.d.ts +0 -0
  1058. /package/src/lib/components/menu/{src → lib/components/menu/src}/menu.module.d.ts +0 -0
  1059. /package/src/lib/components/report-item/{public-api.d.ts → lib/components/report-item/public-api.d.ts} +0 -0
  1060. /package/src/lib/components/report-item/{src → lib/components/report-item/src}/report-item.module.d.ts +0 -0
  1061. /package/src/lib/components/{capability → tag}/lib/components/tag/public-api.d.ts +0 -0
  1062. /package/src/lib/components/{group-report → tag}/lib/components/tag/src/tag.component.d.ts +0 -0
  1063. /package/src/lib/components/{group-report → tag}/lib/components/tag/src/tag.module.d.ts +0 -0
  1064. /package/src/lib/components/tooltip/{public-api.d.ts → lib/components/tooltip/public-api.d.ts} +0 -0
  1065. /package/src/lib/components/{group-report → tooltip}/lib/components/tooltip/src/tooltip.component.d.ts +0 -0
  1066. /package/src/lib/components/{group-report → tooltip}/lib/components/tooltip/src/tooltip.directive.d.ts +0 -0
  1067. /package/src/lib/components/{group-report → tooltip}/lib/components/tooltip/src/tooltip.enums.d.ts +0 -0
  1068. /package/src/lib/components/{group-report → tooltip}/lib/components/tooltip/src/tooltip.module.d.ts +0 -0
  1069. /package/src/lib/components/warning/{public-api.d.ts → lib/components/warning/public-api.d.ts} +0 -0
  1070. /package/src/lib/components/warning/{src → lib/components/warning/src}/warning.module.d.ts +0 -0
@@ -0,0 +1,304 @@
1
+ import { ESTADOS_SIGLA } from './estados';
2
+ export function isPresent(obj) {
3
+ return obj !== undefined && obj !== null;
4
+ }
5
+ export function isArray(value) {
6
+ return (Array.isArray && Array.isArray(value)) || value instanceof Array;
7
+ }
8
+ export function isString(value) {
9
+ return typeof value === 'string' || value instanceof String;
10
+ }
11
+ export function isNumber(value) {
12
+ return typeof value === 'number' && !isNaN(value); // && value.length === undefined
13
+ }
14
+ export function isNil(value) {
15
+ return typeof value === 'undefined' || value === null;
16
+ }
17
+ const strCaretTrap = '[]';
18
+ export function processCaretTraps(mask) {
19
+ const indexes = [];
20
+ let indexOfCaretTrap;
21
+ while (indexOfCaretTrap = mask.indexOf(strCaretTrap), indexOfCaretTrap !== -1) { // eslint-disable-line
22
+ indexes.push(indexOfCaretTrap);
23
+ mask.splice(indexOfCaretTrap, 1);
24
+ }
25
+ return { maskWithoutCaretTraps: mask, indexes };
26
+ }
27
+ export const modulo11 = (value) => {
28
+ let mults = [];
29
+ let weightVal = 2;
30
+ for (let i = 0; i < value.length; i++) {
31
+ // mults = [weightVal, ...mults]
32
+ mults.push(weightVal);
33
+ weightVal++;
34
+ if (weightVal > 9)
35
+ weightVal = 2;
36
+ }
37
+ mults = mults.reverse();
38
+ let sum = 0;
39
+ for (let i = 0; i < value.length; i++) {
40
+ sum += parseInt(value[i]) * mults[i];
41
+ }
42
+ const digit = (sum * 10) % 11;
43
+ return digit;
44
+ };
45
+ export const modulo11Custom = (string, size, maxMult = string.length, by10 = true) => {
46
+ if (!by10)
47
+ size = 1;
48
+ for (let n = 1; n <= size; n++) {
49
+ let soma = 0;
50
+ let mult = 2;
51
+ for (let i = string.length - 1; i >= 0; i--) {
52
+ soma += (mult * parseInt(string.charAt(i)));
53
+ mult++;
54
+ if (mult > maxMult)
55
+ mult = 2;
56
+ }
57
+ let dig;
58
+ if (by10) {
59
+ dig = ((soma * 10) % 11) % 10;
60
+ }
61
+ else {
62
+ dig = soma % 11;
63
+ if (dig == 10)
64
+ dig = 0;
65
+ }
66
+ string += dig;
67
+ }
68
+ return string.substr(string.length - size, size);
69
+ };
70
+ export const modulo11a = (string, size, mod) => {
71
+ let soma = 0;
72
+ for (let i = 1; i <= size; i++) {
73
+ // tslint:disable-next-line:radix
74
+ soma = soma + parseInt(string.substring(i - 1, i)) * (mod - i);
75
+ }
76
+ let resto = (soma * 10) % 11;
77
+ if ((resto === 10) || (resto === 11)) {
78
+ resto = 0;
79
+ }
80
+ return resto;
81
+ };
82
+ /**
83
+ *
84
+ * @param input
85
+ * ^ - Match line start
86
+ (\d) - match first digit and capture it in back reference #1 i.e. \1
87
+ (?!..) is a negative lookahead
88
+ (?!\1+$) means disallow the match if first digit is followed by same digit (captured group) till end.
89
+ \d{11}$ match next 11 digit followed by line end
90
+ */
91
+ export function allNumbersAreSame(inputValue) {
92
+ const input = getAllDigits(inputValue);
93
+ if (typeof input === 'string') {
94
+ const reg = new RegExp('^(\\d)(?!\\1+$)\\d{' + (input.length - 1) + '}$');
95
+ return reg.test(input);
96
+ }
97
+ return false;
98
+ }
99
+ export function getAllDigits(input) {
100
+ if (!input.match) {
101
+ input = input.toString();
102
+ }
103
+ const match = input.match(/\d/g);
104
+ if (match) {
105
+ return match.join("");
106
+ }
107
+ return '';
108
+ }
109
+ export function getAllWords(input) {
110
+ const match = input.match(/\w/g);
111
+ if (match) {
112
+ return match.join("");
113
+ }
114
+ return '';
115
+ }
116
+ export function currencyToNumber(input) {
117
+ if (typeof input === 'number') {
118
+ return input;
119
+ }
120
+ input = input.replace(/ /g, '');
121
+ if (input.indexOf('$') !== -1) {
122
+ const vals = input.split('$');
123
+ input = vals[1];
124
+ }
125
+ // Keeping just numbers . and ,
126
+ input = input.replace(/[^0-9.,]+/, '');
127
+ // eua format
128
+ if (input.indexOf('.') === (input.length - 1) - 2) {
129
+ input = input.replace(/\,/g, '');
130
+ }
131
+ // br format
132
+ else {
133
+ input = input.replace(/\./g, '').replace(',', '.');
134
+ }
135
+ return parseFloat(input);
136
+ }
137
+ export function numberToCurrency(value) {
138
+ return ' R$ ' + value.toFixed(2).replace('.', ',') + ' ';
139
+ }
140
+ ;
141
+ export function slugify(value) {
142
+ return value.toString().toLowerCase()
143
+ .replace(/[àÀáÁâÂãäÄÅåª]+/g, 'a') // Special Characters #1
144
+ .replace(/[èÈéÉêÊëË]+/g, 'e') // Special Characters #2
145
+ .replace(/[ìÌíÍîÎïÏ]+/g, 'i') // Special Characters #3
146
+ .replace(/[òÒóÓôÔõÕöÖº]+/g, 'o') // Special Characters #4
147
+ .replace(/[ùÙúÚûÛüÜ]+/g, 'u') // Special Characters #5
148
+ .replace(/[ýÝÿŸ]+/g, 'y') // Special Characters #6
149
+ .replace(/[ñÑ]+/g, 'n') // Special Characters #7
150
+ .replace(/[çÇ]+/g, 'c') // Special Characters #8
151
+ .replace(/[ß]+/g, 'ss') // Special Characters #9
152
+ .replace(/[Ææ]+/g, 'ae') // Special Characters #10
153
+ .replace(/[Øøœ]+/g, 'oe') // Special Characters #11
154
+ .replace(/[%]+/g, 'pct') // Special Characters #12
155
+ .replace(/\s+/g, '-') // Replace spaces with -
156
+ .replace(/[^\w\-]+/g, '') // Remove all non-word chars
157
+ .replace(/\-\-+/g, '-') // Replace multiple - with single -
158
+ .replace(/^-+/, '') // Trim - from start of text
159
+ .replace(/-+$/, ''); // Trim - from end of text
160
+ }
161
+ ;
162
+ /**
163
+ *
164
+ * @param string ex. 12345
165
+ * @param size 11
166
+ * @param fill 0
167
+ *
168
+ * Returns: 00000012345
169
+ */
170
+ export function fillString(string, size, fill) {
171
+ if (string.length < size) {
172
+ const dif = size - string.length;
173
+ for (let i = 0; i < dif; i++) {
174
+ string = fill + string;
175
+ }
176
+ }
177
+ return string;
178
+ }
179
+ export function randArray(array) {
180
+ const index = randomNumber(0, array.length);
181
+ return array[index];
182
+ }
183
+ export function rand(length, ...ranges) {
184
+ var str = ""; // the string (initialized to "")
185
+ while (length--) { // repeat this length of times
186
+ var ind = Math.floor(Math.random() * ranges.length); // get a random range from the ranges object
187
+ var min = ranges[ind][0].charCodeAt(0), // get the minimum char code allowed for this range
188
+ max = ranges[ind][1].charCodeAt(0); // get the maximum char code allowed for this range
189
+ var c = Math.floor(Math.random() * (max - min + 1)) + min; // get a random char code between min and max
190
+ str += String.fromCharCode(c); // convert it back into a character and append it to the string str
191
+ }
192
+ return str; // return str
193
+ }
194
+ export function randomNumber(begin, end) {
195
+ const dif = end - begin;
196
+ const number = Math.floor(Math.random() * dif) + begin;
197
+ return number;
198
+ }
199
+ export function randomLetter(size = 1, onlyCapitals = false) {
200
+ var text = "";
201
+ let possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
202
+ if (onlyCapitals == false) {
203
+ possible += "abcdefghijklmnopqrstuvwxyz";
204
+ }
205
+ possible = possible.split('');
206
+ for (let i = 0; i < size; i++) {
207
+ const pos = Math.floor(Math.random() * possible.length);
208
+ text += possible[pos];
209
+ }
210
+ return text;
211
+ }
212
+ export function randomLetterOrNumber(size = 1, onlyCapitals = false) {
213
+ var text = "";
214
+ let possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
215
+ if (onlyCapitals == false) {
216
+ possible += "abcdefghijklmnopqrstuvwxyz0123456789";
217
+ }
218
+ possible = possible.split('');
219
+ for (let i = 0; i < size; i++) {
220
+ const pos = Math.floor(Math.random() * possible.length);
221
+ text += possible[pos];
222
+ }
223
+ return text;
224
+ }
225
+ export const randomEstadoSigla = () => {
226
+ const total = ESTADOS_SIGLA.length;
227
+ return ESTADOS_SIGLA[Math.floor(Math.random() * total)];
228
+ };
229
+ export const CORES = ["AMARELO", "AZUL", "BEGE", "BRANCA", "CINZA", "DOURADA", "GRENA", "LARANJA", "MARROM", "PRATA",
230
+ "PRETA", "ROSA", "ROXA", "VERDE", "VERMELHA", "FANTASIA"];
231
+ export function getSpecialProperty(model, key) {
232
+ return model[key];
233
+ }
234
+ /**
235
+ *
236
+ */
237
+ export const makeGenericFaker = (val, options = null) => {
238
+ return () => {
239
+ if (!val.textMask || !val.textMask.map) {
240
+ return '';
241
+ }
242
+ const newData = val.textMask.map((c, index) => {
243
+ if (options && options[index]) {
244
+ return options[index]();
245
+ }
246
+ c = c.toString();
247
+ if (c === /\d/.toString()) {
248
+ return Math.floor(Math.random() * 10).toString();
249
+ }
250
+ else if (c === /[A-Za-z]/.toString()) {
251
+ return randomLetter(1).toString();
252
+ }
253
+ else if (c === /\w/.toString()) {
254
+ return randomLetterOrNumber(1).toString();
255
+ }
256
+ else if (c.indexOf('/[') === 0) { // /[1-9]/ ou /[5-9]/
257
+ c = c.replace('/[', '').replace(']/', '');
258
+ if (c.indexOf('-') > 0) {
259
+ c = c.split('-');
260
+ if (parseInt(c[1])) {
261
+ const mult = c[1] - c[0];
262
+ const plus = parseInt(c[0]);
263
+ return (Math.floor(Math.random() * mult) + plus).toString();
264
+ }
265
+ else {
266
+ return rand(1, [c[0], c[1]]);
267
+ }
268
+ }
269
+ else if (c.indexOf('|') > 0) {
270
+ c = c.split('|');
271
+ const index = Math.floor(Math.random() * c.length);
272
+ return c[index];
273
+ }
274
+ }
275
+ else {
276
+ return c;
277
+ }
278
+ });
279
+ return newData.join('');
280
+ };
281
+ };
282
+ const utilsBr = {
283
+ isPresent,
284
+ isArray,
285
+ isString,
286
+ isNumber,
287
+ isNil,
288
+ processCaretTraps,
289
+ allNumbersAreSame,
290
+ getAllDigits,
291
+ getAllWords,
292
+ currencyToNumber,
293
+ numberToCurrency,
294
+ slugify,
295
+ fillString,
296
+ randArray,
297
+ rand,
298
+ randomNumber,
299
+ randomLetter,
300
+ randomLetterOrNumber,
301
+ getSpecialProperty
302
+ };
303
+ export default utilsBr;
304
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tYXBhLWxpYnJhcnktdWkvc3JjL2xpYi9jb3JlL2pzLWJyYXNpbC9zcmMvdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLFdBQVcsQ0FBQztBQUcxQyxNQUFNLFVBQVUsU0FBUyxDQUFDLEdBQVE7SUFD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SB7XG4gICAgICAgIHJldHVybiBvcHRpb25zW2luZGV4XSgpO1xuICAgICAgfVxuICAgICAgYyA9IGMudG9TdHJpbmcoKTtcbiAgICAgIGlmIChjID09PSAvXFxkLy50b1N0cmluZygpKSB7XG4gICAgICAgIHJldHVybiBNYXRoLmZsb29yKE1hdGgucmFuZG9tKCkgKiAxMCkudG9TdHJpbmcoKVxuICAgICAgfSBlbHNlIGlmIChjID09PSAvW0EtWmEtel0vLnRvU3RyaW5nKCkpIHtcbiAgICAgICAgcmV0dXJuIHJhbmRvbUxldHRlcigxKS50b1N0cmluZygpO1xuICAgICAgfSBlbHNlIGlmIChjID09PSAvXFx3Ly50b1N0cmluZygpKSB7XG4gICAgICAgIHJldHVybiByYW5kb21MZXR0ZXJPck51bWJlcigxKS50b1N0cmluZygpO1xuICAgICAgfSBlbHNlIGlmIChjLmluZGV4T2YoJy9bJykgPT09IDApIHsgLy8gL1sxLTldLyBvdSAvWzUtOV0vXG4gICAgICAgIGMgPSBjLnJlcGxhY2UoJy9bJywgJycpLnJlcGxhY2UoJ10vJywgJycpO1xuXG4gICAgICAgIGlmIChjLmluZGV4T2YoJy0nKSA+IDApIHtcbiAgICAgICAgICBjID0gYy5zcGxpdCgnLScpO1xuICAgICAgICAgIGlmIChwYXJzZUludChjWzFdKSkge1xuICAgICAgICAgICAgY29uc3QgbXVsdCA9IGNbMV0gLSBjWzBdO1xuICAgICAgICAgICAgY29uc3QgcGx1cyA9IHBhcnNlSW50KGNbMF0pO1xuICAgICAgICAgICAgcmV0dXJuIChNYXRoLmZsb29yKE1hdGgucmFuZG9tKCkgKiBtdWx0KSArIHBsdXMpLnRvU3RyaW5nKCk7XG4gICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIHJldHVybiByYW5kKDEsIFtjWzBdLCBjWzFdXSk7XG4gICAgICAgICAgfVxuICAgICAgICB9IGVsc2UgaWYgKGMuaW5kZXhPZignfCcpID4gMCkge1xuICAgICAgICAgIGMgPSBjLnNwbG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