@paperless/core 1.17.5 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (512) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/assets/i18n/page-size-select.i18n.en.json +2 -2
  3. package/dist/assets/i18n/page-size-select.i18n.nl.json +2 -2
  4. package/dist/assets/i18n/table-footer.i18n.en.json +1 -1
  5. package/dist/assets/i18n/table-footer.i18n.nl.json +1 -1
  6. package/dist/assets/i18n/table-header.i18n.en.json +4 -4
  7. package/dist/assets/i18n/table-header.i18n.nl.json +4 -4
  8. package/dist/assets/i18n/table.i18n.en.json +15 -15
  9. package/dist/assets/i18n/table.i18n.nl.json +15 -15
  10. package/dist/build/p-03090f03.entry.js.map +1 -1
  11. package/dist/build/p-085e6ff4.entry.js.map +1 -1
  12. package/dist/build/p-2becd73c.entry.js.map +1 -1
  13. package/dist/build/p-2cb55f24.entry.js.map +1 -1
  14. package/dist/build/p-2cd5062f.entry.js.map +1 -1
  15. package/dist/build/p-35c563a7.entry.js.map +1 -1
  16. package/dist/build/p-415c5040.entry.js.map +1 -1
  17. package/dist/build/p-424d5c8a.entry.js.map +1 -1
  18. package/dist/build/p-46a939e2.entry.js.map +1 -1
  19. package/dist/build/p-4c30c74b.entry.js.map +1 -1
  20. package/dist/build/p-4dc5647e.entry.js.map +1 -1
  21. package/dist/build/p-4e9e4ce2.entry.js.map +1 -1
  22. package/dist/build/p-606ad811.entry.js.map +1 -1
  23. package/dist/build/p-682db916.entry.js.map +1 -1
  24. package/dist/build/p-699e0b35.entry.js.map +1 -1
  25. package/dist/build/p-6a5aeb90.entry.js.map +1 -1
  26. package/dist/build/p-7793ba3a.entry.js.map +1 -1
  27. package/dist/build/p-7d15ff9a.entry.js.map +1 -1
  28. package/dist/build/p-8426ca20.entry.js.map +1 -1
  29. package/dist/build/p-93052b42.entry.js.map +1 -1
  30. package/dist/build/p-97bcf0b5.entry.js.map +1 -1
  31. package/dist/build/p-9c914665.entry.js.map +1 -1
  32. package/dist/build/p-9d3d72fa.entry.js.map +1 -1
  33. package/dist/build/p-a2b552f9.entry.js.map +1 -1
  34. package/dist/build/p-a7344d53.entry.js +2 -0
  35. package/dist/build/p-a7344d53.entry.js.map +1 -0
  36. package/dist/build/p-af6b813e.entry.js.map +1 -1
  37. package/dist/build/p-b6f43309.entry.js.map +1 -1
  38. package/dist/build/p-b7c0f157.entry.js.map +1 -1
  39. package/dist/build/p-c644d1e3.entry.js.map +1 -1
  40. package/dist/build/p-c9b840a7.entry.js.map +1 -1
  41. package/dist/build/p-cb2674b5.entry.js.map +1 -1
  42. package/dist/build/p-cf7bd354.entry.js.map +1 -1
  43. package/dist/build/p-d0796984.entry.js.map +1 -1
  44. package/dist/build/p-d23db949.entry.js.map +1 -1
  45. package/dist/build/p-dace47c5.entry.js.map +1 -1
  46. package/dist/build/p-dd20caf1.entry.js.map +1 -1
  47. package/dist/build/p-dfa8eae9.entry.js +2 -0
  48. package/dist/build/p-dfa8eae9.entry.js.map +1 -0
  49. package/dist/build/p-ec15ee73.entry.js.map +1 -1
  50. package/dist/build/p-ec29eed0.entry.js.map +1 -1
  51. package/dist/build/p-f0f1a46b.entry.js.map +1 -1
  52. package/dist/build/p-f34e08ec.entry.js.map +1 -1
  53. package/dist/build/p-f9e52ae3.entry.js.map +1 -1
  54. package/dist/build/p-fac13366.entry.js.map +1 -1
  55. package/dist/build/paperless.css +1 -1
  56. package/dist/build/paperless.esm.js +1 -1
  57. package/dist/build/paperless.esm.js.map +1 -1
  58. package/dist/cjs/index-1fde8b14.js +4 -4
  59. package/dist/cjs/loader.cjs.js +1 -1
  60. package/dist/cjs/p-accordion.cjs.entry.js.map +1 -1
  61. package/dist/cjs/p-attachment.cjs.entry.js.map +1 -1
  62. package/dist/cjs/p-avatar-group.cjs.entry.js.map +1 -1
  63. package/dist/cjs/p-avatar.cjs.entry.js.map +1 -1
  64. package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -1
  65. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
  66. package/dist/cjs/p-calendar.cjs.entry.js +2 -2
  67. package/dist/cjs/p-calendar.cjs.entry.js.map +1 -1
  68. package/dist/cjs/p-card-body.cjs.entry.js.map +1 -1
  69. package/dist/cjs/p-card-container.cjs.entry.js.map +1 -1
  70. package/dist/cjs/p-card-header.cjs.entry.js.map +1 -1
  71. package/dist/cjs/p-content-slider.cjs.entry.js.map +1 -1
  72. package/dist/cjs/p-counter.cjs.entry.js.map +1 -1
  73. package/dist/cjs/p-cropper.cjs.entry.js.map +1 -1
  74. package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -1
  75. package/dist/cjs/p-divider.cjs.entry.js.map +1 -1
  76. package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
  77. package/dist/cjs/p-drawer.cjs.entry.js.map +1 -1
  78. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
  79. package/dist/cjs/p-dropdown_2.cjs.entry.js +7 -2
  80. package/dist/cjs/p-dropdown_2.cjs.entry.js.map +1 -1
  81. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +40 -40
  82. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
  83. package/dist/cjs/p-helper_3.cjs.entry.js +4 -4
  84. package/dist/cjs/p-helper_3.cjs.entry.js.map +1 -1
  85. package/dist/cjs/p-info-panel.cjs.entry.js.map +1 -1
  86. package/dist/cjs/p-label_3.cjs.entry.js +1 -1
  87. package/dist/cjs/p-label_3.cjs.entry.js.map +1 -1
  88. package/dist/cjs/p-layout.cjs.entry.js.map +1 -1
  89. package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
  90. package/dist/cjs/p-modal.cjs.entry.js.map +1 -1
  91. package/dist/cjs/p-navbar.cjs.entry.js.map +1 -1
  92. package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
  93. package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +1 -1
  94. package/dist/cjs/p-profile.cjs.entry.js.map +1 -1
  95. package/dist/cjs/p-select.cjs.entry.js +136 -18
  96. package/dist/cjs/p-select.cjs.entry.js.map +1 -1
  97. package/dist/cjs/p-slider-indicator.cjs.entry.js.map +1 -1
  98. package/dist/cjs/p-status.cjs.entry.js.map +1 -1
  99. package/dist/cjs/p-stepper-item.cjs.entry.js.map +1 -1
  100. package/dist/cjs/p-stepper-line.cjs.entry.js.map +1 -1
  101. package/dist/cjs/p-stepper.cjs.entry.js.map +1 -1
  102. package/dist/cjs/p-tab-group.cjs.entry.js.map +1 -1
  103. package/dist/cjs/p-tab-item.cjs.entry.js.map +1 -1
  104. package/dist/cjs/p-table-column.cjs.entry.js.map +1 -1
  105. package/dist/cjs/p-table.cjs.entry.js.map +1 -1
  106. package/dist/cjs/p-toast-container.cjs.entry.js.map +1 -1
  107. package/dist/cjs/p-toast.cjs.entry.js.map +1 -1
  108. package/dist/cjs/p-tooltip.cjs.entry.js.map +1 -1
  109. package/dist/cjs/paperless.cjs.js +1 -1
  110. package/dist/collection/components/atoms/avatar/avatar.component.js +1 -1
  111. package/dist/collection/components/atoms/avatar/avatar.component.js.map +1 -1
  112. package/dist/collection/components/atoms/avatar/test/avatar.component.e2e.js.map +1 -1
  113. package/dist/collection/components/atoms/avatar/test/avatar.component.spec.js.map +1 -1
  114. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js.map +1 -1
  115. package/dist/collection/components/atoms/avatar-group/test/avatar-group.component.e2e.js.map +1 -1
  116. package/dist/collection/components/atoms/avatar-group/test/avatar-group.component.spec.js.map +1 -1
  117. package/dist/collection/components/atoms/backdrop/backdrop.component.js +1 -1
  118. package/dist/collection/components/atoms/backdrop/backdrop.component.js.map +1 -1
  119. package/dist/collection/components/atoms/backdrop/test/backdrop.component.e2e.js.map +1 -1
  120. package/dist/collection/components/atoms/backdrop/test/backdrop.component.spec.js.map +1 -1
  121. package/dist/collection/components/atoms/button/button.component.js.map +1 -1
  122. package/dist/collection/components/atoms/button/test/button.component.e2e.js.map +1 -1
  123. package/dist/collection/components/atoms/button/test/button.component.spec.js.map +1 -1
  124. package/dist/collection/components/atoms/card-body/card-body.component.js.map +1 -1
  125. package/dist/collection/components/atoms/card-body/test/card-body.component.e2e.js.map +1 -1
  126. package/dist/collection/components/atoms/card-body/test/card-body.component.spec.js.map +1 -1
  127. package/dist/collection/components/atoms/card-container/card-container.component.js.map +1 -1
  128. package/dist/collection/components/atoms/card-container/test/card-container.component.e2e.js.map +1 -1
  129. package/dist/collection/components/atoms/card-container/test/card-container.component.spec.js.map +1 -1
  130. package/dist/collection/components/atoms/card-header/card-header.component.js.map +1 -1
  131. package/dist/collection/components/atoms/card-header/test/card-header.component.e2e.js.map +1 -1
  132. package/dist/collection/components/atoms/card-header/test/card-header.component.spec.js.map +1 -1
  133. package/dist/collection/components/atoms/counter/counter.component.js.map +1 -1
  134. package/dist/collection/components/atoms/counter/test/counter.component.e2e.js.map +1 -1
  135. package/dist/collection/components/atoms/counter/test/counter.component.spec.js.map +1 -1
  136. package/dist/collection/components/atoms/divider/divider.component.js.map +1 -1
  137. package/dist/collection/components/atoms/divider/test/divider.component.e2e.js.map +1 -1
  138. package/dist/collection/components/atoms/divider/test/divider.component.spec.js.map +1 -1
  139. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js.map +1 -1
  140. package/dist/collection/components/atoms/drawer-body/test/drawer-body.component.e2e.js.map +1 -1
  141. package/dist/collection/components/atoms/drawer-body/test/drawer-body.component.spec.js.map +1 -1
  142. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js.map +1 -1
  143. package/dist/collection/components/atoms/drawer-container/test/drawer-container.component.e2e.js.map +1 -1
  144. package/dist/collection/components/atoms/drawer-container/test/drawer-container.component.spec.js.map +1 -1
  145. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js.map +1 -1
  146. package/dist/collection/components/atoms/drawer-header/test/drawer-header.component.e2e.js.map +1 -1
  147. package/dist/collection/components/atoms/drawer-header/test/drawer-header.component.spec.js.map +1 -1
  148. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js.map +1 -1
  149. package/dist/collection/components/atoms/dropdown-menu-container/test/dropdown-menu-container.component.e2e.js.map +1 -1
  150. package/dist/collection/components/atoms/dropdown-menu-container/test/dropdown-menu-item.component.spec.js.map +1 -1
  151. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
  152. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +21 -2
  153. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -1
  154. package/dist/collection/components/atoms/dropdown-menu-item/test/dropdown-menu-item.component.e2e.js.map +1 -1
  155. package/dist/collection/components/atoms/dropdown-menu-item/test/dropdown-menu-item.component.spec.js.map +1 -1
  156. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js.map +1 -1
  157. package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.e2e.js.map +1 -1
  158. package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.spec.js.map +1 -1
  159. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js.map +1 -1
  160. package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.e2e.js.map +1 -1
  161. package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.spec.js.map +1 -1
  162. package/dist/collection/components/atoms/helper/helper.component.js.map +1 -1
  163. package/dist/collection/components/atoms/helper/test/helper.component.e2e.js.map +1 -1
  164. package/dist/collection/components/atoms/helper/test/helper.component.spec.js.map +1 -1
  165. package/dist/collection/components/atoms/icon/icon.component.js.map +1 -1
  166. package/dist/collection/components/atoms/icon/test/icon.component.e2e.js.map +1 -1
  167. package/dist/collection/components/atoms/icon/test/icon.component.spec.js.map +1 -1
  168. package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
  169. package/dist/collection/components/atoms/illustration/illustration.component.js.map +1 -1
  170. package/dist/collection/components/atoms/illustration/test/illustration.component.e2e.js.map +1 -1
  171. package/dist/collection/components/atoms/illustration/test/illustration.component.spec.js.map +1 -1
  172. package/dist/collection/components/atoms/info-panel/info-panel.component.js.map +1 -1
  173. package/dist/collection/components/atoms/info-panel/test/info-panel.component.e2e.js.map +1 -1
  174. package/dist/collection/components/atoms/info-panel/test/info-panel.component.spec.js.map +1 -1
  175. package/dist/collection/components/atoms/label/label.component.js +2 -2
  176. package/dist/collection/components/atoms/label/label.component.js.map +1 -1
  177. package/dist/collection/components/atoms/label/test/label.component.e2e.js.map +1 -1
  178. package/dist/collection/components/atoms/label/test/label.component.spec.js.map +1 -1
  179. package/dist/collection/components/atoms/layout/layout.component.js.map +1 -1
  180. package/dist/collection/components/atoms/layout/test/layout.component.e2e.js.map +1 -1
  181. package/dist/collection/components/atoms/layout/test/layout.component.spec.js.map +1 -1
  182. package/dist/collection/components/atoms/loader/loader.component.js +1 -1
  183. package/dist/collection/components/atoms/loader/loader.component.js.map +1 -1
  184. package/dist/collection/components/atoms/loader/test/loader.component.e2e.js.map +1 -1
  185. package/dist/collection/components/atoms/loader/test/loader.component.spec.js.map +1 -1
  186. package/dist/collection/components/atoms/modal-body/modal-body.component.js.map +1 -1
  187. package/dist/collection/components/atoms/modal-body/test/modal-body.component.e2e.js.map +1 -1
  188. package/dist/collection/components/atoms/modal-body/test/modal-body.component.spec.js.map +1 -1
  189. package/dist/collection/components/atoms/modal-container/modal-container.component.js.map +1 -1
  190. package/dist/collection/components/atoms/modal-container/test/modal-container.component.e2e.js.map +1 -1
  191. package/dist/collection/components/atoms/modal-container/test/modal-container.component.spec.js.map +1 -1
  192. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js.map +1 -1
  193. package/dist/collection/components/atoms/modal-footer/test/modal-footer.component.e2e.js.map +1 -1
  194. package/dist/collection/components/atoms/modal-footer/test/modal-footer.component.spec.js.map +1 -1
  195. package/dist/collection/components/atoms/modal-header/modal-header.component.js.map +1 -1
  196. package/dist/collection/components/atoms/modal-header/test/modal-header.component.e2e.js.map +1 -1
  197. package/dist/collection/components/atoms/modal-header/test/modal-header.component.spec.js.map +1 -1
  198. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js.map +1 -1
  199. package/dist/collection/components/atoms/pagination-item/test/pagination-item.component.e2e.js.map +1 -1
  200. package/dist/collection/components/atoms/pagination-item/test/pagination-item.component.spec.js.map +1 -1
  201. package/dist/collection/components/atoms/segment-container/segment-container.component.js.map +1 -1
  202. package/dist/collection/components/atoms/segment-container/test/segment-container.component.e2e.js.map +1 -1
  203. package/dist/collection/components/atoms/segment-container/test/segment-container.component.spec.js.map +1 -1
  204. package/dist/collection/components/atoms/segment-item/segment-item.component.js +1 -1
  205. package/dist/collection/components/atoms/segment-item/segment-item.component.js.map +1 -1
  206. package/dist/collection/components/atoms/segment-item/test/segment-item.component.e2e.js.map +1 -1
  207. package/dist/collection/components/atoms/segment-item/test/segment-item.component.spec.js.map +1 -1
  208. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js.map +1 -1
  209. package/dist/collection/components/atoms/slider-indicator/test/slider-indicator.component.e2e.js.map +1 -1
  210. package/dist/collection/components/atoms/slider-indicator/test/slider-indicator.component.spec.js.map +1 -1
  211. package/dist/collection/components/atoms/status/status.component.js.map +1 -1
  212. package/dist/collection/components/atoms/status/test/status.component.e2e.js.map +1 -1
  213. package/dist/collection/components/atoms/status/test/status.component.spec.js.map +1 -1
  214. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js.map +1 -1
  215. package/dist/collection/components/atoms/stepper-item/test/stepper-item.component.e2e.js.map +1 -1
  216. package/dist/collection/components/atoms/stepper-item/test/stepper-item.component.spec.js.map +1 -1
  217. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js.map +1 -1
  218. package/dist/collection/components/atoms/stepper-line/test/stepper-line.component.e2e.js.map +1 -1
  219. package/dist/collection/components/atoms/stepper-line/test/stepper-line.component.spec.js.map +1 -1
  220. package/dist/collection/components/atoms/tab-group/tab-group.component.js.map +1 -1
  221. package/dist/collection/components/atoms/tab-group/test/tab-group.component.e2e.js.map +1 -1
  222. package/dist/collection/components/atoms/tab-group/test/tab-group.component.spec.js.map +1 -1
  223. package/dist/collection/components/atoms/tab-item/tab-item.component.js.map +1 -1
  224. package/dist/collection/components/atoms/tab-item/test/tab-item.component.e2e.js.map +1 -1
  225. package/dist/collection/components/atoms/tab-item/test/tab-item.component.spec.js.map +1 -1
  226. package/dist/collection/components/atoms/table-container/table-container.component.js.map +1 -1
  227. package/dist/collection/components/atoms/table-container/test/table-container.component.e2e.js.map +1 -1
  228. package/dist/collection/components/atoms/table-container/test/table-container.component.spec.js.map +1 -1
  229. package/dist/collection/components/atoms/toast-container/test/toast-container.component.e2e.js.map +1 -1
  230. package/dist/collection/components/atoms/toast-container/test/toast-container.component.spec.js.map +1 -1
  231. package/dist/collection/components/atoms/toast-container/toast-container.component.js.map +1 -1
  232. package/dist/collection/components/atoms/tooltip/test/tooltip.component.e2e.js.map +1 -1
  233. package/dist/collection/components/atoms/tooltip/test/tooltip.component.spec.js.map +1 -1
  234. package/dist/collection/components/atoms/tooltip/tooltip.component.js.map +1 -1
  235. package/dist/collection/components/helpers/table-column/table-column.component.js +1 -1
  236. package/dist/collection/components/helpers/table-column/table-column.component.js.map +1 -1
  237. package/dist/collection/components/molecules/accordion/accordion.component.js.map +1 -1
  238. package/dist/collection/components/molecules/accordion/test/accordion.component.e2e.js.map +1 -1
  239. package/dist/collection/components/molecules/accordion/test/accordion.component.spec.js.map +1 -1
  240. package/dist/collection/components/molecules/attachment/attachment.component.js.map +1 -1
  241. package/dist/collection/components/molecules/attachment/test/attachment.component.e2e.js.map +1 -1
  242. package/dist/collection/components/molecules/attachment/test/attachment.component.spec.js.map +1 -1
  243. package/dist/collection/components/molecules/calendar/calendar.component.js +2 -2
  244. package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -1
  245. package/dist/collection/components/molecules/calendar/test/calendar.component.e2e.js.map +1 -1
  246. package/dist/collection/components/molecules/calendar/test/calendar.component.spec.js.map +1 -1
  247. package/dist/collection/components/molecules/content-slider/content-slider.component.js.map +1 -1
  248. package/dist/collection/components/molecules/content-slider/test/content-slider.component.e2e.js.map +1 -1
  249. package/dist/collection/components/molecules/content-slider/test/content-slider.component.spec.js.map +1 -1
  250. package/dist/collection/components/molecules/cropper/cropper.component.js.map +1 -1
  251. package/dist/collection/components/molecules/cropper/test/cropper.component.e2e.js.map +1 -1
  252. package/dist/collection/components/molecules/cropper/test/cropper.component.spec.js.map +1 -1
  253. package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
  254. package/dist/collection/components/molecules/datepicker/test/datepicker.component.e2e.js.map +1 -1
  255. package/dist/collection/components/molecules/datepicker/test/datepicker.component.spec.js.map +1 -1
  256. package/dist/collection/components/molecules/dropdown/dropdown.component.js +22 -0
  257. package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
  258. package/dist/collection/components/molecules/dropdown/test/dropdown.component.e2e.js.map +1 -1
  259. package/dist/collection/components/molecules/dropdown/test/dropdown.component.spec.js.map +1 -1
  260. package/dist/collection/components/molecules/input-error/input-error.component.js.map +1 -1
  261. package/dist/collection/components/molecules/input-error/test/input-error.component.e2e.js.map +1 -1
  262. package/dist/collection/components/molecules/input-error/test/input-error.component.spec.js.map +1 -1
  263. package/dist/collection/components/molecules/input-group/input-group.component.js +4 -4
  264. package/dist/collection/components/molecules/input-group/input-group.component.js.map +1 -1
  265. package/dist/collection/components/molecules/input-group/test/input-group.component.e2e.js.map +1 -1
  266. package/dist/collection/components/molecules/input-group/test/input-group.component.spec.js.map +1 -1
  267. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js.map +1 -1
  268. package/dist/collection/components/molecules/navigation-item/test/navigation-item.component.e2e.js.map +1 -1
  269. package/dist/collection/components/molecules/navigation-item/test/navigation-item.component.spec.js.map +1 -1
  270. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +2 -2
  271. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js.map +1 -1
  272. package/dist/collection/components/molecules/page-size-select/test/page-size-select.component.e2e.js.map +1 -1
  273. package/dist/collection/components/molecules/page-size-select/test/page-size-select.component.spec.js.map +1 -1
  274. package/dist/collection/components/molecules/pagination/pagination.component.js +1 -1
  275. package/dist/collection/components/molecules/pagination/pagination.component.js.map +1 -1
  276. package/dist/collection/components/molecules/pagination/test/pagination.component.e2e.js.map +1 -1
  277. package/dist/collection/components/molecules/pagination/test/pagination.component.spec.js.map +1 -1
  278. package/dist/collection/components/molecules/profile/profile.component.js.map +1 -1
  279. package/dist/collection/components/molecules/profile/test/profile.component.e2e.js.map +1 -1
  280. package/dist/collection/components/molecules/profile/test/profile.component.spec.js.map +1 -1
  281. package/dist/collection/components/molecules/select/select.component.css +1 -1
  282. package/dist/collection/components/molecules/select/select.component.js +238 -18
  283. package/dist/collection/components/molecules/select/select.component.js.map +1 -1
  284. package/dist/collection/components/molecules/select/test/select.component.e2e.js.map +1 -1
  285. package/dist/collection/components/molecules/select/test/select.component.spec.js.map +1 -1
  286. package/dist/collection/components/molecules/stepper/stepper.component.js.map +1 -1
  287. package/dist/collection/components/molecules/stepper/test/stepper.component.e2e.js.map +1 -1
  288. package/dist/collection/components/molecules/stepper/test/stepper.component.spec.js.map +1 -1
  289. package/dist/collection/components/molecules/table-cell/table-cell.component.js +40 -40
  290. package/dist/collection/components/molecules/table-cell/table-cell.component.js.map +1 -1
  291. package/dist/collection/components/molecules/table-cell/test/table-cell.component.e2e.js.map +1 -1
  292. package/dist/collection/components/molecules/table-cell/test/table-cell.component.spec.js.map +1 -1
  293. package/dist/collection/components/molecules/table-footer/table-footer.component.js +2 -2
  294. package/dist/collection/components/molecules/table-footer/table-footer.component.js.map +1 -1
  295. package/dist/collection/components/molecules/table-footer/test/table-footer.component.e2e.js.map +1 -1
  296. package/dist/collection/components/molecules/table-footer/test/table-footer.component.spec.js.map +1 -1
  297. package/dist/collection/components/molecules/table-header/table-header.component.js.map +1 -1
  298. package/dist/collection/components/molecules/table-header/test/table-header.component.e2e.js.map +1 -1
  299. package/dist/collection/components/molecules/table-header/test/table-header.component.spec.js.map +1 -1
  300. package/dist/collection/components/molecules/table-row/table-row.component.js.map +1 -1
  301. package/dist/collection/components/molecules/table-row/test/table-row.component.e2e.js.map +1 -1
  302. package/dist/collection/components/molecules/table-row/test/table-row.component.spec.js.map +1 -1
  303. package/dist/collection/components/molecules/toast/test/toast.component.e2e.js.map +1 -1
  304. package/dist/collection/components/molecules/toast/test/toast.component.spec.js.map +1 -1
  305. package/dist/collection/components/molecules/toast/toast.component.js.map +1 -1
  306. package/dist/collection/components/organisms/drawer/drawer.component.js +2 -2
  307. package/dist/collection/components/organisms/drawer/drawer.component.js.map +1 -1
  308. package/dist/collection/components/organisms/drawer/test/drawer.component.e2e.js.map +1 -1
  309. package/dist/collection/components/organisms/drawer/test/drawer.component.spec.js.map +1 -1
  310. package/dist/collection/components/organisms/modal/modal.component.js.map +1 -1
  311. package/dist/collection/components/organisms/modal/test/modal.component.e2e.js.map +1 -1
  312. package/dist/collection/components/organisms/modal/test/modal.component.spec.js.map +1 -1
  313. package/dist/collection/components/organisms/navbar/navbar.component.js.map +1 -1
  314. package/dist/collection/components/organisms/navbar/test/navbar.component.e2e.js.map +1 -1
  315. package/dist/collection/components/organisms/navbar/test/navbar.component.spec.js.map +1 -1
  316. package/dist/collection/components/organisms/table/table.component.js +6 -6
  317. package/dist/collection/components/organisms/table/table.component.js.map +1 -1
  318. package/dist/collection/components/organisms/table/test/table.component.e2e.js.map +1 -1
  319. package/dist/collection/components/organisms/table/test/table.component.spec.js.map +1 -1
  320. package/dist/components/avatar.component.js +70 -0
  321. package/dist/components/avatar.component.js.map +1 -0
  322. package/dist/components/backdrop.component.js.map +1 -1
  323. package/dist/components/button.component.js.map +1 -1
  324. package/dist/components/calendar.component.js +2 -2
  325. package/dist/components/calendar.component.js.map +1 -1
  326. package/dist/components/counter.component.js.map +1 -1
  327. package/dist/components/divider.component.js.map +1 -1
  328. package/dist/components/drawer-body.component.js.map +1 -1
  329. package/dist/components/drawer-container.component.js.map +1 -1
  330. package/dist/components/drawer-header.component.js.map +1 -1
  331. package/dist/components/dropdown-menu-container.component.js.map +1 -1
  332. package/dist/components/dropdown-menu-item.component.js +4 -2
  333. package/dist/components/dropdown-menu-item.component.js.map +1 -1
  334. package/dist/components/dropdown.component.js +5 -0
  335. package/dist/components/dropdown.component.js.map +1 -1
  336. package/dist/components/floating-menu-container.component.js.map +1 -1
  337. package/dist/components/floating-menu-item.component.js.map +1 -1
  338. package/dist/components/helper.component.js.map +1 -1
  339. package/dist/components/icon.component.js.map +1 -1
  340. package/dist/components/illustration.component.js +1 -1
  341. package/dist/components/illustration.component.js.map +1 -1
  342. package/dist/components/input-error.component.js.map +1 -1
  343. package/dist/components/input-group.component.js +4 -4
  344. package/dist/components/input-group.component.js.map +1 -1
  345. package/dist/components/label.component.js.map +1 -1
  346. package/dist/components/loader.component.js.map +1 -1
  347. package/dist/components/modal-body.component.js.map +1 -1
  348. package/dist/components/modal-container.component.js.map +1 -1
  349. package/dist/components/modal-footer.component.js.map +1 -1
  350. package/dist/components/modal-header.component.js.map +1 -1
  351. package/dist/components/p-accordion.js.map +1 -1
  352. package/dist/components/p-attachment.js.map +1 -1
  353. package/dist/components/p-avatar-group.js.map +1 -1
  354. package/dist/components/p-avatar.js +1 -66
  355. package/dist/components/p-avatar.js.map +1 -1
  356. package/dist/components/p-card-body.js.map +1 -1
  357. package/dist/components/p-card-container.js.map +1 -1
  358. package/dist/components/p-card-header.js.map +1 -1
  359. package/dist/components/p-content-slider.js.map +1 -1
  360. package/dist/components/p-cropper.js.map +1 -1
  361. package/dist/components/p-datepicker.js.map +1 -1
  362. package/dist/components/p-drawer.js.map +1 -1
  363. package/dist/components/p-info-panel.js.map +1 -1
  364. package/dist/components/p-layout.js.map +1 -1
  365. package/dist/components/p-modal.js.map +1 -1
  366. package/dist/components/p-navbar.js.map +1 -1
  367. package/dist/components/p-navigation-item.js.map +1 -1
  368. package/dist/components/p-profile.js.map +1 -1
  369. package/dist/components/p-select.js +150 -20
  370. package/dist/components/p-select.js.map +1 -1
  371. package/dist/components/p-status.js.map +1 -1
  372. package/dist/components/p-stepper-item.js.map +1 -1
  373. package/dist/components/p-stepper.js.map +1 -1
  374. package/dist/components/p-tab-group.js.map +1 -1
  375. package/dist/components/p-tab-item.js.map +1 -1
  376. package/dist/components/p-table-column.js.map +1 -1
  377. package/dist/components/p-table.js.map +1 -1
  378. package/dist/components/p-toast-container.js.map +1 -1
  379. package/dist/components/p-toast.js.map +1 -1
  380. package/dist/components/page-size-select.component.js.map +1 -1
  381. package/dist/components/pagination-item.component.js.map +1 -1
  382. package/dist/components/pagination.component.js.map +1 -1
  383. package/dist/components/segment-container.component.js.map +1 -1
  384. package/dist/components/segment-item.component.js +1 -1
  385. package/dist/components/segment-item.component.js.map +1 -1
  386. package/dist/components/slider-indicator.component.js.map +1 -1
  387. package/dist/components/stepper-line.component.js.map +1 -1
  388. package/dist/components/table-cell.component.js +39 -39
  389. package/dist/components/table-cell.component.js.map +1 -1
  390. package/dist/components/table-container.component.js.map +1 -1
  391. package/dist/components/table-footer.component.js.map +1 -1
  392. package/dist/components/table-header.component.js.map +1 -1
  393. package/dist/components/table-row.component.js.map +1 -1
  394. package/dist/components/tooltip.component.js.map +1 -1
  395. package/dist/esm/index-7b917f6b.js +4 -4
  396. package/dist/esm/loader.js +1 -1
  397. package/dist/esm/p-accordion.entry.js.map +1 -1
  398. package/dist/esm/p-attachment.entry.js.map +1 -1
  399. package/dist/esm/p-avatar-group.entry.js.map +1 -1
  400. package/dist/esm/p-avatar.entry.js.map +1 -1
  401. package/dist/esm/p-backdrop.entry.js.map +1 -1
  402. package/dist/esm/p-button_3.entry.js.map +1 -1
  403. package/dist/esm/p-calendar.entry.js +2 -2
  404. package/dist/esm/p-calendar.entry.js.map +1 -1
  405. package/dist/esm/p-card-body.entry.js.map +1 -1
  406. package/dist/esm/p-card-container.entry.js.map +1 -1
  407. package/dist/esm/p-card-header.entry.js.map +1 -1
  408. package/dist/esm/p-content-slider.entry.js.map +1 -1
  409. package/dist/esm/p-counter.entry.js.map +1 -1
  410. package/dist/esm/p-cropper.entry.js.map +1 -1
  411. package/dist/esm/p-datepicker.entry.js.map +1 -1
  412. package/dist/esm/p-divider.entry.js.map +1 -1
  413. package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
  414. package/dist/esm/p-drawer.entry.js.map +1 -1
  415. package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
  416. package/dist/esm/p-dropdown_2.entry.js +7 -2
  417. package/dist/esm/p-dropdown_2.entry.js.map +1 -1
  418. package/dist/esm/p-floating-menu-container_8.entry.js +40 -40
  419. package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
  420. package/dist/esm/p-helper_3.entry.js +4 -4
  421. package/dist/esm/p-helper_3.entry.js.map +1 -1
  422. package/dist/esm/p-info-panel.entry.js.map +1 -1
  423. package/dist/esm/p-label_3.entry.js +1 -1
  424. package/dist/esm/p-label_3.entry.js.map +1 -1
  425. package/dist/esm/p-layout.entry.js.map +1 -1
  426. package/dist/esm/p-modal-body_4.entry.js.map +1 -1
  427. package/dist/esm/p-modal.entry.js.map +1 -1
  428. package/dist/esm/p-navbar.entry.js.map +1 -1
  429. package/dist/esm/p-navigation-item.entry.js.map +1 -1
  430. package/dist/esm/p-page-size-select_3.entry.js.map +1 -1
  431. package/dist/esm/p-profile.entry.js.map +1 -1
  432. package/dist/esm/p-select.entry.js +136 -18
  433. package/dist/esm/p-select.entry.js.map +1 -1
  434. package/dist/esm/p-slider-indicator.entry.js.map +1 -1
  435. package/dist/esm/p-status.entry.js.map +1 -1
  436. package/dist/esm/p-stepper-item.entry.js.map +1 -1
  437. package/dist/esm/p-stepper-line.entry.js.map +1 -1
  438. package/dist/esm/p-stepper.entry.js.map +1 -1
  439. package/dist/esm/p-tab-group.entry.js.map +1 -1
  440. package/dist/esm/p-tab-item.entry.js.map +1 -1
  441. package/dist/esm/p-table-column.entry.js.map +1 -1
  442. package/dist/esm/p-table.entry.js.map +1 -1
  443. package/dist/esm/p-toast-container.entry.js.map +1 -1
  444. package/dist/esm/p-toast.entry.js.map +1 -1
  445. package/dist/esm/p-tooltip.entry.js.map +1 -1
  446. package/dist/esm/paperless.js +1 -1
  447. package/dist/index.html +1 -1
  448. package/dist/paperless/p-03090f03.entry.js.map +1 -1
  449. package/dist/paperless/p-085e6ff4.entry.js.map +1 -1
  450. package/dist/paperless/p-2becd73c.entry.js.map +1 -1
  451. package/dist/paperless/p-2cb55f24.entry.js.map +1 -1
  452. package/dist/paperless/p-2cd5062f.entry.js.map +1 -1
  453. package/dist/paperless/p-35c563a7.entry.js.map +1 -1
  454. package/dist/paperless/p-415c5040.entry.js.map +1 -1
  455. package/dist/paperless/p-424d5c8a.entry.js.map +1 -1
  456. package/dist/paperless/p-46a939e2.entry.js.map +1 -1
  457. package/dist/paperless/p-4c30c74b.entry.js.map +1 -1
  458. package/dist/paperless/p-4dc5647e.entry.js.map +1 -1
  459. package/dist/paperless/p-4e9e4ce2.entry.js.map +1 -1
  460. package/dist/paperless/p-606ad811.entry.js.map +1 -1
  461. package/dist/paperless/p-682db916.entry.js.map +1 -1
  462. package/dist/paperless/p-699e0b35.entry.js.map +1 -1
  463. package/dist/paperless/p-6a5aeb90.entry.js.map +1 -1
  464. package/dist/paperless/p-7793ba3a.entry.js.map +1 -1
  465. package/dist/paperless/p-7d15ff9a.entry.js.map +1 -1
  466. package/dist/paperless/p-8426ca20.entry.js.map +1 -1
  467. package/dist/paperless/p-93052b42.entry.js.map +1 -1
  468. package/dist/paperless/p-97bcf0b5.entry.js.map +1 -1
  469. package/dist/paperless/p-9c914665.entry.js.map +1 -1
  470. package/dist/paperless/p-9d3d72fa.entry.js.map +1 -1
  471. package/dist/paperless/p-a2b552f9.entry.js.map +1 -1
  472. package/dist/paperless/p-a7344d53.entry.js +2 -0
  473. package/dist/paperless/p-a7344d53.entry.js.map +1 -0
  474. package/dist/paperless/p-af6b813e.entry.js.map +1 -1
  475. package/dist/paperless/p-b6f43309.entry.js.map +1 -1
  476. package/dist/paperless/p-b7c0f157.entry.js.map +1 -1
  477. package/dist/paperless/p-c644d1e3.entry.js.map +1 -1
  478. package/dist/paperless/p-c9b840a7.entry.js.map +1 -1
  479. package/dist/paperless/p-cb2674b5.entry.js.map +1 -1
  480. package/dist/paperless/p-cf7bd354.entry.js.map +1 -1
  481. package/dist/paperless/p-d0796984.entry.js.map +1 -1
  482. package/dist/paperless/p-d23db949.entry.js.map +1 -1
  483. package/dist/paperless/p-dace47c5.entry.js.map +1 -1
  484. package/dist/paperless/p-dd20caf1.entry.js.map +1 -1
  485. package/dist/paperless/p-dfa8eae9.entry.js +2 -0
  486. package/dist/paperless/p-dfa8eae9.entry.js.map +1 -0
  487. package/dist/paperless/p-ec15ee73.entry.js.map +1 -1
  488. package/dist/paperless/p-ec29eed0.entry.js.map +1 -1
  489. package/dist/paperless/p-f0f1a46b.entry.js.map +1 -1
  490. package/dist/paperless/p-f34e08ec.entry.js.map +1 -1
  491. package/dist/paperless/p-f9e52ae3.entry.js.map +1 -1
  492. package/dist/paperless/p-fac13366.entry.js.map +1 -1
  493. package/dist/paperless/paperless.css +7 -0
  494. package/dist/paperless/paperless.esm.js +1 -1
  495. package/dist/paperless/paperless.esm.js.map +1 -1
  496. package/dist/style/form/_checkbox.scss +4 -0
  497. package/dist/sw.js +1 -1
  498. package/dist/sw.js.map +1 -1
  499. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +4 -0
  500. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +4 -0
  501. package/dist/types/components/molecules/select/select.component.d.ts +34 -0
  502. package/dist/types/components.d.ts +105 -45
  503. package/hydrate/index.js +201 -70
  504. package/package.json +1 -1
  505. package/dist/build/p-573648d0.entry.js +0 -2
  506. package/dist/build/p-573648d0.entry.js.map +0 -1
  507. package/dist/build/p-9c7cfd25.entry.js +0 -2
  508. package/dist/build/p-9c7cfd25.entry.js.map +0 -1
  509. package/dist/paperless/p-573648d0.entry.js +0 -2
  510. package/dist/paperless/p-573648d0.entry.js.map +0 -1
  511. package/dist/paperless/p-9c7cfd25.entry.js +0 -2
  512. package/dist/paperless/p-9c7cfd25.entry.js.map +0 -1
@@ -1 +1 @@
1
- {"file":"p-table.entry.js","mappings":";;;;AAAA,MAAM,iBAAiB,GAAG,irGAAirG;;MC6B9rG,KAAK;;;;;;;;;;;;;;;;IAoUN,cAAS,GAAG,KAAK,CAAC;IAClB,yBAAoB,GAAG,KAAK,CAAC;IAC7B,0BAAqB,GAAG,KAAK,CAAC;IAC9B,uBAAkB,GAAG,KAAK,CAAC;;mBA9TR,KAAK;yBAKC,KAAK;yBAKL,KAAK;+BAKA,CAAC;8BAKD,IAAI;0BAKR,IAAI;wBAKR,EAAE;8BAKM,IAAI;8CAK+B,CACrE,MAAc;;MAEd,OAAA,iBAAiB,CACb,OAAC,MAAM,KAAK,CAAC;UACP,MAAA,IAAI,CAAC,QAAQ,CAAC,aAAa,0CAAE,eAAe;UAC5C,MAAA,IAAI,CAAC,QAAQ,CAAC,aAAa,0CAAE,sBAAsB,CACxD,0CAAE,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC,CACnC,CAAA;KAAA;;;wBAyD2B,IAAI;wBAKE,EAAE;;wBAUR,IAAI;;wBAUJ,IAAI;;;wBAeJ,KAAK;+BAKE,KAAK;+BAKL,KAAK;4BAKJ,QAAQ;;;wBAiDhB,IAAI;0BAKF,IAAI;4BAKF,IAAI;wBAKR,IAAI;gBAKmB,CAAC;;oBAkB7B,WAAW;2BAKF,kBAAkB;4BAqBlB,IAAI;4BAGC,gBACrC,OAAA,iBAAiB,CAAC,MAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,0CAAE,SAAS,CAAC,MAAM,CAAC,CAAA,EAAA;6BACxB,gBACtC,OAAA,iBAAiB,CAAC,MAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,0CAAE,SAAS,CAAC,OAAO,CAAC,CAAA,EAAA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EAAE,CAAE,OAAO,0CAAE,WAAW,EAAE,MAAK,aAAa,EAAE;MAC9C,OAAO,IAAI,CAAC;KACf;IAED,OAAO,IAAI,CAAC,cAAc,CAAC,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,aAAa,CAAC,CAAC;GACjD;;;;;;;;;;","names":[],"sources":["src/components/organisms/table/table.component.scss?tag=p-table","src/components/organisms/table/table.component.tsx"],"sourcesContent":["p-table {\n @apply relative flex flex-col;\n\n .p-input[type='checkbox'] {\n flex-shrink: 0;\n }\n\n p-table-container {\n @apply relative;\n\n p-floating-menu-container {\n @apply fixed bottom-4 left-1/2 -translate-x-1/2 transform;\n animation: forwards floatingMenuContainerIn 0.3s ease !important;\n\n @screen tablet {\n @apply absolute bottom-16;\n }\n\n &:not(.shown) {\n @apply hidden;\n }\n\n &.inactive {\n animation: forwards floatingMenuContainerOut 0.3s ease !important;\n }\n\n .hide-mobile {\n @apply hidden tablet:block;\n }\n }\n }\n}\n\n@keyframes floatingMenuContainerOut {\n 0% {\n display: flex;\n transform: translateY(0) translateX(-50%);\n opacity: 100;\n }\n 99% {\n transform: translateY(100%) translateX(-50%);\n opacity: 0;\n display: flex;\n }\n 100% {\n transform: translateY(100%) translateX(-50%);\n opacity: 0;\n display: none;\n }\n}\n\n@keyframes floatingMenuContainerIn {\n 0% {\n transform: translateY(100%) translateX(-50%);\n opacity: 0;\n display: none;\n }\n 1% {\n transform: translateY(100%) translateX(-50%);\n opacity: 0;\n display: flex;\n }\n 100% {\n transform: translateY(0) translateX(-50%);\n opacity: 100;\n display: flex;\n }\n}\n","import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { IconVariant } from '../../../components';\nimport { QuickFilter, RowClickEvent } from '../../../types/table';\nimport { formatTranslation, getLocaleComponentStrings } from '../../../utils';\nimport { TableColumn } from '../../helpers/table-column/table-column.component';\nimport {\n defaultSize,\n defaultSizeOptions,\n} from '../../molecules/page-size-select/constants';\nimport { buttonTemplateFunc } from '../../molecules/table-header/table-header.component';\n\nexport type templateFunc = () => string;\nexport type amountSelectedTemplateFunc = (amount: number) => string;\n\n@Component({\n tag: 'p-table',\n styleUrl: 'table.component.scss',\n})\nexport class Table {\n /**\n * The items to be fed to the table\n */\n @Prop() items: string;\n\n /**\n * Wether data is loading\n */\n @Prop() loading: boolean = false;\n\n /**\n * Wether the header should show loading state\n */\n @Prop() headerLoading: boolean = false;\n\n /**\n * Wether the footer should show loading state\n */\n @Prop() footerLoading: boolean = false;\n\n /**\n * The amount of loading rows to show\n */\n @Prop() amountOfLoadingRows: number = 6;\n\n /**\n * Wether to enable selection\n */\n @Prop() enableRowSelection: boolean = true;\n\n /**\n * Wether to enable row clicking\n */\n @Prop() enableRowClick: boolean = true;\n\n /**\n * The current selection of items\n */\n @Prop() selectedRows: any[] = [];\n\n /**\n * Wether to enable the floating menu\n */\n @Prop() enableFloatingMenu: boolean = true;\n\n /**\n * The template for amount selected item in the floating menu\n */\n @Prop() floatingMenuAmountSelectedTemplate: amountSelectedTemplateFunc = (\n amount: number\n ) =>\n formatTranslation(\n (amount === 1\n ? this._locales.floating_menu?.amount_selected\n : this._locales.floating_menu?.amount_selected_plural\n )?.replace('{{amount}}', amount)\n );\n\n /**\n * Event whenever the current selection changes\n */\n @Event({\n bubbles: false,\n })\n selectedRowsChange: EventEmitter<any>;\n\n /**\n * The key to determine if a row is selected\n */\n @Prop() selectionKey: string;\n\n /**\n * A key to determine if a row can be selected\n */\n @Prop() canSelectKey: string;\n\n /**\n * Event whenever a row is clicked\n */\n @Event({\n bubbles: false,\n })\n rowClick: EventEmitter<RowClickEvent>;\n\n /**\n * Event whenever a row is selected\n */\n @Event({\n bubbles: false,\n })\n rowSelected: EventEmitter<any>;\n\n /**\n * Event whenever a row is deselected\n */\n @Event({\n bubbles: false,\n })\n rowDeselected: EventEmitter<any>;\n\n /**\n * Event when the table has rendered\n */\n @Event({\n bubbles: false,\n })\n hasRendered: EventEmitter<number>;\n\n /** START HEADER */\n\n /**\n * Wether to show the header\n */\n @Prop() enableHeader: boolean = true;\n\n /**\n * Quick filters to show\n */\n @Prop() quickFilters: QuickFilter[] = [];\n\n /**\n * Active quick filter identifier\n */\n @Prop() activeQuickFilterIdentifier: string;\n\n /**\n * Wether to show the search input\n */\n @Prop() enableSearch: boolean = true;\n\n /**\n * The query to show in the search bar\n */\n @Prop({ mutable: true }) query: string;\n\n /**\n * Wether to show the filter button\n */\n @Prop() enableFilter: boolean = true;\n\n /**\n * The amount of filters being selected\n */\n @Prop() selectedFiltersAmount: number;\n\n /**\n * The template for the filter button text\n */\n @Prop() filterButtonTemplate: templateFunc;\n\n /**\n * Wether to show the action button\n */\n @Prop() enableAction: boolean = false;\n\n /**\n * Wether the action button is loading\n */\n @Prop() actionButtonLoading: boolean = false;\n\n /**\n * Wether the action button is enabled\n */\n @Prop() actionButtonEnabled: boolean = false;\n\n /**\n * The action button icon\n */\n @Prop() actionButtonIcon: IconVariant = 'pencil';\n\n /**\n * The action button text if changed\n */\n @Prop() actionButtonText: string;\n\n /**\n * The template for the action button text\n */\n @Prop() actionButtonTemplate: buttonTemplateFunc;\n\n /**\n * Event when one of the quick filters is clicked\n */\n @Event({\n bubbles: false,\n })\n quickFilter: EventEmitter<QuickFilter>;\n\n /**\n * Event when the query changes\n */\n @Event({\n bubbles: false,\n })\n queryChange: EventEmitter<string>;\n\n /**\n * Event when the filter button is clicked\n */\n @Event({\n bubbles: false,\n })\n filter: EventEmitter<null>;\n\n /**\n * Event when the action button is clicked\n */\n @Event({\n bubbles: false,\n })\n action: EventEmitter<null>;\n\n /** START FOOTER */\n\n /**\n * Wether to show the header\n */\n @Prop() enableFooter: boolean = true;\n\n /**\n * Wether to enable page size select\n */\n @Prop() enablePageSize: boolean = true;\n\n /**\n * Wether to enable pagination\n */\n @Prop() enablePagination: boolean = true;\n\n /**\n * Wether to enable export\n */\n @Prop() enableExport: boolean = true;\n\n /**\n * The current page\n */\n @Prop({ mutable: true, reflect: true }) page: number = 1;\n\n /**\n * The total amount of items\n */\n @Prop() total!: number;\n\n /**\n * Event whenever the page changes\n */\n @Event({\n bubbles: false,\n })\n pageChange: EventEmitter<number>;\n\n /**\n * The amount of items per page\n */\n @Prop() pageSize: number = defaultSize;\n\n /**\n * The options for the page size\n */\n @Prop() pageSizeOptions: number[] = defaultSizeOptions;\n\n /**\n * Event whenever the page changes\n */\n @Event({\n bubbles: false,\n })\n pageSizeChange: EventEmitter<number>;\n\n /**\n * Event whenever the page changes\n */\n @Event({\n bubbles: false,\n })\n export: EventEmitter<number>;\n\n /**\n * Wether to hide when there is only 1 page available\n */\n @Prop() hideOnSinglePage: boolean = true;\n\n /* Empty state start */\n @Prop() emptyStateHeader: templateFunc = () =>\n formatTranslation(this._locales.empty_state?.no_filter.header);\n @Prop() emptyStateContent: templateFunc = () =>\n formatTranslation(this._locales.empty_state?.no_filter.content);\n @Prop() emptyStateAction: templateFunc = () =>\n formatTranslation(this._locales.empty_state?.no_filter.action);\n /**\n * Wether to enable empty state action\n */\n @Prop() enableEmptyStateAction: boolean = true;\n\n @Prop() emptyStateFilteredHeader: templateFunc = () =>\n formatTranslation(this._locales.empty_state.filtered.header);\n @Prop() emptyStateFilteredContent: templateFunc = () =>\n formatTranslation(this._locales.empty_state.filtered.content);\n\n /**\n * Event whenever the empty state is clicked\n */\n @Event({\n bubbles: false,\n })\n emptyStateActionClick: EventEmitter<null>;\n\n /* Empty state end */\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n /**\n * Locales used for this component\n */\n @State() private _locales: any = {};\n\n @State() private _columns: any[] = [];\n @State() private _items: any[] = [];\n\n private _ctrlDown = false;\n private _hasCustomFilterSlot = false;\n private _hasFloatingMenuItems = false;\n private _floatingMenuShown = false;\n\n componentWillLoad() {\n this._hasCustomFilterSlot = !!this._el.querySelector(\n ':scope > [slot=\"custom-filter\"]'\n );\n this._hasFloatingMenuItems = !!this._el.querySelectorAll(\n ':scope > [slot=\"floating-menu-item\"]'\n ).length;\n\n this._setLocales();\n this._parseItems(this.items);\n this._generateColumns();\n }\n\n componentDidRender() {\n this.hasRendered.emit();\n }\n\n render() {\n return (\n <Host class=\"p-table\">\n <p-table-container>\n {this.enableHeader && (\n <p-table-header\n // quick filters\n quickFilters={this.quickFilters}\n activeQuickFilterIdentifier={\n this.activeQuickFilterIdentifier\n }\n onQuickFilter={({ detail }) =>\n this.quickFilter.emit(detail)\n }\n // search\n enableSearch={this.enableSearch}\n query={this.query}\n onQueryChange={({ detail }) =>\n this.queryChange.emit(detail)\n }\n // filter button\n enableFilter={this.enableFilter}\n selectedFiltersAmount={this.selectedFiltersAmount}\n filterButtonTemplate={this.filterButtonTemplate}\n onFilter={() => this.filter.emit()}\n // action button\n enableAction={this.enableAction}\n actionIcon={this.actionButtonIcon}\n actionText={this.actionButtonText}\n actionLoading={this.actionButtonLoading}\n canUseAction={this.actionButtonEnabled}\n actionButtonTemplate={this.actionButtonTemplate}\n onAction={() => this.action.emit()}\n itemsSelectedAmount={this.selectedRows?.length}\n //loading\n loading={this.headerLoading}\n >\n {this._hasCustomFilterSlot && (\n <slot\n name=\"custom-filter\"\n slot=\"custom-filter\"\n />\n )}\n </p-table-header>\n )}\n\n {this._getHeader()}\n <div class=\"flex flex-col\">{this._getRows()}</div>\n\n {this.enableFooter && (\n <p-table-footer\n // overall\n hideOnSinglePage={this.hideOnSinglePage}\n // page size select\n enablePageSize={this.enablePageSize}\n pageSize={this.pageSize}\n pageSizeOptions={this.pageSizeOptions}\n onPageSizeChange={({ detail }) =>\n this.pageSizeChange.emit(detail)\n }\n // pagination\n enablePagination={this.enablePagination}\n page={this.page}\n total={this.total}\n onPageChange={({ detail }) =>\n this.pageChange.emit(detail)\n }\n // export\n enableExport={this.enableExport}\n onExport={() => this.export.emit()}\n //loading\n loading={this.footerLoading}\n ></p-table-footer>\n )}\n\n {this.enableFloatingMenu && this.enableRowSelection ? (\n <p-floating-menu-container\n usedInTable={true}\n class={`${\n this.selectedRows?.length ? '' : 'inactive'\n } ${this._floatingMenuShown ? 'shown' : ''}`}\n >\n <p-floating-menu-item\n hover={false}\n slot=\"floating-menu-item\"\n class={\n this._hasFloatingMenuItems\n ? 'hide-mobile'\n : ''\n }\n >\n {this.floatingMenuAmountSelectedTemplate(\n this.selectedRows?.length\n )}\n </p-floating-menu-item>\n <p-divider\n class={`mx-0 text-storm ${\n this._hasFloatingMenuItems\n ? 'hide-mobile'\n : ''\n }`}\n variant=\"vertical\"\n slot=\"floating-menu-item\"\n />\n {this._hasFloatingMenuItems && (\n <slot name=\"floating-menu-item\"></slot>\n )}\n {this._hasFloatingMenuItems && (\n <p-divider\n class=\"mx-0 text-storm\"\n variant=\"vertical\"\n slot=\"floating-menu-item\"\n />\n )}\n <p-floating-menu-item\n slot=\"floating-menu-item\"\n onClick={() =>\n this._selectAllChange(null, false)\n }\n >\n <p-icon variant=\"negative\" />\n </p-floating-menu-item>\n </p-floating-menu-container>\n ) : (\n ''\n )}\n </p-table-container>\n </Host>\n );\n }\n\n @Listen('localeChanged', { target: 'body' })\n private async _setLocales(): Promise<void> {\n this._locales = await getLocaleComponentStrings(this._el);\n }\n\n @Listen('tableDefinitionChanged', { target: 'body' })\n onTableDefinitionUpdated() {\n this._generateColumns();\n }\n\n @Listen('keydown', { target: 'document' })\n keyDown({ key }) {\n if (key !== 'Control' || this._ctrlDown === true) {\n return;\n }\n\n this._ctrlDown = true;\n }\n\n @Listen('keyup', { target: 'document' })\n keyUp({ key }) {\n if (key !== 'Control' || this._ctrlDown === false) {\n return;\n }\n\n this._ctrlDown = false;\n }\n\n @Listen('visibilitychange', { target: 'document' })\n visibilityChange() {\n if (document.visibilityState !== 'hidden' || this._ctrlDown === false) {\n return;\n }\n\n this._ctrlDown = false;\n }\n\n @Watch('items')\n private _parseItems(items: string) {\n if (!items) {\n this._items = [];\n return;\n }\n\n if (Array.isArray(items)) {\n this._items = items;\n return;\n }\n\n this._items = JSON.parse(items);\n }\n\n private _generateColumns() {\n const definitions = this._el.querySelectorAll('p-table-column');\n const definitionsArray = Array.from(definitions);\n\n definitionsArray[definitionsArray.length - 1]['isLast'] = true;\n\n this._columns = definitionsArray;\n }\n\n private _getHeader() {\n return (\n <p-table-row variant=\"header\">\n {this._columns.map((col: TableColumn, index) => (\n <p-table-cell\n definition={col}\n value={col.name}\n variant=\"header\"\n checkbox={\n index === 0 || col.hasCheckbox\n ? this._getCheckbox(\n null,\n this.loading ? 'loading' : 'header'\n )\n : null\n }\n index={index}\n ></p-table-cell>\n ))}\n </p-table-row>\n );\n }\n\n private _getRows() {\n if (this.loading) {\n return Array.from(\n {\n length: this.amountOfLoadingRows,\n },\n (_, i) => (\n <p-table-row\n enableHover={\n this.enableRowSelection || this.enableRowClick\n }\n >\n {this._getLoadingColumns(i)}\n </p-table-row>\n )\n );\n }\n\n if (!this._items.length) {\n return this._getEmptyState();\n }\n\n return this._items.map((item, index) => (\n <p-table-row\n enableHover={this.enableRowSelection || this.enableRowClick}\n onClick={(ev) => this._rowClick(ev, index)}\n >\n {this._getRowColumns(item, index)}\n </p-table-row>\n ));\n }\n\n private _getRowColumns(item, index) {\n return this._columns.map((col: TableColumn, colIndex) => {\n return (\n <p-table-cell\n definition={col}\n item={item}\n checkbox={\n colIndex === 0 || col.hasCheckbox\n ? this._getCheckbox(index)\n : null\n }\n index={colIndex}\n rowIndex={index}\n ></p-table-cell>\n );\n });\n }\n\n private _getLoadingColumns(index) {\n return this._columns.map((col: TableColumn, colIndex) => {\n return (\n <p-table-cell\n definition={col}\n variant=\"loading\"\n checkbox={\n colIndex === 0 || col.hasCheckbox\n ? this._getCheckbox(index, 'loading')\n : null\n }\n index={colIndex}\n rowIndex={index}\n ></p-table-cell>\n );\n });\n }\n\n private _getCheckbox(\n rowIndex,\n variant: 'header' | 'default' | 'loading' = 'default'\n ) {\n if (!this.enableRowSelection || !this.selectionKey) {\n return;\n }\n\n if (variant === 'loading') {\n return <p-loader variant=\"ghost\" class=\"h-6 w-6 rounded\" />;\n }\n\n if (variant === 'header') {\n return (\n <input\n class=\"p-input\"\n type=\"checkbox\"\n onChange={(ev) => this._selectAllChange(ev)}\n checked={this._selectionContainsAll()}\n indeterminate={this._selectionIndeterminate()}\n />\n );\n }\n\n const item = this._items[rowIndex];\n\n return (\n <input\n class=\"p-input\"\n type=\"checkbox\"\n onChange={(ev) => this._checkboxChange(ev?.target, rowIndex)}\n disabled={this.canSelectKey && !item[this.canSelectKey]}\n checked={this._selectionContains(item, rowIndex)}\n />\n );\n }\n\n private _getEmptyState() {\n if (this.query?.length || this.selectedFiltersAmount) {\n return (\n <div class=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\">\n <p-illustration variant=\"empty-state-search\" class=\"mb-6\" />\n <p class=\"text-storm-default font-semibold\">\n {this.emptyStateFilteredHeader()}\n </p>\n <p class=\"mb-14 text-sm text-storm-medium\">\n {this.emptyStateFilteredContent()}\n </p>\n </div>\n );\n }\n\n return (\n <div\n class={`flex max-w-[20rem] flex-col items-center self-center py-24 text-center ${\n this.enableEmptyStateAction && 'cursor-pointer'\n }`}\n onClick={() =>\n this.enableEmptyStateAction &&\n this.emptyStateActionClick.emit(null)\n }\n >\n <p-illustration variant=\"empty-state-add\" class=\"mb-6\" />\n <p class=\"text-storm-default font-semibold\">\n {this.emptyStateHeader()}\n </p>\n <p class=\"mb-6 text-sm text-storm-medium\">\n {this.emptyStateContent()}\n </p>\n {this.enableEmptyStateAction && (\n <p-button variant=\"secondary\" icon=\"plus\" size=\"small\">\n {this.emptyStateAction()}\n </p-button>\n )}\n </div>\n );\n }\n\n private _selectAllChange($event: any, forceValue?: boolean) {\n if (!this.enableRowSelection) {\n return;\n }\n\n const value =\n forceValue === undefined\n ? this._getCheckedValue($event.target)\n : forceValue;\n if (value) {\n const toAdd = [];\n for (let i = 0; i < this._items.length; i++) {\n const row = this._items[i];\n if (this.canSelectKey && !row[this.canSelectKey]) {\n continue;\n }\n\n if (this._selectionContains(row, i)) {\n continue;\n }\n\n toAdd.push(row);\n this.rowSelected.emit(row);\n }\n\n this.selectedRows = [...this.selectedRows, ...toAdd];\n this.selectedRowsChange.emit(this.selectedRows);\n if (this.enableFloatingMenu && !this._floatingMenuShown) {\n this._floatingMenuShown = true;\n }\n\n return;\n }\n\n for (let i = 0; i < this.selectedRows.length; i++) {\n const value = this.selectedRows[i];\n const row = this._items.find(\n (d) =>\n this._getSelectionValue(d, i) ===\n this._getSelectionValue(value, i)\n );\n\n if (!row) {\n continue;\n }\n\n this.rowDeselected.emit(row);\n }\n\n this.selectedRows = [];\n this.selectedRowsChange.emit(this.selectedRows);\n }\n\n private _checkboxChange(target: any, index: number) {\n if (!this.enableRowSelection) {\n return;\n }\n\n const row = this._items[index];\n\n if (this.canSelectKey && !row[this.canSelectKey]) {\n target.checked = false;\n return;\n }\n\n const value = this._getCheckedValue(target);\n if (value) {\n this.selectedRows = [...this.selectedRows, row];\n this.selectedRowsChange.emit(this.selectedRows);\n this.rowSelected.emit(row);\n\n if (this.enableFloatingMenu && !this._floatingMenuShown) {\n this._floatingMenuShown = true;\n }\n\n return;\n }\n\n const indexOfToRemove = this._selectionContains(row, index, true);\n\n // we need to do this, because splice does not trigger the selection setter.\n const selection = [...this.selectedRows];\n selection.splice(indexOfToRemove, 1);\n this.selectedRows = selection;\n this.selectedRowsChange.emit(this.selectedRows);\n this.rowDeselected.emit(row);\n }\n\n private _getCheckedValue(target: any) {\n return target?.checked;\n }\n\n private _getSelectionValue(row: any, index: number) {\n return this.selectionKey ? row?.[this.selectionKey] || index : index;\n }\n\n private _selectionContains(row, index, returnIndex = false): any {\n const returnValue = this.selectedRows.findIndex(\n (item) =>\n this._getSelectionValue(row, index) ===\n this._getSelectionValue(item, index)\n );\n return !returnIndex ? returnValue >= 0 : returnValue;\n }\n\n private _selectionContainsAll() {\n let returnValue = true;\n if (!this._items?.length) {\n return false;\n }\n\n for (let i = 0; i < this._items?.length; i++) {\n const item = this._items[i];\n const contains = this._selectionContains(item, i);\n\n if (!contains) {\n returnValue = false;\n break;\n }\n }\n\n return returnValue;\n }\n\n private _selectionIndeterminate() {\n if (!this._items?.length || !this.selectedRows?.length) {\n return false;\n }\n\n let containsCount = 0;\n for (let i = 0; i < this._items?.length; i++) {\n const item = this._items[i];\n const contains = this._selectionContains(item, i);\n\n if (contains) {\n containsCount++;\n }\n }\n\n return containsCount > 0 && containsCount !== this._items.length;\n }\n\n private _rowClick($event, index) {\n const target = $event.target;\n\n if (\n target.tagName.toLowerCase() === 'input' ||\n target.type === 'checkbox'\n ) {\n return;\n }\n\n const row = this._findRow($event.target);\n const action = this._findRowAction($event.target);\n\n if (action) {\n return;\n }\n\n if (this.enableRowClick) {\n const item = this._items[index];\n this.rowClick.emit({\n item,\n ctrlDown: this._ctrlDown,\n });\n return;\n }\n\n if (!this.enableRowSelection) {\n return;\n }\n\n const checkbox = row?.querySelector('input[type=\"checkbox\"]');\n\n if (!checkbox) {\n return;\n }\n\n checkbox.checked = !checkbox.checked;\n this._checkboxChange(checkbox, index);\n }\n\n private _findRow(el: HTMLElement) {\n if (!el) {\n return el;\n }\n\n if (el?.tagName?.toLowerCase() === 'p-table-row') {\n return el;\n }\n\n return this._findRow(el?.parentElement);\n }\n\n private _findRowAction(el: HTMLElement) {\n if (!el) {\n return null;\n }\n\n if (\n el.getAttribute('data-is-action') !== null &&\n el.getAttribute('data-is-action') !== 'false'\n ) {\n return el;\n }\n\n if (el?.tagName?.toLowerCase() === 'p-table-row') {\n return null;\n }\n\n return this._findRowAction(el?.parentElement);\n }\n}\n"],"version":3}
1
+ {"file":"p-table.entry.js","mappings":";;;;AAAA,MAAM,iBAAiB,GAAG,irGAAirG;;MC6B9rG,KAAK;;;;;;;;;;;;;;;;IAoUT,cAAS,GAAG,KAAK,CAAC;IAClB,yBAAoB,GAAG,KAAK,CAAC;IAC7B,0BAAqB,GAAG,KAAK,CAAC;IAC9B,uBAAkB,GAAG,KAAK,CAAC;;mBA9TR,KAAK;yBAKC,KAAK;yBAKL,KAAK;+B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AAC,QAAQ,EAAE;MACd,OAAO;KACP;IAED,QAAQ,CAAC,OAAO,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC;IACrC,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;GACtC;EAEO,QAAQ,CAAC,EAAe;;IAC/B,IAAI,CAAC,EAAE,EAAE;MACR,OAAO,EAAE,CAAC;KACV;IAED,IAAI,CAAA,MAAA,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,OAAO,0CAAE,WAAW,EAAE,MAAK,aAAa,EAAE;MACjD,OAAO,EAAE,CAAC;KACV;IAED,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,aAAa,CAAC,CAAC;GACxC;EAEO,cAAc,CAAC,EAAe;;IACrC,IAAI,CAAC,EAAE,EAAE;MACR,OAAO,IAAI,CAAC;KACZ;IAED,IACC,EAAE,CAAC,YAAY,CAAC,gBAAgB,CAAC,KAAK,IAAI;MAC1C,EAAE,CAAC,YAAY,CAAC,gBAAgB,CAAC,KAAK,OAAO,EAC5C;MACD,OAAO,EAAE,CAAC;KACV;IAED,IAAI,CAAA,MAAA,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,OAAO,0CAAE,WAAW,EAAE,MAAK,aAAa,EAAE;MACjD,OAAO,IAAI,CAAC;KACZ;IAED,OAAO,IAAI,CAAC,cAAc,CAAC,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,aAAa,CAAC,CAAC;GAC9C;;;;;;;;;;","names":[],"sources":["src/components/organisms/table/table.component.scss?tag=p-table","src/components/organisms/table/table.component.tsx"],"sourcesContent":["p-table {\n\t@apply relative flex flex-col;\n\n\t.p-input[type='checkbox'] {\n\t\tflex-shrink: 0;\n\t}\n\n\tp-table-container {\n\t\t@apply relative;\n\n\t\tp-floating-menu-container {\n\t\t\t@apply fixed bottom-4 left-1/2 -translate-x-1/2 transform;\n\t\t\tanimation: forwards floatingMenuContainerIn 0.3s ease !important;\n\n\t\t\t@screen tablet {\n\t\t\t\t@apply absolute bottom-16;\n\t\t\t}\n\n\t\t\t&:not(.shown) {\n\t\t\t\t@apply hidden;\n\t\t\t}\n\n\t\t\t&.inactive {\n\t\t\t\tanimation: forwards floatingMenuContainerOut 0.3s ease !important;\n\t\t\t}\n\n\t\t\t.hide-mobile {\n\t\t\t\t@apply hidden tablet:block;\n\t\t\t}\n\t\t}\n\t}\n}\n\n@keyframes floatingMenuContainerOut {\n\t0% {\n\t\tdisplay: flex;\n\t\ttransform: translateY(0) translateX(-50%);\n\t\topacity: 100;\n\t}\n\t99% {\n\t\ttransform: translateY(100%) translateX(-50%);\n\t\topacity: 0;\n\t\tdisplay: flex;\n\t}\n\t100% {\n\t\ttransform: translateY(100%) translateX(-50%);\n\t\topacity: 0;\n\t\tdisplay: none;\n\t}\n}\n\n@keyframes floatingMenuContainerIn {\n\t0% {\n\t\ttransform: translateY(100%) translateX(-50%);\n\t\topacity: 0;\n\t\tdisplay: none;\n\t}\n\t1% {\n\t\ttransform: translateY(100%) translateX(-50%);\n\t\topacity: 0;\n\t\tdisplay: flex;\n\t}\n\t100% {\n\t\ttransform: translateY(0) translateX(-50%);\n\t\topacity: 100;\n\t\tdisplay: flex;\n\t}\n}\n","import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n\tWatch,\n} from '@stencil/core';\nimport { IconVariant } from '../../../components';\nimport { QuickFilter, RowClickEvent } from '../../../types/table';\nimport { formatTranslation, getLocaleComponentStrings } from '../../../utils';\nimport { TableColumn } from '../../helpers/table-column/table-column.component';\nimport {\n\tdefaultSize,\n\tdefaultSizeOptions,\n} from '../../molecules/page-size-select/constants';\nimport { buttonTemplateFunc } from '../../molecules/table-header/table-header.component';\n\nexport type templateFunc = () => string;\nexport type amountSelectedTemplateFunc = (amount: number) => string;\n\n@Component({\n\ttag: 'p-table',\n\tstyleUrl: 'table.component.scss',\n})\nexport class Table {\n\t/**\n\t * The items to be fed to the table\n\t */\n\t@Prop() items: string;\n\n\t/**\n\t * Wether data is loading\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * Wether the header should show loading state\n\t */\n\t@Prop() headerLoading: boolean = false;\n\n\t/**\n\t * Wether the footer should show loading state\n\t */\n\t@Prop() footerLoading: boolean = false;\n\n\t/**\n\t * The amount of loading rows to show\n\t */\n\t@Prop() amountOfLoadingRows: number = 6;\n\n\t/**\n\t * Wether to enable selection\n\t */\n\t@Prop() enableRowSelection: boolean = true;\n\n\t/**\n\t * Wether to enable row clicking\n\t */\n\t@Prop() enableRowClick: boolean = true;\n\n\t/**\n\t * The current selection of items\n\t */\n\t@Prop() selectedRows: any[] = [];\n\n\t/**\n\t * Wether to enable the floating menu\n\t */\n\t@Prop() enableFloatingMenu: boolean = true;\n\n\t/**\n\t * The template for amount selected item in the floating menu\n\t */\n\t@Prop() floatingMenuAmountSelectedTemplate: amountSelectedTemplateFunc = (\n\t\tamount: number\n\t) =>\n\t\tformatTranslation(\n\t\t\t(amount === 1\n\t\t\t\t? this._locales.floating_menu?.amount_selected\n\t\t\t\t: this._locales.floating_menu?.amount_selected_plural\n\t\t\t)?.replace('{{amount}}', amount)\n\t\t);\n\n\t/**\n\t * Event whenever the current selection changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tselectedRowsChange: EventEmitter<any>;\n\n\t/**\n\t * The key to determine if a row is selected\n\t */\n\t@Prop() selectionKey: string;\n\n\t/**\n\t * A key to determine if a row can be selected\n\t */\n\t@Prop() canSelectKey: string;\n\n\t/**\n\t * Event whenever a row is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\trowClick: EventEmitter<RowClickEvent>;\n\n\t/**\n\t * Event whenever a row is selected\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\trowSelected: EventEmitter<any>;\n\n\t/**\n\t * Event whenever a row is deselected\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\trowDeselected: EventEmitter<any>;\n\n\t/**\n\t * Event when the table has rendered\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\thasRendered: EventEmitter<number>;\n\n\t/** START HEADER */\n\n\t/**\n\t * Wether to show the header\n\t */\n\t@Prop() enableHeader: boolean = true;\n\n\t/**\n\t * Quick filters to show\n\t */\n\t@Prop() quickFilters: QuickFilter[] = [];\n\n\t/**\n\t * Active quick filter identifier\n\t */\n\t@Prop() activeQuickFilterIdentifier: string;\n\n\t/**\n\t * Wether to show the search input\n\t */\n\t@Prop() enableSearch: boolean = true;\n\n\t/**\n\t * The query to show in the search bar\n\t */\n\t@Prop({ mutable: true }) query: string;\n\n\t/**\n\t * Wether to show the filter button\n\t */\n\t@Prop() enableFilter: boolean = true;\n\n\t/**\n\t * The amount of filters being selected\n\t */\n\t@Prop() selectedFiltersAmount: number;\n\n\t/**\n\t * The template for the filter button text\n\t */\n\t@Prop() filterButtonTemplate: templateFunc;\n\n\t/**\n\t * Wether to show the action button\n\t */\n\t@Prop() enableAction: boolean = false;\n\n\t/**\n\t * Wether the action button is loading\n\t */\n\t@Prop() actionButtonLoading: boolean = false;\n\n\t/**\n\t * Wether the action button is enabled\n\t */\n\t@Prop() actionButtonEnabled: boolean = false;\n\n\t/**\n\t * The action button icon\n\t */\n\t@Prop() actionButtonIcon: IconVariant = 'pencil';\n\n\t/**\n\t * The action button text if changed\n\t */\n\t@Prop() actionButtonText: string;\n\n\t/**\n\t * The template for the action button text\n\t */\n\t@Prop() actionButtonTemplate: buttonTemplateFunc;\n\n\t/**\n\t * Event when one of the quick filters is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tquickFilter: EventEmitter<QuickFilter>;\n\n\t/**\n\t * Event when the query changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tqueryChange: EventEmitter<string>;\n\n\t/**\n\t * Event when the filter button is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tfilter: EventEmitter<null>;\n\n\t/**\n\t * Event when the action button is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\taction: EventEmitter<null>;\n\n\t/** START FOOTER */\n\n\t/**\n\t * Wether to show the header\n\t */\n\t@Prop() enableFooter: boolean = true;\n\n\t/**\n\t * Wether to enable page size select\n\t */\n\t@Prop() enablePageSize: boolean = true;\n\n\t/**\n\t * Wether to enable pagination\n\t */\n\t@Prop() enablePagination: boolean = true;\n\n\t/**\n\t * Wether to enable export\n\t */\n\t@Prop() enableExport: boolean = true;\n\n\t/**\n\t * The current page\n\t */\n\t@Prop({ mutable: true, reflect: true }) page: number = 1;\n\n\t/**\n\t * The total amount of items\n\t */\n\t@Prop() total!: number;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tpageChange: EventEmitter<number>;\n\n\t/**\n\t * The amount of items per page\n\t */\n\t@Prop() pageSize: number = defaultSize;\n\n\t/**\n\t * The options for the page size\n\t */\n\t@Prop() pageSizeOptions: number[] = defaultSizeOptions;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tpageSizeChange: EventEmitter<number>;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\texport: EventEmitter<number>;\n\n\t/**\n\t * Wether to hide when there is only 1 page available\n\t */\n\t@Prop() hideOnSinglePage: boolean = true;\n\n\t/* Empty state start */\n\t@Prop() emptyStateHeader: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state?.no_filter.header);\n\t@Prop() emptyStateContent: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state?.no_filter.content);\n\t@Prop() emptyStateAction: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state?.no_filter.action);\n\t/**\n\t * Wether to enable empty state action\n\t */\n\t@Prop() enableEmptyStateAction: boolean = true;\n\n\t@Prop() emptyStateFilteredHeader: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state.filtered.header);\n\t@Prop() emptyStateFilteredContent: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state.filtered.content);\n\n\t/**\n\t * Event whenever the empty state is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\temptyStateActionClick: EventEmitter<null>;\n\n\t/* Empty state end */\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\t@State() private _columns: any[] = [];\n\t@State() private _items: any[] = [];\n\n\tprivate _ctrlDown = false;\n\tprivate _hasCustomFilterSlot = false;\n\tprivate _hasFloatingMenuItems = false;\n\tprivate _floatingMenuShown = false;\n\n\tcomponentWillLoad() {\n\t\tthis._hasCustomFilterSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"custom-filter\"]'\n\t\t);\n\t\tthis._hasFloatingMenuItems = !!this._el.querySelectorAll(\n\t\t\t':scope > [slot=\"floating-menu-item\"]'\n\t\t).length;\n\n\t\tthis._setLocales();\n\t\tthis._parseItems(this.items);\n\t\tthis._generateColumns();\n\t}\n\n\tcomponentDidRender() {\n\t\tthis.hasRendered.emit();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-table\">\n\t\t\t\t<p-table-container>\n\t\t\t\t\t{this.enableHeader && (\n\t\t\t\t\t\t<p-table-header\n\t\t\t\t\t\t\t// quick filters\n\t\t\t\t\t\t\tquickFilters={this.quickFilters}\n\t\t\t\t\t\t\tactiveQuickFilterIdentifier={\n\t\t\t\t\t\t\t\tthis.activeQuickFilterIdentifier\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tonQuickFilter={({ detail }) =>\n\t\t\t\t\t\t\t\tthis.quickFilter.emit(detail)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// search\n\t\t\t\t\t\t\tenableSearch={this.enableSearch}\n\t\t\t\t\t\t\tquery={this.query}\n\t\t\t\t\t\t\tonQueryChange={({ detail }) =>\n\t\t\t\t\t\t\t\tthis.queryChange.emit(detail)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// filter button\n\t\t\t\t\t\t\tenableFilter={this.enableFilter}\n\t\t\t\t\t\t\tselectedFiltersAmount={this.selectedFiltersAmount}\n\t\t\t\t\t\t\tfilterButtonTemplate={this.filterButtonTemplate}\n\t\t\t\t\t\t\tonFilter={() => this.filter.emit()}\n\t\t\t\t\t\t\t// action button\n\t\t\t\t\t\t\tenableAction={this.enableAction}\n\t\t\t\t\t\t\tactionIcon={this.actionButtonIcon}\n\t\t\t\t\t\t\tactionText={this.actionButtonText}\n\t\t\t\t\t\t\tactionLoading={this.actionButtonLoading}\n\t\t\t\t\t\t\tcanUseAction={this.actionButtonEnabled}\n\t\t\t\t\t\t\tactionButtonTemplate={this.actionButtonTemplate}\n\t\t\t\t\t\t\tonAction={() => this.action.emit()}\n\t\t\t\t\t\t\titemsSelectedAmount={this.selectedRows?.length}\n\t\t\t\t\t\t\t//loading\n\t\t\t\t\t\t\tloading={this.headerLoading}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{this._hasCustomFilterSlot && (\n\t\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\t\tname=\"custom-filter\"\n\t\t\t\t\t\t\t\t\tslot=\"custom-filter\"\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</p-table-header>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this._getHeader()}\n\t\t\t\t\t<div class=\"flex flex-col\">{this._getRows()}</div>\n\n\t\t\t\t\t{this.enableFooter && (\n\t\t\t\t\t\t<p-table-footer\n\t\t\t\t\t\t\t// overall\n\t\t\t\t\t\t\thideOnSinglePage={this.hideOnSinglePage}\n\t\t\t\t\t\t\t// page size select\n\t\t\t\t\t\t\tenablePageSize={this.enablePageSize}\n\t\t\t\t\t\t\tpageSize={this.pageSize}\n\t\t\t\t\t\t\tpageSizeOptions={this.pageSizeOptions}\n\t\t\t\t\t\t\tonPageSizeChange={({ detail }) =>\n\t\t\t\t\t\t\t\tthis.pageSizeChange.emit(detail)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// pagination\n\t\t\t\t\t\t\tenablePagination={this.enablePagination}\n\t\t\t\t\t\t\tpage={this.page}\n\t\t\t\t\t\t\ttotal={this.total}\n\t\t\t\t\t\t\tonPageChange={({ detail }) =>\n\t\t\t\t\t\t\t\tthis.pageChange.emit(detail)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// export\n\t\t\t\t\t\t\tenableExport={this.enableExport}\n\t\t\t\t\t\t\tonExport={() => this.export.emit()}\n\t\t\t\t\t\t\t//loading\n\t\t\t\t\t\t\tloading={this.footerLoading}\n\t\t\t\t\t\t></p-table-footer>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.enableFloatingMenu && this.enableRowSelection ? (\n\t\t\t\t\t\t<p-floating-menu-container\n\t\t\t\t\t\t\tusedInTable={true}\n\t\t\t\t\t\t\tclass={`${\n\t\t\t\t\t\t\t\tthis.selectedRows?.length ? '' : 'inactive'\n\t\t\t\t\t\t\t} ${this._floatingMenuShown ? 'shown' : ''}`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-floating-menu-item\n\t\t\t\t\t\t\t\thover={false}\n\t\t\t\t\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t\t\t\t\tclass={\n\t\t\t\t\t\t\t\t\tthis._hasFloatingMenuItems\n\t\t\t\t\t\t\t\t\t\t? 'hide-mobile'\n\t\t\t\t\t\t\t\t\t\t: ''\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.floatingMenuAmountSelectedTemplate(\n\t\t\t\t\t\t\t\t\tthis.selectedRows?.length\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</p-floating-menu-item>\n\t\t\t\t\t\t\t<p-divider\n\t\t\t\t\t\t\t\tclass={`mx-0 text-storm ${\n\t\t\t\t\t\t\t\t\tthis._hasFloatingMenuItems\n\t\t\t\t\t\t\t\t\t\t? 'hide-mobile'\n\t\t\t\t\t\t\t\t\t\t: ''\n\t\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t\t\tvariant=\"vertical\"\n\t\t\t\t\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t{this._hasFloatingMenuItems && (\n\t\t\t\t\t\t\t\t<slot name=\"floating-menu-item\"></slot>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t{this._hasFloatingMenuItems && (\n\t\t\t\t\t\t\t\t<p-divider\n\t\t\t\t\t\t\t\t\tclass=\"mx-0 text-storm\"\n\t\t\t\t\t\t\t\t\tvariant=\"vertical\"\n\t\t\t\t\t\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<p-floating-menu-item\n\t\t\t\t\t\t\t\tslot=\"floating-menu-item\"\n\t\t\t\t\t\t\t\tonClick={() =>\n\t\t\t\t\t\t\t\t\tthis._selectAllChange(null, false)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<p-icon variant=\"negative\" />\n\t\t\t\t\t\t\t</p-floating-menu-item>\n\t\t\t\t\t\t</p-floating-menu-container>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t''\n\t\t\t\t\t)}\n\t\t\t\t</p-table-container>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\t@Listen('tableDefinitionChanged', { target: 'body' })\n\tonTableDefinitionUpdated() {\n\t\tthis._generateColumns();\n\t}\n\n\t@Listen('keydown', { target: 'document' })\n\tkeyDown({ key }) {\n\t\tif (key !== 'Control' || this._ctrlDown === true) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._ctrlDown = true;\n\t}\n\n\t@Listen('keyup', { target: 'document' })\n\tkeyUp({ key }) {\n\t\tif (key !== 'Control' || this._ctrlDown === false) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._ctrlDown = false;\n\t}\n\n\t@Listen('visibilitychange', { target: 'document' })\n\tvisibilityChange() {\n\t\tif (document.visibilityState !== 'hidden' || this._ctrlDown === false) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._ctrlDown = false;\n\t}\n\n\t@Watch('items')\n\tprivate _parseItems(items: string) {\n\t\tif (!items) {\n\t\t\tthis._items = [];\n\t\t\treturn;\n\t\t}\n\n\t\tif (Array.isArray(items)) {\n\t\t\tthis._items = items;\n\t\t\treturn;\n\t\t}\n\n\t\tthis._items = JSON.parse(items);\n\t}\n\n\tprivate _generateColumns() {\n\t\tconst definitions = this._el.querySelectorAll('p-table-column');\n\t\tconst definitionsArray = Array.from(definitions);\n\n\t\tdefinitionsArray[definitionsArray.length - 1]['isLast'] = true;\n\n\t\tthis._columns = definitionsArray;\n\t}\n\n\tprivate _getHeader() {\n\t\treturn (\n\t\t\t<p-table-row variant=\"header\">\n\t\t\t\t{this._columns.map((col: TableColumn, index) => (\n\t\t\t\t\t<p-table-cell\n\t\t\t\t\t\tdefinition={col}\n\t\t\t\t\t\tvalue={col.name}\n\t\t\t\t\t\tvariant=\"header\"\n\t\t\t\t\t\tcheckbox={\n\t\t\t\t\t\t\tindex === 0 || col.hasCheckbox\n\t\t\t\t\t\t\t\t? this._getCheckbox(\n\t\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\tthis.loading ? 'loading' : 'header'\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t}\n\t\t\t\t\t\tindex={index}\n\t\t\t\t\t></p-table-cell>\n\t\t\t\t))}\n\t\t\t</p-table-row>\n\t\t);\n\t}\n\n\tprivate _getRows() {\n\t\tif (this.loading) {\n\t\t\treturn Array.from(\n\t\t\t\t{\n\t\t\t\t\tlength: this.amountOfLoadingRows,\n\t\t\t\t},\n\t\t\t\t(_, i) => (\n\t\t\t\t\t<p-table-row\n\t\t\t\t\t\tenableHover={\n\t\t\t\t\t\t\tthis.enableRowSelection || this.enableRowClick\n\t\t\t\t\t\t}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this._getLoadingColumns(i)}\n\t\t\t\t\t</p-table-row>\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\n\t\tif (!this._items.length) {\n\t\t\treturn this._getEmptyState();\n\t\t}\n\n\t\treturn this._items.map((item, index) => (\n\t\t\t<p-table-row\n\t\t\t\tenableHover={this.enableRowSelection || this.enableRowClick}\n\t\t\t\tonClick={(ev) => this._rowClick(ev, index)}\n\t\t\t>\n\t\t\t\t{this._getRowColumns(item, index)}\n\t\t\t</p-table-row>\n\t\t));\n\t}\n\n\tprivate _getRowColumns(item, index) {\n\t\treturn this._columns.map((col: TableColumn, colIndex) => {\n\t\t\treturn (\n\t\t\t\t<p-table-cell\n\t\t\t\t\tdefinition={col}\n\t\t\t\t\titem={item}\n\t\t\t\t\tcheckbox={\n\t\t\t\t\t\tcolIndex === 0 || col.hasCheckbox\n\t\t\t\t\t\t\t? this._getCheckbox(index)\n\t\t\t\t\t\t\t: null\n\t\t\t\t\t}\n\t\t\t\t\tindex={colIndex}\n\t\t\t\t\trowIndex={index}\n\t\t\t\t></p-table-cell>\n\t\t\t);\n\t\t});\n\t}\n\n\tprivate _getLoadingColumns(index) {\n\t\treturn this._columns.map((col: TableColumn, colIndex) => {\n\t\t\treturn (\n\t\t\t\t<p-table-cell\n\t\t\t\t\tdefinition={col}\n\t\t\t\t\tvariant=\"loading\"\n\t\t\t\t\tcheckbox={\n\t\t\t\t\t\tcolIndex === 0 || col.hasCheckbox\n\t\t\t\t\t\t\t? this._getCheckbox(index, 'loading')\n\t\t\t\t\t\t\t: null\n\t\t\t\t\t}\n\t\t\t\t\tindex={colIndex}\n\t\t\t\t\trowIndex={index}\n\t\t\t\t></p-table-cell>\n\t\t\t);\n\t\t});\n\t}\n\n\tprivate _getCheckbox(\n\t\trowIndex,\n\t\tvariant: 'header' | 'default' | 'loading' = 'default'\n\t) {\n\t\tif (!this.enableRowSelection || !this.selectionKey) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (variant === 'loading') {\n\t\t\treturn <p-loader variant=\"ghost\" class=\"h-6 w-6 rounded\" />;\n\t\t}\n\n\t\tif (variant === 'header') {\n\t\t\treturn (\n\t\t\t\t<input\n\t\t\t\t\tclass=\"p-input\"\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\tonChange={(ev) => this._selectAllChange(ev)}\n\t\t\t\t\tchecked={this._selectionContainsAll()}\n\t\t\t\t\tindeterminate={this._selectionIndeterminate()}\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\tconst item = this._items[rowIndex];\n\n\t\treturn (\n\t\t\t<input\n\t\t\t\tclass=\"p-input\"\n\t\t\t\ttype=\"checkbox\"\n\t\t\t\tonChange={(ev) => this._checkboxChange(ev?.target, rowIndex)}\n\t\t\t\tdisabled={this.canSelectKey && !item[this.canSelectKey]}\n\t\t\t\tchecked={this._selectionContains(item, rowIndex)}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _getEmptyState() {\n\t\tif (this.query?.length || this.selectedFiltersAmount) {\n\t\t\treturn (\n\t\t\t\t<div class=\"flex max-w-[20rem] flex-col items-center self-center py-24 text-center\">\n\t\t\t\t\t<p-illustration variant=\"empty-state-search\" class=\"mb-6\" />\n\t\t\t\t\t<p class=\"text-storm-default font-semibold\">\n\t\t\t\t\t\t{this.emptyStateFilteredHeader()}\n\t\t\t\t\t</p>\n\t\t\t\t\t<p class=\"mb-14 text-sm text-storm-medium\">\n\t\t\t\t\t\t{this.emptyStateFilteredContent()}\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`flex max-w-[20rem] flex-col items-center self-center py-24 text-center ${\n\t\t\t\t\tthis.enableEmptyStateAction && 'cursor-pointer'\n\t\t\t\t}`}\n\t\t\t\tonClick={() =>\n\t\t\t\t\tthis.enableEmptyStateAction &&\n\t\t\t\t\tthis.emptyStateActionClick.emit(null)\n\t\t\t\t}\n\t\t\t>\n\t\t\t\t<p-illustration variant=\"empty-state-add\" class=\"mb-6\" />\n\t\t\t\t<p class=\"text-storm-default font-semibold\">\n\t\t\t\t\t{this.emptyStateHeader()}\n\t\t\t\t</p>\n\t\t\t\t<p class=\"mb-6 text-sm text-storm-medium\">\n\t\t\t\t\t{this.emptyStateContent()}\n\t\t\t\t</p>\n\t\t\t\t{this.enableEmptyStateAction && (\n\t\t\t\t\t<p-button variant=\"secondary\" icon=\"plus\" size=\"small\">\n\t\t\t\t\t\t{this.emptyStateAction()}\n\t\t\t\t\t</p-button>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _selectAllChange($event: any, forceValue?: boolean) {\n\t\tif (!this.enableRowSelection) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst value =\n\t\t\tforceValue === undefined\n\t\t\t\t? this._getCheckedValue($event.target)\n\t\t\t\t: forceValue;\n\t\tif (value) {\n\t\t\tconst toAdd = [];\n\t\t\tfor (let i = 0; i < this._items.length; i++) {\n\t\t\t\tconst row = this._items[i];\n\t\t\t\tif (this.canSelectKey && !row[this.canSelectKey]) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (this._selectionContains(row, i)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\ttoAdd.push(row);\n\t\t\t\tthis.rowSelected.emit(row);\n\t\t\t}\n\n\t\t\tthis.selectedRows = [...this.selectedRows, ...toAdd];\n\t\t\tthis.selectedRowsChange.emit(this.selectedRows);\n\t\t\tif (this.enableFloatingMenu && !this._floatingMenuShown) {\n\t\t\t\tthis._floatingMenuShown = true;\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tfor (let i = 0; i < this.selectedRows.length; i++) {\n\t\t\tconst value = this.selectedRows[i];\n\t\t\tconst row = this._items.find(\n\t\t\t\t(d) =>\n\t\t\t\t\tthis._getSelectionValue(d, i) ===\n\t\t\t\t\tthis._getSelectionValue(value, i)\n\t\t\t);\n\n\t\t\tif (!row) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tthis.rowDeselected.emit(row);\n\t\t}\n\n\t\tthis.selectedRows = [];\n\t\tthis.selectedRowsChange.emit(this.selectedRows);\n\t}\n\n\tprivate _checkboxChange(target: any, index: number) {\n\t\tif (!this.enableRowSelection) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst row = this._items[index];\n\n\t\tif (this.canSelectKey && !row[this.canSelectKey]) {\n\t\t\ttarget.checked = false;\n\t\t\treturn;\n\t\t}\n\n\t\tconst value = this._getCheckedValue(target);\n\t\tif (value) {\n\t\t\tthis.selectedRows = [...this.selectedRows, row];\n\t\t\tthis.selectedRowsChange.emit(this.selectedRows);\n\t\t\tthis.rowSelected.emit(row);\n\n\t\t\tif (this.enableFloatingMenu && !this._floatingMenuShown) {\n\t\t\t\tthis._floatingMenuShown = true;\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tconst indexOfToRemove = this._selectionContains(row, index, true);\n\n\t\t// we need to do this, because splice does not trigger the selection setter.\n\t\tconst selection = [...this.selectedRows];\n\t\tselection.splice(indexOfToRemove, 1);\n\t\tthis.selectedRows = selection;\n\t\tthis.selectedRowsChange.emit(this.selectedRows);\n\t\tthis.rowDeselected.emit(row);\n\t}\n\n\tprivate _getCheckedValue(target: any) {\n\t\treturn target?.checked;\n\t}\n\n\tprivate _getSelectionValue(row: any, index: number) {\n\t\treturn this.selectionKey ? row?.[this.selectionKey] || index : index;\n\t}\n\n\tprivate _selectionContains(row, index, returnIndex = false): any {\n\t\tconst returnValue = this.selectedRows.findIndex(\n\t\t\t(item) =>\n\t\t\t\tthis._getSelectionValue(row, index) ===\n\t\t\t\tthis._getSelectionValue(item, index)\n\t\t);\n\t\treturn !returnIndex ? returnValue >= 0 : returnValue;\n\t}\n\n\tprivate _selectionContainsAll() {\n\t\tlet returnValue = true;\n\t\tif (!this._items?.length) {\n\t\t\treturn false;\n\t\t}\n\n\t\tfor (let i = 0; i < this._items?.length; i++) {\n\t\t\tconst item = this._items[i];\n\t\t\tconst contains = this._selectionContains(item, i);\n\n\t\t\tif (!contains) {\n\t\t\t\treturnValue = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn returnValue;\n\t}\n\n\tprivate _selectionIndeterminate() {\n\t\tif (!this._items?.length || !this.selectedRows?.length) {\n\t\t\treturn false;\n\t\t}\n\n\t\tlet containsCount = 0;\n\t\tfor (let i = 0; i < this._items?.length; i++) {\n\t\t\tconst item = this._items[i];\n\t\t\tconst contains = this._selectionContains(item, i);\n\n\t\t\tif (contains) {\n\t\t\t\tcontainsCount++;\n\t\t\t}\n\t\t}\n\n\t\treturn containsCount > 0 && containsCount !== this._items.length;\n\t}\n\n\tprivate _rowClick($event, index) {\n\t\tconst target = $event.target;\n\n\t\tif (\n\t\t\ttarget.tagName.toLowerCase() === 'input' ||\n\t\t\ttarget.type === 'checkbox'\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst row = this._findRow($event.target);\n\t\tconst action = this._findRowAction($event.target);\n\n\t\tif (action) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.enableRowClick) {\n\t\t\tconst item = this._items[index];\n\t\t\tthis.rowClick.emit({\n\t\t\t\titem,\n\t\t\t\tctrlDown: this._ctrlDown,\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this.enableRowSelection) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst checkbox = row?.querySelector('input[type=\"checkbox\"]');\n\n\t\tif (!checkbox) {\n\t\t\treturn;\n\t\t}\n\n\t\tcheckbox.checked = !checkbox.checked;\n\t\tthis._checkboxChange(checkbox, index);\n\t}\n\n\tprivate _findRow(el: HTMLElement) {\n\t\tif (!el) {\n\t\t\treturn el;\n\t\t}\n\n\t\tif (el?.tagName?.toLowerCase() === 'p-table-row') {\n\t\t\treturn el;\n\t\t}\n\n\t\treturn this._findRow(el?.parentElement);\n\t}\n\n\tprivate _findRowAction(el: HTMLElement) {\n\t\tif (!el) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (\n\t\t\tel.getAttribute('data-is-action') !== null &&\n\t\t\tel.getAttribute('data-is-action') !== 'false'\n\t\t) {\n\t\t\treturn el;\n\t\t}\n\n\t\tif (el?.tagName?.toLowerCase() === 'p-table-row') {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn this._findRowAction(el?.parentElement);\n\t}\n}\n"],"version":3}
@@ -1 +1 @@
1
- {"file":"p-toast-container.entry.js","mappings":";;AAAA,MAAM,0BAA0B,GAAG,qmCAAqmC;;MCO3nC,cAAc;;;qBAKnB,SAAS;;EAEb,MAAM;IACF,QACI,EAAC,IAAI,IAAC,KAAK,EAAE,+BAA+B,IAAI,CAAC,SAAS,EAAE,IACxD,eAAQ,CACL,EACT;GACL;;;;;;","names":[],"sources":["src/components/atoms/toast-container/toast-container.component.scss?tag=p-toast-container&encapsulation=shadow","src/components/atoms/toast-container/toast-container.component.tsx"],"sourcesContent":[":host {\n @apply fixed flex flex-col gap-4 z-toast;\n @apply tablet:max-w-[26.5rem];\n @apply z-[600];\n\n width: calc(\n 100% -\n (\n env(safe-area-inset-left, 0) + env(safe-area-inset-right, 0) +\n 2rem\n )\n );\n max-width: calc(\n 100% -\n (\n env(safe-area-inset-left, 0) + env(safe-area-inset-right, 0) +\n 2rem\n )\n );\n}\n\n:host(.placement-top-start) {\n top: calc(env(safe-area-inset-top, 0) + 1rem);\n left: calc(env(safe-area-inset-left, 0) + 1rem);\n}\n\n:host(.placement-top-end) {\n top: calc(env(safe-area-inset-top, 0) + 1rem);\n right: calc(env(safe-area-inset-right, 0) + 1rem);\n}\n\n:host(.placement-bottom-start) {\n bottom: calc(env(safe-area-inset-bottom, 0) + 1rem);\n left: calc(env(safe-area-inset-left, 0) + 1rem);\n}\n\n:host(.placement-bottom-end) {\n bottom: calc(env(safe-area-inset-bottom, 0) + 1rem);\n right: calc(env(safe-area-inset-right, 0) + 1rem);\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'p-toast-container',\n styleUrl: 'toast-container.component.scss',\n shadow: true,\n})\nexport class ToastContainer {\n /**\n * The placement of the container\n */\n @Prop() placement: 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' =\n 'top-end';\n\n render() {\n return (\n <Host class={`p-toast-container placement-${this.placement}`}>\n <slot />\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"p-toast-container.entry.js","mappings":";;AAAA,MAAM,0BAA0B,GAAG,qmCAAqmC;;MCO3nC,cAAc;;;qBAKzB,SAAS;;EAEV,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,+BAA+B,IAAI,CAAC,SAAS,EAAE,IAC3D,eAAQ,CACF,EACN;GACF;;;;;;","names":[],"sources":["src/components/atoms/toast-container/toast-container.component.scss?tag=p-toast-container&encapsulation=shadow","src/components/atoms/toast-container/toast-container.component.tsx"],"sourcesContent":[":host {\n\t@apply fixed flex flex-col gap-4 z-toast;\n\t@apply tablet:max-w-[26.5rem];\n\t@apply z-[600];\n\n\twidth: calc(\n\t\t100% -\n\t\t\t(\n\t\t\t\tenv(safe-area-inset-left, 0) + env(safe-area-inset-right, 0) +\n\t\t\t\t\t2rem\n\t\t\t)\n\t);\n\tmax-width: calc(\n\t\t100% -\n\t\t\t(\n\t\t\t\tenv(safe-area-inset-left, 0) + env(safe-area-inset-right, 0) +\n\t\t\t\t\t2rem\n\t\t\t)\n\t);\n}\n\n:host(.placement-top-start) {\n\ttop: calc(env(safe-area-inset-top, 0) + 1rem);\n\tleft: calc(env(safe-area-inset-left, 0) + 1rem);\n}\n\n:host(.placement-top-end) {\n\ttop: calc(env(safe-area-inset-top, 0) + 1rem);\n\tright: calc(env(safe-area-inset-right, 0) + 1rem);\n}\n\n:host(.placement-bottom-start) {\n\tbottom: calc(env(safe-area-inset-bottom, 0) + 1rem);\n\tleft: calc(env(safe-area-inset-left, 0) + 1rem);\n}\n\n:host(.placement-bottom-end) {\n\tbottom: calc(env(safe-area-inset-bottom, 0) + 1rem);\n\tright: calc(env(safe-area-inset-right, 0) + 1rem);\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-toast-container',\n\tstyleUrl: 'toast-container.component.scss',\n\tshadow: true,\n})\nexport class ToastContainer {\n\t/**\n\t * The placement of the container\n\t */\n\t@Prop() placement: 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' =\n\t\t'top-end';\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-toast-container placement-${this.placement}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
@@ -1 +1 @@
1
- {"file":"p-toast.entry.js","mappings":";;AAAA,MAAM,iBAAiB,GAAG,4sFAA4sF;;MCSztF,KAAK;;;;mBAI0C,UAAU;;;wBAelC,IAAI;sBAKF,UAAU;;;;EAmB5C,MAAM;;IACF,QACI,EAAC,IAAI,IACD,KAAK,EAAE,mBAAmB,IAAI,CAAC,OAAO,EAAE,EACxC,OAAO,EAAE,MAAM,IAAI,CAAC,QAAQ,EAAE,IAE9B,WAAK,KAAK,EAAC,8BAA8B,IACrC,SAAG,KAAK,EAAC,0BAA0B,IAC9B,CAAA,MAAA,IAAI,CAAC,MAAM,0CAAE,MAAM,KAChB,IAAI,CAAC,MAAM,KAEX,YAAM,IAAI,EAAC,QAAQ,GAAG,CACzB,CACD,EACJ,SAAG,KAAK,EAAC,kCAAkC,IACtC,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAE,MAAM,KACjB,IAAI,CAAC,OAAO,KAEZ,YAAM,IAAI,EAAC,SAAS,GAAG,CAC1B,CACD,CACF,EAEL,IAAI,CAAC,YAAY,KACd,gBACI,OAAO,EAAC,WAAW,EACnB,QAAQ,QACR,IAAI,EAAC,OAAO,EACZ,IAAI,EAAE,IAAI,CAAC,UAAU,EACrB,QAAQ,EAAE,IAAI,CAAC,cAAc,EAC7B,UAAU,EAAE,IAAI,CAAC,gBAAgB,EACjC,KAAK,EAAC,eAAe,GACvB,CACL,CACE,EACT;GACL;EAEO,QAAQ;IACZ,IAAI,IAAI,CAAC,YAAY,EAAE;MACnB,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;KACtB;GACJ;;;;;;","names":[],"sources":["src/components/molecules/toast/toast.component.scss?tag=p-toast&encapsulation=shadow","src/components/molecules/toast/toast.component.tsx"],"sourcesContent":[":host {\n @apply flex justify-between items-center gap-2;\n @apply w-full p-4 pl-5;\n @apply bg-white rounded box-border;\n @apply shadow-4 #{!important};\n @apply border-l-4 border-solid #{!important};\n\n p {\n @apply m-0;\n @apply overflow-hidden text-ellipsis whitespace-nowrap;\n }\n}\n\n:host(.variant-positive) {\n @apply border-l-positive #{!important};\n}\n\n:host(.variant-unbiased) {\n @apply border-l-unbiased #{!important};\n}\n\n:host(.variant-negative) {\n @apply border-l-negative #{!important};\n}\n","import { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\nimport { RotateOptions } from '../../../types';\nimport { IconFlipOptions, IconVariant } from '../../atoms/icon/icon.component';\n\n@Component({\n tag: 'p-toast',\n styleUrl: 'toast.component.scss',\n shadow: true,\n})\nexport class Toast {\n /**\n * The variant of the toast\n */\n @Prop() variant: 'positive' | 'unbiased' | 'negative' = 'positive';\n\n /**\n * The header of the toast\n */\n @Prop() header?: string;\n\n /**\n * The content of the toast\n */\n @Prop() content?: string;\n\n /**\n * Wether to enable the close button\n */\n @Prop() enableAction: boolean = true;\n\n /**\n * Icon to show on the button\n */\n @Prop() actionIcon: IconVariant = 'negative';\n\n /**\n * Icon flip\n */\n @Prop() actionIconFlip: IconFlipOptions;\n\n /**\n * Icon rotate\n */\n @Prop() actionIconRotate: RotateOptions;\n\n /**\n * Button click event\n */\n @Event({\n bubbles: false\n }) action: EventEmitter<MouseEvent>;\n\n render() {\n return (\n <Host\n class={`p-toast variant-${this.variant}`}\n onClick={() => this._onClick()}\n >\n <div class=\"flex flex-col w-full min-w-0\">\n <p class=\"font-semibold text-storm\">\n {this.header?.length ? (\n this.header\n ) : (\n <slot name=\"header\" />\n )}\n </p>\n <p class=\"text-sm text-storm-medium w-full\">\n {this.content?.length ? (\n this.content\n ) : (\n <slot name=\"content\" />\n )}\n </p>\n </div>\n\n {this.enableAction && (\n <p-button\n variant=\"secondary\"\n iconOnly\n size=\"small\"\n icon={this.actionIcon}\n iconFlip={this.actionIconFlip}\n iconRotate={this.actionIconRotate}\n class=\"flex-shrink-0\"\n />\n )}\n </Host>\n );\n }\n\n private _onClick() {\n if (this.enableAction) {\n this.action.emit();\n }\n }\n}\n"],"version":3}
1
+ {"file":"p-toast.entry.js","mappings":";;AAAA,MAAM,iBAAiB,GAAG,4sFAA4sF;;MCSztF,KAAK;;;;mBAIuC,UAAU;;;wBAelC,IAAI;sBAKF,UAAU;;;;EAoB5C,MAAM;;IACL,QACC,EAAC,IAAI,IACJ,KAAK,EAAE,mBAAmB,IAAI,CAAC,OAAO,EAAE,EACxC,OAAO,EAAE,MAAM,IAAI,CAAC,QAAQ,EAAE,IAE9B,WAAK,KAAK,EAAC,8BAA8B,IACxC,SAAG,KAAK,EAAC,0BAA0B,IACjC,CAAA,MAAA,IAAI,CAAC,MAAM,0CAAE,MAAM,KACnB,IAAI,CAAC,MAAM,KAEX,YAAM,IAAI,EAAC,QAAQ,GAAG,CACtB,CACE,EACJ,SAAG,KAAK,EAAC,kCAAkC,IACzC,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAE,MAAM,KACpB,IAAI,CAAC,OAAO,KAEZ,YAAM,IAAI,EAAC,SAAS,GAAG,CACvB,CACE,CACC,EAEL,IAAI,CAAC,YAAY,KACjB,gBACC,OAAO,EAAC,WAAW,EACnB,QAAQ,QACR,IAAI,EAAC,OAAO,EACZ,IAAI,EAAE,IAAI,CAAC,UAAU,EACrB,QAAQ,EAAE,IAAI,CAAC,cAAc,EAC7B,UAAU,EAAE,IAAI,CAAC,gBAAgB,EACjC,KAAK,EAAC,eAAe,GACpB,CACF,CACK,EACN;GACF;EAEO,QAAQ;IACf,IAAI,IAAI,CAAC,YAAY,EAAE;MACtB,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;KACnB;GACD;;;;;;","names":[],"sources":["src/components/molecules/toast/toast.component.scss?tag=p-toast&encapsulation=shadow","src/components/molecules/toast/toast.component.tsx"],"sourcesContent":[":host {\n\t@apply flex justify-between items-center gap-2;\n\t@apply w-full p-4 pl-5;\n\t@apply bg-white rounded box-border;\n\t@apply shadow-4 #{!important};\n\t@apply border-l-4 border-solid #{!important};\n\n\tp {\n\t\t@apply m-0;\n\t\t@apply overflow-hidden text-ellipsis whitespace-nowrap;\n\t}\n}\n\n:host(.variant-positive) {\n\t@apply border-l-positive #{!important};\n}\n\n:host(.variant-unbiased) {\n\t@apply border-l-unbiased #{!important};\n}\n\n:host(.variant-negative) {\n\t@apply border-l-negative #{!important};\n}\n","import { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\nimport { RotateOptions } from '../../../types';\nimport { IconFlipOptions, IconVariant } from '../../atoms/icon/icon.component';\n\n@Component({\n\ttag: 'p-toast',\n\tstyleUrl: 'toast.component.scss',\n\tshadow: true,\n})\nexport class Toast {\n\t/**\n\t * The variant of the toast\n\t */\n\t@Prop() variant: 'positive' | 'unbiased' | 'negative' = 'positive';\n\n\t/**\n\t * The header of the toast\n\t */\n\t@Prop() header?: string;\n\n\t/**\n\t * The content of the toast\n\t */\n\t@Prop() content?: string;\n\n\t/**\n\t * Wether to enable the close button\n\t */\n\t@Prop() enableAction: boolean = true;\n\n\t/**\n\t * Icon to show on the button\n\t */\n\t@Prop() actionIcon: IconVariant = 'negative';\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() actionIconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() actionIconRotate: RotateOptions;\n\n\t/**\n\t * Button click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\taction: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-toast variant-${this.variant}`}\n\t\t\t\tonClick={() => this._onClick()}\n\t\t\t>\n\t\t\t\t<div class=\"flex flex-col w-full min-w-0\">\n\t\t\t\t\t<p class=\"font-semibold text-storm\">\n\t\t\t\t\t\t{this.header?.length ? (\n\t\t\t\t\t\t\tthis.header\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<slot name=\"header\" />\n\t\t\t\t\t\t)}\n\t\t\t\t\t</p>\n\t\t\t\t\t<p class=\"text-sm text-storm-medium w-full\">\n\t\t\t\t\t\t{this.content?.length ? (\n\t\t\t\t\t\t\tthis.content\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<slot name=\"content\" />\n\t\t\t\t\t\t)}\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\n\t\t\t\t{this.enableAction && (\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\ticonOnly\n\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\ticon={this.actionIcon}\n\t\t\t\t\t\ticonFlip={this.actionIconFlip}\n\t\t\t\t\t\ticonRotate={this.actionIconRotate}\n\t\t\t\t\t\tclass=\"flex-shrink-0\"\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _onClick() {\n\t\tif (this.enableAction) {\n\t\t\tthis.action.emit();\n\t\t}\n\t}\n}\n"],"version":3}
@@ -1 +1 @@
1
- {"file":"p-tooltip.entry.js","mappings":";;;AAAA,MAAM,mBAAmB,GAAG,21IAA21I;;MC0B12I,OAAO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,CAAC,KAAK,EAAE;UACzB,IAAI,EACA,IAAI,CAAC,OAAO,KAAK,OAAO;YACxB,IAAI,CAAC,OAAO,KAAK,eAAe;cAC1B,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC;gBAC3B,MAAM;gBACN,mBAAmB;cACvB,CAAC,IAAI,IAAI;gBACT,GAAG,CAAC,IAAI;gBACR,EAAE;UACZ,GAAG,EAAE,CAAC,IAAI,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,EAAE;SACjC,CAAC,CAAC;OACN;KACJ,CAAC,CAAC;GACN;;;;;;;","names":[],"sources":["src/components/atoms/tooltip/tooltip.component.scss?tag=p-tooltip&encapsulation=shadow","src/components/atoms/tooltip/tooltip.component.tsx"],"sourcesContent":[":host {\n @apply flex cursor-pointer;\n\n .popover-container {\n @apply relative h-0 w-0;\n .popover {\n @apply left-0 top-0 z-tooltip inline-block rounded bg-white px-3 py-2 text-xs font-medium opacity-0 drop-shadow-4 transition-opacity;\n @apply pointer-events-none;\n width: max-content;\n max-width: 14.5rem;\n\n &.variant-hover,\n &.variant-error,\n &.variant-error-element {\n @apply bg-storm py-1 text-white;\n }\n\n &.variant-error,\n &.variant-error-element {\n @apply bg-negative uppercase tracking-wider;\n }\n\n &[data-show] {\n @apply pointer-events-auto opacity-100;\n }\n\n .arrow,\n .arrow::before {\n background: inherit;\n @apply absolute h-2 w-2;\n }\n\n .arrow {\n visibility: hidden;\n\n &::before {\n @apply visible rotate-45 transform;\n content: '';\n }\n }\n\n &[data-strategy='fixed'] {\n @apply fixed;\n }\n\n &[data-strategy='absolute'] {\n @apply absolute;\n }\n\n &[data-placement^='top'] > .arrow {\n @apply -bottom-1;\n }\n\n &[data-placement^='bottom'] > .arrow {\n @apply -top-1;\n }\n\n &[data-placement^='left'] > .arrow {\n @apply -right-1;\n }\n\n &[data-placement^='right'] > .arrow {\n @apply -left-1;\n }\n }\n }\n}\n","import {\n arrow,\n autoUpdate,\n computePosition,\n flip,\n offset,\n Placement,\n shift,\n Strategy,\n} from '@floating-ui/dom';\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n} from '@stencil/core';\n\n@Component({\n tag: 'p-tooltip',\n styleUrl: 'tooltip.component.scss',\n shadow: true,\n})\nexport class Tooltip {\n /**\n * The variant of the popover\n */\n @Prop() variant: 'hover' | 'click' | 'error' | 'error-element' = 'hover';\n\n /**\n * The content of the popover\n */\n @Prop() content: any = null;\n\n /**\n * The placement of the popover\n */\n @Prop() placement: Placement = 'top';\n\n /**\n * The strategy of the popover placement\n */\n @Prop() strategy: Strategy = 'absolute';\n\n /**\n * Wether the tooltip can be shown by user input\n */\n @Prop() enableUserInput: boolean = true;\n\n /**\n * Wether to show the popover\n */\n @Prop() show: boolean = false;\n\n /**\n * Wether to someone can manually close the popover\n */\n @Prop() canManuallyClose: boolean = true;\n\n /**\n * Open change event\n */\n @Event({\n bubbles: false,\n })\n isOpen: EventEmitter<boolean>;\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n private _loaded = false;\n private _popover: HTMLElement;\n private _cleanup: () => void;\n\n componentShouldUpdate() {\n this._update();\n }\n\n disconnectedCallback() {\n if (this._cleanup) {\n this._cleanup();\n this._cleanup = null;\n }\n }\n\n render() {\n return (\n <Host class=\"p-popover\">\n <slot name=\"trigger\" />\n <div class=\"popover-container\">\n <div\n class={`popover variant-${this.variant}`}\n role=\"popover\"\n data-placement={this.placement}\n data-strategy={this.strategy}\n ref={(el) => this._load(el)}\n >\n {this.content ? this.content : <slot name=\"content\" />}\n <div class=\"arrow\"></div>\n </div>\n </div>\n </Host>\n );\n }\n\n @Listen('click', { capture: true })\n protected clickHandler() {\n if (this.variant === 'hover' || !this.enableUserInput) {\n return;\n }\n\n if (this._popover.hasAttribute('data-show')) {\n return;\n }\n\n this._show();\n }\n\n @Listen('click', { target: 'document', capture: true })\n protected documentClickHandler() {\n if (this.variant === 'hover' || !this.canManuallyClose || this.show) {\n return;\n }\n\n if (!this._popover.hasAttribute('data-show')) {\n return;\n }\n\n this._hide();\n }\n\n @Listen('mouseenter')\n @Listen('focus')\n protected mouseEnterHandler() {\n if (this.variant !== 'hover' || !this.enableUserInput) {\n return;\n }\n\n this._show();\n }\n\n @Listen('mouseleave')\n @Listen('blur')\n protected mouseLeaveHandler() {\n if (this.show || this.variant !== 'hover' || !this.enableUserInput) {\n return;\n }\n\n this._hide();\n }\n\n private _show() {\n if (!this._loaded) {\n return;\n }\n\n this._cleanup = autoUpdate(this._el, this._popover, () =>\n this._update()\n );\n // Make the popover visible\n this._popover.setAttribute('data-show', '');\n\n // Update its position\n this.isOpen.emit(true);\n }\n\n private _hide() {\n if (!this._loaded) {\n return;\n }\n\n if (this._cleanup) {\n this._cleanup();\n this._cleanup = null;\n }\n\n // Hide the popover\n this._popover.removeAttribute('data-show');\n this.isOpen.emit(false);\n }\n\n private _load(popover: HTMLElement) {\n this._popover = popover;\n if (popover) {\n this._update();\n this._loaded = true;\n\n if (this.show) {\n setTimeout(() => this._show(), 100);\n }\n }\n }\n\n private _update() {\n if (!this._popover) {\n return;\n }\n\n const arrowEl = this._popover.querySelector('.arrow') as HTMLElement;\n if (!arrowEl) {\n return;\n }\n\n computePosition(this._el, this._popover, {\n placement:\n this.variant === 'error' || this.variant === 'error-element'\n ? 'top-end'\n : this.placement,\n strategy: this.strategy,\n\n middleware: [\n offset(this.variant === 'error' ? 14 : 8),\n flip(),\n shift(),\n arrow({ element: arrowEl, padding: 8 }),\n ],\n }).then(({ x, y, placement, middlewareData }) => {\n this._popover.dataset.placement = placement;\n Object.assign(this._popover.style, {\n top: `${y}px`,\n left: `${x}px`,\n });\n\n if (middlewareData.arrow) {\n const { x, y } = middlewareData.arrow;\n\n Object.assign(arrowEl.style, {\n left:\n this.variant === 'error' ||\n this.variant === 'error-element'\n ? placement.indexOf('start') >= 0\n ? '1rem'\n : 'calc(100% - 1rem)'\n : x != null\n ? `${x}px`\n : '',\n top: y != null ? `${y}px` : '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ACzB,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,cAAc,CAAC,KAAK,CAAC;QAEtC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE;UAC5B,IAAI,EACH,IAAI,CAAC,OAAO,KAAK,OAAO;YACxB,IAAI,CAAC,OAAO,KAAK,eAAe;cAC7B,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC;gBAC9B,MAAM;gBACN,mBAAmB;cACpB,CAAC,IAAI,IAAI;gBACR,GAAG,CAAC,IAAI;gBACR,EAAE;UACP,GAAG,EAAE,CAAC,IAAI,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,EAAE;SAC9B,CAAC,CAAC;OACH;KACD,CAAC,CAAC;GACH;;;;;;;","names":[],"sources":["src/components/atoms/tooltip/tooltip.component.scss?tag=p-tooltip&encapsulation=shadow","src/components/atoms/tooltip/tooltip.component.tsx"],"sourcesContent":[":host {\n\t@apply flex cursor-pointer;\n\n\t.popover-container {\n\t\t@apply relative h-0 w-0;\n\t\t.popover {\n\t\t\t@apply left-0 top-0 z-tooltip inline-block rounded bg-white px-3 py-2 text-xs font-medium opacity-0 drop-shadow-4 transition-opacity;\n\t\t\t@apply pointer-events-none;\n\t\t\twidth: max-content;\n\t\t\tmax-width: 14.5rem;\n\n\t\t\t&.variant-hover,\n\t\t\t&.variant-error,\n\t\t\t&.variant-error-element {\n\t\t\t\t@apply bg-storm py-1 text-white;\n\t\t\t}\n\n\t\t\t&.variant-error,\n\t\t\t&.variant-error-element {\n\t\t\t\t@apply bg-negative uppercase tracking-wider;\n\t\t\t}\n\n\t\t\t&[data-show] {\n\t\t\t\t@apply pointer-events-auto opacity-100;\n\t\t\t}\n\n\t\t\t.arrow,\n\t\t\t.arrow::before {\n\t\t\t\tbackground: inherit;\n\t\t\t\t@apply absolute h-2 w-2;\n\t\t\t}\n\n\t\t\t.arrow {\n\t\t\t\tvisibility: hidden;\n\n\t\t\t\t&::before {\n\t\t\t\t\t@apply visible rotate-45 transform;\n\t\t\t\t\tcontent: '';\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&[data-strategy='fixed'] {\n\t\t\t\t@apply fixed;\n\t\t\t}\n\n\t\t\t&[data-strategy='absolute'] {\n\t\t\t\t@apply absolute;\n\t\t\t}\n\n\t\t\t&[data-placement^='top'] > .arrow {\n\t\t\t\t@apply -bottom-1;\n\t\t\t}\n\n\t\t\t&[data-placement^='bottom'] > .arrow {\n\t\t\t\t@apply -top-1;\n\t\t\t}\n\n\t\t\t&[data-placement^='left'] > .arrow {\n\t\t\t\t@apply -right-1;\n\t\t\t}\n\n\t\t\t&[data-placement^='right'] > .arrow {\n\t\t\t\t@apply -left-1;\n\t\t\t}\n\t\t}\n\t}\n}\n","import {\n\tarrow,\n\tautoUpdate,\n\tcomputePosition,\n\tflip,\n\toffset,\n\tPlacement,\n\tshift,\n\tStrategy,\n} from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n} from '@stencil/core';\n\n@Component({\n\ttag: 'p-tooltip',\n\tstyleUrl: 'tooltip.component.scss',\n\tshadow: true,\n})\nexport class Tooltip {\n\t/**\n\t * The variant of the popover\n\t */\n\t@Prop() variant: 'hover' | 'click' | 'error' | 'error-element' = 'hover';\n\n\t/**\n\t * The content of the popover\n\t */\n\t@Prop() content: any = null;\n\n\t/**\n\t * The placement of the popover\n\t */\n\t@Prop() placement: Placement = 'top';\n\n\t/**\n\t * The strategy of the popover placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * Wether the tooltip can be shown by user input\n\t */\n\t@Prop() enableUserInput: boolean = true;\n\n\t/**\n\t * Wether to show the popover\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to someone can manually close the popover\n\t */\n\t@Prop() canManuallyClose: boolean = true;\n\n\t/**\n\t * Open change event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tisOpen: EventEmitter<boolean>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _loaded = false;\n\tprivate _popover: HTMLElement;\n\tprivate _cleanup: () => void;\n\n\tcomponentShouldUpdate() {\n\t\tthis._update();\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-popover\">\n\t\t\t\t<slot name=\"trigger\" />\n\t\t\t\t<div class=\"popover-container\">\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={`popover variant-${this.variant}`}\n\t\t\t\t\t\trole=\"popover\"\n\t\t\t\t\t\tdata-placement={this.placement}\n\t\t\t\t\t\tdata-strategy={this.strategy}\n\t\t\t\t\t\tref={(el) => this._load(el)}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this.content ? this.content : <slot name=\"content\" />}\n\t\t\t\t\t\t<div class=\"arrow\"></div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('click', { capture: true })\n\tprotected clickHandler() {\n\t\tif (this.variant === 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._popover.hasAttribute('data-show')) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler() {\n\t\tif (this.variant === 'hover' || !this.canManuallyClose || this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._popover.hasAttribute('data-show')) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\t@Listen('mouseenter')\n\t@Listen('focus')\n\tprotected mouseEnterHandler() {\n\t\tif (this.variant !== 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('mouseleave')\n\t@Listen('blur')\n\tprotected mouseLeaveHandler() {\n\t\tif (this.show || this.variant !== 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\tprivate _show() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._cleanup = autoUpdate(this._el, this._popover, () =>\n\t\t\tthis._update()\n\t\t);\n\t\t// Make the popover visible\n\t\tthis._popover.setAttribute('data-show', '');\n\n\t\t// Update its position\n\t\tthis.isOpen.emit(true);\n\t}\n\n\tprivate _hide() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\n\t\t// Hide the popover\n\t\tthis._popover.removeAttribute('data-show');\n\t\tthis.isOpen.emit(false);\n\t}\n\n\tprivate _load(popover: HTMLElement) {\n\t\tthis._popover = popover;\n\t\tif (popover) {\n\t\t\tthis._update();\n\t\t\tthis._loaded = true;\n\n\t\t\tif (this.show) {\n\t\t\t\tsetTimeout(() => this._show(), 100);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate _update() {\n\t\tif (!this._popover) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst arrowEl = this._popover.querySelector('.arrow') as HTMLElement;\n\t\tif (!arrowEl) {\n\t\t\treturn;\n\t\t}\n\n\t\tcomputePosition(this._el, this._popover, {\n\t\t\tplacement:\n\t\t\t\tthis.variant === 'error' || this.variant === 'error-element'\n\t\t\t\t\t? 'top-end'\n\t\t\t\t\t: this.placement,\n\t\t\tstrategy: this.strategy,\n\n\t\t\tmiddleware: [\n\t\t\t\toffset(this.variant === 'error' ? 14 : 8),\n\t\t\t\tflip(),\n\t\t\t\tshift(),\n\t\t\t\tarrow({ element: arrowEl, padding: 8 }),\n\t\t\t],\n\t\t}).then(({ x, y, placement, middlewareData }) => {\n\t\t\tthis._popover.dataset.placement = placement;\n\t\t\tObject.assign(this._popover.style, {\n\t\t\t\ttop: `${y}px`,\n\t\t\t\tleft: `${x}px`,\n\t\t\t});\n\n\t\t\tif (middlewareData.arrow) {\n\t\t\t\tconst { x, y } = middlewareData.arrow;\n\n\t\t\t\tObject.assign(arrowEl.style, {\n\t\t\t\t\tleft:\n\t\t\t\t\t\tthis.variant === 'error' ||\n\t\t\t\t\t\tthis.variant === 'error-element'\n\t\t\t\t\t\t\t? placement.indexOf('start') >= 0\n\t\t\t\t\t\t\t\t? '1rem'\n\t\t\t\t\t\t\t\t: 'calc(100% - 1rem)'\n\t\t\t\t\t\t\t: x != null\n\t\t\t\t\t\t\t\t? `${x}px`\n\t\t\t\t\t\t\t\t: '',\n\t\t\t\t\ttop: y != null ? `${y}px` : '',\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t}\n}\n"],"version":3}
@@ -14,7 +14,7 @@ const patchBrowser = () => {
14
14
  };
15
15
 
16
16
  patchBrowser().then(options => {
17
- return bootstrapLazy(JSON.parse("[[\"p-button_3\",[[4,\"p-button\",{\"variant\":[1],\"underline\":[4],\"href\":[1],\"target\":[1],\"size\":[1],\"loading\":[4],\"chevron\":[8],\"chevronPosition\":[1,\"chevron-position\"],\"disabled\":[4],\"icon\":[1],\"iconOnly\":[4,\"icon-only\"],\"iconPosition\":[1,\"icon-position\"],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"inheritText\":[4,\"inherit-text\"]},[[2,\"click\",\"handleClick\"]]],[1,\"p-loader\",{\"show\":[4],\"variant\":[1],\"color\":[1],\"modalTitle\":[1,\"modal-title\"],\"modalDescription\":[1,\"modal-description\"]}],[0,\"p-icon\",{\"variant\":[1],\"size\":[1],\"rotate\":[2],\"flip\":[1]}]]],[\"p-table\",[[4,\"p-table\",{\"items\":[1],\"loading\":[4],\"headerLoading\":[4,\"header-loading\"],\"footerLoading\":[4,\"footer-loading\"],\"amountOfLoadingRows\":[2,\"amount-of-loading-rows\"],\"enableRowSelection\":[4,\"enable-row-selection\"],\"enableRowClick\":[4,\"enable-row-click\"],\"selectedRows\":[16],\"enableFloatingMenu\":[4,\"enable-floating-menu\"],\"floatingMenuAmountSelectedTemplate\":[16],\"selectionKey\":[1,\"selection-key\"],\"canSelectKey\":[1,\"can-select-key\"],\"enableHeader\":[4,\"enable-header\"],\"quickFilters\":[16],\"activeQuickFilterIdentifier\":[1,\"active-quick-filter-identifier\"],\"enableSearch\":[4,\"enable-search\"],\"query\":[1025],\"enableFilter\":[4,\"enable-filter\"],\"selectedFiltersAmount\":[2,\"selected-filters-amount\"],\"filterButtonTemplate\":[16],\"enableAction\":[4,\"enable-action\"],\"actionButtonLoading\":[4,\"action-button-loading\"],\"actionButtonEnabled\":[4,\"action-button-enabled\"],\"actionButtonIcon\":[1,\"action-button-icon\"],\"actionButtonText\":[1,\"action-button-text\"],\"actionButtonTemplate\":[16],\"enableFooter\":[4,\"enable-footer\"],\"enablePageSize\":[4,\"enable-page-size\"],\"enablePagination\":[4,\"enable-pagination\"],\"enableExport\":[4,\"enable-export\"],\"page\":[1538],\"total\":[2],\"pageSize\":[2,\"page-size\"],\"pageSizeOptions\":[16],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"emptyStateHeader\":[16],\"emptyStateContent\":[16],\"emptyStateAction\":[16],\"enableEmptyStateAction\":[4,\"enable-empty-state-action\"],\"emptyStateFilteredHeader\":[16],\"emptyStateFilteredContent\":[16],\"_locales\":[32],\"_columns\":[32],\"_items\":[32]},[[16,\"localeChanged\",\"_setLocales\"],[16,\"tableDefinitionChanged\",\"onTableDefinitionUpdated\"],[4,\"keydown\",\"keyDown\"],[4,\"keyup\",\"keyUp\"],[4,\"visibilitychange\",\"visibilityChange\"]],{\"items\":[\"_parseItems\"]}]]],[\"p-modal\",[[1,\"p-modal\",{\"size\":[1],\"variant\":[1],\"header\":[1],\"show\":[4],\"applyBlur\":[4,\"apply-blur\"],\"showClose\":[4,\"show-close\"],\"showMobileFooter\":[4,\"show-mobile-footer\"],\"backdropClickClose\":[4,\"backdrop-click-close\"],\"scrollLock\":[4,\"scroll-lock\"],\"padding\":[4],\"_closing\":[32]}]]],[\"p-select\",[[0,\"p-select\",{\"items\":[1],\"icon\":[1],\"query\":[1],\"placeholder\":[1],\"autocompletePlaceholder\":[1,\"autocomplete-placeholder\"],\"value\":[8],\"displayKey\":[1,\"display-key\"],\"valueKey\":[1,\"value-key\"],\"identifierKey\":[1,\"identifier-key\"],\"queryKey\":[1,\"query-key\"],\"autoSelectFirst\":[4,\"auto-select-first\"],\"showChevron\":[4,\"show-chevron\"],\"maxDisplayedItems\":[2,\"max-displayed-items\"],\"enableAutocomplete\":[4,\"enable-autocomplete\"],\"keepQuery\":[4,\"keep-query\"],\"asyncFilter\":[4,\"async-filter\"],\"loading\":[4],\"size\":[1],\"prefix\":[1],\"label\":[1],\"helper\":[1],\"required\":[516],\"error\":[513],\"disabled\":[516],\"_showDropdown\":[32],\"_selectedItem\":[32],\"_isAutoCompleting\":[32]},[[6,\"click\",\"documentClickHandler\"]],{\"value\":[\"_valueChange\"],\"items\":[\"itemChanges\"],\"_showDropdown\":[\"_showDropdownChanges\"]}]]],[\"p-datepicker\",[[0,\"p-datepicker\",{\"placeholder\":[1],\"value\":[1],\"preselectToday\":[4,\"preselect-today\"],\"disabledDates\":[1,\"disabled-dates\"],\"minDate\":[1,\"min-date\"],\"maxDate\":[1,\"max-date\"],\"disableWeekends\":[4,\"disable-weekends\"],\"mode\":[1],\"format\":[1],\"size\":[1],\"prefix\":[1],\"label\":[1],\"helper\":[1],\"required\":[516],\"error\":[513],\"disabled\":[516],\"_showDropdown\":[32],\"_value\":[32],\"_minDate\":[32],\"_maxDate\":[32],\"_disabledDates\":[32]},[[6,\"click\",\"documentClickHandler\"]],{\"value\":[\"parseValue\"],\"minDate\":[\"parseMinDate\"],\"maxDate\":[\"parseMaxDate\"],\"disabledDates\":[\"parseDisabledDates\"]}]]],[\"p-drawer\",[[1,\"p-drawer\",{\"header\":[1],\"show\":[4],\"applyBlur\":[4,\"apply-blur\"],\"showClose\":[4,\"show-close\"],\"backdropClickClose\":[4,\"backdrop-click-close\"],\"canClose\":[4,\"can-close\"],\"scrollLock\":[4,\"scroll-lock\"],\"_closing\":[32]}]]],[\"p-attachment\",[[1,\"p-attachment\",{\"mode\":[1],\"loading\":[4],\"error\":[1],\"downloading\":[4]}]]],[\"p-navbar\",[[1,\"p-navbar\",{\"closeText\":[1,\"close-text\"],\"menuText\":[1,\"menu-text\"],\"_showMenu\":[32]},[[8,\"closeNavbar\",\"handleCloseNavbar\"],[8,\"openNavbar\",\"handleOpenNavbar\"]]]]],[\"p-profile\",[[1,\"p-profile\",{\"variant\":[1],\"size\":[513],\"_dropdownOpen\":[32]}]]],[\"p-toast\",[[1,\"p-toast\",{\"variant\":[1],\"header\":[1],\"content\":[1],\"enableAction\":[4,\"enable-action\"],\"actionIcon\":[1,\"action-icon\"],\"actionIconFlip\":[1,\"action-icon-flip\"],\"actionIconRotate\":[2,\"action-icon-rotate\"]}]]],[\"p-divider\",[[1,\"p-divider\",{\"variant\":[513]}]]],[\"p-accordion\",[[1,\"p-accordion\",{\"header\":[1],\"open\":[4],\"closeable\":[4],\"openable\":[4]}]]],[\"p-navigation-item\",[[1,\"p-navigation-item\",{\"active\":[4],\"icon\":[1],\"counter\":[8],\"href\":[1],\"target\":[1]}]]],[\"p-card-header\",[[4,\"p-card-header\",{\"header\":[1],\"arrow\":[4]}]]],[\"p-content-slider\",[[1,\"p-content-slider\",{\"hideMobileIndicator\":[4,\"hide-mobile-indicator\"],\"disableDrag\":[4,\"disable-drag\"],\"disableAutoCenter\":[4,\"disable-auto-center\"],\"disableIndicatorClick\":[4,\"disable-indicator-click\"],\"_visibleIndex\":[32],\"_outerHeight\":[32],\"_totalWidth\":[32],\"_dragging\":[32]},[[9,\"mouseup\",\"mouseUpHandler\"],[9,\"touchend\",\"mouseUpHandler\"],[9,\"resize\",\"resizeHandler\"]]]]],[\"p-cropper\",[[1,\"p-cropper\",{\"variant\":[513],\"value\":[8],\"returnType\":[1,\"return-type\"],\"_loaded\":[32],\"_currentScale\":[32]},[[9,\"resize\",\"onResize\"]]]]],[\"p-info-panel\",[[1,\"p-info-panel\",{\"variant\":[1],\"header\":[1],\"content\":[1],\"closeable\":[4]}]]],[\"p-status\",[[4,\"p-status\",{\"variant\":[1],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}]]],[\"p-stepper-line\",[[1,\"p-stepper-line\",{\"active\":[516],\"direction\":[513]}]]],[\"p-stepper\",[[1,\"p-stepper\",{\"activeStep\":[2,\"active-step\"],\"direction\":[513],\"contentPosition\":[513,\"content-position\"]},null,{\"activeStep\":[\"_generateSteps\"]}]]],[\"p-stepper-item\",[[1,\"p-stepper-item\",{\"align\":[513],\"direction\":[513],\"contentPosition\":[513,\"content-position\"],\"finished\":[516],\"active\":[516]}]]],[\"p-tab-group\",[[1,\"p-tab-group\"]]],[\"p-avatar\",[[0,\"p-avatar\",{\"variant\":[513],\"size\":[513],\"defaultImage\":[1,\"default-image\"],\"src\":[1],\"letters\":[1],\"_src\":[32],\"_failed\":[32]},null,{\"src\":[\"onSrchChange\"]}]]],[\"p-avatar-group\",[[4,\"p-avatar-group\",{\"extra\":[2]}]]],[\"p-card-body\",[[4,\"p-card-body\",{\"inheritText\":[516,\"inherit-text\"]}]]],[\"p-card-container\",[[1,\"p-card-container\",{\"hoverable\":[516],\"shadow\":[516]}]]],[\"p-layout\",[[1,\"p-layout\",{\"variant\":[1]}]]],[\"p-tab-item\",[[1,\"p-tab-item\",{\"active\":[4]}]]],[\"p-table-column\",[[0,\"p-table-column\",{\"path\":[1537],\"type\":[1537],\"name\":[1537],\"useSlot\":[1540,\"use-slot\"],\"hasCheckbox\":[1540,\"has-checkbox\"],\"align\":[1537],\"isLast\":[1540,\"is-last\"],\"sizes\":[1032]}]]],[\"p-toast-container\",[[1,\"p-toast-container\",{\"placement\":[1]}]]],[\"p-calendar\",[[1,\"p-calendar\",{\"variant\":[1],\"value\":[1],\"preselectToday\":[4,\"preselect-today\"],\"disabledDates\":[1,\"disabled-dates\"],\"minDate\":[1,\"min-date\"],\"maxDate\":[1,\"max-date\"],\"disableWeekends\":[4,\"disable-weekends\"],\"mode\":[1],\"_view\":[32],\"_viewDate\":[32],\"_value\":[32],\"_minDate\":[32],\"_maxDate\":[32],\"_disabledDates\":[32]},null,{\"value\":[\"_parseValue\"],\"minDate\":[\"_parseMinDate\"],\"maxDate\":[\"_parseMaxDate\"],\"disabledDates\":[\"_parseDisabledDates\"]}]]],[\"p-counter\",[[1,\"p-counter\",{\"variant\":[1],\"size\":[1]}]]],[\"p-slider-indicator\",[[1,\"p-slider-indicator\",{\"active\":[4]}]]],[\"p-drawer-body_3\",[[1,\"p-drawer-header\",{\"showClose\":[4,\"show-close\"]}],[1,\"p-drawer-body\",{\"variant\":[1]}],[4,\"p-drawer-container\",{\"closing\":[4]}]]],[\"p-backdrop\",[[1,\"p-backdrop\",{\"variant\":[1],\"applyBlur\":[4,\"apply-blur\"],\"closing\":[4],\"scrollLock\":[4,\"scroll-lock\"]},[[2,\"click\",\"handleClick\"]]]]],[\"p-modal-body_4\",[[1,\"p-modal-header\",{\"showClose\":[4,\"show-close\"]}],[1,\"p-modal-footer\"],[1,\"p-modal-body\",{\"variant\":[1],\"rounded\":[4],\"padding\":[4]}],[4,\"p-modal-container\",{\"size\":[1],\"closing\":[4]}]]],[\"p-label_3\",[[1,\"p-label\",{\"variant\":[513],\"behavior\":[513],\"iconPosition\":[1,\"icon-position\"],\"icon\":[513],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"size\":[513],\"keepMobileContent\":[516,\"keep-mobile-content\"]}],[1,\"p-segment-item\",{\"active\":[4],\"iconOnly\":[4,\"icon-only\"],\"size\":[513],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}],[4,\"p-segment-container\"]]],[\"p-dropdown-menu-container\",[[4,\"p-dropdown-menu-container\",{\"maxWidth\":[4,\"max-width\"],\"fullWidth\":[4,\"full-width\"],\"scrollable\":[4]}]]],[\"p-dropdown_2\",[[1,\"p-dropdown-menu-item\",{\"active\":[4],\"enableHover\":[4,\"enable-hover\"],\"icon\":[1]}],[1,\"p-dropdown\",{\"placement\":[513],\"strategy\":[1],\"show\":[4],\"calculateWidth\":[4,\"calculate-width\"],\"applyMaxWidth\":[4,\"apply-max-width\"],\"applyFullWidth\":[4,\"apply-full-width\"],\"scrollable\":[4],\"insideClick\":[4,\"inside-click\"],\"disableTriggerClick\":[4,\"disable-trigger-click\"],\"chevronPosition\":[1,\"chevron-position\"],\"chevronDirection\":[1,\"chevron-direction\"]},[[6,\"click\",\"documentClickHandler\"]],{\"show\":[\"onShowChange\"]}]]],[\"p-page-size-select_3\",[[1,\"p-page-size-select\",{\"size\":[1538],\"sizeOptions\":[16],\"chevronPosition\":[1,\"chevron-position\"],\"buttonSize\":[1,\"button-size\"],\"buttonTemplate\":[16],\"itemTemplate\":[16],\"hidden\":[4],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[0,\"p-pagination\",{\"page\":[1538],\"pageSize\":[2,\"page-size\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"total\":[2]},null,{\"page\":[\"pageChangeHandler\"],\"pageSize\":[\"pageChangeHandler\"],\"total\":[\"pageChangeHandler\"]}],[1,\"p-pagination-item\",{\"active\":[4]}]]],[\"p-tooltip\",[[1,\"p-tooltip\",{\"variant\":[1],\"content\":[8],\"placement\":[1],\"strategy\":[1],\"enableUserInput\":[4,\"enable-user-input\"],\"show\":[4],\"canManuallyClose\":[4,\"can-manually-close\"]},[[2,\"click\",\"clickHandler\"],[6,\"click\",\"documentClickHandler\"],[1,\"mouseenter\",\"mouseEnterHandler\"],[0,\"focus\",\"mouseEnterHandler\"],[1,\"mouseleave\",\"mouseLeaveHandler\"],[0,\"blur\",\"mouseLeaveHandler\"]]]]],[\"p-helper_3\",[[1,\"p-input-group\",{\"size\":[1],\"prefix\":[1],\"suffix\":[1],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"iconPosition\":[1,\"icon-position\"],\"label\":[1],\"helper\":[1],\"required\":[516],\"error\":[513],\"disabled\":[516],\"focused\":[516],\"focusMethod\":[1,\"focus-method\"],\"_forceShowTooltip\":[32]},[[0,\"focusin\",\"handleFocusIn\"],[0,\"focusout\",\"handleFocusOut\"]]],[1,\"p-helper\",{\"placement\":[1]}],[1,\"p-input-error\",{\"error\":[1],\"forceShowTooltip\":[4,\"force-show-tooltip\"],\"_showTooltip\":[32]}]]],[\"p-floating-menu-container_8\",[[1,\"p-table-header\",{\"quickFilters\":[16],\"activeQuickFilterIdentifier\":[1,\"active-quick-filter-identifier\"],\"loading\":[4],\"enableSearch\":[4,\"enable-search\"],\"itemsSelectedAmount\":[2,\"items-selected-amount\"],\"query\":[1025],\"enableFilter\":[4,\"enable-filter\"],\"selectedFiltersAmount\":[2,\"selected-filters-amount\"],\"filterButtonTemplate\":[16],\"enableAction\":[4,\"enable-action\"],\"actionLoading\":[4,\"action-loading\"],\"actionIcon\":[1,\"action-icon\"],\"actionText\":[1,\"action-text\"],\"canUseAction\":[1028,\"can-use-action\"],\"actionButtonTemplate\":[16],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[1,\"p-table-footer\",{\"enablePageSize\":[4,\"enable-page-size\"],\"enablePagination\":[4,\"enable-pagination\"],\"enableExport\":[4,\"enable-export\"],\"loading\":[4],\"page\":[1538],\"total\":[2],\"pageSize\":[2,\"page-size\"],\"pageSizeOptions\":[16],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[4,\"p-table-cell\",{\"variant\":[1],\"index\":[2],\"rowIndex\":[2,\"row-index\"],\"definition\":[16],\"item\":[8],\"value\":[8],\"checkbox\":[8],\"template\":[16]}],[1,\"p-table-row\",{\"variant\":[1],\"enableHover\":[4,\"enable-hover\"]}],[1,\"p-floating-menu-container\",{\"usedInTable\":[4,\"used-in-table\"]}],[1,\"p-floating-menu-item\",{\"hover\":[516]}],[0,\"p-illustration\",{\"variant\":[1]}],[1,\"p-table-container\"]]]]"), options);
17
+ return bootstrapLazy(JSON.parse("[[\"p-button_3\",[[4,\"p-button\",{\"variant\":[1],\"underline\":[4],\"href\":[1],\"target\":[1],\"size\":[1],\"loading\":[4],\"chevron\":[8],\"chevronPosition\":[1,\"chevron-position\"],\"disabled\":[4],\"icon\":[1],\"iconOnly\":[4,\"icon-only\"],\"iconPosition\":[1,\"icon-position\"],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"inheritText\":[4,\"inherit-text\"]},[[2,\"click\",\"handleClick\"]]],[1,\"p-loader\",{\"show\":[4],\"variant\":[1],\"color\":[1],\"modalTitle\":[1,\"modal-title\"],\"modalDescription\":[1,\"modal-description\"]}],[0,\"p-icon\",{\"variant\":[1],\"size\":[1],\"rotate\":[2],\"flip\":[1]}]]],[\"p-table\",[[4,\"p-table\",{\"items\":[1],\"loading\":[4],\"headerLoading\":[4,\"header-loading\"],\"footerLoading\":[4,\"footer-loading\"],\"amountOfLoadingRows\":[2,\"amount-of-loading-rows\"],\"enableRowSelection\":[4,\"enable-row-selection\"],\"enableRowClick\":[4,\"enable-row-click\"],\"selectedRows\":[16],\"enableFloatingMenu\":[4,\"enable-floating-menu\"],\"floatingMenuAmountSelectedTemplate\":[16],\"selectionKey\":[1,\"selection-key\"],\"canSelectKey\":[1,\"can-select-key\"],\"enableHeader\":[4,\"enable-header\"],\"quickFilters\":[16],\"activeQuickFilterIdentifier\":[1,\"active-quick-filter-identifier\"],\"enableSearch\":[4,\"enable-search\"],\"query\":[1025],\"enableFilter\":[4,\"enable-filter\"],\"selectedFiltersAmount\":[2,\"selected-filters-amount\"],\"filterButtonTemplate\":[16],\"enableAction\":[4,\"enable-action\"],\"actionButtonLoading\":[4,\"action-button-loading\"],\"actionButtonEnabled\":[4,\"action-button-enabled\"],\"actionButtonIcon\":[1,\"action-button-icon\"],\"actionButtonText\":[1,\"action-button-text\"],\"actionButtonTemplate\":[16],\"enableFooter\":[4,\"enable-footer\"],\"enablePageSize\":[4,\"enable-page-size\"],\"enablePagination\":[4,\"enable-pagination\"],\"enableExport\":[4,\"enable-export\"],\"page\":[1538],\"total\":[2],\"pageSize\":[2,\"page-size\"],\"pageSizeOptions\":[16],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"emptyStateHeader\":[16],\"emptyStateContent\":[16],\"emptyStateAction\":[16],\"enableEmptyStateAction\":[4,\"enable-empty-state-action\"],\"emptyStateFilteredHeader\":[16],\"emptyStateFilteredContent\":[16],\"_locales\":[32],\"_columns\":[32],\"_items\":[32]},[[16,\"localeChanged\",\"_setLocales\"],[16,\"tableDefinitionChanged\",\"onTableDefinitionUpdated\"],[4,\"keydown\",\"keyDown\"],[4,\"keyup\",\"keyUp\"],[4,\"visibilitychange\",\"visibilityChange\"]],{\"items\":[\"_parseItems\"]}]]],[\"p-select\",[[0,\"p-select\",{\"items\":[1],\"multi\":[516],\"icon\":[1],\"query\":[1],\"placeholder\":[1],\"autocompletePlaceholder\":[1,\"autocomplete-placeholder\"],\"value\":[8],\"displayKey\":[1,\"display-key\"],\"valueKey\":[1,\"value-key\"],\"avatarKey\":[1,\"avatar-key\"],\"avatarLettersKey\":[1,\"avatar-letters-key\"],\"identifierKey\":[1,\"identifier-key\"],\"queryKey\":[1,\"query-key\"],\"autoSelectFirst\":[4,\"auto-select-first\"],\"showChevron\":[4,\"show-chevron\"],\"maxDisplayedItems\":[2,\"max-displayed-items\"],\"enableAutocomplete\":[4,\"enable-autocomplete\"],\"keepQuery\":[4,\"keep-query\"],\"asyncFilter\":[4,\"async-filter\"],\"loading\":[4],\"size\":[1],\"prefix\":[1],\"label\":[1],\"helper\":[1],\"required\":[516],\"error\":[513],\"disabled\":[516],\"showAddItem\":[4,\"show-add-item\"],\"addItemText\":[1,\"add-item-text\"],\"_showDropdown\":[32],\"_selectedItem\":[32],\"_isAutoCompleting\":[32],\"_amountHidden\":[32]},[[6,\"click\",\"documentClickHandler\"]],{\"value\":[\"_valueChange\"],\"items\":[\"itemChanges\"],\"_showDropdown\":[\"_showDropdownChanges\"]}]]],[\"p-modal\",[[1,\"p-modal\",{\"size\":[1],\"variant\":[1],\"header\":[1],\"show\":[4],\"applyBlur\":[4,\"apply-blur\"],\"showClose\":[4,\"show-close\"],\"showMobileFooter\":[4,\"show-mobile-footer\"],\"backdropClickClose\":[4,\"backdrop-click-close\"],\"scrollLock\":[4,\"scroll-lock\"],\"padding\":[4],\"_closing\":[32]}]]],[\"p-datepicker\",[[0,\"p-datepicker\",{\"placeholder\":[1],\"value\":[1],\"preselectToday\":[4,\"preselect-today\"],\"disabledDates\":[1,\"disabled-dates\"],\"minDate\":[1,\"min-date\"],\"maxDate\":[1,\"max-date\"],\"disableWeekends\":[4,\"disable-weekends\"],\"mode\":[1],\"format\":[1],\"size\":[1],\"prefix\":[1],\"label\":[1],\"helper\":[1],\"required\":[516],\"error\":[513],\"disabled\":[516],\"_showDropdown\":[32],\"_value\":[32],\"_minDate\":[32],\"_maxDate\":[32],\"_disabledDates\":[32]},[[6,\"click\",\"documentClickHandler\"]],{\"value\":[\"parseValue\"],\"minDate\":[\"parseMinDate\"],\"maxDate\":[\"parseMaxDate\"],\"disabledDates\":[\"parseDisabledDates\"]}]]],[\"p-drawer\",[[1,\"p-drawer\",{\"header\":[1],\"show\":[4],\"applyBlur\":[4,\"apply-blur\"],\"showClose\":[4,\"show-close\"],\"backdropClickClose\":[4,\"backdrop-click-close\"],\"canClose\":[4,\"can-close\"],\"scrollLock\":[4,\"scroll-lock\"],\"_closing\":[32]}]]],[\"p-attachment\",[[1,\"p-attachment\",{\"mode\":[1],\"loading\":[4],\"error\":[1],\"downloading\":[4]}]]],[\"p-navbar\",[[1,\"p-navbar\",{\"closeText\":[1,\"close-text\"],\"menuText\":[1,\"menu-text\"],\"_showMenu\":[32]},[[8,\"closeNavbar\",\"handleCloseNavbar\"],[8,\"openNavbar\",\"handleOpenNavbar\"]]]]],[\"p-profile\",[[1,\"p-profile\",{\"variant\":[1],\"size\":[513],\"_dropdownOpen\":[32]}]]],[\"p-toast\",[[1,\"p-toast\",{\"variant\":[1],\"header\":[1],\"content\":[1],\"enableAction\":[4,\"enable-action\"],\"actionIcon\":[1,\"action-icon\"],\"actionIconFlip\":[1,\"action-icon-flip\"],\"actionIconRotate\":[2,\"action-icon-rotate\"]}]]],[\"p-divider\",[[1,\"p-divider\",{\"variant\":[513]}]]],[\"p-accordion\",[[1,\"p-accordion\",{\"header\":[1],\"open\":[4],\"closeable\":[4],\"openable\":[4]}]]],[\"p-navigation-item\",[[1,\"p-navigation-item\",{\"active\":[4],\"icon\":[1],\"counter\":[8],\"href\":[1],\"target\":[1]}]]],[\"p-card-header\",[[4,\"p-card-header\",{\"header\":[1],\"arrow\":[4]}]]],[\"p-content-slider\",[[1,\"p-content-slider\",{\"hideMobileIndicator\":[4,\"hide-mobile-indicator\"],\"disableDrag\":[4,\"disable-drag\"],\"disableAutoCenter\":[4,\"disable-auto-center\"],\"disableIndicatorClick\":[4,\"disable-indicator-click\"],\"_visibleIndex\":[32],\"_outerHeight\":[32],\"_totalWidth\":[32],\"_dragging\":[32]},[[9,\"mouseup\",\"mouseUpHandler\"],[9,\"touchend\",\"mouseUpHandler\"],[9,\"resize\",\"resizeHandler\"]]]]],[\"p-cropper\",[[1,\"p-cropper\",{\"variant\":[513],\"value\":[8],\"returnType\":[1,\"return-type\"],\"_loaded\":[32],\"_currentScale\":[32]},[[9,\"resize\",\"onResize\"]]]]],[\"p-info-panel\",[[1,\"p-info-panel\",{\"variant\":[1],\"header\":[1],\"content\":[1],\"closeable\":[4]}]]],[\"p-status\",[[4,\"p-status\",{\"variant\":[1],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}]]],[\"p-stepper-line\",[[1,\"p-stepper-line\",{\"active\":[516],\"direction\":[513]}]]],[\"p-stepper\",[[1,\"p-stepper\",{\"activeStep\":[2,\"active-step\"],\"direction\":[513],\"contentPosition\":[513,\"content-position\"]},null,{\"activeStep\":[\"_generateSteps\"]}]]],[\"p-stepper-item\",[[1,\"p-stepper-item\",{\"align\":[513],\"direction\":[513],\"contentPosition\":[513,\"content-position\"],\"finished\":[516],\"active\":[516]}]]],[\"p-tab-group\",[[1,\"p-tab-group\"]]],[\"p-avatar-group\",[[4,\"p-avatar-group\",{\"extra\":[2]}]]],[\"p-card-body\",[[4,\"p-card-body\",{\"inheritText\":[516,\"inherit-text\"]}]]],[\"p-card-container\",[[1,\"p-card-container\",{\"hoverable\":[516],\"shadow\":[516]}]]],[\"p-layout\",[[1,\"p-layout\",{\"variant\":[1]}]]],[\"p-tab-item\",[[1,\"p-tab-item\",{\"active\":[4]}]]],[\"p-table-column\",[[0,\"p-table-column\",{\"path\":[1537],\"type\":[1537],\"name\":[1537],\"useSlot\":[1540,\"use-slot\"],\"hasCheckbox\":[1540,\"has-checkbox\"],\"align\":[1537],\"isLast\":[1540,\"is-last\"],\"sizes\":[1032]}]]],[\"p-toast-container\",[[1,\"p-toast-container\",{\"placement\":[1]}]]],[\"p-calendar\",[[1,\"p-calendar\",{\"variant\":[1],\"value\":[1],\"preselectToday\":[4,\"preselect-today\"],\"disabledDates\":[1,\"disabled-dates\"],\"minDate\":[1,\"min-date\"],\"maxDate\":[1,\"max-date\"],\"disableWeekends\":[4,\"disable-weekends\"],\"mode\":[1],\"_view\":[32],\"_viewDate\":[32],\"_value\":[32],\"_minDate\":[32],\"_maxDate\":[32],\"_disabledDates\":[32]},null,{\"value\":[\"_parseValue\"],\"minDate\":[\"_parseMinDate\"],\"maxDate\":[\"_parseMaxDate\"],\"disabledDates\":[\"_parseDisabledDates\"]}]]],[\"p-avatar\",[[0,\"p-avatar\",{\"variant\":[513],\"size\":[513],\"defaultImage\":[1,\"default-image\"],\"src\":[1],\"letters\":[1],\"_src\":[32],\"_failed\":[32]},null,{\"src\":[\"onSrchChange\"]}]]],[\"p-counter\",[[1,\"p-counter\",{\"variant\":[1],\"size\":[1]}]]],[\"p-slider-indicator\",[[1,\"p-slider-indicator\",{\"active\":[4]}]]],[\"p-drawer-body_3\",[[1,\"p-drawer-header\",{\"showClose\":[4,\"show-close\"]}],[1,\"p-drawer-body\",{\"variant\":[1]}],[4,\"p-drawer-container\",{\"closing\":[4]}]]],[\"p-backdrop\",[[1,\"p-backdrop\",{\"variant\":[1],\"applyBlur\":[4,\"apply-blur\"],\"closing\":[4],\"scrollLock\":[4,\"scroll-lock\"]},[[2,\"click\",\"handleClick\"]]]]],[\"p-modal-body_4\",[[1,\"p-modal-header\",{\"showClose\":[4,\"show-close\"]}],[1,\"p-modal-footer\"],[1,\"p-modal-body\",{\"variant\":[1],\"rounded\":[4],\"padding\":[4]}],[4,\"p-modal-container\",{\"size\":[1],\"closing\":[4]}]]],[\"p-label_3\",[[1,\"p-label\",{\"variant\":[513],\"behavior\":[513],\"iconPosition\":[1,\"icon-position\"],\"icon\":[513],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"size\":[513],\"keepMobileContent\":[516,\"keep-mobile-content\"]}],[1,\"p-segment-item\",{\"active\":[4],\"iconOnly\":[4,\"icon-only\"],\"size\":[513],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"]}],[4,\"p-segment-container\"]]],[\"p-dropdown-menu-container\",[[4,\"p-dropdown-menu-container\",{\"maxWidth\":[4,\"max-width\"],\"fullWidth\":[4,\"full-width\"],\"scrollable\":[4]}]]],[\"p-dropdown_2\",[[1,\"p-dropdown-menu-item\",{\"active\":[4],\"variant\":[1],\"enableHover\":[4,\"enable-hover\"],\"icon\":[1]}],[1,\"p-dropdown\",{\"placement\":[513],\"strategy\":[1],\"show\":[4],\"calculateWidth\":[4,\"calculate-width\"],\"applyMaxWidth\":[4,\"apply-max-width\"],\"applyFullWidth\":[4,\"apply-full-width\"],\"scrollable\":[4],\"insideClick\":[4,\"inside-click\"],\"disableTriggerClick\":[4,\"disable-trigger-click\"],\"applyChevron\":[4,\"apply-chevron\"],\"chevronPosition\":[1,\"chevron-position\"],\"chevronDirection\":[1,\"chevron-direction\"]},[[6,\"click\",\"documentClickHandler\"]],{\"show\":[\"onShowChange\"]}]]],[\"p-page-size-select_3\",[[1,\"p-page-size-select\",{\"size\":[1538],\"sizeOptions\":[16],\"chevronPosition\":[1,\"chevron-position\"],\"buttonSize\":[1,\"button-size\"],\"buttonTemplate\":[16],\"itemTemplate\":[16],\"hidden\":[4],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[0,\"p-pagination\",{\"page\":[1538],\"pageSize\":[2,\"page-size\"],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"total\":[2]},null,{\"page\":[\"pageChangeHandler\"],\"pageSize\":[\"pageChangeHandler\"],\"total\":[\"pageChangeHandler\"]}],[1,\"p-pagination-item\",{\"active\":[4]}]]],[\"p-tooltip\",[[1,\"p-tooltip\",{\"variant\":[1],\"content\":[8],\"placement\":[1],\"strategy\":[1],\"enableUserInput\":[4,\"enable-user-input\"],\"show\":[4],\"canManuallyClose\":[4,\"can-manually-close\"]},[[2,\"click\",\"clickHandler\"],[6,\"click\",\"documentClickHandler\"],[1,\"mouseenter\",\"mouseEnterHandler\"],[0,\"focus\",\"mouseEnterHandler\"],[1,\"mouseleave\",\"mouseLeaveHandler\"],[0,\"blur\",\"mouseLeaveHandler\"]]]]],[\"p-helper_3\",[[1,\"p-input-group\",{\"size\":[1],\"prefix\":[1],\"suffix\":[1],\"icon\":[1],\"iconFlip\":[1,\"icon-flip\"],\"iconRotate\":[2,\"icon-rotate\"],\"iconPosition\":[1,\"icon-position\"],\"label\":[1],\"helper\":[1],\"required\":[516],\"error\":[513],\"disabled\":[516],\"focused\":[516],\"focusMethod\":[1,\"focus-method\"],\"_forceShowTooltip\":[32]},[[0,\"focusin\",\"handleFocusIn\"],[0,\"focusout\",\"handleFocusOut\"]]],[1,\"p-helper\",{\"placement\":[1]}],[1,\"p-input-error\",{\"error\":[1],\"forceShowTooltip\":[4,\"force-show-tooltip\"],\"_showTooltip\":[32]}]]],[\"p-floating-menu-container_8\",[[1,\"p-table-header\",{\"quickFilters\":[16],\"activeQuickFilterIdentifier\":[1,\"active-quick-filter-identifier\"],\"loading\":[4],\"enableSearch\":[4,\"enable-search\"],\"itemsSelectedAmount\":[2,\"items-selected-amount\"],\"query\":[1025],\"enableFilter\":[4,\"enable-filter\"],\"selectedFiltersAmount\":[2,\"selected-filters-amount\"],\"filterButtonTemplate\":[16],\"enableAction\":[4,\"enable-action\"],\"actionLoading\":[4,\"action-loading\"],\"actionIcon\":[1,\"action-icon\"],\"actionText\":[1,\"action-text\"],\"canUseAction\":[1028,\"can-use-action\"],\"actionButtonTemplate\":[16],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[1,\"p-table-footer\",{\"enablePageSize\":[4,\"enable-page-size\"],\"enablePagination\":[4,\"enable-pagination\"],\"enableExport\":[4,\"enable-export\"],\"loading\":[4],\"page\":[1538],\"total\":[2],\"pageSize\":[2,\"page-size\"],\"pageSizeOptions\":[16],\"hideOnSinglePage\":[4,\"hide-on-single-page\"],\"_locales\":[32]},[[16,\"localeChanged\",\"_setLocales\"]]],[4,\"p-table-cell\",{\"variant\":[1],\"index\":[2],\"rowIndex\":[2,\"row-index\"],\"definition\":[16],\"item\":[8],\"value\":[8],\"checkbox\":[8],\"template\":[16]}],[1,\"p-table-row\",{\"variant\":[1],\"enableHover\":[4,\"enable-hover\"]}],[1,\"p-floating-menu-container\",{\"usedInTable\":[4,\"used-in-table\"]}],[1,\"p-floating-menu-item\",{\"hover\":[516]}],[0,\"p-illustration\",{\"variant\":[1]}],[1,\"p-table-container\"]]]]"), options);
18
18
  });
19
19
 
20
20
  //# sourceMappingURL=paperless.js.map
package/dist/index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!doctype html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0"> <title>Stencil Component Starter</title> <script type="module" src="/build/paperless.esm.js" data-stencil data-resources-url="/build/" data-stencil-namespace="paperless"></script> <script nomodule="" src="/build/paperless.js" data-stencil></script> </head> <body> <p-button>Buttono</p-button> <script data-build="2024-01-18T09:30:23">
1
+ <!doctype html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0"> <title>Stencil Component Starter</title> <script type="module" src="/build/paperless.esm.js" data-stencil data-resources-url="/build/" data-stencil-namespace="paperless"></script> <script nomodule="" src="/build/paperless.js" data-stencil></script> </head> <body> <p-button>Buttono</p-button> <script data-build="2024-01-23T08:41:13">
2
2
  if ('serviceWorker' in navigator && location.protocol !== 'file:') {
3
3
  window.addEventListener('load', function() {
4
4
  navigator.serviceWorker.register('/sw.js')
@@ -1 +1 @@
1
- {"version":3,"names":["navbarComponentCss","Navbar","render","h","Host","class","applyBlur","this","_showMenu","onClicked","menuText","variant","icon","iconPosition","size","onClick","closeText","name","handleCloseNavbar","handleOpenNavbar"],"sources":["src/components/organisms/navbar/navbar.component.scss?tag=p-navbar&encapsulation=shadow","src/components/organisms/navbar/navbar.component.tsx"],"sourcesContent":["@import '../../../style/mixins';\n\n:host {\n @apply w-full max-h-screen-safe;\n @apply desktop-xs:w-60;\n\n .sidebar,\n .sidebar .company,\n .sidebar .content,\n .sidebar .user,\n .userbar {\n @apply flex w-full flex-col;\n }\n\n .sidebar,\n .top-bar {\n @apply bg-white;\n @apply border-0 border-solid border-mystic-dark #{!important};\n }\n\n .sidebar {\n @apply fixed top-0 left-0 z-navbar h-screen w-60 bg-white;\n @apply desktop-xs:relative desktop-xs:h-full desktop-xs:w-full;\n @apply gap-6;\n\n @apply will-change-transform;\n @apply -translate-x-full transform-gpu desktop-xs:translate-x-0;\n\n @apply py-4;\n\n padding-top: calc(env(safe-area-inset-top, 0) + 1rem);\n\n @apply border-r #{!important};\n\n @apply transition-all;\n\n .company,\n .content,\n .user,\n .header {\n @apply px-4;\n }\n\n .header {\n @apply flex w-full items-center justify-between;\n @apply desktop-xs:hidden;\n }\n\n .content {\n @apply overflow-y-auto;\n\n @include scrollbarY();\n }\n\n .user {\n @apply mt-auto hidden;\n @apply desktop-xs:flex;\n }\n\n &.show {\n --tw-translate-x: env(safe-area-inset-left, 0);\n }\n }\n\n .top-bar {\n @apply flex w-full justify-between px-4 py-2;\n\n padding-top: calc(env(safe-area-inset-top, 0) + 0.5rem);\n height: calc(env(safe-area-inset-top, 0) + 3rem);\n\n @apply border-b #{!important};\n\n @apply desktop-xs:hidden;\n }\n\n p-backdrop {\n @apply hidden;\n\n &.show {\n @apply block;\n }\n }\n}\n","import { Component, h, Host, Listen, Prop, State } from '@stencil/core';\n\n@Component({\n tag: 'p-navbar',\n styleUrl: 'navbar.component.scss',\n shadow: true,\n})\nexport class Navbar {\n /**\n * The text to display for the close button\n */\n @Prop() closeText = 'Close';\n\n /**\n * The text to display for the menu button & sidebar title\n */\n @Prop() menuText = 'Menu';\n\n @State() private _showMenu = false;\n\n render() {\n return (\n <Host class=\"p-navbar\">\n <p-backdrop\n applyBlur={true}\n class={`z-navbar-backdrop desktop-xs:hidden ${\n this._showMenu && 'show'\n }`}\n onClicked={() => (this._showMenu = false)}\n ></p-backdrop>\n <div class={`sidebar ${this._showMenu && 'show'}`}>\n <div class=\"header\">\n <p class=\"text-xl m-0 font-semibold text-storm-dark\">\n {this.menuText}\n </p>\n\n <p-button\n variant=\"secondary\"\n icon=\"negative\"\n iconPosition=\"end\"\n size=\"small\"\n onClick={() => (this._showMenu = false)}\n >\n {this.closeText}\n </p-button>\n </div>\n <div class=\"company\">\n <slot name=\"company\" />\n </div>\n <div class=\"content\">\n <slot name=\"content\" />\n </div>\n\n <div class=\"user\">\n <slot name=\"user\" />\n </div>\n </div>\n\n <div class=\"top-bar\">\n <p-button\n variant=\"secondary\"\n icon=\"menu\"\n size=\"small\"\n onClick={() => (this._showMenu = true)}\n >\n {this.menuText}\n </p-button>\n\n <slot name=\"topbar\" />\n </div>\n </Host>\n );\n }\n\n @Listen('closeNavbar', { target: 'window' })\n handleCloseNavbar() {\n this._showMenu = false;\n }\n\n @Listen('openNavbar', { target: 'window' })\n handleOpenNavbar() {\n this._showMenu = true;\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAqB,y9I,MCOdC,EAAM,M,wCAIK,Q,cAKD,O,eAEU,K,CAE7B,MAAAC,GACI,OACIC,EAACC,EAAI,CAACC,MAAM,YACRF,EAAA,cACIG,UAAW,KACXD,MAAO,uCACHE,KAAKC,WAAa,SAEtBC,UAAW,IAAOF,KAAKC,UAAY,QAEvCL,EAAA,OAAKE,MAAO,WAAWE,KAAKC,WAAa,UACrCL,EAAA,OAAKE,MAAM,UACPF,EAAA,KAAGE,MAAM,6CACJE,KAAKG,UAGVP,EAAA,YACIQ,QAAQ,YACRC,KAAK,WACLC,aAAa,MACbC,KAAK,QACLC,QAAS,IAAOR,KAAKC,UAAY,OAEhCD,KAAKS,YAGdb,EAAA,OAAKE,MAAM,WACPF,EAAA,QAAMc,KAAK,aAEfd,EAAA,OAAKE,MAAM,WACPF,EAAA,QAAMc,KAAK,aAGfd,EAAA,OAAKE,MAAM,QACPF,EAAA,QAAMc,KAAK,WAInBd,EAAA,OAAKE,MAAM,WACPF,EAAA,YACIQ,QAAQ,YACRC,KAAK,OACLE,KAAK,QACLC,QAAS,IAAOR,KAAKC,UAAY,MAEhCD,KAAKG,UAGVP,EAAA,QAAMc,KAAK,Y,CAO3B,iBAAAC,GACIX,KAAKC,UAAY,K,CAIrB,gBAAAW,GACIZ,KAAKC,UAAY,I"}
1
+ {"version":3,"names":["navbarComponentCss","Navbar","render","h","Host","class","applyBlur","this","_showMenu","onClicked","menuText","variant","icon","iconPosition","size","onClick","closeText","name","handleCloseNavbar","handleOpenNavbar"],"sources":["src/components/organisms/navbar/navbar.component.scss?tag=p-navbar&encapsulation=shadow","src/components/organisms/navbar/navbar.component.tsx"],"sourcesContent":["@import '../../../style/mixins';\n\n:host {\n\t@apply w-full max-h-screen-safe;\n\t@apply desktop-xs:w-60;\n\n\t.sidebar,\n\t.sidebar .company,\n\t.sidebar .content,\n\t.sidebar .user,\n\t.userbar {\n\t\t@apply flex w-full flex-col;\n\t}\n\n\t.sidebar,\n\t.top-bar {\n\t\t@apply bg-white;\n\t\t@apply border-0 border-solid border-mystic-dark #{!important};\n\t}\n\n\t.sidebar {\n\t\t@apply fixed top-0 left-0 z-navbar h-screen w-60 bg-white;\n\t\t@apply desktop-xs:relative desktop-xs:h-full desktop-xs:w-full;\n\t\t@apply gap-6;\n\n\t\t@apply will-change-transform;\n\t\t@apply -translate-x-full transform-gpu desktop-xs:translate-x-0;\n\n\t\t@apply py-4;\n\n\t\tpadding-top: calc(env(safe-area-inset-top, 0) + 1rem);\n\n\t\t@apply border-r #{!important};\n\n\t\t@apply transition-all;\n\n\t\t.company,\n\t\t.content,\n\t\t.user,\n\t\t.header {\n\t\t\t@apply px-4;\n\t\t}\n\n\t\t.header {\n\t\t\t@apply flex w-full items-center justify-between;\n\t\t\t@apply desktop-xs:hidden;\n\t\t}\n\n\t\t.content {\n\t\t\t@apply overflow-y-auto;\n\n\t\t\t@include scrollbarY();\n\t\t}\n\n\t\t.user {\n\t\t\t@apply mt-auto hidden;\n\t\t\t@apply desktop-xs:flex;\n\t\t}\n\n\t\t&.show {\n\t\t\t--tw-translate-x: env(safe-area-inset-left, 0);\n\t\t}\n\t}\n\n\t.top-bar {\n\t\t@apply flex w-full justify-between px-4 py-2;\n\n\t\tpadding-top: calc(env(safe-area-inset-top, 0) + 0.5rem);\n\t\theight: calc(env(safe-area-inset-top, 0) + 3rem);\n\n\t\t@apply border-b #{!important};\n\n\t\t@apply desktop-xs:hidden;\n\t}\n\n\tp-backdrop {\n\t\t@apply hidden;\n\n\t\t&.show {\n\t\t\t@apply block;\n\t\t}\n\t}\n}\n","import { Component, h, Host, Listen, Prop, State } from '@stencil/core';\n\n@Component({\n\ttag: 'p-navbar',\n\tstyleUrl: 'navbar.component.scss',\n\tshadow: true,\n})\nexport class Navbar {\n\t/**\n\t * The text to display for the close button\n\t */\n\t@Prop() closeText = 'Close';\n\n\t/**\n\t * The text to display for the menu button & sidebar title\n\t */\n\t@Prop() menuText = 'Menu';\n\n\t@State() private _showMenu = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-navbar\">\n\t\t\t\t<p-backdrop\n\t\t\t\t\tapplyBlur={true}\n\t\t\t\t\tclass={`z-navbar-backdrop desktop-xs:hidden ${\n\t\t\t\t\t\tthis._showMenu && 'show'\n\t\t\t\t\t}`}\n\t\t\t\t\tonClicked={() => (this._showMenu = false)}\n\t\t\t\t></p-backdrop>\n\t\t\t\t<div class={`sidebar ${this._showMenu && 'show'}`}>\n\t\t\t\t\t<div class=\"header\">\n\t\t\t\t\t\t<p class=\"text-xl m-0 font-semibold text-storm-dark\">\n\t\t\t\t\t\t\t{this.menuText}\n\t\t\t\t\t\t</p>\n\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\t\ticon=\"negative\"\n\t\t\t\t\t\t\ticonPosition=\"end\"\n\t\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\t\tonClick={() => (this._showMenu = false)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{this.closeText}\n\t\t\t\t\t\t</p-button>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"company\">\n\t\t\t\t\t\t<slot name=\"company\" />\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"content\">\n\t\t\t\t\t\t<slot name=\"content\" />\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class=\"user\">\n\t\t\t\t\t\t<slot name=\"user\" />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"top-bar\">\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\ticon=\"menu\"\n\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t\tonClick={() => (this._showMenu = true)}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this.menuText}\n\t\t\t\t\t</p-button>\n\n\t\t\t\t\t<slot name=\"topbar\" />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('closeNavbar', { target: 'window' })\n\thandleCloseNavbar() {\n\t\tthis._showMenu = false;\n\t}\n\n\t@Listen('openNavbar', { target: 'window' })\n\thandleOpenNavbar() {\n\t\tthis._showMenu = true;\n\t}\n}\n"],"mappings":"kDAAA,MAAMA,EAAqB,y9I,MCOdC,EAAM,M,wCAIE,Q,cAKD,O,eAEU,K,CAE7B,MAAAC,GACC,OACCC,EAACC,EAAI,CAACC,MAAM,YACXF,EAAA,cACCG,UAAW,KACXD,MAAO,uCACNE,KAAKC,WAAa,SAEnBC,UAAW,IAAOF,KAAKC,UAAY,QAEpCL,EAAA,OAAKE,MAAO,WAAWE,KAAKC,WAAa,UACxCL,EAAA,OAAKE,MAAM,UACVF,EAAA,KAAGE,MAAM,6CACPE,KAAKG,UAGPP,EAAA,YACCQ,QAAQ,YACRC,KAAK,WACLC,aAAa,MACbC,KAAK,QACLC,QAAS,IAAOR,KAAKC,UAAY,OAEhCD,KAAKS,YAGRb,EAAA,OAAKE,MAAM,WACVF,EAAA,QAAMc,KAAK,aAEZd,EAAA,OAAKE,MAAM,WACVF,EAAA,QAAMc,KAAK,aAGZd,EAAA,OAAKE,MAAM,QACVF,EAAA,QAAMc,KAAK,WAIbd,EAAA,OAAKE,MAAM,WACVF,EAAA,YACCQ,QAAQ,YACRC,KAAK,OACLE,KAAK,QACLC,QAAS,IAAOR,KAAKC,UAAY,MAEhCD,KAAKG,UAGPP,EAAA,QAAMc,KAAK,Y,CAOf,iBAAAC,GACCX,KAAKC,UAAY,K,CAIlB,gBAAAW,GACCZ,KAAKC,UAAY,I"}
@@ -1 +1 @@
1
- {"version":3,"names":["stepperComponentCss","Stepper","componentDidRender","this","_generateSteps","render","h","Host","class","activeStep","items","_el","querySelectorAll","i","length","item","active","finished","direction","align","contentPosition","nextItem","nextElementSibling","tagName","toLowerCase","heightDiff","clientHeight","stepperLine","document","createElement","style","marginTop","marginBottom","minHeight","insertBefore","previousItem","previousElementSibling"],"sources":["src/components/molecules/stepper/stepper.component.scss?tag=p-stepper&encapsulation=shadow","src/components/molecules/stepper/stepper.component.tsx"],"sourcesContent":[":host {\n @apply flex;\n}\n\n:host([direction='horizontal']) {\n @apply h-auto items-end;\n}\n\n:host([direction='vertical']) {\n @apply flex-col flex-wrap items-start;\n @apply w-full min-h-full;\n}\n\n:host([direction='vertical'][content-position='start']) {\n @apply items-end;\n}\n","import { Component, Element, h, Host, Prop, Watch } from '@stencil/core';\n\n@Component({\n tag: 'p-stepper',\n styleUrl: 'stepper.component.scss',\n shadow: true,\n})\nexport class Stepper {\n /**\n * The currently active step\n */\n @Prop() activeStep: number = 1;\n\n /**\n * The direction of the stepper\n */\n @Prop({ reflect: true }) direction: 'horizontal' | 'vertical' =\n 'horizontal';\n\n /**\n * The position of the content in case of vertical direction\n */\n @Prop({ reflect: true }) contentPosition: 'start' | 'end' = 'end';\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n // private _steps: Array<HTMLPStepperItemElement>;\n\n componentDidRender() {\n this._generateSteps();\n }\n\n render() {\n return (\n <Host class=\"p-stepper\">\n <slot />\n </Host>\n );\n }\n\n @Watch('activeStep')\n private _generateSteps() {\n let activeStep = this.activeStep - 1 || 0;\n const items = this._el.querySelectorAll('p-stepper-item');\n\n if (!this.activeStep || activeStep < 0) {\n for (let i = 0; i < items?.length; i++) {\n const item = items.item(i) as any;\n\n if (item.active) {\n activeStep = i;\n }\n\n if (activeStep < 0 && item.finished) {\n activeStep = i + 1;\n }\n }\n }\n\n for (let i = 0; i < items?.length; i++) {\n const item = items.item(i) as any;\n\n item.active = i === activeStep;\n item.finished = i < activeStep;\n item.direction = this.direction;\n item.align =\n i === 0 ? 'start' : i === items?.length - 1 ? 'end' : 'center';\n item.contentPosition = this.contentPosition;\n\n if (i < items.length - 1) {\n const nextItem = item.nextElementSibling;\n if (\n nextItem &&\n nextItem.tagName.toLowerCase() === 'p-stepper-item'\n ) {\n const heightDiff = (item.clientHeight - 16) / 2;\n\n const stepperLine =\n document.createElement('p-stepper-line');\n\n stepperLine.direction = this.direction;\n stepperLine.active = i <= activeStep;\n\n if (heightDiff > 0 && this.direction === 'vertical') {\n stepperLine.style.marginTop = `-${heightDiff / 16}rem`;\n stepperLine.style.marginBottom = `-${\n heightDiff / 16\n }rem`;\n stepperLine.style.minHeight = `calc(1rem + ${\n (heightDiff * 2) / 16\n }rem)`;\n }\n\n this._el.insertBefore(stepperLine, nextItem);\n\n continue;\n }\n }\n\n if (i > 0) {\n const previousItem = item.previousElementSibling;\n if (previousItem.tagName.toLowerCase() === 'p-stepper-line') {\n previousItem.direction = this.direction;\n previousItem.active = item.active || item.finished;\n }\n }\n }\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAsB,if,MCOfC,EAAO,M,yCAIa,E,eAMzB,a,qBAKwD,K,CAS5D,kBAAAC,GACIC,KAAKC,gB,CAGT,MAAAC,GACI,OACIC,EAACC,EAAI,CAACC,MAAM,aACRF,EAAA,a,CAMJ,cAAAF,GACJ,IAAIK,EAAaN,KAAKM,WAAa,GAAK,EACxC,MAAMC,EAAQP,KAAKQ,IAAIC,iBAAiB,kBAExC,IAAKT,KAAKM,YAAcA,EAAa,EAAG,CACpC,IAAK,IAAII,EAAI,EAAGA,GAAIH,IAAK,MAALA,SAAK,SAALA,EAAOI,QAAQD,IAAK,CACpC,MAAME,EAAOL,EAAMK,KAAKF,GAExB,GAAIE,EAAKC,OAAQ,CACbP,EAAaI,C,CAGjB,GAAIJ,EAAa,GAAKM,EAAKE,SAAU,CACjCR,EAAaI,EAAI,C,GAK7B,IAAK,IAAIA,EAAI,EAAGA,GAAIH,IAAK,MAALA,SAAK,SAALA,EAAOI,QAAQD,IAAK,CACpC,MAAME,EAAOL,EAAMK,KAAKF,GAExBE,EAAKC,OAASH,IAAMJ,EACpBM,EAAKE,SAAWJ,EAAIJ,EACpBM,EAAKG,UAAYf,KAAKe,UACtBH,EAAKI,MACDN,IAAM,EAAI,QAAUA,KAAMH,IAAK,MAALA,SAAK,SAALA,EAAOI,QAAS,EAAI,MAAQ,SAC1DC,EAAKK,gBAAkBjB,KAAKiB,gBAE5B,GAAIP,EAAIH,EAAMI,OAAS,EAAG,CACtB,MAAMO,EAAWN,EAAKO,mBACtB,GACID,GACAA,EAASE,QAAQC,gBAAkB,iBACrC,CACE,MAAMC,GAAcV,EAAKW,aAAe,IAAM,EAE9C,MAAMC,EACFC,SAASC,cAAc,kBAE3BF,EAAYT,UAAYf,KAAKe,UAC7BS,EAAYX,OAASH,GAAKJ,EAE1B,GAAIgB,EAAa,GAAKtB,KAAKe,YAAc,WAAY,CACjDS,EAAYG,MAAMC,UAAY,IAAIN,EAAa,QAC/CE,EAAYG,MAAME,aAAe,IAC7BP,EAAa,QAEjBE,EAAYG,MAAMG,UAAY,eACzBR,EAAa,EAAK,Q,CAI3BtB,KAAKQ,IAAIuB,aAAaP,EAAaN,GAEnC,Q,EAIR,GAAIR,EAAI,EAAG,CACP,MAAMsB,EAAepB,EAAKqB,uBAC1B,GAAID,EAAaZ,QAAQC,gBAAkB,iBAAkB,CACzDW,EAAajB,UAAYf,KAAKe,UAC9BiB,EAAanB,OAASD,EAAKC,QAAUD,EAAKE,Q"}
1
+ {"version":3,"names":["stepperComponentCss","Stepper","componentDidRender","this","_generateSteps","render","h","Host","class","activeStep","items","_el","querySelectorAll","i","length","item","active","finished","direction","align","contentPosition","nextItem","nextElementSibling","tagName","toLowerCase","heightDiff","clientHeight","stepperLine","document","createElement","style","marginTop","marginBottom","minHeight","insertBefore","previousItem","previousElementSibling"],"sources":["src/components/molecules/stepper/stepper.component.scss?tag=p-stepper&encapsulation=shadow","src/components/molecules/stepper/stepper.component.tsx"],"sourcesContent":[":host {\n\t@apply flex;\n}\n\n:host([direction='horizontal']) {\n\t@apply h-auto items-end;\n}\n\n:host([direction='vertical']) {\n\t@apply flex-col flex-wrap items-start;\n\t@apply w-full min-h-full;\n}\n\n:host([direction='vertical'][content-position='start']) {\n\t@apply items-end;\n}\n","import { Component, Element, h, Host, Prop, Watch } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper',\n\tstyleUrl: 'stepper.component.scss',\n\tshadow: true,\n})\nexport class Stepper {\n\t/**\n\t * The currently active step\n\t */\n\t@Prop() activeStep: number = 1;\n\n\t/**\n\t * The direction of the stepper\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' =\n\t\t'horizontal';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop({ reflect: true }) contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t// private _steps: Array<HTMLPStepperItemElement>;\n\n\tcomponentDidRender() {\n\t\tthis._generateSteps();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-stepper\">\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Watch('activeStep')\n\tprivate _generateSteps() {\n\t\tlet activeStep = this.activeStep - 1 || 0;\n\t\tconst items = this._el.querySelectorAll('p-stepper-item');\n\n\t\tif (!this.activeStep || activeStep < 0) {\n\t\t\tfor (let i = 0; i < items?.length; i++) {\n\t\t\t\tconst item = items.item(i) as any;\n\n\t\t\t\tif (item.active) {\n\t\t\t\t\tactiveStep = i;\n\t\t\t\t}\n\n\t\t\t\tif (activeStep < 0 && item.finished) {\n\t\t\t\t\tactiveStep = i + 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (let i = 0; i < items?.length; i++) {\n\t\t\tconst item = items.item(i) as any;\n\n\t\t\titem.active = i === activeStep;\n\t\t\titem.finished = i < activeStep;\n\t\t\titem.direction = this.direction;\n\t\t\titem.align =\n\t\t\t\ti === 0 ? 'start' : i === items?.length - 1 ? 'end' : 'center';\n\t\t\titem.contentPosition = this.contentPosition;\n\n\t\t\tif (i < items.length - 1) {\n\t\t\t\tconst nextItem = item.nextElementSibling;\n\t\t\t\tif (\n\t\t\t\t\tnextItem &&\n\t\t\t\t\tnextItem.tagName.toLowerCase() === 'p-stepper-item'\n\t\t\t\t) {\n\t\t\t\t\tconst heightDiff = (item.clientHeight - 16) / 2;\n\n\t\t\t\t\tconst stepperLine =\n\t\t\t\t\t\tdocument.createElement('p-stepper-line');\n\n\t\t\t\t\tstepperLine.direction = this.direction;\n\t\t\t\t\tstepperLine.active = i <= activeStep;\n\n\t\t\t\t\tif (heightDiff > 0 && this.direction === 'vertical') {\n\t\t\t\t\t\tstepperLine.style.marginTop = `-${heightDiff / 16}rem`;\n\t\t\t\t\t\tstepperLine.style.marginBottom = `-${\n\t\t\t\t\t\t\theightDiff / 16\n\t\t\t\t\t\t}rem`;\n\t\t\t\t\t\tstepperLine.style.minHeight = `calc(1rem + ${\n\t\t\t\t\t\t\t(heightDiff * 2) / 16\n\t\t\t\t\t\t}rem)`;\n\t\t\t\t\t}\n\n\t\t\t\t\tthis._el.insertBefore(stepperLine, nextItem);\n\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (i > 0) {\n\t\t\t\tconst previousItem = item.previousElementSibling;\n\t\t\t\tif (previousItem.tagName.toLowerCase() === 'p-stepper-line') {\n\t\t\t\t\tpreviousItem.direction = this.direction;\n\t\t\t\t\tpreviousItem.active = item.active || item.finished;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n"],"mappings":"yDAAA,MAAMA,EAAsB,if,MCOfC,EAAO,M,yCAIU,E,eAM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Aa,EAAK,Q,CAIrBtB,KAAKQ,IAAIuB,aAAaP,EAAaN,GAEnC,Q,EAIF,GAAIR,EAAI,EAAG,CACV,MAAMsB,EAAepB,EAAKqB,uBAC1B,GAAID,EAAaZ,QAAQC,gBAAkB,iBAAkB,CAC5DW,EAAajB,UAAYf,KAAKe,UAC9BiB,EAAanB,OAASD,EAAKC,QAAUD,EAAKE,Q"}
@@ -1 +1 @@
1
- {"version":3,"names":["counterComponentCss","Counter","render","h","Host","class","this","variant","size"],"sources":["src/components/atoms/counter/counter.component.scss?tag=p-counter&encapsulation=shadow","src/components/atoms/counter/counter.component.tsx"],"sourcesContent":[":host {\n @apply h-4 px-2 bg-indigo rounded-xlarge;\n @apply text-xs leading-3 text-white font-bold uppercase;\n @apply flex justify-center items-center;\n}\n\n:host(.variant-positive),\n:host(.variant-unbiased),\n:host(.variant-negative) {\n @apply rounded px-1 min-w-[1rem];\n}\n\n:host(.variant-positive) {\n @apply bg-positive-light text-positive-dark;\n}\n\n:host(.variant-unbiased) {\n @apply bg-unbiased-light text-unbiased-dark;\n}\n\n:host(.variant-negative) {\n @apply bg-negative-light text-negative-dark;\n}\n\n:host(.size-mini) {\n @apply w-2 h-2 rounded-round p-0 min-w-0;\n\n slot {\n display: none;\n }\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'p-counter',\n styleUrl: 'counter.component.scss',\n shadow: true,\n})\nexport class Counter {\n /**\n * The variant of the counter\n */\n @Prop() variant: 'info' | 'negative' | 'positive' | 'unbiased' = 'info';\n\n /**\n * The size of the counter\n */\n @Prop() size: 'default' | 'mini' = 'default';\n\n render() {\n return (\n <Host class={`p-counter variant-${this.variant} size-${this.size}`}>\n <slot />\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAsB,iyE,MCOfC,EAAO,M,sCAIiD,O,UAK9B,S,CAEnC,MAAAC,GACI,OACIC,EAACC,EAAI,CAACC,MAAO,qBAAqBC,KAAKC,gBAAgBD,KAAKE,QACxDL,EAAA,a"}
1
+ {"version":3,"names":["counterComponentCss","Counter","render","h","Host","class","this","variant","size"],"sources":["src/components/atoms/counter/counter.component.scss?tag=p-counter&encapsulation=shadow","src/components/atoms/counter/counter.component.tsx"],"sourcesContent":[":host {\n\t@apply h-4 px-2 bg-indigo rounded-xlarge;\n\t@apply text-xs leading-3 text-white font-bold uppercase;\n\t@apply flex justify-center items-center;\n}\n\n:host(.variant-positive),\n:host(.variant-unbiased),\n:host(.variant-negative) {\n\t@apply rounded px-1 min-w-[1rem];\n}\n\n:host(.variant-positive) {\n\t@apply bg-positive-light text-positive-dark;\n}\n\n:host(.variant-unbiased) {\n\t@apply bg-unbiased-light text-unbiased-dark;\n}\n\n:host(.variant-negative) {\n\t@apply bg-negative-light text-negative-dark;\n}\n\n:host(.size-mini) {\n\t@apply w-2 h-2 rounded-round p-0 min-w-0;\n\n\tslot {\n\t\tdisplay: none;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-counter',\n\tstyleUrl: 'counter.component.scss',\n\tshadow: true,\n})\nexport class Counter {\n\t/**\n\t * The variant of the counter\n\t */\n\t@Prop() variant: 'info' | 'negative' | 'positive' | 'unbiased' = 'info';\n\n\t/**\n\t * The size of the counter\n\t */\n\t@Prop() size: 'default' | 'mini' = 'default';\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-counter variant-${this.variant} size-${this.size}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":"kDAAA,MAAMA,EAAsB,iyE,MCOfC,EAAO,M,sCAI8C,O,UAK9B,S,CAEnC,MAAAC,GACC,OACCC,EAACC,EAAI,CAACC,MAAO,qBAAqBC,KAAKC,gBAAgBD,KAAKE,QAC3DL,EAAA,a"}
@@ -1 +1 @@
1
- {"version":3,"names":["modalBodyComponentCss","ModalBody","render","h","Host","class","this","variant","rounded","padding","modalContainerComponentCss","modalSizes","xs","sm","md","lg","xl","ModalContainer","sizeClass","size","closing","modalFooterComponentCss","ModalFooter","modalHeaderComponentCss","ModalHeader","showClose","icon","iconOnly","onClick","ev","close","emit"],"sources":["src/components/atoms/modal-body/modal-body.component.scss?tag=p-modal-body&encapsulation=shadow","src/components/atoms/modal-body/modal-body.component.tsx","src/components/atoms/modal-container/modal-container.component.scss?tag=p-modal-container","src/components/atoms/modal-container/modal-container.component.tsx","src/components/atoms/modal-footer/modal-footer.component.scss?tag=p-modal-footer&encapsulation=shadow","src/components/atoms/modal-footer/modal-footer.component.tsx","src/components/atoms/modal-header/modal-header.component.scss?tag=p-modal-header&encapsulation=shadow","src/components/atoms/modal-header/modal-header.component.tsx"],"sourcesContent":[":host {\n @apply bg-white;\n @apply px-6 py-6 tablet:px-10 desktop-xs:px-14;\n}\n\n:host(.variant-table) {\n @apply px-6;\n}\n\n:host(.is-rounded) {\n @apply rounded-b-none desktop-xs:rounded-b-xxlarge;\n}\n\n:host(.no-padding) {\n @apply p-0;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'p-modal-body',\n styleUrl: 'modal-body.component.scss',\n shadow: true,\n})\nexport class ModalBody {\n /**\n * The variant of the modal body\n */\n @Prop() variant: 'default' | 'table' = 'default';\n\n /**\n * Wether the modal body should be rounded at the bottom\n */\n @Prop() rounded: boolean = false;\n\n /**\n * Wether the body should have padding\n */\n @Prop() padding: boolean = true;\n\n render() {\n return (\n <Host\n class={`p-modal-body variant-${this.variant} ${\n this.rounded && 'is-rounded'\n } ${!this.padding && 'no-padding'}`}\n >\n <slot />\n </Host>\n );\n }\n}\n","p-modal-container {\n @apply flex flex-col w-full tablet:w-auto z-modal;\n @apply rounded-b-none rounded-t-xxlarge desktop-xs:rounded-b-xxlarge;\n\n @apply animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small #{!important};\n\n @apply shadow-4 #{!important};\n\n &.closing {\n @apply animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small #{!important};\n }\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n// $modal-xs: 20rem;\n// $modal-sm: 33.5rem;\n// $modal-md: 38rem;\n// $modal-lg: 47.5rem;\n// $modal-xl: 57.5rem;\n\nconst modalSizes = {\n xs: 'tablet:w-80',\n sm: 'tablet:w-[33.5rem]',\n md: 'tablet:w-[38rem]',\n lg: 'tablet:w-[47.5rem]',\n xl: 'tablet:w-[57.5rem]',\n};\n@Component({\n tag: 'p-modal-container',\n styleUrl: 'modal-container.component.scss',\n})\nexport class ModalContainer {\n /**\n * The size of the modal container\n */\n @Prop() size: 'sm' | 'md' | 'lg' | 'xl' = 'md';\n\n /**\n * Wether the container is closing\n */\n @Prop() closing: boolean = false;\n\n render() {\n const sizeClass = modalSizes[this.size];\n\n return (\n <Host\n class={`p-modal-container ${\n this.closing && 'closing'\n } ${sizeClass}`}\n >\n <slot />\n </Host>\n );\n }\n}\n",":host {\n @apply bg-white;\n @apply flex flex-col;\n @apply pb-6 px-6;\n @apply rounded-b-none desktop-xs:rounded-b-xxlarge;\n}\n","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n tag: 'p-modal-footer',\n styleUrl: 'modal-footer.component.scss',\n shadow: true,\n})\nexport class ModalFooter {\n render() {\n return (\n <Host class=\"p-modal-footer\">\n <p-divider class=\"mb-6 mt-0 hidden desktop-xs:flex\" />\n\n <slot />\n </Host>\n );\n }\n}\n",":host {\n @apply bg-mystic rounded-t-xxlarge;\n @apply flex justify-between items-center;\n @apply p-4 desktop-xs:p-6;\n\n @apply text-storm-dark text-xl font-semibold;\n @apply desktop-xs:text-3xl desktop-xs:font-bold;\n}\n","import { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'p-modal-header',\n styleUrl: 'modal-header.component.scss',\n shadow: true,\n})\nexport class ModalHeader {\n /**\n * Wether to show the close button on mobile\n */\n @Prop() showClose = true;\n\n /**\n * Close click event\n */\n @Event({\n bubbles: false\n }) close: EventEmitter<MouseEvent>;\n\n render() {\n return (\n <Host class=\"p-modal-header\">\n <span>\n <slot />\n </span>\n\n {this.showClose && (\n <p-button\n variant=\"secondary\"\n icon=\"negative\"\n iconOnly={true}\n onClick={(ev) => this.close.emit(ev)}\n size=\"small\"\n ></p-button>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAwB,u7B,MCOjBC,EAAS,M,sCAIqB,U,aAKZ,M,aAKA,I,CAE3B,MAAAC,GACI,OACIC,EAACC,EAAI,CACDC,MAAO,wBAAwBC,KAAKC,WAChCD,KAAKE,SAAW,iBACfF,KAAKG,SAAW,gBAErBN,EAAA,a,aC9BhB,MAAMO,EAA6B,0gFCQnC,MAAMC,EAAa,CACfC,GAAI,cACJC,GAAI,qBACJC,GAAI,mBACJC,GAAI,qBACJC,GAAI,sB,MAMKC,EAAc,M,mCAImB,K,aAKf,K,CAE3B,MAAAf,GACI,MAAMgB,EAAYP,EAAWL,KAAKa,MAElC,OACIhB,EAACC,EAAI,CACDC,MAAO,qBACHC,KAAKc,SAAW,aAChBF,KAEJf,EAAA,a,aCvChB,MAAMkB,EAA0B,+sB,MCOnBC,EAAW,M,yBACpB,MAAApB,GACI,OACIC,EAACC,EAAI,CAACC,MAAM,kBACRF,EAAA,aAAWE,MAAM,qCAEjBF,EAAA,a,aCbhB,MAAMoB,EAA0B,49B,MCOnBC,EAAW,M,qEAIA,I,CASpB,MAAAtB,GACI,OACIC,EAACC,EAAI,CAACC,MAAM,kBACRF,EAAA,YACIA,EAAA,cAGHG,KAAKmB,WACFtB,EAAA,YACII,QAAQ,YACRmB,KAAK,WACLC,SAAU,KACVC,QAAUC,GAAOvB,KAAKwB,MAAMC,KAAKF,GACjCV,KAAK,U"}
1
+ {"version":3,"names":["modalBodyComponentCss","ModalBody","render","h","Host","class","this","variant","rounded","padding","modalContainerComponentCss","modalSizes","xs","sm","md","lg","xl","ModalContainer","sizeClass","size","closing","modalFooterComponentCss","ModalFooter","modalHeaderComponentCss","ModalHeader","showClose","icon","iconOnly","onClick","ev","close","emit"],"sources":["src/components/atoms/modal-body/modal-body.component.scss?tag=p-modal-body&encapsulation=shadow","src/components/atoms/modal-body/modal-body.component.tsx","src/components/atoms/modal-container/modal-container.component.scss?tag=p-modal-container","src/components/atoms/modal-container/modal-container.component.tsx","src/components/atoms/modal-footer/modal-footer.component.scss?tag=p-modal-footer&encapsulation=shadow","src/components/atoms/modal-footer/modal-footer.component.tsx","src/components/atoms/modal-header/modal-header.component.scss?tag=p-modal-header&encapsulation=shadow","src/components/atoms/modal-header/modal-header.component.tsx"],"sourcesContent":[":host {\n\t@apply bg-white;\n\t@apply px-6 py-6 tablet:px-10 desktop-xs:px-14;\n}\n\n:host(.variant-table) {\n\t@apply px-6;\n}\n\n:host(.is-rounded) {\n\t@apply rounded-b-none desktop-xs:rounded-b-xxlarge;\n}\n\n:host(.no-padding) {\n\t@apply p-0;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-modal-body',\n\tstyleUrl: 'modal-body.component.scss',\n\tshadow: true,\n})\nexport class ModalBody {\n\t/**\n\t * The variant of the modal body\n\t */\n\t@Prop() variant: 'default' | 'table' = 'default';\n\n\t/**\n\t * Wether the modal body should be rounded at the bottom\n\t */\n\t@Prop() rounded: boolean = false;\n\n\t/**\n\t * Wether the body should have padding\n\t */\n\t@Prop() padding: boolean = true;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-modal-body variant-${this.variant} ${\n\t\t\t\t\tthis.rounded && 'is-rounded'\n\t\t\t\t} ${!this.padding && 'no-padding'}`}\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n","p-modal-container {\n\t@apply flex flex-col w-full tablet:w-auto z-modal;\n\t@apply rounded-b-none rounded-t-xxlarge desktop-xs:rounded-b-xxlarge;\n\n\t@apply animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small #{!important};\n\n\t@apply shadow-4 #{!important};\n\n\t&.closing {\n\t\t@apply animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small #{!important};\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n// $modal-xs: 20rem;\n// $modal-sm: 33.5rem;\n// $modal-md: 38rem;\n// $modal-lg: 47.5rem;\n// $modal-xl: 57.5rem;\n\nconst modalSizes = {\n\txs: 'tablet:w-80',\n\tsm: 'tablet:w-[33.5rem]',\n\tmd: 'tablet:w-[38rem]',\n\tlg: 'tablet:w-[47.5rem]',\n\txl: 'tablet:w-[57.5rem]',\n};\n@Component({\n\ttag: 'p-modal-container',\n\tstyleUrl: 'modal-container.component.scss',\n})\nexport class ModalContainer {\n\t/**\n\t * The size of the modal container\n\t */\n\t@Prop() size: 'sm' | 'md' | 'lg' | 'xl' = 'md';\n\n\t/**\n\t * Wether the container is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\trender() {\n\t\tconst sizeClass = modalSizes[this.size];\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-modal-container ${\n\t\t\t\t\tthis.closing && 'closing'\n\t\t\t\t} ${sizeClass}`}\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n",":host {\n\t@apply bg-white;\n\t@apply flex flex-col;\n\t@apply pb-6 px-6;\n\t@apply rounded-b-none desktop-xs:rounded-b-xxlarge;\n}\n","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n\ttag: 'p-modal-footer',\n\tstyleUrl: 'modal-footer.component.scss',\n\tshadow: true,\n})\nexport class ModalFooter {\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-modal-footer\">\n\t\t\t\t<p-divider class=\"mb-6 mt-0 hidden desktop-xs:flex\" />\n\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n",":host {\n\t@apply bg-mystic rounded-t-xxlarge;\n\t@apply flex justify-between items-center;\n\t@apply p-4 desktop-xs:p-6;\n\n\t@apply text-storm-dark text-xl font-semibold;\n\t@apply desktop-xs:text-3xl desktop-xs:font-bold;\n}\n","import { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-modal-header',\n\tstyleUrl: 'modal-header.component.scss',\n\tshadow: true,\n})\nexport class ModalHeader {\n\t/**\n\t * Wether to show the close button on mobile\n\t */\n\t@Prop() showClose = true;\n\n\t/**\n\t * Close click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclose: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-modal-header\">\n\t\t\t\t<span>\n\t\t\t\t\t<slot />\n\t\t\t\t</span>\n\n\t\t\t\t{this.showClose && (\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\ticon=\"negative\"\n\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\tonClick={(ev) => this.close.emit(ev)}\n\t\t\t\t\t\tsize=\"small\"\n\t\t\t\t\t></p-button>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":"yDAAA,MAAMA,EAAwB,u7B,MCOjBC,EAAS,M,sCAIkB,U,aAKZ,M,aAKA,I,CAE3B,MAAAC,GACC,OACCC,EAACC,EAAI,CACJC,MAAO,wBAAwBC,KAAKC,WACnCD,KAAKE,SAAW,iBACZF,KAAKG,SAAW,gBAErBN,EAAA,a,aC9BJ,MAAMO,EAA6B,0gFCQnC,MAAMC,EAAa,CAClBC,GAAI,cACJC,GAAI,qBACJC,GAAI,mBACJC,GAAI,qBACJC,GAAI,sB,MAMQC,EAAc,M,mCAIgB,K,aAKf,K,CAE3B,MAAAf,GACC,MAAMgB,EAAYP,EAAWL,KAAKa,MAElC,OACChB,EAACC,EAAI,CACJC,MAAO,qBACNC,KAAKc,SAAW,aACbF,KAEJf,EAAA,a,aCvCJ,MAAMkB,EAA0B,+sB,MCOnBC,EAAW,M,yBACvB,MAAApB,GACC,OACCC,EAACC,EAAI,CAACC,MAAM,kBACXF,EAAA,aAAWE,MAAM,qCAEjBF,EAAA,a,aCbJ,MAAMoB,EAA0B,49B,MCOnBC,EAAW,M,qEAIH,I,CAUpB,MAAAtB,GACC,OACCC,EAACC,EAAI,CAACC,MAAM,kBACXF,EAAA,YACCA,EAAA,cAGAG,KAAKmB,WACLtB,EAAA,YACCI,QAAQ,YACRmB,KAAK,WACLC,SAAU,KACVC,QAAUC,GAAOvB,KAAKwB,MAAMC,KAAKF,GACjCV,KAAK,U"}