@masterteam/components 0.0.265 → 0.0.267

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 (756) hide show
  1. package/assets/common.css +2 -309
  2. package/fesm2022/masterteam-components-avatar-text.mjs +46 -0
  3. package/fesm2022/masterteam-components-avatar-text.mjs.map +1 -0
  4. package/fesm2022/masterteam-components-avatar.mjs +50 -0
  5. package/fesm2022/masterteam-components-avatar.mjs.map +1 -0
  6. package/fesm2022/masterteam-components-breadcrumb.mjs +27 -0
  7. package/fesm2022/masterteam-components-breadcrumb.mjs.map +1 -0
  8. package/fesm2022/masterteam-components-business-fields.mjs +1907 -0
  9. package/fesm2022/masterteam-components-business-fields.mjs.map +1 -0
  10. package/fesm2022/masterteam-components-button-group.mjs +20 -0
  11. package/fesm2022/masterteam-components-button-group.mjs.map +1 -0
  12. package/fesm2022/masterteam-components-button.mjs +82 -0
  13. package/fesm2022/masterteam-components-button.mjs.map +1 -0
  14. package/fesm2022/masterteam-components-card.mjs +28 -0
  15. package/fesm2022/masterteam-components-card.mjs.map +1 -0
  16. package/fesm2022/masterteam-components-checkbox-field.mjs +92 -0
  17. package/fesm2022/masterteam-components-checkbox-field.mjs.map +1 -0
  18. package/fesm2022/masterteam-components-chip.mjs +39 -0
  19. package/fesm2022/masterteam-components-chip.mjs.map +1 -0
  20. package/fesm2022/masterteam-components-client-page-menu.mjs +153 -0
  21. package/fesm2022/masterteam-components-client-page-menu.mjs.map +1 -0
  22. package/fesm2022/masterteam-components-client-page.mjs +413 -0
  23. package/fesm2022/masterteam-components-client-page.mjs.map +1 -0
  24. package/fesm2022/masterteam-components-color-picker-field.mjs +106 -0
  25. package/fesm2022/masterteam-components-color-picker-field.mjs.map +1 -0
  26. package/fesm2022/masterteam-components-confirmation.mjs +98 -0
  27. package/fesm2022/masterteam-components-confirmation.mjs.map +1 -0
  28. package/fesm2022/masterteam-components-date-field.mjs +158 -0
  29. package/fesm2022/masterteam-components-date-field.mjs.map +1 -0
  30. package/fesm2022/masterteam-components-dialog.mjs +33 -0
  31. package/fesm2022/masterteam-components-dialog.mjs.map +1 -0
  32. package/fesm2022/masterteam-components-drawer.mjs +268 -0
  33. package/fesm2022/masterteam-components-drawer.mjs.map +1 -0
  34. package/fesm2022/masterteam-components-dynamic-drawer.mjs +608 -0
  35. package/fesm2022/masterteam-components-dynamic-drawer.mjs.map +1 -0
  36. package/fesm2022/masterteam-components-editor-field.mjs +103 -0
  37. package/fesm2022/masterteam-components-editor-field.mjs.map +1 -0
  38. package/fesm2022/masterteam-components-empty-state.mjs +53 -0
  39. package/fesm2022/masterteam-components-empty-state.mjs.map +1 -0
  40. package/fesm2022/masterteam-components-entities.mjs +2242 -0
  41. package/fesm2022/masterteam-components-entities.mjs.map +1 -0
  42. package/fesm2022/masterteam-components-field-validation.mjs +237 -0
  43. package/fesm2022/masterteam-components-field-validation.mjs.map +1 -0
  44. package/fesm2022/masterteam-components-formula.mjs +3848 -0
  45. package/fesm2022/masterteam-components-formula.mjs.map +1 -0
  46. package/fesm2022/masterteam-components-icon-field.mjs +158 -0
  47. package/fesm2022/masterteam-components-icon-field.mjs.map +1 -0
  48. package/fesm2022/masterteam-components-list.mjs +31 -0
  49. package/fesm2022/masterteam-components-list.mjs.map +1 -0
  50. package/fesm2022/masterteam-components-location-field.mjs +607 -0
  51. package/fesm2022/masterteam-components-location-field.mjs.map +1 -0
  52. package/fesm2022/masterteam-components-menu.mjs +135 -0
  53. package/fesm2022/masterteam-components-menu.mjs.map +1 -0
  54. package/fesm2022/masterteam-components-modal.mjs +108 -0
  55. package/fesm2022/masterteam-components-modal.mjs.map +1 -0
  56. package/fesm2022/masterteam-components-module-summary-card.mjs +34 -0
  57. package/fesm2022/masterteam-components-module-summary-card.mjs.map +1 -0
  58. package/fesm2022/masterteam-components-multi-select-field.mjs +321 -0
  59. package/fesm2022/masterteam-components-multi-select-field.mjs.map +1 -0
  60. package/fesm2022/masterteam-components-number-field.mjs +102 -0
  61. package/fesm2022/masterteam-components-number-field.mjs.map +1 -0
  62. package/fesm2022/masterteam-components-page-header.mjs +42 -0
  63. package/fesm2022/masterteam-components-page-header.mjs.map +1 -0
  64. package/fesm2022/masterteam-components-page.mjs +35 -0
  65. package/fesm2022/masterteam-components-page.mjs.map +1 -0
  66. package/fesm2022/masterteam-components-paginator.mjs +43 -0
  67. package/fesm2022/masterteam-components-paginator.mjs.map +1 -0
  68. package/fesm2022/masterteam-components-pick-list-field.mjs +210 -0
  69. package/fesm2022/masterteam-components-pick-list-field.mjs.map +1 -0
  70. package/fesm2022/masterteam-components-progress.mjs +63 -0
  71. package/fesm2022/masterteam-components-progress.mjs.map +1 -0
  72. package/fesm2022/masterteam-components-property-filter-builder.mjs +386 -0
  73. package/fesm2022/masterteam-components-property-filter-builder.mjs.map +1 -0
  74. package/fesm2022/masterteam-components-radio-button-field.mjs +85 -0
  75. package/fesm2022/masterteam-components-radio-button-field.mjs.map +1 -0
  76. package/fesm2022/masterteam-components-radio-cards-field.mjs +131 -0
  77. package/fesm2022/masterteam-components-radio-cards-field.mjs.map +1 -0
  78. package/fesm2022/masterteam-components-radio-cards.mjs +74 -0
  79. package/fesm2022/masterteam-components-radio-cards.mjs.map +1 -0
  80. package/fesm2022/masterteam-components-runtime-action.mjs +406 -0
  81. package/fesm2022/masterteam-components-runtime-action.mjs.map +1 -0
  82. package/fesm2022/masterteam-components-select-field.mjs +415 -0
  83. package/fesm2022/masterteam-components-select-field.mjs.map +1 -0
  84. package/fesm2022/masterteam-components-sidebar.mjs +155 -0
  85. package/fesm2022/masterteam-components-sidebar.mjs.map +1 -0
  86. package/fesm2022/masterteam-components-slider-field.mjs +128 -0
  87. package/fesm2022/masterteam-components-slider-field.mjs.map +1 -0
  88. package/fesm2022/masterteam-components-statistic-card.mjs +42 -0
  89. package/fesm2022/masterteam-components-statistic-card.mjs.map +1 -0
  90. package/fesm2022/masterteam-components-table.mjs +3372 -0
  91. package/fesm2022/masterteam-components-table.mjs.map +1 -0
  92. package/fesm2022/masterteam-components-tabs.mjs +289 -0
  93. package/fesm2022/masterteam-components-tabs.mjs.map +1 -0
  94. package/fesm2022/masterteam-components-text-field.mjs +202 -0
  95. package/fesm2022/masterteam-components-text-field.mjs.map +1 -0
  96. package/fesm2022/masterteam-components-textarea-field.mjs +126 -0
  97. package/fesm2022/masterteam-components-textarea-field.mjs.map +1 -0
  98. package/fesm2022/masterteam-components-toast.mjs +80 -0
  99. package/fesm2022/masterteam-components-toast.mjs.map +1 -0
  100. package/fesm2022/masterteam-components-toggle-field.mjs +116 -0
  101. package/fesm2022/masterteam-components-toggle-field.mjs.map +1 -0
  102. package/fesm2022/masterteam-components-tooltip.mjs +147 -0
  103. package/fesm2022/masterteam-components-tooltip.mjs.map +1 -0
  104. package/fesm2022/masterteam-components-topbar.mjs +32 -0
  105. package/fesm2022/masterteam-components-topbar.mjs.map +1 -0
  106. package/fesm2022/masterteam-components-tree.mjs +260 -0
  107. package/fesm2022/masterteam-components-tree.mjs.map +1 -0
  108. package/fesm2022/masterteam-components-treeselect-field.mjs +265 -0
  109. package/fesm2022/masterteam-components-treeselect-field.mjs.map +1 -0
  110. package/fesm2022/masterteam-components-upload-field.mjs +846 -0
  111. package/fesm2022/masterteam-components-upload-field.mjs.map +1 -0
  112. package/fesm2022/masterteam-components-uploader.mjs +425 -0
  113. package/fesm2022/masterteam-components-uploader.mjs.map +1 -0
  114. package/fesm2022/masterteam-components-user-search-field.mjs +374 -0
  115. package/fesm2022/masterteam-components-user-search-field.mjs.map +1 -0
  116. package/fesm2022/masterteam-components.mjs +2536 -0
  117. package/fesm2022/masterteam-components.mjs.map +1 -0
  118. package/package.json +278 -54
  119. package/types/masterteam-components-avatar-text.d.ts +23 -0
  120. package/types/masterteam-components-avatar.d.ts +23 -0
  121. package/types/masterteam-components-breadcrumb.d.ts +18 -0
  122. package/types/masterteam-components-business-fields.d.ts +675 -0
  123. package/types/masterteam-components-button-group.d.ts +8 -0
  124. package/types/masterteam-components-button.d.ts +62 -0
  125. package/types/masterteam-components-card.d.ts +14 -0
  126. package/types/masterteam-components-checkbox-field.d.ts +38 -0
  127. package/types/masterteam-components-chip.d.ts +21 -0
  128. package/types/masterteam-components-client-page-menu.d.ts +55 -0
  129. package/types/masterteam-components-client-page.d.ts +115 -0
  130. package/types/masterteam-components-color-picker-field.d.ts +39 -0
  131. package/types/masterteam-components-confirmation.d.ts +41 -0
  132. package/types/masterteam-components-date-field.d.ts +57 -0
  133. package/types/masterteam-components-dialog.d.ts +12 -0
  134. package/types/masterteam-components-drawer.d.ts +62 -0
  135. package/types/masterteam-components-dynamic-drawer.d.ts +159 -0
  136. package/types/masterteam-components-editor-field.d.ts +39 -0
  137. package/types/masterteam-components-empty-state.d.ts +47 -0
  138. package/types/masterteam-components-entities.d.ts +1116 -0
  139. package/types/masterteam-components-field-validation.d.ts +59 -0
  140. package/types/masterteam-components-formula.d.ts +759 -0
  141. package/types/masterteam-components-icon-field.d.ts +44 -0
  142. package/types/masterteam-components-list.d.ts +18 -0
  143. package/types/masterteam-components-location-field.d.ts +173 -0
  144. package/types/masterteam-components-menu.d.ts +55 -0
  145. package/types/masterteam-components-modal.d.ts +30 -0
  146. package/types/masterteam-components-module-summary-card.d.ts +18 -0
  147. package/types/masterteam-components-multi-select-field.d.ts +104 -0
  148. package/types/masterteam-components-number-field.d.ts +47 -0
  149. package/types/masterteam-components-page-header.d.ts +30 -0
  150. package/types/masterteam-components-page.d.ts +26 -0
  151. package/types/masterteam-components-paginator.d.ts +20 -0
  152. package/types/masterteam-components-pick-list-field.d.ts +65 -0
  153. package/types/masterteam-components-progress.d.ts +30 -0
  154. package/types/masterteam-components-property-filter-builder.d.ts +90 -0
  155. package/types/masterteam-components-radio-button-field.d.ts +41 -0
  156. package/types/masterteam-components-radio-cards-field.d.ts +39 -0
  157. package/types/masterteam-components-radio-cards.d.ts +33 -0
  158. package/types/masterteam-components-runtime-action.d.ts +105 -0
  159. package/types/masterteam-components-select-field.d.ts +136 -0
  160. package/types/masterteam-components-sidebar.d.ts +71 -0
  161. package/types/masterteam-components-slider-field.d.ts +41 -0
  162. package/types/masterteam-components-statistic-card.d.ts +28 -0
  163. package/types/masterteam-components-table.d.ts +937 -0
  164. package/types/masterteam-components-tabs.d.ts +80 -0
  165. package/types/masterteam-components-text-field.d.ts +60 -0
  166. package/types/masterteam-components-textarea-field.d.ts +45 -0
  167. package/types/masterteam-components-toast.d.ts +27 -0
  168. package/types/masterteam-components-toggle-field.d.ts +44 -0
  169. package/types/masterteam-components-tooltip.d.ts +26 -0
  170. package/types/masterteam-components-topbar.d.ts +20 -0
  171. package/types/masterteam-components-tree.d.ts +106 -0
  172. package/types/masterteam-components-treeselect-field.d.ts +79 -0
  173. package/types/masterteam-components-upload-field.d.ts +112 -0
  174. package/types/masterteam-components-uploader.d.ts +53 -0
  175. package/types/masterteam-components-user-search-field.d.ts +110 -0
  176. package/types/masterteam-components.d.ts +1261 -0
  177. package/.angular/cache/21.2.7/@masterteam/components/.tsbuildinfo +0 -1
  178. package/.angular/cache/21.2.7/@masterteam/components/angular-compiler.db +0 -0
  179. package/.angular/cache/21.2.7/@masterteam/components/angular-compiler.db-lock +0 -0
  180. package/.angular/cache/21.2.7/ng-packagr/045efd332b9db1d21b3a595a37ae03ebb11b457a5dc6e2d1cbc561b694e17f1a +0 -1
  181. package/.angular/cache/21.2.7/ng-packagr/0727b170af3d53236c0cafe16ea670d089e48d4c5c525b1dbcc1c684bb6e99c7 +0 -1
  182. package/.angular/cache/21.2.7/ng-packagr/0873bc9048494ebc33fe0a7b856324c7c4ca681b0dcaa87338e3290186906d49 +0 -1
  183. package/.angular/cache/21.2.7/ng-packagr/1010cd8fc996d0c2df519ed60085f4b1f38ccfc873900055bc75fc20a3c26bab +0 -1
  184. package/.angular/cache/21.2.7/ng-packagr/12379a8ab7254ad3df2635823a358cfce32e6d0f390be68596cc97e02307e6c4 +0 -1
  185. package/.angular/cache/21.2.7/ng-packagr/1239e7a937657b62f858d17d47738ed30facbdaa91032511e29ed148b748400b +0 -1
  186. package/.angular/cache/21.2.7/ng-packagr/133b9ecf47ba424244902da90d77cd3f135b85f95c01b16de7b2247f57518f01 +0 -1
  187. package/.angular/cache/21.2.7/ng-packagr/175d45dc6da51834e7fe937c09d23dbf28d2a823f838ef5271fd3e148776d6ec +0 -1
  188. package/.angular/cache/21.2.7/ng-packagr/19d99ad4d927324b03cdbef34331ba2c58bd580f1f0ca591cb5f8dbf436c913c +0 -1
  189. package/.angular/cache/21.2.7/ng-packagr/1a86918763f95c1c2b9fa781bda1ceedf15aead87f0e11ea1324318af43a897a +0 -1
  190. package/.angular/cache/21.2.7/ng-packagr/1f08100dbc280be7da64c809315376eb7d0cfd074916a6042f609f03f4276a8e +0 -1
  191. package/.angular/cache/21.2.7/ng-packagr/2224877a7e762b86541428e4c40d61f54f505867c305769ae42e67e4aa81bd93 +0 -1
  192. package/.angular/cache/21.2.7/ng-packagr/24957fb7ec060692ebcf1471e1bdce39f40aed938959e580048ade58015762d2 +0 -1
  193. package/.angular/cache/21.2.7/ng-packagr/295fcdc1c4462e7feae96a24255369508a559faaecc4676267749a7ce23e4b6d +0 -1
  194. package/.angular/cache/21.2.7/ng-packagr/2b37e2f2d6564d10bad1fd0ecc16453962fd855cd1e36ad7aa24baf3e4f2e8b3 +0 -1
  195. package/.angular/cache/21.2.7/ng-packagr/2c20f0929771e857b570ba2beffe91f598f299ce26d4825fe4315bfe5a3dd40a +0 -1
  196. package/.angular/cache/21.2.7/ng-packagr/37dea2e5798cad4a21d66292eeed5be26d04500d9a1534332ad42ce664a058c2 +0 -1
  197. package/.angular/cache/21.2.7/ng-packagr/3b6239b640fcb5ea7067a2655a2901d32f55372812b586aa008e77c59e8f2090 +0 -1
  198. package/.angular/cache/21.2.7/ng-packagr/3beb1b4dfe75d1e6749cf91f05d51ba4eece939f5c15f6f33ed587bfd198f0a3 +0 -1
  199. package/.angular/cache/21.2.7/ng-packagr/3f161e6c2ead4519d0663dd79199dafceb2cc22da7ce92a72b809b93bfce0bb0 +0 -1
  200. package/.angular/cache/21.2.7/ng-packagr/43551862d17cd02626e18b30243390081a6247784485660048b060a3d4ab7fa7 +0 -1
  201. package/.angular/cache/21.2.7/ng-packagr/47aedf032519b41d96866fcf8fbd4f1dfd29f9e9a534b39dee0e44d402227d2d +0 -1
  202. package/.angular/cache/21.2.7/ng-packagr/4a1768888c60921955bfdfba8b31c8d853bd7b2a7d3a7b83934de049e1e6e6a2 +0 -1
  203. package/.angular/cache/21.2.7/ng-packagr/4a783e339117597607bff17eeca0ad24d84b8cbc1e28927e7e453ccfa6223180 +0 -1
  204. package/.angular/cache/21.2.7/ng-packagr/4d9331b2050326f586cd8f6593a9e04e1c7944b2f9e98023649023c099597a5d +0 -1
  205. package/.angular/cache/21.2.7/ng-packagr/4e379f506919d47af7008658c75242aa05f0056c1caec4061d7fa5746f776049 +0 -1
  206. package/.angular/cache/21.2.7/ng-packagr/55009bb7d44552dd816ce32fa2b0f7985f3f08fefd6409c2b4f6b9ffe35dad83 +0 -1
  207. package/.angular/cache/21.2.7/ng-packagr/58ae3f1f9664f7b16844d2e4a279dd4ca9371de014cf5687320c2d5cb259a74f +0 -1
  208. package/.angular/cache/21.2.7/ng-packagr/5c08e906bd3fe1aa6c1d62f2bbb2b3f276e1c17fe45ef081e76bd1b865ac3dfa +0 -1
  209. package/.angular/cache/21.2.7/ng-packagr/5ce333a40ad635188347fa9bc601d5fd14be6baacbae7d096259d725ac9757af +0 -1
  210. package/.angular/cache/21.2.7/ng-packagr/5f32cceaee6a6ea19cc6cbff5ea089b752f13a0fdcd32597d4c99d5e1e031bb5 +0 -1
  211. package/.angular/cache/21.2.7/ng-packagr/691ad4ccdc0a8ede36e1f4e5e97638c20c2d3142916ffac3a1b172178c139205 +0 -1
  212. package/.angular/cache/21.2.7/ng-packagr/6b57160e0d2da3f31693831e84a3f4209c1f33a04abd636e34af03956e7329d8 +0 -1
  213. package/.angular/cache/21.2.7/ng-packagr/70bc711a1d7b631845885c26adc2d6b1bff47d11332b2625cedfa11e9d5ac79a +0 -1
  214. package/.angular/cache/21.2.7/ng-packagr/7427c266237012afaef486c2af94ee08a491e8d7b6fc7e5ee887980830bbd333 +0 -1
  215. package/.angular/cache/21.2.7/ng-packagr/7e8fa7c61cf9a932ba3a0e65eb73c7412e81666b7a8f923dac7b75acfbb94b1d +0 -1
  216. package/.angular/cache/21.2.7/ng-packagr/81aab7fdab43cbdfa869db759d6113ae01ec6f5e0e9061d7fc089c260886e4d1 +0 -1
  217. package/.angular/cache/21.2.7/ng-packagr/83a81758045ff710a34ea3cf6f54435a1f5dea9839d8c0adda0bbce7c3fb6e8b +0 -1
  218. package/.angular/cache/21.2.7/ng-packagr/883eae810a4c09f06617bdc2e4bc30a69f09726401b2a051840969f635d076f1 +0 -1
  219. package/.angular/cache/21.2.7/ng-packagr/8a6b9be66de40c57054dca5fde376c3cec1bec1ae191a16f1ae6a83306d9ebfe +0 -1
  220. package/.angular/cache/21.2.7/ng-packagr/8d42c8144f6929de46984094bf390a0c4168404ab13a5194839f6ba5e42bc3ce +0 -1
  221. package/.angular/cache/21.2.7/ng-packagr/91093656c61a5404f0d576f872247eeb480dd938e6999d481a97893c72b5f3d0 +0 -1
  222. package/.angular/cache/21.2.7/ng-packagr/91e881172037c63d819e30d30e390e0d7dc0dee9808b3902275ccc8b1887d864 +0 -1
  223. package/.angular/cache/21.2.7/ng-packagr/9ef28cf3a676e7bd0d37762c4868b4810efca2f241ed0dae75ebca41988e2c00 +0 -1
  224. package/.angular/cache/21.2.7/ng-packagr/a07cbea405c1831b3f686a8e57c4b500d89cbab2b95e110487890269945feeaa +0 -1
  225. package/.angular/cache/21.2.7/ng-packagr/a463deba940880d9461612c9cd00d90062bf97aa31b1c4556b8b47a967cb6882 +0 -1
  226. package/.angular/cache/21.2.7/ng-packagr/ab03ed1e4a371113b41b663d526d2b06565ceb062e6f033f726f1e455fc5d1d6 +0 -1
  227. package/.angular/cache/21.2.7/ng-packagr/ad0e84be4f2211aff6187b4bec9adbe15f0e8b36851e9c6c63b38303c2daad37 +0 -1
  228. package/.angular/cache/21.2.7/ng-packagr/aece79242dae70eb748605e37483e75e122e4ce414fa8be875499e8af26ee5d6 +0 -1
  229. package/.angular/cache/21.2.7/ng-packagr/aff32db91ce03de30d2bbc84f266fe3fb2c6629d5eeb39a364204d9499484368 +0 -1
  230. package/.angular/cache/21.2.7/ng-packagr/b0671e73a162927d28ef1742ec008e514264bc2ce29f2255bedaea553492fe5d +0 -1
  231. package/.angular/cache/21.2.7/ng-packagr/bb50d71f3cdeebbb85fd983be8103f9c216060464f8e7e534271197391e6dcf7 +0 -1
  232. package/.angular/cache/21.2.7/ng-packagr/c64241290ab30d8761b2f5493a039427f5cda1a48b5be88ce62ee5c714c0f690 +0 -1
  233. package/.angular/cache/21.2.7/ng-packagr/c794d2e79b26ab378c0dbf8afa7b8ac1337ba9afb288941d44a086cb1bd4bad2 +0 -1
  234. package/.angular/cache/21.2.7/ng-packagr/d942edf8fd8e8e884138ffcdb1a07ad14a0b5e211f8ccea1dc9ea0b48f50cfc9 +0 -1
  235. package/.angular/cache/21.2.7/ng-packagr/dbe0b9b9f18ba7b96d9c84f4fd16cde158c9701c202d00113e6f88ba93407bce +0 -1
  236. package/.angular/cache/21.2.7/ng-packagr/f564395a410a2723aac48e582f5fe416bfeaa48677cea47b10c5152d4f2b6672 +0 -1
  237. package/.angular/cache/21.2.7/ng-packagr/fc9b0d27f081ca7b2a4cbefa75136d7bd7a8c341dbaa0587855071a6003906b8 +0 -1
  238. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-avatar-text.tsbuildinfo +0 -1
  239. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-avatar.tsbuildinfo +0 -1
  240. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-breadcrumb.tsbuildinfo +0 -1
  241. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-business-fields.tsbuildinfo +0 -1
  242. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-button-group.tsbuildinfo +0 -1
  243. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-button.tsbuildinfo +0 -1
  244. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-card.tsbuildinfo +0 -1
  245. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-checkbox-field.tsbuildinfo +0 -1
  246. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-chip.tsbuildinfo +0 -1
  247. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-client-page-menu.tsbuildinfo +0 -1
  248. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-client-page.tsbuildinfo +0 -1
  249. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-color-picker-field.tsbuildinfo +0 -1
  250. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-confirmation.tsbuildinfo +0 -1
  251. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-date-field.tsbuildinfo +0 -1
  252. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-dialog.tsbuildinfo +0 -1
  253. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-drawer.tsbuildinfo +0 -1
  254. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-dynamic-drawer.tsbuildinfo +0 -1
  255. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-editor-field.tsbuildinfo +0 -1
  256. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-empty-state.tsbuildinfo +0 -1
  257. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-entities.tsbuildinfo +0 -1
  258. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-field-validation.tsbuildinfo +0 -1
  259. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-formula.tsbuildinfo +0 -1
  260. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-icon-field.tsbuildinfo +0 -1
  261. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-list.tsbuildinfo +0 -1
  262. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-location-field.tsbuildinfo +0 -1
  263. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-menu.tsbuildinfo +0 -1
  264. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-modal.tsbuildinfo +0 -1
  265. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-module-summary-card.tsbuildinfo +0 -1
  266. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-multi-select-field.tsbuildinfo +0 -1
  267. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-number-field.tsbuildinfo +0 -1
  268. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-page-header.tsbuildinfo +0 -1
  269. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-page.tsbuildinfo +0 -1
  270. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-paginator.tsbuildinfo +0 -1
  271. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-pick-list-field.tsbuildinfo +0 -1
  272. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-progress.tsbuildinfo +0 -1
  273. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-property-filter-builder.tsbuildinfo +0 -1
  274. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-radio-button-field.tsbuildinfo +0 -1
  275. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-radio-cards-field.tsbuildinfo +0 -1
  276. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-radio-cards.tsbuildinfo +0 -1
  277. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-runtime-action.tsbuildinfo +0 -1
  278. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-select-field.tsbuildinfo +0 -1
  279. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-sidebar.tsbuildinfo +0 -1
  280. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-slider-field.tsbuildinfo +0 -1
  281. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-statistic-card.tsbuildinfo +0 -1
  282. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-table.tsbuildinfo +0 -1
  283. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-tabs.tsbuildinfo +0 -1
  284. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-text-field.tsbuildinfo +0 -1
  285. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-textarea-field.tsbuildinfo +0 -1
  286. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-toast.tsbuildinfo +0 -1
  287. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-toggle-field.tsbuildinfo +0 -1
  288. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-tooltip.tsbuildinfo +0 -1
  289. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-topbar.tsbuildinfo +0 -1
  290. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-tree.tsbuildinfo +0 -1
  291. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-treeselect-field.tsbuildinfo +0 -1
  292. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-upload-field.tsbuildinfo +0 -1
  293. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-uploader.tsbuildinfo +0 -1
  294. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components-user-search-field.tsbuildinfo +0 -1
  295. package/.angular/cache/21.2.7/ng-packagr/tsbuildinfo/masterteam-components.tsbuildinfo +0 -1
  296. package/angular.json +0 -32
  297. package/api/api.ts +0 -1
  298. package/api/public-api.ts +0 -5
  299. package/avatar/avatar.html +0 -32
  300. package/avatar/avatar.scss +0 -0
  301. package/avatar/avatar.ts +0 -54
  302. package/avatar/ng-package.json +0 -6
  303. package/avatar/public-api.ts +0 -1
  304. package/avatar-text/avatar-text.html +0 -26
  305. package/avatar-text/avatar-text.scss +0 -0
  306. package/avatar-text/avatar-text.ts +0 -52
  307. package/avatar-text/ng-package.json +0 -6
  308. package/avatar-text/public-api.ts +0 -1
  309. package/breadcrumb/breadcrumb.html +0 -53
  310. package/breadcrumb/breadcrumb.scss +0 -0
  311. package/breadcrumb/breadcrumb.ts +0 -26
  312. package/breadcrumb/ng-package.json +0 -6
  313. package/breadcrumb/public-api.ts +0 -1
  314. package/business-fields/entity-list-field/entity-list-add-token.ts +0 -25
  315. package/business-fields/entity-list-field/entity-list-field.html +0 -70
  316. package/business-fields/entity-list-field/entity-list-field.scss +0 -3
  317. package/business-fields/entity-list-field/entity-list-field.ts +0 -1067
  318. package/business-fields/lookup-matrix-field/lookup-matrix-field.html +0 -38
  319. package/business-fields/lookup-matrix-field/lookup-matrix-field.spec.ts +0 -183
  320. package/business-fields/lookup-matrix-field/lookup-matrix-field.ts +0 -239
  321. package/business-fields/lookup-module-check-list-field/lookup-module-check-list-field.html +0 -95
  322. package/business-fields/lookup-module-check-list-field/lookup-module-check-list-field.ts +0 -336
  323. package/business-fields/lookup-module-check-list-field/lookup-module-check-list-form-token.ts +0 -42
  324. package/business-fields/ng-package.json +0 -6
  325. package/business-fields/public-api.ts +0 -8
  326. package/business-fields/schedule-item-selector-field/schedule-item-selector-field.html +0 -32
  327. package/business-fields/schedule-item-selector-field/schedule-item-selector-field.ts +0 -272
  328. package/business-fields/schedule-predecessor-field/schedule-predecessor-field.html +0 -89
  329. package/business-fields/schedule-predecessor-field/schedule-predecessor-field.ts +0 -441
  330. package/business-fields/schema-connection-field/schema-connection-field.html +0 -58
  331. package/business-fields/schema-connection-field/schema-connection-field.scss +0 -0
  332. package/business-fields/schema-connection-field/schema-connection-field.ts +0 -456
  333. package/button/button.html +0 -44
  334. package/button/button.scss +0 -0
  335. package/button/button.ts +0 -120
  336. package/button/ng-package.json +0 -6
  337. package/button/public-api.ts +0 -1
  338. package/button-group/button-group.html +0 -3
  339. package/button-group/button-group.scss +0 -20
  340. package/button-group/button-group.ts +0 -12
  341. package/button-group/ng-package.json +0 -6
  342. package/button-group/public-api.ts +0 -1
  343. package/card/card.html +0 -26
  344. package/card/card.scss +0 -0
  345. package/card/card.ts +0 -29
  346. package/card/ng-package.json +0 -6
  347. package/card/public-api.ts +0 -1
  348. package/checkbox-field/checkbox-field.html +0 -31
  349. package/checkbox-field/checkbox-field.scss +0 -0
  350. package/checkbox-field/checkbox-field.spec.ts +0 -21
  351. package/checkbox-field/checkbox-field.ts +0 -123
  352. package/checkbox-field/ng-package.json +0 -6
  353. package/checkbox-field/public-api.ts +0 -1
  354. package/chip/chip.html +0 -16
  355. package/chip/chip.scss +0 -19
  356. package/chip/chip.ts +0 -45
  357. package/chip/ng-package.json +0 -6
  358. package/chip/public-api.ts +0 -1
  359. package/client-page/client-page.html +0 -232
  360. package/client-page/client-page.ts +0 -588
  361. package/client-page/index.ts +0 -2
  362. package/client-page/ng-package.json +0 -6
  363. package/client-page/public-api.ts +0 -1
  364. package/client-page-menu/client-page-menu.html +0 -142
  365. package/client-page-menu/client-page-menu.ts +0 -199
  366. package/client-page-menu/index.ts +0 -2
  367. package/client-page-menu/ng-package.json +0 -6
  368. package/client-page-menu/public-api.ts +0 -1
  369. package/color-picker-field/color-picker-field.html +0 -45
  370. package/color-picker-field/color-picker-field.scss +0 -52
  371. package/color-picker-field/color-picker-field.ts +0 -131
  372. package/color-picker-field/ng-package.json +0 -6
  373. package/color-picker-field/public-api.ts +0 -1
  374. package/confirmation/confirmation-dialog.html +0 -83
  375. package/confirmation/confirmation-dialog.scss +0 -0
  376. package/confirmation/confirmation-dialog.ts +0 -15
  377. package/confirmation/confirmation.spec.ts +0 -43
  378. package/confirmation/confirmation.ts +0 -103
  379. package/confirmation/ng-package.json +0 -6
  380. package/confirmation/public-api.ts +0 -2
  381. package/date-field/date-field.html +0 -65
  382. package/date-field/date-field.scss +0 -0
  383. package/date-field/date-field.spec.ts +0 -118
  384. package/date-field/date-field.ts +0 -196
  385. package/date-field/ng-package.json +0 -6
  386. package/date-field/public-api.ts +0 -1
  387. package/dialog/dialog.ts +0 -29
  388. package/dialog/ng-package.json +0 -6
  389. package/dialog/public-api.ts +0 -1
  390. package/drawer/drawer.html +0 -67
  391. package/drawer/drawer.scss +0 -1
  392. package/drawer/drawer.ts +0 -348
  393. package/drawer/ng-package.json +0 -5
  394. package/drawer/public-api.ts +0 -1
  395. package/dynamic-drawer/dynamic-drawer-host.ts +0 -476
  396. package/dynamic-drawer/dynamic-drawer.spec.ts +0 -204
  397. package/dynamic-drawer/dynamic-drawer.ts +0 -235
  398. package/dynamic-drawer/ng-package.json +0 -6
  399. package/dynamic-drawer/public-api.ts +0 -2
  400. package/editor-field/editor-field.html +0 -38
  401. package/editor-field/editor-field.scss +0 -219
  402. package/editor-field/editor-field.ts +0 -126
  403. package/editor-field/ng-package.json +0 -6
  404. package/editor-field/public-api.ts +0 -1
  405. package/empty-state/empty-state.html +0 -236
  406. package/empty-state/empty-state.ts +0 -85
  407. package/empty-state/ng-package.json +0 -6
  408. package/empty-state/public-api.ts +0 -1
  409. package/entities/comparison/comparison-entity-list/comparison-entity-list.html +0 -87
  410. package/entities/comparison/comparison-entity-list/comparison-entity-list.ts +0 -93
  411. package/entities/comparison/comparison-value/comparison-value.html +0 -31
  412. package/entities/comparison/comparison-value/comparison-value.ts +0 -53
  413. package/entities/currency-display.utils.spec.ts +0 -94
  414. package/entities/currency-display.utils.ts +0 -92
  415. package/entities/entities-manage/entities-manage.html +0 -74
  416. package/entities/entities-manage/entities-manage.scss +0 -72
  417. package/entities/entities-manage/entities-manage.ts +0 -121
  418. package/entities/entities-manage/entities-resize-base.ts +0 -153
  419. package/entities/entities-preview/entities-preview.css +0 -77
  420. package/entities/entities-preview/entities-preview.html +0 -56
  421. package/entities/entities-preview/entities-preview.ts +0 -281
  422. package/entities/entity-attachment/entity-attachment.html +0 -49
  423. package/entities/entity-attachment/entity-attachment.ts +0 -462
  424. package/entities/entity-checkbox/entity-checkbox.html +0 -28
  425. package/entities/entity-checkbox/entity-checkbox.ts +0 -65
  426. package/entities/entity-comparison.model.ts +0 -39
  427. package/entities/entity-connection/entity-connection.html +0 -12
  428. package/entities/entity-connection/entity-connection.ts +0 -75
  429. package/entities/entity-currency/entity-currency.html +0 -12
  430. package/entities/entity-currency/entity-currency.ts +0 -59
  431. package/entities/entity-date/entity-date.html +0 -16
  432. package/entities/entity-date/entity-date.ts +0 -50
  433. package/entities/entity-display.utils.ts +0 -94
  434. package/entities/entity-field/entity-field.ts +0 -94
  435. package/entities/entity-leaf-details/entity-leaf-details.html +0 -35
  436. package/entities/entity-leaf-details/entity-leaf-details.ts +0 -56
  437. package/entities/entity-location/entity-location.html +0 -34
  438. package/entities/entity-location/entity-location.ts +0 -98
  439. package/entities/entity-long-text/entity-long-text.html +0 -9
  440. package/entities/entity-long-text/entity-long-text.ts +0 -45
  441. package/entities/entity-lookup/entity-lookup.html +0 -25
  442. package/entities/entity-lookup/entity-lookup.ts +0 -68
  443. package/entities/entity-lookup-module-check-list/entity-lookup-module-check-list.html +0 -39
  444. package/entities/entity-lookup-module-check-list/entity-lookup-module-check-list.spec.ts +0 -148
  445. package/entities/entity-lookup-module-check-list/entity-lookup-module-check-list.ts +0 -152
  446. package/entities/entity-percentage/entity-percentage.html +0 -22
  447. package/entities/entity-percentage/entity-percentage.ts +0 -163
  448. package/entities/entity-phase-gate/entity-phase-gate.html +0 -20
  449. package/entities/entity-phase-gate/entity-phase-gate.ts +0 -129
  450. package/entities/entity-preview/entity-preview-body.html +0 -8
  451. package/entities/entity-preview/entity-preview-body.ts +0 -19
  452. package/entities/entity-preview/entity-preview.html +0 -14
  453. package/entities/entity-preview/entity-preview.ts +0 -33
  454. package/entities/entity-preview/entity-value-preview.html +0 -62
  455. package/entities/entity-preview/entity-value-preview.spec.ts +0 -191
  456. package/entities/entity-preview/entity-value-preview.ts +0 -69
  457. package/entities/entity-schedule-item/entity-schedule-item.html +0 -19
  458. package/entities/entity-schedule-item/entity-schedule-item.ts +0 -41
  459. package/entities/entity-sections.util.ts +0 -103
  460. package/entities/entity-status/entity-status.html +0 -20
  461. package/entities/entity-status/entity-status.ts +0 -60
  462. package/entities/entity-text/entity-text.html +0 -20
  463. package/entities/entity-text/entity-text.ts +0 -35
  464. package/entities/entity-user/entity-user.html +0 -181
  465. package/entities/entity-user/entity-user.ts +0 -179
  466. package/entities/entity.model.ts +0 -407
  467. package/entities/leaf-details-display.utils.ts +0 -269
  468. package/entities/ng-package.json +0 -6
  469. package/entities/percentage-color.utils.spec.ts +0 -94
  470. package/entities/percentage-color.utils.ts +0 -80
  471. package/entities/public-api.ts +0 -30
  472. package/field-validation/character-limit.validator.ts +0 -22
  473. package/field-validation/error-message.pipe.spec.ts +0 -184
  474. package/field-validation/error-message.pipe.ts +0 -80
  475. package/field-validation/field-validation.ts +0 -168
  476. package/field-validation/ng-package.json +0 -6
  477. package/field-validation/public-api.ts +0 -2
  478. package/formula/formula-editor/formula-editor.html +0 -89
  479. package/formula/formula-editor/formula-editor.scss +0 -25
  480. package/formula/formula-editor/formula-editor.ts +0 -467
  481. package/formula/formula-editor/index.ts +0 -1
  482. package/formula/formula-editor-code/formula-autocomplete-normalization.util.spec.ts +0 -58
  483. package/formula/formula-editor-code/formula-autocomplete-normalization.util.ts +0 -64
  484. package/formula/formula-editor-code/formula-completion-range.util.spec.ts +0 -62
  485. package/formula/formula-editor-code/formula-completion-range.util.ts +0 -71
  486. package/formula/formula-editor-code/formula-completion-suggestion.util.spec.ts +0 -23
  487. package/formula/formula-editor-code/formula-completion-suggestion.util.ts +0 -18
  488. package/formula/formula-editor-code/formula-editor-code.html +0 -15
  489. package/formula/formula-editor-code/formula-editor-code.scss +0 -90
  490. package/formula/formula-editor-code/formula-editor-code.ts +0 -1095
  491. package/formula/formula-editor-code/index.ts +0 -1
  492. package/formula/formula-status-bar/formula-status-bar.html +0 -119
  493. package/formula/formula-status-bar/formula-status-bar.ts +0 -66
  494. package/formula/formula-status-bar/index.ts +0 -1
  495. package/formula/formula-toolbar/formula-toolbar.html +0 -361
  496. package/formula/formula-toolbar/formula-toolbar.ts +0 -532
  497. package/formula/formula-toolbar/index.ts +0 -2
  498. package/formula/formula-toolbar/operators.ts +0 -122
  499. package/formula/models/formula-block.model.ts +0 -61
  500. package/formula/models/formula-token.model.spec.ts +0 -57
  501. package/formula/models/formula-token.model.ts +0 -852
  502. package/formula/models/index.ts +0 -5
  503. package/formula/models/smart-block.model.ts +0 -132
  504. package/formula/models/validation-result.model.ts +0 -80
  505. package/formula/ng-package.json +0 -6
  506. package/formula/public-api.ts +0 -8
  507. package/formula/runtime/formula-runtime-catalogs.ts +0 -554
  508. package/formula/runtime/formula-runtime-engine.spec.ts +0 -328
  509. package/formula/runtime/formula-runtime-engine.ts +0 -794
  510. package/formula/runtime/formula-runtime.model.ts +0 -53
  511. package/formula/runtime/index.ts +0 -3
  512. package/formula/toolbar-item/index.ts +0 -1
  513. package/formula/toolbar-item/toolbar-item.html +0 -143
  514. package/formula/toolbar-item/toolbar-item.scss +0 -14
  515. package/formula/toolbar-item/toolbar-item.ts +0 -223
  516. package/icon-field/icon-field.html +0 -58
  517. package/icon-field/icon-field.scss +0 -24
  518. package/icon-field/icon-field.spec.ts +0 -77
  519. package/icon-field/icon-field.ts +0 -205
  520. package/icon-field/ng-package.json +0 -6
  521. package/icon-field/public-api.ts +0 -1
  522. package/list/list.html +0 -22
  523. package/list/list.ts +0 -36
  524. package/list/ng-package.json +0 -6
  525. package/list/public-api.ts +0 -1
  526. package/location-field/location-field.html +0 -86
  527. package/location-field/location-field.spec.ts +0 -295
  528. package/location-field/location-field.ts +0 -662
  529. package/location-field/location-manual-dialog.html +0 -43
  530. package/location-field/location-manual-dialog.ts +0 -104
  531. package/location-field/location-value.ts +0 -67
  532. package/location-field/ng-package.json +0 -6
  533. package/location-field/public-api.ts +0 -3
  534. package/menu/menu.html +0 -71
  535. package/menu/menu.scss +0 -3
  536. package/menu/menu.ts +0 -186
  537. package/menu/ng-package.json +0 -6
  538. package/menu/public-api.ts +0 -1
  539. package/modal/modal.ts +0 -127
  540. package/modal/ng-package.json +0 -6
  541. package/modal/public-api.ts +0 -1
  542. package/module-summary-card/module-summary-card.html +0 -43
  543. package/module-summary-card/module-summary-card.scss +0 -0
  544. package/module-summary-card/module-summary-card.ts +0 -40
  545. package/module-summary-card/ng-package.json +0 -6
  546. package/module-summary-card/public-api.ts +0 -1
  547. package/multi-select-field/multi-select-field.html +0 -140
  548. package/multi-select-field/multi-select-field.scss +0 -0
  549. package/multi-select-field/multi-select-field.spec.ts +0 -21
  550. package/multi-select-field/multi-select-field.ts +0 -397
  551. package/multi-select-field/ng-package.json +0 -6
  552. package/multi-select-field/public-api.ts +0 -1
  553. package/ng-package.json +0 -9
  554. package/number-field/ng-package.json +0 -6
  555. package/number-field/number-field.html +0 -39
  556. package/number-field/number-field.scss +0 -8
  557. package/number-field/number-field.spec.ts +0 -21
  558. package/number-field/number-field.ts +0 -124
  559. package/number-field/public-api.ts +0 -1
  560. package/page/index.ts +0 -1
  561. package/page/ng-package.json +0 -6
  562. package/page/page.html +0 -37
  563. package/page/page.ts +0 -43
  564. package/page/public-api.ts +0 -1
  565. package/page-header/index.ts +0 -2
  566. package/page-header/ng-package.json +0 -6
  567. package/page-header/page-header.html +0 -60
  568. package/page-header/page-header.ts +0 -54
  569. package/page-header/public-api.ts +0 -1
  570. package/paginator/ng-package.json +0 -6
  571. package/paginator/paginator.html +0 -50
  572. package/paginator/paginator.scss +0 -0
  573. package/paginator/paginator.ts +0 -53
  574. package/paginator/public-api.ts +0 -1
  575. package/pick-list-field/ng-package.json +0 -6
  576. package/pick-list-field/pick-list-field.html +0 -39
  577. package/pick-list-field/pick-list-field.scss +0 -26
  578. package/pick-list-field/pick-list-field.ts +0 -259
  579. package/pick-list-field/public-api.ts +0 -1
  580. package/progress/ng-package.json +0 -6
  581. package/progress/progress.html +0 -36
  582. package/progress/progress.ts +0 -61
  583. package/progress/public-api.ts +0 -1
  584. package/property-filter-builder/ng-package.json +0 -6
  585. package/property-filter-builder/property-filter-builder.html +0 -192
  586. package/property-filter-builder/property-filter-builder.ts +0 -548
  587. package/property-filter-builder/public-api.ts +0 -1
  588. package/radio-button-field/ng-package.json +0 -6
  589. package/radio-button-field/public-api.ts +0 -1
  590. package/radio-button-field/radio-button-field.html +0 -44
  591. package/radio-button-field/radio-button-field.scss +0 -0
  592. package/radio-button-field/radio-button-field.ts +0 -114
  593. package/radio-cards/ng-package.json +0 -6
  594. package/radio-cards/public-api.ts +0 -1
  595. package/radio-cards/radio-cards.css +0 -3
  596. package/radio-cards/radio-cards.html +0 -54
  597. package/radio-cards/radio-cards.spec.ts +0 -22
  598. package/radio-cards/radio-cards.ts +0 -92
  599. package/radio-cards-field/ng-package.json +0 -6
  600. package/radio-cards-field/public-api.ts +0 -1
  601. package/radio-cards-field/radio-cards-field.css +0 -0
  602. package/radio-cards-field/radio-cards-field.html +0 -38
  603. package/radio-cards-field/radio-cards-field.spec.ts +0 -22
  604. package/radio-cards-field/radio-cards-field.ts +0 -182
  605. package/runtime-action/ng-package.json +0 -6
  606. package/runtime-action/payload-builder.ts +0 -246
  607. package/runtime-action/public-api.ts +0 -4
  608. package/runtime-action/runtime-action-context.store.ts +0 -26
  609. package/runtime-action/runtime-action.runner.ts +0 -302
  610. package/runtime-action/runtime-action.types.ts +0 -82
  611. package/select-field/current-user.util.ts +0 -54
  612. package/select-field/ng-package.json +0 -6
  613. package/select-field/public-api.ts +0 -1
  614. package/select-field/select-field.html +0 -142
  615. package/select-field/select-field.scss +0 -0
  616. package/select-field/select-field.spec.ts +0 -21
  617. package/select-field/select-field.ts +0 -471
  618. package/sidebar/ng-package.json +0 -6
  619. package/sidebar/public-api.ts +0 -1
  620. package/sidebar/sidebar.html +0 -368
  621. package/sidebar/sidebar.ts +0 -303
  622. package/slider-field/ng-package.json +0 -7
  623. package/slider-field/public-api.ts +0 -1
  624. package/slider-field/slider-field.html +0 -33
  625. package/slider-field/slider-field.scss +0 -11
  626. package/slider-field/slider-field.spec.ts +0 -44
  627. package/slider-field/slider-field.ts +0 -166
  628. package/src/lib/base/base.facade.ts +0 -159
  629. package/src/lib/base/crud-base.state.ts +0 -248
  630. package/src/lib/config/date-format.config.ts +0 -55
  631. package/src/lib/config/ds-identity.preset.ts +0 -538
  632. package/src/lib/config/ds-identity.tokens.ts +0 -209
  633. package/src/lib/config/dynamic-form.model.ts +0 -1162
  634. package/src/lib/config/povide-messages.ts +0 -5
  635. package/src/lib/config/provide-confirmation.ts +0 -5
  636. package/src/lib/config/providemt.ts +0 -506
  637. package/src/lib/config/public-api.ts +0 -0
  638. package/src/lib/pipes/mt-date-format.pipe.spec.ts +0 -60
  639. package/src/lib/pipes/mt-date-format.pipe.ts +0 -81
  640. package/src/lib/utils/api-request.helper.ts +0 -59
  641. package/src/lib/utils/clock-time.util.ts +0 -58
  642. package/src/lib/utils/color.utils.ts +0 -187
  643. package/src/lib/utils/entity-adapter.ts +0 -50
  644. package/src/lib/utils/field-id.ts +0 -42
  645. package/src/lib/utils/http-context.ts +0 -35
  646. package/src/lib/utils/inputs.ts +0 -6
  647. package/src/lib/utils/state-helpers.ts +0 -49
  648. package/src/lib/utils/theme.ts +0 -281
  649. package/src/public-api.ts +0 -30
  650. package/statistic-card/ng-package.json +0 -6
  651. package/statistic-card/public-api.ts +0 -1
  652. package/statistic-card/statistic-card.html +0 -31
  653. package/statistic-card/statistic-card.scss +0 -0
  654. package/statistic-card/statistic-card.ts +0 -59
  655. package/table/ng-package.json +0 -7
  656. package/table/public-api.ts +0 -10
  657. package/table/table-actions-menu/public-api.ts +0 -1
  658. package/table/table-actions-menu/table-actions-menu.html +0 -75
  659. package/table/table-actions-menu/table-actions-menu.ts +0 -171
  660. package/table/table-caption/public-api.ts +0 -1
  661. package/table/table-caption/table-caption.html +0 -118
  662. package/table/table-caption/table-caption.ts +0 -221
  663. package/table/table-column-filter/public-api.ts +0 -1
  664. package/table/table-column-filter/table-column-filter.html +0 -44
  665. package/table/table-column-filter/table-column-filter.ts +0 -106
  666. package/table/table-export/html-to-text.util.ts +0 -67
  667. package/table/table-export/public-api.ts +0 -1
  668. package/table/table-export/table-export.service.spec.ts +0 -186
  669. package/table/table-export/table-export.service.ts +0 -325
  670. package/table/table-filter/public-api.ts +0 -1
  671. package/table/table-filter/table-filter.css +0 -9
  672. package/table/table-filter/table-filter.html +0 -63
  673. package/table/table-filter/table-filter.ts +0 -126
  674. package/table/table-filter-field/public-api.ts +0 -1
  675. package/table/table-filter-field/table-filter-field.html +0 -182
  676. package/table/table-filter-field/table-filter-field.ts +0 -208
  677. package/table/table-grouping/public-api.ts +0 -1
  678. package/table/table-grouping/table-grouping.spec.ts +0 -218
  679. package/table/table-grouping/table-grouping.ts +0 -237
  680. package/table/table-types.ts +0 -242
  681. package/table/table-value.utils.spec.ts +0 -63
  682. package/table/table-value.utils.ts +0 -1014
  683. package/table/table.css +0 -145
  684. package/table/table.html +0 -572
  685. package/table/table.ts +0 -2042
  686. package/tabs/ng-package.json +0 -6
  687. package/tabs/public-api.ts +0 -1
  688. package/tabs/tabs.html +0 -417
  689. package/tabs/tabs.scss +0 -3
  690. package/tabs/tabs.spec.ts +0 -79
  691. package/tabs/tabs.ts +0 -397
  692. package/text-field/ng-package.json +0 -6
  693. package/text-field/public-api.ts +0 -1
  694. package/text-field/text-field.html +0 -75
  695. package/text-field/text-field.scss +0 -56
  696. package/text-field/text-field.ts +0 -251
  697. package/textarea-field/ng-package.json +0 -6
  698. package/textarea-field/public-api.ts +0 -1
  699. package/textarea-field/textarea-field.html +0 -37
  700. package/textarea-field/textarea-field.scss +0 -0
  701. package/textarea-field/textarea-field.spec.ts +0 -21
  702. package/textarea-field/textarea-field.ts +0 -169
  703. package/toast/ng-package.json +0 -6
  704. package/toast/public-api.ts +0 -2
  705. package/toast/toast.html +0 -18
  706. package/toast/toast.service.ts +0 -67
  707. package/toast/toast.ts +0 -21
  708. package/toggle-field/ng-package.json +0 -6
  709. package/toggle-field/public-api.ts +0 -1
  710. package/toggle-field/toggle-field.html +0 -78
  711. package/toggle-field/toggle-field.scss +0 -24
  712. package/toggle-field/toggle-field.ts +0 -150
  713. package/tooltip/ng-package.json +0 -6
  714. package/tooltip/public-api.ts +0 -2
  715. package/tooltip/tooltip.ts +0 -30
  716. package/tooltip/truncate-tooltip.ts +0 -124
  717. package/topbar/ng-package.json +0 -6
  718. package/topbar/public-api.ts +0 -1
  719. package/topbar/topbar.html +0 -52
  720. package/topbar/topbar.ts +0 -27
  721. package/tree/ng-package.json +0 -6
  722. package/tree/public-api.ts +0 -2
  723. package/tree/tree-types.ts +0 -55
  724. package/tree/tree.html +0 -126
  725. package/tree/tree.scss +0 -1
  726. package/tree/tree.ts +0 -303
  727. package/treeselect-field/ng-package.json +0 -6
  728. package/treeselect-field/public-api.ts +0 -1
  729. package/treeselect-field/treeselect-field.html +0 -71
  730. package/treeselect-field/treeselect-field.ts +0 -348
  731. package/tsconfig.check.json +0 -20
  732. package/tsconfig.json +0 -16
  733. package/tsconfig.spec.json +0 -24
  734. package/upload-field/ng-package.json +0 -6
  735. package/upload-field/public-api.ts +0 -2
  736. package/upload-field/secure-image.pipe.ts +0 -258
  737. package/upload-field/upload-field.html +0 -274
  738. package/upload-field/upload-field.scss +0 -0
  739. package/upload-field/upload-field.spec.ts +0 -169
  740. package/upload-field/upload-field.ts +0 -764
  741. package/upload-field/upload-file-preview/upload-file-preview.html +0 -41
  742. package/upload-field/upload-file-preview/upload-file-preview.scss +0 -0
  743. package/upload-field/upload-file-preview/upload-file-preview.ts +0 -57
  744. package/upload-field/upload-user-preview/upload-user-preview.css +0 -0
  745. package/upload-field/upload-user-preview/upload-user-preview.html +0 -73
  746. package/upload-field/upload-user-preview/upload-user-preview.ts +0 -54
  747. package/uploader/ng-package.json +0 -6
  748. package/uploader/public-api.ts +0 -1
  749. package/uploader/uploader.service.spec.ts +0 -271
  750. package/uploader/uploader.service.ts +0 -733
  751. package/user-search-field/ng-package.json +0 -6
  752. package/user-search-field/public-api.ts +0 -1
  753. package/user-search-field/user-search-field.html +0 -88
  754. package/user-search-field/user-search-field.scss +0 -4
  755. package/user-search-field/user-search-field.spec.ts +0 -176
  756. package/user-search-field/user-search-field.ts +0 -483
@@ -1,218 +0,0 @@
1
- import { signal } from '@angular/core';
2
- import { ColumnDef } from '../table-types';
3
- import { TableGroupingController } from './table-grouping';
4
-
5
- /**
6
- * Builds a controller over fixed columns/rows. Sort signals are writable so the
7
- * "grouping pins the sort" behaviour can be asserted.
8
- */
9
- function createController(columns: ColumnDef[], rows: unknown[]) {
10
- const groupBy = signal<string | null>(null);
11
- const sortField = signal<string | null>(null);
12
- const sortDirection = signal<'asc' | 'desc' | null>(null);
13
-
14
- const controller = new TableGroupingController(
15
- signal(columns),
16
- signal(rows),
17
- groupBy,
18
- sortField,
19
- sortDirection,
20
- );
21
-
22
- return { controller, groupBy, sortField, sortDirection };
23
- }
24
-
25
- /** Mirrors how a Work Center runtime row reaches the table. */
26
- function levelRow(
27
- label: string | null,
28
- levelDataId: number | null,
29
- id: string,
30
- ) {
31
- return {
32
- id,
33
- levelDataName: {
34
- key: 'levelDataName',
35
- label: 'Level Name',
36
- type: 'entity',
37
- viewType: 'Text',
38
- value: label ?? '—',
39
- },
40
- __mtLevelGroup: label
41
- ? levelDataId === null
42
- ? `name:${label}`
43
- : `id:${levelDataId}`
44
- : '',
45
- };
46
- }
47
-
48
- const LEVEL_COLUMN: ColumnDef = {
49
- key: 'levelDataName',
50
- label: 'Level Name',
51
- type: 'entity',
52
- groupable: true,
53
- groupKey: '__mtLevelGroup',
54
- };
55
-
56
- describe('TableGroupingController', () => {
57
- describe('groupableColumns', () => {
58
- it('offers a text column that explicitly opts in', () => {
59
- const { controller } = createController([LEVEL_COLUMN], []);
60
-
61
- expect(controller.groupableColumns().map((col) => col.key)).toEqual([
62
- 'levelDataName',
63
- ]);
64
- });
65
-
66
- it('still excludes a text column that has not opted in', () => {
67
- const { controller } = createController(
68
- [{ key: 'title', label: 'Title', type: 'text' }],
69
- [],
70
- );
71
-
72
- expect(controller.groupableColumns()).toEqual([]);
73
- });
74
-
75
- it('offers categorical entity columns by their view type', () => {
76
- const { controller } = createController(
77
- [
78
- // A LookupMatrix (e.g. a risk Classification) filters as free text
79
- // but its values are a small fixed set.
80
- {
81
- key: 'classification',
82
- label: 'Classification',
83
- type: 'entity',
84
- viewType: 'LookupMatrix',
85
- } as ColumnDef,
86
- {
87
- key: 'status',
88
- label: 'Status',
89
- type: 'entity',
90
- viewType: 'Lookup',
91
- } as ColumnDef,
92
- {
93
- key: 'createdBy',
94
- label: 'Created By',
95
- type: 'entity',
96
- viewType: 'User',
97
- } as ColumnDef,
98
- ],
99
- [],
100
- );
101
-
102
- expect(controller.groupableColumns().map((col) => col.key)).toEqual([
103
- 'classification',
104
- 'status',
105
- 'createdBy',
106
- ]);
107
- });
108
-
109
- it('excludes entity columns whose values are unique per row', () => {
110
- const { controller } = createController(
111
- [
112
- {
113
- key: 'title',
114
- label: 'Title',
115
- type: 'entity',
116
- viewType: 'Text',
117
- } as ColumnDef,
118
- {
119
- key: 'dueDate',
120
- label: 'Due',
121
- type: 'entity',
122
- viewType: 'Date',
123
- } as ColumnDef,
124
- {
125
- key: 'progress',
126
- label: 'Progress',
127
- type: 'entity',
128
- viewType: 'Percentage',
129
- } as ColumnDef,
130
- ],
131
- [],
132
- );
133
-
134
- expect(controller.groupableColumns()).toEqual([]);
135
- });
136
-
137
- it('lets a low-cardinality column opt out', () => {
138
- const { controller } = createController(
139
- [{ key: 'status', label: 'Status', type: 'status', groupable: false }],
140
- [],
141
- );
142
-
143
- expect(controller.groupableColumns()).toEqual([]);
144
- });
145
- });
146
-
147
- describe('groupKey identity', () => {
148
- it('keeps records with the same label in separate groups', () => {
149
- const rows = [
150
- levelRow('Project Gamma', 4201, 'general-task:1'),
151
- levelRow('Project Gamma', 4202, 'general-task:2'),
152
- ];
153
- const { controller, groupBy } = createController([LEVEL_COLUMN], rows);
154
- groupBy.set('levelDataName');
155
-
156
- expect(controller.getGroupSortKey(rows[0])).toBe('id:4201');
157
- expect(controller.getGroupSortKey(rows[1])).toBe('id:4202');
158
- expect(controller.getGroupSortKey(rows[0])).not.toBe(
159
- controller.getGroupSortKey(rows[1]),
160
- );
161
- // Both still render the same visible label.
162
- expect(controller.getGroupLabel(rows[0])).toBe('Project Gamma');
163
- expect(controller.getGroupLabel(rows[1])).toBe('Project Gamma');
164
- });
165
-
166
- it('collapses rows with no visible label into one group', () => {
167
- const rows = [
168
- levelRow(null, 4201, 'general-task:3'),
169
- levelRow(null, 9999, 'general-task:4'),
170
- ];
171
- const { controller, groupBy } = createController([LEVEL_COLUMN], rows);
172
- groupBy.set('levelDataName');
173
-
174
- expect(controller.getGroupSortKey(rows[0])).toBe(
175
- controller.getGroupSortKey(rows[1]),
176
- );
177
- expect(controller.getGroupLabel(rows[0])).toBe('—');
178
- expect(controller.getGroupCount(rows[0])).toBe(2);
179
- });
180
-
181
- it('counts each identity separately even when labels collide', () => {
182
- const rows = [
183
- levelRow('Project Gamma', 4201, 'general-task:1'),
184
- levelRow('Project Gamma', 4201, 'general-task:2'),
185
- levelRow('Project Gamma', 4202, 'general-task:3'),
186
- ];
187
- const { controller, groupBy } = createController([LEVEL_COLUMN], rows);
188
- groupBy.set('levelDataName');
189
-
190
- expect(controller.getGroupCount(rows[0])).toBe(2);
191
- expect(controller.getGroupCount(rows[2])).toBe(1);
192
- });
193
-
194
- it('falls back to the label when no groupKey is configured', () => {
195
- const column: ColumnDef = { key: 'status', label: 'Status' };
196
- const rows = [{ status: 'Active' }, { status: 'Active' }];
197
- const { controller, groupBy } = createController([column], rows);
198
- groupBy.set('status');
199
-
200
- expect(controller.getGroupSortKey(rows[0])).toBe('Active');
201
- expect(controller.getGroupCount(rows[0])).toBe(2);
202
- });
203
- });
204
-
205
- describe('setGroup', () => {
206
- it('pins the sort to the grouped column', () => {
207
- const { controller, sortField, sortDirection } = createController(
208
- [LEVEL_COLUMN],
209
- [],
210
- );
211
-
212
- controller.setGroup('levelDataName');
213
-
214
- expect(sortField()).toBe('levelDataName');
215
- expect(sortDirection()).toBe('asc');
216
- });
217
- });
218
- });
@@ -1,237 +0,0 @@
1
- import { computed, Signal, WritableSignal } from '@angular/core';
2
- import { TranslocoService } from '@jsverse/transloco';
3
- import type { EntityViewType } from '@masterteam/components/entities';
4
- import { ColumnDef, FilterConfig } from '../table-types';
5
- import { TableValueResolver } from '../table-value.utils';
6
-
7
- /**
8
- * Column filter types that produce useful (low-cardinality) row groups.
9
- * Unique-valued columns (plain text, dates) would create a group per row —
10
- * pointless visually and slow — so we exclude them from the group picker.
11
- */
12
- const GROUPABLE_FILTER_TYPES: ReadonlySet<FilterConfig['type']> = new Set([
13
- 'select',
14
- 'boolean',
15
- 'user',
16
- ]);
17
-
18
- /**
19
- * Entity view types whose values are categorical enough to bucket rows by.
20
- * Entity columns are judged on this rather than their filter type: a
21
- * `LookupMatrix` (e.g. a risk Classification) filters as free text but its
22
- * values are a small fixed set, so it groups perfectly well.
23
- */
24
- const GROUPABLE_ENTITY_VIEW_TYPES: ReadonlySet<EntityViewType> = new Set([
25
- 'Status',
26
- 'Lookup',
27
- 'LookupMatrix',
28
- 'PhaseGate',
29
- 'User',
30
- 'Checkbox',
31
- ]);
32
-
33
- /** Bucket every row whose grouped value is missing/empty falls into. */
34
- export const EMPTY_GROUP_KEY = '__mt_group_empty__';
35
-
36
- /**
37
- * Pure controller owning all row-grouping concerns. Table instantiates one and
38
- * binds its signals — keeps grouping logic out of table.ts.
39
- *
40
- * PrimeNG's subheader grouping renders only when `sortField === groupRowsBy`.
41
- * `setGroup` therefore also pins the sort to the grouped column; clearing the
42
- * group leaves the user's sort untouched.
43
- */
44
- export class TableGroupingController {
45
- constructor(
46
- private readonly columns: Signal<ColumnDef[]>,
47
- private readonly rows: Signal<unknown[]>,
48
- private readonly groupBy: WritableSignal<string | null>,
49
- private readonly sortField: WritableSignal<string | null>,
50
- private readonly sortDirection: WritableSignal<'asc' | 'desc' | null>,
51
- private readonly transloco?: TranslocoService,
52
- ) {}
53
-
54
- private translate(key: string): string {
55
- return this.transloco ? this.transloco.translate(key) : key;
56
- }
57
-
58
- readonly groupableColumns = computed<ColumnDef[]>(() => {
59
- const sampleRow = this.rows()[0] as Record<string, unknown> | undefined;
60
- return this.columns().filter((col) => {
61
- if (col.filterOnly) return false;
62
- // Explicit `groupable` wins over the cardinality heuristic in both
63
- // directions — the host knows when a high-cardinality column is still
64
- // worth grouping (backend-ordered) or when a low-cardinality one isn't.
65
- if (typeof col.groupable === 'boolean') return col.groupable;
66
- if (col.type === 'custom') return false;
67
-
68
- if (col.type === 'entity') {
69
- const viewType = TableValueResolver.getEntityViewType(col, sampleRow);
70
- return !!viewType && GROUPABLE_ENTITY_VIEW_TYPES.has(viewType);
71
- }
72
-
73
- const filterType = TableValueResolver.getColumnFilterType(col, sampleRow);
74
- return filterType !== null && GROUPABLE_FILTER_TYPES.has(filterType);
75
- });
76
- });
77
-
78
- /**
79
- * Row counts per group key — consumed by the group header template so each
80
- * subheader can show "Status: Active (12)".
81
- */
82
- readonly groupCounts = computed<Map<string, number>>(() => {
83
- const column = this.activeGroupColumn();
84
- if (!column) return new Map();
85
-
86
- const counts = new Map<string, number>();
87
- for (const row of this.rows()) {
88
- const key = this.getGroupKey(row, column);
89
- counts.set(key, (counts.get(key) ?? 0) + 1);
90
- }
91
- return counts;
92
- });
93
-
94
- getGroupCount(row: unknown): number {
95
- const column = this.activeGroupColumn();
96
- if (!column) return 0;
97
- return this.groupCounts().get(this.getGroupKey(row, column)) ?? 0;
98
- }
99
-
100
- readonly activeGroupColumn = computed<ColumnDef | null>(() => {
101
- const key = this.groupBy();
102
- if (!key) return null;
103
- return this.columns().find((col) => col.key === key) ?? null;
104
- });
105
-
106
- readonly groupingActive = computed<boolean>(
107
- () => this.activeGroupColumn() !== null,
108
- );
109
-
110
- /**
111
- * Whether the group header repeats the grouped column's name before the
112
- * value. Opt-out per column via `ColumnDef.showGroupColumnLabel`.
113
- */
114
- readonly showsGroupColumnLabel = computed<boolean>(
115
- () => this.activeGroupColumn()?.showGroupColumnLabel !== false,
116
- );
117
-
118
- /**
119
- * Returns true when the given column is the active group column and
120
- * therefore cannot have its sort cleared (PrimeNG requirement).
121
- */
122
- isGroupLockedSort(columnKey: string): boolean {
123
- return this.groupingActive() && this.activeGroupColumn()?.key === columnKey;
124
- }
125
-
126
- setGroup(key: string | null): void {
127
- this.groupBy.set(key && key.length > 0 ? key : null);
128
-
129
- if (key) {
130
- this.sortField.set(key);
131
- if (this.sortDirection() === null) {
132
- this.sortDirection.set('asc');
133
- }
134
- }
135
- }
136
-
137
- /**
138
- * Display label for a row's grouped value — used by the `#groupheader`
139
- * template. Leverages the same resolver pipeline the cells use, so status
140
- * maps / user display names render consistently.
141
- */
142
- getGroupLabel(row: unknown): string {
143
- const column = this.activeGroupColumn();
144
- if (!column) return '';
145
-
146
- const cellValue = TableValueResolver.getProperty(row, column.key);
147
- if (cellValue === null || cellValue === undefined || cellValue === '') {
148
- return '—';
149
- }
150
-
151
- if (column.type === 'entity') {
152
- const entityValue = TableValueResolver.getEntityValueByType(
153
- cellValue,
154
- 'export',
155
- );
156
- return entityValue === null ? '—' : String(entityValue);
157
- }
158
-
159
- const display = TableValueResolver.resolveDisplayValue(cellValue);
160
- if (display === null || display === undefined) return '—';
161
- if (typeof display === 'boolean')
162
- return display
163
- ? this.translate('components.table.yes')
164
- : this.translate('components.table.no');
165
- return String(display);
166
- }
167
-
168
- /**
169
- * Accent color for status/entity-Status group headers. Reused from the
170
- * cell renderer's status-map pipeline so tint is consistent with the cell.
171
- */
172
- getGroupAccentColor(row: unknown): string | null {
173
- const column = this.activeGroupColumn();
174
- if (!column) return null;
175
- if (column.type !== 'status' && column.type !== 'entity') return null;
176
-
177
- const cellValue = TableValueResolver.getProperty(row, column.key);
178
- if (cellValue === null || cellValue === undefined) return null;
179
-
180
- if (typeof cellValue === 'object') {
181
- const obj = cellValue as Record<string, unknown>;
182
- const color = obj['color'];
183
- if (typeof color === 'string' && color.length > 0) return color;
184
-
185
- // Entity cells carry the color on the resolved value, not the wrapper.
186
- const value = obj['value'];
187
- if (value && typeof value === 'object') {
188
- const valueColor = (value as Record<string, unknown>)['color'];
189
- if (typeof valueColor === 'string' && valueColor.length > 0) {
190
- return valueColor;
191
- }
192
- }
193
- }
194
-
195
- return null;
196
- }
197
-
198
- /**
199
- * Returns the stable string key for the active group column on this row.
200
- * Used to add a synthetic `__mt_group__` field so PrimeNG compares a plain
201
- * string rather than a complex entity object (whose JSON representation is
202
- * not stable across rows).
203
- */
204
- getGroupSortKey(row: unknown): string {
205
- const column = this.activeGroupColumn();
206
- if (!column) return '';
207
- return this.getGroupKey(row, column);
208
- }
209
-
210
- /** Stable key used to bucket rows into groups — normalised to string. */
211
- private getGroupKey(row: unknown, column: ColumnDef): string {
212
- // A column can name its own identity field, so rows sharing a display
213
- // label still split into separate groups (and vice versa).
214
- if (column.groupKey) {
215
- const identity = TableValueResolver.getProperty(row, column.groupKey);
216
- return identity === null || identity === undefined || identity === ''
217
- ? EMPTY_GROUP_KEY
218
- : String(identity);
219
- }
220
-
221
- const cellValue = TableValueResolver.getProperty(row, column.key);
222
- if (cellValue === null || cellValue === undefined || cellValue === '') {
223
- return EMPTY_GROUP_KEY;
224
- }
225
- if (column.type === 'entity') {
226
- const entityValue = TableValueResolver.getEntityValueByType(
227
- cellValue,
228
- 'filter',
229
- );
230
- return entityValue === null ? EMPTY_GROUP_KEY : String(entityValue);
231
- }
232
- const display = TableValueResolver.resolveDisplayValue(cellValue);
233
- return display === null || display === undefined
234
- ? EMPTY_GROUP_KEY
235
- : String(display);
236
- }
237
- }
@@ -1,242 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import { MTIcon } from '@masterteam/icons';
3
- import { ConfirmationConfig } from '@masterteam/components/confirmation';
4
- import type { TreeNode } from 'primeng/api';
5
-
6
- /**
7
- * Table action confirmation config with optional event
8
- */
9
- export type TableActionConfirmationConfig = Omit<
10
- ConfirmationConfig,
11
- 'event'
12
- > & {
13
- event?: Event;
14
- confirmationType?: 'delete';
15
- };
16
-
17
- /**
18
- * Defines the options for a select filter.
19
- */
20
- export interface FilterOption {
21
- label: string;
22
- value: any;
23
- }
24
-
25
- /**
26
- * Configuration for filtering on a specific column.
27
- */
28
- export interface FilterConfig {
29
- type:
30
- | 'text'
31
- | 'select'
32
- | 'userSelect'
33
- | 'treeSelect'
34
- | 'date'
35
- | 'boolean'
36
- | 'user'
37
- | 'numberRange';
38
- label?: string;
39
- options?: FilterOption[];
40
- treeOptions?: TreeNode[];
41
- /**
42
- * Controls multi-select behaviour for `select` / `userSelect` filters.
43
- * Defaults to `true` — opt out with `multiple: false` for a single-select.
44
- * The stored filter value is an array; rows match if the cell value matches
45
- * *any* selected entry.
46
- */
47
- multiple?: boolean;
48
- [key: string]: unknown;
49
- }
50
-
51
- /**
52
- * Filter value for date range, numeric range, or simple value
53
- */
54
- export interface FilterValue {
55
- value?: any;
56
- from?: Date | number | null;
57
- to?: Date | number | null;
58
- }
59
-
60
- export interface TableStatusMapValue {
61
- display?: string;
62
- color?: string;
63
- description?: string;
64
- }
65
-
66
- /**
67
- * Table filters map
68
- */
69
- export type TableFilters = Record<string, FilterValue | any>;
70
-
71
- /**
72
- * Column type definition
73
- */
74
- export type ColumnType =
75
- | 'text'
76
- | 'number'
77
- | 'boolean'
78
- | 'date'
79
- | 'dateTime'
80
- | 'user'
81
- | 'status'
82
- | 'entity'
83
- | 'custom';
84
-
85
- /**
86
- * Event emitted when a cell value changes
87
- */
88
- export interface CellChangeEvent {
89
- row: any;
90
- column: string;
91
- value: any;
92
- type: ColumnTypeForActionCell;
93
- }
94
- export type ColumnTypeForActionCell = 'boolean';
95
-
96
- export type TableActionShape = 'flat' | 'popover';
97
- export type TableActionPlacement = 'menu' | 'inline';
98
-
99
- /**
100
- * Filter UX mode for a table.
101
- *
102
- * - `popover`: single top-right funnel button opening a form with every filter.
103
- * - `column`: per-column funnel icon next to each filterable header.
104
- *
105
- * Add new modes here + a matching branch in the table header template.
106
- */
107
- export type TableFilterMode = 'popover' | 'column';
108
-
109
- /**
110
- * Keys that can be excluded from mt-table storage persistence.
111
- *
112
- * - `pageSize`: selected rows-per-page value.
113
- * - `pagePosition`: current page / first row offset.
114
- * - `sort`: sort field and direction.
115
- * - `selection`: selected row keys.
116
- * - `groupBy`: active grouped column.
117
- */
118
- export type TablePersistStateKey =
119
- | 'pageSize'
120
- | 'pagePosition'
121
- | 'sort'
122
- | 'selection'
123
- | 'groupBy';
124
-
125
- /**
126
- * Injected value resolver for export/print — caller decides how a cell value
127
- * becomes a scalar for Excel/PDF output. Keeps TableExportService
128
- * schema-agnostic (open/closed for new column types).
129
- */
130
- export type TableExportValueResolver = (
131
- row: unknown,
132
- column: ColumnDef,
133
- ) => string | number | boolean | null;
134
-
135
- export interface TableExportConfig {
136
- rows: any[];
137
- columns: ColumnDef[];
138
- filename: string;
139
- resolveValue: TableExportValueResolver;
140
- }
141
-
142
- export interface TablePrintConfig extends TableExportConfig {
143
- title?: string;
144
- }
145
-
146
- // Defines the structure of a table column
147
- export interface ColumnDef {
148
- key: string; // Corresponds to a property in your data object
149
- label: string; // The header text for the column
150
- type?: ColumnType; // Data type for rendering
151
- customCellTpl?: TemplateRef<any>; // For 'custom' type columns
152
- filterConfig?: FilterConfig; // Optional configuration for filtering
153
- statusMap?: Record<string, TableStatusMapValue>; // Optional status display/color map
154
- sortable?: boolean; // Enables local FE sorting for this column
155
- /**
156
- * Overrides whether the column is offered in the row-group picker. By default
157
- * only low-cardinality columns (select / boolean / user filters) are offered,
158
- * because unique-valued columns would produce one group per row. Set `true`
159
- * to opt a column in anyway — use it when the backend orders the result set
160
- * so equal values arrive contiguously (e.g. a Work Center "Level Name"
161
- * column sorted server-side). Set `false` to opt a column out entirely.
162
- */
163
- groupable?: boolean;
164
- /**
165
- * Dotted path to the row field holding this column's *group identity*, used
166
- * instead of the rendered label when bucketing rows. Set it when the visible
167
- * label is ambiguous — two records may share a display name but must stay
168
- * separate groups (the backend's stable id), or several distinct ids must
169
- * collapse into one group. An empty / missing value at that path puts the row
170
- * in the shared "no value" group.
171
- */
172
- groupKey?: string;
173
- /**
174
- * Whether the group header prefixes the value with this column's label
175
- * ("Status · Active"). Defaults to `true`. Turn it off when the value already
176
- * names itself — a project or person reads fine on its own, and the prefix is
177
- * just noise repeated down the page.
178
- */
179
- showGroupColumnLabel?: boolean;
180
- readonly?: boolean; // Disables editable cells (e.g., toggle for boolean type)
181
- width?: string; // Optional fixed width applied to header and body cells
182
- /**
183
- * Horizontal alignment of the header and its cells. Defaults to `end` for
184
- * `number` columns and `start` for everything else.
185
- *
186
- * Left-aligned numbers cannot be compared by scanning, because the digits do
187
- * not line up (finding M-05) — set `align: 'end'` on any column that renders
188
- * a figure through a `custom` or `entity` cell, where the table cannot infer
189
- * it from the type.
190
- */
191
- align?: 'start' | 'center' | 'end';
192
- /**
193
- * Whether the column shrinks to its content instead of taking a share of the
194
- * leftover width. Defaults to `true` for the fixed-shape types (`date`,
195
- * `dateTime`, `boolean`, `number`, `user`, `status`) so a ten-character date
196
- * stops being handed 440px while the title column is squeezed. Set `false` to
197
- * opt a fixed-shape column back into absorbing width.
198
- */
199
- shrink?: boolean;
200
- filterOnly?: boolean; // Keeps the column available to filters without rendering/exporting it
201
- /**
202
- * Opts a `custom` column into export/print. Custom columns are excluded by
203
- * default because their template may render purely visual content with no
204
- * scalar value. Set this when the underlying cell value is still meaningful
205
- * (e.g. an entity/count rendered as a styled badge) so it appears in Excel/PDF.
206
- * No effect on non-custom columns (those export unless `filterOnly`).
207
- */
208
- exportable?: boolean;
209
- /**
210
- * Overrides the exported/printed scalar for this column. When provided it wins
211
- * over the default type-based resolution — use it for `custom` columns whose
212
- * cell value isn't trivially resolvable, or to format any column's export value.
213
- */
214
- exportValue?: (row: any) => string | number | boolean | null;
215
- }
216
-
217
- // Defines an action button for the 'actions' column
218
- export interface TableAction {
219
- icon?: MTIcon | undefined; // Icon to display on the button using MTIcon
220
- color?:
221
- | 'info'
222
- | 'success'
223
- | 'warn'
224
- | 'danger'
225
- | 'secondary'
226
- | 'contrast'
227
- | 'help'
228
- | 'primary'; // Action Button Severity color
229
- variant?: 'text' | 'outlined' | undefined; // Action Button variant
230
- size?: 'small' | 'large' | undefined;
231
- /**
232
- * In popover action mode, `inline` actions render as direct icon buttons
233
- * before the three-dot menu. Defaults to `menu`.
234
- */
235
- placement?: TableActionPlacement;
236
- label?: string;
237
- tooltip?: string;
238
- hidden?: (row: any) => boolean;
239
- action: (row: any) => void; // Function to execute on click
240
- loading?: boolean | ((row: any) => boolean); // Loading state or predicate for the action button
241
- confirmation?: TableActionConfirmationConfig;
242
- }