@masterteam/components 0.0.265 → 0.0.266

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 +2512 -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
@@ -0,0 +1,42 @@
1
+ import { NgTemplateOutlet } from '@angular/common';
2
+ import * as i0 from '@angular/core';
3
+ import { input, booleanAttribute, contentChild, output, signal, computed, Component } from '@angular/core';
4
+ import { Avatar } from '@masterteam/components/avatar';
5
+ import { Button } from '@masterteam/components/button';
6
+ import { Tabs } from '@masterteam/components/tabs';
7
+
8
+ class PageHeader {
9
+ backButton = input(false, { ...(ngDevMode ? { debugName: "backButton" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
10
+ backButtonIcon = input('arrow', ...(ngDevMode ? [{ debugName: "backButtonIcon" }] : /* istanbul ignore next */ []));
11
+ avatarIcon = input(...(ngDevMode ? [undefined, { debugName: "avatarIcon" }] : /* istanbul ignore next */ []));
12
+ avatarStyle = input({}, ...(ngDevMode ? [{ debugName: "avatarStyle" }] : /* istanbul ignore next */ []));
13
+ avatarShape = input('square', ...(ngDevMode ? [{ debugName: "avatarShape" }] : /* istanbul ignore next */ []));
14
+ title = input.required(...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
15
+ tabs = input([], ...(ngDevMode ? [{ debugName: "tabs" }] : /* istanbul ignore next */ []));
16
+ activeTab = input(...(ngDevMode ? [undefined, { debugName: "activeTab" }] : /* istanbul ignore next */ []));
17
+ titleEnd = contentChild('titleEnd', ...(ngDevMode ? [{ debugName: "titleEnd" }] : /* istanbul ignore next */ []));
18
+ headerEnd = contentChild('headerEnd', ...(ngDevMode ? [{ debugName: "headerEnd" }] : /* istanbul ignore next */ []));
19
+ backButtonClick = output();
20
+ tabChange = output();
21
+ rtl = signal(document.documentElement.dir === 'rtl', ...(ngDevMode ? [{ debugName: "rtl" }] : /* istanbul ignore next */ []));
22
+ backIcon = computed(() => {
23
+ if (this.backButtonIcon() === 'close') {
24
+ return 'general.x-close';
25
+ }
26
+ return this.rtl() ? 'arrow.arrow-narrow-right' : 'arrow.arrow-narrow-left';
27
+ }, ...(ngDevMode ? [{ debugName: "backIcon" }] : /* istanbul ignore next */ []));
28
+ hasTabs = computed(() => this.tabs().length > 0, ...(ngDevMode ? [{ debugName: "hasTabs" }] : /* istanbul ignore next */ []));
29
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: PageHeader, deps: [], target: i0.ɵɵFactoryTarget.Component });
30
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: PageHeader, isStandalone: true, selector: "mt-page-header", inputs: { backButton: { classPropertyName: "backButton", publicName: "backButton", isSignal: true, isRequired: false, transformFunction: null }, backButtonIcon: { classPropertyName: "backButtonIcon", publicName: "backButtonIcon", isSignal: true, isRequired: false, transformFunction: null }, avatarIcon: { classPropertyName: "avatarIcon", publicName: "avatarIcon", isSignal: true, isRequired: false, transformFunction: null }, avatarStyle: { classPropertyName: "avatarStyle", publicName: "avatarStyle", isSignal: true, isRequired: false, transformFunction: null }, avatarShape: { classPropertyName: "avatarShape", publicName: "avatarShape", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, tabs: { classPropertyName: "tabs", publicName: "tabs", isSignal: true, isRequired: false, transformFunction: null }, activeTab: { classPropertyName: "activeTab", publicName: "activeTab", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { backButtonClick: "backButtonClick", tabChange: "tabChange" }, queries: [{ propertyName: "titleEnd", first: true, predicate: ["titleEnd"], descendants: true, isSignal: true }, { propertyName: "headerEnd", first: true, predicate: ["headerEnd"], descendants: true, isSignal: true }], ngImport: i0, template: "<div\r\n class=\"grid grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-3 bg-content p-3 border-b border-surface min-h-18.5 max-[1025px]:flex max-[1025px]:flex-wrap max-[1025px]:items-center\"\r\n>\r\n <div class=\"flex min-w-0 items-center gap-2 max-[1025px]:flex-wrap\">\r\n @if (backButton()) {\r\n <mt-button\r\n [text]=\"true\"\r\n [icon]=\"backIcon()\"\r\n size=\"large\"\r\n (click)=\"backButtonClick.emit()\"\r\n >\r\n </mt-button>\r\n }\r\n\r\n @if (avatarIcon()) {\r\n <mt-avatar\r\n [icon]=\"avatarIcon()\"\r\n [shape]=\"avatarShape()\"\r\n [style]=\"avatarStyle()\"\r\n >\r\n </mt-avatar>\r\n }\r\n\r\n <!-- <h1>, not <h3>: this is the page's own title and every page routes\r\n through this header, so promoting it here gives the whole app the\r\n single top-level heading it was missing (finding H-04 \u2014 measured as\r\n zero <h1> on every page). The size and weight are set by the classes,\r\n so nothing changes visually. -->\r\n <h1 class=\"min-w-0 truncate font-bold text-lg\">{{ title() }}</h1>\r\n\r\n @if (titleEnd(); as template) {\r\n <ng-container [ngTemplateOutlet]=\"template\" />\r\n }\r\n </div>\r\n\r\n @if (hasTabs()) {\r\n <div class=\"min-w-0 justify-self-center\">\r\n <div class=\"min-w-0 max-[1025px]:overflow-x-auto\">\r\n <mt-tabs\r\n class=\"max-[1025px]:min-w-max\"\r\n [options]=\"tabs()\"\r\n [active]=\"activeTab()\"\r\n size=\"large\"\r\n (onChange)=\"tabChange.emit($event)\"\r\n >\r\n </mt-tabs>\r\n </div>\r\n </div>\r\n }\r\n\r\n <div\r\n class=\"min-w-0 justify-self-end min-[1025px]:col-start-3 min-[1025px]:col-end-4 max-[1025px]:ml-auto\"\r\n >\r\n @if (headerEnd(); as template) {\r\n <div class=\"flex gap-2 max-[1025px]:flex-wrap justify-end\">\r\n <ng-container [ngTemplateOutlet]=\"template\" />\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "component", type: Avatar, selector: "mt-avatar", inputs: ["label", "icon", "image", "styleClass", "size", "shape", "badge", "badgeSize", "badgeSeverity"], outputs: ["onImageError"] }, { kind: "component", type: Button, selector: "mt-button", inputs: ["icon", "label", "tooltip", "class", "type", "styleClass", "severity", "badge", "variant", "badgeSeverity", "size", "iconPos", "autofocus", "fluid", "raised", "rounded", "text", "plain", "outlined", "link", "disabled", "loading", "pInputs", "ariaLabel"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "component", type: Tabs, selector: "mt-tabs", inputs: ["options", "optionLabel", "optionValue", "active", "mode", "moreLabel", "defaultIcon", "size", "fluid", "disabled", "searchThreshold"], outputs: ["activeChange", "onChange"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
31
+ }
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: PageHeader, decorators: [{
33
+ type: Component,
34
+ args: [{ selector: 'mt-page-header', standalone: true, imports: [Avatar, Button, Tabs, NgTemplateOutlet], template: "<div\r\n class=\"grid grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-3 bg-content p-3 border-b border-surface min-h-18.5 max-[1025px]:flex max-[1025px]:flex-wrap max-[1025px]:items-center\"\r\n>\r\n <div class=\"flex min-w-0 items-center gap-2 max-[1025px]:flex-wrap\">\r\n @if (backButton()) {\r\n <mt-button\r\n [text]=\"true\"\r\n [icon]=\"backIcon()\"\r\n size=\"large\"\r\n (click)=\"backButtonClick.emit()\"\r\n >\r\n </mt-button>\r\n }\r\n\r\n @if (avatarIcon()) {\r\n <mt-avatar\r\n [icon]=\"avatarIcon()\"\r\n [shape]=\"avatarShape()\"\r\n [style]=\"avatarStyle()\"\r\n >\r\n </mt-avatar>\r\n }\r\n\r\n <!-- <h1>, not <h3>: this is the page's own title and every page routes\r\n through this header, so promoting it here gives the whole app the\r\n single top-level heading it was missing (finding H-04 \u2014 measured as\r\n zero <h1> on every page). The size and weight are set by the classes,\r\n so nothing changes visually. -->\r\n <h1 class=\"min-w-0 truncate font-bold text-lg\">{{ title() }}</h1>\r\n\r\n @if (titleEnd(); as template) {\r\n <ng-container [ngTemplateOutlet]=\"template\" />\r\n }\r\n </div>\r\n\r\n @if (hasTabs()) {\r\n <div class=\"min-w-0 justify-self-center\">\r\n <div class=\"min-w-0 max-[1025px]:overflow-x-auto\">\r\n <mt-tabs\r\n class=\"max-[1025px]:min-w-max\"\r\n [options]=\"tabs()\"\r\n [active]=\"activeTab()\"\r\n size=\"large\"\r\n (onChange)=\"tabChange.emit($event)\"\r\n >\r\n </mt-tabs>\r\n </div>\r\n </div>\r\n }\r\n\r\n <div\r\n class=\"min-w-0 justify-self-end min-[1025px]:col-start-3 min-[1025px]:col-end-4 max-[1025px]:ml-auto\"\r\n >\r\n @if (headerEnd(); as template) {\r\n <div class=\"flex gap-2 max-[1025px]:flex-wrap justify-end\">\r\n <ng-container [ngTemplateOutlet]=\"template\" />\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n" }]
35
+ }], propDecorators: { backButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "backButton", required: false }] }], backButtonIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "backButtonIcon", required: false }] }], avatarIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarIcon", required: false }] }], avatarStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarStyle", required: false }] }], avatarShape: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarShape", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: true }] }], tabs: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabs", required: false }] }], activeTab: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeTab", required: false }] }], titleEnd: [{ type: i0.ContentChild, args: ['titleEnd', { isSignal: true }] }], headerEnd: [{ type: i0.ContentChild, args: ['headerEnd', { isSignal: true }] }], backButtonClick: [{ type: i0.Output, args: ["backButtonClick"] }], tabChange: [{ type: i0.Output, args: ["tabChange"] }] } });
36
+
37
+ /**
38
+ * Generated bundle index. Do not edit.
39
+ */
40
+
41
+ export { PageHeader };
42
+ //# sourceMappingURL=masterteam-components-page-header.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"masterteam-components-page-header.mjs","sources":["../../../../packages/masterteam/components/page-header/page-header.ts","../../../../packages/masterteam/components/page-header/page-header.html","../../../../packages/masterteam/components/page-header/masterteam-components-page-header.ts"],"sourcesContent":["import { NgTemplateOutlet } from '@angular/common';\r\nimport {\r\n Component,\r\n input,\r\n output,\r\n computed,\r\n contentChild,\r\n TemplateRef,\r\n signal,\r\n booleanAttribute,\r\n} from '@angular/core';\r\nimport { Avatar } from '@masterteam/components/avatar';\r\nimport { Button } from '@masterteam/components/button';\r\nimport { Tabs } from '@masterteam/components/tabs';\r\nimport { MTIcon } from '@masterteam/icons';\r\n\r\nexport interface PageHeaderTab {\r\n label: string;\r\n value: string | number;\r\n}\r\n\r\n@Component({\r\n selector: 'mt-page-header',\r\n standalone: true,\r\n imports: [Avatar, Button, Tabs, NgTemplateOutlet],\r\n templateUrl: './page-header.html',\r\n})\r\nexport class PageHeader {\r\n backButton = input<boolean, unknown>(false, { transform: booleanAttribute });\r\n backButtonIcon = input<'arrow' | 'close'>('arrow');\r\n avatarIcon = input<MTIcon>();\r\n avatarStyle = input<Record<string, string>>({});\r\n avatarShape = input<'circle' | 'square'>('square');\r\n title = input.required<string>();\r\n tabs = input<PageHeaderTab[]>([]);\r\n activeTab = input<string | number>();\r\n\r\n titleEnd = contentChild<TemplateRef<any>>('titleEnd');\r\n headerEnd = contentChild<TemplateRef<any>>('headerEnd');\r\n\r\n backButtonClick = output<void>();\r\n tabChange = output<string | number>();\r\n\r\n rtl = signal<boolean>(document.documentElement.dir === 'rtl');\r\n\r\n backIcon = computed(() => {\r\n if (this.backButtonIcon() === 'close') {\r\n return 'general.x-close';\r\n }\r\n return this.rtl() ? 'arrow.arrow-narrow-right' : 'arrow.arrow-narrow-left';\r\n });\r\n\r\n hasTabs = computed(() => this.tabs().length > 0);\r\n}\r\n","<div\r\n class=\"grid grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-3 bg-content p-3 border-b border-surface min-h-18.5 max-[1025px]:flex max-[1025px]:flex-wrap max-[1025px]:items-center\"\r\n>\r\n <div class=\"flex min-w-0 items-center gap-2 max-[1025px]:flex-wrap\">\r\n @if (backButton()) {\r\n <mt-button\r\n [text]=\"true\"\r\n [icon]=\"backIcon()\"\r\n size=\"large\"\r\n (click)=\"backButtonClick.emit()\"\r\n >\r\n </mt-button>\r\n }\r\n\r\n @if (avatarIcon()) {\r\n <mt-avatar\r\n [icon]=\"avatarIcon()\"\r\n [shape]=\"avatarShape()\"\r\n [style]=\"avatarStyle()\"\r\n >\r\n </mt-avatar>\r\n }\r\n\r\n <!-- <h1>, not <h3>: this is the page's own title and every page routes\r\n through this header, so promoting it here gives the whole app the\r\n single top-level heading it was missing (finding H-04 — measured as\r\n zero <h1> on every page). The size and weight are set by the classes,\r\n so nothing changes visually. -->\r\n <h1 class=\"min-w-0 truncate font-bold text-lg\">{{ title() }}</h1>\r\n\r\n @if (titleEnd(); as template) {\r\n <ng-container [ngTemplateOutlet]=\"template\" />\r\n }\r\n </div>\r\n\r\n @if (hasTabs()) {\r\n <div class=\"min-w-0 justify-self-center\">\r\n <div class=\"min-w-0 max-[1025px]:overflow-x-auto\">\r\n <mt-tabs\r\n class=\"max-[1025px]:min-w-max\"\r\n [options]=\"tabs()\"\r\n [active]=\"activeTab()\"\r\n size=\"large\"\r\n (onChange)=\"tabChange.emit($event)\"\r\n >\r\n </mt-tabs>\r\n </div>\r\n </div>\r\n }\r\n\r\n <div\r\n class=\"min-w-0 justify-self-end min-[1025px]:col-start-3 min-[1025px]:col-end-4 max-[1025px]:ml-auto\"\r\n >\r\n @if (headerEnd(); as template) {\r\n <div class=\"flex gap-2 max-[1025px]:flex-wrap justify-end\">\r\n <ng-container [ngTemplateOutlet]=\"template\" />\r\n </div>\r\n }\r\n </div>\r\n</div>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;MA2Ba,UAAU,CAAA;IACrB,UAAU,GAAG,KAAK,CAAmB,KAAK,kFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAC5E,IAAA,cAAc,GAAG,KAAK,CAAoB,OAAO,qFAAC;IAClD,UAAU,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,YAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAU;AAC5B,IAAA,WAAW,GAAG,KAAK,CAAyB,EAAE,kFAAC;AAC/C,IAAA,WAAW,GAAG,KAAK,CAAsB,QAAQ,kFAAC;AAClD,IAAA,KAAK,GAAG,KAAK,CAAC,QAAQ,2EAAU;AAChC,IAAA,IAAI,GAAG,KAAK,CAAkB,EAAE,2EAAC;IACjC,SAAS,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAmB;AAEpC,IAAA,QAAQ,GAAG,YAAY,CAAmB,UAAU,+EAAC;AACrD,IAAA,SAAS,GAAG,YAAY,CAAmB,WAAW,gFAAC;IAEvD,eAAe,GAAG,MAAM,EAAQ;IAChC,SAAS,GAAG,MAAM,EAAmB;IAErC,GAAG,GAA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,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CAAA,UAAU,sEACT,WAAW,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,WAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEtCxD;;AAEG;;;;"}
@@ -0,0 +1,35 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, booleanAttribute, contentChild, viewChild, output, Component } from '@angular/core';
3
+ import { PageHeader } from '@masterteam/components/page-header';
4
+ import { NgTemplateOutlet } from '@angular/common';
5
+
6
+ class Page {
7
+ backButton = input(false, { ...(ngDevMode ? { debugName: "backButton" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
8
+ backButtonIcon = input(...(ngDevMode ? [undefined, { debugName: "backButtonIcon" }] : /* istanbul ignore next */ []));
9
+ avatarIcon = input(...(ngDevMode ? [undefined, { debugName: "avatarIcon" }] : /* istanbul ignore next */ []));
10
+ avatarStyle = input(...(ngDevMode ? [undefined, { debugName: "avatarStyle" }] : /* istanbul ignore next */ []));
11
+ avatarShape = input(...(ngDevMode ? [undefined, { debugName: "avatarShape" }] : /* istanbul ignore next */ []));
12
+ title = input.required(...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
13
+ tabs = input([], ...(ngDevMode ? [{ debugName: "tabs" }] : /* istanbul ignore next */ []));
14
+ activeTab = input(...(ngDevMode ? [undefined, { debugName: "activeTab" }] : /* istanbul ignore next */ []));
15
+ contentClass = input('', ...(ngDevMode ? [{ debugName: "contentClass" }] : /* istanbul ignore next */ []));
16
+ contentId = input(...(ngDevMode ? [undefined, { debugName: "contentId" }] : /* istanbul ignore next */ []));
17
+ titleEnd = contentChild('titleEnd', ...(ngDevMode ? [{ debugName: "titleEnd" }] : /* istanbul ignore next */ []));
18
+ headerEnd = contentChild('headerEnd', ...(ngDevMode ? [{ debugName: "headerEnd" }] : /* istanbul ignore next */ []));
19
+ content = viewChild('content', ...(ngDevMode ? [{ debugName: "content" }] : /* istanbul ignore next */ []));
20
+ backButtonClick = output();
21
+ tabChange = output();
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: Page, deps: [], target: i0.ɵɵFactoryTarget.Component });
23
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: Page, isStandalone: true, selector: "mt-page", inputs: { backButton: { classPropertyName: "backButton", publicName: "backButton", isSignal: true, isRequired: false, transformFunction: null }, backButtonIcon: { classPropertyName: "backButtonIcon", publicName: "backButtonIcon", isSignal: true, isRequired: false, transformFunction: null }, avatarIcon: { classPropertyName: "avatarIcon", publicName: "avatarIcon", isSignal: true, isRequired: false, transformFunction: null }, avatarStyle: { classPropertyName: "avatarStyle", publicName: "avatarStyle", isSignal: true, isRequired: false, transformFunction: null }, avatarShape: { classPropertyName: "avatarShape", publicName: "avatarShape", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, tabs: { classPropertyName: "tabs", publicName: "tabs", isSignal: true, isRequired: false, transformFunction: null }, activeTab: { classPropertyName: "activeTab", publicName: "activeTab", isSignal: true, isRequired: false, transformFunction: null }, contentClass: { classPropertyName: "contentClass", publicName: "contentClass", isSignal: true, isRequired: false, transformFunction: null }, contentId: { classPropertyName: "contentId", publicName: "contentId", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { backButtonClick: "backButtonClick", tabChange: "tabChange" }, host: { properties: { "attr.title": "null" } }, queries: [{ propertyName: "titleEnd", first: true, predicate: ["titleEnd"], descendants: true, isSignal: true }, { propertyName: "headerEnd", first: true, predicate: ["headerEnd"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true, isSignal: true }], ngImport: i0, template: "<div class=\"page h-full flex flex-col\">\r\n <mt-page-header\r\n [backButton]=\"backButton()\"\r\n [backButtonIcon]=\"backButtonIcon()\"\r\n [avatarIcon]=\"avatarIcon()\"\r\n [avatarStyle]=\"avatarStyle()\"\r\n [avatarShape]=\"avatarShape()\"\r\n [title]=\"title()\"\r\n [tabs]=\"tabs()\"\r\n [activeTab]=\"activeTab()\"\r\n (backButtonClick)=\"backButtonClick.emit()\"\r\n (tabChange)=\"tabChange.emit($event)\"\r\n >\r\n @if (titleEnd(); as template) {\r\n <ng-template #titleEnd>\r\n <ng-container [ngTemplateOutlet]=\"template\" />\r\n </ng-template>\r\n }\r\n\r\n @if (headerEnd(); as template) {\r\n <ng-template #headerEnd>\r\n <ng-container [ngTemplateOutlet]=\"template\" />\r\n </ng-template>\r\n }\r\n </mt-page-header>\r\n <div\r\n [class]=\"'flex-1 relative overflow-x-hidden '\"\r\n [id]=\"contentId() ?? 'page-content'\"\r\n >\r\n <div\r\n [class]=\"'h-full w-full overflow-y-auto p-5 ' + contentClass()\"\r\n #content\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n", dependencies: [{ kind: "component", type: PageHeader, selector: "mt-page-header", inputs: ["backButton", "backButtonIcon", "avatarIcon", "avatarStyle", "avatarShape", "title", "tabs", "activeTab"], outputs: ["backButtonClick", "tabChange"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
24
+ }
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: Page, decorators: [{
26
+ type: Component,
27
+ args: [{ selector: 'mt-page', standalone: true, imports: [PageHeader, NgTemplateOutlet], host: { '[attr.title]': 'null' }, template: "<div class=\"page h-full flex flex-col\">\r\n <mt-page-header\r\n [backButton]=\"backButton()\"\r\n [backButtonIcon]=\"backButtonIcon()\"\r\n [avatarIcon]=\"avatarIcon()\"\r\n [avatarStyle]=\"avatarStyle()\"\r\n [avatarShape]=\"avatarShape()\"\r\n [title]=\"title()\"\r\n [tabs]=\"tabs()\"\r\n [activeTab]=\"activeTab()\"\r\n (backButtonClick)=\"backButtonClick.emit()\"\r\n (tabChange)=\"tabChange.emit($event)\"\r\n >\r\n @if (titleEnd(); as template) {\r\n <ng-template #titleEnd>\r\n <ng-container [ngTemplateOutlet]=\"template\" />\r\n </ng-template>\r\n }\r\n\r\n @if (headerEnd(); as template) {\r\n <ng-template #headerEnd>\r\n <ng-container [ngTemplateOutlet]=\"template\" />\r\n </ng-template>\r\n }\r\n </mt-page-header>\r\n <div\r\n [class]=\"'flex-1 relative overflow-x-hidden '\"\r\n [id]=\"contentId() ?? 'page-content'\"\r\n >\r\n <div\r\n [class]=\"'h-full w-full overflow-y-auto p-5 ' + contentClass()\"\r\n #content\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
28
+ }], propDecorators: { backButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "backButton", required: false }] }], backButtonIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "backButtonIcon", required: false }] }], avatarIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarIcon", required: false }] }], avatarStyle: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarStyle", required: false }] }], avatarShape: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarShape", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: true }] }], tabs: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabs", required: false }] }], activeTab: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeTab", required: false }] }], contentClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentClass", required: false }] }], contentId: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentId", required: false }] }], titleEnd: [{ type: i0.ContentChild, args: ['titleEnd', { isSignal: true }] }], headerEnd: [{ type: i0.ContentChild, args: ['headerEnd', { isSignal: true }] }], content: [{ type: i0.ViewChild, args: ['content', { isSignal: true }] }], backButtonClick: [{ type: i0.Output, args: ["backButtonClick"] }], tabChange: [{ type: i0.Output, args: ["tabChange"] }] } });
29
+
30
+ /**
31
+ * Generated bundle index. Do not edit.
32
+ */
33
+
34
+ export { Page };
35
+ //# sourceMappingURL=masterteam-components-page.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"masterteam-components-page.mjs","sources":["../../../../packages/masterteam/components/page/page.ts","../../../../packages/masterteam/components/page/page.html","../../../../packages/masterteam/components/page/masterteam-components-page.ts"],"sourcesContent":["import {\r\n Component,\r\n input,\r\n output,\r\n contentChild,\r\n TemplateRef,\r\n viewChild,\r\n ElementRef,\r\n booleanAttribute,\r\n} from '@angular/core';\r\nimport { PageHeader, PageHeaderTab } from '@masterteam/components/page-header';\r\nimport { MTIcon } from '@masterteam/icons';\r\nimport { NgTemplateOutlet } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'mt-page',\r\n standalone: true,\r\n imports: [PageHeader, NgTemplateOutlet],\r\n templateUrl: './page.html',\r\n // A static `title=\"…\"` binding is also the HTML global title attribute, so\r\n // the browser showed it as a native tooltip over the ENTIRE page content.\r\n // Strip it from the host - the input still receives the value.\r\n host: { '[attr.title]': 'null' },\r\n})\r\nexport class Page {\r\n backButton = input<boolean, unknown>(false, { transform: booleanAttribute });\r\n backButtonIcon = input<'arrow' | 'close'>();\r\n avatarIcon = input<MTIcon>();\r\n avatarStyle = input<Record<string, string>>();\r\n avatarShape = input<'circle' | 'square'>();\r\n title = input.required<string>();\r\n tabs = input<PageHeaderTab[]>([]);\r\n activeTab = input<string | number>();\r\n contentClass = input<string>('');\r\n contentId = input<string>();\r\n\r\n titleEnd = contentChild<TemplateRef<any>>('titleEnd');\r\n headerEnd = contentChild<TemplateRef<any>>('headerEnd');\r\n content = viewChild<ElementRef<HTMLElement>>('content');\r\n\r\n backButtonClick = output<void>();\r\n tabChange = output<string | number>();\r\n}\r\n","<div class=\"page h-full flex flex-col\">\r\n <mt-page-header\r\n [backButton]=\"backButton()\"\r\n [backButtonIcon]=\"backButtonIcon()\"\r\n [avatarIcon]=\"avatarIcon()\"\r\n [avatarStyle]=\"avatarStyle()\"\r\n [avatarShape]=\"avatarShape()\"\r\n [title]=\"title()\"\r\n [tabs]=\"tabs()\"\r\n [activeTab]=\"activeTab()\"\r\n (backButtonClick)=\"backButtonClick.emit()\"\r\n (tabChange)=\"tabChange.emit($event)\"\r\n >\r\n @if (titleEnd(); as template) {\r\n <ng-template #titleEnd>\r\n <ng-container [ngTemplateOutlet]=\"template\" />\r\n </ng-template>\r\n }\r\n\r\n @if (headerEnd(); as template) {\r\n <ng-template #headerEnd>\r\n <ng-container [ngTemplateOutlet]=\"template\" />\r\n </ng-template>\r\n }\r\n </mt-page-header>\r\n <div\r\n [class]=\"'flex-1 relative overflow-x-hidden '\"\r\n [id]=\"contentId() ?? 'page-content'\"\r\n >\r\n <div\r\n [class]=\"'h-full w-full overflow-y-auto p-5 ' + contentClass()\"\r\n #content\r\n >\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</div>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAwBa,IAAI,CAAA;IACf,UAAU,GAAG,KAAK,CAAmB,KAAK,kFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;IAC5E,cAAc,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAqB;IAC3C,UAAU,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,YAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAU;IAC5B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E,gBAAgB,CAAC,EAAA,IAAA,EAKjC,EAAE,cAAc,EAAE,MAAM,EAAE,EAAA,QAAA,EAAA,gmCAAA,EAAA;siCAcU,UAAU,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,YAAA,EAAA,IAAA,EAAA,CACT,WAAW,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,OAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,SAAA,EAAA,IAAA,EAAA,CACT,SAAS,EAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,CAAA,EAAA,SAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,MAAA,EAAA,IAAA,EAAA,CAAA,WAAA,CAAA,EAAA,CAAA,EAAA,EAAA,CAAA;;AEtCxD;;AAEG;;;;"}
@@ -0,0 +1,43 @@
1
+ import * as i0 from '@angular/core';
2
+ import { model, input, booleanAttribute, output, Component } from '@angular/core';
3
+ import { FormsModule } from '@angular/forms';
4
+ import * as i1 from 'primeng/paginator';
5
+ import { PaginatorModule } from 'primeng/paginator';
6
+ import { TranslocoModule } from '@jsverse/transloco';
7
+ import * as i2 from 'primeng/api';
8
+
9
+ class Paginator {
10
+ rows = model(10, ...(ngDevMode ? [{ debugName: "rows" }] : /* istanbul ignore next */ []));
11
+ totalRecords = input(0, ...(ngDevMode ? [{ debugName: "totalRecords" }] : /* istanbul ignore next */ []));
12
+ first = model(0, ...(ngDevMode ? [{ debugName: "first" }] : /* istanbul ignore next */ []));
13
+ page = model(0, ...(ngDevMode ? [{ debugName: "page" }] : /* istanbul ignore next */ []));
14
+ rowsPerPageOptions = input(undefined, ...(ngDevMode ? [{ debugName: "rowsPerPageOptions" }] : /* istanbul ignore next */ []));
15
+ showFirstLastIcon = input(false, { ...(ngDevMode ? { debugName: "showFirstLastIcon" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
16
+ showCurrentPageReport = input(false, { ...(ngDevMode ? { debugName: "showCurrentPageReport" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
17
+ fluid = input(false, { ...(ngDevMode ? { debugName: "fluid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
18
+ // Paginator Inputs
19
+ pageLinkSize = input(6, ...(ngDevMode ? [{ debugName: "pageLinkSize" }] : /* istanbul ignore next */ []));
20
+ alwaysShow = input(true, { ...(ngDevMode ? { debugName: "alwaysShow" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
21
+ onPageChange = output();
22
+ onPaginatorChange(event) {
23
+ this.first.set(event.first);
24
+ this.page.set(event.page);
25
+ this.rows.set(event.rows);
26
+ this.onPageChange.emit(event);
27
+ }
28
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: Paginator, deps: [], target: i0.ɵɵFactoryTarget.Component });
29
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.8", type: Paginator, isStandalone: true, selector: "mt-paginator", inputs: { rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, totalRecords: { classPropertyName: "totalRecords", publicName: "totalRecords", isSignal: true, isRequired: false, transformFunction: null }, first: { classPropertyName: "first", publicName: "first", isSignal: true, isRequired: false, transformFunction: null }, page: { classPropertyName: "page", publicName: "page", isSignal: true, isRequired: false, transformFunction: null }, rowsPerPageOptions: { classPropertyName: "rowsPerPageOptions", publicName: "rowsPerPageOptions", isSignal: true, isRequired: false, transformFunction: null }, showFirstLastIcon: { classPropertyName: "showFirstLastIcon", publicName: "showFirstLastIcon", isSignal: true, isRequired: false, transformFunction: null }, showCurrentPageReport: { classPropertyName: "showCurrentPageReport", publicName: "showCurrentPageReport", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, pageLinkSize: { classPropertyName: "pageLinkSize", publicName: "pageLinkSize", isSignal: true, isRequired: false, transformFunction: null }, alwaysShow: { classPropertyName: "alwaysShow", publicName: "alwaysShow", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { rows: "rowsChange", first: "firstChange", page: "pageChange", onPageChange: "onPageChange" }, host: { classAttribute: "grid gap-1" }, ngImport: i0, template: "<p-paginator\r\n [rows]=\"rows()\"\r\n [totalRecords]=\"totalRecords()\"\r\n [first]=\"first()\"\r\n [pageLinkSize]=\"pageLinkSize()\"\r\n [rowsPerPageOptions]=\"rowsPerPageOptions()\"\r\n [showFirstLastIcon]=\"showFirstLastIcon()\"\r\n [showCurrentPageReport]=\"showCurrentPageReport()\"\r\n [alwaysShow]=\"alwaysShow()\"\r\n (onPageChange)=\"onPaginatorChange($event)\"\r\n appendTo=\"body\"\r\n>\r\n <ng-template pTemplate=\"previouspagelinkicon\">\r\n <svg\r\n class=\"rtl:rotate-180\"\r\n width=\"12\"\r\n height=\"12\"\r\n viewBox=\"0 0 14 14\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M8.16602 3.5L4.66602 7L8.16602 10.5\"\r\n stroke=\"currentColor\"\r\n stroke-width=\"1.67\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"nextpagelinkicon\">\r\n <svg\r\n class=\"rtl:rotate-180\"\r\n width=\"12\"\r\n height=\"12\"\r\n viewBox=\"0 0 14 14\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M5.83398 3.5L9.33398 7L5.83398 10.5\"\r\n stroke=\"currentColor\"\r\n stroke-width=\"1.67\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </ng-template>\r\n</p-paginator>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: PaginatorModule }, { kind: "component", type: i1.Paginator, selector: "p-paginator", inputs: ["pageLinkSize", "styleClass", "alwaysShow", "dropdownAppendTo", "templateLeft", "templateRight", "dropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showFirstLastIcon", "totalRecords", "rows", "rowsPerPageOptions", "showJumpToPageDropdown", "showJumpToPageInput", "jumpToPageItemTemplate", "showPageLinks", "locale", "dropdownItemTemplate", "first", "appendTo"], outputs: ["onPageChange"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: TranslocoModule }] });
30
+ }
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: Paginator, decorators: [{
32
+ type: Component,
33
+ args: [{ selector: 'mt-paginator', standalone: true, imports: [FormsModule, PaginatorModule, TranslocoModule], host: {
34
+ class: 'grid gap-1',
35
+ }, template: "<p-paginator\r\n [rows]=\"rows()\"\r\n [totalRecords]=\"totalRecords()\"\r\n [first]=\"first()\"\r\n [pageLinkSize]=\"pageLinkSize()\"\r\n [rowsPerPageOptions]=\"rowsPerPageOptions()\"\r\n [showFirstLastIcon]=\"showFirstLastIcon()\"\r\n [showCurrentPageReport]=\"showCurrentPageReport()\"\r\n [alwaysShow]=\"alwaysShow()\"\r\n (onPageChange)=\"onPaginatorChange($event)\"\r\n appendTo=\"body\"\r\n>\r\n <ng-template pTemplate=\"previouspagelinkicon\">\r\n <svg\r\n class=\"rtl:rotate-180\"\r\n width=\"12\"\r\n height=\"12\"\r\n viewBox=\"0 0 14 14\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M8.16602 3.5L4.66602 7L8.16602 10.5\"\r\n stroke=\"currentColor\"\r\n stroke-width=\"1.67\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"nextpagelinkicon\">\r\n <svg\r\n class=\"rtl:rotate-180\"\r\n width=\"12\"\r\n height=\"12\"\r\n viewBox=\"0 0 14 14\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M5.83398 3.5L9.33398 7L5.83398 10.5\"\r\n stroke=\"currentColor\"\r\n stroke-width=\"1.67\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </ng-template>\r\n</p-paginator>\r\n" }]
36
+ }], propDecorators: { rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }, { type: i0.Output, args: ["rowsChange"] }], totalRecords: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalRecords", required: false }] }], first: [{ type: i0.Input, args: [{ isSignal: true, alias: "first", required: false }] }, { type: i0.Output, args: ["firstChange"] }], page: [{ type: i0.Input, args: [{ isSignal: true, alias: "page", required: false }] }, { type: i0.Output, args: ["pageChange"] }], rowsPerPageOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "rowsPerPageOptions", required: false }] }], showFirstLastIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFirstLastIcon", required: false }] }], showCurrentPageReport: [{ type: i0.Input, args: [{ isSignal: true, alias: "showCurrentPageReport", required: false }] }], fluid: [{ type: i0.Input, args: [{ isSignal: true, alias: "fluid", required: false }] }], pageLinkSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageLinkSize", required: false }] }], alwaysShow: [{ type: i0.Input, args: [{ isSignal: true, alias: "alwaysShow", required: false }] }], onPageChange: [{ type: i0.Output, args: ["onPageChange"] }] } });
37
+
38
+ /**
39
+ * Generated bundle index. Do not edit.
40
+ */
41
+
42
+ export { Paginator };
43
+ //# sourceMappingURL=masterteam-components-paginator.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"masterteam-components-paginator.mjs","sources":["../../../../packages/masterteam/components/paginator/paginator.ts","../../../../packages/masterteam/components/paginator/paginator.html","../../../../packages/masterteam/components/paginator/masterteam-components-paginator.ts"],"sourcesContent":["import {\r\n booleanAttribute,\r\n Component,\r\n input,\r\n output,\r\n model,\r\n} from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { PaginatorModule } from 'primeng/paginator';\r\nimport { TranslocoModule } from '@jsverse/transloco';\r\n\r\n@Component({\r\n selector: 'mt-paginator',\r\n standalone: true,\r\n imports: [FormsModule, PaginatorModule, TranslocoModule],\r\n templateUrl: './paginator.html',\r\n styleUrls: ['./paginator.scss'],\r\n host: {\r\n class: 'grid gap-1',\r\n },\r\n})\r\nexport class Paginator {\r\n readonly rows = model<number>(10);\r\n readonly totalRecords = input<number>(0);\r\n readonly first = model<number>(0);\r\n readonly page = model<number>(0);\r\n readonly rowsPerPageOptions = input<number[] | undefined>(undefined);\r\n readonly showFirstLastIcon = input<boolean, unknown>(false, {\r\n transform: booleanAttribute,\r\n });\r\n\r\n readonly showCurrentPageReport = input<boolean, unknown>(false, {\r\n transform: booleanAttribute,\r\n });\r\n readonly fluid = input<boolean, unknown>(false, {\r\n transform: booleanAttribute,\r\n });\r\n\r\n // Paginator Inputs\r\n readonly pageLinkSize = input<number | undefined>(6);\r\n readonly alwaysShow = input<boolean, unknown>(true, {\r\n transform: booleanAttribute,\r\n });\r\n\r\n readonly onPageChange = output<any>();\r\n\r\n onPaginatorChange(event: any) {\r\n this.first.set(event.first);\r\n this.page.set(event.page);\r\n this.rows.set(event.rows);\r\n this.onPageChange.emit(event);\r\n }\r\n}\r\n","<p-paginator\r\n [rows]=\"rows()\"\r\n [totalRecords]=\"totalRecords()\"\r\n [first]=\"first()\"\r\n [pageLinkSize]=\"pageLinkSize()\"\r\n [rowsPerPageOptions]=\"rowsPerPageOptions()\"\r\n [showFirstLastIcon]=\"showFirstLastIcon()\"\r\n [showCurrentPageReport]=\"showCurrentPageReport()\"\r\n [alwaysShow]=\"alwaysShow()\"\r\n (onPageChange)=\"onPaginatorChange($event)\"\r\n appendTo=\"body\"\r\n>\r\n <ng-template pTemplate=\"previouspagelinkicon\">\r\n <svg\r\n class=\"rtl:rotate-180\"\r\n width=\"12\"\r\n height=\"12\"\r\n viewBox=\"0 0 14 14\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M8.16602 3.5L4.66602 7L8.16602 10.5\"\r\n stroke=\"currentColor\"\r\n stroke-width=\"1.67\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"nextpagelinkicon\">\r\n <svg\r\n class=\"rtl:rotate-180\"\r\n width=\"12\"\r\n height=\"12\"\r\n viewBox=\"0 0 14 14\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n >\r\n <path\r\n d=\"M5.83398 3.5L9.33398 7L5.83398 10.5\"\r\n stroke=\"currentColor\"\r\n stroke-width=\"1.67\"\r\n stroke-linecap=\"round\"\r\n stroke-linejoin=\"round\"\r\n />\r\n </svg>\r\n </ng-template>\r\n</p-paginator>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;MAqBa,SAAS,CAAA;AACX,IAAA,IAAI,GAAG,KAAK,CAAS,EAAE,2EAAC;AACxB,IAAA,YAAY,GAAG,KAAK,CAAS,CAAC,mFAAC;AAC/B,IAAA,KAAK,GAAG,KAAK,CAAS,CAAC,4EAAC;AACxB,IAAA,IAAI,GAAG,KAAK,CAAS,CAAC,2EAAC;AACvB,IAAA,kBAAkB,GAAG,KAAK,CAAuB,SAAS,yFAAC;IAC3D,iBAAiB,GAAG,KAAK,CAAmB,KAAK,yFACxD,SAAS,EAA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AAe,EAAE,eAAe,CAAC,EAAA,IAAA,EAGlD;AACJ,wBAAA,KAAK,EAAE,YAAY;AACpB,qBAAA,EAAA,QAAA,EAAA,06CAAA,EAAA;;;AEnBH;;AAEG;;;;"}
@@ -0,0 +1,210 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, input, computed, signal, effect, ViewChild, HostBinding, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import { Validators, NgControl } from '@angular/forms';
4
+ import * as i1 from 'primeng/picklist';
5
+ import { PickListModule } from 'primeng/picklist';
6
+ import { TranslocoService } from '@jsverse/transloco';
7
+ import { FieldValidation } from '@masterteam/components/field-validation';
8
+ import { nextFieldId, resolveFieldId, isInvalid } from '@masterteam/components';
9
+ import * as i2 from 'primeng/api';
10
+
11
+ class PickListField {
12
+ transloco = inject(TranslocoService);
13
+ label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
14
+ /** Fallback so a control-less, label-less field never renders id="undefined". */
15
+ defaultFieldId = nextFieldId('mt-pick-list-field');
16
+ /** Shared by the input and its <label for>. See src/lib/utils/field-id. */
17
+ fieldId = computed(() => resolveFieldId(this.ngControl?.name, this.label(), this.defaultFieldId), ...(ngDevMode ? [{ debugName: "fieldId" }] : /* istanbul ignore next */ []));
18
+ class = input('', ...(ngDevMode ? [{ debugName: "class" }] : /* istanbul ignore next */ []));
19
+ readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : /* istanbul ignore next */ []));
20
+ options = input([], ...(ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []));
21
+ optionLabel = input('label', ...(ngDevMode ? [{ debugName: "optionLabel" }] : /* istanbul ignore next */ []));
22
+ optionValue = input('value', ...(ngDevMode ? [{ debugName: "optionValue" }] : /* istanbul ignore next */ []));
23
+ sourceHeader = input(this.transloco.translate('components.pickListField.available'), ...(ngDevMode ? [{ debugName: "sourceHeader" }] : /* istanbul ignore next */ []));
24
+ targetHeader = input(this.transloco.translate('components.pickListField.selected'), ...(ngDevMode ? [{ debugName: "targetHeader" }] : /* istanbul ignore next */ []));
25
+ showSourceControls = input(true, ...(ngDevMode ? [{ debugName: "showSourceControls" }] : /* istanbul ignore next */ []));
26
+ showTargetControls = input(true, ...(ngDevMode ? [{ debugName: "showTargetControls" }] : /* istanbul ignore next */ []));
27
+ showSourceFilter = input(false, ...(ngDevMode ? [{ debugName: "showSourceFilter" }] : /* istanbul ignore next */ []));
28
+ showTargetFilter = input(false, ...(ngDevMode ? [{ debugName: "showTargetFilter" }] : /* istanbul ignore next */ []));
29
+ filterBy = input(...(ngDevMode ? [undefined, { debugName: "filterBy" }] : /* istanbul ignore next */ []));
30
+ dataKey = input(...(ngDevMode ? [undefined, { debugName: "dataKey" }] : /* istanbul ignore next */ []));
31
+ filterLocale = input(...(ngDevMode ? [undefined, { debugName: "filterLocale" }] : /* istanbul ignore next */ []));
32
+ filterMatchMode = input('contains', ...(ngDevMode ? [{ debugName: "filterMatchMode" }] : /* istanbul ignore next */ []));
33
+ dragdrop = input(false, ...(ngDevMode ? [{ debugName: "dragdrop" }] : /* istanbul ignore next */ []));
34
+ responsive = input(true, ...(ngDevMode ? [{ debugName: "responsive" }] : /* istanbul ignore next */ []));
35
+ required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : /* istanbul ignore next */ []));
36
+ styleClass = '';
37
+ requiredValidator = Validators.required;
38
+ value = signal([], ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
39
+ targetItems = signal([], ...(ngDevMode ? [{ debugName: "targetItems" }] : /* istanbul ignore next */ []));
40
+ sourceItems = signal([], ...(ngDevMode ? [{ debugName: "sourceItems" }] : /* istanbul ignore next */ []));
41
+ disabled = signal(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
42
+ onTouched = () => { };
43
+ onModelChange = () => { };
44
+ ngControl = inject(NgControl, { self: true });
45
+ isInvalid = isInvalid;
46
+ hasInitialized = false;
47
+ pickList;
48
+ constructor() {
49
+ if (this.ngControl) {
50
+ this.ngControl.valueAccessor = this;
51
+ }
52
+ effect(() => {
53
+ if (this.ngControl?.control && this.required()) {
54
+ this.ngControl.control.addValidators(Validators.required);
55
+ this.ngControl.control.updateValueAndValidity();
56
+ }
57
+ });
58
+ effect(() => {
59
+ this.options();
60
+ if (this.hasInitialized) {
61
+ this.syncLists();
62
+ }
63
+ });
64
+ }
65
+ ngOnInit() {
66
+ this.styleClass = this.class();
67
+ this.syncLists();
68
+ this.hasInitialized = true;
69
+ }
70
+ writeValue(value) {
71
+ const nextValue = Array.isArray(value)
72
+ ? [...value]
73
+ : value === null || value === undefined
74
+ ? []
75
+ : [value];
76
+ this.value.set(nextValue);
77
+ this.syncLists();
78
+ }
79
+ registerOnChange(fn) {
80
+ this.onModelChange = fn;
81
+ }
82
+ registerOnTouched(fn) {
83
+ this.onTouched = fn;
84
+ }
85
+ setDisabledState(disabled) {
86
+ this.disabled.set(disabled);
87
+ }
88
+ onInteractiveChange() {
89
+ this.syncFromPickList();
90
+ }
91
+ handleBlur() {
92
+ this.onTouched();
93
+ }
94
+ displayLabel(item) {
95
+ if (item === null || item === undefined) {
96
+ return '';
97
+ }
98
+ if (typeof item === 'string' || typeof item === 'number') {
99
+ return String(item);
100
+ }
101
+ const labelKey = this.optionLabel();
102
+ const nestedLabel = labelKey && labelKey.includes('.')
103
+ ? this.getNestedValue(item, labelKey)
104
+ : undefined;
105
+ if (nestedLabel !== undefined) {
106
+ return nestedLabel;
107
+ }
108
+ if (labelKey && item[labelKey] !== undefined) {
109
+ return item[labelKey];
110
+ }
111
+ return JSON.stringify(item);
112
+ }
113
+ getNestedValue(target, path) {
114
+ if (!target || !path) {
115
+ return undefined;
116
+ }
117
+ return path
118
+ .split('.')
119
+ .reduce((acc, key) => acc !== null && acc !== undefined ? acc[key] : undefined, target);
120
+ }
121
+ syncLists() {
122
+ const currentValue = this.value();
123
+ const targetOptions = this.normalizeValueToOptions(currentValue);
124
+ this.targetItems.set(targetOptions);
125
+ this.updateSourceFromTarget(targetOptions);
126
+ }
127
+ syncFromPickList() {
128
+ const pickListInstance = this.pickList;
129
+ if (!pickListInstance) {
130
+ return;
131
+ }
132
+ const currentTarget = [...(pickListInstance.target() ?? [])];
133
+ const currentSource = [...(pickListInstance.source() ?? [])];
134
+ this.targetItems.set(currentTarget);
135
+ this.sourceItems.set(currentSource);
136
+ const newValue = this.extractValues(currentTarget);
137
+ this.value.set(newValue);
138
+ this.onModelChange(newValue);
139
+ this.onTouched();
140
+ }
141
+ normalizeValueToOptions(value) {
142
+ if (!Array.isArray(value)) {
143
+ return [];
144
+ }
145
+ return value
146
+ .map((entry) => this.findOption(entry) ?? entry)
147
+ .filter((item) => item !== undefined && item !== null);
148
+ }
149
+ extractValues(items) {
150
+ const optionValueKey = this.optionValue();
151
+ if (!optionValueKey) {
152
+ return items ?? [];
153
+ }
154
+ const values = [];
155
+ (items ?? []).forEach((item) => {
156
+ if (item && typeof item === 'object') {
157
+ values.push(item[optionValueKey] ?? item);
158
+ }
159
+ else {
160
+ values.push(item);
161
+ }
162
+ });
163
+ return values;
164
+ }
165
+ updateSourceFromTarget(targetItems) {
166
+ const options = this.options() ?? [];
167
+ const targetIds = new Set((targetItems ?? []).map((item) => this.getIdentifier(item)));
168
+ const newSource = options.filter((option) => !targetIds.has(this.getIdentifier(option)));
169
+ this.sourceItems.set(newSource);
170
+ }
171
+ getIdentifier(item) {
172
+ if (item === null || item === undefined) {
173
+ return item;
174
+ }
175
+ const optionValueKey = this.optionValue();
176
+ if (!optionValueKey) {
177
+ return item;
178
+ }
179
+ if (typeof item === 'object') {
180
+ return item[optionValueKey];
181
+ }
182
+ return item;
183
+ }
184
+ findOption(entry) {
185
+ const options = this.options() ?? [];
186
+ const entryId = this.getIdentifier(entry);
187
+ return options.find((option) => this.getIdentifier(option) === entryId);
188
+ }
189
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: PickListField, deps: [], target: i0.ɵɵFactoryTarget.Component });
190
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: PickListField, isStandalone: true, selector: "mt-pick-list-field", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, sourceHeader: { classPropertyName: "sourceHeader", publicName: "sourceHeader", isSignal: true, isRequired: false, transformFunction: null }, targetHeader: { classPropertyName: "targetHeader", publicName: "targetHeader", isSignal: true, isRequired: false, transformFunction: null }, showSourceControls: { classPropertyName: "showSourceControls", publicName: "showSourceControls", isSignal: true, isRequired: false, transformFunction: null }, showTargetControls: { classPropertyName: "showTargetControls", publicName: "showTargetControls", isSignal: true, isRequired: false, transformFunction: null }, showSourceFilter: { classPropertyName: "showSourceFilter", publicName: "showSourceFilter", isSignal: true, isRequired: false, transformFunction: null }, showTargetFilter: { classPropertyName: "showTargetFilter", publicName: "showTargetFilter", isSignal: true, isRequired: false, transformFunction: null }, filterBy: { classPropertyName: "filterBy", publicName: "filterBy", isSignal: true, isRequired: false, transformFunction: null }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: true, isRequired: false, transformFunction: null }, filterLocale: { classPropertyName: "filterLocale", publicName: "filterLocale", isSignal: true, isRequired: false, transformFunction: null }, filterMatchMode: { classPropertyName: "filterMatchMode", publicName: "filterMatchMode", isSignal: true, isRequired: false, transformFunction: null }, dragdrop: { classPropertyName: "dragdrop", publicName: "dragdrop", isSignal: true, isRequired: false, transformFunction: null }, responsive: { classPropertyName: "responsive", publicName: "responsive", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.styleClass" }, classAttribute: "grid gap-1" }, viewQueries: [{ propertyName: "pickList", first: true, predicate: ["pickList"], descendants: true }], ngImport: i0, template: "@if (label()) {\r\n <label\r\n [class.required]=\"ngControl?.control?.hasValidator(requiredValidator)\"\r\n [for]=\"fieldId()\"\r\n >{{ label() }}</label\r\n >\r\n}\r\n<p-pickList\r\n #pickList\r\n [source]=\"sourceItems()\"\r\n [target]=\"targetItems()\"\r\n (onMoveToTarget)=\"onInteractiveChange()\"\r\n (onMoveToSource)=\"onInteractiveChange()\"\r\n (onMoveAllToTarget)=\"onInteractiveChange()\"\r\n (onMoveAllToSource)=\"onInteractiveChange()\"\r\n (onTargetReorder)=\"onInteractiveChange()\"\r\n (onSourceReorder)=\"onInteractiveChange()\"\r\n (onBlur)=\"handleBlur()\"\r\n [filterBy]=\"filterBy() || optionLabel()\"\r\n [showSourceControls]=\"showSourceControls()\"\r\n [showTargetControls]=\"showTargetControls()\"\r\n [showSourceFilter]=\"showSourceFilter()\"\r\n [showTargetFilter]=\"showTargetFilter()\"\r\n [sourceHeader]=\"sourceHeader()\"\r\n [targetHeader]=\"targetHeader()\"\r\n [dragdrop]=\"dragdrop()\"\r\n [responsive]=\"responsive()\"\r\n [disabled]=\"disabled() || readonly()\"\r\n [styleClass]=\"'w-full relative'\"\r\n [class.p-invalid]=\"isInvalid(ngControl?.control)\"\r\n>\r\n <ng-template let-item pTemplate=\"item\">\r\n <span class=\"block min-w-0 w-full truncate\" [title]=\"displayLabel(item)\">\r\n {{ displayLabel(item) }}\r\n </span>\r\n </ng-template>\r\n</p-pickList>\r\n\r\n<mt-field-validation [control]=\"ngControl?.control\"></mt-field-validation>\r\n", styles: [":host{display:block}:host ::ng-deep .p-picklist{max-width:100%;min-width:0}:host ::ng-deep .p-picklist-list-container,:host ::ng-deep .p-picklist-list{min-width:0}:host ::ng-deep .p-picklist-item{min-width:0;max-width:100%;overflow:hidden}\n"], dependencies: [{ kind: "ngmodule", type: PickListModule }, { kind: "component", type: i1.PickList, selector: "p-pickList, p-picklist, p-pick-list", inputs: ["hostName", "source", "target", "dataKey", "sourceHeader", "tabindex", "rightButtonAriaLabel", "leftButtonAriaLabel", "allRightButtonAriaLabel", "allLeftButtonAriaLabel", "upButtonAriaLabel", "downButtonAriaLabel", "topButtonAriaLabel", "bottomButtonAriaLabel", "sourceAriaLabel", "targetAriaLabel", "targetHeader", "responsive", "filterBy", "filterLocale", "trackBy", "sourceTrackBy", "targetTrackBy", "showSourceFilter", "showTargetFilter", "metaKeySelection", "dragdrop", "style", "styleClass", "sourceStyle", "targetStyle", "showSourceControls", "showTargetControls", "sourceFilterPlaceholder", "targetFilterPlaceholder", "disabled", "sourceOptionDisabled", "targetOptionDisabled", "ariaSourceFilterLabel", "ariaTargetFilterLabel", "filterMatchMode", "stripedRows", "keepSelection", "scrollHeight", "autoOptionFocus", "buttonProps", "moveUpButtonProps", "moveTopButtonProps", "moveDownButtonProps", "moveBottomButtonProps", "moveToTargetProps", "moveAllToTargetProps", "moveToSourceProps", "moveAllToSourceProps", "breakpoint"], outputs: ["sourceChange", "targetChange", "onMoveToSource", "onMoveAllToSource", "onMoveAllToTarget", "onMoveToTarget", "onSourceReorder", "onTargetReorder", "onSourceSelect", "onTargetSelect", "onSourceFilter", "onTargetFilter", "onFocus", "onBlur"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: FieldValidation, selector: "mt-field-validation", inputs: ["control", "touched", "messageId"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
191
+ }
192
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: PickListField, decorators: [{
193
+ type: Component,
194
+ args: [{ selector: 'mt-pick-list-field', imports: [PickListModule, FieldValidation], changeDetection: ChangeDetectionStrategy.OnPush, host: {
195
+ class: 'grid gap-1',
196
+ }, template: "@if (label()) {\r\n <label\r\n [class.required]=\"ngControl?.control?.hasValidator(requiredValidator)\"\r\n [for]=\"fieldId()\"\r\n >{{ label() }}</label\r\n >\r\n}\r\n<p-pickList\r\n #pickList\r\n [source]=\"sourceItems()\"\r\n [target]=\"targetItems()\"\r\n (onMoveToTarget)=\"onInteractiveChange()\"\r\n (onMoveToSource)=\"onInteractiveChange()\"\r\n (onMoveAllToTarget)=\"onInteractiveChange()\"\r\n (onMoveAllToSource)=\"onInteractiveChange()\"\r\n (onTargetReorder)=\"onInteractiveChange()\"\r\n (onSourceReorder)=\"onInteractiveChange()\"\r\n (onBlur)=\"handleBlur()\"\r\n [filterBy]=\"filterBy() || optionLabel()\"\r\n [showSourceControls]=\"showSourceControls()\"\r\n [showTargetControls]=\"showTargetControls()\"\r\n [showSourceFilter]=\"showSourceFilter()\"\r\n [showTargetFilter]=\"showTargetFilter()\"\r\n [sourceHeader]=\"sourceHeader()\"\r\n [targetHeader]=\"targetHeader()\"\r\n [dragdrop]=\"dragdrop()\"\r\n [responsive]=\"responsive()\"\r\n [disabled]=\"disabled() || readonly()\"\r\n [styleClass]=\"'w-full relative'\"\r\n [class.p-invalid]=\"isInvalid(ngControl?.control)\"\r\n>\r\n <ng-template let-item pTemplate=\"item\">\r\n <span class=\"block min-w-0 w-full truncate\" [title]=\"displayLabel(item)\">\r\n {{ displayLabel(item) }}\r\n </span>\r\n </ng-template>\r\n</p-pickList>\r\n\r\n<mt-field-validation [control]=\"ngControl?.control\"></mt-field-validation>\r\n", styles: [":host{display:block}:host ::ng-deep .p-picklist{max-width:100%;min-width:0}:host ::ng-deep .p-picklist-list-container,:host ::ng-deep .p-picklist-list{min-width:0}:host ::ng-deep .p-picklist-item{min-width:0;max-width:100%;overflow:hidden}\n"] }]
197
+ }], ctorParameters: () => [], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], optionLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionLabel", required: false }] }], optionValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionValue", required: false }] }], sourceHeader: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceHeader", required: false }] }], targetHeader: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetHeader", required: false }] }], showSourceControls: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSourceControls", required: false }] }], showTargetControls: [{ type: i0.Input, args: [{ isSignal: true, alias: "showTargetControls", required: false }] }], showSourceFilter: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSourceFilter", required: false }] }], showTargetFilter: [{ type: i0.Input, args: [{ isSignal: true, alias: "showTargetFilter", required: false }] }], filterBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterBy", required: false }] }], dataKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "dataKey", required: false }] }], filterLocale: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterLocale", required: false }] }], filterMatchMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterMatchMode", required: false }] }], dragdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "dragdrop", required: false }] }], responsive: [{ type: i0.Input, args: [{ isSignal: true, alias: "responsive", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], styleClass: [{
198
+ type: HostBinding,
199
+ args: ['class']
200
+ }], pickList: [{
201
+ type: ViewChild,
202
+ args: ['pickList']
203
+ }] } });
204
+
205
+ /**
206
+ * Generated bundle index. Do not edit.
207
+ */
208
+
209
+ export { PickListField };
210
+ //# sourceMappingURL=masterteam-components-pick-list-field.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"masterteam-components-pick-list-field.mjs","sources":["../../../../packages/masterteam/components/pick-list-field/pick-list-field.ts","../../../../packages/masterteam/components/pick-list-field/pick-list-field.html","../../../../packages/masterteam/components/pick-list-field/masterteam-components-pick-list-field.ts"],"sourcesContent":["import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n HostBinding,\r\n OnInit,\r\n ViewChild,\r\n effect,\r\n inject,\r\n input,\r\n signal,\r\n computed,\r\n} from '@angular/core';\r\nimport { ControlValueAccessor, NgControl, Validators } from '@angular/forms';\r\nimport { PickList, PickListModule } from 'primeng/picklist';\r\nimport { TranslocoService } from '@jsverse/transloco';\r\nimport { FieldValidation } from '@masterteam/components/field-validation';\r\nimport { isInvalid, nextFieldId, resolveFieldId } from '@masterteam/components';\r\n\r\n@Component({\r\n selector: 'mt-pick-list-field',\r\n templateUrl: './pick-list-field.html',\r\n styleUrls: ['./pick-list-field.scss'],\r\n imports: [PickListModule, FieldValidation],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n host: {\r\n class: 'grid gap-1',\r\n },\r\n})\r\nexport class PickListField implements ControlValueAccessor, OnInit {\r\n private readonly transloco = inject(TranslocoService);\r\n readonly label = input<string>();\r\n\r\n /** Fallback so a control-less, label-less field never renders id=\"undefined\". */\r\n private readonly defaultFieldId = nextFieldId('mt-pick-list-field');\r\n /** Shared by the input and its <label for>. See src/lib/utils/field-id. */\r\n readonly fieldId = computed(() =>\r\n resolveFieldId(this.ngControl?.name, this.label(), this.defaultFieldId),\r\n );\r\n readonly class = input<string>('');\r\n readonly readonly = input<boolean>(false);\r\n readonly options = input<any[]>([]);\r\n readonly optionLabel = input<string>('label');\r\n readonly optionValue = input<string>('value');\r\n readonly sourceHeader = input<string>(\r\n this.transloco.translate('components.pickListField.available'),\r\n );\r\n readonly targetHeader = input<string>(\r\n this.transloco.translate('components.pickListField.selected'),\r\n );\r\n readonly showSourceControls = input<boolean>(true);\r\n readonly showTargetControls = input<boolean>(true);\r\n readonly showSourceFilter = input<boolean>(false);\r\n readonly showTargetFilter = input<boolean>(false);\r\n readonly filterBy = input<string>();\r\n readonly dataKey = input<string>();\r\n readonly filterLocale = input<string>();\r\n readonly filterMatchMode = input<\r\n | 'contains'\r\n | 'startsWith'\r\n | 'endsWith'\r\n | 'equals'\r\n | 'notEquals'\r\n | 'in'\r\n | 'lt'\r\n | 'lte'\r\n | 'gt'\r\n | 'gte'\r\n | string\r\n >('contains');\r\n readonly dragdrop = input<boolean>(false);\r\n readonly responsive = input<boolean>(true);\r\n readonly required = input<boolean>(false);\r\n\r\n @HostBinding('class') styleClass: string = '';\r\n\r\n requiredValidator = Validators.required;\r\n value = signal<any[]>([]);\r\n targetItems = signal<any[]>([]);\r\n sourceItems = signal<any[]>([]);\r\n disabled = signal<boolean>(false);\r\n\r\n private onTouched: () => void = () => {};\r\n private onModelChange: (value: any) => void = () => {};\r\n\r\n public ngControl = inject(NgControl, { self: true });\r\n\r\n isInvalid = isInvalid;\r\n\r\n private hasInitialized = false;\r\n\r\n @ViewChild('pickList') pickList?: PickList;\r\n\r\n constructor() {\r\n if (this.ngControl) {\r\n this.ngControl.valueAccessor = this;\r\n }\r\n effect(() => {\r\n if (this.ngControl?.control && this.required()) {\r\n this.ngControl.control.addValidators(Validators.required);\r\n this.ngControl.control.updateValueAndValidity();\r\n }\r\n });\r\n effect(() => {\r\n this.options();\r\n if (this.hasInitialized) {\r\n this.syncLists();\r\n }\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n this.styleClass = this.class();\r\n this.syncLists();\r\n this.hasInitialized = true;\r\n }\r\n\r\n writeValue(value: any) {\r\n const nextValue = Array.isArray(value)\r\n ? [...value]\r\n : value === null || value === undefined\r\n ? []\r\n : [value];\r\n this.value.set(nextValue);\r\n this.syncLists();\r\n }\r\n\r\n registerOnChange(fn: any) {\r\n this.onModelChange = fn;\r\n }\r\n\r\n registerOnTouched(fn: any) {\r\n this.onTouched = fn;\r\n }\r\n\r\n setDisabledState(disabled: boolean) {\r\n this.disabled.set(disabled);\r\n }\r\n\r\n onInteractiveChange() {\r\n this.syncFromPickList();\r\n }\r\n\r\n handleBlur() {\r\n this.onTouched();\r\n }\r\n\r\n displayLabel(item: any): string {\r\n if (item === null || item === undefined) {\r\n return '';\r\n }\r\n if (typeof item === 'string' || typeof item === 'number') {\r\n return String(item);\r\n }\r\n const labelKey = this.optionLabel();\r\n const nestedLabel =\r\n labelKey && labelKey.includes('.')\r\n ? this.getNestedValue(item, labelKey)\r\n : undefined;\r\n if (nestedLabel !== undefined) {\r\n return nestedLabel;\r\n }\r\n if (labelKey && item[labelKey] !== undefined) {\r\n return item[labelKey];\r\n }\r\n return JSON.stringify(item);\r\n }\r\n\r\n private getNestedValue(target: any, path: string): any {\r\n if (!target || !path) {\r\n return undefined;\r\n }\r\n return path\r\n .split('.')\r\n .reduce(\r\n (acc, key) =>\r\n acc !== null && acc !== undefined ? acc[key] : undefined,\r\n target,\r\n );\r\n }\r\n\r\n private syncLists() {\r\n const currentValue = this.value();\r\n const targetOptions = this.normalizeValueToOptions(currentValue);\r\n this.targetItems.set(targetOptions);\r\n this.updateSourceFromTarget(targetOptions);\r\n }\r\n\r\n private syncFromPickList() {\r\n const pickListInstance = this.pickList;\r\n if (!pickListInstance) {\r\n return;\r\n }\r\n const currentTarget = [...(pickListInstance.target() ?? [])];\r\n const currentSource = [...(pickListInstance.source() ?? [])];\r\n this.targetItems.set(currentTarget);\r\n this.sourceItems.set(currentSource);\r\n\r\n const newValue = this.extractValues(currentTarget);\r\n this.value.set(newValue);\r\n this.onModelChange(newValue);\r\n this.onTouched();\r\n }\r\n\r\n private normalizeValueToOptions(value: any[]): any[] {\r\n if (!Array.isArray(value)) {\r\n return [];\r\n }\r\n return value\r\n .map((entry) => this.findOption(entry) ?? entry)\r\n .filter((item) => item !== undefined && item !== null);\r\n }\r\n\r\n private extractValues(items: any[]): any[] {\r\n const optionValueKey = this.optionValue();\r\n if (!optionValueKey) {\r\n return items ?? [];\r\n }\r\n const values: any[] = [];\r\n (items ?? []).forEach((item) => {\r\n if (item && typeof item === 'object') {\r\n values.push(item[optionValueKey] ?? item);\r\n } else {\r\n values.push(item);\r\n }\r\n });\r\n return values;\r\n }\r\n\r\n private updateSourceFromTarget(targetItems: any[]) {\r\n const options = this.options() ?? [];\r\n const targetIds = new Set(\r\n (targetItems ?? []).map((item) => this.getIdentifier(item)),\r\n );\r\n const newSource = options.filter(\r\n (option) => !targetIds.has(this.getIdentifier(option)),\r\n );\r\n this.sourceItems.set(newSource);\r\n }\r\n\r\n private getIdentifier(item: any): any {\r\n if (item === null || item === undefined) {\r\n return item;\r\n }\r\n const optionValueKey = this.optionValue();\r\n if (!optionValueKey) {\r\n return item;\r\n }\r\n if (typeof item === 'object') {\r\n return item[optionValueKey];\r\n }\r\n return item;\r\n }\r\n\r\n private findOption(entry: any): any | undefined {\r\n const options = this.options() ?? [];\r\n const entryId = this.getIdentifier(entry);\r\n return options.find((option) => this.getIdentifier(option) === entryId);\r\n }\r\n}\r\n","@if (label()) {\r\n <label\r\n [class.required]=\"ngControl?.control?.hasValidator(requiredValidator)\"\r\n [for]=\"fieldId()\"\r\n >{{ label() }}</label\r\n >\r\n}\r\n<p-pickList\r\n #pickList\r\n [source]=\"sourceItems()\"\r\n [target]=\"targetItems()\"\r\n (onMoveToTarget)=\"onInteractiveChange()\"\r\n (onMoveToSource)=\"onInteractiveChange()\"\r\n (onMoveAllToTarget)=\"onInteractiveChange()\"\r\n (onMoveAllToSource)=\"onInteractiveChange()\"\r\n (onTargetReorder)=\"onInteractiveChange()\"\r\n (onSourceReorder)=\"onInteractiveChange()\"\r\n (onBlur)=\"handleBlur()\"\r\n [filterBy]=\"filterBy() || optionLabel()\"\r\n [showSourceControls]=\"showSourceControls()\"\r\n [showTargetControls]=\"showTargetControls()\"\r\n [showSourceFilter]=\"showSourceFilter()\"\r\n [showTargetFilter]=\"showTargetFilter()\"\r\n [sourceHeader]=\"sourceHeader()\"\r\n [targetHeader]=\"targetHeader()\"\r\n [dragdrop]=\"dragdrop()\"\r\n [responsive]=\"responsive()\"\r\n [disabled]=\"disabled() || readonly()\"\r\n [styleClass]=\"'w-full relative'\"\r\n [class.p-invalid]=\"isInvalid(ngControl?.control)\"\r\n>\r\n <ng-template let-item pTemplate=\"item\">\r\n <span class=\"block min-w-0 w-full truncate\" [title]=\"displayLabel(item)\">\r\n {{ displayLabel(item) }}\r\n </span>\r\n </ng-template>\r\n</p-pickList>\r\n\r\n<mt-field-validation [control]=\"ngControl?.control\"></mt-field-validation>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;MA4Ba,aAAa,CAAA;AACP,IAAA,SAAS,GAAG,MAAM,CAAC,gBAAgB,CAAC;IAC5C,KAAK,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,OAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAU;;AAGf,IAAA,cAAc,GAAG,WAAW,CAAC,oBAAoB,CAAC;;IAE1D,OAAO,GAAG,QAAQ,CAAC,MAC1B,cAAc,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,cAAc,CAAC,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,SAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CACxE;AACQ,IAAA,KAAK,GAAG,KAAK,CAAS,EAAE,4EAAC;AACzB,IAAA,QAAQ,GAAG,KAAK,CAAU,KAAK,+EAAC;AAChC,IAAA,OAAO,GAAG,KAAK,CAAQ,EAAE,8EAAC;AAC1B,IAAA,WAAW,GAAG,KAAK,CAAS,OAAO,kFAAC;AACpC,IAAA,WAAW,GAAG,KAAK,CAAS,OAAO,kFAAC;AACpC,IAAA,YAAY,GAAG,KAAK,CAC3B,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,oCAAoC,CAAC,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,cAAA,E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A,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,iBAAA,EAAA,EAAA,cAAA,EAAA,YAAA,EAAA,EAAA,WAAA,EAAA,CAAA,EAAA,YAAA,EAAA,UAAA,EAAA,KAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EC5B1B,+5CAuCA,EAAA,MAAA,EAAA,CAAA,mPAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDjBY,cAAc,++CAAE,eAAe,EAAA,QAAA,EAAA,qBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,SAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA;;2FAM9B,aAAa,EAAA,UAAA,EAAA,CAAA;kBAVzB,SAAS;+BACE,oBAAoB,EAAA,OAAA,EAGrB,CAAC,cAAc,EAAE,eAAe,CAAC,EAAA,eAAA,EACzB,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC;AACJ,wBAAA,KAAK,EAAE,YAAY;AACpB,qBAAA,EAAA,QAAA,EAAA,+5CAAA,EAAA,MAAA,EAAA,CAAA,mPAAA,CAAA,EAAA;;sBA+CA,WAAW;uBAAC,OAAO;;sBAiBnB,SAAS;uBAAC,UAAU;;;AE1FvB;;AAEG;;;;"}
@@ -0,0 +1,63 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, computed, Component } from '@angular/core';
3
+ import * as i1 from 'primeng/progressbar';
4
+ import { ProgressBarModule } from 'primeng/progressbar';
5
+ import * as i3 from 'primeng/knob';
6
+ import { KnobModule } from 'primeng/knob';
7
+ import * as i4 from '@angular/forms';
8
+ import { FormsModule } from '@angular/forms';
9
+ import * as i2 from 'primeng/api';
10
+
11
+ class Progress {
12
+ static DEFAULT_PRIMARY_COLOR = 'var(--p-primary-color)';
13
+ static DEFAULT_KNOB_TEXT_COLOR = 'var(--p-knob-text-color)';
14
+ // Required Input: The progress value (0-100)
15
+ value = input.required(...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
16
+ // Optional Inputs with Defaults
17
+ mode = input('linear', ...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
18
+ showLabel = input(true, ...(ngDevMode ? [{ debugName: "showLabel" }] : /* istanbul ignore next */ []));
19
+ unit = input('%', ...(ngDevMode ? [{ debugName: "unit" }] : /* istanbul ignore next */ []));
20
+ color = input('primary', ...(ngDevMode ? [{ debugName: "color" }] : /* istanbul ignore next */ [])); // Default Tailwind blue-500
21
+ minValue = input(0, ...(ngDevMode ? [{ debugName: "minValue" }] : /* istanbul ignore next */ [])); // Height for linear bar
22
+ maxValue = input(100, ...(ngDevMode ? [{ debugName: "maxValue" }] : /* istanbul ignore next */ [])); // Height for linear bar
23
+ // Style Inputs
24
+ height = input(20, ...(ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ [])); // Height for linear bar
25
+ circleSize = input(100, ...(ngDevMode ? [{ debugName: "circleSize" }] : /* istanbul ignore next */ [])); // Diameter for circle
26
+ strokeWidth = input(10, ...(ngDevMode ? [{ debugName: "strokeWidth" }] : /* istanbul ignore next */ [])); // Thickness for circle
27
+ customClass = input('', ...(ngDevMode ? [{ debugName: "customClass" }] : /* istanbul ignore next */ [])); // Pass tailwind classes like 'rounded-none'
28
+ // Computed template for the knob text (e.g. "75%")
29
+ labelTemplate = computed(() => `{value}${this.unit()}`, ...(ngDevMode ? [{ debugName: "labelTemplate" }] : /* istanbul ignore next */ []));
30
+ resolvedColor = computed(() => {
31
+ const color = this.color()?.trim();
32
+ if (!color || color === 'primary') {
33
+ return Progress.DEFAULT_PRIMARY_COLOR;
34
+ }
35
+ return color;
36
+ }, ...(ngDevMode ? [{ debugName: "resolvedColor" }] : /* istanbul ignore next */ []));
37
+ /**
38
+ * Circle mode only. The knob's value label defaults to the muted text token,
39
+ * not the primary color, so it must only be tinted when the caller passed an
40
+ * explicit color — otherwise uncolored gauges would drift from muted to
41
+ * primary.
42
+ */
43
+ resolvedTextColor = computed(() => {
44
+ const color = this.color()?.trim();
45
+ if (!color || color === 'primary') {
46
+ return Progress.DEFAULT_KNOB_TEXT_COLOR;
47
+ }
48
+ return color;
49
+ }, ...(ngDevMode ? [{ debugName: "resolvedTextColor" }] : /* istanbul ignore next */ []));
50
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: Progress, deps: [], target: i0.ɵɵFactoryTarget.Component });
51
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: Progress, isStandalone: true, selector: "mt-progress", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, showLabel: { classPropertyName: "showLabel", publicName: "showLabel", isSignal: true, isRequired: false, transformFunction: null }, unit: { classPropertyName: "unit", publicName: "unit", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, minValue: { classPropertyName: "minValue", publicName: "minValue", isSignal: true, isRequired: false, transformFunction: null }, maxValue: { classPropertyName: "maxValue", publicName: "maxValue", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, circleSize: { classPropertyName: "circleSize", publicName: "circleSize", isSignal: true, isRequired: false, transformFunction: null }, strokeWidth: { classPropertyName: "strokeWidth", publicName: "strokeWidth", isSignal: true, isRequired: false, transformFunction: null }, customClass: { classPropertyName: "customClass", publicName: "customClass", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"w-full flex flex-col items-center justify-center gap-2\">\r\n @if (mode() === \"linear\") {\r\n <div class=\"w-full\">\r\n <p-progressBar\r\n [value]=\"value()\"\r\n [showValue]=\"showLabel()\"\r\n [styleClass]=\"customClass()\"\r\n [style]=\"{ height: height() + 'px' }\"\r\n [color]=\"resolvedColor()\"\r\n >\r\n <ng-template pTemplate=\"content\" let-val>\r\n @if (showLabel()) {\r\n <span class=\"text-xs font-bold\">{{ val }}{{ unit() }}</span>\r\n }\r\n </ng-template>\r\n </p-progressBar>\r\n </div>\r\n } @else {\r\n <div class=\"relative flex items-center justify-center\">\r\n <p-knob\r\n [ngModel]=\"value()\"\r\n [readonly]=\"true\"\r\n [size]=\"circleSize()\"\r\n [strokeWidth]=\"strokeWidth()\"\r\n [rangeColor]=\"'#e5e7eb'\"\r\n [valueColor]=\"resolvedColor()\"\r\n [textColor]=\"resolvedTextColor()\"\r\n [valueTemplate]=\"labelTemplate()\"\r\n [showValue]=\"showLabel()\"\r\n [min]=\"minValue()\"\r\n [max]=\"maxValue()\"\r\n >\r\n </p-knob>\r\n </div>\r\n }\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: ProgressBarModule }, { kind: "component", type: i1.ProgressBar, selector: "p-progressBar, p-progressbar, p-progress-bar", inputs: ["value", "showValue", "styleClass", "valueStyleClass", "unit", "mode", "color"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "ngmodule", type: KnobModule }, { kind: "component", type: i3.Knob, selector: "p-knob", inputs: ["styleClass", "ariaLabel", "ariaLabelledBy", "tabindex", "valueColor", "rangeColor", "textColor", "valueTemplate", "size", "min", "max", "step", "strokeWidth", "showValue", "readonly"], outputs: ["onChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
52
+ }
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: Progress, decorators: [{
54
+ type: Component,
55
+ args: [{ standalone: true, imports: [ProgressBarModule, KnobModule, FormsModule], selector: 'mt-progress', template: "<div class=\"w-full flex flex-col items-center justify-center gap-2\">\r\n @if (mode() === \"linear\") {\r\n <div class=\"w-full\">\r\n <p-progressBar\r\n [value]=\"value()\"\r\n [showValue]=\"showLabel()\"\r\n [styleClass]=\"customClass()\"\r\n [style]=\"{ height: height() + 'px' }\"\r\n [color]=\"resolvedColor()\"\r\n >\r\n <ng-template pTemplate=\"content\" let-val>\r\n @if (showLabel()) {\r\n <span class=\"text-xs font-bold\">{{ val }}{{ unit() }}</span>\r\n }\r\n </ng-template>\r\n </p-progressBar>\r\n </div>\r\n } @else {\r\n <div class=\"relative flex items-center justify-center\">\r\n <p-knob\r\n [ngModel]=\"value()\"\r\n [readonly]=\"true\"\r\n [size]=\"circleSize()\"\r\n [strokeWidth]=\"strokeWidth()\"\r\n [rangeColor]=\"'#e5e7eb'\"\r\n [valueColor]=\"resolvedColor()\"\r\n [textColor]=\"resolvedTextColor()\"\r\n [valueTemplate]=\"labelTemplate()\"\r\n [showValue]=\"showLabel()\"\r\n [min]=\"minValue()\"\r\n [max]=\"maxValue()\"\r\n >\r\n </p-knob>\r\n </div>\r\n }\r\n</div>\r\n" }]
56
+ }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], showLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLabel", required: false }] }], unit: [{ type: i0.Input, args: [{ isSignal: true, alias: "unit", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], minValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "minValue", required: false }] }], maxValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxValue", required: false }] }], height: [{ type: i0.Input, args: [{ isSignal: true, alias: "height", required: false }] }], circleSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "circleSize", required: false }] }], strokeWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "strokeWidth", required: false }] }], customClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "customClass", required: false }] }] } });
57
+
58
+ /**
59
+ * Generated bundle index. Do not edit.
60
+ */
61
+
62
+ export { Progress };
63
+ //# sourceMappingURL=masterteam-components-progress.mjs.map