mapa-library-ui 0.44.2 → 0.46.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 (226) hide show
  1. package/esm2020/lib/core/elements/element-base.mjs +2 -1
  2. package/esm2020/src/lib/components/capability/lib/core/elements/element-base.mjs +2 -1
  3. package/esm2020/src/lib/components/chart/lib/core/elements/element-base.mjs +2 -1
  4. package/esm2020/src/lib/components/dropdown/dropdown.mjs +2 -1
  5. package/esm2020/src/lib/components/dropdown/lib/components/dropdown-tree/public-api.mjs +6 -0
  6. package/esm2020/src/lib/components/dropdown/lib/components/dropdown-tree/src/checklist-database.mjs +57 -0
  7. package/esm2020/src/lib/components/dropdown/lib/components/dropdown-tree/src/dropdown.component.mjs +178 -0
  8. package/esm2020/src/lib/components/dropdown/lib/components/dropdown-tree/src/dropdown.module.mjs +83 -0
  9. package/esm2020/src/lib/components/dropdown/lib/core/elements/dropdown-tree.mjs +8 -0
  10. package/esm2020/src/lib/components/dropdown/lib/core/elements/element-base.mjs +2 -1
  11. package/esm2020/src/lib/components/dropdown-tree/dropdown.mjs +9 -0
  12. package/esm2020/src/lib/components/dropdown-tree/lib/components/button/public-api.mjs +6 -0
  13. package/esm2020/src/lib/components/dropdown-tree/lib/components/button/src/button.component.mjs +23 -0
  14. package/esm2020/src/lib/components/dropdown-tree/lib/components/button/src/button.module.mjs +19 -0
  15. package/esm2020/src/lib/components/dropdown-tree/lib/components/dropdown/public-api.mjs +6 -0
  16. package/esm2020/src/lib/components/dropdown-tree/lib/components/dropdown/src/dropdown.component.mjs +168 -0
  17. package/esm2020/src/lib/components/dropdown-tree/lib/components/dropdown/src/dropdown.module.mjs +71 -0
  18. package/esm2020/src/lib/components/dropdown-tree/lib/components/dropdown-tree/public-api.mjs +6 -0
  19. package/esm2020/src/lib/components/dropdown-tree/lib/components/dropdown-tree/src/checklist-database.mjs +57 -0
  20. package/esm2020/src/lib/components/dropdown-tree/lib/components/dropdown-tree/src/dropdown.component.mjs +178 -0
  21. package/esm2020/src/lib/components/dropdown-tree/lib/components/dropdown-tree/src/dropdown.module.mjs +83 -0
  22. package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/action-button.mjs +2 -0
  23. package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/dropdown-tree.mjs +8 -0
  24. package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/dropdown.mjs +8 -0
  25. package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/element-base.mjs +33 -0
  26. package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/element-search.mjs +2 -0
  27. package/esm2020/src/lib/components/dropdown-tree/lib/core/elements/errors.mjs +2 -0
  28. package/esm2020/src/lib/components/dropdown-tree/lib/core/interfaces/element-group.interface.mjs +2 -0
  29. package/esm2020/src/lib/components/dropdown-tree/lib/core/interfaces/element-option.interface.mjs +2 -0
  30. package/esm2020/src/lib/components/dropdown-tree/mapa-library-ui-src-lib-components-dropdown-tree.mjs +5 -0
  31. package/esm2020/src/lib/components/form/lib/components/form/src/form.component.mjs +3 -3
  32. package/esm2020/src/lib/components/form/lib/components/form/src/form.module.mjs +4 -2
  33. package/esm2020/src/lib/components/form/lib/core/elements/element-base.mjs +2 -1
  34. package/esm2020/src/lib/components/group-report/lib/core/elements/element-base.mjs +2 -1
  35. package/esm2020/src/lib/components/group-report/lib/core/interfaces/classification.interface.mjs +1 -1
  36. package/esm2020/src/lib/components/radio-button/lib/core/elements/element-base.mjs +2 -1
  37. package/esm2020/src/lib/components/scale/filters.mjs +7 -0
  38. package/esm2020/src/lib/components/scale/lib/components/button/public-api.mjs +6 -0
  39. package/esm2020/src/lib/components/scale/lib/components/button/src/button.component.mjs +23 -0
  40. package/esm2020/src/lib/components/scale/lib/components/button/src/button.module.mjs +19 -0
  41. package/esm2020/src/lib/components/scale/lib/components/capability/public-api.mjs +26 -0
  42. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-comparative/capability-comparative.component.mjs +17 -0
  43. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-comparative/capability-comparative.module.mjs +32 -0
  44. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.component.mjs +24 -0
  45. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.module.mjs +19 -0
  46. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-comparative-header/capability-comparative-header.component.mjs +20 -0
  47. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-comparative-header/capability-comparative-header.module.mjs +19 -0
  48. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.component.mjs +19 -0
  49. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.module.mjs +19 -0
  50. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-detail/capability-detail.component.mjs +73 -0
  51. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-detail/capability-detail.module.mjs +64 -0
  52. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-dot/capability-dot.component.mjs +31 -0
  53. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-dot/capability-dot.module.mjs +22 -0
  54. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-expand/capability-expand.component.mjs +27 -0
  55. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-expand/capability-expand.module.mjs +22 -0
  56. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-indicator/capability-indicator.component.mjs +14 -0
  57. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-indicator/capability-indicator.module.mjs +18 -0
  58. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.component.mjs +33 -0
  59. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.module.mjs +21 -0
  60. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-indicator-list/capability-indicator-list.component.mjs +27 -0
  61. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-indicator-list/capability-indicator-list.module.mjs +21 -0
  62. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-interval/capability-interval.component.mjs +81 -0
  63. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-interval/capability-interval.module.mjs +18 -0
  64. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-interval-bar/capability-interval-bar.component.mjs +31 -0
  65. package/esm2020/src/lib/components/scale/lib/components/capability/src/capability-interval-bar/capability-interval-bar.module.mjs +20 -0
  66. package/esm2020/src/lib/components/scale/lib/components/capability/src/essentials/consts/capability-classification.const.mjs +57 -0
  67. package/esm2020/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/capability-classification.interface.mjs +2 -0
  68. package/esm2020/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/capability-comparative.interface.mjs +2 -0
  69. package/esm2020/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/capability-item.interface.mjs +2 -0
  70. package/esm2020/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/capability.interface.mjs +2 -0
  71. package/esm2020/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/index.mjs +4 -0
  72. package/esm2020/src/lib/components/scale/lib/components/capability/src/essentials/services/capability-classification.service.mjs +14 -0
  73. package/esm2020/src/lib/components/scale/lib/components/capability/src/essentials/services/reusable-interval-bar.service.mjs +32 -0
  74. package/esm2020/src/lib/components/scale/lib/components/dropdown/public-api.mjs +6 -0
  75. package/esm2020/src/lib/components/scale/lib/components/dropdown/src/dropdown.component.mjs +168 -0
  76. package/esm2020/src/lib/components/scale/lib/components/dropdown/src/dropdown.module.mjs +71 -0
  77. package/esm2020/src/lib/components/scale/lib/components/filters/public-api.mjs +6 -0
  78. package/esm2020/src/lib/components/scale/lib/components/filters/src/filters.component.mjs +34 -0
  79. package/esm2020/src/lib/components/scale/lib/components/filters/src/filters.module.mjs +38 -0
  80. package/esm2020/src/lib/components/scale/lib/components/icon/public-api.mjs +6 -0
  81. package/esm2020/src/lib/components/scale/lib/components/icon/src/icon.component.mjs +26 -0
  82. package/esm2020/src/lib/components/scale/lib/components/icon/src/icon.module.mjs +19 -0
  83. package/esm2020/src/lib/components/scale/lib/components/scale/src/scale.component.mjs +12 -4
  84. package/esm2020/src/lib/components/scale/lib/components/scale/src/scale.module.mjs +6 -11
  85. package/esm2020/src/lib/components/scale/lib/components/tag/public-api.mjs +6 -0
  86. package/esm2020/src/lib/components/scale/lib/components/tag/src/tag.component.mjs +14 -0
  87. package/esm2020/src/lib/components/scale/lib/components/tag/src/tag.module.mjs +24 -0
  88. package/esm2020/src/lib/components/scale/lib/components/tooltip/src/tooltip.component.mjs +21 -0
  89. package/esm2020/src/lib/components/scale/lib/components/tooltip/src/tooltip.directive.mjs +140 -0
  90. package/esm2020/src/lib/components/scale/lib/components/tooltip/src/tooltip.enums.mjs +16 -0
  91. package/esm2020/src/lib/components/scale/lib/components/tooltip/src/tooltip.module.mjs +19 -0
  92. package/esm2020/src/lib/components/scale/lib/core/elements/action-button.mjs +2 -0
  93. package/esm2020/src/lib/components/scale/lib/core/elements/dropdown.mjs +8 -0
  94. package/esm2020/src/lib/components/scale/lib/core/elements/element-base.mjs +33 -0
  95. package/esm2020/src/lib/components/scale/lib/core/elements/element-search.mjs +2 -0
  96. package/esm2020/src/lib/components/scale/lib/core/elements/errors.mjs +2 -0
  97. package/esm2020/src/lib/components/scale/lib/core/interfaces/classification.interface.mjs +1 -1
  98. package/esm2020/src/lib/components/scale/lib/core/interfaces/element-group.interface.mjs +2 -0
  99. package/esm2020/src/lib/components/scale/lib/core/interfaces/element-option.interface.mjs +2 -0
  100. package/esm2020/src/lib/components/slide-toggle/lib/core/elements/element-base.mjs +2 -1
  101. package/esm2020/src/lib/components/table/lib/core/interfaces/classification.interface.mjs +1 -1
  102. package/esm2020/src/lib/components/textarea/lib/core/elements/element-base.mjs +2 -1
  103. package/fesm2015/mapa-library-ui-src-lib-components-dropdown-tree.mjs +632 -0
  104. package/fesm2015/mapa-library-ui-src-lib-components-dropdown-tree.mjs.map +1 -0
  105. package/fesm2015/mapa-library-ui-src-lib-components-dropdown.mjs +305 -5
  106. package/fesm2015/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
  107. package/fesm2015/mapa-library-ui-src-lib-components-form.mjs +5 -3
  108. package/fesm2015/mapa-library-ui-src-lib-components-form.mjs.map +1 -1
  109. package/fesm2015/mapa-library-ui-src-lib-components-scale.mjs +304 -13
  110. package/fesm2015/mapa-library-ui-src-lib-components-scale.mjs.map +1 -1
  111. package/fesm2015/mapa-library-ui.mjs +1 -0
  112. package/fesm2015/mapa-library-ui.mjs.map +1 -1
  113. package/fesm2020/mapa-library-ui-src-lib-components-dropdown-tree.mjs +627 -0
  114. package/fesm2020/mapa-library-ui-src-lib-components-dropdown-tree.mjs.map +1 -0
  115. package/fesm2020/mapa-library-ui-src-lib-components-dropdown.mjs +305 -5
  116. package/fesm2020/mapa-library-ui-src-lib-components-dropdown.mjs.map +1 -1
  117. package/fesm2020/mapa-library-ui-src-lib-components-form.mjs +5 -3
  118. package/fesm2020/mapa-library-ui-src-lib-components-form.mjs.map +1 -1
  119. package/fesm2020/mapa-library-ui-src-lib-components-scale.mjs +303 -13
  120. package/fesm2020/mapa-library-ui-src-lib-components-scale.mjs.map +1 -1
  121. package/fesm2020/mapa-library-ui.mjs +1 -0
  122. package/fesm2020/mapa-library-ui.mjs.map +1 -1
  123. package/lib/core/elements/element-base.d.ts +2 -0
  124. package/mapa-library-ui-0.46.0.tgz +0 -0
  125. package/package.json +9 -1
  126. package/src/lib/components/capability/lib/core/elements/element-base.d.ts +2 -0
  127. package/src/lib/components/chart/lib/core/elements/element-base.d.ts +2 -0
  128. package/src/lib/components/dropdown/dropdown.d.ts +1 -0
  129. package/src/lib/components/dropdown/lib/components/dropdown-tree/public-api.d.ts +2 -0
  130. package/src/lib/components/dropdown/lib/components/dropdown-tree/src/checklist-database.d.ts +13 -0
  131. package/src/lib/components/dropdown/lib/components/dropdown-tree/src/dropdown.component.d.ts +71 -0
  132. package/src/lib/components/dropdown/lib/components/dropdown-tree/src/dropdown.module.d.ts +18 -0
  133. package/src/lib/components/dropdown/lib/core/elements/dropdown-tree.d.ts +4 -0
  134. package/src/lib/components/dropdown/lib/core/elements/element-base.d.ts +2 -0
  135. package/src/lib/components/dropdown-tree/dropdown.d.ts +5 -0
  136. package/src/lib/components/dropdown-tree/index.d.ts +5 -0
  137. package/src/lib/components/dropdown-tree/lib/components/button/public-api.d.ts +2 -0
  138. package/src/lib/components/dropdown-tree/lib/components/button/src/button.component.d.ts +10 -0
  139. package/src/lib/components/dropdown-tree/lib/components/button/src/button.module.d.ts +9 -0
  140. package/src/lib/components/dropdown-tree/lib/components/dropdown/public-api.d.ts +2 -0
  141. package/src/lib/components/dropdown-tree/lib/components/dropdown/src/dropdown.component.d.ts +40 -0
  142. package/src/lib/components/dropdown-tree/lib/components/dropdown/src/dropdown.module.d.ts +15 -0
  143. package/src/lib/components/dropdown-tree/lib/components/dropdown-tree/public-api.d.ts +2 -0
  144. package/src/lib/components/dropdown-tree/lib/components/dropdown-tree/src/checklist-database.d.ts +13 -0
  145. package/src/lib/components/dropdown-tree/lib/components/dropdown-tree/src/dropdown.component.d.ts +71 -0
  146. package/src/lib/components/dropdown-tree/lib/components/dropdown-tree/src/dropdown.module.d.ts +18 -0
  147. package/src/lib/components/dropdown-tree/lib/core/elements/action-button.d.ts +5 -0
  148. package/src/lib/components/dropdown-tree/lib/core/elements/dropdown-tree.d.ts +4 -0
  149. package/src/lib/components/dropdown-tree/lib/core/elements/dropdown.d.ts +4 -0
  150. package/src/lib/components/dropdown-tree/lib/core/elements/element-base.d.ts +66 -0
  151. package/src/lib/components/dropdown-tree/lib/core/elements/element-search.d.ts +6 -0
  152. package/src/lib/components/dropdown-tree/lib/core/elements/errors.d.ts +12 -0
  153. package/src/lib/components/dropdown-tree/lib/core/interfaces/element-group.interface.d.ts +5 -0
  154. package/src/lib/components/dropdown-tree/lib/core/interfaces/element-option.interface.d.ts +4 -0
  155. package/src/lib/components/form/lib/components/form/src/form.module.d.ts +1 -1
  156. package/src/lib/components/form/lib/core/elements/element-base.d.ts +2 -0
  157. package/src/lib/components/group-report/lib/core/elements/element-base.d.ts +2 -0
  158. package/src/lib/components/group-report/lib/core/interfaces/classification.interface.d.ts +1 -0
  159. package/src/lib/components/radio-button/lib/core/elements/element-base.d.ts +2 -0
  160. package/src/lib/components/scale/filters.d.ts +3 -0
  161. package/src/lib/components/scale/lib/components/button/public-api.d.ts +2 -0
  162. package/src/lib/components/scale/lib/components/button/src/button.component.d.ts +10 -0
  163. package/src/lib/components/scale/lib/components/button/src/button.module.d.ts +9 -0
  164. package/src/lib/components/scale/lib/components/capability/public-api.d.ts +22 -0
  165. package/src/lib/components/scale/lib/components/capability/src/capability-comparative/capability-comparative.component.d.ts +10 -0
  166. package/src/lib/components/scale/lib/components/capability/src/capability-comparative/capability-comparative.module.d.ts +11 -0
  167. package/src/lib/components/scale/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.component.d.ts +9 -0
  168. package/src/lib/components/scale/lib/components/capability/src/capability-comparative-chart/capability-comparative-chart.module.d.ts +9 -0
  169. package/src/lib/components/scale/lib/components/capability/src/capability-comparative-header/capability-comparative-header.component.d.ts +9 -0
  170. package/src/lib/components/scale/lib/components/capability/src/capability-comparative-header/capability-comparative-header.module.d.ts +9 -0
  171. package/src/lib/components/scale/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.component.d.ts +9 -0
  172. package/src/lib/components/scale/lib/components/capability/src/capability-comparative-indicator/capability-comparative-indicator.module.d.ts +9 -0
  173. package/src/lib/components/scale/lib/components/capability/src/capability-detail/capability-detail.component.d.ts +29 -0
  174. package/src/lib/components/scale/lib/components/capability/src/capability-detail/capability-detail.module.d.ts +17 -0
  175. package/src/lib/components/scale/lib/components/capability/src/capability-dot/capability-dot.component.d.ts +17 -0
  176. package/src/lib/components/scale/lib/components/capability/src/capability-dot/capability-dot.module.d.ts +10 -0
  177. package/src/lib/components/scale/lib/components/capability/src/capability-expand/capability-expand.component.d.ts +16 -0
  178. package/src/lib/components/scale/lib/components/capability/src/capability-expand/capability-expand.module.d.ts +10 -0
  179. package/src/lib/components/scale/lib/components/capability/src/capability-indicator/capability-indicator.component.d.ts +7 -0
  180. package/src/lib/components/scale/lib/components/capability/src/capability-indicator/capability-indicator.module.d.ts +8 -0
  181. package/src/lib/components/scale/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.component.d.ts +12 -0
  182. package/src/lib/components/scale/lib/components/capability/src/capability-indicator-chart/capability-indicator-chart.module.d.ts +9 -0
  183. package/src/lib/components/scale/lib/components/capability/src/capability-indicator-list/capability-indicator-list.component.d.ts +14 -0
  184. package/src/lib/components/scale/lib/components/capability/src/capability-indicator-list/capability-indicator-list.module.d.ts +9 -0
  185. package/src/lib/components/scale/lib/components/capability/src/capability-interval/capability-interval.component.d.ts +29 -0
  186. package/src/lib/components/scale/lib/components/capability/src/capability-interval/capability-interval.module.d.ts +8 -0
  187. package/src/lib/components/scale/lib/components/capability/src/capability-interval-bar/capability-interval-bar.component.d.ts +16 -0
  188. package/src/lib/components/scale/lib/components/capability/src/capability-interval-bar/capability-interval-bar.module.d.ts +10 -0
  189. package/src/lib/components/scale/lib/components/capability/src/essentials/consts/capability-classification.const.d.ts +2 -0
  190. package/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/capability-classification.interface.d.ts +6 -0
  191. package/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/capability-comparative.interface.d.ts +10 -0
  192. package/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/capability-item.interface.d.ts +20 -0
  193. package/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/capability.interface.d.ts +8 -0
  194. package/src/lib/components/scale/lib/components/capability/src/essentials/interfaces/index.d.ts +3 -0
  195. package/src/lib/components/scale/lib/components/capability/src/essentials/services/capability-classification.service.d.ts +8 -0
  196. package/src/lib/components/scale/lib/components/capability/src/essentials/services/reusable-interval-bar.service.d.ts +15 -0
  197. package/src/lib/components/scale/lib/components/dropdown/public-api.d.ts +2 -0
  198. package/src/lib/components/scale/lib/components/dropdown/src/dropdown.component.d.ts +40 -0
  199. package/src/lib/components/scale/lib/components/dropdown/src/dropdown.module.d.ts +15 -0
  200. package/src/lib/components/scale/lib/components/filters/public-api.d.ts +2 -0
  201. package/src/lib/components/scale/lib/components/filters/src/filters.component.d.ts +14 -0
  202. package/src/lib/components/scale/lib/components/filters/src/filters.module.d.ts +12 -0
  203. package/src/lib/components/scale/lib/components/icon/public-api.d.ts +2 -0
  204. package/src/lib/components/scale/lib/components/icon/src/icon.component.d.ts +13 -0
  205. package/src/lib/components/scale/lib/components/icon/src/icon.module.d.ts +9 -0
  206. package/src/lib/components/scale/lib/components/scale/src/scale.component.d.ts +2 -0
  207. package/src/lib/components/scale/lib/components/scale/src/scale.module.d.ts +2 -1
  208. package/src/lib/components/scale/lib/components/tag/public-api.d.ts +2 -0
  209. package/src/lib/components/scale/lib/components/tag/src/tag.component.d.ts +12 -0
  210. package/src/lib/components/scale/lib/components/tag/src/tag.module.d.ts +8 -0
  211. package/src/lib/components/scale/lib/components/tooltip/src/tooltip.component.d.ts +15 -0
  212. package/src/lib/components/scale/lib/components/tooltip/src/tooltip.directive.d.ts +32 -0
  213. package/src/lib/components/scale/lib/components/tooltip/src/tooltip.enums.d.ts +13 -0
  214. package/src/lib/components/scale/lib/components/tooltip/src/tooltip.module.d.ts +9 -0
  215. package/src/lib/components/scale/lib/core/elements/action-button.d.ts +5 -0
  216. package/src/lib/components/scale/lib/core/elements/dropdown.d.ts +4 -0
  217. package/src/lib/components/scale/lib/core/elements/element-base.d.ts +66 -0
  218. package/src/lib/components/scale/lib/core/elements/element-search.d.ts +6 -0
  219. package/src/lib/components/scale/lib/core/elements/errors.d.ts +12 -0
  220. package/src/lib/components/scale/lib/core/interfaces/classification.interface.d.ts +1 -0
  221. package/src/lib/components/scale/lib/core/interfaces/element-group.interface.d.ts +5 -0
  222. package/src/lib/components/scale/lib/core/interfaces/element-option.interface.d.ts +4 -0
  223. package/src/lib/components/slide-toggle/lib/core/elements/element-base.d.ts +2 -0
  224. package/src/lib/components/table/lib/core/interfaces/classification.interface.d.ts +1 -0
  225. package/src/lib/components/textarea/lib/core/elements/element-base.d.ts +2 -0
  226. package/mapa-library-ui-0.44.2.tgz +0 -0
@@ -24,6 +24,7 @@ export declare class ElementBase {
24
24
  autosizeMinRow?: number;
25
25
  autosizeMaxRow?: number;
26
26
  options: ElementOption[] | ElementGroup[];
27
+ tree: any[];
27
28
  multiple?: boolean;
28
29
  search?: ElementSearch;
29
30
  maxLength: string | number | null;
@@ -51,6 +52,7 @@ export declare class ElementBase {
51
52
  autosizeMinRow?: number;
52
53
  autosizeMaxRow?: number;
53
54
  options?: ElementOption[] | ElementGroup[];
55
+ tree?: any[];
54
56
  multiple?: boolean;
55
57
  search?: ElementSearch;
56
58
  maxLength?: string | number | null;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapa-library-ui",
3
- "version": "0.44.2",
3
+ "version": "0.46.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.0",
6
6
  "@angular/core": "^15.2.0"
@@ -83,6 +83,14 @@
83
83
  "node": "./fesm2015/mapa-library-ui-src-lib-components-dialog.mjs",
84
84
  "default": "./fesm2020/mapa-library-ui-src-lib-components-dialog.mjs"
85
85
  },
86
+ "./src/lib/components/dropdown-tree": {
87
+ "types": "./src/lib/components/dropdown-tree/index.d.ts",
88
+ "esm2020": "./esm2020/src/lib/components/dropdown-tree/mapa-library-ui-src-lib-components-dropdown-tree.mjs",
89
+ "es2020": "./fesm2020/mapa-library-ui-src-lib-components-dropdown-tree.mjs",
90
+ "es2015": "./fesm2015/mapa-library-ui-src-lib-components-dropdown-tree.mjs",
91
+ "node": "./fesm2015/mapa-library-ui-src-lib-components-dropdown-tree.mjs",
92
+ "default": "./fesm2020/mapa-library-ui-src-lib-components-dropdown-tree.mjs"
93
+ },
86
94
  "./src/lib/components/dropdown": {
87
95
  "types": "./src/lib/components/dropdown/index.d.ts",
88
96
  "esm2020": "./esm2020/src/lib/components/dropdown/mapa-library-ui-src-lib-components-dropdown.mjs",
@@ -24,6 +24,7 @@ export declare class ElementBase {
24
24
  autosizeMinRow?: number;
25
25
  autosizeMaxRow?: number;
26
26
  options: ElementOption[] | ElementGroup[];
27
+ tree: any[];
27
28
  multiple?: boolean;
28
29
  search?: ElementSearch;
29
30
  maxLength: string | number | null;
@@ -51,6 +52,7 @@ export declare class ElementBase {
51
52
  autosizeMinRow?: number;
52
53
  autosizeMaxRow?: number;
53
54
  options?: ElementOption[] | ElementGroup[];
55
+ tree?: any[];
54
56
  multiple?: boolean;
55
57
  search?: ElementSearch;
56
58
  maxLength?: string | number | null;
@@ -24,6 +24,7 @@ export declare class ElementBase {
24
24
  autosizeMinRow?: number;
25
25
  autosizeMaxRow?: number;
26
26
  options: ElementOption[] | ElementGroup[];
27
+ tree: any[];
27
28
  multiple?: boolean;
28
29
  search?: ElementSearch;
29
30
  maxLength: string | number | null;
@@ -51,6 +52,7 @@ export declare class ElementBase {
51
52
  autosizeMinRow?: number;
52
53
  autosizeMaxRow?: number;
53
54
  options?: ElementOption[] | ElementGroup[];
55
+ tree?: any[];
54
56
  multiple?: boolean;
55
57
  search?: ElementSearch;
56
58
  maxLength?: string | number | null;
@@ -2,3 +2,4 @@ export * from './lib/core/elements/element-search';
2
2
  export * from './lib/core/elements/element-base';
3
3
  export * from './lib/core/elements/dropdown';
4
4
  export * from './lib/components/dropdown/public-api';
5
+ export * from './lib/components/dropdown-tree/public-api';
@@ -0,0 +1,2 @@
1
+ export * from './src/dropdown.component';
2
+ export * from './src/dropdown.module';
@@ -0,0 +1,13 @@
1
+ import { BehaviorSubject } from "rxjs";
2
+ import { FoodNode } from "./dropdown.component";
3
+ import * as i0 from "@angular/core";
4
+ export declare class ChecklistDatabase {
5
+ dataChange: BehaviorSubject<FoodNode[]>;
6
+ treeData: any[];
7
+ get data(): FoodNode[];
8
+ constructor();
9
+ initialize(treeData: FoodNode[]): void;
10
+ filter(filterText: string): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChecklistDatabase, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<ChecklistDatabase>;
13
+ }
@@ -0,0 +1,71 @@
1
+ import { OnInit } from "@angular/core";
2
+ import { FormControl, FormGroup } from "@angular/forms";
3
+ import { DropdownTree } from "../../../core/elements/dropdown-tree";
4
+ import { SelectionModel } from "@angular/cdk/collections";
5
+ import { FlatTreeControl } from "@angular/cdk/tree";
6
+ import { MatTreeFlattener, MatTreeFlatDataSource } from "@angular/material/tree";
7
+ import { Observable } from "rxjs";
8
+ import { ChecklistDatabase } from "./checklist-database";
9
+ import * as i0 from "@angular/core";
10
+ export declare class FoodNode {
11
+ children?: FoodNode[];
12
+ title: string;
13
+ constructor();
14
+ }
15
+ /** Flat to-do item node with expandable and level information */
16
+ export declare class FoodFlatNode {
17
+ item: string;
18
+ level: number;
19
+ expandable: boolean;
20
+ constructor();
21
+ }
22
+ export declare class MapaDropdownTreeComponent implements OnInit {
23
+ private _database;
24
+ formGroup: FormGroup;
25
+ element: DropdownTree;
26
+ isMenuExpanded: boolean;
27
+ /** Map from flat node to nested node. This helps us finding the nested node to be modified */
28
+ flatNodeMap: Map<FoodFlatNode, FoodNode>;
29
+ /** Map from nested node to flattened node. This helps us to keep the same object for selection */
30
+ nestedNodeMap: Map<FoodNode, FoodFlatNode>;
31
+ /** A selected parent node to be inserted */
32
+ selectedParent: FoodFlatNode | null;
33
+ /** The new item's name */
34
+ newItemName: string;
35
+ treeControl: FlatTreeControl<FoodFlatNode>;
36
+ treeFlattener: MatTreeFlattener<FoodNode, FoodFlatNode>;
37
+ dataSource: MatTreeFlatDataSource<FoodNode, FoodFlatNode>;
38
+ /** The selection for checklist */
39
+ checklistSelection: SelectionModel<FoodFlatNode>;
40
+ myControl: FormControl<any>;
41
+ options: string[];
42
+ filteredOptions: Observable<string[]>;
43
+ constructor(_database: ChecklistDatabase);
44
+ ngOnInit(): void;
45
+ filter(array: any[], text: string): void;
46
+ getLevel: (node: FoodFlatNode) => number;
47
+ isExpandable: (node: FoodFlatNode) => boolean;
48
+ getChildren: (node: FoodNode) => FoodNode[];
49
+ hasChild: (_: number, _nodeData: FoodFlatNode) => boolean;
50
+ hasNoContent: (_: number, _nodeData: FoodFlatNode) => boolean;
51
+ /**
52
+ * Transformer to convert nested node to flat node. Record the nodes in maps for later use.
53
+ */
54
+ transformer: (node: FoodNode, level: number) => FoodFlatNode;
55
+ /** Whether all the descendants of the node are selected. */
56
+ descendantsAllSelected(node: FoodFlatNode): boolean;
57
+ /** Whether part of the descendants are selected */
58
+ descendantsPartiallySelected(node: FoodFlatNode): boolean;
59
+ /** Toggle the to-do item selection. Select/deselect all the descendants node */
60
+ todoItemSelectionToggle(node: FoodFlatNode): void;
61
+ /** Toggle a leaf to-do item selection. Check all the parents to see if they changed */
62
+ todoLeafItemSelectionToggle(node: FoodFlatNode): void;
63
+ checkAllParentsSelection(node: FoodFlatNode): void;
64
+ /** Check root node checked state and change it accordingly */
65
+ checkRootNodeSelection(node: FoodFlatNode): void;
66
+ getParentNode(node: FoodFlatNode): FoodFlatNode | null;
67
+ getSelectedItems(): string;
68
+ filterChanged(filterText: any): void;
69
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapaDropdownTreeComponent, never>;
70
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapaDropdownTreeComponent, "mapa-dropdown-tree", never, { "formGroup": "formGroup"; "element": "element"; }, {}, never, never, false, never>;
71
+ }
@@ -0,0 +1,18 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dropdown.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "@angular/material/button";
6
+ import * as i5 from "../../button/src/button.module";
7
+ import * as i6 from "@angular/material/list";
8
+ import * as i7 from "@angular/material/icon";
9
+ import * as i8 from "@angular/material/input";
10
+ import * as i9 from "@angular/material/select";
11
+ import * as i10 from "@angular/material/tree";
12
+ import * as i11 from "@angular/material/checkbox";
13
+ import * as i12 from "@angular/material/autocomplete";
14
+ export declare class MapaDropdownTreeModule {
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapaDropdownTreeModule, never>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MapaDropdownTreeModule, [typeof i1.MapaDropdownTreeComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatButtonModule, typeof i5.MapaButtonModule, typeof i6.MatListModule, typeof i7.MatIconModule, typeof i8.MatInputModule, typeof i9.MatSelectModule, typeof i10.MatTreeModule, typeof i11.MatCheckboxModule, typeof i12.MatAutocompleteModule], [typeof i1.MapaDropdownTreeComponent]>;
17
+ static ɵinj: i0.ɵɵInjectorDeclaration<MapaDropdownTreeModule>;
18
+ }
@@ -0,0 +1,4 @@
1
+ import { ElementBase } from './element-base';
2
+ export declare class DropdownTree extends ElementBase {
3
+ controlType: string;
4
+ }
@@ -24,6 +24,7 @@ export declare class ElementBase {
24
24
  autosizeMinRow?: number;
25
25
  autosizeMaxRow?: number;
26
26
  options: ElementOption[] | ElementGroup[];
27
+ tree: any[];
27
28
  multiple?: boolean;
28
29
  search?: ElementSearch;
29
30
  maxLength: string | number | null;
@@ -51,6 +52,7 @@ export declare class ElementBase {
51
52
  autosizeMinRow?: number;
52
53
  autosizeMaxRow?: number;
53
54
  options?: ElementOption[] | ElementGroup[];
55
+ tree?: any[];
54
56
  multiple?: boolean;
55
57
  search?: ElementSearch;
56
58
  maxLength?: string | number | null;
@@ -0,0 +1,5 @@
1
+ export * from './lib/core/elements/element-search';
2
+ export * from './lib/core/elements/element-base';
3
+ export * from './lib/core/elements/dropdown';
4
+ export * from './lib/components/dropdown/public-api';
5
+ export * from './lib/components/dropdown-tree/public-api';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="mapa-library-ui/src/lib/components/dropdown-tree" />
5
+ export * from './dropdown';
@@ -0,0 +1,2 @@
1
+ export * from './src/button.component';
2
+ export * from './src/button.module';
@@ -0,0 +1,10 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ButtonComponent {
4
+ color: 'primary' | 'accent' | 'basic' | null | undefined;
5
+ disabled: boolean;
6
+ clicked: EventEmitter<void>;
7
+ onClick(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "mapa-button", never, { "color": "color"; "disabled": "disabled"; }, { "clicked": "clicked"; }, never, ["*"], false, never>;
10
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./button.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/material/button";
5
+ export declare class MapaButtonModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapaButtonModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MapaButtonModule, [typeof i1.ButtonComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule], [typeof i1.ButtonComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<MapaButtonModule>;
9
+ }
@@ -0,0 +1,2 @@
1
+ export * from './src/dropdown.component';
2
+ export * from './src/dropdown.module';
@@ -0,0 +1,40 @@
1
+ import { OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
2
+ import { FormControl } from "@angular/forms";
3
+ import { MatSelect } from "@angular/material/select";
4
+ import { ReplaySubject } from "rxjs/internal/ReplaySubject";
5
+ import { Subject } from "rxjs/internal/Subject";
6
+ import { ElementOption } from "../../../core/interfaces/element-option.interface";
7
+ import { Dropdown } from "../../../core/elements/dropdown";
8
+ import { ElementGroup } from "../../../core/interfaces/element-group.interface";
9
+ import * as i0 from "@angular/core";
10
+ export declare class MapaDropdownComponent implements OnInit, OnDestroy, OnChanges {
11
+ formControl: FormControl;
12
+ formControlSearch: FormControl;
13
+ element: Dropdown;
14
+ border: "soft" | "tag" | "highlight" | null | undefined;
15
+ dropdown: MatSelect;
16
+ filteredOptions: ReplaySubject<ElementOption[]>;
17
+ filteredGroups: ReplaySubject<ElementGroup[]>;
18
+ protected filteredOptionsCache: ElementOption[];
19
+ protected filteredGroupCache: ElementGroup[];
20
+ protected _onDestroy: Subject<void>;
21
+ isIndeterminate: boolean;
22
+ isChecked: boolean;
23
+ isOptionsGroup: boolean;
24
+ get selectedOptions(): any[];
25
+ constructor();
26
+ ngOnInit(): void;
27
+ ngOnChanges(changes: SimpleChanges): void;
28
+ ngOnDestroy(): void;
29
+ setOptions(): void;
30
+ protected filterOptionsFromGroup(group: ElementGroup, value: string): ElementOption[];
31
+ protected filterOptions(): void;
32
+ protected setToggleAllCheckboxState(): void;
33
+ toggleSelectAll(selectAllValue: boolean): void;
34
+ isElementGroup(object: ElementGroup | ElementOption): object is ElementGroup;
35
+ compareFn(c1: any, c2: any): boolean;
36
+ hasValue(): boolean;
37
+ clearValue(event: any): void;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapaDropdownComponent, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapaDropdownComponent, "mapa-dropdown", never, { "formControl": "formControl"; "formControlSearch": "formControlSearch"; "element": "element"; "border": "border"; }, {}, never, never, false, never>;
40
+ }
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dropdown.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "@angular/material/button";
6
+ import * as i5 from "../../button/src/button.module";
7
+ import * as i6 from "@angular/material/list";
8
+ import * as i7 from "@angular/material/icon";
9
+ import * as i8 from "@angular/material/select";
10
+ import * as i9 from "ngx-mat-select-search";
11
+ export declare class MapaDropdownModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapaDropdownModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MapaDropdownModule, [typeof i1.MapaDropdownComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatButtonModule, typeof i5.MapaButtonModule, typeof i6.MatListModule, typeof i7.MatIconModule, typeof i8.MatSelectModule, typeof i9.NgxMatSelectSearchModule], [typeof i1.MapaDropdownComponent]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<MapaDropdownModule>;
15
+ }
@@ -0,0 +1,2 @@
1
+ export * from './src/dropdown.component';
2
+ export * from './src/dropdown.module';
@@ -0,0 +1,13 @@
1
+ import { BehaviorSubject } from "rxjs";
2
+ import { FoodNode } from "./dropdown.component";
3
+ import * as i0 from "@angular/core";
4
+ export declare class ChecklistDatabase {
5
+ dataChange: BehaviorSubject<FoodNode[]>;
6
+ treeData: any[];
7
+ get data(): FoodNode[];
8
+ constructor();
9
+ initialize(treeData: FoodNode[]): void;
10
+ filter(filterText: string): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChecklistDatabase, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<ChecklistDatabase>;
13
+ }
@@ -0,0 +1,71 @@
1
+ import { OnInit } from "@angular/core";
2
+ import { FormControl, FormGroup } from "@angular/forms";
3
+ import { DropdownTree } from "../../../core/elements/dropdown-tree";
4
+ import { SelectionModel } from "@angular/cdk/collections";
5
+ import { FlatTreeControl } from "@angular/cdk/tree";
6
+ import { MatTreeFlattener, MatTreeFlatDataSource } from "@angular/material/tree";
7
+ import { Observable } from "rxjs";
8
+ import { ChecklistDatabase } from "./checklist-database";
9
+ import * as i0 from "@angular/core";
10
+ export declare class FoodNode {
11
+ children?: FoodNode[];
12
+ title: string;
13
+ constructor();
14
+ }
15
+ /** Flat to-do item node with expandable and level information */
16
+ export declare class FoodFlatNode {
17
+ item: string;
18
+ level: number;
19
+ expandable: boolean;
20
+ constructor();
21
+ }
22
+ export declare class MapaDropdownTreeComponent implements OnInit {
23
+ private _database;
24
+ formGroup: FormGroup;
25
+ element: DropdownTree;
26
+ isMenuExpanded: boolean;
27
+ /** Map from flat node to nested node. This helps us finding the nested node to be modified */
28
+ flatNodeMap: Map<FoodFlatNode, FoodNode>;
29
+ /** Map from nested node to flattened node. This helps us to keep the same object for selection */
30
+ nestedNodeMap: Map<FoodNode, FoodFlatNode>;
31
+ /** A selected parent node to be inserted */
32
+ selectedParent: FoodFlatNode | null;
33
+ /** The new item's name */
34
+ newItemName: string;
35
+ treeControl: FlatTreeControl<FoodFlatNode>;
36
+ treeFlattener: MatTreeFlattener<FoodNode, FoodFlatNode>;
37
+ dataSource: MatTreeFlatDataSource<FoodNode, FoodFlatNode>;
38
+ /** The selection for checklist */
39
+ checklistSelection: SelectionModel<FoodFlatNode>;
40
+ myControl: FormControl<any>;
41
+ options: string[];
42
+ filteredOptions: Observable<string[]>;
43
+ constructor(_database: ChecklistDatabase);
44
+ ngOnInit(): void;
45
+ filter(array: any[], text: string): void;
46
+ getLevel: (node: FoodFlatNode) => number;
47
+ isExpandable: (node: FoodFlatNode) => boolean;
48
+ getChildren: (node: FoodNode) => FoodNode[];
49
+ hasChild: (_: number, _nodeData: FoodFlatNode) => boolean;
50
+ hasNoContent: (_: number, _nodeData: FoodFlatNode) => boolean;
51
+ /**
52
+ * Transformer to convert nested node to flat node. Record the nodes in maps for later use.
53
+ */
54
+ transformer: (node: FoodNode, level: number) => FoodFlatNode;
55
+ /** Whether all the descendants of the node are selected. */
56
+ descendantsAllSelected(node: FoodFlatNode): boolean;
57
+ /** Whether part of the descendants are selected */
58
+ descendantsPartiallySelected(node: FoodFlatNode): boolean;
59
+ /** Toggle the to-do item selection. Select/deselect all the descendants node */
60
+ todoItemSelectionToggle(node: FoodFlatNode): void;
61
+ /** Toggle a leaf to-do item selection. Check all the parents to see if they changed */
62
+ todoLeafItemSelectionToggle(node: FoodFlatNode): void;
63
+ checkAllParentsSelection(node: FoodFlatNode): void;
64
+ /** Check root node checked state and change it accordingly */
65
+ checkRootNodeSelection(node: FoodFlatNode): void;
66
+ getParentNode(node: FoodFlatNode): FoodFlatNode | null;
67
+ getSelectedItems(): string;
68
+ filterChanged(filterText: any): void;
69
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapaDropdownTreeComponent, never>;
70
+ static ɵcmp: i0.ɵɵComponentDeclaration<MapaDropdownTreeComponent, "mapa-dropdown-tree", never, { "formGroup": "formGroup"; "element": "element"; }, {}, never, never, false, never>;
71
+ }
@@ -0,0 +1,18 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dropdown.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "@angular/material/button";
6
+ import * as i5 from "../../button/src/button.module";
7
+ import * as i6 from "@angular/material/list";
8
+ import * as i7 from "@angular/material/icon";
9
+ import * as i8 from "@angular/material/input";
10
+ import * as i9 from "@angular/material/select";
11
+ import * as i10 from "@angular/material/tree";
12
+ import * as i11 from "@angular/material/checkbox";
13
+ import * as i12 from "@angular/material/autocomplete";
14
+ export declare class MapaDropdownTreeModule {
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapaDropdownTreeModule, never>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MapaDropdownTreeModule, [typeof i1.MapaDropdownTreeComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.MatButtonModule, typeof i5.MapaButtonModule, typeof i6.MatListModule, typeof i7.MatIconModule, typeof i8.MatInputModule, typeof i9.MatSelectModule, typeof i10.MatTreeModule, typeof i11.MatCheckboxModule, typeof i12.MatAutocompleteModule], [typeof i1.MapaDropdownTreeComponent]>;
17
+ static ɵinj: i0.ɵɵInjectorDeclaration<MapaDropdownTreeModule>;
18
+ }
@@ -0,0 +1,5 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ export interface ActionButton {
3
+ label: string;
4
+ action: EventEmitter<any>;
5
+ }
@@ -0,0 +1,4 @@
1
+ import { ElementBase } from './element-base';
2
+ export declare class DropdownTree extends ElementBase {
3
+ controlType: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { ElementBase } from './element-base';
2
+ export declare class Dropdown extends ElementBase {
3
+ controlType: string;
4
+ }
@@ -0,0 +1,66 @@
1
+ import { ElementGroup } from "../interfaces/element-group.interface";
2
+ import { ElementOption } from "../interfaces/element-option.interface";
3
+ import { ActionButton } from "./action-button";
4
+ import { ElementSearch } from "./element-search";
5
+ import { Errors } from "./errors";
6
+ export interface Status {
7
+ label: string;
8
+ }
9
+ export declare class ElementBase {
10
+ value: string;
11
+ key: string;
12
+ label: string;
13
+ required: boolean;
14
+ order: number;
15
+ controlType: string;
16
+ type: string;
17
+ placeholder?: string;
18
+ hint?: string;
19
+ prefix?: string;
20
+ suffix?: string;
21
+ autosize?: boolean;
22
+ autosizeMinWidth?: string;
23
+ autosizeMaxWidth?: string;
24
+ autosizeMinRow?: number;
25
+ autosizeMaxRow?: number;
26
+ options: ElementOption[] | ElementGroup[];
27
+ tree: any[];
28
+ multiple?: boolean;
29
+ search?: ElementSearch;
30
+ maxLength: string | number | null;
31
+ errors?: Errors;
32
+ actionButton?: ActionButton;
33
+ mask?: string;
34
+ autocomplete?: string;
35
+ clearValue?: boolean;
36
+ status?: Status[];
37
+ constructor(options?: {
38
+ value?: string;
39
+ key?: string;
40
+ label?: string;
41
+ required?: boolean;
42
+ order?: number;
43
+ controlType?: string;
44
+ type?: string;
45
+ placeholder?: string;
46
+ hint?: string;
47
+ prefix?: string;
48
+ suffix?: string;
49
+ autosize?: boolean;
50
+ autosizeMinWidth?: string;
51
+ autosizeMaxWidth?: string;
52
+ autosizeMinRow?: number;
53
+ autosizeMaxRow?: number;
54
+ options?: ElementOption[] | ElementGroup[];
55
+ tree?: any[];
56
+ multiple?: boolean;
57
+ search?: ElementSearch;
58
+ maxLength?: string | number | null;
59
+ errors?: Errors;
60
+ actionButton?: ActionButton;
61
+ mask?: string;
62
+ autocomplete?: string;
63
+ clearValue?: boolean;
64
+ status?: Status[];
65
+ });
66
+ }
@@ -0,0 +1,6 @@
1
+ import { FormControl } from "@angular/forms";
2
+ export interface ElementSearch {
3
+ placeholder?: string;
4
+ noEntriesFoundLabel?: string;
5
+ formControl?: FormControl;
6
+ }
@@ -0,0 +1,12 @@
1
+ export interface Errors {
2
+ required?: string;
3
+ minlength?: string;
4
+ cpf?: string;
5
+ cnpj?: string;
6
+ email?: string;
7
+ pattern?: string;
8
+ min?: string;
9
+ max?: string;
10
+ minLength?: string;
11
+ maxLength?: string;
12
+ }
@@ -0,0 +1,5 @@
1
+ import { ElementOption } from "./element-option.interface";
2
+ export interface ElementGroup {
3
+ label: string;
4
+ options: ElementOption[];
5
+ }
@@ -0,0 +1,4 @@
1
+ export interface ElementOption {
2
+ key: string;
3
+ value: string;
4
+ }
@@ -8,6 +8,6 @@ import * as i6 from "mapa-library-ui/src/lib/components/textarea";
8
8
  import * as i7 from "mapa-library-ui/src/lib/components/slide-toggle";
9
9
  export declare class MapaFormModule {
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<MapaFormModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<MapaFormModule, [typeof i1.MapaFormComponent], [typeof i2.CommonModule, typeof i3.MapaInputModule, typeof i4.MapaDropdownModule, typeof i5.MapaRadioButtonModule, typeof i6.MapaTextareaModule, typeof i7.MapaSlideToggleModule], [typeof i1.MapaFormComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MapaFormModule, [typeof i1.MapaFormComponent], [typeof i2.CommonModule, typeof i3.MapaInputModule, typeof i4.MapaDropdownModule, typeof i4.MapaDropdownTreeModule, typeof i5.MapaRadioButtonModule, typeof i6.MapaTextareaModule, typeof i7.MapaSlideToggleModule], [typeof i1.MapaFormComponent]>;
12
12
  static ɵinj: i0.ɵɵInjectorDeclaration<MapaFormModule>;
13
13
  }
@@ -24,6 +24,7 @@ export declare class ElementBase {
24
24
  autosizeMinRow?: number;
25
25
  autosizeMaxRow?: number;
26
26
  options: ElementOption[] | ElementGroup[];
27
+ tree: any[];
27
28
  multiple?: boolean;
28
29
  search?: ElementSearch;
29
30
  maxLength: string | number | null;
@@ -51,6 +52,7 @@ export declare class ElementBase {
51
52
  autosizeMinRow?: number;
52
53
  autosizeMaxRow?: number;
53
54
  options?: ElementOption[] | ElementGroup[];
55
+ tree?: any[];
54
56
  multiple?: boolean;
55
57
  search?: ElementSearch;
56
58
  maxLength?: string | number | null;
@@ -24,6 +24,7 @@ export declare class ElementBase {
24
24
  autosizeMinRow?: number;
25
25
  autosizeMaxRow?: number;
26
26
  options: ElementOption[] | ElementGroup[];
27
+ tree: any[];
27
28
  multiple?: boolean;
28
29
  search?: ElementSearch;
29
30
  maxLength: string | number | null;
@@ -51,6 +52,7 @@ export declare class ElementBase {
51
52
  autosizeMinRow?: number;
52
53
  autosizeMaxRow?: number;
53
54
  options?: ElementOption[] | ElementGroup[];
55
+ tree?: any[];
54
56
  multiple?: boolean;
55
57
  search?: ElementSearch;
56
58
  maxLength?: string | number | null;
@@ -2,4 +2,5 @@ export interface Classification {
2
2
  classificationId?: number;
3
3
  classificationName?: string;
4
4
  classificationColor?: string;
5
+ classificationBg?: string;
5
6
  }
@@ -24,6 +24,7 @@ export declare class ElementBase {
24
24
  autosizeMinRow?: number;
25
25
  autosizeMaxRow?: number;
26
26
  options: ElementOption[] | ElementGroup[];
27
+ tree: any[];
27
28
  multiple?: boolean;
28
29
  search?: ElementSearch;
29
30
  maxLength: string | number | null;
@@ -51,6 +52,7 @@ export declare class ElementBase {
51
52
  autosizeMinRow?: number;
52
53
  autosizeMaxRow?: number;
53
54
  options?: ElementOption[] | ElementGroup[];
55
+ tree?: any[];
54
56
  multiple?: boolean;
55
57
  search?: ElementSearch;
56
58
  maxLength?: string | number | null;
@@ -0,0 +1,3 @@
1
+ export * from './lib/components/button/public-api';
2
+ export * from './lib/components/icon/public-api';
3
+ export * from './lib/components/filters/public-api';
@@ -0,0 +1,2 @@
1
+ export * from './src/button.component';
2
+ export * from './src/button.module';
@@ -0,0 +1,10 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ButtonComponent {
4
+ color: 'primary' | 'accent' | 'basic' | null | undefined;
5
+ disabled: boolean;
6
+ clicked: EventEmitter<void>;
7
+ onClick(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "mapa-button", never, { "color": "color"; "disabled": "disabled"; }, { "clicked": "clicked"; }, never, ["*"], false, never>;
10
+ }