@paperless/core 2.0.1-beta.32 → 2.0.1-beta.34

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 (665) hide show
  1. package/CHANGELOG.md +109 -0
  2. package/dist/assets/i18n/floating-menu-container.i18n.en.json +4 -0
  3. package/dist/assets/i18n/floating-menu-container.i18n.nl.json +4 -0
  4. package/dist/assets/i18n/pagination-size.i18n.en.json +3 -0
  5. package/dist/assets/i18n/pagination-size.i18n.nl.json +3 -0
  6. package/dist/assets/icons/extra/checkmark-thick.svg +10 -0
  7. package/dist/build/index.esm.js +1 -1
  8. package/dist/build/p-0719e72a.js +2 -0
  9. package/dist/build/{p-5779d316.entry.js → p-11fbeb45.entry.js} +2 -2
  10. package/dist/build/{p-d26ee54b.entry.js → p-1a1c03c0.entry.js} +2 -2
  11. package/dist/build/{p-dd0f4ed0.entry.js → p-27fd3386.entry.js} +2 -2
  12. package/dist/build/p-28dbbce6.entry.js +2 -0
  13. package/dist/build/p-28ee6cd6.entry.js +2 -0
  14. package/dist/{paperless/p-b162a142.entry.js → build/p-290d04b0.entry.js} +2 -2
  15. package/dist/build/{p-9231fe88.entry.js → p-2d43b7ce.entry.js} +2 -2
  16. package/dist/{paperless/p-e5a54d05.entry.js → build/p-333f614e.entry.js} +2 -2
  17. package/dist/build/p-37b43ce6.entry.js +2 -0
  18. package/dist/build/p-37b43ce6.entry.js.map +1 -0
  19. package/dist/build/{p-29c71645.entry.js → p-38c20959.entry.js} +2 -2
  20. package/dist/{paperless/p-4baaed44.entry.js → build/p-3bd145fd.entry.js} +2 -2
  21. package/dist/build/{p-0cd0a8d2.entry.js → p-4364738a.entry.js} +2 -2
  22. package/dist/build/{p-e11ab3d2.entry.js → p-4443e4e5.entry.js} +2 -2
  23. package/dist/build/{p-39e51563.entry.js → p-4553a1af.entry.js} +2 -2
  24. package/dist/build/p-469615ef.entry.js +2 -0
  25. package/dist/build/p-469615ef.entry.js.map +1 -0
  26. package/dist/build/p-489013c7.entry.js +2 -0
  27. package/dist/build/p-489013c7.entry.js.map +1 -0
  28. package/dist/build/p-4f947801.entry.js +2 -0
  29. package/dist/build/p-549b2931.entry.js +2 -0
  30. package/dist/build/p-549b2931.entry.js.map +1 -0
  31. package/dist/build/{p-d9bf1827.entry.js → p-58e6f012.entry.js} +2 -2
  32. package/dist/build/p-59962e55.entry.js +2 -0
  33. package/dist/{paperless/p-3e2708de.entry.js → build/p-657c6b98.entry.js} +2 -2
  34. package/dist/build/{p-f05bf2d2.entry.js → p-691c6f90.entry.js} +2 -2
  35. package/dist/build/p-711bb72e.entry.js +2 -0
  36. package/dist/build/p-711bb72e.entry.js.map +1 -0
  37. package/dist/build/{p-8f4a3d49.entry.js → p-7a83597a.entry.js} +2 -2
  38. package/dist/build/{p-8b1a485b.entry.js → p-7ad7c0d1.entry.js} +2 -2
  39. package/dist/{paperless/p-b082e123.js → build/p-7ce3ed33.js} +2 -2
  40. package/dist/build/p-7ce3ed33.js.map +1 -0
  41. package/dist/build/{p-da7b6f2c.js → p-83946184.js} +1 -1
  42. package/dist/build/p-83946184.js.map +1 -0
  43. package/dist/build/{p-a9c13353.entry.js → p-8532d17f.entry.js} +2 -2
  44. package/dist/build/p-8857d619.entry.js +2 -0
  45. package/dist/build/p-8857d619.entry.js.map +1 -0
  46. package/dist/build/{p-c801b122.entry.js → p-8a4f08d0.entry.js} +2 -2
  47. package/dist/build/{p-28f44624.entry.js → p-8c8128f9.entry.js} +2 -2
  48. package/dist/{paperless/p-cd2cd75f.entry.js → build/p-90ad3605.entry.js} +2 -2
  49. package/dist/build/{p-d058cdfc.entry.js → p-93198497.entry.js} +2 -2
  50. package/dist/build/p-99352ae4.entry.js +2 -0
  51. package/dist/build/p-99352ae4.entry.js.map +1 -0
  52. package/dist/{paperless/p-0ffb8f53.entry.js → build/p-a133d5be.entry.js} +2 -2
  53. package/dist/build/{p-fa340d90.entry.js → p-a42897e9.entry.js} +2 -2
  54. package/dist/build/p-c55ee8d6.entry.js +2 -0
  55. package/dist/build/p-c55ee8d6.entry.js.map +1 -0
  56. package/dist/build/{p-9afd6c62.entry.js → p-d2ddf504.entry.js} +2 -2
  57. package/dist/build/p-d48ef748.entry.js +2 -0
  58. package/dist/build/p-d48ef748.entry.js.map +1 -0
  59. package/dist/{paperless/p-9406a32e.entry.js → build/p-d70fcbe8.entry.js} +2 -2
  60. package/dist/build/{p-0e1c6375.entry.js → p-da44c5f3.entry.js} +2 -2
  61. package/dist/build/{p-167a6397.entry.js → p-db29f690.entry.js} +2 -2
  62. package/dist/build/{p-b542d0b6.entry.js → p-dbd97dff.entry.js} +2 -2
  63. package/dist/{paperless/p-697ed735.entry.js → build/p-dc536eb2.entry.js} +2 -2
  64. package/dist/build/{p-52fe40e3.entry.js → p-e987ba3f.entry.js} +2 -2
  65. package/dist/build/{p-d82e4315.entry.js → p-eee199d1.entry.js} +2 -2
  66. package/dist/{paperless/p-20ea5e27.entry.js → build/p-ef42fec9.entry.js} +2 -2
  67. package/dist/build/{p-7b72764c.entry.js → p-f13ad23e.entry.js} +2 -2
  68. package/dist/build/{p-7c0e0f80.entry.js → p-f1a6c8ff.entry.js} +2 -2
  69. package/dist/build/{p-096eaf0d.entry.js → p-f233341a.entry.js} +2 -2
  70. package/dist/build/{p-401ff01b.entry.js → p-f2f904e6.entry.js} +2 -2
  71. package/dist/{paperless/p-f762c735.entry.js → build/p-f4cdabb7.entry.js} +2 -2
  72. package/dist/{paperless/p-3023e8dc.entry.js → build/p-f63feca1.entry.js} +2 -2
  73. package/dist/build/{p-a38a330d.entry.js → p-f9ffc928.entry.js} +2 -2
  74. package/dist/build/paperless.esm.js +1 -1
  75. package/dist/build/paperless.esm.js.map +1 -1
  76. package/dist/cjs/{constants-f911468d.js → constants-eae831f7.js} +1 -1
  77. package/dist/cjs/constants-eae831f7.js.map +1 -0
  78. package/dist/cjs/{icons-10aa18f0.js → icons-8fe8c3cf.js} +18 -1
  79. package/dist/cjs/icons-8fe8c3cf.js.map +1 -0
  80. package/dist/cjs/index-3f9bbc0c.js +14 -10
  81. package/dist/cjs/index.cjs.js +1 -1
  82. package/dist/cjs/loader.cjs.js +1 -1
  83. package/dist/cjs/p-accordion.cjs.entry.js +1 -1
  84. package/dist/cjs/p-attachment.cjs.entry.js +4 -4
  85. package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
  86. package/dist/cjs/p-avatar.cjs.entry.js +1 -1
  87. package/dist/cjs/p-backdrop.cjs.entry.js +2 -2
  88. package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
  89. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  90. package/dist/cjs/p-button_3.cjs.entry.js +5 -5
  91. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  92. package/dist/cjs/p-card-body.cjs.entry.js +1 -1
  93. package/dist/cjs/p-card-container.cjs.entry.js +1 -1
  94. package/dist/cjs/p-card-header.cjs.entry.js +2 -2
  95. package/dist/cjs/{p-checkbox_3.cjs.entry.js → p-checkbox_2.cjs.entry.js} +22 -167
  96. package/dist/cjs/p-checkbox_2.cjs.entry.js.map +1 -0
  97. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  98. package/dist/cjs/p-counter.cjs.entry.js +1 -1
  99. package/dist/cjs/p-cropper.cjs.entry.js +2 -2
  100. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  101. package/dist/cjs/p-divider.cjs.entry.js +1 -1
  102. package/dist/cjs/p-drawer-body_3.cjs.entry.js +3 -3
  103. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +10 -9
  104. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
  105. package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js +528 -0
  106. package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js.map +1 -0
  107. package/dist/cjs/p-field_2.cjs.entry.js +17 -5
  108. package/dist/cjs/p-field_2.cjs.entry.js.map +1 -1
  109. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +121 -16
  110. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
  111. package/dist/cjs/p-helper_2.cjs.entry.js +6 -6
  112. package/dist/cjs/p-helper_2.cjs.entry.js.map +1 -1
  113. package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
  114. package/dist/cjs/p-icon-deprecated.cjs.entry.js +1 -1
  115. package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
  116. package/dist/cjs/p-input-error.cjs.entry.js +1 -1
  117. package/dist/cjs/p-input-group.cjs.entry.js +3 -3
  118. package/dist/cjs/p-label.cjs.entry.js +3 -3
  119. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  120. package/dist/cjs/p-modal-body_4.cjs.entry.js +4 -4
  121. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  122. package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
  123. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  124. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  125. package/dist/cjs/p-pagination.cjs.entry.js +70 -0
  126. package/dist/cjs/p-pagination.cjs.entry.js.map +1 -0
  127. package/dist/cjs/p-portal.cjs.entry.js +1 -1
  128. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  129. package/dist/cjs/p-radio.cjs.entry.js +3 -3
  130. package/dist/cjs/p-select.cjs.entry.js +1 -1
  131. package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
  132. package/dist/cjs/p-status.cjs.entry.js +2 -2
  133. package/dist/cjs/p-stepper-item.cjs.entry.js +1 -1
  134. package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
  135. package/dist/cjs/p-stepper.cjs.entry.js +1 -1
  136. package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
  137. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  138. package/dist/cjs/p-table.cjs.entry.js +9 -8
  139. package/dist/cjs/p-table.cjs.entry.js.map +1 -1
  140. package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
  141. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  142. package/dist/cjs/p-toggle.cjs.entry.js +8 -18
  143. package/dist/cjs/p-toggle.cjs.entry.js.map +1 -1
  144. package/dist/cjs/paperless.cjs.js +1 -1
  145. package/dist/collection/assets/icons/extra/checkmark-thick.svg +10 -0
  146. package/dist/collection/collection-manifest.json +4 -3
  147. package/dist/collection/components/atoms/avatar/avatar.component.js +1 -1
  148. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +1 -1
  149. package/dist/collection/components/atoms/backdrop/backdrop.component.js +2 -2
  150. package/dist/collection/components/atoms/badge/badge.component.js +1 -1
  151. package/dist/collection/components/atoms/card-body/card-body.component.js +1 -1
  152. package/dist/collection/components/atoms/card-container/card-container.component.js +1 -1
  153. package/dist/collection/components/atoms/card-header/card-header.component.js +2 -2
  154. package/dist/collection/components/atoms/checkbox/checkbox.component.css +1 -1
  155. package/dist/collection/components/atoms/checkbox/checkbox.component.js +6 -16
  156. package/dist/collection/components/atoms/checkbox/checkbox.component.js.map +1 -1
  157. package/dist/collection/components/atoms/counter/counter.component.js +1 -1
  158. package/dist/collection/components/atoms/divider/divider.component.js +1 -1
  159. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +1 -1
  160. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +1 -1
  161. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +1 -1
  162. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
  163. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +29 -8
  164. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js.map +1 -1
  165. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
  166. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +37 -6
  167. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -1
  168. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.css +1 -1
  169. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js +171 -4
  170. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js.map +1 -1
  171. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.css +1 -1
  172. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js +180 -3
  173. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js.map +1 -1
  174. package/dist/collection/components/atoms/helper/helper.component.css +1 -1
  175. package/dist/collection/components/atoms/helper/helper.component.js +2 -2
  176. package/dist/collection/components/atoms/helper/helper.component.js.map +1 -1
  177. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +1 -1
  178. package/dist/collection/components/atoms/icon/icon.component.js +1 -1
  179. package/dist/collection/components/atoms/icon-deprecated/icon.component.js +1 -1
  180. package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
  181. package/dist/collection/components/atoms/info-panel/info-panel.component.js +1 -1
  182. package/dist/collection/components/atoms/layout/layout.component.js +1 -1
  183. package/dist/collection/components/atoms/modal-body/modal-body.component.js +1 -1
  184. package/dist/collection/components/atoms/modal-container/modal-container.component.js +1 -1
  185. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +1 -1
  186. package/dist/collection/components/atoms/modal-header/modal-header.component.js +1 -1
  187. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  188. package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.css +1 -0
  189. package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.js +173 -0
  190. package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.js.map +1 -0
  191. package/dist/collection/components/atoms/portal/portal.component.js +1 -1
  192. package/dist/collection/components/atoms/radio/radio.component.js +3 -3
  193. package/dist/collection/components/atoms/segment-container/segment-container.component.js +1 -1
  194. package/dist/collection/components/atoms/segment-item/segment-item.component.js +3 -3
  195. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +1 -1
  196. package/dist/collection/components/atoms/status/status.component.js +3 -3
  197. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +1 -1
  198. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +1 -1
  199. package/dist/collection/components/atoms/tab-group/tab-group.component.js +1 -1
  200. package/dist/collection/components/atoms/tab-item/tab-item.component.js +1 -1
  201. package/dist/collection/components/atoms/table-container/table-container.component.js +1 -1
  202. package/dist/collection/components/atoms/toast-container/toast-container.component.js +1 -1
  203. package/dist/collection/components/atoms/toggle/toggle.component.css +1 -1
  204. package/dist/collection/components/atoms/toggle/toggle.component.js +7 -17
  205. package/dist/collection/components/atoms/toggle/toggle.component.js.map +1 -1
  206. package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
  207. package/dist/collection/components/helpers/table-row-action/table-row-action.component.js +1 -1
  208. package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
  209. package/dist/collection/components/molecules/attachment/attachment.component.js +4 -4
  210. package/dist/collection/components/molecules/button/button.component.js +5 -5
  211. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  212. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  213. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  214. package/dist/collection/components/molecules/cropper/cropper.component.js +2 -2
  215. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  216. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
  217. package/dist/collection/components/molecules/dropdown/dropdown.component.js +33 -5
  218. package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
  219. package/dist/collection/components/molecules/field/field.component.js +18 -6
  220. package/dist/collection/components/molecules/field/field.component.js.map +1 -1
  221. package/dist/collection/components/molecules/input-error/input-error.component.js +1 -1
  222. package/dist/collection/components/molecules/input-group/input-group.component.js +4 -4
  223. package/dist/collection/components/molecules/label/label.component.js +4 -4
  224. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +3 -3
  225. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +1 -1
  226. package/dist/collection/components/molecules/pagination/pagination.component.css +1 -1
  227. package/dist/collection/components/molecules/pagination/pagination.component.js +136 -169
  228. package/dist/collection/components/molecules/pagination/pagination.component.js.map +1 -1
  229. package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.css +1 -0
  230. package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.js +321 -0
  231. package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.js.map +1 -0
  232. package/dist/collection/components/molecules/pagination-size/constants.js.map +1 -0
  233. package/dist/collection/components/molecules/pagination-size/pagination-size.component.css +1 -0
  234. package/dist/collection/components/molecules/{page-size-select/page-size-select.component.js → pagination-size/pagination-size.component.js} +44 -76
  235. package/dist/collection/components/molecules/pagination-size/pagination-size.component.js.map +1 -0
  236. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  237. package/dist/collection/components/molecules/select/select.component.js +3 -3
  238. package/dist/collection/components/molecules/stepper/stepper.component.js +1 -1
  239. package/dist/collection/components/molecules/table-cell/table-cell.component.js +1 -1
  240. package/dist/collection/components/molecules/table-footer/table-footer.component.css +1 -1
  241. package/dist/collection/components/molecules/table-footer/table-footer.component.js +2 -2
  242. package/dist/collection/components/molecules/table-footer/table-footer.component.js.map +1 -1
  243. package/dist/collection/components/molecules/table-header/table-header.component.js +4 -4
  244. package/dist/collection/components/molecules/table-row/table-row.component.js +2 -2
  245. package/dist/collection/components/molecules/toast/toast.component.js +2 -2
  246. package/dist/collection/components/organisms/drawer/drawer.component.js +1 -1
  247. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  248. package/dist/collection/components/organisms/table/table.component.css +1 -1
  249. package/dist/collection/components/organisms/table/table.component.js +9 -8
  250. package/dist/collection/components/organisms/table/table.component.js.map +1 -1
  251. package/dist/collection/utils/icons.js +6 -0
  252. package/dist/collection/utils/icons.js.map +1 -1
  253. package/dist/components/avatar.component.js +1 -1
  254. package/dist/components/backdrop.component.js +2 -2
  255. package/dist/components/badge.component.js +1 -1
  256. package/dist/components/button.component.js +4 -4
  257. package/dist/components/calendar.component.js +1 -1
  258. package/dist/components/checkbox.component.js +7 -17
  259. package/dist/components/checkbox.component.js.map +1 -1
  260. package/dist/components/divider.component.js +1 -1
  261. package/dist/components/drawer-body.component.js +1 -1
  262. package/dist/components/drawer-container.component.js +1 -1
  263. package/dist/components/drawer-header.component.js +1 -1
  264. package/dist/components/dropdown-menu-container.component.js +11 -9
  265. package/dist/components/dropdown-menu-container.component.js.map +1 -1
  266. package/dist/components/dropdown-menu-item.component.js +35 -4
  267. package/dist/components/dropdown-menu-item.component.js.map +1 -1
  268. package/dist/components/dropdown.component.js +15 -6
  269. package/dist/components/dropdown.component.js.map +1 -1
  270. package/dist/components/field-container.component.js +8 -2
  271. package/dist/components/field-container.component.js.map +1 -1
  272. package/dist/components/field.component.js +17 -5
  273. package/dist/components/field.component.js.map +1 -1
  274. package/dist/components/floating-menu-container.component.js +66 -6
  275. package/dist/components/floating-menu-container.component.js.map +1 -1
  276. package/dist/components/floating-menu-item.component.js +85 -6
  277. package/dist/components/floating-menu-item.component.js.map +1 -1
  278. package/dist/components/helper.component.js +9 -3
  279. package/dist/components/helper.component.js.map +1 -1
  280. package/dist/components/icons.js +17 -0
  281. package/dist/components/icons.js.map +1 -1
  282. package/dist/components/illustration.component.js +1 -1
  283. package/dist/components/input-error.component.js +1 -1
  284. package/dist/components/modal-body.component.js +1 -1
  285. package/dist/components/modal-container.component.js +1 -1
  286. package/dist/components/modal-footer.component.js +1 -1
  287. package/dist/components/modal-header.component.js +1 -1
  288. package/dist/components/navigation-title.component.js +1 -1
  289. package/dist/components/p-accordion.js +1 -1
  290. package/dist/components/p-attachment.js +4 -4
  291. package/dist/components/p-avatar-group.js +1 -1
  292. package/dist/components/p-button-group.js +1 -1
  293. package/dist/components/p-card-body.js +1 -1
  294. package/dist/components/p-card-container.js +1 -1
  295. package/dist/components/p-card-header.js +2 -2
  296. package/dist/components/p-content-slider.js +2 -2
  297. package/dist/components/p-counter.js +1 -1
  298. package/dist/components/p-cropper.js +2 -2
  299. package/dist/components/p-datepicker.js +2 -2
  300. package/dist/components/p-iban-icon.js +1 -1
  301. package/dist/components/p-icon-deprecated.js +1 -1
  302. package/dist/components/p-info-panel.js +1 -1
  303. package/dist/components/p-input-group.js +3 -3
  304. package/dist/components/p-label.js +3 -3
  305. package/dist/components/p-layout.js +1 -1
  306. package/dist/components/p-navbar.js +1 -1
  307. package/dist/components/p-navigation-item.js +2 -2
  308. package/dist/components/p-navigation-section.js +1 -1
  309. package/dist/components/p-pagination-pages-item.d.ts +11 -0
  310. package/dist/components/p-pagination-pages-item.js +8 -0
  311. package/dist/components/p-pagination-pages-item.js.map +1 -0
  312. package/dist/components/{p-pagination-item.d.ts → p-pagination-pages.d.ts} +4 -4
  313. package/dist/components/p-pagination-pages.js +8 -0
  314. package/dist/components/p-pagination-pages.js.map +1 -0
  315. package/dist/components/{p-page-size-select.d.ts → p-pagination-size.d.ts} +4 -4
  316. package/dist/components/p-pagination-size.js +8 -0
  317. package/dist/components/p-pagination-size.js.map +1 -0
  318. package/dist/components/p-pagination.js +143 -1
  319. package/dist/components/p-pagination.js.map +1 -1
  320. package/dist/components/p-profile.js +1 -1
  321. package/dist/components/p-radio.js +3 -3
  322. package/dist/components/p-select.js +1 -1
  323. package/dist/components/p-status.js +2 -2
  324. package/dist/components/p-stepper-item.js +1 -1
  325. package/dist/components/p-stepper.js +1 -1
  326. package/dist/components/p-tab-group.js +1 -1
  327. package/dist/components/p-tab-item.js +1 -1
  328. package/dist/components/p-table.js +15 -14
  329. package/dist/components/p-table.js.map +1 -1
  330. package/dist/components/p-toast-container.js +1 -1
  331. package/dist/components/p-toast.js +1 -1
  332. package/dist/components/p-toggle.js +8 -18
  333. package/dist/components/p-toggle.js.map +1 -1
  334. package/dist/components/pagination-pages-item.component.js +106 -0
  335. package/dist/components/pagination-pages-item.component.js.map +1 -0
  336. package/dist/components/{pagination.component.js → pagination-pages.component.js} +54 -24
  337. package/dist/components/pagination-pages.component.js.map +1 -0
  338. package/dist/components/pagination-size.component.js +134 -0
  339. package/dist/components/pagination-size.component.js.map +1 -0
  340. package/dist/components/portal.component.js +1 -1
  341. package/dist/components/segment-container.component.js +1 -1
  342. package/dist/components/segment-item.component.js +2 -2
  343. package/dist/components/slider-indicator.component.js +1 -1
  344. package/dist/components/stepper-line.component.js +1 -1
  345. package/dist/components/table-cell.component.js +1 -1
  346. package/dist/components/table-container.component.js +1 -1
  347. package/dist/components/table-footer.component.js +9 -9
  348. package/dist/components/table-footer.component.js.map +1 -1
  349. package/dist/components/table-header.component.js +3 -3
  350. package/dist/components/table-row.component.js +2 -2
  351. package/dist/components/tooltip.component.js +4 -4
  352. package/dist/esm/{constants-3500ea14.js → constants-1dd98b15.js} +1 -1
  353. package/dist/esm/constants-1dd98b15.js.map +1 -0
  354. package/dist/esm/{icons-a3270aaf.js → icons-7312d60c.js} +18 -1
  355. package/dist/esm/icons-7312d60c.js.map +1 -0
  356. package/dist/esm/index-2ef94580.js +14 -10
  357. package/dist/esm/index.js +1 -1
  358. package/dist/esm/loader.js +1 -1
  359. package/dist/esm/p-accordion.entry.js +1 -1
  360. package/dist/esm/p-attachment.entry.js +4 -4
  361. package/dist/esm/p-avatar-group.entry.js +1 -1
  362. package/dist/esm/p-avatar.entry.js +1 -1
  363. package/dist/esm/p-backdrop.entry.js +2 -2
  364. package/dist/esm/p-badge_3.entry.js +4 -4
  365. package/dist/esm/p-button-group.entry.js +1 -1
  366. package/dist/esm/p-button_3.entry.js +5 -5
  367. package/dist/esm/p-calendar.entry.js +1 -1
  368. package/dist/esm/p-card-body.entry.js +1 -1
  369. package/dist/esm/p-card-container.entry.js +1 -1
  370. package/dist/esm/p-card-header.entry.js +2 -2
  371. package/dist/esm/{p-checkbox_3.entry.js → p-checkbox_2.entry.js} +23 -167
  372. package/dist/esm/p-checkbox_2.entry.js.map +1 -0
  373. package/dist/esm/p-content-slider.entry.js +2 -2
  374. package/dist/esm/p-counter.entry.js +1 -1
  375. package/dist/esm/p-cropper.entry.js +2 -2
  376. package/dist/esm/p-datepicker.entry.js +2 -2
  377. package/dist/esm/p-divider.entry.js +1 -1
  378. package/dist/esm/p-drawer-body_3.entry.js +3 -3
  379. package/dist/esm/p-dropdown-menu-container.entry.js +10 -9
  380. package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
  381. package/dist/esm/p-dropdown-menu-item_4.entry.js +521 -0
  382. package/dist/esm/p-dropdown-menu-item_4.entry.js.map +1 -0
  383. package/dist/esm/p-field_2.entry.js +17 -5
  384. package/dist/esm/p-field_2.entry.js.map +1 -1
  385. package/dist/esm/p-floating-menu-container_8.entry.js +122 -17
  386. package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
  387. package/dist/esm/p-helper_2.entry.js +6 -6
  388. package/dist/esm/p-helper_2.entry.js.map +1 -1
  389. package/dist/esm/p-iban-icon.entry.js +1 -1
  390. package/dist/esm/p-icon-deprecated.entry.js +1 -1
  391. package/dist/esm/p-info-panel.entry.js +1 -1
  392. package/dist/esm/p-input-error.entry.js +1 -1
  393. package/dist/esm/p-input-group.entry.js +3 -3
  394. package/dist/esm/p-label.entry.js +3 -3
  395. package/dist/esm/p-layout.entry.js +1 -1
  396. package/dist/esm/p-modal-body_4.entry.js +4 -4
  397. package/dist/esm/p-navbar.entry.js +1 -1
  398. package/dist/esm/p-navigation-item.entry.js +2 -2
  399. package/dist/esm/p-navigation-section.entry.js +1 -1
  400. package/dist/esm/p-navigation-title.entry.js +1 -1
  401. package/dist/esm/p-pagination.entry.js +66 -0
  402. package/dist/esm/p-pagination.entry.js.map +1 -0
  403. package/dist/esm/p-portal.entry.js +1 -1
  404. package/dist/esm/p-profile.entry.js +1 -1
  405. package/dist/esm/p-radio.entry.js +3 -3
  406. package/dist/esm/p-select.entry.js +1 -1
  407. package/dist/esm/p-slider-indicator.entry.js +1 -1
  408. package/dist/esm/p-status.entry.js +2 -2
  409. package/dist/esm/p-stepper-item.entry.js +1 -1
  410. package/dist/esm/p-stepper-line.entry.js +1 -1
  411. package/dist/esm/p-stepper.entry.js +1 -1
  412. package/dist/esm/p-tab-group.entry.js +1 -1
  413. package/dist/esm/p-tab-item.entry.js +1 -1
  414. package/dist/esm/p-table.entry.js +9 -8
  415. package/dist/esm/p-table.entry.js.map +1 -1
  416. package/dist/esm/p-toast-container.entry.js +1 -1
  417. package/dist/esm/p-toast.entry.js +1 -1
  418. package/dist/esm/p-toggle.entry.js +8 -18
  419. package/dist/esm/p-toggle.entry.js.map +1 -1
  420. package/dist/esm/paperless.js +1 -1
  421. package/dist/index.html +1 -1
  422. package/dist/paperless/index.esm.js +1 -1
  423. package/dist/paperless/{p-5779d316.entry.js → p-11fbeb45.entry.js} +2 -2
  424. package/dist/paperless/{p-d26ee54b.entry.js → p-1a1c03c0.entry.js} +2 -2
  425. package/dist/paperless/{p-dd0f4ed0.entry.js → p-27fd3386.entry.js} +2 -2
  426. package/dist/paperless/p-28dbbce6.entry.js +2 -0
  427. package/dist/paperless/p-28ee6cd6.entry.js +2 -0
  428. package/dist/{build/p-b162a142.entry.js → paperless/p-290d04b0.entry.js} +2 -2
  429. package/dist/paperless/{p-9231fe88.entry.js → p-2d43b7ce.entry.js} +2 -2
  430. package/dist/{build/p-e5a54d05.entry.js → paperless/p-333f614e.entry.js} +2 -2
  431. package/dist/paperless/p-37b43ce6.entry.js +2 -0
  432. package/dist/paperless/p-37b43ce6.entry.js.map +1 -0
  433. package/dist/paperless/{p-29c71645.entry.js → p-38c20959.entry.js} +2 -2
  434. package/dist/{build/p-4baaed44.entry.js → paperless/p-3bd145fd.entry.js} +2 -2
  435. package/dist/paperless/{p-0cd0a8d2.entry.js → p-4364738a.entry.js} +2 -2
  436. package/dist/paperless/{p-e11ab3d2.entry.js → p-4443e4e5.entry.js} +2 -2
  437. package/dist/paperless/{p-39e51563.entry.js → p-4553a1af.entry.js} +2 -2
  438. package/dist/paperless/p-469615ef.entry.js +2 -0
  439. package/dist/paperless/p-469615ef.entry.js.map +1 -0
  440. package/dist/paperless/p-489013c7.entry.js +2 -0
  441. package/dist/paperless/p-489013c7.entry.js.map +1 -0
  442. package/dist/paperless/p-4f947801.entry.js +2 -0
  443. package/dist/paperless/p-549b2931.entry.js +2 -0
  444. package/dist/paperless/p-549b2931.entry.js.map +1 -0
  445. package/dist/paperless/{p-d9bf1827.entry.js → p-58e6f012.entry.js} +2 -2
  446. package/dist/paperless/p-59962e55.entry.js +2 -0
  447. package/dist/{build/p-3e2708de.entry.js → paperless/p-657c6b98.entry.js} +2 -2
  448. package/dist/paperless/{p-f05bf2d2.entry.js → p-691c6f90.entry.js} +2 -2
  449. package/dist/paperless/p-711bb72e.entry.js +2 -0
  450. package/dist/paperless/p-711bb72e.entry.js.map +1 -0
  451. package/dist/paperless/{p-8f4a3d49.entry.js → p-7a83597a.entry.js} +2 -2
  452. package/dist/paperless/{p-8b1a485b.entry.js → p-7ad7c0d1.entry.js} +2 -2
  453. package/dist/{build/p-b082e123.js → paperless/p-7ce3ed33.js} +2 -2
  454. package/dist/paperless/p-7ce3ed33.js.map +1 -0
  455. package/dist/paperless/{p-da7b6f2c.js → p-83946184.js} +1 -1
  456. package/dist/paperless/p-83946184.js.map +1 -0
  457. package/dist/paperless/{p-a9c13353.entry.js → p-8532d17f.entry.js} +2 -2
  458. package/dist/paperless/p-8857d619.entry.js +2 -0
  459. package/dist/paperless/p-8857d619.entry.js.map +1 -0
  460. package/dist/paperless/{p-c801b122.entry.js → p-8a4f08d0.entry.js} +2 -2
  461. package/dist/paperless/{p-28f44624.entry.js → p-8c8128f9.entry.js} +2 -2
  462. package/dist/{build/p-cd2cd75f.entry.js → paperless/p-90ad3605.entry.js} +2 -2
  463. package/dist/paperless/{p-d058cdfc.entry.js → p-93198497.entry.js} +2 -2
  464. package/dist/paperless/p-99352ae4.entry.js +2 -0
  465. package/dist/paperless/p-99352ae4.entry.js.map +1 -0
  466. package/dist/{build/p-0ffb8f53.entry.js → paperless/p-a133d5be.entry.js} +2 -2
  467. package/dist/paperless/{p-fa340d90.entry.js → p-a42897e9.entry.js} +2 -2
  468. package/dist/paperless/p-c55ee8d6.entry.js +2 -0
  469. package/dist/paperless/p-c55ee8d6.entry.js.map +1 -0
  470. package/dist/paperless/{p-9afd6c62.entry.js → p-d2ddf504.entry.js} +2 -2
  471. package/dist/paperless/p-d48ef748.entry.js +2 -0
  472. package/dist/paperless/p-d48ef748.entry.js.map +1 -0
  473. package/dist/{build/p-9406a32e.entry.js → paperless/p-d70fcbe8.entry.js} +2 -2
  474. package/dist/paperless/{p-0e1c6375.entry.js → p-da44c5f3.entry.js} +2 -2
  475. package/dist/paperless/{p-167a6397.entry.js → p-db29f690.entry.js} +2 -2
  476. package/dist/paperless/{p-b542d0b6.entry.js → p-dbd97dff.entry.js} +2 -2
  477. package/dist/{build/p-697ed735.entry.js → paperless/p-dc536eb2.entry.js} +2 -2
  478. package/dist/paperless/{p-52fe40e3.entry.js → p-e987ba3f.entry.js} +2 -2
  479. package/dist/paperless/{p-d82e4315.entry.js → p-eee199d1.entry.js} +2 -2
  480. package/dist/{build/p-20ea5e27.entry.js → paperless/p-ef42fec9.entry.js} +2 -2
  481. package/dist/paperless/{p-7b72764c.entry.js → p-f13ad23e.entry.js} +2 -2
  482. package/dist/paperless/{p-7c0e0f80.entry.js → p-f1a6c8ff.entry.js} +2 -2
  483. package/dist/paperless/{p-096eaf0d.entry.js → p-f233341a.entry.js} +2 -2
  484. package/dist/paperless/{p-401ff01b.entry.js → p-f2f904e6.entry.js} +2 -2
  485. package/dist/{build/p-f762c735.entry.js → paperless/p-f4cdabb7.entry.js} +2 -2
  486. package/dist/{build/p-3023e8dc.entry.js → paperless/p-f63feca1.entry.js} +2 -2
  487. package/dist/paperless/{p-a38a330d.entry.js → p-f9ffc928.entry.js} +2 -2
  488. package/dist/paperless/paperless.esm.js +1 -1
  489. package/dist/paperless/paperless.esm.js.map +1 -1
  490. package/dist/sw.js +1 -1
  491. package/dist/sw.js.map +1 -1
  492. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +4 -0
  493. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +1 -1
  494. package/dist/types/components/atoms/floating-menu-container/floating-menu-container.component.d.ts +33 -1
  495. package/dist/types/components/atoms/floating-menu-item/floating-menu-item.component.d.ts +23 -0
  496. package/dist/types/components/atoms/pagination-pages-item/pagination-pages-item.component.d.ts +19 -0
  497. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +5 -0
  498. package/dist/types/components/molecules/pagination/pagination.component.d.ts +24 -17
  499. package/dist/types/components/molecules/pagination-pages/pagination-pages.component.d.ts +40 -0
  500. package/dist/types/components/molecules/{page-size-select/page-size-select.component.d.ts → pagination-size/pagination-size.component.d.ts} +5 -14
  501. package/dist/types/components.d.ts +283 -76
  502. package/dist/types/utils/icons.d.ts +4 -0
  503. package/hydrate/index.js +592 -233
  504. package/hydrate/index.mjs +592 -233
  505. package/package.json +1 -1
  506. package/dist/assets/i18n/page-size-select.i18n.en.json +0 -4
  507. package/dist/assets/i18n/page-size-select.i18n.nl.json +0 -4
  508. package/dist/build/p-03c70942.entry.js +0 -2
  509. package/dist/build/p-2f613a2a.entry.js +0 -2
  510. package/dist/build/p-4cef76cf.entry.js +0 -2
  511. package/dist/build/p-52056fb3.entry.js +0 -2
  512. package/dist/build/p-52056fb3.entry.js.map +0 -1
  513. package/dist/build/p-904049ba.entry.js +0 -2
  514. package/dist/build/p-904049ba.entry.js.map +0 -1
  515. package/dist/build/p-9593cbb7.entry.js +0 -2
  516. package/dist/build/p-9593cbb7.entry.js.map +0 -1
  517. package/dist/build/p-a483eadb.js +0 -2
  518. package/dist/build/p-b082e123.js.map +0 -1
  519. package/dist/build/p-c066c38b.entry.js +0 -2
  520. package/dist/build/p-c066c38b.entry.js.map +0 -1
  521. package/dist/build/p-cab0361a.entry.js +0 -2
  522. package/dist/build/p-cab0361a.entry.js.map +0 -1
  523. package/dist/build/p-d1da42f4.entry.js +0 -2
  524. package/dist/build/p-d1da42f4.entry.js.map +0 -1
  525. package/dist/build/p-da7b6f2c.js.map +0 -1
  526. package/dist/build/p-df228603.entry.js +0 -2
  527. package/dist/build/p-df228603.entry.js.map +0 -1
  528. package/dist/build/p-e078f787.entry.js +0 -2
  529. package/dist/build/p-e77d5ca1.entry.js +0 -2
  530. package/dist/build/p-e77d5ca1.entry.js.map +0 -1
  531. package/dist/cjs/constants-f911468d.js.map +0 -1
  532. package/dist/cjs/icons-10aa18f0.js.map +0 -1
  533. package/dist/cjs/p-checkbox_3.cjs.entry.js.map +0 -1
  534. package/dist/cjs/p-page-size-select_3.cjs.entry.js +0 -232
  535. package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +0 -1
  536. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +0 -1
  537. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +0 -46
  538. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js.map +0 -1
  539. package/dist/collection/components/molecules/page-size-select/constants.js.map +0 -1
  540. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js.map +0 -1
  541. package/dist/components/p-page-size-select.js +0 -8
  542. package/dist/components/p-page-size-select.js.map +0 -1
  543. package/dist/components/p-pagination-item.js +0 -8
  544. package/dist/components/p-pagination-item.js.map +0 -1
  545. package/dist/components/page-size-select.component.js +0 -123
  546. package/dist/components/page-size-select.component.js.map +0 -1
  547. package/dist/components/pagination-item.component.js +0 -36
  548. package/dist/components/pagination-item.component.js.map +0 -1
  549. package/dist/components/pagination.component.js.map +0 -1
  550. package/dist/esm/constants-3500ea14.js.map +0 -1
  551. package/dist/esm/icons-a3270aaf.js.map +0 -1
  552. package/dist/esm/p-checkbox_3.entry.js.map +0 -1
  553. package/dist/esm/p-page-size-select_3.entry.js +0 -226
  554. package/dist/esm/p-page-size-select_3.entry.js.map +0 -1
  555. package/dist/paperless/p-03c70942.entry.js +0 -2
  556. package/dist/paperless/p-2f613a2a.entry.js +0 -2
  557. package/dist/paperless/p-4cef76cf.entry.js +0 -2
  558. package/dist/paperless/p-52056fb3.entry.js +0 -2
  559. package/dist/paperless/p-52056fb3.entry.js.map +0 -1
  560. package/dist/paperless/p-904049ba.entry.js +0 -2
  561. package/dist/paperless/p-904049ba.entry.js.map +0 -1
  562. package/dist/paperless/p-9593cbb7.entry.js +0 -2
  563. package/dist/paperless/p-9593cbb7.entry.js.map +0 -1
  564. package/dist/paperless/p-b082e123.js.map +0 -1
  565. package/dist/paperless/p-c066c38b.entry.js +0 -2
  566. package/dist/paperless/p-c066c38b.entry.js.map +0 -1
  567. package/dist/paperless/p-cab0361a.entry.js +0 -2
  568. package/dist/paperless/p-cab0361a.entry.js.map +0 -1
  569. package/dist/paperless/p-d1da42f4.entry.js +0 -2
  570. package/dist/paperless/p-d1da42f4.entry.js.map +0 -1
  571. package/dist/paperless/p-da7b6f2c.js.map +0 -1
  572. package/dist/paperless/p-df228603.entry.js +0 -2
  573. package/dist/paperless/p-df228603.entry.js.map +0 -1
  574. package/dist/paperless/p-e078f787.entry.js +0 -2
  575. package/dist/paperless/p-e77d5ca1.entry.js +0 -2
  576. package/dist/paperless/p-e77d5ca1.entry.js.map +0 -1
  577. package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +0 -7
  578. /package/dist/build/{p-5779d316.entry.js.map → p-11fbeb45.entry.js.map} +0 -0
  579. /package/dist/build/{p-d26ee54b.entry.js.map → p-1a1c03c0.entry.js.map} +0 -0
  580. /package/dist/build/{p-dd0f4ed0.entry.js.map → p-27fd3386.entry.js.map} +0 -0
  581. /package/dist/build/{p-e078f787.entry.js.map → p-28dbbce6.entry.js.map} +0 -0
  582. /package/dist/build/{p-03c70942.entry.js.map → p-28ee6cd6.entry.js.map} +0 -0
  583. /package/dist/build/{p-b162a142.entry.js.map → p-290d04b0.entry.js.map} +0 -0
  584. /package/dist/build/{p-9231fe88.entry.js.map → p-2d43b7ce.entry.js.map} +0 -0
  585. /package/dist/build/{p-e5a54d05.entry.js.map → p-333f614e.entry.js.map} +0 -0
  586. /package/dist/build/{p-29c71645.entry.js.map → p-38c20959.entry.js.map} +0 -0
  587. /package/dist/build/{p-4baaed44.entry.js.map → p-3bd145fd.entry.js.map} +0 -0
  588. /package/dist/build/{p-0cd0a8d2.entry.js.map → p-4364738a.entry.js.map} +0 -0
  589. /package/dist/build/{p-e11ab3d2.entry.js.map → p-4443e4e5.entry.js.map} +0 -0
  590. /package/dist/build/{p-39e51563.entry.js.map → p-4553a1af.entry.js.map} +0 -0
  591. /package/dist/build/{p-4cef76cf.entry.js.map → p-4f947801.entry.js.map} +0 -0
  592. /package/dist/build/{p-d9bf1827.entry.js.map → p-58e6f012.entry.js.map} +0 -0
  593. /package/dist/build/{p-2f613a2a.entry.js.map → p-59962e55.entry.js.map} +0 -0
  594. /package/dist/build/{p-3e2708de.entry.js.map → p-657c6b98.entry.js.map} +0 -0
  595. /package/dist/build/{p-f05bf2d2.entry.js.map → p-691c6f90.entry.js.map} +0 -0
  596. /package/dist/build/{p-8f4a3d49.entry.js.map → p-7a83597a.entry.js.map} +0 -0
  597. /package/dist/build/{p-8b1a485b.entry.js.map → p-7ad7c0d1.entry.js.map} +0 -0
  598. /package/dist/build/{p-a9c13353.entry.js.map → p-8532d17f.entry.js.map} +0 -0
  599. /package/dist/build/{p-c801b122.entry.js.map → p-8a4f08d0.entry.js.map} +0 -0
  600. /package/dist/build/{p-28f44624.entry.js.map → p-8c8128f9.entry.js.map} +0 -0
  601. /package/dist/build/{p-cd2cd75f.entry.js.map → p-90ad3605.entry.js.map} +0 -0
  602. /package/dist/build/{p-d058cdfc.entry.js.map → p-93198497.entry.js.map} +0 -0
  603. /package/dist/build/{p-0ffb8f53.entry.js.map → p-a133d5be.entry.js.map} +0 -0
  604. /package/dist/build/{p-fa340d90.entry.js.map → p-a42897e9.entry.js.map} +0 -0
  605. /package/dist/build/{p-9afd6c62.entry.js.map → p-d2ddf504.entry.js.map} +0 -0
  606. /package/dist/build/{p-9406a32e.entry.js.map → p-d70fcbe8.entry.js.map} +0 -0
  607. /package/dist/build/{p-0e1c6375.entry.js.map → p-da44c5f3.entry.js.map} +0 -0
  608. /package/dist/build/{p-167a6397.entry.js.map → p-db29f690.entry.js.map} +0 -0
  609. /package/dist/build/{p-b542d0b6.entry.js.map → p-dbd97dff.entry.js.map} +0 -0
  610. /package/dist/build/{p-697ed735.entry.js.map → p-dc536eb2.entry.js.map} +0 -0
  611. /package/dist/build/{p-52fe40e3.entry.js.map → p-e987ba3f.entry.js.map} +0 -0
  612. /package/dist/build/{p-d82e4315.entry.js.map → p-eee199d1.entry.js.map} +0 -0
  613. /package/dist/build/{p-20ea5e27.entry.js.map → p-ef42fec9.entry.js.map} +0 -0
  614. /package/dist/build/{p-7b72764c.entry.js.map → p-f13ad23e.entry.js.map} +0 -0
  615. /package/dist/build/{p-7c0e0f80.entry.js.map → p-f1a6c8ff.entry.js.map} +0 -0
  616. /package/dist/build/{p-096eaf0d.entry.js.map → p-f233341a.entry.js.map} +0 -0
  617. /package/dist/build/{p-401ff01b.entry.js.map → p-f2f904e6.entry.js.map} +0 -0
  618. /package/dist/build/{p-f762c735.entry.js.map → p-f4cdabb7.entry.js.map} +0 -0
  619. /package/dist/build/{p-3023e8dc.entry.js.map → p-f63feca1.entry.js.map} +0 -0
  620. /package/dist/build/{p-a38a330d.entry.js.map → p-f9ffc928.entry.js.map} +0 -0
  621. /package/dist/collection/components/molecules/{page-size-select → pagination-size}/constants.js +0 -0
  622. /package/dist/paperless/{p-5779d316.entry.js.map → p-11fbeb45.entry.js.map} +0 -0
  623. /package/dist/paperless/{p-d26ee54b.entry.js.map → p-1a1c03c0.entry.js.map} +0 -0
  624. /package/dist/paperless/{p-dd0f4ed0.entry.js.map → p-27fd3386.entry.js.map} +0 -0
  625. /package/dist/paperless/{p-e078f787.entry.js.map → p-28dbbce6.entry.js.map} +0 -0
  626. /package/dist/paperless/{p-03c70942.entry.js.map → p-28ee6cd6.entry.js.map} +0 -0
  627. /package/dist/paperless/{p-b162a142.entry.js.map → p-290d04b0.entry.js.map} +0 -0
  628. /package/dist/paperless/{p-9231fe88.entry.js.map → p-2d43b7ce.entry.js.map} +0 -0
  629. /package/dist/paperless/{p-e5a54d05.entry.js.map → p-333f614e.entry.js.map} +0 -0
  630. /package/dist/paperless/{p-29c71645.entry.js.map → p-38c20959.entry.js.map} +0 -0
  631. /package/dist/paperless/{p-4baaed44.entry.js.map → p-3bd145fd.entry.js.map} +0 -0
  632. /package/dist/paperless/{p-0cd0a8d2.entry.js.map → p-4364738a.entry.js.map} +0 -0
  633. /package/dist/paperless/{p-e11ab3d2.entry.js.map → p-4443e4e5.entry.js.map} +0 -0
  634. /package/dist/paperless/{p-39e51563.entry.js.map → p-4553a1af.entry.js.map} +0 -0
  635. /package/dist/paperless/{p-4cef76cf.entry.js.map → p-4f947801.entry.js.map} +0 -0
  636. /package/dist/paperless/{p-d9bf1827.entry.js.map → p-58e6f012.entry.js.map} +0 -0
  637. /package/dist/paperless/{p-2f613a2a.entry.js.map → p-59962e55.entry.js.map} +0 -0
  638. /package/dist/paperless/{p-3e2708de.entry.js.map → p-657c6b98.entry.js.map} +0 -0
  639. /package/dist/paperless/{p-f05bf2d2.entry.js.map → p-691c6f90.entry.js.map} +0 -0
  640. /package/dist/paperless/{p-8f4a3d49.entry.js.map → p-7a83597a.entry.js.map} +0 -0
  641. /package/dist/paperless/{p-8b1a485b.entry.js.map → p-7ad7c0d1.entry.js.map} +0 -0
  642. /package/dist/paperless/{p-a9c13353.entry.js.map → p-8532d17f.entry.js.map} +0 -0
  643. /package/dist/paperless/{p-c801b122.entry.js.map → p-8a4f08d0.entry.js.map} +0 -0
  644. /package/dist/paperless/{p-28f44624.entry.js.map → p-8c8128f9.entry.js.map} +0 -0
  645. /package/dist/paperless/{p-cd2cd75f.entry.js.map → p-90ad3605.entry.js.map} +0 -0
  646. /package/dist/paperless/{p-d058cdfc.entry.js.map → p-93198497.entry.js.map} +0 -0
  647. /package/dist/paperless/{p-0ffb8f53.entry.js.map → p-a133d5be.entry.js.map} +0 -0
  648. /package/dist/paperless/{p-fa340d90.entry.js.map → p-a42897e9.entry.js.map} +0 -0
  649. /package/dist/paperless/{p-9afd6c62.entry.js.map → p-d2ddf504.entry.js.map} +0 -0
  650. /package/dist/paperless/{p-9406a32e.entry.js.map → p-d70fcbe8.entry.js.map} +0 -0
  651. /package/dist/paperless/{p-0e1c6375.entry.js.map → p-da44c5f3.entry.js.map} +0 -0
  652. /package/dist/paperless/{p-167a6397.entry.js.map → p-db29f690.entry.js.map} +0 -0
  653. /package/dist/paperless/{p-b542d0b6.entry.js.map → p-dbd97dff.entry.js.map} +0 -0
  654. /package/dist/paperless/{p-697ed735.entry.js.map → p-dc536eb2.entry.js.map} +0 -0
  655. /package/dist/paperless/{p-52fe40e3.entry.js.map → p-e987ba3f.entry.js.map} +0 -0
  656. /package/dist/paperless/{p-d82e4315.entry.js.map → p-eee199d1.entry.js.map} +0 -0
  657. /package/dist/paperless/{p-20ea5e27.entry.js.map → p-ef42fec9.entry.js.map} +0 -0
  658. /package/dist/paperless/{p-7b72764c.entry.js.map → p-f13ad23e.entry.js.map} +0 -0
  659. /package/dist/paperless/{p-7c0e0f80.entry.js.map → p-f1a6c8ff.entry.js.map} +0 -0
  660. /package/dist/paperless/{p-096eaf0d.entry.js.map → p-f233341a.entry.js.map} +0 -0
  661. /package/dist/paperless/{p-401ff01b.entry.js.map → p-f2f904e6.entry.js.map} +0 -0
  662. /package/dist/paperless/{p-f762c735.entry.js.map → p-f4cdabb7.entry.js.map} +0 -0
  663. /package/dist/paperless/{p-3023e8dc.entry.js.map → p-f63feca1.entry.js.map} +0 -0
  664. /package/dist/paperless/{p-a38a330d.entry.js.map → p-f9ffc928.entry.js.map} +0 -0
  665. /package/dist/types/components/molecules/{page-size-select → pagination-size}/constants.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"names":["illustrations","emptyState","emptyStateSearch","emptyStateOverview","emptyStateAdd","departments","expenses","functions","questions","sickLeave","timeOff","upgradeToHr","email","floatingMenuContainerComponentCss","PFloatingMenuContainerStyle0","FloatingMenuContainer","render","h","Host","key","class","this","usedInTable","name","floatingMenuItemComponentCss","PFloatingMenuItemStyle0","FloatingMenuItem","Illustration","illustration","variant","innerHTML","tableCellComponentCss","PTableCellStyle0","TableCell","value","data","objectGetByPath","item","definition","path","index","rowIndex","_getColumnClasses","checkbox","_getContent","flex","align","useSlot","template","getTableCellColumnClasses","tableHasActions","tableContainerComponentCss","PTableContainerStyle0","TableContainer","shadow","tableFooterComponentCss","PTableFooterStyle0","TableFooter","defaultSize","defaultSizeOptions","pageChange","pageSizeChange","export","componentWillLoad","_setLocales","hidePageSizeSelect","hideOnSinglePage","total","pageSizeOptions","enablePageSize","enablePagination","enableExport","loading","hidden","size","pageSize","sizeOptions","onSizeChange","detail","_changePageSize","page","onPageChange","emit","icon","onClick","formatTranslation","_locales","getLocaleComponentStrings","_el","s","isFunction","createErrorClass","createImpl","_super","instance","Error","call","stack","ctorFunc","prototype","Object","create","constructor","UnsubscriptionError","UnsubscriptionErrorImpl","errors","message","length","map","err","i","toString","join","arrRemove","arr","indexOf","splice","Subscription","initialTeardown","closed","_parentage","_finalizers","unsubscribe","Array","isArray","parent","remove","initialFinalizer","e","finalizer","execFinalizer","push","add","teardown","_a","_hasParent","_addParent","includes","_removeParent","EMPTY","empty","EMPTY_SUBSCRIPTION","isSubscription","config","onUnhandledError","onStoppedNotification","Promise","undefined","useDeprecatedSynchronousErrorHandling","useDeprecatedNextContext","timeoutProvider","setTimeout","handler","timeout","args","delegate","clearTimeout","handle","reportUnhandledError","noop","COMPLETE_NOTIFICATION","createNotification","errorNotification","error","nextNotification","kind","context","errorContext","cb","isRoot","errorThrown","Subscriber","destination","super","isStopped","EMPTY_OBSERVER","next","complete","SafeSubscriber","handleStoppedNotification","_next","_error","_complete","_bind","Function","bind","fn","thisArg","ConsumerObserver","partialObserver","handleUnhandledError","observerOrNext","defaultErrorHandler","notification","subscriber","observable","Symbol","identity","x","pipeFromArray","fns","piped","input","reduce","prev","Observable","subscribe","_subscribe","lift","operator","source","isSubscriber","_trySubscribe","sink","forEach","promiseCtor","getPromiseCtor","resolve","reject","Symbol_observable","pipe","operations","toPromise","isObserver","hasLift","operate","init","liftedSource","TypeError","createOperatorSubscriber","onNext","onComplete","onError","onFinalize","OperatorSubscriber","shouldUnsubscribe","ObjectUnsubscribedError","ObjectUnsubscribedErrorImpl","Subject","currentObservers","observers","hasError","thrownError","subject","AnonymousSubject","_throwIfClosed","from","observer","shift","observed","_checkFinalizedStatuses","_innerSubscribe","asObservable","_b","dateTimestampProvider","now","Date","Action","scheduler","work","schedule","state","delay","intervalProvider","setInterval","clearInterval","AsyncAction","pending","id","recycleAsyncId","requestAsyncId","_id","flush","_scheduler","execute","_execute","_delay","errored","errorValue","actions","Scheduler","schedulerActionCtor","AsyncScheduler","SchedulerAction","_active","action","asyncScheduler","debounceTime","dueTime","activeTask","lastValue","lastTime","emitWhenIdle","targetTime","distinctUntilChanged","comparator","keySelector","defaultCompare","previousKey","first","currentKey","a","b","tableHeaderComponentCss","PTableHeaderStyle0","TableHeader","_defaultFilterButtonTemplate","_defaultActionButtonTemplate","filter","amount","actionText","edit","edit_single","edit_plural","quickFilter","queryChange","_queryObserver","componentDidLoad","activeQuickFilter","quickFilters","find","f","identifier","activeQuickFilterIdentifier","mobileTotal","selectedFiltersAmount","default","hasCustomFilterSlot","querySelector","hasCustomActionsSlot","active","text","count","enableSearch","placeholder","query","onValueChange","ev","enableFilter","enableFilterDesktop","filterButtonTemplate","_getLabel","enableAction","_buttonTemplate","canUseAction","mobile","actionIcon","disabled","actionLoading","actionButtonTemplate","itemsSelectedAmount","tableRowComponentCss","PTableRowStyle0","TableRow","enableHover"],"sources":["src/utils/illustrations.ts","src/components/atoms/floating-menu-container/floating-menu-container.component.scss?tag=p-floating-menu-container&encapsulation=shadow","src/components/atoms/floating-menu-container/floating-menu-container.component.tsx","src/components/atoms/floating-menu-item/floating-menu-item.component.scss?tag=p-floating-menu-item&encapsulation=shadow","src/components/atoms/floating-menu-item/floating-menu-item.component.tsx","src/components/atoms/illustration/illustration.component.tsx","src/components/molecules/table-cell/table-cell.component.scss?tag=p-table-cell","src/components/molecules/table-cell/table-cell.component.tsx","src/components/atoms/table-container/table-container.component.scss?tag=p-table-container&encapsulation=shadow","src/components/atoms/table-container/table-container.component.tsx","src/components/molecules/table-footer/table-footer.component.scss?tag=p-table-footer&encapsulation=shadow","src/components/molecules/table-footer/table-footer.component.tsx","node_modules/rxjs/dist/esm/internal/util/isFunction.js","node_modules/rxjs/dist/esm/internal/util/createErrorClass.js","node_modules/rxjs/dist/esm/internal/util/UnsubscriptionError.js","node_modules/rxjs/dist/esm/internal/util/arrRemove.js","node_modules/rxjs/dist/esm/internal/Subscription.js","node_modules/rxjs/dist/esm/internal/config.js","node_modules/rxjs/dist/esm/internal/scheduler/timeoutProvider.js","node_modules/rxjs/dist/esm/internal/util/reportUnhandledError.js","node_modules/rxjs/dist/esm/internal/util/noop.js","node_modules/rxjs/dist/esm/internal/NotificationFactories.js","node_modules/rxjs/dist/esm/internal/util/errorContext.js","node_modules/rxjs/dist/esm/internal/Subscriber.js","node_modules/rxjs/dist/esm/internal/symbol/observable.js","node_modules/rxjs/dist/esm/internal/util/identity.js","node_modules/rxjs/dist/esm/internal/util/pipe.js","node_modules/rxjs/dist/esm/internal/Observable.js","node_modules/rxjs/dist/esm/internal/util/lift.js","node_modules/rxjs/dist/esm/internal/operators/OperatorSubscriber.js","node_modules/rxjs/dist/esm/internal/util/ObjectUnsubscribedError.js","node_modules/rxjs/dist/esm/internal/Subject.js","node_modules/rxjs/dist/esm/internal/scheduler/dateTimestampProvider.js","node_modules/rxjs/dist/esm/internal/scheduler/Action.js","node_modules/rxjs/dist/esm/internal/scheduler/intervalProvider.js","node_modules/rxjs/dist/esm/internal/scheduler/AsyncAction.js","node_modules/rxjs/dist/esm/internal/Scheduler.js","node_modules/rxjs/dist/esm/internal/scheduler/AsyncScheduler.js","node_modules/rxjs/dist/esm/internal/scheduler/async.js","node_modules/rxjs/dist/esm/internal/operators/debounceTime.js","node_modules/rxjs/dist/esm/internal/operators/distinctUntilChanged.js","src/components/molecules/table-header/table-header.component.scss?tag=p-table-header&encapsulation=shadow","src/components/molecules/table-header/table-header.component.tsx","src/components/molecules/table-row/table-row.component.scss?tag=p-table-row&encapsulation=shadow","src/components/molecules/table-row/table-row.component.tsx"],"sourcesContent":["import emptyState from '../assets/illustrations/default-empty-state.svg';\nimport departments from '../assets/illustrations/departments.svg';\nimport email from '../assets/illustrations/e-mail.svg';\nimport emptyStateAdd from '../assets/illustrations/empty-state-add.svg';\nimport emptyStateOverview from '../assets/illustrations/empty-state-overview.svg';\nimport emptyStateSearch from '../assets/illustrations/empty-state-search.svg';\nimport expenses from '../assets/illustrations/expenses.svg';\nimport functions from '../assets/illustrations/functions.svg';\nimport questions from '../assets/illustrations/questions.svg';\nimport sickLeave from '../assets/illustrations/sick-leave.svg';\nimport timeOff from '../assets/illustrations/time-off.svg';\nimport upgradeToHr from '../assets/illustrations/upgrade-to-hr.svg';\n\nexport default {\n 'empty-state': emptyState,\n 'empty-state-search': emptyStateSearch,\n 'empty-state-overview': emptyStateOverview,\n 'empty-state-add': emptyStateAdd,\n departments,\n expenses,\n functions,\n questions,\n 'sick-leave': sickLeave,\n 'time-off': timeOff,\n 'upgrade-to-hr': upgradeToHr,\n 'e-mail': email,\n};\n",":host {\n\t@apply z-floating-menu flex h-12 items-center gap-4 rounded-2xl bg-storm-dark px-4 py-3 text-storm-vague shadow-2;\n}\n\n:host(.preload) {\n\t@apply animate-none #{!important};\n}\n","import { Component, Host, Prop, h } from '@stencil/core';\n\n@Component({\n\ttag: 'p-floating-menu-container',\n\tstyleUrl: 'floating-menu-container.component.scss',\n\tshadow: true,\n})\nexport class FloatingMenuContainer {\n\t/**\n\t * Weather the container is used in the table\n\t */\n\t@Prop() usedInTable: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-floating-menu-container\">\n\t\t\t\t{this.usedInTable ? (\n\t\t\t\t\t<slot name=\"floating-menu-item\" />\n\t\t\t\t) : (\n\t\t\t\t\t<slot />\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n",":host {\n\t@apply flex h-6 items-center gap-2 whitespace-nowrap text-sm text-storm-vague;\n}\n\n:host([hover]) {\n\t@apply cursor-pointer font-semibold;\n}\n\n:host([disabled]),\n:host([disabled='true']) {\n\t@apply opacity-40 pointer-events-none;\n}\n\n:host([hover]:hover:not([disabled])) {\n\t@apply text-white;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-floating-menu-item',\n\tstyleUrl: 'floating-menu-item.component.scss',\n\tshadow: true,\n})\nexport class FloatingMenuItem {\n\t/**\n\t * Wether it should have a hover effect\n\t */\n\t@Prop({ reflect: true }) hover: boolean = true;\n\n\t/**\n\t * Wether the item is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-floating-menu-item\">\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport illustrations from '../../../utils/illustrations';\n\nexport type IllustrationVariant = keyof typeof illustrations;\n\n@Component({\n\ttag: 'p-illustration',\n\t// shadow: true,\n})\nexport class Illustration {\n\t/**\n\t * The icon the be displayed\n\t */\n\t@Prop() variant!: IllustrationVariant;\n\n\trender() {\n\t\tconst illustration = illustrations[this.variant];\n\n\t\treturn (\n\t\t\t<Host class=\"p-illustration block\" innerHTML={illustration}></Host>\n\t\t);\n\t}\n}\n","p-table-cell {\n\t@apply gap-4 items-center;\n\n\t// TODO: Remove this\n\t// @import '../../../style/form/checkbox';\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport {\n\tTableDefinitionData,\n\tTableDefinitionTemplateFunc,\n} from '../../../types';\nimport { objectGetByPath, getTableCellColumnClasses } from '../../../utils';\nimport { TableColumn } from '../../helpers/table-column/table-column.component';\n\n/*\n With this, we shall hack the system in ways no one would ever have thought.\n\n\t <div class=\"justify-start justify-center justify-end\"></div>\n\t <div class=\"font-semibold text-storm-dark\"></div>\n <div class=\"w-1/12 w-2/12 w-3/12 w-4/12 w-5/12 w-6/12 w-7/12 w-8/12 w-9/12 w-10/12 w-11/12 w-12/12\"></div>\n <div class=\"tablet:w-1/12 tablet:w-2/12 tablet:w-3/12 tablet:w-4/12 tablet:w-5/12 tablet:w-6/12 tablet:w-7/12 tablet:w-8/12 tablet:w-9/12 tablet:w-10/12 tablet:w-11/12 tablet:w-12/12\"></div>\n <div class=\"desktop-xs:w-1/12 desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12 desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12 desktop-xs:w-10/12 desktop-xs:w-11/12 desktop-xs:w-12/12\"></div>\n <div class=\"desktop-xs:w-1/12 desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12 desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12 desktop-xs:w-10/12 desktop-xs:w-11/12 desktop-xs:w-12/12\"></div>\n <div class=\"desktop-sm:w-1/12 desktop-sm:w-2/12 desktop-sm:w-3/12 desktop-sm:w-4/12 desktop-sm:w-5/12 desktop-sm:w-6/12 desktop-sm:w-7/12 desktop-sm:w-8/12 desktop-sm:w-9/12 desktop-sm:w-10/12 desktop-sm:w-11/12 desktop-sm:w-12/12\"></div>\n <div class=\"desktop:w-1/12 desktop:w-2/12 desktop:w-3/12 desktop:w-4/12 desktop:w-5/12 desktop:w-6/12 desktop:w-7/12 desktop:w-8/12 desktop:w-9/12 desktop:w-10/12 desktop:w-11/12 desktop:w-12/12\"></div>\n <div class=\"desktop-lg:w-1/12 desktop-lg:w-2/12 desktop-lg:w-3/12 desktop-lg:w-4/12 desktop-lg:w-5/12 desktop-lg:w-6/12 desktop-lg:w-7/12 desktop-lg:w-8/12 desktop-lg:w-9/12 desktop-lg:w-10/12 desktop-lg:w-11/12 desktop-lg:w-12/12\"></div>\n <div class=\"desktop-xl:w-1/12 desktop-xl:w-2/12 desktop-xl:w-3/12 desktop-xl:w-4/12 desktop-xl:w-5/12 desktop-xl:w-6/12 desktop-xl:w-7/12 desktop-xl:w-8/12 desktop-xl:w-9/12 desktop-xl:w-10/12 desktop-xl:w-11/12 desktop-xl:w-12/12\"></div>\n <div class=\"hidden flex group-hover:hidden group-hover:flex\"></div>\n <div class=\"tablet:hidden tablet:flex tablet:group-hover:hidden tablet:group-hover:flex\"></div>\n <div class=\"desktop-xs:hidden desktop-xs:flex desktop-xs:group-hover:hidden desktop-xs:group-hover:flex\"></div>\n <div class=\"desktop-sm:hidden desktop-sm:flex desktop-sm:group-hover:hidden desktop-sm:group-hover:flex\"></div>\n <div class=\"desktop:hidden desktop:flex desktop:group-hover:hidden desktop:group-hover:flex\"></div>\n <div class=\"desktop-lg:hidden desktop-lg:flex desktop-lg:group-hover:hidden desktop-lg:group-hover:flex\"></div>\n <div class=\"desktop-xl:hidden desktop-xl:flex desktop-xl:group-hover:hidden desktop-xl:group-hover:flex\"></div>\n <div class=\"pr-4 pr-0\"></div>\n <div class=\"tablet:pr-4 tablet:pr-0\"></div>\n <div class=\"desktop-xs:pr-4 desktop-xs:pr-0\"></div>\n <div class=\"desktop-sm:pr-4 desktop-sm:pr-0\"></div>\n <div class=\"desktop:pr-4 desktop:pr-0\"></div>\n <div class=\"desktop-lg:pr-4 desktop-lg:pr-0\"></div>\n <div class=\"desktop-xl:pr-4 desktop-xl:pr-0\"></div>\n\n\n ⠀⠀⠀⠀⠀⣠⣴⣶⣿⣿⠿⣷⣶⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣶⣷⠿⣿⣿⣶⣦⣀⠀⠀⠀⠀⠀\n ⠀⠀⠀⢀⣾⣿⣿⣿⣿⣿⣿⣿⣶⣦⣬⡉⠒⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠚⢉⣥⣴⣾⣿⣿⣿⣿⣿⣿⣿⣧⠀⠀⠀⠀\n ⠀⠀⠀⡾⠿⠛⠛⠛⠛⠿⢿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣾⣿⣿⣿⣿⣿⠿⠿⠛⠛⠛⠛⠿⢧⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⣿⣿⣿⣿⣿⡄⠀⠀⠀⠀⠀⠀⣠⣿⣿⣿⣿⡿⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢿⣿⡄⠀⠀⠀⠀⠀⠀⠀⠀⢰⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⣠⣤⠶⠶⠶⠰⠦⣤⣀⠀⠙⣷⠀⠀⠀⠀⠀⠀⠀⢠⡿⠋⢀⣀⣤⢴⠆⠲⠶⠶⣤⣄⠀⠀⠀⠀⠀⠀⠀\n ⠀⠘⣆⠀⠀⢠⣾⣫⣶⣾⣿⣿⣿⣿⣷⣯⣿⣦⠈⠃⡇⠀⠀⠀⠀⢸⠘⢁⣶⣿⣵⣾⣿⣿⣿⣿⣷⣦⣝⣷⡄⠀⠀⡰⠂⠀\n ⠀⠀⣨⣷⣶⣿⣧⣛⣛⠿⠿⣿⢿⣿⣿⣛⣿⡿⠀⠀⡇⠀⠀⠀⠀⢸⠀⠈⢿⣟⣛⠿⢿⡿⢿⢿⢿⣛⣫⣼⡿⣶⣾⣅⡀⠀\n ⢀⡼⠋⠁⠀⠀⠈⠉⠛⠛⠻⠟⠸⠛⠋⠉⠁⠀⠀⢸⡇⠀⠀⠄⠀⢸⡄⠀⠀⠈⠉⠙⠛⠃⠻⠛⠛⠛⠉⠁⠀⠀⠈⠙⢧⡀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⡇⢠⠀⠀⠀⢸⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⣿⡇⠀⠀⠀⠀⢸⣿⣷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⠟⠁⣿⠇⠀⠀⠀⠀⢸⡇⠙⢿⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠰⣄⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣾⠖⡾⠁⠀⠀⣿⠀⠀⠀⠀⠀⠘⣿⠀⠀⠙⡇⢸⣷⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⣰⠄⠀\n ⠀⠀⢻⣷⡦⣤⣤⣤⡴⠶⠿⠛⠉⠁⠀⢳⠀⢠⡀⢿⣀⠀⠀⠀⠀⣠⡟⢀⣀⢠⠇⠀⠈⠙⠛⠷⠶⢦⣤⣤⣤⢴⣾⡏⠀⠀\n ⠀⠀⠈⣿⣧⠙⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠘⠛⢊⣙⠛⠒⠒⢛⣋⡚⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⣠⣿⡿⠁⣾⡿⠀⠀⠀\n ⠀⠀⠀⠘⣿⣇⠈⢿⣿⣦⠀⠀⠀⠀⠀⠀⠀⠀⣰⣿⣿⣿⡿⢿⣿⣿⣿⣆⠀⠀⠀⠀⠀⠀⠀⢀⣼⣿⡟⠁⣼⡿⠁⠀⠀⠀\n ⠀⠀⠀⠀⠘⣿⣦⠀⠻⣿⣷⣦⣤⣤⣶⣶⣶⣿⣿⣿⣿⠏⠀⠀⠻⣿⣿⣿⣿⣶⣶⣶⣦⣤⣴⣿⣿⠏⢀⣼⡿⠁⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠘⢿⣷⣄⠙⠻⠿⠿⠿⠿⠿⢿⣿⣿⣿⣁⣀⣀⣀⣀⣙⣿⣿⣿⠿⠿⠿⠿⠿⠿⠟⠁⣠⣿⡿⠁⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠈⠻⣯⠙⢦⣀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠀⠀⠀⠀⠀⣠⠴⢋⣾⠟⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠙⢧⡀⠈⠉⠒⠀⠀⠀⠀⠀⠀⣀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠐⠒⠉⠁⢀⡾⠃⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠳⣄⠀⠀⠀⠀⠀⠀⠀⠀⠻⣿⣿⣿⣿⠋⠀⠀⠀⠀⠀⠀⠀⠀⣠⠟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⢦⡀⠀⠀⠀⠀⠀⠀⠀⣸⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⢀⡴⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⣿⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n */\n@Component({\n\ttag: 'p-table-cell',\n\tstyleUrl: 'table-cell.component.scss',\n})\nexport class TableCell {\n\t/**\n\t * The variant of the column\n\t */\n\t@Prop() variant: 'default' | 'loading' | 'header' | 'actions' = 'default';\n\n\t/**\n\t * The index of the column\n\t */\n\t@Prop() index: number;\n\n\t/**\n\t * The index of the row\n\t */\n\t@Prop() rowIndex: number;\n\n\t/**\n\t * The definition of the table column\n\t */\n\t@Prop() definition?: TableColumn;\n\n\t/**\n\t * The item in question\n\t */\n\t@Prop() item: any;\n\n\t/**\n\t * The value of the column\n\t */\n\t@Prop() value: any;\n\n\t/**\n\t * Wether the table has actions\n\t */\n\t@Prop() tableHasActions: boolean = false;\n\n\t/**\n\t * The checkbox to show\n\t */\n\t@Prop() checkbox: any;\n\n\t/**\n\t * The template to show\n\t */\n\t@Prop() template: TableDefinitionTemplateFunc = ({\n\t\tvalue,\n\t}: TableDefinitionData) => value;\n\n\tget data(): TableDefinitionData | { value: string } {\n\t\tif (this.variant === 'header') {\n\t\t\treturn {\n\t\t\t\tvalue: this.value,\n\t\t\t};\n\t\t}\n\n\t\treturn {\n\t\t\tvalue: this.value ?? objectGetByPath(this.item, this.definition.path),\n\t\t\titem: this.item,\n\t\t\tindex: this.index,\n\t\t\trowIndex: this.rowIndex,\n\t\t};\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={{\n\t\t\t\t\t'p-table-cell': true,\n\t\t\t\t\t[`variant-${this.variant}`]: true,\n\t\t\t\t\t...this._getColumnClasses(),\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t{this.checkbox}\n\n\t\t\t\t{this._getContent()}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _getContent() {\n\t\tif (this.variant === 'loading') {\n\t\t\treturn (\n\t\t\t\t<p-loader\n\t\t\t\t\tvariant='ghost'\n\t\t\t\t\tclass='h-6 w-full flex-1 rounded'\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\tif (this.variant === 'actions') {\n\t\t\treturn <slot name='actions'></slot>;\n\t\t}\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={{\n\t\t\t\t\tflex: true,\n\t\t\t\t\t'justify-start': this.definition.align === 'start',\n\t\t\t\t\t'justify-center': this.definition.align === 'center',\n\t\t\t\t\t'justify-end': this.definition.align === 'end',\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t{this.variant === 'header' ? (\n\t\t\t\t\tthis.data.value\n\t\t\t\t) : this.definition.useSlot ? (\n\t\t\t\t\t<slot />\n\t\t\t\t) : (\n\t\t\t\t\tthis.template(this.data as TableDefinitionData)\n\t\t\t\t)}\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _getColumnClasses() {\n\t\treturn getTableCellColumnClasses(\n\t\t\tthis.definition,\n\t\t\tthis.variant,\n\t\t\tthis.tableHasActions\n\t\t);\n\t}\n}\n",":host {\n\t@apply flex w-full flex-col overflow-hidden;\n\t@apply rounded-lg bg-white;\n}\n\n:host(:not(.no-shadow)) {\n\t@apply shadow-3 #{!important};\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-table-container',\n\tstyleUrl: 'table-container.component.scss',\n\tshadow: true,\n})\nexport class TableContainer {\n\t/*\n\t * Wether to show the shadow or not\n\t */\n\t@Prop() shadow: boolean = true;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-table-container ${!this.shadow && 'no-shadow'}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n",":host {\n\t@apply grid grid-cols-1 gap-4;\n\t@apply w-full;\n\t@apply p-6;\n\n\t> p-pagination {\n\t\t@apply flex justify-self-center col-start-1;\n\t}\n\n\t> p-loader {\n\t\t@apply col-start-1;\n\t}\n\n\t@screen desktop-xs {\n\t\t@apply grid-cols-3;\n\t\tgrid-template-areas: 'page-size pagination export';\n\n\t\t> p-page-size-select {\n\t\t\t@apply col-start-1;\n\t\t}\n\n\t\t> p-pagination {\n\t\t\t@apply col-start-2;\n\t\t}\n\n\t\t> p-loader {\n\t\t\t@apply col-start-2;\n\t\t}\n\n\t\t> p-button {\n\t\t\t@apply justify-self-end col-start-3;\n\t\t}\n\t}\n}\n\n:host(.page-size-disabled.export-disabled) {\n\t@apply grid-cols-1;\n\n\t> p-pagination {\n\t\t@apply col-start-1;\n\t}\n}\n","import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport {\n\tformatTranslation,\n\tgetLocaleComponentStrings,\n} from '../../../utils/localization';\nimport { defaultSize, defaultSizeOptions } from '../page-size-select/constants';\n\n@Component({\n\ttag: 'p-table-footer',\n\tstyleUrl: 'table-footer.component.scss',\n\tshadow: true,\n})\nexport class TableFooter {\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 * Wether we want to show loading state\n\t */\n\t@Prop() loading: boolean = false;\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/**\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\tcomponentWillLoad() {\n\t\tthis._setLocales();\n\t}\n\n\trender() {\n\t\tconst hidePageSizeSelect =\n\t\t\tthis.hideOnSinglePage && this.total < this.pageSizeOptions?.[0];\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-table-footer ${\n\t\t\t\t\t!this.enablePageSize && 'page-size-disabled'\n\t\t\t\t} ${!this.enablePagination && 'pagination-disabled'} ${\n\t\t\t\t\t!this.enableExport && 'export-disabled'\n\t\t\t\t}`}\n\t\t\t>\n\t\t\t\t{!this.loading && this.enablePagination && this.enablePageSize && (\n\t\t\t\t\t<p-page-size-select\n\t\t\t\t\t\tclass={!hidePageSizeSelect && 'hidden desktop-xs:flex'}\n\t\t\t\t\t\thidden={hidePageSizeSelect}\n\t\t\t\t\t\tsize={this.pageSize}\n\t\t\t\t\t\tsizeOptions={this.pageSizeOptions}\n\t\t\t\t\t\tonSizeChange={({ detail }) => this._changePageSize(detail)}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t{this.loading && (\n\t\t\t\t\t<p-loader\n\t\t\t\t\t\tvariant='ghost'\n\t\t\t\t\t\tclass='h-8 w-full rounded'\n\t\t\t\t\t></p-loader>\n\t\t\t\t)}\n\n\t\t\t\t{!this.loading && this.enablePagination && (\n\t\t\t\t\t<p-pagination\n\t\t\t\t\t\tpageSize={this.pageSize}\n\t\t\t\t\t\ttotal={this.total}\n\t\t\t\t\t\tpage={this.page}\n\t\t\t\t\t\thideOnSinglePage={this.hideOnSinglePage}\n\t\t\t\t\t\tonPageChange={({ detail }) => this.pageChange.emit(detail)}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t\t{!this.loading && this.enableExport && (\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tclass='hidden desktop-xs:flex'\n\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\ticon='download'\n\t\t\t\t\t\tonClick={() => this.export.emit()}\n\t\t\t\t\t>\n\t\t\t\t\t\t{formatTranslation(this._locales.export)}\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\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\tprivate _changePageSize(s?: number) {\n\t\tif (!s) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.pageSize = s;\n\t\tthis.pageSizeChange.emit(this.pageSize);\n\t}\n}\n","export function isFunction(value) {\n return typeof value === 'function';\n}\n//# sourceMappingURL=isFunction.js.map","export function createErrorClass(createImpl) {\n const _super = (instance) => {\n Error.call(instance);\n instance.stack = new Error().stack;\n };\n const ctorFunc = createImpl(_super);\n ctorFunc.prototype = Object.create(Error.prototype);\n ctorFunc.prototype.constructor = ctorFunc;\n return ctorFunc;\n}\n//# sourceMappingURL=createErrorClass.js.map","import { createErrorClass } from './createErrorClass';\nexport const UnsubscriptionError = createErrorClass((_super) => function UnsubscriptionErrorImpl(errors) {\n _super(this);\n this.message = errors\n ? `${errors.length} errors occurred during unsubscription:\n${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\\n ')}`\n : '';\n this.name = 'UnsubscriptionError';\n this.errors = errors;\n});\n//# sourceMappingURL=UnsubscriptionError.js.map","export function arrRemove(arr, item) {\n if (arr) {\n const index = arr.indexOf(item);\n 0 <= index && arr.splice(index, 1);\n }\n}\n//# sourceMappingURL=arrRemove.js.map","import { isFunction } from './util/isFunction';\nimport { UnsubscriptionError } from './util/UnsubscriptionError';\nimport { arrRemove } from './util/arrRemove';\nexport class Subscription {\n constructor(initialTeardown) {\n this.initialTeardown = initialTeardown;\n this.closed = false;\n this._parentage = null;\n this._finalizers = null;\n }\n unsubscribe() {\n let errors;\n if (!this.closed) {\n this.closed = true;\n const { _parentage } = this;\n if (_parentage) {\n this._parentage = null;\n if (Array.isArray(_parentage)) {\n for (const parent of _parentage) {\n parent.remove(this);\n }\n }\n else {\n _parentage.remove(this);\n }\n }\n const { initialTeardown: initialFinalizer } = this;\n if (isFunction(initialFinalizer)) {\n try {\n initialFinalizer();\n }\n catch (e) {\n errors = e instanceof UnsubscriptionError ? e.errors : [e];\n }\n }\n const { _finalizers } = this;\n if (_finalizers) {\n this._finalizers = null;\n for (const finalizer of _finalizers) {\n try {\n execFinalizer(finalizer);\n }\n catch (err) {\n errors = errors !== null && errors !== void 0 ? errors : [];\n if (err instanceof UnsubscriptionError) {\n errors = [...errors, ...err.errors];\n }\n else {\n errors.push(err);\n }\n }\n }\n }\n if (errors) {\n throw new UnsubscriptionError(errors);\n }\n }\n }\n add(teardown) {\n var _a;\n if (teardown && teardown !== this) {\n if (this.closed) {\n execFinalizer(teardown);\n }\n else {\n if (teardown instanceof Subscription) {\n if (teardown.closed || teardown._hasParent(this)) {\n return;\n }\n teardown._addParent(this);\n }\n (this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);\n }\n }\n }\n _hasParent(parent) {\n const { _parentage } = this;\n return _parentage === parent || (Array.isArray(_parentage) && _parentage.includes(parent));\n }\n _addParent(parent) {\n const { _parentage } = this;\n this._parentage = Array.isArray(_parentage) ? (_parentage.push(parent), _parentage) : _parentage ? [_parentage, parent] : parent;\n }\n _removeParent(parent) {\n const { _parentage } = this;\n if (_parentage === parent) {\n this._parentage = null;\n }\n else if (Array.isArray(_parentage)) {\n arrRemove(_parentage, parent);\n }\n }\n remove(teardown) {\n const { _finalizers } = this;\n _finalizers && arrRemove(_finalizers, teardown);\n if (teardown instanceof Subscription) {\n teardown._removeParent(this);\n }\n }\n}\nSubscription.EMPTY = (() => {\n const empty = new Subscription();\n empty.closed = true;\n return empty;\n})();\nexport const EMPTY_SUBSCRIPTION = Subscription.EMPTY;\nexport function isSubscription(value) {\n return (value instanceof Subscription ||\n (value && 'closed' in value && isFunction(value.remove) && isFunction(value.add) && isFunction(value.unsubscribe)));\n}\nfunction execFinalizer(finalizer) {\n if (isFunction(finalizer)) {\n finalizer();\n }\n else {\n finalizer.unsubscribe();\n }\n}\n//# sourceMappingURL=Subscription.js.map","export const config = {\n onUnhandledError: null,\n onStoppedNotification: null,\n Promise: undefined,\n useDeprecatedSynchronousErrorHandling: false,\n useDeprecatedNextContext: false,\n};\n//# sourceMappingURL=config.js.map","export const timeoutProvider = {\n setTimeout(handler, timeout, ...args) {\n const { delegate } = timeoutProvider;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setTimeout) {\n return delegate.setTimeout(handler, timeout, ...args);\n }\n return setTimeout(handler, timeout, ...args);\n },\n clearTimeout(handle) {\n const { delegate } = timeoutProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearTimeout) || clearTimeout)(handle);\n },\n delegate: undefined,\n};\n//# sourceMappingURL=timeoutProvider.js.map","import { config } from '../config';\nimport { timeoutProvider } from '../scheduler/timeoutProvider';\nexport function reportUnhandledError(err) {\n timeoutProvider.setTimeout(() => {\n const { onUnhandledError } = config;\n if (onUnhandledError) {\n onUnhandledError(err);\n }\n else {\n throw err;\n }\n });\n}\n//# sourceMappingURL=reportUnhandledError.js.map","export function noop() { }\n//# sourceMappingURL=noop.js.map","export const COMPLETE_NOTIFICATION = (() => createNotification('C', undefined, undefined))();\nexport function errorNotification(error) {\n return createNotification('E', undefined, error);\n}\nexport function nextNotification(value) {\n return createNotification('N', value, undefined);\n}\nexport function createNotification(kind, value, error) {\n return {\n kind,\n value,\n error,\n };\n}\n//# sourceMappingURL=NotificationFactories.js.map","import { config } from '../config';\nlet context = null;\nexport function errorContext(cb) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n const isRoot = !context;\n if (isRoot) {\n context = { errorThrown: false, error: null };\n }\n cb();\n if (isRoot) {\n const { errorThrown, error } = context;\n context = null;\n if (errorThrown) {\n throw error;\n }\n }\n }\n else {\n cb();\n }\n}\nexport function captureError(err) {\n if (config.useDeprecatedSynchronousErrorHandling && context) {\n context.errorThrown = true;\n context.error = err;\n }\n}\n//# sourceMappingURL=errorContext.js.map","import { isFunction } from './util/isFunction';\nimport { isSubscription, Subscription } from './Subscription';\nimport { config } from './config';\nimport { reportUnhandledError } from './util/reportUnhandledError';\nimport { noop } from './util/noop';\nimport { nextNotification, errorNotification, COMPLETE_NOTIFICATION } from './NotificationFactories';\nimport { timeoutProvider } from './scheduler/timeoutProvider';\nimport { captureError } from './util/errorContext';\nexport class Subscriber extends Subscription {\n constructor(destination) {\n super();\n this.isStopped = false;\n if (destination) {\n this.destination = destination;\n if (isSubscription(destination)) {\n destination.add(this);\n }\n }\n else {\n this.destination = EMPTY_OBSERVER;\n }\n }\n static create(next, error, complete) {\n return new SafeSubscriber(next, error, complete);\n }\n next(value) {\n if (this.isStopped) {\n handleStoppedNotification(nextNotification(value), this);\n }\n else {\n this._next(value);\n }\n }\n error(err) {\n if (this.isStopped) {\n handleStoppedNotification(errorNotification(err), this);\n }\n else {\n this.isStopped = true;\n this._error(err);\n }\n }\n complete() {\n if (this.isStopped) {\n handleStoppedNotification(COMPLETE_NOTIFICATION, this);\n }\n else {\n this.isStopped = true;\n this._complete();\n }\n }\n unsubscribe() {\n if (!this.closed) {\n this.isStopped = true;\n super.unsubscribe();\n this.destination = null;\n }\n }\n _next(value) {\n this.destination.next(value);\n }\n _error(err) {\n try {\n this.destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n _complete() {\n try {\n this.destination.complete();\n }\n finally {\n this.unsubscribe();\n }\n }\n}\nconst _bind = Function.prototype.bind;\nfunction bind(fn, thisArg) {\n return _bind.call(fn, thisArg);\n}\nclass ConsumerObserver {\n constructor(partialObserver) {\n this.partialObserver = partialObserver;\n }\n next(value) {\n const { partialObserver } = this;\n if (partialObserver.next) {\n try {\n partialObserver.next(value);\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n }\n error(err) {\n const { partialObserver } = this;\n if (partialObserver.error) {\n try {\n partialObserver.error(err);\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n else {\n handleUnhandledError(err);\n }\n }\n complete() {\n const { partialObserver } = this;\n if (partialObserver.complete) {\n try {\n partialObserver.complete();\n }\n catch (error) {\n handleUnhandledError(error);\n }\n }\n }\n}\nexport class SafeSubscriber extends Subscriber {\n constructor(observerOrNext, error, complete) {\n super();\n let partialObserver;\n if (isFunction(observerOrNext) || !observerOrNext) {\n partialObserver = {\n next: (observerOrNext !== null && observerOrNext !== void 0 ? observerOrNext : undefined),\n error: error !== null && error !== void 0 ? error : undefined,\n complete: complete !== null && complete !== void 0 ? complete : undefined,\n };\n }\n else {\n let context;\n if (this && config.useDeprecatedNextContext) {\n context = Object.create(observerOrNext);\n context.unsubscribe = () => this.unsubscribe();\n partialObserver = {\n next: observerOrNext.next && bind(observerOrNext.next, context),\n error: observerOrNext.error && bind(observerOrNext.error, context),\n complete: observerOrNext.complete && bind(observerOrNext.complete, context),\n };\n }\n else {\n partialObserver = observerOrNext;\n }\n }\n this.destination = new ConsumerObserver(partialObserver);\n }\n}\nfunction handleUnhandledError(error) {\n if (config.useDeprecatedSynchronousErrorHandling) {\n captureError(error);\n }\n else {\n reportUnhandledError(error);\n }\n}\nfunction defaultErrorHandler(err) {\n throw err;\n}\nfunction handleStoppedNotification(notification, subscriber) {\n const { onStoppedNotification } = config;\n onStoppedNotification && timeoutProvider.setTimeout(() => onStoppedNotification(notification, subscriber));\n}\nexport const EMPTY_OBSERVER = {\n closed: true,\n next: noop,\n error: defaultErrorHandler,\n complete: noop,\n};\n//# sourceMappingURL=Subscriber.js.map","export const observable = (() => (typeof Symbol === 'function' && Symbol.observable) || '@@observable')();\n//# sourceMappingURL=observable.js.map","export function identity(x) {\n return x;\n}\n//# sourceMappingURL=identity.js.map","import { identity } from './identity';\nexport function pipe(...fns) {\n return pipeFromArray(fns);\n}\nexport function pipeFromArray(fns) {\n if (fns.length === 0) {\n return identity;\n }\n if (fns.length === 1) {\n return fns[0];\n }\n return function piped(input) {\n return fns.reduce((prev, fn) => fn(prev), input);\n };\n}\n//# sourceMappingURL=pipe.js.map","import { SafeSubscriber, Subscriber } from './Subscriber';\nimport { isSubscription } from './Subscription';\nimport { observable as Symbol_observable } from './symbol/observable';\nimport { pipeFromArray } from './util/pipe';\nimport { config } from './config';\nimport { isFunction } from './util/isFunction';\nimport { errorContext } from './util/errorContext';\nexport class Observable {\n constructor(subscribe) {\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n lift(operator) {\n const observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n }\n subscribe(observerOrNext, error, complete) {\n const subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);\n errorContext(() => {\n const { operator, source } = this;\n subscriber.add(operator\n ?\n operator.call(subscriber, source)\n : source\n ?\n this._subscribe(subscriber)\n :\n this._trySubscribe(subscriber));\n });\n return subscriber;\n }\n _trySubscribe(sink) {\n try {\n return this._subscribe(sink);\n }\n catch (err) {\n sink.error(err);\n }\n }\n forEach(next, promiseCtor) {\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor((resolve, reject) => {\n const subscriber = new SafeSubscriber({\n next: (value) => {\n try {\n next(value);\n }\n catch (err) {\n reject(err);\n subscriber.unsubscribe();\n }\n },\n error: reject,\n complete: resolve,\n });\n this.subscribe(subscriber);\n });\n }\n _subscribe(subscriber) {\n var _a;\n return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber);\n }\n [Symbol_observable]() {\n return this;\n }\n pipe(...operations) {\n return pipeFromArray(operations)(this);\n }\n toPromise(promiseCtor) {\n promiseCtor = getPromiseCtor(promiseCtor);\n return new promiseCtor((resolve, reject) => {\n let value;\n this.subscribe((x) => (value = x), (err) => reject(err), () => resolve(value));\n });\n }\n}\nObservable.create = (subscribe) => {\n return new Observable(subscribe);\n};\nfunction getPromiseCtor(promiseCtor) {\n var _a;\n return (_a = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a !== void 0 ? _a : Promise;\n}\nfunction isObserver(value) {\n return value && isFunction(value.next) && isFunction(value.error) && isFunction(value.complete);\n}\nfunction isSubscriber(value) {\n return (value && value instanceof Subscriber) || (isObserver(value) && isSubscription(value));\n}\n//# sourceMappingURL=Observable.js.map","import { isFunction } from './isFunction';\nexport function hasLift(source) {\n return isFunction(source === null || source === void 0 ? void 0 : source.lift);\n}\nexport function operate(init) {\n return (source) => {\n if (hasLift(source)) {\n return source.lift(function (liftedSource) {\n try {\n return init(liftedSource, this);\n }\n catch (err) {\n this.error(err);\n }\n });\n }\n throw new TypeError('Unable to lift unknown Observable type');\n };\n}\n//# sourceMappingURL=lift.js.map","import { Subscriber } from '../Subscriber';\nexport function createOperatorSubscriber(destination, onNext, onComplete, onError, onFinalize) {\n return new OperatorSubscriber(destination, onNext, onComplete, onError, onFinalize);\n}\nexport class OperatorSubscriber extends Subscriber {\n constructor(destination, onNext, onComplete, onError, onFinalize, shouldUnsubscribe) {\n super(destination);\n this.onFinalize = onFinalize;\n this.shouldUnsubscribe = shouldUnsubscribe;\n this._next = onNext\n ? function (value) {\n try {\n onNext(value);\n }\n catch (err) {\n destination.error(err);\n }\n }\n : super._next;\n this._error = onError\n ? function (err) {\n try {\n onError(err);\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._error;\n this._complete = onComplete\n ? function () {\n try {\n onComplete();\n }\n catch (err) {\n destination.error(err);\n }\n finally {\n this.unsubscribe();\n }\n }\n : super._complete;\n }\n unsubscribe() {\n var _a;\n if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {\n const { closed } = this;\n super.unsubscribe();\n !closed && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));\n }\n }\n}\n//# sourceMappingURL=OperatorSubscriber.js.map","import { createErrorClass } from './createErrorClass';\nexport const ObjectUnsubscribedError = createErrorClass((_super) => function ObjectUnsubscribedErrorImpl() {\n _super(this);\n this.name = 'ObjectUnsubscribedError';\n this.message = 'object unsubscribed';\n});\n//# sourceMappingURL=ObjectUnsubscribedError.js.map","import { Observable } from './Observable';\nimport { Subscription, EMPTY_SUBSCRIPTION } from './Subscription';\nimport { ObjectUnsubscribedError } from './util/ObjectUnsubscribedError';\nimport { arrRemove } from './util/arrRemove';\nimport { errorContext } from './util/errorContext';\nexport class Subject extends Observable {\n constructor() {\n super();\n this.closed = false;\n this.currentObservers = null;\n this.observers = [];\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n lift(operator) {\n const subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n }\n _throwIfClosed() {\n if (this.closed) {\n throw new ObjectUnsubscribedError();\n }\n }\n next(value) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n if (!this.currentObservers) {\n this.currentObservers = Array.from(this.observers);\n }\n for (const observer of this.currentObservers) {\n observer.next(value);\n }\n }\n });\n }\n error(err) {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.hasError = this.isStopped = true;\n this.thrownError = err;\n const { observers } = this;\n while (observers.length) {\n observers.shift().error(err);\n }\n }\n });\n }\n complete() {\n errorContext(() => {\n this._throwIfClosed();\n if (!this.isStopped) {\n this.isStopped = true;\n const { observers } = this;\n while (observers.length) {\n observers.shift().complete();\n }\n }\n });\n }\n unsubscribe() {\n this.isStopped = this.closed = true;\n this.observers = this.currentObservers = null;\n }\n get observed() {\n var _a;\n return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;\n }\n _trySubscribe(subscriber) {\n this._throwIfClosed();\n return super._trySubscribe(subscriber);\n }\n _subscribe(subscriber) {\n this._throwIfClosed();\n this._checkFinalizedStatuses(subscriber);\n return this._innerSubscribe(subscriber);\n }\n _innerSubscribe(subscriber) {\n const { hasError, isStopped, observers } = this;\n if (hasError || isStopped) {\n return EMPTY_SUBSCRIPTION;\n }\n this.currentObservers = null;\n observers.push(subscriber);\n return new Subscription(() => {\n this.currentObservers = null;\n arrRemove(observers, subscriber);\n });\n }\n _checkFinalizedStatuses(subscriber) {\n const { hasError, thrownError, isStopped } = this;\n if (hasError) {\n subscriber.error(thrownError);\n }\n else if (isStopped) {\n subscriber.complete();\n }\n }\n asObservable() {\n const observable = new Observable();\n observable.source = this;\n return observable;\n }\n}\nSubject.create = (destination, source) => {\n return new AnonymousSubject(destination, source);\n};\nexport class AnonymousSubject extends Subject {\n constructor(destination, source) {\n super();\n this.destination = destination;\n this.source = source;\n }\n next(value) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);\n }\n error(err) {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);\n }\n complete() {\n var _a, _b;\n (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);\n }\n _subscribe(subscriber) {\n var _a, _b;\n return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;\n }\n}\n//# sourceMappingURL=Subject.js.map","export const dateTimestampProvider = {\n now() {\n return (dateTimestampProvider.delegate || Date).now();\n },\n delegate: undefined,\n};\n//# sourceMappingURL=dateTimestampProvider.js.map","import { Subscription } from '../Subscription';\nexport class Action extends Subscription {\n constructor(scheduler, work) {\n super();\n }\n schedule(state, delay = 0) {\n return this;\n }\n}\n//# sourceMappingURL=Action.js.map","export const intervalProvider = {\n setInterval(handler, timeout, ...args) {\n const { delegate } = intervalProvider;\n if (delegate === null || delegate === void 0 ? void 0 : delegate.setInterval) {\n return delegate.setInterval(handler, timeout, ...args);\n }\n return setInterval(handler, timeout, ...args);\n },\n clearInterval(handle) {\n const { delegate } = intervalProvider;\n return ((delegate === null || delegate === void 0 ? void 0 : delegate.clearInterval) || clearInterval)(handle);\n },\n delegate: undefined,\n};\n//# sourceMappingURL=intervalProvider.js.map","import { Action } from './Action';\nimport { intervalProvider } from './intervalProvider';\nimport { arrRemove } from '../util/arrRemove';\nexport class AsyncAction extends Action {\n constructor(scheduler, work) {\n super(scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n this.pending = false;\n }\n schedule(state, delay = 0) {\n var _a;\n if (this.closed) {\n return this;\n }\n this.state = state;\n const id = this.id;\n const scheduler = this.scheduler;\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, delay);\n }\n this.pending = true;\n this.delay = delay;\n this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay);\n return this;\n }\n requestAsyncId(scheduler, _id, delay = 0) {\n return intervalProvider.setInterval(scheduler.flush.bind(scheduler, this), delay);\n }\n recycleAsyncId(_scheduler, id, delay = 0) {\n if (delay != null && this.delay === delay && this.pending === false) {\n return id;\n }\n if (id != null) {\n intervalProvider.clearInterval(id);\n }\n return undefined;\n }\n execute(state, delay) {\n if (this.closed) {\n return new Error('executing a cancelled action');\n }\n this.pending = false;\n const error = this._execute(state, delay);\n if (error) {\n return error;\n }\n else if (this.pending === false && this.id != null) {\n this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n }\n }\n _execute(state, _delay) {\n let errored = false;\n let errorValue;\n try {\n this.work(state);\n }\n catch (e) {\n errored = true;\n errorValue = e ? e : new Error('Scheduled action threw falsy error');\n }\n if (errored) {\n this.unsubscribe();\n return errorValue;\n }\n }\n unsubscribe() {\n if (!this.closed) {\n const { id, scheduler } = this;\n const { actions } = scheduler;\n this.work = this.state = this.scheduler = null;\n this.pending = false;\n arrRemove(actions, this);\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, null);\n }\n this.delay = null;\n super.unsubscribe();\n }\n }\n}\n//# sourceMappingURL=AsyncAction.js.map","import { dateTimestampProvider } from './scheduler/dateTimestampProvider';\nexport class Scheduler {\n constructor(schedulerActionCtor, now = Scheduler.now) {\n this.schedulerActionCtor = schedulerActionCtor;\n this.now = now;\n }\n schedule(work, delay = 0, state) {\n return new this.schedulerActionCtor(this, work).schedule(state, delay);\n }\n}\nScheduler.now = dateTimestampProvider.now;\n//# sourceMappingURL=Scheduler.js.map","import { Scheduler } from '../Scheduler';\nexport class AsyncScheduler extends Scheduler {\n constructor(SchedulerAction, now = Scheduler.now) {\n super(SchedulerAction, now);\n this.actions = [];\n this._active = false;\n }\n flush(action) {\n const { actions } = this;\n if (this._active) {\n actions.push(action);\n return;\n }\n let error;\n this._active = true;\n do {\n if ((error = action.execute(action.state, action.delay))) {\n break;\n }\n } while ((action = actions.shift()));\n this._active = false;\n if (error) {\n while ((action = actions.shift())) {\n action.unsubscribe();\n }\n throw error;\n }\n }\n}\n//# sourceMappingURL=AsyncScheduler.js.map","import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\nexport const asyncScheduler = new AsyncScheduler(AsyncAction);\nexport const async = asyncScheduler;\n//# sourceMappingURL=async.js.map","import { asyncScheduler } from '../scheduler/async';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function debounceTime(dueTime, scheduler = asyncScheduler) {\n return operate((source, subscriber) => {\n let activeTask = null;\n let lastValue = null;\n let lastTime = null;\n const emit = () => {\n if (activeTask) {\n activeTask.unsubscribe();\n activeTask = null;\n const value = lastValue;\n lastValue = null;\n subscriber.next(value);\n }\n };\n function emitWhenIdle() {\n const targetTime = lastTime + dueTime;\n const now = scheduler.now();\n if (now < targetTime) {\n activeTask = this.schedule(undefined, targetTime - now);\n subscriber.add(activeTask);\n return;\n }\n emit();\n }\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n lastValue = value;\n lastTime = scheduler.now();\n if (!activeTask) {\n activeTask = scheduler.schedule(emitWhenIdle, dueTime);\n subscriber.add(activeTask);\n }\n }, () => {\n emit();\n subscriber.complete();\n }, undefined, () => {\n lastValue = activeTask = null;\n }));\n });\n}\n//# sourceMappingURL=debounceTime.js.map","import { identity } from '../util/identity';\nimport { operate } from '../util/lift';\nimport { createOperatorSubscriber } from './OperatorSubscriber';\nexport function distinctUntilChanged(comparator, keySelector = identity) {\n comparator = comparator !== null && comparator !== void 0 ? comparator : defaultCompare;\n return operate((source, subscriber) => {\n let previousKey;\n let first = true;\n source.subscribe(createOperatorSubscriber(subscriber, (value) => {\n const currentKey = keySelector(value);\n if (first || !comparator(previousKey, currentKey)) {\n first = false;\n previousKey = currentKey;\n subscriber.next(value);\n }\n }));\n });\n}\nfunction defaultCompare(a, b) {\n return a === b;\n}\n//# sourceMappingURL=distinctUntilChanged.js.map",":host {\n\t@apply flex flex-col gap-4;\n\t@apply w-full;\n\t@apply p-4 desktop-xs:p-6;\n\n\t@screen desktop-xs {\n\t\t@apply grid grid-cols-2;\n\t}\n\n\t> div.left-side {\n\t\t@apply col-start-1 justify-self-start;\n\t}\n\n\t> div.right-side {\n\t\t@apply col-start-2;\n\t}\n}\n","import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { debounceTime, distinctUntilChanged, Subject } from 'rxjs';\nimport { IconVariant } from '../../../components';\nimport { QuickFilter } from '../../../types/table';\nimport {\n\tformatTranslation,\n\tgetLocaleComponentStrings,\n} from '../../../utils/localization';\n\nexport type templateFunc = () => string;\nexport type buttonTemplateFunc = (amount: number) => string;\n\n@Component({\n\ttag: 'p-table-header',\n\tstyleUrl: 'table-header.component.scss',\n\tshadow: true,\n})\nexport class TableHeader {\n\tprivate _defaultFilterButtonTemplate: templateFunc = () =>\n\t\tformatTranslation(this._locales.filter);\n\tprivate _defaultActionButtonTemplate: buttonTemplateFunc = (amount: number) =>\n\t\tthis.actionText\n\t\t\t? this.actionText\n\t\t\t: formatTranslation(\n\t\t\t\t\tamount === 0\n\t\t\t\t\t\t? this._locales.edit\n\t\t\t\t\t\t: amount === 1\n\t\t\t\t\t\t? this._locales.edit_single\n\t\t\t\t\t\t: this._locales.edit_plural,\n\t\t\t\t\t{ amount }\n\t\t\t );\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 we want to show loading state\n\t */\n\t@Prop() loading: boolean = false;\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 amount of items that are selected\n\t */\n\t@Prop() itemsSelectedAmount: number = 0;\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 * Wether to show the filter button on desktop\n\t */\n\t@Prop() enableFilterDesktop: 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\t\tthis._defaultFilterButtonTemplate;\n\n\t/**\n\t * Wether to show the action button\n\t */\n\t@Prop() enableAction: boolean = true;\n\n\t/**\n\t * Wether the action button is loading\n\t */\n\t@Prop() actionLoading: boolean = false;\n\n\t/**\n\t * The action button icon\n\t */\n\t@Prop() actionIcon: IconVariant = 'pencil';\n\n\t/**\n\t * The action button text if changed\n\t */\n\t@Prop() actionText: string;\n\n\t/**\n\t * Wether to enable the action button\n\t */\n\t@Prop({ mutable: true }) canUseAction: boolean = false;\n\n\t/**\n\t * The template for the action button text\n\t */\n\t@Prop() actionButtonTemplate: buttonTemplateFunc =\n\t\tthis._defaultActionButtonTemplate;\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/**\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\tprivate _queryObserver = new Subject<string>();\n\n\tcomponentWillLoad() {\n\t\tthis._setLocales();\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis._queryObserver\n\t\t\t.pipe(debounceTime(300), distinctUntilChanged())\n\t\t\t.subscribe(value => this.queryChange.emit(value));\n\t}\n\n\trender() {\n\t\tconst activeQuickFilter = this.quickFilters.find(\n\t\t\tf => f.identifier === this.activeQuickFilterIdentifier\n\t\t);\n\t\tconst mobileTotal =\n\t\t\t(this.selectedFiltersAmount || 0) + (activeQuickFilter?.default ? 0 : 1);\n\n\t\tconst hasCustomFilterSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"custom-filter\"]'\n\t\t);\n\n\t\tconst hasCustomActionsSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"custom-actions\"]'\n\t\t);\n\n\t\treturn (\n\t\t\t<Host class='p-table-header'>\n\t\t\t\t{this.loading && (\n\t\t\t\t\t<p-loader\n\t\t\t\t\t\tvariant='ghost'\n\t\t\t\t\t\tclass='hidden h-8 w-3/4 rounded desktop-xs:flex'\n\t\t\t\t\t></p-loader>\n\t\t\t\t)}\n\n\t\t\t\t{!this.loading &&\n\t\t\t\t\t(hasCustomFilterSlot || this.quickFilters.length > 0) && (\n\t\t\t\t\t\t<div class='left-side flex flex-col justify-start gap-4 desktop-xs:flex-row'>\n\t\t\t\t\t\t\t{hasCustomFilterSlot && <slot name='custom-filter' />}\n\n\t\t\t\t\t\t\t{this.quickFilters.length > 0 && (\n\t\t\t\t\t\t\t\t<p-segment-container class='hidden desktop-xs:flex'>\n\t\t\t\t\t\t\t\t\t{this.quickFilters.map(item => (\n\t\t\t\t\t\t\t\t\t\t<p-segment-item\n\t\t\t\t\t\t\t\t\t\t\tactive={\n\t\t\t\t\t\t\t\t\t\t\t\titem.identifier === this.activeQuickFilterIdentifier\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tonClick={() => this.quickFilter.emit(item)}\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t{typeof item.text === 'string' ? item.text : item.text()}{' '}\n\t\t\t\t\t\t\t\t\t\t\t{item?.count >= 0 ? `(${item.count})` : ''}\n\t\t\t\t\t\t\t\t\t\t</p-segment-item>\n\t\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t\t</p-segment-container>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\n\t\t\t\t<div class='right-side flex flex-col justify-end gap-4 desktop-xs:flex-row'>\n\t\t\t\t\t{this.enableSearch && (\n\t\t\t\t\t\t<p-field\n\t\t\t\t\t\t\ticon='search'\n\t\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\t\tclass='desktop-xs:w-48'\n\t\t\t\t\t\t\tplaceholder='Zoeken...'\n\t\t\t\t\t\t\tvalue={this.query}\n\t\t\t\t\t\t\tonValueChange={ev => this._queryObserver.next(ev.detail)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.enableFilter && (\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\ticon='filter'\n\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\t\tclass={`w-full ${\n\t\t\t\t\t\t\t\tthis.enableFilterDesktop\n\t\t\t\t\t\t\t\t\t? 'desktop-xs:w-auto'\n\t\t\t\t\t\t\t\t\t: 'desktop-xs:hidden'\n\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t\tonClick={() => this.filter.emit()}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{this.filterButtonTemplate\n\t\t\t\t\t\t\t\t? this.filterButtonTemplate()\n\t\t\t\t\t\t\t\t: this._defaultFilterButtonTemplate()}\n\t\t\t\t\t\t\t{this.selectedFiltersAmount &&\n\t\t\t\t\t\t\t\tthis._getLabel(this.selectedFiltersAmount)}\n\t\t\t\t\t\t\t{mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile')}\n\t\t\t\t\t\t</p-button>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.enableAction && this._buttonTemplate()}\n\n\t\t\t\t\t{hasCustomActionsSlot && <slot name='custom-actions' />}\n\t\t\t\t</div>\n\n\t\t\t\t{this.enableAction && this.canUseAction && (\n\t\t\t\t\t<div class='fixed bottom-0 left-0 block w-full border border-solid border-transparent border-t-mystic-dark bg-white p-4 desktop-xs:hidden'>\n\t\t\t\t\t\t{this._buttonTemplate(true)}\n\t\t\t\t\t</div>\n\t\t\t\t)}\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\tprivate _buttonTemplate(mobile = false) {\n\t\treturn (\n\t\t\t<p-button\n\t\t\t\tclass={mobile ? 'w-full' : 'hidden desktop-xs:flex'}\n\t\t\t\ticon={this.actionIcon}\n\t\t\t\tsize='sm'\n\t\t\t\tdisabled={!this.canUseAction}\n\t\t\t\tonClick={() => this.action.emit()}\n\t\t\t\tloading={this.actionLoading}\n\t\t\t>\n\t\t\t\t{this.actionButtonTemplate\n\t\t\t\t\t? this.actionButtonTemplate(mobile ? this.itemsSelectedAmount : 0)\n\t\t\t\t\t: this._defaultActionButtonTemplate(\n\t\t\t\t\t\t\tmobile ? this.itemsSelectedAmount : 0\n\t\t\t\t\t )}\n\t\t\t</p-button>\n\t\t);\n\t}\n\n\tprivate _getLabel(amount, variant: 'mobile' | 'default' = 'default') {\n\t\treturn (\n\t\t\t<p-badge\n\t\t\t\tclass={`ml-1 ${\n\t\t\t\t\tvariant === 'default'\n\t\t\t\t\t\t? 'hidden desktop-xs:flex'\n\t\t\t\t\t\t: 'flex desktop-xs:hidden'\n\t\t\t\t}`}\n\t\t\t>\n\t\t\t\t{amount}\n\t\t\t</p-badge>\n\t\t);\n\t}\n}\n",":host {\n\t@apply flex w-full flex-col;\n\t@apply text-sm text-storm-medium;\n\t@apply px-6;\n\n\t.content {\n\t\t@apply relative flex min-h-[3.875rem] w-full flex-nowrap items-center justify-between py-2 tablet:h-18 tablet:py-6;\n\t}\n}\n\n:host(.variant-header) {\n\t@apply bg-mystic-light;\n\t@apply text-xs font-semibold uppercase text-storm-vague;\n\t@apply border-x-0 border-y border-solid border-y-mystic-dark #{!important};\n\n\t.content {\n\t\t@apply min-h-0 py-2 tablet:h-auto;\n\t}\n}\n\n:host(.enable-hover:hover) {\n\t@apply cursor-pointer bg-indigo-light;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-table-row',\n\tstyleUrl: 'table-row.component.scss',\n\tshadow: true,\n})\nexport class TableRow {\n\t/**\n\t * Variant of the header\n\t */\n\t@Prop() variant: 'default' | 'header' = 'default';\n\n\t/**\n\t * Enable hover\n\t */\n\t@Prop() enableHover: boolean = true;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-table-row variant-${this.variant} ${\n\t\t\t\t\tthis.enableHover &&\n\t\t\t\t\tthis.variant === 'default' &&\n\t\t\t\t\t'enable-hover'\n\t\t\t\t} group`}\n\t\t\t>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\n\t\t\t\t{this.variant === 'default' && <p-divider class=\"m-0\" />}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":"4qyNAaA,MAAAA,EAAe,CACX,cAAeC,EACf,qBAAsBC,EACtB,uBAAwBC,EACxB,kBAAmBC,EACnBC,cACAC,WACAC,YACAC,YACA,aAAcC,EACd,WAAYC,EACZ,gBAAiBC,EACjB,SAAUC,GCzBd,MAAMC,EAAoC,iuCAC1C,MAAAC,EAAeD,E,MCMFE,EAAqB,M,0CAIF,K,CAE/B,MAAAC,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAM,6BACVC,KAAKC,YACLL,EAAA,QAAMM,KAAK,uBAEXN,EAAA,a,aCnBL,MAAMO,EAA+B,oxBACrC,MAAAC,EAAeD,E,MCMFE,EAAgB,M,oCAIc,K,cAKG,K,CAE7C,MAAAV,G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AAA,aAAAE,IAAA,2CAAWC,MAAM,Q","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["defaultSize","defaultSizeOptions"],"sources":["src/components/molecules/page-size-select/constants.tsx"],"sourcesContent":["export const defaultSize = 12;\nexport const defaultSizeOptions = [12, 24, 68, 136];\n"],"mappings":"MAAaA,EAAc,G,MACdC,EAAqB,CAAC,GAAI,GAAI,GAAI,Y","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as t,h as r,H as a}from"./p-45ded510.js";import{c as o}from"./p-8a5b8196.js";import"./p-8a1a6e56.js";const e="*{box-sizing:border-box}.static{position:static!important}.z-10{z-index:10!important}.flex{display:flex!important}.max-h-\\[11\\.5rem\\]{max-height:11.5rem!important}.max-h-\\[13\\.875rem\\]{max-height:13.875rem!important}.max-h-\\[20rem\\]{max-height:20rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.max-w-\\[13\\.875rem\\]{max-width:13.875rem!important}.flex-col{flex-direction:column!important}.gap-\\[1px\\]{gap:1px!important}.overflow-y-auto{overflow-y:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-1{padding:.25rem!important}.drop-shadow-2{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.04)) drop-shadow(0 2px 2px rgba(0,2,2,.04)) drop-shadow(0 4px 4px rgba(0,2,2,.04))!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}";const i=e;const l=o(["p-dropdown-menu-container","p-1","bg-white rounded-lg z-10 drop-shadow-2","border border-black-teal-100"],{variants:{fullWidth:{false:null,true:"w-full"},allowOverflow:{false:"overflow-y-auto overflow-x-hidden",true:null},scrollable:{none:null,default:"max-h-[11.5rem]",large:"max-h-[13.875rem]",xlarge:"max-h-[20rem]"},maxWidth:{false:null,true:"w-auto max-w-[13.875rem]"}}});const d=class{constructor(r){t(this,r);this.maxWidth=true;this.class=undefined;this.fullWidth=true;this.allowOverflow=false;this.scrollable=false}render(){const t=this.scrollable===false?"none":this.scrollable===true?"default":this.scrollable;return r(a,{key:"d20e54bf6ae67b8c235bd6db39226c90532e43bc",class:l({class:this.class,fullWidth:this.fullWidth,allowOverflow:this.allowOverflow,scrollable:t,maxWidth:this.maxWidth})},r("div",{key:"199e355596adf1c91c977490b0130e0dc5399bed",class:"flex w-full flex-col gap-[1px]"},r("slot",{key:"44d455cb277b45795ec17f79c5dfbba7bf65cc4c"})))}};d.style=i;export{d as p_dropdown_menu_container};
2
- //# sourceMappingURL=p-df228603.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["dropdownMenuContainerComponentCss","PDropdownMenuContainerStyle0","dropdownMenuContainer","cva","variants","fullWidth","false","true","allowOverflow","scrollable","none","default","large","xlarge","maxWidth","DropdownMenuContainer","render","this","h","Host","key","class"],"sources":["src/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css?tag=p-dropdown-menu-container","src/components/atoms/dropdown-menu-container/dropdown-menu-container.component.tsx"],"sourcesContent":[null,"import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst dropdownMenuContainer = cva(\n\t[\n\t\t'p-dropdown-menu-container',\n\t\t'p-1',\n\t\t'bg-white rounded-lg z-10 drop-shadow-2',\n\t\t'border border-black-teal-100',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tfullWidth: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'w-full',\n\t\t\t},\n\t\t\tallowOverflow: {\n\t\t\t\tfalse: 'overflow-y-auto overflow-x-hidden',\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tscrollable: {\n\t\t\t\tnone: null,\n\t\t\t\tdefault: 'max-h-[11.5rem]',\n\t\t\t\tlarge: 'max-h-[13.875rem]',\n\t\t\t\txlarge: 'max-h-[20rem]',\n\t\t\t},\n\t\t\tmaxWidth: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'w-auto max-w-[13.875rem]',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-dropdown-menu-container',\n\tstyleUrl: 'dropdown-menu-container.component.css',\n})\nexport class DropdownMenuContainer {\n\t/**\n\t * Wether the container applies it's max width\n\t */\n\t@Prop() maxWidth: boolean = true;\n\n\t/**\n\t * The class of the container passed by parent\n\t */\n\t@Prop() class: string;\n\n\t/**\n\t * Wether the container should all available space\n\t */\n\t@Prop() fullWidth: boolean = true;\n\n\t/**\n\t * Wether to allow overflow\n\t */\n\t@Prop() allowOverflow: boolean = false;\n\n\t/**\n\t * Wether the container should be scrollable when the threshold is met.\n\t */\n\t@Prop() scrollable: boolean | 'default' | 'large' | 'xlarge' = false;\n\n\trender() {\n\t\tconst scrollable =\n\t\t\tthis.scrollable === false\n\t\t\t\t? 'none'\n\t\t\t\t: this.scrollable === true\n\t\t\t\t? 'default'\n\t\t\t\t: this.scrollable;\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={dropdownMenuContainer({\n\t\t\t\t\tclass: this.class,\n\t\t\t\t\tfullWidth: this.fullWidth,\n\t\t\t\t\tallowOverflow: this.allowOverflow,\n\t\t\t\t\tscrollable,\n\t\t\t\t\tmaxWidth: this.maxWidth,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<div class='flex w-full flex-col gap-[1px]'>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":"8GAAA,MAAMA,EAAoC,6sCAC1C,MAAAC,EAAeD,ECEf,MAAME,EAAwBC,EAC7B,CACC,4BACA,MACA,yCACA,gCAED,CACCC,SAAU,CACTC,UAAW,CACVC,MAAO,KACPC,KAAM,UAEPC,cAAe,CACdF,MAAO,oCACPC,KAAM,MAEPE,WAAY,CACXC,KAAM,KACNC,QAAS,kBACTC,MAAO,oBACPC,OAAQ,iBAETC,SAAU,CACTR,MAAO,KACPC,KAAM,+B,MAUGQ,EAAqB,M,uCAIL,K,oCAUC,K,mBAKI,M,gBAK8B,K,CAE/D,MAAAC,GACC,MAAMP,EACLQ,KAAKR,aAAe,MACjB,OACAQ,KAAKR,aAAe,KACpB,UACAQ,KAAKR,WAET,OACCS,EAACC,EAAI,CAAAC,IAAA,2CACJC,MAAOnB,EAAsB,CAC5BmB,MAAOJ,KAAKI,MACZhB,UAAWY,KAAKZ,UAChBG,cAAeS,KAAKT,cACpBC,aACAK,SAAUG,KAAKH,YAGhBI,EAAA,OAAAE,IAAA,2CAAKC,MAAM,kCACVH,EAAA,QAAAE,IAAA,8C","ignoreList":[]}
@@ -1,2 +0,0 @@
1
- import{r as e,h as t,H as a}from"./p-45ded510.js";const i="*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.flex-col{flex-direction:column!important}.gap-2{gap:.5rem!important}";const o=i;const s=class{constructor(t){e(this,t);this.header=undefined}render(){return t(a,{key:"d08d6483e06b2f42650d3b866d9b80b3ecf493fe",class:"p-navigation-section flex flex-col gap-2"},this.header?.length>0&&t("p-navigation-title",{key:"36c6cad94d0d3372fd81448f29011ee6eb880447"},this.header),t("div",{key:"0592eab02c6dfbaea10457f7c148b00de228f1e5",class:"flex flex-col"},t("slot",{key:"e1f2e8847c6b7cdb10696ac9a2a5409a00a94018"})))}};s.style=o;export{s as p_navigation_section};
2
- //# sourceMappingURL=p-e078f787.entry.js.map
@@ -1,2 +0,0 @@
1
- import{r as t,c as e,g as i,h as r,H as a,F as s}from"./p-45ded510.js";import{c as o}from"./p-8a5b8196.js";import{f as n,g as l}from"./p-f26a3049.js";import"./p-8a1a6e56.js";const c="*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.h-4{height:1rem!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.h-full{height:100%!important}.w-inherit{width:inherit!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}.flex-shrink-0{flex-shrink:0!important}.cursor-not-allowed{cursor:not-allowed!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-0{border-width:0!important}.border-solid{border-style:solid!important}.border-none{border-style:none!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.border-negative-red{--tw-border-opacity:1!important;border-color:rgb(230 30 30/var(--tw-border-opacity,1))!important}.border-supportive-lilac-800{--tw-border-opacity:1!important;border-color:rgb(189 140 255/var(--tw-border-opacity,1))!important}.bg-transparent{background-color:transparent!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.bg-white,.bg-white-600{--tw-bg-opacity:1!important}.bg-white-600{background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.text-black-teal-100{--tw-text-opacity:1!important;color:rgb(205 212 211/var(--tw-text-opacity,1))!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.text-black-teal-500{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.text-negative-red{--tw-text-opacity:1!important;color:rgb(230 30 30/var(--tw-text-opacity,1))!important}.text-negative-red-800{--tw-text-opacity:1!important;color:rgb(141 16 16/var(--tw-text-opacity,1))!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.ring-negative-red-50{--tw-ring-opacity:1!important;--tw-ring-color:rgb(253 237 237/var(--tw-ring-opacity,1))!important}.ring-supportive-lilac-100{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}.selection\\:bg-negative-red-50 ::selection{--tw-bg-opacity:1!important;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))!important}.selection\\:bg-supportive-lilac ::selection{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.selection\\:bg-negative-red-50::selection{--tw-bg-opacity:1!important;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))!important}.selection\\:bg-supportive-lilac::selection{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.placeholder\\:text-sm::placeholder{font-size:.875rem!important;line-height:1.25rem!important}.placeholder\\:text-black-teal-200::placeholder{--tw-text-opacity:1!important;color:rgb(154 170 167/var(--tw-text-opacity,1))!important}.focus\\:outline-none:focus{outline:2px solid transparent!important;outline-offset:2px!important}";const d=c;const h=o(["flex gap-2","w-inherit","border-solid rounded-lg"],{variants:{variant:{read:"border-0 items-center",write:"border px-2"},size:{sm:null,base:null},disabled:{false:"bg-white",true:"bg-white-600 cursor-not-allowed"},focused:{false:null,true:null},error:{false:null,true:null}},compoundVariants:[{size:"sm",variant:"write",class:"h-6"},{size:"base",variant:"write",class:"h-8"},{size:"sm",variant:"read",class:"h-4"},{size:"base",variant:"read",class:"h-6"},{focused:false,error:false,class:"border-black-teal-100"},{disabled:false,focused:true,error:false,class:"border-supportive-lilac-800 ring ring-supportive-lilac-100 selection:bg-supportive-lilac"},{disabled:false,error:true,class:"border-negative-red"},{disabled:false,focused:true,error:true,class:"ring ring-negative-red-50 selection:bg-negative-red-50"}]});const p=o("text-sm placeholder:text-sm placeholder:text-black-teal-200 text-black-teal border-none outline-none focus:outline-none bg-transparent flex-1 min-w-0 h-full",{variants:{disabled:{false:null,true:"cursor-not-allowed"}}});const f=o(["flex flex-shrink-0 justify-center items-center text-center"],{variants:{disabled:{false:null,true:"text-black-teal-100"},focused:{false:null,true:null},error:{false:null,true:null},isText:{false:null,true:"text-sm"}},compoundVariants:[{disabled:false,focused:false,error:false,class:"text-black-teal-300"},{disabled:false,focused:true,error:false,class:"text-black-teal-500"},{disabled:false,focused:false,error:true,class:"text-negative-red"},{disabled:false,focused:true,error:true,class:"text-negative-red-800"}]});const b=class{constructor(i){t(this,i);this.valueChange=e(this,"valueChange",7);this.inputRefChange=e(this,"inputRefChange",7);this.variant="write";this.size="base";this.type="text";this.properties={};this.prefix=undefined;this.suffix=undefined;this.icon=undefined;this.iconFlip=undefined;this.iconRotate=undefined;this.iconPosition="start";this.value=undefined;this.label=undefined;this.placeholder=undefined;this.helper=undefined;this.required=true;this.autofocus=false;this.error=undefined;this.errorPlacement=undefined;this.disabled=false;this.focused=false;this.forceShowTooltip=false;this.selectAllOnFocus=true;this.focusMethod="focus";this.optionalTemplate=undefined;this._focused=false}valueChange;inputRefChange;get _el(){return i(this)}_inputRef;componentDidLoad(){this._checkAutoFocus()}render(){const{prefix:t,suffix:e,hasHeaderSlot:i,hasLabelSlot:s,hasHelperSlot:o,hasErrorSlot:n,hasValueSlot:l}=this._getSlotInfo();return r(a,{key:"1a79a5c8f8247833586cf9e8e663b5c6fe6a2bd9",class:"p-field"},r("p-field-container",{key:"10b84cef30d39755c90812095158541c5d653002",forceShowTooltip:this.forceShowTooltip||this._focused,label:this.label,helper:this.helper,error:this.error,required:this.required,variant:this.variant},s&&r("slot",{key:"bffa3ae2c58bb688956bfe65652fd578968227f4",name:"label",slot:"label"}),i&&r("slot",{key:"1e4c706e8166014605a494c975bd16c502ff79cf",name:"header",slot:"header"}),o&&r("slot",{key:"298572eb4da550e87443aecc0d68842eef9e9f98",name:"helper",slot:"helper"}),n&&r("slot",{key:"4a9f6b0a99b88cffc4c0d84e31d880a3d07776b2",name:"error",slot:"error"}),r("div",{key:"cc5d1bff2b66717facdf1df95e11bc4c16e401c2",class:h({error:!!this.error?.length,disabled:this.disabled,focused:this.focused||this._focused,size:this.size,variant:this.variant}),slot:"content"},(t||this.icon&&this.iconPosition==="start")&&r("div",{key:"9a559c208e22f1c512121a81648777f5496375c9",class:f({error:!!this.error?.length,disabled:this.disabled,focused:this.focused||this._focused,isText:typeof e==="string"}),onClick:()=>this._focusInput()},this.icon&&this.iconPosition==="start"?r("p-icon",{class:"flex",variant:this.icon,rotate:this.iconRotate,flip:this.iconFlip}):t),this._getContent(l),(e||this.icon&&this.iconPosition==="end")&&r("div",{key:"6ae960c4a1fe98dd99d83af0035992e3aedcf86f",class:f({error:!!this.error?.length,disabled:this.disabled,focused:this.focused||this._focused,isText:typeof e==="string"}),onClick:()=>this._focusInput()},this.icon&&this.iconPosition==="end"?r("p-icon",{class:"flex",variant:this.icon,rotate:this.iconRotate,flip:this.iconFlip}):e))))}handleFocusIn(){if(this.disabled){return}this._focused=true;this._selectAll()}handleFocusOut(){if(this.disabled){return}this._focused=false}_getSlotInfo(){const t=!!this._el.querySelector(':scope > [slot="helper"]');const e=!!this._el.querySelector(':scope > [slot="label"]');const i=!!this._el.querySelector(':scope > [slot="prefix"]');const a=!!this._el.querySelector(':scope > [slot="suffix"]');const s=!!this._el.querySelector(':scope > [slot="header"]');const o=!!this._el.querySelector(':scope > [slot="error"]');const n=!!this._el.querySelector(':scope > [slot="value"]');const l=i?r("slot",{name:"prefix"}):this.prefix;const c=a?r("slot",{name:"suffix"}):this.suffix;const d=this.error&&typeof this.error==="string"&&this.error!=="true";return{hasHelperSlot:t,hasLabelSlot:e,hasPrefixSlot:i,hasSuffixSlot:a,hasHeaderSlot:s,hasErrorSlot:o,hasValueSlot:n,prefix:l,suffix:c,errorAndErrorIsNotBoolean:d}}_getContent(t=false){if(this.variant==="read"){return r("div",{class:"text-sm"},t?r("slot",{name:"value"}):!!this.value&&this.value.length>0?this.value:"—")}if(this.type==="slot"){return r("slot",{name:"input"})}const e={class:p({disabled:this.disabled}),value:this.value,placeholder:this.placeholder,disabled:this.disabled,onInput:t=>this._valueChange(t)};let i=this.properties??{};if(typeof i==="string"){i=JSON.parse(this.properties)}if(this.type==="textarea"){r("textarea",{ref:t=>this._setInputRef(t),...e,...i})}return r("input",{type:this.type,ref:t=>this._setInputRef(t),...e,...i})}_setInputRef(t){this._inputRef=t;this.inputRefChange.emit(t)}_focusInput(){if(this._inputRef){this._inputRef.focus();return}const t=this._el.querySelector(':scope > [slot="input"]');t[this.focusMethod]()}_selectAll(){if(!this._inputRef||!this.selectAllOnFocus){return}this._inputRef.select()}_valueChange(t){const e=t.target.value;this.value=e;this.valueChange.emit(e)}_checkAutoFocus(){if(!this.autofocus){return}if(!this._inputRef){setTimeout((()=>this._checkAutoFocus()),100);return}this._focusInput()}};b.style=d;const u="*{box-sizing:border-box}.static{position:static!important}.ml-2{margin-left:.5rem!important}.flex{display:flex!important}.w-full{width:100%!important}.w-inherit{width:inherit!important}.flex-col{flex-direction:column!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.gap-1{gap:.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.text-black-teal-200{--tw-text-opacity:1!important;color:rgb(154 170 167/var(--tw-text-opacity,1))!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}";const m=u;const g=class{constructor(i){t(this,i);this.focus=e(this,"focus",7);this.label=undefined;this.variant=undefined;this.helper=undefined;this.required=undefined;this.error=undefined;this.errorPlacement=undefined;this.forceShowTooltip=false;this.optionalTemplate=this._defaultOptionalTemplate;this._locales={}}_defaultOptionalTemplate=()=>n(this._locales.optional);get _el(){return i(this)}focus;componentWillLoad(){this._setLocales()}render(){const{hasHeaderSlot:t,hasErrorSlot:e,helper:i,label:o,errorAndErrorIsNotBoolean:n}=this._getSlotInfo();const l=r("slot",{key:"a7e3919d645cc21fa538340b0c9ea7a98e66ca90",name:"content",slot:"trigger"});return r(a,{key:"44a79d2058aafb4d9bf89f09cb3e7a1a708d99f9",class:"p-field-container"},r("div",{key:"47af2893a5f27a1a905c846a016c183756d026f8",class:"flex w-inherit flex-col gap-1"},r("div",{key:"cd64bc812c19e11d35ea4eb1756f9885a1f2a148",class:"flex items-end justify-between gap-1"},o&&r("div",{key:"962aecba76c4ba9326ed992d6ad39c1efbdab8ab",class:"text-xs font-medium text-black-teal-300",onClick:()=>this.focus.emit()},o),(!this.required||i||t)&&r("div",{key:"d0cdd8810de8098eaca90d2aeddd1f01fbcd0faf",class:"flex items-center gap-1"},!this.required&&this.variant==="write"&&r("span",{key:"e83d37fcb0050bad328d0aa2d6890c1226fe17fb",class:"text-xs font-medium text-black-teal-200"},this.optionalTemplate()),(i||t)&&r(s,{key:"c156ee1c951fec9dbe602cf317ff7591a6bce9bf"},t&&r("slot",{key:"e568644b05673354c9059042b0ba40f137d1709c",name:"header"}),i&&r("p-helper",{key:"7dcbdd61deb2eba74abf8f57b245b011fbf9066b",class:`flex ${t?"ml-2":""}`,placement:"top-end"},i)))),r("p-tooltip",{key:"41588daf8a794d9d16d32bcd841f5f4cbe64349a",class:"w-full",variant:"error",content:this.error,show:n&&this.forceShowTooltip,enableUserInput:false,placement:this.errorPlacement},e&&r("slot",{key:"a61dd91094db6ac2b016ee79320cffd887976e12",name:"error",slot:"content"}),l)))}async _setLocales(){this._locales=await l(this._el)}_getSlotInfo(){const t=!!this._el.querySelector(':scope > [slot="helper"]');const e=!!this._el.querySelector(':scope > [slot="label"]');const i=!!this._el.querySelector(':scope > [slot="header"]');const a=!!this._el.querySelector(':scope > [slot="error"]');const s=t?r("slot",{name:"helper"}):this.helper;const o=e?r("slot",{name:"label"}):this.label;const n=a||this.error&&typeof this.error==="string"&&this.error!=="true";return{hasHelperSlot:t,hasLabelSlot:e,hasHeaderSlot:i,hasErrorSlot:a,helper:s,label:o,errorAndErrorIsNotBoolean:n}}};g.style=m;export{b as p_field,g as p_field_container};
2
- //# sourceMappingURL=p-e77d5ca1.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["fieldComponentCss","PFieldStyle0","field","cva","variants","variant","read","write","size","sm","base","disabled","false","true","focused","error","compoundVariants","class","input","prefixAndSuffix","isText","Field","valueChange","inputRefChange","_inputRef","componentDidLoad","this","_checkAutoFocus","render","prefix","suffix","hasHeaderSlot","hasLabelSlot","hasHelperSlot","hasErrorSlot","hasValueSlot","_getSlotInfo","h","Host","key","forceShowTooltip","_focused","label","helper","required","name","slot","length","icon","iconPosition","onClick","_focusInput","rotate","iconRotate","flip","iconFlip","_getContent","handleFocusIn","_selectAll","handleFocusOut","_el","querySelector","hasPrefixSlot","hasSuffixSlot","errorAndErrorIsNotBoolean","value","type","props","placeholder","onInput","ev","_valueChange","properties","JSON","parse","ref","_setInputRef","emit","focus","focusMethod","selectAllOnFocus","select","target","autofocus","setTimeout","fieldContainerComponentCss","PFieldContainerStyle0","FieldContainer","_defaultOptionalTemplate","formatTranslation","_locales","optional","componentWillLoad","_setLocales","contentSlot","optionalTemplate","Fragment","placement","content","show","enableUserInput","errorPlacement","getLocaleComponentStrings"],"sources":["src/components/molecules/field/field.component.css?tag=p-field&encapsulation=shadow","src/components/molecules/field/field.component.tsx","src/components/molecules/field-container/field-container.component.css?tag=p-field-container&encapsulation=shadow","src/components/molecules/field-container/field-container.component.tsx"],"sourcesContent":[null,"import { Placement } from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { HTMLInputTypeAttribute } from 'react';\nimport { RotateOptions } from '../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../../atoms/icon/icon.component';\nimport { templateFunc } from '../field-container/field-container.component';\n\nconst field = cva(['flex gap-2', 'w-inherit', 'border-solid rounded-lg'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tread: 'border-0 items-center',\n\t\t\twrite: 'border px-2',\n\t\t},\n\t\tsize: {\n\t\t\tsm: null,\n\t\t\tbase: null,\n\t\t},\n\t\tdisabled: {\n\t\t\tfalse: 'bg-white',\n\t\t\ttrue: 'bg-white-600 cursor-not-allowed',\n\t\t},\n\t\tfocused: {\n\t\t\tfalse: null,\n\t\t\ttrue: null,\n\t\t},\n\t\terror: {\n\t\t\tfalse: null,\n\t\t\ttrue: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tsize: 'sm',\n\t\t\tvariant: 'write',\n\t\t\tclass: 'h-6',\n\t\t},\n\t\t{\n\t\t\tsize: 'base',\n\t\t\tvariant: 'write',\n\t\t\tclass: 'h-8',\n\t\t},\n\n\t\t{\n\t\t\tsize: 'sm',\n\t\t\tvariant: 'read',\n\t\t\tclass: 'h-4',\n\t\t},\n\t\t{\n\t\t\tsize: 'base',\n\t\t\tvariant: 'read',\n\t\t\tclass: 'h-6',\n\t\t},\n\n\t\t{\n\t\t\tfocused: false,\n\t\t\terror: false,\n\t\t\tclass: 'border-black-teal-100',\n\t\t},\n\t\t{\n\t\t\tdisabled: false,\n\t\t\tfocused: true,\n\t\t\terror: false,\n\t\t\tclass:\n\t\t\t\t'border-supportive-lilac-800 ring ring-supportive-lilac-100 selection:bg-supportive-lilac',\n\t\t},\n\n\t\t{\n\t\t\tdisabled: false,\n\t\t\terror: true,\n\t\t\tclass: 'border-negative-red',\n\t\t},\n\t\t{\n\t\t\tdisabled: false,\n\t\t\tfocused: true,\n\t\t\terror: true,\n\t\t\tclass: 'ring ring-negative-red-50 selection:bg-negative-red-50',\n\t\t},\n\t],\n});\n\nconst input = cva(\n\t'text-sm placeholder:text-sm placeholder:text-black-teal-200 text-black-teal border-none outline-none focus:outline-none bg-transparent flex-1 min-w-0 h-full',\n\t{\n\t\tvariants: {\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'cursor-not-allowed',\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst prefixAndSuffix = cva(\n\t['flex flex-shrink-0 justify-center items-center text-center'],\n\t{\n\t\tvariants: {\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'text-black-teal-100',\n\t\t\t},\n\t\t\tfocused: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\terror: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tisText: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'text-sm',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: false,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'text-black-teal-300',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'text-black-teal-500',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: false,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'text-negative-red',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'text-negative-red-800',\n\t\t\t},\n\t\t],\n\t}\n);\n\n@Component({\n\ttag: 'p-field',\n\tstyleUrl: './field.component.css',\n\tshadow: true,\n})\nexport class Field {\n\t/**\n\t * The variant of the field\n\t */\n\t@Prop() variant: 'read' | 'write' = 'write';\n\n\t/**\n\t * The size of the field\n\t */\n\t@Prop() size: 'sm' | 'base' = 'base';\n\n\t/**\n\t * The type of the field\n\t */\n\t@Prop() type: HTMLInputTypeAttribute | 'textarea' | 'slot' = 'text';\n\n\t/**\n\t * The size of the field\n\t */\n\t@Prop() properties: any | string = {};\n\n\t/**\n\t * The prefix of the field\n\t */\n\t@Prop() prefix: string;\n\n\t/**\n\t * The suffix of the field\n\t */\n\t@Prop() suffix: string;\n\n\t/**\n\t * Icon of the field\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\t/**\n\t * Icon position\n\t */\n\t@Prop() iconPosition: 'start' | 'end' = 'start';\n\n\t/**\n\t * The value of the input\n\t */\n\t@Prop() value: string;\n\n\t/**\n\t * The label of the field\n\t */\n\t@Prop() label: string;\n\n\t/**\n\t * The placeholder of the input\n\t */\n\t@Prop() placeholder: string;\n\n\t/**\n\t * The helper of the field\n\t */\n\t@Prop() helper: string;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean = true;\n\n\t/**\n\t * Wether to autofocus the field\n\t */\n\t@Prop({ reflect: true }) autofocus: boolean = false;\n\n\t/**\n\t * The error to display\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * The placement of the error popover\n\t */\n\t@Prop() errorPlacement: Placement;\n\n\t/**\n\t * Wether the field is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the field is focused\n\t */\n\t@Prop({ reflect: true }) focused: boolean = false;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * Wether to select all text on focus\n\t */\n\t@Prop({ reflect: true }) selectAllOnFocus: boolean = true;\n\n\t/**\n\t * The method to use when focusing the input\n\t */\n\t@Prop() focusMethod: 'focus' | 'click' = 'focus';\n\n\t/**\n\t * The template for the optional text\n\t */\n\t@Prop() optionalTemplate: templateFunc;\n\n\t/**\n\t * Event whenever the value changes\n\t */\n\t@Event() valueChange: EventEmitter<string>;\n\n\t/**\n\t * Event whenever the input ref changes\n\t */\n\t@Event() inputRefChange: EventEmitter<HTMLInputElement | HTMLTextAreaElement>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _focused = false;\n\n\tprivate _inputRef: HTMLInputElement | HTMLTextAreaElement;\n\n\tcomponentDidLoad() {\n\t\tthis._checkAutoFocus();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\thasHeaderSlot,\n\t\t\thasLabelSlot,\n\t\t\thasHelperSlot,\n\t\t\thasErrorSlot,\n\t\t\thasValueSlot,\n\t\t} = this._getSlotInfo();\n\n\t\treturn (\n\t\t\t<Host class='p-field'>\n\t\t\t\t<p-field-container\n\t\t\t\t\tforceShowTooltip={this.forceShowTooltip || this._focused}\n\t\t\t\t\tlabel={this.label}\n\t\t\t\t\thelper={this.helper}\n\t\t\t\t\terror={this.error}\n\t\t\t\t\trequired={this.required}\n\t\t\t\t\tvariant={this.variant}\n\t\t\t\t>\n\t\t\t\t\t{hasLabelSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='label'\n\t\t\t\t\t\t\tslot='label'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasHeaderSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='header'\n\t\t\t\t\t\t\tslot='header'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasHelperSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='helper'\n\t\t\t\t\t\t\tslot='helper'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasErrorSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='error'\n\t\t\t\t\t\t\tslot='error'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={field({\n\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\tfocused: this.focused || this._focused,\n\t\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\t})}\n\t\t\t\t\t\tslot='content'\n\t\t\t\t\t>\n\t\t\t\t\t\t{(prefix || (this.icon && this.iconPosition === 'start')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={prefixAndSuffix({\n\t\t\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t\t\tfocused: this.focused || this._focused,\n\t\t\t\t\t\t\t\t\tisText: typeof suffix === 'string',\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.icon && this.iconPosition === 'start' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\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\t\tprefix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{this._getContent(hasValueSlot)}\n\n\t\t\t\t\t\t{(suffix || (this.icon && this.iconPosition === 'end')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={prefixAndSuffix({\n\t\t\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t\t\tfocused: this.focused || this._focused,\n\t\t\t\t\t\t\t\t\tisText: typeof suffix === 'string',\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.icon && this.iconPosition === 'end' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\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\t\tsuffix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</p-field-container>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('focusin')\n\thandleFocusIn() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focused = true;\n\t\tthis._selectAll();\n\t}\n\n\t@Listen('focusout')\n\thandleFocusOut() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focused = false;\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasPrefixSlot = !!this._el.querySelector(':scope > [slot=\"prefix\"]');\n\t\tconst hasSuffixSlot = !!this._el.querySelector(':scope > [slot=\"suffix\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasErrorSlot = !!this._el.querySelector(':scope > [slot=\"error\"]');\n\t\tconst hasValueSlot = !!this._el.querySelector(':scope > [slot=\"value\"]');\n\n\t\tconst prefix = hasPrefixSlot ? <slot name='prefix' /> : this.prefix;\n\t\tconst suffix = hasSuffixSlot ? <slot name='suffix' /> : this.suffix;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\tthis.error && typeof this.error === 'string' && this.error !== 'true';\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasPrefixSlot,\n\t\t\thasSuffixSlot,\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thasValueSlot,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t};\n\t}\n\n\tprivate _getContent(hasValueSlot = false) {\n\t\tif (this.variant === 'read') {\n\t\t\treturn (\n\t\t\t\t<div class='text-sm'>\n\t\t\t\t\t{hasValueSlot ? (\n\t\t\t\t\t\t<slot name='value' />\n\t\t\t\t\t) : !!this.value && this.value.length > 0 ? (\n\t\t\t\t\t\tthis.value\n\t\t\t\t\t) : (\n\t\t\t\t\t\t'—'\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\tif (this.type === 'slot') {\n\t\t\treturn <slot name='input' />;\n\t\t}\n\n\t\tconst props = {\n\t\t\tclass: input({\n\t\t\t\tdisabled: this.disabled,\n\t\t\t}),\n\t\t\tvalue: this.value,\n\t\t\tplaceholder: this.placeholder,\n\t\t\tdisabled: this.disabled,\n\t\t\tonInput: (ev: Event) => this._valueChange(ev),\n\t\t};\n\n\t\tlet properties = this.properties ?? {};\n\t\tif (typeof properties === 'string') {\n\t\t\tproperties = JSON.parse(this.properties);\n\t\t}\n\n\t\tif (this.type === 'textarea') {\n\t\t\t<textarea\n\t\t\t\tref={ref => this._setInputRef(ref)}\n\t\t\t\t{...props}\n\t\t\t\t{...properties}\n\t\t\t/>;\n\t\t}\n\n\t\treturn (\n\t\t\t<input\n\t\t\t\ttype={this.type}\n\t\t\t\tref={ref => this._setInputRef(ref)}\n\t\t\t\t{...props}\n\t\t\t\t{...properties}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _setInputRef(ref: HTMLInputElement | HTMLTextAreaElement) {\n\t\tthis._inputRef = ref;\n\t\tthis.inputRefChange.emit(ref);\n\t}\n\n\tprivate _focusInput() {\n\t\tif (this._inputRef) {\n\t\t\tthis._inputRef.focus();\n\t\t\treturn;\n\t\t}\n\n\t\tconst input = this._el.querySelector(':scope > [slot=\"input\"]');\n\t\t(input as HTMLElement)[this.focusMethod]();\n\t}\n\n\tprivate _selectAll() {\n\t\tif (!this._inputRef || !this.selectAllOnFocus) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._inputRef.select();\n\t}\n\n\tprivate _valueChange(ev) {\n\t\tconst value = (ev.target as HTMLTextAreaElement | HTMLInputElement).value;\n\t\tthis.value = value;\n\t\tthis.valueChange.emit(value);\n\t}\n\n\tprivate _checkAutoFocus() {\n\t\tif (!this.autofocus) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._inputRef) {\n\t\t\tsetTimeout(() => this._checkAutoFocus(), 100);\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focusInput();\n\t}\n}\n",null,"import {\n\tComponent,\n\tElement,\n\tEventEmitter,\n\th,\n\tHost,\n\tEvent,\n\tProp,\n\tFragment,\n\tState,\n\tListen,\n} from '@stencil/core';\nimport { formatTranslation, getLocaleComponentStrings } from '../../../utils';\nimport { Placement } from '@floating-ui/dom';\n\nexport type templateFunc = () => string;\n\n@Component({\n\ttag: 'p-field-container',\n\tstyleUrl: 'field-container.component.css',\n\tshadow: true,\n})\nexport class FieldContainer {\n\tprivate _defaultOptionalTemplate: templateFunc = () =>\n\t\tformatTranslation(this._locales.optional);\n\n\t/**\n\t * The label of the input group\n\t */\n\t@Prop() label: string | HTMLSlotElement;\n\n\t/**\n\t * The variant of the field container\n\t */\n\t@Prop() variant: 'read' | 'write';\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop() helper: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop({ reflect: true }) error: string | HTMLSlotElement;\n\n\t/**\n\t * The placement of the error popover\n\t */\n\t@Prop() errorPlacement: Placement;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * The template for the optional text\n\t */\n\t@Prop() optionalTemplate: templateFunc = this._defaultOptionalTemplate;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@Event() focus: EventEmitter<void>;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\tcomponentWillLoad() {\n\t\tthis._setLocales();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t} = this._getSlotInfo();\n\n\t\tconst contentSlot = (\n\t\t\t<slot\n\t\t\t\tname='content'\n\t\t\t\tslot='trigger'\n\t\t\t/>\n\t\t);\n\n\t\treturn (\n\t\t\t<Host class='p-field-container'>\n\t\t\t\t<div class='flex w-inherit flex-col gap-1'>\n\t\t\t\t\t<div class='flex items-end justify-between gap-1'>\n\t\t\t\t\t\t{label && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass='text-xs font-medium text-black-teal-300'\n\t\t\t\t\t\t\t\tonClick={() => this.focus.emit()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{(!this.required || helper || hasHeaderSlot) && (\n\t\t\t\t\t\t\t<div class='flex items-center gap-1'>\n\t\t\t\t\t\t\t\t{!this.required && this.variant === 'write' && (\n\t\t\t\t\t\t\t\t\t<span class='text-xs font-medium text-black-teal-200'>\n\t\t\t\t\t\t\t\t\t\t{this.optionalTemplate()}\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{(helper || hasHeaderSlot) && (\n\t\t\t\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t\t\t\t{hasHeaderSlot && <slot name='header' />}\n\t\t\t\t\t\t\t\t\t\t{helper && (\n\t\t\t\t\t\t\t\t\t\t\t<p-helper\n\t\t\t\t\t\t\t\t\t\t\t\tclass={`flex ${hasHeaderSlot ? 'ml-2' : ''}`}\n\t\t\t\t\t\t\t\t\t\t\t\tplacement='top-end'\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t{helper}\n\t\t\t\t\t\t\t\t\t\t\t</p-helper>\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\tclass='w-full'\n\t\t\t\t\t\tvariant='error'\n\t\t\t\t\t\tcontent={this.error}\n\t\t\t\t\t\tshow={errorAndErrorIsNotBoolean && this.forceShowTooltip}\n\t\t\t\t\t\tenableUserInput={false}\n\t\t\t\t\t\tplacement={this.errorPlacement}\n\t\t\t\t\t>\n\t\t\t\t\t\t{hasErrorSlot && (\n\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\tname='error'\n\t\t\t\t\t\t\t\tslot='content'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{contentSlot}\n\t\t\t\t\t</p-tooltip>\n\t\t\t\t</div>\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\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasErrorSlot = !!this._el.querySelector(':scope > [slot=\"error\"]');\n\n\t\tconst helper = hasHelperSlot ? <slot name='helper' /> : this.helper;\n\t\tconst label = hasLabelSlot ? <slot name='label' /> : this.label;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\thasErrorSlot ||\n\t\t\t(this.error && typeof this.error === 'string' && this.error !== 'true');\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t};\n\t}\n}\n"],"mappings":"8KAAA,MAAMA,EAAoB,8mHAC1B,MAAAC,EAAeD,ECiBf,MAAME,EAAQC,EAAI,CAAC,aAAc,YAAa,2BAA4B,CACzEC,SAAU,CACTC,QAAS,CACRC,KAAM,wBACNC,MAAO,eAERC,KAAM,CACLC,GAAI,KACJC,KAAM,MAEPC,SAAU,CACTC,MAAO,WACPC,KAAM,mCAEPC,QAAS,CACRF,MAAO,KACPC,KAAM,MAEPE,MAAO,CACNH,MAAO,KACPC,KAAM,OAGRG,iBAAkB,CACjB,CACCR,KAAM,KACNH,QAAS,QACTY,MAAO,OAER,CACCT,KAAM,OACNH,QAAS,QACTY,MAAO,OAGR,CACCT,KAAM,KACNH,QAAS,OACTY,MAAO,OAER,CACCT,KAAM,OACNH,QAAS,OACTY,MAAO,OAGR,CACCH,QAAS,MACTC,MAAO,MACPE,MAAO,yBAER,CACCN,SAAU,MACVG,QAAS,KACTC,MAAO,MACPE,MACC,4FAGF,CACCN,SAAU,MACVI,MAAO,KACPE,MAAO,uBAER,CACCN,SAAU,MACVG,QAAS,KACTC,MAAO,KACPE,MAAO,6DAKV,MAAMC,EAAQf,EACb,+JACA,CACCC,SAAU,CACTO,SAAU,CACTC,MAAO,KACPC,KAAM,y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,kBAAkB,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG;;;;;","names":[],"sources":["src/components/molecules/page-size-select/constants.tsx"],"sourcesContent":["export const defaultSize = 12;\nexport const defaultSizeOptions = [12, 24, 68, 136];\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"icons-10aa18f0.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAW;IACX,QAAQ,EAAE,YAAY;IACtB,MAAM;IACN,GAAG;IACH,GAAG;;IAGH,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,UAAU;IACV,MAAM;IACN,GAAG;IACH,SAAS;IACT,KAAK;IACL,SAAS;IACT,IAAI;IACJ,SAAS;IACT,OAAO;IACP,aAAa,EAAE,UAAU;IACzB,OAAO;IACP,UAAU;IACV,OAAO;IACP,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,IAAI;IACJ,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,SAAS,EAAE,QAAQ;IACnB,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,WAAW;IACX,QAAQ;IACR,MAAM;IACN,QAAQ;IACR,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,YAAY,EAAE,SAAS;IACvB,KAAK;IACL,IAAI;IACJ,QAAQ;IACR,KAAK;IACL,GAAG;IACH,MAAM;IACN,OAAO;IACP,WAAW,EAAE,QAAQ;IACrB,WAAW;IACX,IAAI;IACJ,KAAK;IACL,OAAO;IACP,KAAK;IACL,MAAM;IACN,IAAI;IACJ,QAAQ;IACR,OAAO;IACP,IAAI;IACJ,SAAS;IACT,OAAO;IACP,IAAI;IACJ,QAAQ;IACR,GAAG;IACH,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,MAAM;IACN,IAAI;IACJ,OAAO;;IAGP,GAAG;IACH,YAAY,EAAE,SAAS;IACvB,GAAG;IACH,IAAI;IACJ,QAAQ;;IAGR,KAAK;IACL,QAAQ,EAAE,QAAQ;IAClB,gBAAgB,EAAE,aAAa;IAC/B,eAAe,EAAE,YAAY;IAC7B,mBAAmB,EAAE,eAAe;IACpC,KAAK;;IAGL,MAAM;IACN,EAAE;IACF,QAAQ,EAAE,KAAK;IACf,IAAI;IACJ,IAAI;IACJ,KAAK;;;;;;","names":[],"sources":["src/utils/icons.ts"],"sourcesContent":["import caret from '../assets/icons/arrows/caret.svg';\nimport doubleCaret from '../assets/icons/arrows/double-caret.svg';\nimport arrow from '../assets/icons/arrows/arrow.svg';\nimport doubleArrow from '../assets/icons/arrows/double-arrow.svg';\n\nimport bell from '../assets/icons/communication/bell.svg';\nimport chat from '../assets/icons/communication/chat.svg';\nimport checkCircle from '../assets/icons/communication/check-circle.svg';\nimport crossCircle from '../assets/icons/communication/cross-circle.svg';\nimport errorCircle from '../assets/icons/communication/error-circle.svg';\nimport infoCircle from '../assets/icons/communication/info-circle.svg';\nimport phone from '../assets/icons/communication/phone.svg';\nimport questionCircle from '../assets/icons/communication/question-circle.svg';\nimport headset from '../assets/icons/communication/headset.svg';\nimport warning from '../assets/icons/communication/warning.svg';\n\nimport attachment from '../assets/icons/files/attachment.svg';\nimport description from '../assets/icons/files/description.svg';\nimport documentIcon from '../assets/icons/files/document.svg';\nimport folder from '../assets/icons/files/folder.svg';\nimport pdf from '../assets/icons/files/pdf.svg';\nimport xls from '../assets/icons/files/xls.svg';\n\nimport bank from '../assets/icons/general/bank.svg';\nimport bread from '../assets/icons/general/bread.svg';\nimport cake from '../assets/icons/general/cake.svg';\nimport calculator from '../assets/icons/general/calculator.svg';\nimport camera from '../assets/icons/general/camera.svg';\nimport car from '../assets/icons/general/car.svg';\nimport certified from '../assets/icons/general/certified.svg';\nimport chair from '../assets/icons/general/chair.svg';\nimport checkmark from '../assets/icons/general/checkmark.svg';\nimport city from '../assets/icons/general/city.svg';\nimport companies from '../assets/icons/general/companies.svg';\nimport company from '../assets/icons/general/company.svg';\nimport creditCard from '../assets/icons/general/credit-card.svg';\nimport cutlery from '../assets/icons/general/cutlery.svg';\nimport department from '../assets/icons/general/department.svg';\nimport diamond from '../assets/icons/general/diamond.svg';\nimport docter from '../assets/icons/general/docter.svg';\nimport download from '../assets/icons/general/download.svg';\nimport envelope from '../assets/icons/general/envelope.svg';\nimport euro from '../assets/icons/general/euro.svg';\nimport exam from '../assets/icons/general/exam.svg';\nimport filter from '../assets/icons/general/filter.svg';\nimport flower from '../assets/icons/general/flower.svg';\nimport globe from '../assets/icons/general/globe.svg';\nimport globeTwo from '../assets/icons/general/globe-2.svg';\nimport hash from '../assets/icons/general/hash.svg';\nimport hat from '../assets/icons/general/hat.svg';\nimport home from '../assets/icons/general/home.svg';\nimport integration from '../assets/icons/general/integration.svg';\nimport language from '../assets/icons/general/language.svg';\nimport laptop from '../assets/icons/general/laptop.svg';\nimport location from '../assets/icons/general/location.svg';\nimport mail from '../assets/icons/general/mail.svg';\nimport medal from '../assets/icons/general/medal.svg';\nimport menu from '../assets/icons/general/menu.svg';\nimport menuArrow from '../assets/icons/general/menu-arrow.svg';\nimport minus from '../assets/icons/general/minus.svg';\nimport more from '../assets/icons/general/more.svg';\nimport negative from '../assets/icons/general/negative.svg';\nimport other from '../assets/icons/general/other.svg';\nimport pay from '../assets/icons/general/pay.svg';\nimport pencil from '../assets/icons/general/pencil.svg';\nimport percent from '../assets/icons/general/percent.svg';\nimport pieChart from '../assets/icons/general/pie-chart.svg';\nimport placeholder from '../assets/icons/general/placeholder.svg';\nimport plus from '../assets/icons/general/plus.svg';\nimport power from '../assets/icons/general/power.svg';\nimport receipt from '../assets/icons/general/receipt.svg';\nimport reset from '../assets/icons/general/reset.svg';\nimport search from '../assets/icons/general/search.svg';\nimport send from '../assets/icons/general/send.svg';\nimport settings from '../assets/icons/general/settings.svg';\nimport shuffle from '../assets/icons/general/shuffle.svg';\nimport sick from '../assets/icons/general/sick.svg';\nimport signature from '../assets/icons/general/signature.svg';\nimport sparkle from '../assets/icons/general/sparkle.svg';\nimport star from '../assets/icons/general/star.svg';\nimport stroller from '../assets/icons/general/stroller.svg';\nimport tag from '../assets/icons/general/tag.svg';\nimport tasks from '../assets/icons/general/tasks.svg';\nimport tools from '../assets/icons/general/tools.svg';\nimport tooth from '../assets/icons/general/tooth.svg';\nimport train from '../assets/icons/general/train.svg';\nimport trash from '../assets/icons/general/trash.svg';\nimport upload from '../assets/icons/general/upload.svg';\nimport wave from '../assets/icons/general/wave.svg';\nimport zipcode from '../assets/icons/general/zipcode.svg';\n\nimport eye from '../assets/icons/security/eye.svg';\nimport eyeClosed from '../assets/icons/security/eye-closed.svg';\nimport key from '../assets/icons/security/key.svg';\nimport lock from '../assets/icons/security/lock.svg';\nimport unlocked from '../assets/icons/security/unlocked.svg';\n\nimport alarm from '../assets/icons/time/alarm.svg';\nimport calendar from '../assets/icons/time/calendar.svg';\nimport calendarMulti from '../assets/icons/time/calendar-multi.svg';\nimport calendarFree from '../assets/icons/time/calendar-free.svg';\nimport calendarNotFree from '../assets/icons/time/calendar-not-free.svg';\nimport clock from '../assets/icons/time/clock.svg';\n\nimport female from '../assets/icons/users/female.svg';\nimport id from '../assets/icons/users/id.svg';\nimport idTwo from '../assets/icons/users/id-two.svg';\nimport male from '../assets/icons/users/male.svg';\nimport user from '../assets/icons/users/user.svg';\nimport users from '../assets/icons/users/users.svg';\n\nexport const categorized = {\n\tarrows: {\n\t\tcaret,\n\t\t'double-caret': doubleCaret,\n\t\tarrow,\n\t\t'double-arrow': doubleArrow,\n\t},\n\tcommunication: {\n\t\tbell,\n\t\tchat,\n\t\t'check-circle': checkCircle,\n\t\t'cross-circle': crossCircle,\n\t\t'error-circle': errorCircle,\n\t\t'info-circle': infoCircle,\n\t\tphone,\n\t\t'question-circle': questionCircle,\n\t\theadset,\n\t\twarning,\n\t},\n\tfiles: {\n\t\tattachment,\n\t\tdescription,\n\t\tdocument: documentIcon,\n\t\tfolder,\n\t\tpdf,\n\t\txls,\n\t},\n\tgeneral: {\n\t\tbank,\n\t\tbread,\n\t\tcake,\n\t\tcalculator,\n\t\tcamera,\n\t\tcar,\n\t\tcertified,\n\t\tchair,\n\t\tcheckmark,\n\t\tcity,\n\t\tcompanies,\n\t\tcompany,\n\t\t'credit-card': creditCard,\n\t\tcutlery,\n\t\tdepartment,\n\t\tdiamond,\n\t\tdocter,\n\t\tdownload,\n\t\tenvelope,\n\t\teuro,\n\t\texam,\n\t\tfilter,\n\t\tflower,\n\t\tglobe,\n\t\t'globe-2': globeTwo,\n\t\thash,\n\t\that,\n\t\thome,\n\t\tintegration,\n\t\tlanguage,\n\t\tlaptop,\n\t\tlocation,\n\t\tmail,\n\t\tmedal,\n\t\tmenu,\n\t\t'menu-arrow': menuArrow,\n\t\tminus,\n\t\tmore,\n\t\tnegative,\n\t\tother,\n\t\tpay,\n\t\tpencil,\n\t\tpercent,\n\t\t'pie-chart': pieChart,\n\t\tplaceholder,\n\t\tplus,\n\t\tpower,\n\t\treceipt,\n\t\treset,\n\t\tsearch,\n\t\tsend,\n\t\tsettings,\n\t\tshuffle,\n\t\tsick,\n\t\tsignature,\n\t\tsparkle,\n\t\tstar,\n\t\tstroller,\n\t\ttag,\n\t\ttasks,\n\t\ttools,\n\t\ttooth,\n\t\ttrain,\n\t\ttrash,\n\t\tupload,\n\t\twave,\n\t\tzipcode,\n\t},\n\tsecurity: {\n\t\teye,\n\t\t'eye-closed': eyeClosed,\n\t\tkey,\n\t\tlock,\n\t\tunlocked,\n\t},\n\ttime: {\n\t\talarm,\n\t\tcalendar: calendar,\n\t\t'calendar-multi': calendarMulti,\n\t\t'calendar-free': calendarFree,\n\t\t'calendar-not-free': calendarNotFree,\n\t\tclock,\n\t},\n\tusers: {\n\t\tfemale,\n\t\tid,\n\t\t'id-two': idTwo,\n\t\tmale,\n\t\tuser,\n\t\tusers,\n\t},\n};\n\nexport const icons = {\n\t//arrows\n\tcaret,\n\t'double-caret': doubleCaret,\n\tarrow,\n\t'double-arrow': doubleArrow,\n\n\t//communication\n\tbell,\n\tchat,\n\t'check-circle': checkCircle,\n\t'cross-circle': crossCircle,\n\t'error-circle': errorCircle,\n\t'info-circle': infoCircle,\n\tphone,\n\t'question-circle': questionCircle,\n\theadset,\n\twarning,\n\n\t//files\n\tattachment,\n\tdescription,\n\tdocument: documentIcon,\n\tfolder,\n\tpdf,\n\txls,\n\n\t//general\n\tbank,\n\tbread,\n\tcake,\n\tcalculator,\n\tcamera,\n\tcar,\n\tcertified,\n\tchair,\n\tcheckmark,\n\tcity,\n\tcompanies,\n\tcompany,\n\t'credit-card': creditCard,\n\tcutlery,\n\tdepartment,\n\tdiamond,\n\tdocter,\n\tdownload,\n\tenvelope,\n\teuro,\n\texam,\n\tfilter,\n\tflower,\n\tglobe,\n\t'globe-2': globeTwo,\n\thash,\n\that,\n\thome,\n\tintegration,\n\tlanguage,\n\tlaptop,\n\tlocation,\n\tmail,\n\tmedal,\n\tmenu,\n\t'menu-arrow': menuArrow,\n\tminus,\n\tmore,\n\tnegative,\n\tother,\n\tpay,\n\tpencil,\n\tpercent,\n\t'pie-chart': pieChart,\n\tplaceholder,\n\tplus,\n\tpower,\n\treceipt,\n\treset,\n\tsearch,\n\tsend,\n\tsettings,\n\tshuffle,\n\tsick,\n\tsignature,\n\tsparkle,\n\tstar,\n\tstroller,\n\ttag,\n\ttasks,\n\ttools,\n\ttooth,\n\ttrain,\n\ttrash,\n\tupload,\n\twave,\n\tzipcode,\n\n\t//security\n\teye,\n\t'eye-closed': eyeClosed,\n\tkey,\n\tlock,\n\tunlocked,\n\n\t//time\n\talarm,\n\tcalendar: calendar,\n\t'calendar-multi': calendarMulti,\n\t'calendar-free': calendarFree,\n\t'calendar-not-free': calendarNotFree,\n\tclock,\n\n\t//users\n\tfemale,\n\tid,\n\t'id-two': idTwo,\n\tmale,\n\tuser,\n\tusers,\n};\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"p-checkbox.p-dropdown.p-dropdown-menu-item.entry.cjs.js","mappings":";;;;;;;;;;;AAAA,MAAM,oBAAoB,GAAG,klKAAklK,CAAC;AAChnK,wBAAe,oBAAoB;;ACWnC,MAAM,QAAQ,GAAGA,WAAG,CACnB;IACC,qDAAqD;IACrD,mCAAmC;CACnC,EACD;IACC,QAAQ,EAAE;QACT,IAAI,EAAE;YACL,EAAE,EAAE,iBAAiB;YACrB,IAAI,EAAE,oBAAoB;SAC1B;QACD,QAAQ,EAAE;YACT,KAAK,EAAE;gBACN,yBAAyB;gBACzB,gCAA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AE,UAAU;YACnB,MAAM,EAAE,KAAK;YACb,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,qDAAqD;SAC5D;QACD;YACC,OAAO,EAAE,UAAU;YACnB,MAAM,EAAE,IAAI;YACZ,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE,uBAAuB;SAC9B;KACD;CACD,CAAC,CAAC;MAMU,gBAAgB;;;sBAIF,KAAK;wBAKH,KAAK;uBAKS,SAAS;2BAKpB,IAAI;wBAKP,KAAK;;4BAUV,IAAI;;IAE3B,MAAM;QACL,QACCE,QAACC,UAAI,qDACJ,KAAK,EAAE,gBAAgB,CAAC;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,WAAW,EAAE,IAAI,CAAC,WAAW;gBAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACvB,CAAC,IAKD,IAAI,CAAC,IAAI,KACTD,qEACC,KAAK,EAAE,oBAAoB,CAAC;gBAC3B,OAAO,EAAE,IAAI,CAAC,OAAO;gBACrB,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACvB,CAAC,EACF,OAAO,EAAE,IAAI,CAAC,IAAI,GACjB,CACF,EAEA,IAAI,CAAC,QAAQ,KACbA,yEACC,IAAI,EAAC,IAAI,EACT,OAAO,EAAE,IAAI,CAAC,MAAM,EACpB,QAAQ,EAAE,IAAI,CAAC,QAAQ,GACtB,CACF,EAEA,IAAI,CAAC,YAAY,IACjBA,iBAAK,KAAK,EAAC,yEAAyE,IACnFA,qBAAQ,CACH,KAENA,qBAAQ,CACR,CACK,EACN;KACF;;;;;;;;","names":["cva","nonce","h","Host","childOf","autoUpdate","computePosition","offset","flip","shift"],"sources":["src/components/atoms/checkbox/checkbox.component.css?tag=p-checkbox","src/components/atoms/checkbox/checkbox.component.tsx","src/components/molecules/dropdown/dropdown.component.css?tag=p-dropdown","src/components/molecules/dropdown/dropdown.component.tsx","src/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css?tag=p-dropdown-menu-item","src/components/atoms/dropdown-menu-item/dropdown-menu-item.component.tsx"],"sourcesContent":["","import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\tHost,\n\tProp,\n\tState,\n\th,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { nonce } from '../../../utils/nonce';\n\nconst checkbox = cva(\n\t[\n\t\t'peer appearance-none m-0 outline-none flex-shrink-0',\n\t\t'border border-inset border-solid ',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\tsm: 'rounded w-4 h-4',\n\t\t\t\tbase: 'rounded-lg w-6 h-6',\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: [\n\t\t\t\t\t'cursor-pointer shadow-1',\n\t\t\t\t\t'bg-white border-black-teal-100',\n\t\t\t\t\t'hover:bg-supportivce-lilac-100 hover:border-black-teal-100',\n\t\t\t\t\t'checked:bg-supportive-lilac checked:border-black-teal/20',\n\t\t\t\t\t'checked:ring-2 checked:ring-supportive-lilac-100',\n\t\t\t\t\t'checked:hover:bg-supportive-lilac checked:hover:border-black-teal/20',\n\t\t\t\t\t'indeterminate:bg-supportive-lilac indeterminate:border-black-teal/20',\n\t\t\t\t\t'indeterminate:ring-2 indeterminate:ring-supportive-lilac-100',\n\t\t\t\t\t'indeterminate:hover:bg-supportive-lilac indeterminate:hover:border-black-teal/20',\n\t\t\t\t],\n\t\t\t\ttrue: 'bg-white-600 border-black-teal-50 cursor-not-allowed ',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: [\n\t\t\t\t\t'cursor-pointer shadow-1',\n\t\t\t\t\t'bg-white border-black-teal-100',\n\t\t\t\t\t'hover:bg-supportive-lilac-100 hover:border-black-teal-100',\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst icon = cva(\n\t[\n\t\t'hidden peer-indeterminate:flex peer-checked:flex',\n\t\t'absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 pointer-events-none',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tdisabled: {\n\t\t\t\tfalse: 'text-white',\n\t\t\t\ttrue: 'text-black-teal-200',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-checkbox',\n\tstyleUrl: 'checkbox.component.css',\n})\nexport class Checkbox {\n\t/**\n\t * Wether the checkbox is checked\n\t */\n\t@Prop() checked: boolean;\n\n\t/**\n\t * Wether the checkbox is in indeterminate state\n\t */\n\t@Prop() indeterminate: boolean;\n\n\t/**\n\t * The size of the checkbox\n\t */\n\t@Prop() size: 'sm' | 'base' = 'base';\n\n\t/**\n\t * Wether the checkbox is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the checkbox is required\n\t */\n\t@Prop({ reflect: true }) required: boolean = true;\n\n\t/**\n\t * The id of the checkbox button\n\t */\n\t@Prop({ reflect: true }) id: string;\n\n\t/**\n\t * The name of the checkbox button\n\t */\n\t@Prop({ reflect: true }) name: string;\n\n\t/**\n\t * Event whenever the checked changes\n\t */\n\t@Event() checkedChange: EventEmitter<boolean>;\n\t/**\n\t * Event whenever the indeterminate changes\n\t */\n\t@Event() indeterminateChange: EventEmitter<boolean>;\n\n\t@State() private _nonce = nonce(5);\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-checkbox'>\n\t\t\t\t<label\n\t\t\t\t\thtmlFor={this.id ?? this._nonce}\n\t\t\t\t\tclass='flex items-center justify-start gap-2 text-black-teal'\n\t\t\t\t>\n\t\t\t\t\t<div class='relative flex flex-shrink-0 items-center'>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclass={checkbox({\n\t\t\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\ttype='checkbox'\n\t\t\t\t\t\t\tid={this.id ?? this._nonce}\n\t\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\t\tchecked={!!this.checked}\n\t\t\t\t\t\t\tindeterminate={this.indeterminate}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\tonChange={ev => this._onChange(ev)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass={icon({\n\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\t\t\tclass='drop-shadow-black-teal-10%'\n\t\t\t\t\t\t\t\tvariant={!!this.indeterminate ? 'minus' : 'checkmark'}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</label>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _onChange(ev: Event) {\n\t\tif (this.disabled) {\n\t\t\tev.preventDefault();\n\t\t\treturn;\n\t\t}\n\n\t\tconst checked = (ev.target as HTMLInputElement).checked;\n\t\tconst indeterminate = (ev.target as HTMLInputElement).indeterminate;\n\n\t\tif (checked != this.checked) {\n\t\t\tthis.checked = checked;\n\t\t\tthis.checkedChange.emit(checked);\n\t\t}\n\n\t\tif (indeterminate != this.indeterminate) {\n\t\t\tthis.indeterminate = indeterminate;\n\t\t\tthis.indeterminateChange.emit(indeterminate);\n\t\t}\n\t}\n}\n","","import {\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\tWatch,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { childOf } from '../../../utils/child-of';\n\nconst dropdownContainerClass = cva(['z-dropdown hidden'], {\n\tvariants: {\n\t\tstrategy: {\n\t\t\tabsolute: 'absolute',\n\t\t\tfixed: 'fixed',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-dropdown',\n\tstyleUrl: 'dropdown.component.css',\n})\nexport class Dropdown {\n\t/**\n\t * The content of the dropdown menu\n\t */\n\t@Prop({ reflect: true }) placement: Placement = 'bottom-start';\n\n\t/**\n\t * The offset of the dropdown menu\n\t */\n\t@Prop() offset: number = 8;\n\n\t/**\n\t * The strategy of the dropdown placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * Wether to show the dropdown menu\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to use a portal for the dropdown container\n\t */\n\t@Prop() usePortal: boolean = false;\n\n\t/**\n\t * Wether to automatically calculate the width of the menu based on the trigger\n\t */\n\t@Prop() calculateWidth: boolean = false;\n\n\t/**\n\t * Wether to apply the max width\n\t */\n\t@Prop() applyMaxWidth: boolean = true;\n\n\t/**\n\t * Wether to apply the full width\n\t */\n\t@Prop() applyFullWidth: boolean = true;\n\n\t/**\n\t * Wether to allow overflow in the container\n\t */\n\t@Prop() allowOverflow: boolean = false;\n\n\t/**\n\t * Wether the dropdown container should be scrollable when the threshold is met.\n\t */\n\t@Prop() scrollable: boolean | 'default' | 'large' = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() insideClick: boolean = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() disableTriggerClick: boolean = false;\n\n\t/**\n\t * Wether to apply chevron automatically\n\t */\n\t@Prop() applyChevron: boolean = true;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Chevron direction\n\t */\n\t@Prop() chevronDirection: 'up' | 'down';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\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\tprivate _loaded = false;\n\tprivate _trigger: HTMLElement;\n\tprivate _menu: HTMLElement;\n\tprivate _cleanup: () => void;\n\n\tcomponentShouldUpdate() {\n\t\tthis._update();\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis._checkButtons();\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\n\t\tthis._menu.remove();\n\t}\n\n\tcomponentDidRender() {\n\t\tthis._checkButtons();\n\t}\n\n\trender() {\n\t\tconst dropdownContainerProps = {\n\t\t\tclass: dropdownContainerClass({\n\t\t\t\tstrategy: this.strategy,\n\t\t\t}),\n\t\t\tref: el => this._load(el),\n\t\t\tonClick: () => this._containerClickHandler(),\n\t\t\trole: 'popover',\n\t\t\t'data-placement': this.placement,\n\t\t\t'data-strategy': this.strategy,\n\t\t};\n\n\t\tlet dropdownContainer: HTMLElement;\n\n\t\tif (this.usePortal) {\n\t\t\tdropdownContainer = (\n\t\t\t\t<p-portal {...dropdownContainerProps}>\n\t\t\t\t\t<p-dropdown-menu-container\n\t\t\t\t\t\tmaxWidth={!this.calculateWidth && this.applyMaxWidth}\n\t\t\t\t\t\tfullWidth={this.applyFullWidth && !this.applyMaxWidth}\n\t\t\t\t\t\tallowOverflow={this.allowOverflow}\n\t\t\t\t\t\tscrollable={this.scrollable}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot name='items' />\n\t\t\t\t\t</p-dropdown-menu-container>\n\t\t\t\t</p-portal>\n\t\t\t);\n\t\t} else {\n\t\t\tdropdownContainer = (\n\t\t\t\t<p-dropdown-menu-container\n\t\t\t\t\tmaxWidth={!this.calculateWidth && this.applyMaxWidth}\n\t\t\t\t\tfullWidth={this.applyFullWidth && !this.applyMaxWidth}\n\t\t\t\t\tallowOverflow={this.allowOverflow}\n\t\t\t\t\tscrollable={this.scrollable}\n\t\t\t\t\t{...dropdownContainerProps}\n\t\t\t\t>\n\t\t\t\t\t<slot name='items' />\n\t\t\t\t</p-dropdown-menu-container>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class='p-dropdown relative'>\n\t\t\t\t<div\n\t\t\t\t\tclass='trigger'\n\t\t\t\t\tref={ref => (this._trigger = ref)}\n\t\t\t\t\tonClick={() => this._triggerClickHandler()}\n\t\t\t\t>\n\t\t\t\t\t<slot name='trigger' />\n\t\t\t\t</div>\n\t\t\t\t{dropdownContainer}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _checkButtons(active: boolean = false) {\n\t\tif (!this.applyChevron) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst buttons = this._el.querySelectorAll<HTMLPButtonElement>(\n\t\t\t'p-button[slot=\"trigger\"]'\n\t\t);\n\n\t\tfor (let button of [...buttons]) {\n\t\t\tbutton.chevronPosition = this.chevronPosition;\n\t\t\tbutton.chevron = this.chevronDirection\n\t\t\t\t? this.chevronDirection\n\t\t\t\t: this.placement.indexOf('top') >= 0\n\t\t\t\t? 'up'\n\t\t\t\t: 'down';\n\t\t\tbutton.disabled = this.disableTriggerClick;\n\t\t\tbutton.active = active;\n\t\t}\n\t}\n\n\t@Watch('show')\n\tprotected onShowChange(show) {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!show) {\n\t\t\tthis._hide();\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({ target }) {\n\t\tif (!this._menu.hasAttribute('data-show') || childOf(target, this._menu)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\tprivate _containerClickHandler() {\n\t\tif (this.insideClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t}\n\t}\n\n\tprivate _triggerClickHandler() {\n\t\tif (this.disableTriggerClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\tprivate _load(popover: HTMLElement) {\n\t\tthis._menu = 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 _show() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make the popover visible\n\t\tif (this.calculateWidth) {\n\t\t\tthis._menu.style.width = `${this._trigger.clientWidth}px`;\n\t\t}\n\n\t\tthis._cleanup = autoUpdate(this._el, this._menu, () => this._update());\n\n\t\tthis._menu.setAttribute('data-show', '');\n\t\tthis._menu.classList.remove('hidden');\n\t\tthis._menu.classList.add('flex');\n\n\t\tthis.isOpen.emit(true);\n\t\tthis._checkButtons(true);\n\t}\n\n\tprivate _hide() {\n\t\tif (!this._loaded || this.show) {\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._menu.removeAttribute('data-show');\n\t\tthis._menu.classList.remove('flex');\n\t\tthis._menu.classList.add('hidden');\n\n\t\tthis.isOpen.emit(false);\n\t\tthis._checkButtons(false);\n\t}\n\n\tprivate _update() {\n\t\tif (!this._menu) {\n\t\t\treturn;\n\t\t}\n\n\t\tcomputePosition(this._el, this._menu, {\n\t\t\tplacement: this.placement,\n\t\t\tstrategy: this.strategy,\n\t\t\tmiddleware: [offset(this.offset), flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tthis._menu.dataset.placement = placement;\n\t\t\tObject.assign(this._menu.style, {\n\t\t\t\ttop: `${y}px`,\n\t\t\t\tleft: `${x}px`,\n\t\t\t});\n\t\t});\n\t}\n}\n","","import { Component, Host, Prop, h } from '@stencil/core';\nimport { IconVariant } from '../icon/icon.component';\nimport { cva } from 'class-variance-authority';\n\nconst dropdownMenuItem = cva(\n\t[\n\t\t'p-dropdown-menu-item flex px-2 py-1 gap-2 text-sm font-medium group rounded-lg items-center h-8 max-w-full',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault: null,\n\t\t\t\tnegative: null,\n\t\t\t},\n\t\t\tactive: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: 'cursor-pointer',\n\t\t\t\ttrue: 'cursor-not-allowed',\n\t\t\t},\n\t\t\tenableHover: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tvariant: 'default',\n\t\t\t\tactive: false,\n\t\t\t\tenableHover: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'text-black-teal hover:bg-supportive-lilac-50',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'default',\n\t\t\t\tactive: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'bg-supportive-lilac-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'default',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'text-black-teal-200',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'default',\n\t\t\t\tdisabled: true,\n\t\t\t\tactive: true,\n\t\t\t\tclass: 'bg-supportive-lilac-100',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: 'negative',\n\t\t\t\tactive: false,\n\t\t\t\tenableHover: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'text-negative-red hover:bg-negative-red-50',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'negative',\n\t\t\t\tactive: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'bg-negative-red-100 text-negative-red',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'negative',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'text-negative-red-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'negative',\n\t\t\t\tdisabled: true,\n\t\t\t\tactive: true,\n\t\t\t\tclass: 'bg-negative-red-50',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tenableHover: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'cursor-pointer',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst dropdownMenuItemIcon = cva(['text-base'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: null,\n\t\t\tnegative: null,\n\t\t},\n\t\tactive: {\n\t\t\tfalse: null,\n\t\t\ttrue: null,\n\t\t},\n\t\tdisabled: {\n\t\t\tfalse: null,\n\t\t\ttrue: 'text-black-teal-100',\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tvariant: 'default',\n\t\t\tactive: false,\n\t\t\tdisabled: false,\n\t\t\tclass: 'text-black-teal-300 group-hover:text-black-teal',\n\t\t},\n\n\t\t{\n\t\t\tvariant: 'negative',\n\t\t\tactive: false,\n\t\t\tdisabled: false,\n\t\t\tclass: 'text-negative-red group-hover:text-negative-red-800',\n\t\t},\n\t\t{\n\t\t\tvariant: 'negative',\n\t\t\tactive: true,\n\t\t\tdisabled: false,\n\t\t\tclass: 'text-negative-red-800',\n\t\t},\n\t],\n});\n\n@Component({\n\ttag: 'p-dropdown-menu-item',\n\tstyleUrl: 'dropdown-menu-item.component.css',\n})\nexport class DropdownMenuItem {\n\t/**\n\t * Wether the dropdown menu item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * Wether the dropdown menu item has a checkbox\n\t */\n\t@Prop() checkbox: boolean = false;\n\n\t/**\n\t * The variant of the item\n\t */\n\t@Prop() variant: 'default' | 'negative' = 'default';\n\n\t/**\n\t * Wether to enable the hover state\n\t */\n\t@Prop() enableHover: boolean = true;\n\n\t/**\n\t * Wether the item is disabled\n\t */\n\t@Prop() disabled: boolean = false;\n\n\t/**\n\t * Icon of the navigation item\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * wether to use the container for text\n\t */\n\t@Prop() useContainer = true;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={dropdownMenuItem({\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tactive: this.active,\n\t\t\t\t\tenableHover: this.enableHover,\n\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t{/* class={`p-dropdown-menu-item ${this.active && 'active'} ${ */}\n\t\t\t\t{/* \tthis.enableHover && 'hover' */}\n\t\t\t\t{/* }`} */}\n\t\t\t\t{this.icon && (\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tclass={dropdownMenuItemIcon({\n\t\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\t\tactive: this.active,\n\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t})}\n\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t{this.checkbox && (\n\t\t\t\t\t<p-checkbox\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\tchecked={this.active}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t{this.useContainer ? (\n\t\t\t\t\t<div class='block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t) : (\n\t\t\t\t\t<slot />\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}