@paperless/core 0.1.0-alpha.332 → 0.1.0-alpha.334

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 (856) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/build/index.esm.js +2 -1
  3. package/dist/build/index.esm.js.map +1 -0
  4. package/dist/build/p-05f976da.entry.js +2 -0
  5. package/dist/build/p-05f976da.entry.js.map +1 -0
  6. package/dist/build/p-0764d32f.entry.js +2 -0
  7. package/dist/build/p-0764d32f.entry.js.map +1 -0
  8. package/dist/build/p-09a3626c.entry.js +2 -0
  9. package/dist/build/p-09a3626c.entry.js.map +1 -0
  10. package/dist/build/p-09ea2a1a.js +2 -1
  11. package/dist/build/p-09ea2a1a.js.map +1 -0
  12. package/dist/build/p-142c9878.entry.js +2 -0
  13. package/dist/build/p-142c9878.entry.js.map +1 -0
  14. package/dist/build/p-2336d954.entry.js +2 -0
  15. package/dist/build/p-2336d954.entry.js.map +1 -0
  16. package/dist/build/p-26501e6f.entry.js +2 -0
  17. package/dist/build/p-26501e6f.entry.js.map +1 -0
  18. package/dist/build/p-270f2589.entry.js +2 -0
  19. package/dist/build/p-270f2589.entry.js.map +1 -0
  20. package/dist/build/p-295ef188.entry.js +2 -0
  21. package/dist/build/p-295ef188.entry.js.map +1 -0
  22. package/dist/build/p-2e66e252.entry.js +2 -0
  23. package/dist/build/p-2e66e252.entry.js.map +1 -0
  24. package/dist/build/p-38f88fcb.entry.js +2 -0
  25. package/dist/build/p-38f88fcb.entry.js.map +1 -0
  26. package/dist/build/p-3fffdc43.entry.js +2 -0
  27. package/dist/build/p-3fffdc43.entry.js.map +1 -0
  28. package/dist/build/p-4539d855.entry.js +2 -0
  29. package/dist/build/p-4539d855.entry.js.map +1 -0
  30. package/dist/build/p-4e650fe4.js +2 -1
  31. package/dist/build/p-4e650fe4.js.map +1 -0
  32. package/dist/build/p-52d7d305.entry.js +2 -0
  33. package/dist/build/p-52d7d305.entry.js.map +1 -0
  34. package/dist/build/p-5477db13.entry.js +2 -0
  35. package/dist/build/p-5477db13.entry.js.map +1 -0
  36. package/dist/build/p-5da19525.entry.js +2 -0
  37. package/dist/build/p-5da19525.entry.js.map +1 -0
  38. package/dist/build/p-5f8538e7.entry.js +2 -0
  39. package/dist/build/p-5f8538e7.entry.js.map +1 -0
  40. package/dist/build/p-62543956.entry.js +2 -0
  41. package/dist/build/p-62543956.entry.js.map +1 -0
  42. package/dist/build/p-6c60fd3d.js +2 -1
  43. package/dist/build/p-6c60fd3d.js.map +1 -0
  44. package/dist/build/p-8a471962.entry.js +2 -0
  45. package/dist/build/p-8a471962.entry.js.map +1 -0
  46. package/dist/build/p-8a6728d5.js +2 -1
  47. package/dist/build/p-8a6728d5.js.map +1 -0
  48. package/dist/build/p-8c8f9caa.entry.js +2 -0
  49. package/dist/build/p-8c8f9caa.entry.js.map +1 -0
  50. package/dist/build/p-90a0ba40.entry.js +2 -0
  51. package/dist/build/p-90a0ba40.entry.js.map +1 -0
  52. package/dist/build/p-91a42549.entry.js +2 -0
  53. package/dist/build/p-91a42549.entry.js.map +1 -0
  54. package/dist/build/p-9f4617e1.entry.js +2 -0
  55. package/dist/build/p-9f4617e1.entry.js.map +1 -0
  56. package/dist/build/p-a5133564.entry.js +2 -0
  57. package/dist/build/p-a5133564.entry.js.map +1 -0
  58. package/dist/build/p-b273ac6d.js +2 -1
  59. package/dist/build/p-b273ac6d.js.map +1 -0
  60. package/dist/build/p-b54a9bb2.entry.js +2 -0
  61. package/dist/build/p-b54a9bb2.entry.js.map +1 -0
  62. package/dist/build/p-b5a51e04.entry.js +2 -0
  63. package/dist/build/p-b5a51e04.entry.js.map +1 -0
  64. package/dist/build/p-bcbb18e0.entry.js +2 -0
  65. package/dist/build/p-bcbb18e0.entry.js.map +1 -0
  66. package/dist/build/{p-529ccaf7.entry.js → p-c1ab6e47.entry.js} +2 -1
  67. package/dist/build/p-c1ab6e47.entry.js.map +1 -0
  68. package/dist/build/p-c432f3f6.js +3 -0
  69. package/dist/build/p-c432f3f6.js.map +1 -0
  70. package/dist/build/p-c5a5a394.entry.js +2 -0
  71. package/dist/build/p-c5a5a394.entry.js.map +1 -0
  72. package/dist/build/p-ce944a28.entry.js +2 -0
  73. package/dist/build/p-ce944a28.entry.js.map +1 -0
  74. package/dist/build/p-d3d37d1d.entry.js +2 -0
  75. package/dist/build/p-d3d37d1d.entry.js.map +1 -0
  76. package/dist/build/p-d85a8835.entry.js +2 -0
  77. package/dist/build/p-d85a8835.entry.js.map +1 -0
  78. package/dist/build/p-db4c03d8.entry.js +2 -0
  79. package/dist/build/p-db4c03d8.entry.js.map +1 -0
  80. package/dist/build/p-dcf862ac.entry.js +2 -0
  81. package/dist/build/p-dcf862ac.entry.js.map +1 -0
  82. package/dist/build/p-df38fb1d.entry.js +2 -0
  83. package/dist/build/p-df38fb1d.entry.js.map +1 -0
  84. package/dist/build/p-e6561000.entry.js +2 -0
  85. package/dist/build/p-e6561000.entry.js.map +1 -0
  86. package/dist/build/p-ef0622db.entry.js +2 -0
  87. package/dist/build/p-ef0622db.entry.js.map +1 -0
  88. package/dist/build/p-f64106d1.entry.js +2 -0
  89. package/dist/build/p-f64106d1.entry.js.map +1 -0
  90. package/dist/build/p-f86fcdf4.js +2 -1
  91. package/dist/build/p-f86fcdf4.js.map +1 -0
  92. package/dist/build/p-fb277355.entry.js +2 -0
  93. package/dist/build/p-fb277355.entry.js.map +1 -0
  94. package/dist/build/p-fe6db098.entry.js +2 -0
  95. package/dist/build/p-fe6db098.entry.js.map +1 -0
  96. package/dist/build/paperless.esm.js +2 -1
  97. package/dist/build/paperless.esm.js.map +1 -0
  98. package/dist/cjs/child-of-e472f812.js +2 -0
  99. package/dist/cjs/child-of-e472f812.js.map +1 -0
  100. package/dist/cjs/constants-a4459ec9.js +2 -0
  101. package/dist/cjs/constants-a4459ec9.js.map +1 -0
  102. package/dist/cjs/index-040ec3f9.js +2 -0
  103. package/dist/cjs/index-040ec3f9.js.map +1 -0
  104. package/dist/cjs/{index-195002a8.js → index-0a3162ce.js} +122 -3
  105. package/dist/cjs/index-0a3162ce.js.map +1 -0
  106. package/dist/cjs/index.cjs.js +2 -0
  107. package/dist/cjs/index.cjs.js.map +1 -0
  108. package/dist/cjs/loader.cjs.js +6 -3
  109. package/dist/cjs/loader.cjs.js.map +1 -0
  110. package/dist/cjs/localization-9e2ac7f3.js +2 -0
  111. package/dist/cjs/localization-9e2ac7f3.js.map +1 -0
  112. package/dist/cjs/object-get-by-path-6dc21ed5.js +2 -0
  113. package/dist/cjs/object-get-by-path-6dc21ed5.js.map +1 -0
  114. package/dist/cjs/p-accordion.cjs.entry.js +3 -1
  115. package/dist/cjs/p-accordion.cjs.entry.js.map +1 -0
  116. package/dist/cjs/p-avatar-group.cjs.entry.js +3 -1
  117. package/dist/cjs/p-avatar-group.cjs.entry.js.map +1 -0
  118. package/dist/cjs/p-avatar.cjs.entry.js +3 -1
  119. package/dist/cjs/p-avatar.cjs.entry.js.map +1 -0
  120. package/dist/cjs/p-backdrop.cjs.entry.js +4 -2
  121. package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -0
  122. package/dist/cjs/p-button_3.cjs.entry.js +6 -4
  123. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -0
  124. package/dist/cjs/p-calendar.cjs.entry.js +3 -1
  125. package/dist/cjs/p-calendar.cjs.entry.js.map +1 -0
  126. package/dist/cjs/p-card-body.cjs.entry.js +3 -1
  127. package/dist/cjs/p-card-body.cjs.entry.js.map +1 -0
  128. package/dist/cjs/p-card-container.cjs.entry.js +3 -1
  129. package/dist/cjs/p-card-container.cjs.entry.js.map +1 -0
  130. package/dist/cjs/p-card-header.cjs.entry.js +3 -1
  131. package/dist/cjs/p-card-header.cjs.entry.js.map +1 -0
  132. package/dist/cjs/p-content-slider.cjs.entry.js +3 -1
  133. package/dist/cjs/p-content-slider.cjs.entry.js.map +1 -0
  134. package/dist/cjs/p-counter.cjs.entry.js +3 -1
  135. package/dist/cjs/p-counter.cjs.entry.js.map +1 -0
  136. package/dist/cjs/p-datepicker.cjs.entry.js +10 -2
  137. package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -0
  138. package/dist/cjs/p-divider.cjs.entry.js +4 -2
  139. package/dist/cjs/p-divider.cjs.entry.js.map +1 -0
  140. package/dist/cjs/p-drawer-body_3.cjs.entry.js +3 -1
  141. package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -0
  142. package/dist/cjs/p-drawer.cjs.entry.js +3 -1
  143. package/dist/cjs/p-drawer.cjs.entry.js.map +1 -0
  144. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +4 -2
  145. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -0
  146. package/dist/cjs/p-dropdown_2.cjs.entry.js +5 -3
  147. package/dist/cjs/p-dropdown_2.cjs.entry.js.map +1 -0
  148. package/dist/cjs/p-helper_3.cjs.entry.js +6 -4
  149. package/dist/cjs/p-helper_3.cjs.entry.js.map +1 -0
  150. package/dist/cjs/p-illustration_6.cjs.entry.js +8 -6
  151. package/dist/cjs/p-illustration_6.cjs.entry.js.map +1 -0
  152. package/dist/cjs/p-info-panel.cjs.entry.js +3 -1
  153. package/dist/cjs/p-info-panel.cjs.entry.js.map +1 -0
  154. package/dist/cjs/p-label_3.cjs.entry.js +6 -4
  155. package/dist/cjs/p-label_3.cjs.entry.js.map +1 -0
  156. package/dist/cjs/p-layout.cjs.entry.js +3 -1
  157. package/dist/cjs/p-layout.cjs.entry.js.map +1 -0
  158. package/dist/cjs/p-modal-body_4.cjs.entry.js +3 -1
  159. package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -0
  160. package/dist/cjs/p-modal.cjs.entry.js +3 -1
  161. package/dist/cjs/p-modal.cjs.entry.js.map +1 -0
  162. package/dist/cjs/p-navbar.cjs.entry.js +3 -1
  163. package/dist/cjs/p-navbar.cjs.entry.js.map +1 -0
  164. package/dist/cjs/p-navigation-item.cjs.entry.js +3 -1
  165. package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -0
  166. package/dist/cjs/p-page-size-select_3.cjs.entry.js +5 -3
  167. package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +1 -0
  168. package/dist/cjs/p-profile.cjs.entry.js +3 -1
  169. package/dist/cjs/p-profile.cjs.entry.js.map +1 -0
  170. package/dist/cjs/p-select.cjs.entry.js +4 -2
  171. package/dist/cjs/p-select.cjs.entry.js.map +1 -0
  172. package/dist/cjs/p-slider-indicator.cjs.entry.js +3 -1
  173. package/dist/cjs/p-slider-indicator.cjs.entry.js.map +1 -0
  174. package/dist/cjs/p-status.cjs.entry.js +3 -1
  175. package/dist/cjs/p-status.cjs.entry.js.map +1 -0
  176. package/dist/cjs/p-stepper-item_2.cjs.entry.js +6 -3
  177. package/dist/cjs/p-stepper-item_2.cjs.entry.js.map +1 -0
  178. package/dist/cjs/p-stepper.cjs.entry.js +6 -3
  179. package/dist/cjs/p-stepper.cjs.entry.js.map +1 -0
  180. package/dist/cjs/p-tab-group.cjs.entry.js +3 -1
  181. package/dist/cjs/p-tab-group.cjs.entry.js.map +1 -0
  182. package/dist/cjs/p-tab-item.cjs.entry.js +3 -1
  183. package/dist/cjs/p-tab-item.cjs.entry.js.map +1 -0
  184. package/dist/cjs/p-table-column.cjs.entry.js +3 -1
  185. package/dist/cjs/p-table-column.cjs.entry.js.map +1 -0
  186. package/dist/cjs/p-table.cjs.entry.js +4 -2
  187. package/dist/cjs/p-table.cjs.entry.js.map +1 -0
  188. package/dist/cjs/p-toast-container.cjs.entry.js +4 -2
  189. package/dist/cjs/p-toast-container.cjs.entry.js.map +1 -0
  190. package/dist/cjs/p-toast.cjs.entry.js +3 -1
  191. package/dist/cjs/p-toast.cjs.entry.js.map +1 -0
  192. package/dist/cjs/paperless.cjs.js +12 -3
  193. package/dist/cjs/paperless.cjs.js.map +1 -0
  194. package/dist/cjs/popper-d7a0f999.js +2 -0
  195. package/dist/cjs/popper-d7a0f999.js.map +1 -0
  196. package/dist/collection/collection-manifest.json +2 -2
  197. package/dist/collection/components/atoms/avatar/avatar.component.js +1 -0
  198. package/dist/collection/components/atoms/avatar/avatar.component.js.map +1 -0
  199. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +1 -0
  200. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js.map +1 -0
  201. package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -1
  202. package/dist/collection/components/atoms/backdrop/backdrop.component.js +1 -0
  203. package/dist/collection/components/atoms/backdrop/backdrop.component.js.map +1 -0
  204. package/dist/collection/components/atoms/button/button.component.css +1 -1
  205. package/dist/collection/components/atoms/button/button.component.js +1 -0
  206. package/dist/collection/components/atoms/button/button.component.js.map +1 -0
  207. package/dist/collection/components/atoms/card-body/card-body.component.js +1 -0
  208. package/dist/collection/components/atoms/card-body/card-body.component.js.map +1 -0
  209. package/dist/collection/components/atoms/card-container/card-container.component.js +1 -0
  210. package/dist/collection/components/atoms/card-container/card-container.component.js.map +1 -0
  211. package/dist/collection/components/atoms/card-header/card-header.component.js +1 -0
  212. package/dist/collection/components/atoms/card-header/card-header.component.js.map +1 -0
  213. package/dist/collection/components/atoms/counter/counter.component.js +1 -0
  214. package/dist/collection/components/atoms/counter/counter.component.js.map +1 -0
  215. package/dist/collection/components/atoms/divider/divider.component.css +1 -1
  216. package/dist/collection/components/atoms/divider/divider.component.js +1 -0
  217. package/dist/collection/components/atoms/divider/divider.component.js.map +1 -0
  218. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +1 -0
  219. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js.map +1 -0
  220. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +1 -0
  221. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js.map +1 -0
  222. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +1 -0
  223. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js.map +1 -0
  224. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
  225. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +1 -0
  226. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js.map +1 -0
  227. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
  228. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +1 -0
  229. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -0
  230. package/dist/collection/components/atoms/helper/helper.component.css +1 -1
  231. package/dist/collection/components/atoms/helper/helper.component.js +1 -0
  232. package/dist/collection/components/atoms/helper/helper.component.js.map +1 -0
  233. package/dist/collection/components/atoms/icon/icon.component.css +1 -1
  234. package/dist/collection/components/atoms/icon/icon.component.js +5 -2
  235. package/dist/collection/components/atoms/icon/icon.component.js.map +1 -0
  236. package/dist/collection/components/atoms/illustration/illustration.component.js +3 -1
  237. package/dist/collection/components/atoms/illustration/illustration.component.js.map +1 -0
  238. package/dist/collection/components/atoms/info-panel/info-panel.component.js +1 -0
  239. package/dist/collection/components/atoms/info-panel/info-panel.component.js.map +1 -0
  240. package/dist/collection/components/atoms/label/label.component.css +1 -1
  241. package/dist/collection/components/atoms/label/label.component.js +1 -0
  242. package/dist/collection/components/atoms/label/label.component.js.map +1 -0
  243. package/dist/collection/components/atoms/layout/layout.component.js +1 -0
  244. package/dist/collection/components/atoms/layout/layout.component.js.map +1 -0
  245. package/dist/collection/components/atoms/loader/loader.component.css +1 -1
  246. package/dist/collection/components/atoms/loader/loader.component.js +1 -0
  247. package/dist/collection/components/atoms/loader/loader.component.js.map +1 -0
  248. package/dist/collection/components/atoms/modal-body/modal-body.component.js +1 -0
  249. package/dist/collection/components/atoms/modal-body/modal-body.component.js.map +1 -0
  250. package/dist/collection/components/atoms/modal-container/modal-container.component.js +1 -0
  251. package/dist/collection/components/atoms/modal-container/modal-container.component.js.map +1 -0
  252. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +1 -0
  253. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js.map +1 -0
  254. package/dist/collection/components/atoms/modal-header/modal-header.component.js +1 -0
  255. package/dist/collection/components/atoms/modal-header/modal-header.component.js.map +1 -0
  256. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -1
  257. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +1 -0
  258. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js.map +1 -0
  259. package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -1
  260. package/dist/collection/components/atoms/segment-container/segment-container.component.js +1 -0
  261. package/dist/collection/components/atoms/segment-container/segment-container.component.js.map +1 -0
  262. package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -1
  263. package/dist/collection/components/atoms/segment-item/segment-item.component.js +1 -0
  264. package/dist/collection/components/atoms/segment-item/segment-item.component.js.map +1 -0
  265. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +1 -0
  266. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js.map +1 -0
  267. package/dist/collection/components/atoms/status/status.component.js +1 -0
  268. package/dist/collection/components/atoms/status/status.component.js.map +1 -0
  269. package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -1
  270. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +20 -0
  271. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js.map +1 -0
  272. package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -1
  273. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +1 -0
  274. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js.map +1 -0
  275. package/dist/collection/components/atoms/tab-group/tab-group.component.js +1 -0
  276. package/dist/collection/components/atoms/tab-group/tab-group.component.js.map +1 -0
  277. package/dist/collection/components/atoms/tab-item/tab-item.component.js +1 -0
  278. package/dist/collection/components/atoms/tab-item/tab-item.component.js.map +1 -0
  279. package/dist/collection/components/atoms/table-container/table-container.component.css +1 -1
  280. package/dist/collection/components/atoms/table-container/table-container.component.js +1 -0
  281. package/dist/collection/components/atoms/table-container/table-container.component.js.map +1 -0
  282. package/dist/collection/components/atoms/toast-container/toast-container.component.css +1 -1
  283. package/dist/collection/components/atoms/toast-container/toast-container.component.js +1 -0
  284. package/dist/collection/components/atoms/toast-container/toast-container.component.js.map +1 -0
  285. package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
  286. package/dist/collection/components/atoms/tooltip/tooltip.component.js +1 -0
  287. package/dist/collection/components/atoms/tooltip/tooltip.component.js.map +1 -0
  288. package/dist/collection/components/helpers/table-column/table-column.component.js +1 -0
  289. package/dist/collection/components/helpers/table-column/table-column.component.js.map +1 -0
  290. package/dist/collection/components/molecules/accordion/accordion.component.css +1 -1
  291. package/dist/collection/components/molecules/accordion/accordion.component.js +1 -0
  292. package/dist/collection/components/molecules/accordion/accordion.component.js.map +1 -0
  293. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -0
  294. package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -0
  295. package/dist/collection/components/molecules/content-slider/content-slider.component.js +1 -0
  296. package/dist/collection/components/molecules/content-slider/content-slider.component.js.map +1 -0
  297. package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -1
  298. package/dist/collection/components/molecules/datepicker/datepicker.component.js +7 -0
  299. package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -0
  300. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
  301. package/dist/collection/components/molecules/dropdown/dropdown.component.js +1 -0
  302. package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -0
  303. package/dist/collection/components/molecules/input-group/input-group.component.css +1 -1
  304. package/dist/collection/components/molecules/input-group/input-group.component.js +1 -0
  305. package/dist/collection/components/molecules/input-group/input-group.component.js.map +1 -0
  306. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +1 -0
  307. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js.map +1 -0
  308. package/dist/collection/components/molecules/page-size-select/constants.js +1 -0
  309. package/dist/collection/components/molecules/page-size-select/constants.js.map +1 -0
  310. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +5 -2
  311. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js.map +1 -0
  312. package/dist/collection/components/molecules/pagination/pagination.component.css +1 -1
  313. package/dist/collection/components/molecules/pagination/pagination.component.js +1 -0
  314. package/dist/collection/components/molecules/pagination/pagination.component.js.map +1 -0
  315. package/dist/collection/components/molecules/profile/profile.component.js +1 -0
  316. package/dist/collection/components/molecules/profile/profile.component.js.map +1 -0
  317. package/dist/collection/components/molecules/select/select.component.css +1 -1
  318. package/dist/collection/components/molecules/select/select.component.js +1 -0
  319. package/dist/collection/components/molecules/select/select.component.js.map +1 -0
  320. package/dist/collection/components/molecules/stepper/stepper.component.css +1 -1
  321. package/dist/collection/components/molecules/stepper/stepper.component.js +21 -1
  322. package/dist/collection/components/molecules/stepper/stepper.component.js.map +1 -0
  323. package/dist/collection/components/molecules/table-cell/table-cell.component.css +1 -1
  324. package/dist/collection/components/molecules/table-cell/table-cell.component.js +1 -0
  325. package/dist/collection/components/molecules/table-cell/table-cell.component.js.map +1 -0
  326. package/dist/collection/components/molecules/table-footer/table-footer.component.css +1 -1
  327. package/dist/collection/components/molecules/table-footer/table-footer.component.js +1 -0
  328. package/dist/collection/components/molecules/table-footer/table-footer.component.js.map +1 -0
  329. package/dist/collection/components/molecules/table-header/table-header.component.css +1 -1
  330. package/dist/collection/components/molecules/table-header/table-header.component.js +5 -2
  331. package/dist/collection/components/molecules/table-header/table-header.component.js.map +1 -0
  332. package/dist/collection/components/molecules/table-row/table-row.component.css +1 -1
  333. package/dist/collection/components/molecules/table-row/table-row.component.js +1 -0
  334. package/dist/collection/components/molecules/table-row/table-row.component.js.map +1 -0
  335. package/dist/collection/components/molecules/toast/toast.component.js +1 -0
  336. package/dist/collection/components/molecules/toast/toast.component.js.map +1 -0
  337. package/dist/collection/components/organisms/drawer/drawer.component.js +1 -0
  338. package/dist/collection/components/organisms/drawer/drawer.component.js.map +1 -0
  339. package/dist/collection/components/organisms/modal/modal.component.js +1 -0
  340. package/dist/collection/components/organisms/modal/modal.component.js.map +1 -0
  341. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -0
  342. package/dist/collection/components/organisms/navbar/navbar.component.js.map +1 -0
  343. package/dist/collection/components/organisms/table/table.component.css +1 -1
  344. package/dist/collection/components/organisms/table/table.component.js +13 -6
  345. package/dist/collection/components/organisms/table/table.component.js.map +1 -0
  346. package/dist/collection/index.js +1 -0
  347. package/dist/collection/index.js.map +1 -0
  348. package/dist/collection/types/index.js +1 -0
  349. package/dist/collection/types/index.js.map +1 -0
  350. package/dist/collection/types/table.js +1 -0
  351. package/dist/collection/types/table.js.map +1 -0
  352. package/dist/collection/types/tailwind.js +1 -0
  353. package/dist/collection/types/tailwind.js.map +1 -0
  354. package/dist/collection/utils/child-of.js +1 -0
  355. package/dist/collection/utils/child-of.js.map +1 -0
  356. package/dist/collection/utils/icons.js +1 -0
  357. package/dist/collection/utils/icons.js.map +1 -0
  358. package/dist/collection/utils/illustrations.js +1 -0
  359. package/dist/collection/utils/illustrations.js.map +1 -0
  360. package/dist/collection/utils/index.js +1 -0
  361. package/dist/collection/utils/index.js.map +1 -0
  362. package/dist/collection/utils/localization.js +1 -0
  363. package/dist/collection/utils/localization.js.map +1 -0
  364. package/dist/collection/utils/object-get-by-path.js +1 -0
  365. package/dist/collection/utils/object-get-by-path.js.map +1 -0
  366. package/dist/collection/utils/transformers.js +1 -0
  367. package/dist/collection/utils/transformers.js.map +1 -0
  368. package/dist/components/backdrop.component.js +3 -1
  369. package/dist/components/backdrop.component.js.map +1 -0
  370. package/dist/components/button.component.js +3 -1
  371. package/dist/components/button.component.js.map +1 -0
  372. package/dist/components/calendar.component.js +2 -0
  373. package/dist/components/calendar.component.js.map +1 -0
  374. package/dist/components/child-of.js +9 -0
  375. package/dist/components/child-of.js.map +1 -0
  376. package/dist/components/counter.component.js +2 -0
  377. package/dist/components/counter.component.js.map +1 -0
  378. package/dist/components/divider.component.js +3 -1
  379. package/dist/components/divider.component.js.map +1 -0
  380. package/dist/components/drawer-body.component.js +2 -0
  381. package/dist/components/drawer-body.component.js.map +1 -0
  382. package/dist/components/drawer-container.component.js +2 -0
  383. package/dist/components/drawer-container.component.js.map +1 -0
  384. package/dist/components/drawer-header.component.js +2 -0
  385. package/dist/components/drawer-header.component.js.map +1 -0
  386. package/dist/components/dropdown-menu-container.component.js +3 -1
  387. package/dist/components/dropdown-menu-container.component.js.map +1 -0
  388. package/dist/components/dropdown-menu-item.component.js +3 -1
  389. package/dist/components/dropdown-menu-item.component.js.map +1 -0
  390. package/dist/components/dropdown.component.js +5 -8
  391. package/dist/components/dropdown.component.js.map +1 -0
  392. package/dist/components/helper.component.js +3 -1
  393. package/dist/components/helper.component.js.map +1 -0
  394. package/dist/components/icon.component.js +3 -1
  395. package/dist/components/icon.component.js.map +1 -0
  396. package/dist/components/illustration.component.js +2 -0
  397. package/dist/components/illustration.component.js.map +1 -0
  398. package/dist/components/index.d.ts +9 -62
  399. package/dist/components/index.js +5 -62
  400. package/dist/components/index.js.map +1 -0
  401. package/dist/components/input-group.component.js +3 -1
  402. package/dist/components/input-group.component.js.map +1 -0
  403. package/dist/components/label.component.js +3 -1
  404. package/dist/components/label.component.js.map +1 -0
  405. package/dist/components/loader.component.js +3 -1
  406. package/dist/components/loader.component.js.map +1 -0
  407. package/dist/components/localization.js +2 -0
  408. package/dist/components/localization.js.map +1 -0
  409. package/dist/components/modal-body.component.js +2 -0
  410. package/dist/components/modal-body.component.js.map +1 -0
  411. package/dist/components/modal-container.component.js +2 -0
  412. package/dist/components/modal-container.component.js.map +1 -0
  413. package/dist/components/modal-footer.component.js +2 -0
  414. package/dist/components/modal-footer.component.js.map +1 -0
  415. package/dist/components/modal-header.component.js +2 -0
  416. package/dist/components/modal-header.component.js.map +1 -0
  417. package/dist/components/object-get-by-path.js +12 -0
  418. package/dist/components/object-get-by-path.js.map +1 -0
  419. package/dist/components/p-accordion.js +2 -0
  420. package/dist/components/p-accordion.js.map +1 -0
  421. package/dist/components/p-avatar-group.js +2 -0
  422. package/dist/components/p-avatar-group.js.map +1 -0
  423. package/dist/components/p-avatar.js +2 -0
  424. package/dist/components/p-avatar.js.map +1 -0
  425. package/dist/components/p-backdrop.js +2 -0
  426. package/dist/components/p-backdrop.js.map +1 -0
  427. package/dist/components/p-button.js +2 -0
  428. package/dist/components/p-button.js.map +1 -0
  429. package/dist/components/p-calendar.js +2 -0
  430. package/dist/components/p-calendar.js.map +1 -0
  431. package/dist/components/p-card-body.js +2 -0
  432. package/dist/components/p-card-body.js.map +1 -0
  433. package/dist/components/p-card-container.js +2 -0
  434. package/dist/components/p-card-container.js.map +1 -0
  435. package/dist/components/p-card-header.js +2 -0
  436. package/dist/components/p-card-header.js.map +1 -0
  437. package/dist/components/p-content-slider.js +2 -0
  438. package/dist/components/p-content-slider.js.map +1 -0
  439. package/dist/components/p-counter.js +2 -0
  440. package/dist/components/p-counter.js.map +1 -0
  441. package/dist/components/p-datepicker.js +11 -2
  442. package/dist/components/p-datepicker.js.map +1 -0
  443. package/dist/components/p-divider.js +2 -0
  444. package/dist/components/p-divider.js.map +1 -0
  445. package/dist/components/p-drawer-body.js +2 -0
  446. package/dist/components/p-drawer-body.js.map +1 -0
  447. package/dist/components/p-drawer-container.js +2 -0
  448. package/dist/components/p-drawer-container.js.map +1 -0
  449. package/dist/components/p-drawer-header.js +2 -0
  450. package/dist/components/p-drawer-header.js.map +1 -0
  451. package/dist/components/p-drawer.js +2 -0
  452. package/dist/components/p-drawer.js.map +1 -0
  453. package/dist/components/p-dropdown-menu-container.js +2 -0
  454. package/dist/components/p-dropdown-menu-container.js.map +1 -0
  455. package/dist/components/p-dropdown-menu-item.js +2 -0
  456. package/dist/components/p-dropdown-menu-item.js.map +1 -0
  457. package/dist/components/p-dropdown.js +2 -0
  458. package/dist/components/p-dropdown.js.map +1 -0
  459. package/dist/components/p-helper.js +2 -0
  460. package/dist/components/p-helper.js.map +1 -0
  461. package/dist/components/p-icon.js +2 -0
  462. package/dist/components/p-icon.js.map +1 -0
  463. package/dist/components/p-illustration.js +2 -0
  464. package/dist/components/p-illustration.js.map +1 -0
  465. package/dist/components/p-info-panel.js +2 -0
  466. package/dist/components/p-info-panel.js.map +1 -0
  467. package/dist/components/p-input-group.js +2 -0
  468. package/dist/components/p-input-group.js.map +1 -0
  469. package/dist/components/p-label.js +2 -0
  470. package/dist/components/p-label.js.map +1 -0
  471. package/dist/components/p-layout.js +2 -0
  472. package/dist/components/p-layout.js.map +1 -0
  473. package/dist/components/p-loader.js +2 -0
  474. package/dist/components/p-loader.js.map +1 -0
  475. package/dist/components/p-modal-body.js +2 -0
  476. package/dist/components/p-modal-body.js.map +1 -0
  477. package/dist/components/p-modal-container.js +2 -0
  478. package/dist/components/p-modal-container.js.map +1 -0
  479. package/dist/components/p-modal-footer.js +2 -0
  480. package/dist/components/p-modal-footer.js.map +1 -0
  481. package/dist/components/p-modal-header.js +2 -0
  482. package/dist/components/p-modal-header.js.map +1 -0
  483. package/dist/components/p-modal.js +2 -0
  484. package/dist/components/p-modal.js.map +1 -0
  485. package/dist/components/p-navbar.js +2 -0
  486. package/dist/components/p-navbar.js.map +1 -0
  487. package/dist/components/p-navigation-item.js +2 -0
  488. package/dist/components/p-navigation-item.js.map +1 -0
  489. package/dist/components/p-page-size-select.js +2 -0
  490. package/dist/components/p-page-size-select.js.map +1 -0
  491. package/dist/components/p-pagination-item.js +2 -0
  492. package/dist/components/p-pagination-item.js.map +1 -0
  493. package/dist/components/p-pagination.js +2 -0
  494. package/dist/components/p-pagination.js.map +1 -0
  495. package/dist/components/p-profile.js +2 -0
  496. package/dist/components/p-profile.js.map +1 -0
  497. package/dist/components/p-segment-container.js +2 -0
  498. package/dist/components/p-segment-container.js.map +1 -0
  499. package/dist/components/p-segment-item.js +2 -0
  500. package/dist/components/p-segment-item.js.map +1 -0
  501. package/dist/components/p-select.js +5 -2
  502. package/dist/components/p-select.js.map +1 -0
  503. package/dist/components/p-slider-indicator.js +2 -0
  504. package/dist/components/p-slider-indicator.js.map +1 -0
  505. package/dist/components/p-status.js +2 -0
  506. package/dist/components/p-status.js.map +1 -0
  507. package/dist/components/p-stepper-item.js +2 -0
  508. package/dist/components/p-stepper-item.js.map +1 -0
  509. package/dist/components/p-stepper-line.js +2 -0
  510. package/dist/components/p-stepper-line.js.map +1 -0
  511. package/dist/components/p-stepper.js +7 -3
  512. package/dist/components/p-stepper.js.map +1 -0
  513. package/dist/components/p-tab-group.js +2 -0
  514. package/dist/components/p-tab-group.js.map +1 -0
  515. package/dist/components/p-tab-item.js +2 -0
  516. package/dist/components/p-tab-item.js.map +1 -0
  517. package/dist/components/p-table-cell.js +2 -0
  518. package/dist/components/p-table-cell.js.map +1 -0
  519. package/dist/components/p-table-column.js +2 -0
  520. package/dist/components/p-table-column.js.map +1 -0
  521. package/dist/components/p-table-container.js +2 -0
  522. package/dist/components/p-table-container.js.map +1 -0
  523. package/dist/components/p-table-footer.js +2 -0
  524. package/dist/components/p-table-footer.js.map +1 -0
  525. package/dist/components/p-table-header.js +2 -0
  526. package/dist/components/p-table-header.js.map +1 -0
  527. package/dist/components/p-table-row.js +2 -0
  528. package/dist/components/p-table-row.js.map +1 -0
  529. package/dist/components/p-table.js +3 -1
  530. package/dist/components/p-table.js.map +1 -0
  531. package/dist/components/p-toast-container.js +3 -1
  532. package/dist/components/p-toast-container.js.map +1 -0
  533. package/dist/components/p-toast.js +2 -0
  534. package/dist/components/p-toast.js.map +1 -0
  535. package/dist/components/p-tooltip.js +2 -0
  536. package/dist/components/p-tooltip.js.map +1 -0
  537. package/dist/components/page-size-select.component.js +2 -0
  538. package/dist/components/page-size-select.component.js.map +1 -0
  539. package/dist/components/pagination-item.component.js +3 -1
  540. package/dist/components/pagination-item.component.js.map +1 -0
  541. package/dist/components/pagination.component.js +3 -1
  542. package/dist/components/pagination.component.js.map +1 -0
  543. package/dist/components/popper.js +2 -0
  544. package/dist/components/popper.js.map +1 -0
  545. package/dist/components/segment-container.component.js +3 -1
  546. package/dist/components/segment-container.component.js.map +1 -0
  547. package/dist/components/segment-item.component.js +3 -1
  548. package/dist/components/segment-item.component.js.map +1 -0
  549. package/dist/components/slider-indicator.component.js +2 -0
  550. package/dist/components/slider-indicator.component.js.map +1 -0
  551. package/dist/components/stepper-item.component.js +5 -1
  552. package/dist/components/stepper-item.component.js.map +1 -0
  553. package/dist/components/stepper-line.component.js +3 -1
  554. package/dist/components/stepper-line.component.js.map +1 -0
  555. package/dist/components/table-cell.component.js +5 -11
  556. package/dist/components/table-cell.component.js.map +1 -0
  557. package/dist/components/table-container.component.js +3 -1
  558. package/dist/components/table-container.component.js.map +1 -0
  559. package/dist/components/table-footer.component.js +3 -1
  560. package/dist/components/table-footer.component.js.map +1 -0
  561. package/dist/components/table-header.component.js +3 -1
  562. package/dist/components/table-header.component.js.map +1 -0
  563. package/dist/components/table-row.component.js +3 -1
  564. package/dist/components/table-row.component.js.map +1 -0
  565. package/dist/components/tooltip.component.js +3 -1
  566. package/dist/components/tooltip.component.js.map +1 -0
  567. package/dist/esm/child-of-90a8c4b5.js +2 -0
  568. package/dist/esm/child-of-90a8c4b5.js.map +1 -0
  569. package/dist/esm/constants-826f9460.js +2 -0
  570. package/dist/esm/constants-826f9460.js.map +1 -0
  571. package/dist/esm/index-340e085c.js +2 -0
  572. package/dist/esm/index-340e085c.js.map +1 -0
  573. package/dist/esm/{index-8170b4fb.js → index-5b62da5c.js} +122 -4
  574. package/dist/esm/index-5b62da5c.js.map +1 -0
  575. package/dist/esm/index.js +2 -0
  576. package/dist/esm/index.js.map +1 -0
  577. package/dist/esm/loader.js +6 -3
  578. package/dist/esm/loader.js.map +1 -0
  579. package/dist/esm/localization-901dc2d3.js +2 -0
  580. package/dist/esm/localization-901dc2d3.js.map +1 -0
  581. package/dist/esm/object-get-by-path-d6427a61.js +2 -0
  582. package/dist/esm/object-get-by-path-d6427a61.js.map +1 -0
  583. package/dist/esm/p-accordion.entry.js +3 -1
  584. package/dist/esm/p-accordion.entry.js.map +1 -0
  585. package/dist/esm/p-avatar-group.entry.js +3 -1
  586. package/dist/esm/p-avatar-group.entry.js.map +1 -0
  587. package/dist/esm/p-avatar.entry.js +3 -1
  588. package/dist/esm/p-avatar.entry.js.map +1 -0
  589. package/dist/esm/p-backdrop.entry.js +4 -2
  590. package/dist/esm/p-backdrop.entry.js.map +1 -0
  591. package/dist/esm/p-button_3.entry.js +6 -4
  592. package/dist/esm/p-button_3.entry.js.map +1 -0
  593. package/dist/esm/p-calendar.entry.js +3 -1
  594. package/dist/esm/p-calendar.entry.js.map +1 -0
  595. package/dist/esm/p-card-body.entry.js +3 -1
  596. package/dist/esm/p-card-body.entry.js.map +1 -0
  597. package/dist/esm/p-card-container.entry.js +3 -1
  598. package/dist/esm/p-card-container.entry.js.map +1 -0
  599. package/dist/esm/p-card-header.entry.js +3 -1
  600. package/dist/esm/p-card-header.entry.js.map +1 -0
  601. package/dist/esm/p-content-slider.entry.js +3 -1
  602. package/dist/esm/p-content-slider.entry.js.map +1 -0
  603. package/dist/esm/p-counter.entry.js +3 -1
  604. package/dist/esm/p-counter.entry.js.map +1 -0
  605. package/dist/esm/p-datepicker.entry.js +10 -2
  606. package/dist/esm/p-datepicker.entry.js.map +1 -0
  607. package/dist/esm/p-divider.entry.js +4 -2
  608. package/dist/esm/p-divider.entry.js.map +1 -0
  609. package/dist/esm/p-drawer-body_3.entry.js +3 -1
  610. package/dist/esm/p-drawer-body_3.entry.js.map +1 -0
  611. package/dist/esm/p-drawer.entry.js +3 -1
  612. package/dist/esm/p-drawer.entry.js.map +1 -0
  613. package/dist/esm/p-dropdown-menu-container.entry.js +4 -2
  614. package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -0
  615. package/dist/esm/p-dropdown_2.entry.js +5 -3
  616. package/dist/esm/p-dropdown_2.entry.js.map +1 -0
  617. package/dist/esm/p-helper_3.entry.js +6 -4
  618. package/dist/esm/p-helper_3.entry.js.map +1 -0
  619. package/dist/esm/p-illustration_6.entry.js +8 -6
  620. package/dist/esm/p-illustration_6.entry.js.map +1 -0
  621. package/dist/esm/p-info-panel.entry.js +3 -1
  622. package/dist/esm/p-info-panel.entry.js.map +1 -0
  623. package/dist/esm/p-label_3.entry.js +6 -4
  624. package/dist/esm/p-label_3.entry.js.map +1 -0
  625. package/dist/esm/p-layout.entry.js +3 -1
  626. package/dist/esm/p-layout.entry.js.map +1 -0
  627. package/dist/esm/p-modal-body_4.entry.js +3 -1
  628. package/dist/esm/p-modal-body_4.entry.js.map +1 -0
  629. package/dist/esm/p-modal.entry.js +3 -1
  630. package/dist/esm/p-modal.entry.js.map +1 -0
  631. package/dist/esm/p-navbar.entry.js +3 -1
  632. package/dist/esm/p-navbar.entry.js.map +1 -0
  633. package/dist/esm/p-navigation-item.entry.js +3 -1
  634. package/dist/esm/p-navigation-item.entry.js.map +1 -0
  635. package/dist/esm/p-page-size-select_3.entry.js +5 -3
  636. package/dist/esm/p-page-size-select_3.entry.js.map +1 -0
  637. package/dist/esm/p-profile.entry.js +3 -1
  638. package/dist/esm/p-profile.entry.js.map +1 -0
  639. package/dist/esm/p-select.entry.js +4 -2
  640. package/dist/esm/p-select.entry.js.map +1 -0
  641. package/dist/esm/p-slider-indicator.entry.js +3 -1
  642. package/dist/esm/p-slider-indicator.entry.js.map +1 -0
  643. package/dist/esm/p-status.entry.js +3 -1
  644. package/dist/esm/p-status.entry.js.map +1 -0
  645. package/dist/esm/p-stepper-item_2.entry.js +6 -3
  646. package/dist/esm/p-stepper-item_2.entry.js.map +1 -0
  647. package/dist/esm/p-stepper.entry.js +6 -3
  648. package/dist/esm/p-stepper.entry.js.map +1 -0
  649. package/dist/esm/p-tab-group.entry.js +3 -1
  650. package/dist/esm/p-tab-group.entry.js.map +1 -0
  651. package/dist/esm/p-tab-item.entry.js +3 -1
  652. package/dist/esm/p-tab-item.entry.js.map +1 -0
  653. package/dist/esm/p-table-column.entry.js +3 -1
  654. package/dist/esm/p-table-column.entry.js.map +1 -0
  655. package/dist/esm/p-table.entry.js +4 -2
  656. package/dist/esm/p-table.entry.js.map +1 -0
  657. package/dist/esm/p-toast-container.entry.js +4 -2
  658. package/dist/esm/p-toast-container.entry.js.map +1 -0
  659. package/dist/esm/p-toast.entry.js +3 -1
  660. package/dist/esm/p-toast.entry.js.map +1 -0
  661. package/dist/esm/paperless.js +9 -3
  662. package/dist/esm/paperless.js.map +1 -0
  663. package/dist/esm/polyfills/css-shim.js +1 -1
  664. package/dist/esm/popper-42db9fbd.js +2 -0
  665. package/dist/esm/popper-42db9fbd.js.map +1 -0
  666. package/dist/index.html +1 -1
  667. package/dist/paperless/index.esm.js +2 -1
  668. package/dist/paperless/index.esm.js.map +1 -0
  669. package/dist/paperless/p-05f976da.entry.js +2 -0
  670. package/dist/paperless/p-05f976da.entry.js.map +1 -0
  671. package/dist/paperless/p-0764d32f.entry.js +2 -0
  672. package/dist/paperless/p-0764d32f.entry.js.map +1 -0
  673. package/dist/paperless/p-09a3626c.entry.js +2 -0
  674. package/dist/paperless/p-09a3626c.entry.js.map +1 -0
  675. package/dist/paperless/p-09ea2a1a.js +2 -1
  676. package/dist/paperless/p-09ea2a1a.js.map +1 -0
  677. package/dist/paperless/p-142c9878.entry.js +2 -0
  678. package/dist/paperless/p-142c9878.entry.js.map +1 -0
  679. package/dist/paperless/p-2336d954.entry.js +2 -0
  680. package/dist/paperless/p-2336d954.entry.js.map +1 -0
  681. package/dist/paperless/p-26501e6f.entry.js +2 -0
  682. package/dist/paperless/p-26501e6f.entry.js.map +1 -0
  683. package/dist/paperless/p-270f2589.entry.js +2 -0
  684. package/dist/paperless/p-270f2589.entry.js.map +1 -0
  685. package/dist/paperless/p-295ef188.entry.js +2 -0
  686. package/dist/paperless/p-295ef188.entry.js.map +1 -0
  687. package/dist/paperless/p-2e66e252.entry.js +2 -0
  688. package/dist/paperless/p-2e66e252.entry.js.map +1 -0
  689. package/dist/paperless/p-38f88fcb.entry.js +2 -0
  690. package/dist/paperless/p-38f88fcb.entry.js.map +1 -0
  691. package/dist/paperless/p-3fffdc43.entry.js +2 -0
  692. package/dist/paperless/p-3fffdc43.entry.js.map +1 -0
  693. package/dist/paperless/p-4539d855.entry.js +2 -0
  694. package/dist/paperless/p-4539d855.entry.js.map +1 -0
  695. package/dist/paperless/p-4e650fe4.js +2 -1
  696. package/dist/paperless/p-4e650fe4.js.map +1 -0
  697. package/dist/paperless/p-52d7d305.entry.js +2 -0
  698. package/dist/paperless/p-52d7d305.entry.js.map +1 -0
  699. package/dist/paperless/p-5477db13.entry.js +2 -0
  700. package/dist/paperless/p-5477db13.entry.js.map +1 -0
  701. package/dist/paperless/p-5da19525.entry.js +2 -0
  702. package/dist/paperless/p-5da19525.entry.js.map +1 -0
  703. package/dist/paperless/p-5f8538e7.entry.js +2 -0
  704. package/dist/paperless/p-5f8538e7.entry.js.map +1 -0
  705. package/dist/paperless/p-62543956.entry.js +2 -0
  706. package/dist/paperless/p-62543956.entry.js.map +1 -0
  707. package/dist/paperless/p-6c60fd3d.js +2 -1
  708. package/dist/paperless/p-6c60fd3d.js.map +1 -0
  709. package/dist/paperless/p-8a471962.entry.js +2 -0
  710. package/dist/paperless/p-8a471962.entry.js.map +1 -0
  711. package/dist/paperless/p-8a6728d5.js +2 -1
  712. package/dist/paperless/p-8a6728d5.js.map +1 -0
  713. package/dist/paperless/p-8c8f9caa.entry.js +2 -0
  714. package/dist/paperless/p-8c8f9caa.entry.js.map +1 -0
  715. package/dist/paperless/p-90a0ba40.entry.js +2 -0
  716. package/dist/paperless/p-90a0ba40.entry.js.map +1 -0
  717. package/dist/paperless/p-91a42549.entry.js +2 -0
  718. package/dist/paperless/p-91a42549.entry.js.map +1 -0
  719. package/dist/paperless/p-9f4617e1.entry.js +2 -0
  720. package/dist/paperless/p-9f4617e1.entry.js.map +1 -0
  721. package/dist/paperless/p-a5133564.entry.js +2 -0
  722. package/dist/paperless/p-a5133564.entry.js.map +1 -0
  723. package/dist/paperless/p-b273ac6d.js +2 -1
  724. package/dist/paperless/p-b273ac6d.js.map +1 -0
  725. package/dist/paperless/p-b54a9bb2.entry.js +2 -0
  726. package/dist/paperless/p-b54a9bb2.entry.js.map +1 -0
  727. package/dist/paperless/p-b5a51e04.entry.js +2 -0
  728. package/dist/paperless/p-b5a51e04.entry.js.map +1 -0
  729. package/dist/paperless/p-bcbb18e0.entry.js +2 -0
  730. package/dist/paperless/p-bcbb18e0.entry.js.map +1 -0
  731. package/dist/paperless/{p-529ccaf7.entry.js → p-c1ab6e47.entry.js} +2 -1
  732. package/dist/paperless/p-c1ab6e47.entry.js.map +1 -0
  733. package/dist/paperless/p-c432f3f6.js +3 -0
  734. package/dist/paperless/p-c432f3f6.js.map +1 -0
  735. package/dist/paperless/p-c5a5a394.entry.js +2 -0
  736. package/dist/paperless/p-c5a5a394.entry.js.map +1 -0
  737. package/dist/paperless/p-ce944a28.entry.js +2 -0
  738. package/dist/paperless/p-ce944a28.entry.js.map +1 -0
  739. package/dist/paperless/p-d3d37d1d.entry.js +2 -0
  740. package/dist/paperless/p-d3d37d1d.entry.js.map +1 -0
  741. package/dist/paperless/p-d85a8835.entry.js +2 -0
  742. package/dist/paperless/p-d85a8835.entry.js.map +1 -0
  743. package/dist/paperless/p-db4c03d8.entry.js +2 -0
  744. package/dist/paperless/p-db4c03d8.entry.js.map +1 -0
  745. package/dist/paperless/p-dcf862ac.entry.js +2 -0
  746. package/dist/paperless/p-dcf862ac.entry.js.map +1 -0
  747. package/dist/paperless/p-df38fb1d.entry.js +2 -0
  748. package/dist/paperless/p-df38fb1d.entry.js.map +1 -0
  749. package/dist/paperless/p-e6561000.entry.js +2 -0
  750. package/dist/paperless/p-e6561000.entry.js.map +1 -0
  751. package/dist/paperless/p-ef0622db.entry.js +2 -0
  752. package/dist/paperless/p-ef0622db.entry.js.map +1 -0
  753. package/dist/paperless/p-f64106d1.entry.js +2 -0
  754. package/dist/paperless/p-f64106d1.entry.js.map +1 -0
  755. package/dist/paperless/p-f86fcdf4.js +2 -1
  756. package/dist/paperless/p-f86fcdf4.js.map +1 -0
  757. package/dist/paperless/p-fb277355.entry.js +2 -0
  758. package/dist/paperless/p-fb277355.entry.js.map +1 -0
  759. package/dist/paperless/p-fe6db098.entry.js +2 -0
  760. package/dist/paperless/p-fe6db098.entry.js.map +1 -0
  761. package/dist/paperless/paperless.esm.js +2 -1
  762. package/dist/paperless/paperless.esm.js.map +1 -0
  763. package/dist/sw.js +1 -1
  764. package/dist/sw.js.map +1 -1
  765. package/dist/types/components/atoms/icon/icon.component.d.ts +2 -2
  766. package/dist/types/components/atoms/illustration/illustration.component.d.ts +1 -1
  767. package/dist/types/components/atoms/stepper-item/stepper-item.component.d.ts +4 -0
  768. package/dist/types/components/molecules/datepicker/datepicker.component.d.ts +2 -0
  769. package/dist/types/components/molecules/page-size-select/page-size-select.component.d.ts +1 -1
  770. package/dist/types/components/molecules/stepper/stepper.component.d.ts +4 -0
  771. package/dist/types/components/molecules/table-header/table-header.component.d.ts +2 -2
  772. package/dist/types/components/organisms/table/table.component.d.ts +1 -1
  773. package/dist/types/components.d.ts +49 -20
  774. package/dist/types/stencil-public-runtime.d.ts +71 -15
  775. package/dist/types/types/table.d.ts +2 -2
  776. package/dist/types/types/tailwind.d.ts +2 -2
  777. package/loader/index.d.ts +9 -0
  778. package/package.json +6 -6
  779. package/dist/build/p-05f73516.entry.js +0 -1
  780. package/dist/build/p-0688d548.entry.js +0 -1
  781. package/dist/build/p-07f28695.entry.js +0 -1
  782. package/dist/build/p-12f5c483.entry.js +0 -1
  783. package/dist/build/p-13169f11.entry.js +0 -1
  784. package/dist/build/p-1a8b852d.entry.js +0 -1
  785. package/dist/build/p-1ba7cadc.entry.js +0 -1
  786. package/dist/build/p-2e47afc7.entry.js +0 -1
  787. package/dist/build/p-3946e0a3.entry.js +0 -1
  788. package/dist/build/p-3a98b145.entry.js +0 -1
  789. package/dist/build/p-5b7c22ee.entry.js +0 -1
  790. package/dist/build/p-62d49606.entry.js +0 -1
  791. package/dist/build/p-63de1c3d.entry.js +0 -1
  792. package/dist/build/p-681ed79b.entry.js +0 -1
  793. package/dist/build/p-76cbf5bb.entry.js +0 -1
  794. package/dist/build/p-7cdad890.entry.js +0 -1
  795. package/dist/build/p-7df6230f.entry.js +0 -1
  796. package/dist/build/p-7f4b2d8e.entry.js +0 -1
  797. package/dist/build/p-80a032ae.entry.js +0 -1
  798. package/dist/build/p-8b09a126.entry.js +0 -1
  799. package/dist/build/p-91d032b2.entry.js +0 -1
  800. package/dist/build/p-9315c1e2.entry.js +0 -1
  801. package/dist/build/p-98e3dcd7.entry.js +0 -1
  802. package/dist/build/p-ac5a17c4.entry.js +0 -1
  803. package/dist/build/p-b072e53b.entry.js +0 -1
  804. package/dist/build/p-b4af4b21.entry.js +0 -1
  805. package/dist/build/p-b55c1a9c.entry.js +0 -1
  806. package/dist/build/p-b72559e4.entry.js +0 -1
  807. package/dist/build/p-b8dd503c.entry.js +0 -1
  808. package/dist/build/p-c9f2fa8f.js +0 -2
  809. package/dist/build/p-d2cf5ab2.entry.js +0 -1
  810. package/dist/build/p-d896ab0d.entry.js +0 -1
  811. package/dist/build/p-dbb409ab.entry.js +0 -1
  812. package/dist/build/p-ddd3372b.entry.js +0 -1
  813. package/dist/build/p-e25ea1c8.entry.js +0 -1
  814. package/dist/build/p-f1867cb5.entry.js +0 -1
  815. package/dist/build/p-f499f696.entry.js +0 -1
  816. package/dist/build/p-fa3216a5.entry.js +0 -1
  817. package/dist/build/p-fecba798.entry.js +0 -1
  818. package/dist/paperless/p-05f73516.entry.js +0 -1
  819. package/dist/paperless/p-0688d548.entry.js +0 -1
  820. package/dist/paperless/p-07f28695.entry.js +0 -1
  821. package/dist/paperless/p-12f5c483.entry.js +0 -1
  822. package/dist/paperless/p-13169f11.entry.js +0 -1
  823. package/dist/paperless/p-1a8b852d.entry.js +0 -1
  824. package/dist/paperless/p-1ba7cadc.entry.js +0 -1
  825. package/dist/paperless/p-2e47afc7.entry.js +0 -1
  826. package/dist/paperless/p-3946e0a3.entry.js +0 -1
  827. package/dist/paperless/p-3a98b145.entry.js +0 -1
  828. package/dist/paperless/p-5b7c22ee.entry.js +0 -1
  829. package/dist/paperless/p-62d49606.entry.js +0 -1
  830. package/dist/paperless/p-63de1c3d.entry.js +0 -1
  831. package/dist/paperless/p-681ed79b.entry.js +0 -1
  832. package/dist/paperless/p-76cbf5bb.entry.js +0 -1
  833. package/dist/paperless/p-7cdad890.entry.js +0 -1
  834. package/dist/paperless/p-7df6230f.entry.js +0 -1
  835. package/dist/paperless/p-7f4b2d8e.entry.js +0 -1
  836. package/dist/paperless/p-80a032ae.entry.js +0 -1
  837. package/dist/paperless/p-8b09a126.entry.js +0 -1
  838. package/dist/paperless/p-91d032b2.entry.js +0 -1
  839. package/dist/paperless/p-9315c1e2.entry.js +0 -1
  840. package/dist/paperless/p-98e3dcd7.entry.js +0 -1
  841. package/dist/paperless/p-ac5a17c4.entry.js +0 -1
  842. package/dist/paperless/p-b072e53b.entry.js +0 -1
  843. package/dist/paperless/p-b4af4b21.entry.js +0 -1
  844. package/dist/paperless/p-b55c1a9c.entry.js +0 -1
  845. package/dist/paperless/p-b72559e4.entry.js +0 -1
  846. package/dist/paperless/p-b8dd503c.entry.js +0 -1
  847. package/dist/paperless/p-c9f2fa8f.js +0 -2
  848. package/dist/paperless/p-d2cf5ab2.entry.js +0 -1
  849. package/dist/paperless/p-d896ab0d.entry.js +0 -1
  850. package/dist/paperless/p-dbb409ab.entry.js +0 -1
  851. package/dist/paperless/p-ddd3372b.entry.js +0 -1
  852. package/dist/paperless/p-e25ea1c8.entry.js +0 -1
  853. package/dist/paperless/p-f1867cb5.entry.js +0 -1
  854. package/dist/paperless/p-f499f696.entry.js +0 -1
  855. package/dist/paperless/p-fa3216a5.entry.js +0 -1
  856. package/dist/paperless/p-fecba798.entry.js +0 -1
@@ -1,2 +1,3 @@
1
1
  export const defaultSize = 12;
2
2
  export const defaultSizeOptions = [12, 24, 68, 136];
3
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/components/molecules/page-size-select/constants.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,EAAE,CAAC;AAC9B,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC","sourcesContent":["export const defaultSize = 12;\nexport const defaultSizeOptions = [12, 24, 68, 136];\n"]}
@@ -116,7 +116,8 @@ export class PageSizeSelect {
116
116
  "resolved": "(value: number) => string",
117
117
  "references": {
118
118
  "templateFunc": {
119
- "location": "local"
119
+ "location": "local",
120
+ "path": "/home/runner/work/Paperless/Paperless/packages/core/src/components/molecules/page-size-select/page-size-select.component.tsx"
120
121
  }
121
122
  }
122
123
  },
@@ -136,7 +137,8 @@ export class PageSizeSelect {
136
137
  "resolved": "(value: number) => string",
137
138
  "references": {
138
139
  "templateFunc": {
139
- "location": "local"
140
+ "location": "local",
141
+ "path": "/home/runner/work/Paperless/Paperless/packages/core/src/components/molecules/page-size-select/page-size-select.component.tsx"
140
142
  }
141
143
  }
142
144
  },
@@ -202,3 +204,4 @@ export class PageSizeSelect {
202
204
  }];
203
205
  }
204
206
  }
207
+ //# sourceMappingURL=page-size-select.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-size-select.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/page-size-select/page-size-select.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,GACR,MAAM,eAAe,CAAC;AACvB,OAAO,EACH,iBAAiB,EACjB,yBAAyB,GAC5B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAQ9D,MAAM,OAAO,cAAc;;IACf,2BAAsB,GAAiB,C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,CAAC,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,CACpB,CAC1B,CAAC,CACC,CACE,CACV,CACV,CAAC;EACN,CAAC;EAGO,KAAK,CAAC,WAAW;IACrB,IAAI,CAAC,QAAQ,GAAG,MAAM,yBAAyB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;EAC9D,CAAC;EAEO,WAAW,CAAC,CAAU;IAC1B,IAAI,CAAC,CAAC,EAAE;MACJ,OAAO;KACV;IAED,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;IACd,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;EACpC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n} from '@stencil/core';\nimport {\n formatTranslation,\n getLocaleComponentStrings,\n} from '../../../utils/localization';\nimport { defaultSize, defaultSizeOptions } from './constants';\n\nexport type templateFunc = (value: number) => string;\n\n@Component({\n tag: 'p-page-size-select',\n shadow: true,\n})\nexport class PageSizeSelect {\n private _defaultButtonTemplate: templateFunc = (size) =>\n formatTranslation(this._locales.item, { size });\n private _defaultItemTemplate: templateFunc = (size) =>\n formatTranslation(this._locales.item, { size });\n /**\n * The current page\n */\n @Prop({ mutable: true, reflect: true }) size: number = defaultSize;\n\n /**\n * The available sizes\n */\n @Prop() sizeOptions: number[] = defaultSizeOptions;\n\n /**\n * Event whenever the size changes\n */\n @Event() sizeChange: EventEmitter<number>;\n\n /**\n * Chevron position\n */\n @Prop() chevronPosition: 'start' | 'end' = 'start';\n\n /**\n * The size of the button\n */\n @Prop() buttonSize: 'small' | 'medium' = 'small';\n\n /**\n * The template for the data view\n */\n @Prop() buttonTemplate: templateFunc = this._defaultButtonTemplate;\n\n /**\n * The template for the data view\n */\n @Prop() itemTemplate: templateFunc = this._defaultItemTemplate;\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n /**\n * Wether to hide when there is only 1 page available\n */\n @Prop() hidden: boolean = false;\n\n /**\n * Locales used for this component\n */\n @State() private _locales: any = {};\n\n componentWillLoad() {\n this._setLocales();\n }\n\n render() {\n return (\n <Host class={`p-page-size-select ${this.hidden && 'hidden'}`}>\n <p-dropdown\n placement=\"top-start\"\n chevronPosition={this.chevronPosition}\n chevronDirection=\"down\"\n >\n <p-button\n variant=\"secondary\"\n slot=\"trigger\"\n size={this.buttonSize}\n >\n {this.buttonTemplate\n ? this.buttonTemplate(this.size)\n : this._defaultButtonTemplate(this.size)}\n </p-button>\n <slot slot=\"items\">\n {this.sizeOptions.map((option) => (\n <p-dropdown-menu-item\n active={option === this.size}\n onClick={() => this._changeSize(option)}\n >\n {this.itemTemplate\n ? this.itemTemplate(this.size)\n : this._defaultItemTemplate(option)}\n </p-dropdown-menu-item>\n ))}\n </slot>\n </p-dropdown>\n </Host>\n );\n }\n\n @Listen('localeChanged', { target: 'body' })\n private async _setLocales(): Promise<void> {\n this._locales = await getLocaleComponentStrings(this._el);\n }\n\n private _changeSize(s?: number) {\n if (!s) {\n return;\n }\n\n this.size = s;\n this.sizeChange.emit(this.size);\n }\n}\n"]}
@@ -1 +1 @@
1
- .flex{display:flex!important}*{box-sizing:border-box}p-pagination{display:flex}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\[20rem\]{max-width:20rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.filter{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}.w-full{width:100%!important}.w-1\/12{width:8.333333%!important}.w-2\/12{width:16.666667%!important}.w-3\/12{width:25%!important}.w-4\/12{width:33.333333%!important}.w-5\/12{width:41.666667%!important}.w-6\/12{width:50%!important}.w-7\/12{width:58.333333%!important}.w-8\/12{width:66.666667%!important}.w-9\/12{width:75%!important}.w-10\/12{width:83.333333%!important}.w-11\/12{width:91.666667%!important}.w-auto{width:auto!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}@media (min-width:40rem){.tablet\:w-1\/12{width:8.333333%!important}.tablet\:w-2\/12{width:16.666667%!important}.tablet\:w-3\/12{width:25%!important}.tablet\:w-4\/12{width:33.333333%!important}.tablet\:w-5\/12{width:41.666667%!important}.tablet\:w-6\/12{width:50%!important}.tablet\:w-7\/12{width:58.333333%!important}.tablet\:w-8\/12{width:66.666667%!important}.tablet\:w-9\/12{width:75%!important}.tablet\:w-10\/12{width:83.333333%!important}.tablet\:w-11\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\:w-1\/12{width:8.333333%!important}.desktop-xs\:w-2\/12{width:16.666667%!important}.desktop-xs\:w-3\/12{width:25%!important}.desktop-xs\:w-4\/12{width:33.333333%!important}.desktop-xs\:w-5\/12{width:41.666667%!important}.desktop-xs\:w-6\/12{width:50%!important}.desktop-xs\:w-7\/12{width:58.333333%!important}.desktop-xs\:w-8\/12{width:66.666667%!important}.desktop-xs\:w-9\/12{width:75%!important}.desktop-xs\:w-10\/12{width:83.333333%!important}.desktop-xs\:w-11\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\:w-1\/12{width:8.333333%!important}.desktop-sm\:w-2\/12{width:16.666667%!important}.desktop-sm\:w-3\/12{width:25%!important}.desktop-sm\:w-4\/12{width:33.333333%!important}.desktop-sm\:w-5\/12{width:41.666667%!important}.desktop-sm\:w-6\/12{width:50%!important}.desktop-sm\:w-7\/12{width:58.333333%!important}.desktop-sm\:w-8\/12{width:66.666667%!important}.desktop-sm\:w-9\/12{width:75%!important}.desktop-sm\:w-10\/12{width:83.333333%!important}.desktop-sm\:w-11\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\:w-1\/12{width:8.333333%!important}.desktop\:w-2\/12{width:16.666667%!important}.desktop\:w-3\/12{width:25%!important}.desktop\:w-4\/12{width:33.333333%!important}.desktop\:w-5\/12{width:41.666667%!important}.desktop\:w-6\/12{width:50%!important}.desktop\:w-7\/12{width:58.333333%!important}.desktop\:w-8\/12{width:66.666667%!important}.desktop\:w-9\/12{width:75%!important}.desktop\:w-10\/12{width:83.333333%!important}.desktop\:w-11\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\:w-1\/12{width:8.333333%!important}.desktop-lg\:w-2\/12{width:16.666667%!important}.desktop-lg\:w-3\/12{width:25%!important}.desktop-lg\:w-4\/12{width:33.333333%!important}.desktop-lg\:w-5\/12{width:41.666667%!important}.desktop-lg\:w-6\/12{width:50%!important}.desktop-lg\:w-7\/12{width:58.333333%!important}.desktop-lg\:w-8\/12{width:66.666667%!important}.desktop-lg\:w-9\/12{width:75%!important}.desktop-lg\:w-10\/12{width:83.333333%!important}.desktop-lg\:w-11\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\:w-1\/12{width:8.333333%!important}.desktop-xl\:w-2\/12{width:16.666667%!important}.desktop-xl\:w-3\/12{width:25%!important}.desktop-xl\:w-4\/12{width:33.333333%!important}.desktop-xl\:w-5\/12{width:41.666667%!important}.desktop-xl\:w-6\/12{width:50%!important}.desktop-xl\:w-7\/12{width:58.333333%!important}.desktop-xl\:w-8\/12{width:66.666667%!important}.desktop-xl\:w-9\/12{width:75%!important}.desktop-xl\:w-10\/12{width:83.333333%!important}.desktop-xl\:w-11\/12{width:91.666667%!important}}.h-8{height:2rem!important}@media (min-width:64rem){.desktop-xs\:flex{display:flex!important}}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.w-3\/4{width:75%!important}.gap-4{gap:1rem!important}.justify-self-end{justify-self:end!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}@media (min-width:64rem){.desktop-xs\:hidden{display:none!important}.desktop-xs\:w-auto{width:auto!important}.desktop-xs\:flex-row{flex-direction:row!important}}.m-0{margin:0!important}.visible{visibility:visible!important}.absolute{position:absolute!important}.blur{--tw-blur:blur(8px)!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}
1
+ .flex{display:flex!important}*{box-sizing:border-box}p-pagination{display:flex}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\[20rem\]{max-width:20rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.filter{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}.table-cell{display:table-cell!important}.w-full{width:100%!important}.w-1\/12{width:8.333333%!important}.w-2\/12{width:16.666667%!important}.w-3\/12{width:25%!important}.w-4\/12{width:33.333333%!important}.w-5\/12{width:41.666667%!important}.w-6\/12{width:50%!important}.w-7\/12{width:58.333333%!important}.w-8\/12{width:66.666667%!important}.w-9\/12{width:75%!important}.w-10\/12{width:83.333333%!important}.w-11\/12{width:91.666667%!important}.w-auto{width:auto!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}@media (min-width:40rem){.tablet\:w-1\/12{width:8.333333%!important}.tablet\:w-2\/12{width:16.666667%!important}.tablet\:w-3\/12{width:25%!important}.tablet\:w-4\/12{width:33.333333%!important}.tablet\:w-5\/12{width:41.666667%!important}.tablet\:w-6\/12{width:50%!important}.tablet\:w-7\/12{width:58.333333%!important}.tablet\:w-8\/12{width:66.666667%!important}.tablet\:w-9\/12{width:75%!important}.tablet\:w-10\/12{width:83.333333%!important}.tablet\:w-11\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\:w-1\/12{width:8.333333%!important}.desktop-xs\:w-2\/12{width:16.666667%!important}.desktop-xs\:w-3\/12{width:25%!important}.desktop-xs\:w-4\/12{width:33.333333%!important}.desktop-xs\:w-5\/12{width:41.666667%!important}.desktop-xs\:w-6\/12{width:50%!important}.desktop-xs\:w-7\/12{width:58.333333%!important}.desktop-xs\:w-8\/12{width:66.666667%!important}.desktop-xs\:w-9\/12{width:75%!important}.desktop-xs\:w-10\/12{width:83.333333%!important}.desktop-xs\:w-11\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\:w-1\/12{width:8.333333%!important}.desktop-sm\:w-2\/12{width:16.666667%!important}.desktop-sm\:w-3\/12{width:25%!important}.desktop-sm\:w-4\/12{width:33.333333%!important}.desktop-sm\:w-5\/12{width:41.666667%!important}.desktop-sm\:w-6\/12{width:50%!important}.desktop-sm\:w-7\/12{width:58.333333%!important}.desktop-sm\:w-8\/12{width:66.666667%!important}.desktop-sm\:w-9\/12{width:75%!important}.desktop-sm\:w-10\/12{width:83.333333%!important}.desktop-sm\:w-11\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\:w-1\/12{width:8.333333%!important}.desktop\:w-2\/12{width:16.666667%!important}.desktop\:w-3\/12{width:25%!important}.desktop\:w-4\/12{width:33.333333%!important}.desktop\:w-5\/12{width:41.666667%!important}.desktop\:w-6\/12{width:50%!important}.desktop\:w-7\/12{width:58.333333%!important}.desktop\:w-8\/12{width:66.666667%!important}.desktop\:w-9\/12{width:75%!important}.desktop\:w-10\/12{width:83.333333%!important}.desktop\:w-11\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\:w-1\/12{width:8.333333%!important}.desktop-lg\:w-2\/12{width:16.666667%!important}.desktop-lg\:w-3\/12{width:25%!important}.desktop-lg\:w-4\/12{width:33.333333%!important}.desktop-lg\:w-5\/12{width:41.666667%!important}.desktop-lg\:w-6\/12{width:50%!important}.desktop-lg\:w-7\/12{width:58.333333%!important}.desktop-lg\:w-8\/12{width:66.666667%!important}.desktop-lg\:w-9\/12{width:75%!important}.desktop-lg\:w-10\/12{width:83.333333%!important}.desktop-lg\:w-11\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\:w-1\/12{width:8.333333%!important}.desktop-xl\:w-2\/12{width:16.666667%!important}.desktop-xl\:w-3\/12{width:25%!important}.desktop-xl\:w-4\/12{width:33.333333%!important}.desktop-xl\:w-5\/12{width:41.666667%!important}.desktop-xl\:w-6\/12{width:50%!important}.desktop-xl\:w-7\/12{width:58.333333%!important}.desktop-xl\:w-8\/12{width:66.666667%!important}.desktop-xl\:w-9\/12{width:75%!important}.desktop-xl\:w-10\/12{width:83.333333%!important}.desktop-xl\:w-11\/12{width:91.666667%!important}}.h-8{height:2rem!important}@media (min-width:64rem){.desktop-xs\:flex{display:flex!important}}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.w-3\/4{width:75%!important}.gap-4{gap:1rem!important}.justify-self-end{justify-self:end!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}@media (min-width:64rem){.desktop-xs\:hidden{display:none!important}.desktop-xs\:w-auto{width:auto!important}.desktop-xs\:flex-row{flex-direction:row!important}}.m-0{margin:0!important}.table-row{display:table-row!important}.visible{visibility:visible!important}.absolute{position:absolute!important}.blur{--tw-blur:blur(8px)!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}
@@ -264,3 +264,4 @@ export class Pagination {
264
264
  }];
265
265
  }
266
266
  }
267
+ //# sourceMappingURL=pagination.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/pagination/pagination.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,SAAS,EACT,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,GACR,MAAM,eAAe,CAAC;AAWvB,MAAM,OAAO,UAAU;;IA0BX,WAAM,GAAa,EAAE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C;EACnC,CAAC;EAaO,cAAc;IAClB,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;MAC/B,OAAO,EAAE,CAAC;KACb;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpD,OAAO,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;EACjE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsGJ","sourcesContent":["import {\n Component,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core';\n\ntype PaginationSetItem = {\n type: string;\n value?: number | Element | JSX.Element | string;\n};\n\n@Component({\n tag: 'p-pagination',\n styleUrl: 'pagination.component.scss',\n})\nexport class Pagination {\n /**\n * The current page\n */\n @Prop({ mutable: true, reflect: true }) page: number = 1;\n\n /**\n * Event whenever the page changes\n */\n @Event() pageChange: EventEmitter<number>;\n\n /**\n * The amount of items per page\n */\n @Prop() pageSize: number = 12;\n\n /**\n * Wether to hide when there is only 1 page available\n */\n @Prop() hideOnSinglePage: boolean = false;\n\n /**\n * The total amount of items\n */\n @Prop() total!: number;\n\n private _pages: number[] = [];\n private _set: PaginationSetItem[] = [];\n\n componentWillRender() {\n this._generate();\n }\n\n render() {\n return (\n <Host\n class={`p-pagination ${\n this.hideOnSinglePage && this._set?.length === 3 && 'hidden'\n }`}\n >\n {this._set?.map((p) => {\n if (p.type === 'previous' || p.type === 'next') {\n return (\n <p-pagination-item\n onClick={() =>\n p.type === 'previous'\n ? this._previousClick()\n : this._nextClick()\n }\n >\n {p.value}\n </p-pagination-item>\n );\n }\n\n if (p.type === 'ellipsis') {\n return <p-pagination-item>...</p-pagination-item>;\n }\n\n return (\n <p-pagination-item\n active={p.value === this.page}\n onClick={() => this._pageClick(p.value as number)}\n >\n {p.value}\n </p-pagination-item>\n );\n })}\n </Host>\n );\n }\n\n @Watch('page')\n @Watch('pageSize')\n @Watch('total')\n protected pageChangeHandler() {\n this._generate();\n }\n\n private _generate() {\n this._pages = this._generatePages();\n this._set = this._generateSet();\n\n if (this.page > this._pages?.length) {\n this._changePage(this._pages.length);\n }\n }\n\n private _changePage(p?: number) {\n if (!p) {\n return;\n }\n\n this.page = p;\n this.pageChange.emit(this.page);\n }\n\n private _previousClick() {\n const previousPage = this.page - 1;\n if (previousPage < this._pages[0]) {\n return;\n }\n\n this._changePage(previousPage);\n }\n\n private _nextClick = () => {\n const nextPage = this.page + 1;\n if (nextPage > this._pages[this._pages.length - 1]) {\n return;\n }\n\n this._changePage(nextPage);\n };\n\n private _pageClick = (p?: number) => this._changePage(p);\n\n private _generatePages() {\n if (!this.total || !this.pageSize) {\n return [];\n }\n\n const pages = Math.ceil(this.total / this.pageSize);\n return new Array(pages).fill(undefined).map((_, i) => i + 1);\n }\n\n private _generateSet = (\n range: number = 1,\n enableBoundaries: boolean = true\n ): PaginationSetItem[] => {\n const totalPages = this._pages.length;\n\n if (!totalPages) {\n return [];\n }\n\n let start = this.page - range;\n let end = this.page + range;\n\n if (end > totalPages) {\n end = totalPages;\n start = totalPages - range * 2;\n start = start < 1 ? 1 : start;\n }\n\n if (start <= 1) {\n start = 1;\n end = Math.min(range * 2 + 1, totalPages);\n }\n\n const set = [];\n\n const previous = {\n type: 'previous',\n value: <p-icon variant=\"chevron\" rotate={90} />,\n };\n\n const next = {\n type: 'next',\n value: <p-icon variant=\"chevron\" rotate={-90} />,\n };\n\n // Disable page range, display all the pages\n if (range === null) {\n const p = this._pages.map((p) => ({\n type: 'page',\n value: p,\n }));\n\n return enableBoundaries ? [previous, ...p, next] : p;\n }\n\n if (enableBoundaries) {\n set.push(previous);\n }\n\n if (start <= 3) {\n for (let i = 1; i < start; i++) {\n set.push({\n type: 'page',\n value: this._pages[i - 1],\n });\n }\n } else {\n set.push({\n type: 'page',\n value: 1,\n });\n\n set.push({\n type: 'ellipsis',\n value: 'ellipsis',\n });\n }\n\n for (let i = start; i <= end; i++) {\n set.push({\n type: 'page',\n value: this._pages[i - 1],\n });\n }\n\n if (end >= totalPages - 2) {\n for (let i = end + 1; i <= totalPages; i++) {\n set.push({\n type: 'page',\n value: this._pages[i - 1],\n });\n }\n } else {\n set.push({\n type: 'ellipsis',\n });\n\n set.push({\n type: 'page',\n value: this._pages[this._pages.length - 1],\n });\n }\n\n if (enableBoundaries) {\n set.push(next);\n }\n\n return set;\n };\n}\n"]}
@@ -87,3 +87,4 @@ export class Profile {
87
87
  }
88
88
  static get elementRef() { return "_el"; }
89
89
  }
90
+ //# sourceMappingURL=profile.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/profile/profile.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAOzE,MAAM,OAAO,OAAO;;mBAIsB,MAAM;gBAKkB,OAAO;yBAOpC,KAAK;;EAEtC,mBAAmB;IACf,IAAI,CAAC,aAAa,EAAE,CAAC;EACzB,CAAC;EAED,MAAM;IACF,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAC5C,4BAA4B,CAC/B,CAAC;IACF,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;IAClD,OAAO,CACH,EAAC,IAAI,IACD,KAAK,EAAE,aAAa,eAAe,IAAI,cAAc,IACjD,IAAI,CAAC,aAAa,IAAI,QAC1B,EAAE,IAED,eA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,GAC1D,CACL,CAAC;EACN,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { Component, Element, h, Host, Prop, State } from '@stencil/core';\n\n@Component({\n tag: 'p-profile',\n styleUrl: 'profile.component.scss',\n shadow: true,\n})\nexport class Profile {\n /**\n * The variant of the profile\n */\n @Prop() variant: 'company' | 'user' = 'user';\n\n /**\n * The size of the profile avatar\n */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'small';\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n @State() private _dropdownOpen = false;\n\n componentWillRender() {\n this._updateAvatar();\n }\n\n render() {\n const hasDropdownSlot = !!this._el.querySelector(\n ':scope > [slot=\"dropdown\"]'\n );\n const content = this._getContent(hasDropdownSlot);\n return (\n <Host\n class={`p-profile ${hasDropdownSlot && 'has-dropdown'} ${\n this._dropdownOpen && 'active'\n }`}\n >\n {hasDropdownSlot ? (\n <p-dropdown\n class=\"w-full min-w-0\"\n strategy=\"absolute\"\n placement={\n this.variant === 'user' ? 'top-end' : 'bottom-end'\n }\n onIsOpen={(ev) => (this._dropdownOpen = ev.detail)}\n >\n {content}\n <div slot=\"items\">\n <slot name=\"dropdown\" />\n </div>\n </p-dropdown>\n ) : (\n content\n )}\n </Host>\n );\n }\n\n private _getContent(hasDropdownSlot) {\n return (\n <div class=\"content\" slot=\"trigger\">\n <slot name=\"avatar\" />\n <div class=\"name\">\n <slot name=\"title\" />\n <slot name=\"subtitle\" />\n </div>\n\n {hasDropdownSlot && this._getIcon()}\n </div>\n );\n }\n\n private _updateAvatar() {\n const avatar = this._el.querySelector(\n 'p-avatar[slot=\"avatar\"]'\n ) as HTMLPAvatarElement;\n\n if (!avatar) {\n return;\n }\n\n avatar.variant = this.variant ?? avatar.variant;\n avatar.size = this.size ?? avatar?.size;\n }\n\n private _getIcon() {\n return (\n <p-icon\n class=\"ml-auto\"\n variant={this.variant === 'company' ? 'chevron' : 'more'}\n />\n );\n }\n}\n"]}
@@ -1 +1 @@
1
- .flex{display:flex!important}*{box-sizing:border-box}:host{display:flex;flex-direction:column}:host input.read-only{text-overflow:ellipsis}.static{position:static!important}.h-6{height:1.5rem!important}.w-full{width:100%!important}.cursor-pointer{cursor:pointer!important}.rounded{border-radius:.25rem!important}.blur{--tw-blur:blur(8px)!important}.blur,.filter{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}.visible{visibility:visible!important}.absolute{position:absolute!important}
1
+ .flex{display:flex!important}*{box-sizing:border-box}:host{display:flex;flex-direction:column}:host input.read-only{text-overflow:ellipsis}.static{position:static!important}.h-6{height:1.5rem!important}.w-full{width:100%!important}.cursor-pointer{cursor:pointer!important}.rounded{border-radius:.25rem!important}.blur{--tw-blur:blur(8px)!important}.blur,.filter{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}
@@ -568,3 +568,4 @@ export class Select {
568
568
  }];
569
569
  }
570
570
  }
571
+ //# sourceMappingURL=select.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"select.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/select/select.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,KAAK,GACR,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAOzC,MAAM,OAAO,MAAM;;IAkHP,sBAAiB,GAAY,KAAK,CAAC;;;;;;sBArFd,MAAM;oBAKR,OAAO;;2BAUC,IAAI;6BAKH,EAAE;8BAKA,IAAI;uBAKX,KAAK;mBAKT,KA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AAI,CAAC,aAAa,0CAAG,IAAI,CAAC,QAAQ,CAAC,CAAA,IAG9D,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CACH,CAC1B,CAAA;KAAA,CAAC,CAAC;EACP,CAAC;EAEO,gBAAgB;IACpB,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CACvB,4BAAsB,WAAW,EAAE,KAAK;MACpC,gBAAU,OAAO,EAAC,OAAO,EAAC,KAAK,EAAC,oBAAoB,GAAG,CACpC,CAC1B,CAAC,CAAC;EACP,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n Watch,\n} from '@stencil/core';\nimport { childOf } from '../../../utils';\n\n@Component({\n tag: 'p-select',\n styleUrl: 'select.component.scss',\n shadow: false,\n})\nexport class Select {\n /**\n * The items to show in the dropdown\n */\n @Prop() items: string | any[];\n\n /**\n * The current query\n */\n @Prop() query: string;\n\n /**\n * The placeholder of the input\n */\n @Prop() placeholder: string;\n\n /**\n * The placeholder of the input when auto completing\n */\n @Prop() autocompletePlaceholder: string;\n\n /**\n * The current value\n */\n @Prop() value: any;\n\n /**\n * The key of the object to display\n */\n @Prop() displayKey: string = 'text';\n\n /**\n * The key of the object to return\n */\n @Prop() valueKey: string = 'value';\n\n /**\n * The key of the object to display\n */\n @Prop() queryKey?: string;\n\n /**\n * Wether to automatically select the first item\n */\n @Prop() autoSelectFirst: boolean = true;\n\n /**\n * The maximum amount of items to display\n */\n @Prop() maxDisplayedItems: number = 10;\n\n /**\n * Wether to enable autocomplete\n */\n @Prop() enableAutocomplete: boolean = true;\n\n /**\n * Wether the input uses async filtering\n */\n @Prop() asyncFilter: boolean = false;\n\n /**\n * Wether to show loading items\n */\n @Prop() loading: boolean = false;\n\n /**\n * Event when the query of the autocomplete changes\n */\n @Event() queryChange: EventEmitter<string>;\n\n /**\n * Event when the value changes\n */\n @Event() valueChange: EventEmitter<any>;\n\n /**\n * The size of the input group used by the select\n */\n @Prop() size: 'small' | 'medium' = 'medium';\n\n /**\n * The prefix of the input group used by the select\n */\n @Prop() prefix: string;\n\n /**\n * The label of the input group used by the select\n */\n @Prop() label: string;\n\n /**\n * The helper of the input group used by the select\n */\n @Prop() helper: string;\n\n /**\n * The helper of the input group used by the select\n */\n @Prop({ reflect: true }) error: string;\n\n /**\n * Wether the input group is disabled used by the select\n */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n @State() private _showDropdown: any = false;\n @State() private _selectedItem: any = null;\n\n private _isAutoCompleting: boolean = false;\n\n private _inputRef: HTMLInputElement;\n\n get _items() {\n if (!this.items || this.loading) {\n return [];\n }\n\n let items =\n typeof this.items === 'string'\n ? JSON.parse(this.items)\n : this.items;\n\n if (typeof items?.[0] === 'string') {\n this.displayKey = 'text';\n this.valueKey = 'value';\n\n items = items.map((str) => ({\n value: str,\n text: str,\n }));\n }\n\n if (this._isAutoCompleting && this.query?.length && !this.asyncFilter) {\n items = items.filter((item) => {\n if (this.queryKey) {\n return this._checkvalue(this.queryKey, item);\n }\n\n return (\n this._checkvalue(this.valueKey, item) ||\n this._checkvalue(this.displayKey, item)\n );\n });\n }\n\n return items?.slice(0, this.maxDisplayedItems);\n }\n\n get _displayValue() {\n if (this._isAutoCompleting) {\n return this.query;\n }\n\n return this._selectedItem?.[this.displayKey];\n }\n\n get _placeholder() {\n return this._isAutoCompleting && this.autocompletePlaceholder?.length\n ? this.autocompletePlaceholder\n : this.placeholder;\n }\n\n componentDidLoad() {\n if (this.value) {\n this._valueChange(this.value);\n return;\n }\n\n if (this.autoSelectFirst) {\n this._selectedItem = this._items?.[0];\n }\n }\n\n render() {\n return (\n <Host class=\"p-select\">\n <p-dropdown\n disableTriggerClick={true}\n calculateWidth={true}\n insideClick={true}\n show={this._showDropdown}\n >\n <p-input-group\n slot=\"trigger\"\n icon=\"chevron\"\n iconPosition=\"end\"\n size={this.size}\n prefix={this.prefix}\n label={this.label}\n helper={this.helper}\n error={this.error}\n disabled={this.disabled}\n focused={this._showDropdown}\n >\n <input\n slot=\"input\"\n type=\"text\"\n placeholder={this._placeholder}\n value={this._displayValue}\n class={`p-input cursor-pointer ${\n !this._isAutoCompleting && 'read-only'\n }`}\n onFocus={() => this._onFocus()}\n onMouseDown={(ev) => this._onMouseDown(ev)}\n onClick={() => this._onClick()}\n onInput={(ev) => this._onChange(ev)}\n ref={(ref) => (this._inputRef = ref)}\n />\n </p-input-group>\n <div slot=\"items\">\n {this.loading\n ? this._getLoadingItems()\n : this._getItems()}\n </div>\n </p-dropdown>\n </Host>\n );\n }\n\n @Listen('click', { target: 'document', capture: true })\n protected documentClickHandler({ target }) {\n if (!this._showDropdown || childOf(target, this._el)) {\n return;\n }\n\n this._showDropdown = false;\n this._isAutoCompleting = false;\n }\n\n @Watch('value')\n private _valueChange(value: any) {\n this._preselectItem(value);\n }\n\n @Watch('items')\n public itemChanges() {\n this._preselectItem();\n }\n\n private _preselectItem(value?: any) {\n value = value === undefined ? null : value;\n const parsedValue = !!this.value\n ? JSON.stringify(this.value)\n : JSON.stringify(value);\n\n if (\n this._selectedItem &&\n JSON.stringify(this._selectedItem[this.valueKey]) === parsedValue\n ) {\n return;\n }\n\n const item = this._items.find(\n (i) => JSON.stringify(i?.[this.valueKey]) === parsedValue\n );\n\n this._selectedItem = item;\n }\n\n private _selectValue(item) {\n this._selectedItem = item;\n const value = item[this.valueKey];\n\n this.value = value;\n this.valueChange.emit(this.value);\n\n this._onBlur(true);\n }\n\n private _onFocus() {\n if (!this.enableAutocomplete) {\n this._inputRef.blur();\n if (!this._showDropdown) {\n this._showDropdown = true;\n }\n return;\n }\n\n this._isAutoCompleting = true;\n this._showDropdown = true;\n }\n\n private _onMouseDown(ev) {\n if (this.enableAutocomplete) {\n return;\n }\n\n ev.preventDefault();\n }\n\n private _onClick() {\n if (this.enableAutocomplete) {\n return;\n }\n\n this._showDropdown = !this._showDropdown;\n }\n\n private _onBlur(force = false) {\n if (!this.enableAutocomplete && !force) {\n return;\n }\n\n this._isAutoCompleting = false;\n this._showDropdown = false;\n }\n\n private _onChange(ev) {\n if (!this._isAutoCompleting) {\n return;\n }\n\n this.query = ev.target.value;\n this.queryChange.emit(this.query);\n }\n\n private _checkvalue(key, item) {\n return (\n item?.[key]\n ?.toString()\n ?.toLowerCase()\n .indexOf(this.query?.toLowerCase()) >= 0\n );\n }\n\n private _getItems() {\n return this._items.map((item) => (\n <p-dropdown-menu-item\n onClick={() => this._selectValue(item)}\n active={\n item[this.valueKey] === this._selectedItem?.[this.valueKey]\n }\n >\n {item[this.displayKey]}\n </p-dropdown-menu-item>\n ));\n }\n\n private _getLoadingItems() {\n return [0, 0, 0].map(() => (\n <p-dropdown-menu-item enableHover={false}>\n <p-loader variant=\"ghost\" class=\"w-full h-6 rounded\" />\n </p-dropdown-menu-item>\n ));\n }\n}\n"]}
@@ -1 +1 @@
1
- .flex{display:flex!important}.h-auto{height:auto!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}*{box-sizing:border-box}:host{display:flex}:host([direction=horizontal]){align-items:flex-end;height:auto}:host([direction=vertical]){align-items:flex-start;flex-direction:column;flex-wrap:wrap;min-height:100%;width:100%}.static{position:static!important}
1
+ .flex{display:flex!important}.h-auto{height:auto!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}*{box-sizing:border-box}:host{display:flex}:host([direction=horizontal]){align-items:flex-end;height:auto}:host([direction=vertical]){align-items:flex-start;flex-direction:column;flex-wrap:wrap;min-height:100%;width:100%}:host([direction=vertical][content-position=start]){align-items:flex-end}.static{position:static!important}
@@ -3,6 +3,7 @@ export class Stepper {
3
3
  constructor() {
4
4
  this.activeStep = 1;
5
5
  this.direction = 'horizontal';
6
+ this.contentPosition = 'end';
6
7
  }
7
8
  componentWillRender() {
8
9
  const activeStep = this.activeStep - 1;
@@ -23,7 +24,7 @@ export class Stepper {
23
24
  ? 'start'
24
25
  : i === (items === null || items === void 0 ? void 0 : items.length) - 1
25
26
  ? 'end'
26
- : 'center' }, item.innerHTML));
27
+ : 'center', contentPosition: this.contentPosition }, item.innerHTML));
27
28
  elements.push(newItem);
28
29
  }
29
30
  return elements;
@@ -77,8 +78,27 @@ export class Stepper {
77
78
  "attribute": "direction",
78
79
  "reflect": true,
79
80
  "defaultValue": "'horizontal'"
81
+ },
82
+ "contentPosition": {
83
+ "type": "string",
84
+ "mutable": false,
85
+ "complexType": {
86
+ "original": "'start' | 'end'",
87
+ "resolved": "\"end\" | \"start\"",
88
+ "references": {}
89
+ },
90
+ "required": false,
91
+ "optional": false,
92
+ "docs": {
93
+ "tags": [],
94
+ "text": "The position of the content in case of vertical direction"
95
+ },
96
+ "attribute": "content-position",
97
+ "reflect": true,
98
+ "defaultValue": "'end'"
80
99
  }
81
100
  };
82
101
  }
83
102
  static get elementRef() { return "_el"; }
84
103
  }
104
+ //# sourceMappingURL=stepper.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stepper.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/stepper/stepper.component.tsx"],"names":[],"mapp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,CAAC,KAAK;YACP,CAAC,CAAC,QAAQ,EAElB,eAAe,EAAE,IAAI,CAAC,eAAe,IAEpC,IAAI,CAAC,SAAS,CACF,CACpB,CAAC;MAEF,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KAC1B;IAED,OAAO,QAAQ,CAAC;EACpB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { Component, Element, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'p-stepper',\n styleUrl: 'stepper.component.scss',\n shadow: true,\n})\nexport class Stepper {\n /**\n * The currently active step\n */\n @Prop() activeStep: number = 1;\n\n /**\n * The direction of the stepper\n */\n @Prop({ reflect: true }) direction: 'horizontal' | 'vertical' =\n 'horizontal';\n\n /**\n * The position of the content in case of vertical direction\n */\n @Prop({ reflect: true }) contentPosition: 'start' | 'end' = 'end';\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n private _steps: Array<HTMLPStepperItemElement>;\n\n componentWillRender() {\n const activeStep = this.activeStep - 1;\n this._steps = this._generateSteps(activeStep);\n }\n\n render() {\n return <Host class=\"p-stepper\">{this._steps}</Host>;\n }\n\n private _generateSteps(activeStep: number) {\n const elements = [];\n const items = this._el.querySelectorAll('p-stepper-item');\n\n for (let i = 0; i < items?.length; i++) {\n const item = items.item(i);\n\n if (i > 0) {\n elements.push(\n <p-stepper-line\n direction={this.direction}\n active={i <= activeStep}\n />\n );\n }\n\n const newItem = (\n <p-stepper-item\n active={i === activeStep}\n finished={i < activeStep}\n direction={this.direction}\n align={\n i === 0\n ? 'start'\n : i === items?.length - 1\n ? 'end'\n : 'center'\n }\n contentPosition={this.contentPosition}\n >\n {item.innerHTML}\n </p-stepper-item>\n );\n\n elements.push(newItem);\n }\n\n return elements;\n }\n}\n"]}
@@ -1 +1 @@
1
- .flex{display:flex!important}.gap-4{gap:1rem!important}*{box-sizing:border-box}p-table-cell{align-items:center;display:flex;gap:1rem}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\[20rem\]{max-width:20rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.filter{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}.w-full{width:100%!important}.w-1\/12{width:8.333333%!important}.w-2\/12{width:16.666667%!important}.w-3\/12{width:25%!important}.w-4\/12{width:33.333333%!important}.w-5\/12{width:41.666667%!important}.w-6\/12{width:50%!important}.w-7\/12{width:58.333333%!important}.w-8\/12{width:66.666667%!important}.w-9\/12{width:75%!important}.w-10\/12{width:83.333333%!important}.w-11\/12{width:91.666667%!important}.w-auto{width:auto!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}@media (min-width:40rem){.tablet\:w-1\/12{width:8.333333%!important}.tablet\:w-2\/12{width:16.666667%!important}.tablet\:w-3\/12{width:25%!important}.tablet\:w-4\/12{width:33.333333%!important}.tablet\:w-5\/12{width:41.666667%!important}.tablet\:w-6\/12{width:50%!important}.tablet\:w-7\/12{width:58.333333%!important}.tablet\:w-8\/12{width:66.666667%!important}.tablet\:w-9\/12{width:75%!important}.tablet\:w-10\/12{width:83.333333%!important}.tablet\:w-11\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\:w-1\/12{width:8.333333%!important}.desktop-xs\:w-2\/12{width:16.666667%!important}.desktop-xs\:w-3\/12{width:25%!important}.desktop-xs\:w-4\/12{width:33.333333%!important}.desktop-xs\:w-5\/12{width:41.666667%!important}.desktop-xs\:w-6\/12{width:50%!important}.desktop-xs\:w-7\/12{width:58.333333%!important}.desktop-xs\:w-8\/12{width:66.666667%!important}.desktop-xs\:w-9\/12{width:75%!important}.desktop-xs\:w-10\/12{width:83.333333%!important}.desktop-xs\:w-11\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\:w-1\/12{width:8.333333%!important}.desktop-sm\:w-2\/12{width:16.666667%!important}.desktop-sm\:w-3\/12{width:25%!important}.desktop-sm\:w-4\/12{width:33.333333%!important}.desktop-sm\:w-5\/12{width:41.666667%!important}.desktop-sm\:w-6\/12{width:50%!important}.desktop-sm\:w-7\/12{width:58.333333%!important}.desktop-sm\:w-8\/12{width:66.666667%!important}.desktop-sm\:w-9\/12{width:75%!important}.desktop-sm\:w-10\/12{width:83.333333%!important}.desktop-sm\:w-11\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\:w-1\/12{width:8.333333%!important}.desktop\:w-2\/12{width:16.666667%!important}.desktop\:w-3\/12{width:25%!important}.desktop\:w-4\/12{width:33.333333%!important}.desktop\:w-5\/12{width:41.666667%!important}.desktop\:w-6\/12{width:50%!important}.desktop\:w-7\/12{width:58.333333%!important}.desktop\:w-8\/12{width:66.666667%!important}.desktop\:w-9\/12{width:75%!important}.desktop\:w-10\/12{width:83.333333%!important}.desktop\:w-11\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\:w-1\/12{width:8.333333%!important}.desktop-lg\:w-2\/12{width:16.666667%!important}.desktop-lg\:w-3\/12{width:25%!important}.desktop-lg\:w-4\/12{width:33.333333%!important}.desktop-lg\:w-5\/12{width:41.666667%!important}.desktop-lg\:w-6\/12{width:50%!important}.desktop-lg\:w-7\/12{width:58.333333%!important}.desktop-lg\:w-8\/12{width:66.666667%!important}.desktop-lg\:w-9\/12{width:75%!important}.desktop-lg\:w-10\/12{width:83.333333%!important}.desktop-lg\:w-11\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\:w-1\/12{width:8.333333%!important}.desktop-xl\:w-2\/12{width:16.666667%!important}.desktop-xl\:w-3\/12{width:25%!important}.desktop-xl\:w-4\/12{width:33.333333%!important}.desktop-xl\:w-5\/12{width:41.666667%!important}.desktop-xl\:w-6\/12{width:50%!important}.desktop-xl\:w-7\/12{width:58.333333%!important}.desktop-xl\:w-8\/12{width:66.666667%!important}.desktop-xl\:w-9\/12{width:75%!important}.desktop-xl\:w-10\/12{width:83.333333%!important}.desktop-xl\:w-11\/12{width:91.666667%!important}}.h-8{height:2rem!important}@media (min-width:64rem){.desktop-xs\:flex{display:flex!important}}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.w-3\/4{width:75%!important}.justify-self-end{justify-self:end!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}@media (min-width:64rem){.desktop-xs\:hidden{display:none!important}.desktop-xs\:w-auto{width:auto!important}.desktop-xs\:flex-row{flex-direction:row!important}}.m-0{margin:0!important}.visible{visibility:visible!important}.absolute{position:absolute!important}.blur{--tw-blur:blur(8px)!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}
1
+ .flex{display:flex!important}.gap-4{gap:1rem!important}*{box-sizing:border-box}p-table-cell{align-items:center;display:flex;gap:1rem}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\[20rem\]{max-width:20rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.filter{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}.table-cell{display:table-cell!important}.w-full{width:100%!important}.w-1\/12{width:8.333333%!important}.w-2\/12{width:16.666667%!important}.w-3\/12{width:25%!important}.w-4\/12{width:33.333333%!important}.w-5\/12{width:41.666667%!important}.w-6\/12{width:50%!important}.w-7\/12{width:58.333333%!important}.w-8\/12{width:66.666667%!important}.w-9\/12{width:75%!important}.w-10\/12{width:83.333333%!important}.w-11\/12{width:91.666667%!important}.w-auto{width:auto!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}@media (min-width:40rem){.tablet\:w-1\/12{width:8.333333%!important}.tablet\:w-2\/12{width:16.666667%!important}.tablet\:w-3\/12{width:25%!important}.tablet\:w-4\/12{width:33.333333%!important}.tablet\:w-5\/12{width:41.666667%!important}.tablet\:w-6\/12{width:50%!important}.tablet\:w-7\/12{width:58.333333%!important}.tablet\:w-8\/12{width:66.666667%!important}.tablet\:w-9\/12{width:75%!important}.tablet\:w-10\/12{width:83.333333%!important}.tablet\:w-11\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\:w-1\/12{width:8.333333%!important}.desktop-xs\:w-2\/12{width:16.666667%!important}.desktop-xs\:w-3\/12{width:25%!important}.desktop-xs\:w-4\/12{width:33.333333%!important}.desktop-xs\:w-5\/12{width:41.666667%!important}.desktop-xs\:w-6\/12{width:50%!important}.desktop-xs\:w-7\/12{width:58.333333%!important}.desktop-xs\:w-8\/12{width:66.666667%!important}.desktop-xs\:w-9\/12{width:75%!important}.desktop-xs\:w-10\/12{width:83.333333%!important}.desktop-xs\:w-11\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\:w-1\/12{width:8.333333%!important}.desktop-sm\:w-2\/12{width:16.666667%!important}.desktop-sm\:w-3\/12{width:25%!important}.desktop-sm\:w-4\/12{width:33.333333%!important}.desktop-sm\:w-5\/12{width:41.666667%!important}.desktop-sm\:w-6\/12{width:50%!important}.desktop-sm\:w-7\/12{width:58.333333%!important}.desktop-sm\:w-8\/12{width:66.666667%!important}.desktop-sm\:w-9\/12{width:75%!important}.desktop-sm\:w-10\/12{width:83.333333%!important}.desktop-sm\:w-11\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\:w-1\/12{width:8.333333%!important}.desktop\:w-2\/12{width:16.666667%!important}.desktop\:w-3\/12{width:25%!important}.desktop\:w-4\/12{width:33.333333%!important}.desktop\:w-5\/12{width:41.666667%!important}.desktop\:w-6\/12{width:50%!important}.desktop\:w-7\/12{width:58.333333%!important}.desktop\:w-8\/12{width:66.666667%!important}.desktop\:w-9\/12{width:75%!important}.desktop\:w-10\/12{width:83.333333%!important}.desktop\:w-11\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\:w-1\/12{width:8.333333%!important}.desktop-lg\:w-2\/12{width:16.666667%!important}.desktop-lg\:w-3\/12{width:25%!important}.desktop-lg\:w-4\/12{width:33.333333%!important}.desktop-lg\:w-5\/12{width:41.666667%!important}.desktop-lg\:w-6\/12{width:50%!important}.desktop-lg\:w-7\/12{width:58.333333%!important}.desktop-lg\:w-8\/12{width:66.666667%!important}.desktop-lg\:w-9\/12{width:75%!important}.desktop-lg\:w-10\/12{width:83.333333%!important}.desktop-lg\:w-11\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\:w-1\/12{width:8.333333%!important}.desktop-xl\:w-2\/12{width:16.666667%!important}.desktop-xl\:w-3\/12{width:25%!important}.desktop-xl\:w-4\/12{width:33.333333%!important}.desktop-xl\:w-5\/12{width:41.666667%!important}.desktop-xl\:w-6\/12{width:50%!important}.desktop-xl\:w-7\/12{width:58.333333%!important}.desktop-xl\:w-8\/12{width:66.666667%!important}.desktop-xl\:w-9\/12{width:75%!important}.desktop-xl\:w-10\/12{width:83.333333%!important}.desktop-xl\:w-11\/12{width:91.666667%!important}}.h-8{height:2rem!important}@media (min-width:64rem){.desktop-xs\:flex{display:flex!important}}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.w-3\/4{width:75%!important}.justify-self-end{justify-self:end!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}@media (min-width:64rem){.desktop-xs\:hidden{display:none!important}.desktop-xs\:w-auto{width:auto!important}.desktop-xs\:flex-row{flex-direction:row!important}}.m-0{margin:0!important}.table-row{display:table-row!important}.visible{visibility:visible!important}.absolute{position:absolute!important}.blur{--tw-blur:blur(8px)!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}
@@ -260,3 +260,4 @@ export class TableCell {
260
260
  };
261
261
  }
262
262
  }
263
+ //# sourceMappingURL=table-cell.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-cell.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/table-cell/table-cell.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAKzD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAOjD,MAAM,OAAO,SAAS;;mBAIkC,SAAS;;;;;;;oBAmCb,CAAC,EAC7C,KAAK,GACa,EAAE,EAAE,CAAC,KAAK;;EAEhC,IAAI,IAAI;;IACJ,IAAI,IAAI,CAAC,OAAO,KAAK,QAAQ,EAAE;MAC3B,OAAO;QACH,KAAK,EAAE,IAAI,CAAC,KAAK;OACpB,CAAC;KACL;IAED,OAAO;MACH,KAAK,EACD,MAAA,IAAI,CAAC,KAAK,mCAAI,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;MAClE,IAAI,EAAE,IAAI,CAAC,IAAI;MACf,KAAK,EAAE,IAAI,CAAC,KAAK;MACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ;KAC1B,CAAC;EACN,CAAC;EAED,MAAM;IACF,OAAO,CACH,EAAC,IAAI,IACD,KAAK,kBACD,cAAc,EAAE,IAAI,EACpB,CAAC,WAAW,IAAI,CAAC,OAAO,EAAE,CAAC,EAAE,IAAI,IAC9B,IAAI,CAAC,iBAAiB,EAAE;MAG9B,IAAI,CAAC,QAAQ;MAEb,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,CAC1B,gBACI,OAAO,EAAC,OAAO,EACf,KAAK,EAAC,2BAA2B,GACnC,CACL,CAAC,CAAC,CAAC,CACA,WAAK,KAAK,EAAC,MAAM,IACZ,IAAI,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,CACzB,IAAI,CAAC,IAAI,CAAC,KAA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AI,CAAC,KAAK,CAAC,EAAE;QACnC,IAAI,IAAI,KAAK,SAAS,EAAE;UACpB,OAAO,CAAC,KAAK,KAAK,CAAC,OAAO,KAAK,CAAC,GAAG,IAAI,CAAC;UACxC,SAAS;SACZ;QAED,OAAO,CAAC,GAAG,IAAI,MAAM,KAAK,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;OACtD;MAED,OAAO,OAAO,CAAC;KAClB;IAED,eAAe;IACf,OAAO;MACH,CAAC,KAAK,KAAK,KAAK,CAAC,EAAE,IAAI;KAC1B,CAAC;EACN,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { Component, h, Host, Prop } from '@stencil/core';\nimport {\n TableDefinitionData,\n TableDefinitionTemplateFunc,\n} from '../../../types';\nimport { objectGetByPath } from '../../../utils';\nimport { TableColumn } from '../../helpers/table-column/table-column.component';\n\n@Component({\n tag: 'p-table-cell',\n styleUrl: 'table-cell.component.scss',\n})\nexport class TableCell {\n /**\n * The variant of the column\n */\n @Prop() variant: 'default' | 'loading' | 'header' = 'default';\n\n /**\n * The index of the column\n */\n @Prop() index: number;\n\n /**\n * The index of the row\n */\n @Prop() rowIndex: number;\n\n /**\n * The definition of the table column\n */\n @Prop() definition?: TableColumn;\n\n /**\n * The item in question\n */\n @Prop() item: any;\n\n /**\n * The value of the column\n */\n @Prop() value: any;\n\n /**\n * The checkbox to show\n */\n @Prop() checkbox: any;\n\n /**\n * The template to show\n */\n @Prop() template: TableDefinitionTemplateFunc = ({\n value,\n }: TableDefinitionData) => value;\n\n get data(): TableDefinitionData | { value: string } {\n if (this.variant === 'header') {\n return {\n value: this.value,\n };\n }\n\n return {\n value:\n this.value ?? objectGetByPath(this.item, this.definition.path),\n item: this.item,\n index: this.index,\n rowIndex: this.rowIndex,\n };\n }\n\n render() {\n return (\n <Host\n class={{\n 'p-table-cell': true,\n [`variant-${this.variant}`]: true,\n ...this._getColumnClasses(),\n }}\n >\n {this.checkbox}\n\n {this.variant === 'loading' ? (\n <p-loader\n variant=\"ghost\"\n class=\"rounded flex-1 w-full h-6\"\n />\n ) : (\n <div class=\"flex\">\n {this.variant === 'header' ? (\n this.data.value\n ) : this.definition.useSlot ? (\n <slot />\n ) : (\n this.template(this.data as TableDefinitionData)\n )}\n </div>\n )}\n </Host>\n );\n }\n\n private _getColumnClasses() {\n const sizes = this.definition ? this._getSizes(this.definition) : {};\n return {\n 'justify-start':\n !this.definition?.align || this.definition?.align === 'start',\n 'justify-center': this.definition?.align === 'center',\n 'justify-end': this.definition?.align === 'end',\n 'font-semibold':\n this.variant !== 'header' && this.definition?.type === 'th',\n 'text-storm-dark':\n this.variant !== 'header' && this.definition?.type === 'th',\n ...sizes,\n };\n }\n\n /* \n With this, we shall hack the system in ways no one would ever have thought.\n \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\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 private _getSizes({ sizes }: TableColumn) {\n if (sizes === 'auto' || !sizes) {\n return {\n 'w-auto': true,\n };\n }\n\n if (typeof sizes === 'object') {\n const classes = {};\n for (const size of Object.keys(sizes)) {\n if (size === 'default') {\n classes[`w-${sizes.default}/12`] = true;\n continue;\n }\n\n classes[`${size}:w-${sizes[`${size}`]}/12`] = true;\n }\n\n return classes;\n }\n\n // is a number.\n return {\n [`w-${sizes}/12`]: true,\n };\n }\n}\n"]}
@@ -1 +1 @@
1
- .flex{display:flex!important}.grid{display:grid!important}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.justify-self-end{justify-self:end!important}.justify-self-center{justify-self:center!important}*{box-sizing:border-box}:host{display:grid;gap:1rem;grid-template-columns:repeat(1,minmax(0,1fr));padding:1.5rem;width:100%}:host>p-pagination{display:flex;grid-column-start:1;justify-self:center}:host>p-loader{grid-column-start:1}@media (min-width:64rem){:host{grid-template-areas:"page-size pagination export";grid-template-columns:repeat(3,minmax(0,1fr))}:host>p-page-size-select{grid-column-start:1}:host>p-pagination{grid-column-start:2}:host>p-loader{grid-column-start:2}:host>p-button{grid-column-start:3;justify-self:end}}:host(.page-size-disabled.export-disabled){grid-template-columns:repeat(1,minmax(0,1fr))}:host(.page-size-disabled.export-disabled)>p-pagination{grid-column-start:1}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\[20rem\]{max-width:20rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.filter{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}.w-full{width:100%!important}.w-1\/12{width:8.333333%!important}.w-2\/12{width:16.666667%!important}.w-3\/12{width:25%!important}.w-4\/12{width:33.333333%!important}.w-5\/12{width:41.666667%!important}.w-6\/12{width:50%!important}.w-7\/12{width:58.333333%!important}.w-8\/12{width:66.666667%!important}.w-9\/12{width:75%!important}.w-10\/12{width:83.333333%!important}.w-11\/12{width:91.666667%!important}.w-auto{width:auto!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}@media (min-width:40rem){.tablet\:w-1\/12{width:8.333333%!important}.tablet\:w-2\/12{width:16.666667%!important}.tablet\:w-3\/12{width:25%!important}.tablet\:w-4\/12{width:33.333333%!important}.tablet\:w-5\/12{width:41.666667%!important}.tablet\:w-6\/12{width:50%!important}.tablet\:w-7\/12{width:58.333333%!important}.tablet\:w-8\/12{width:66.666667%!important}.tablet\:w-9\/12{width:75%!important}.tablet\:w-10\/12{width:83.333333%!important}.tablet\:w-11\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\:w-1\/12{width:8.333333%!important}.desktop-xs\:w-2\/12{width:16.666667%!important}.desktop-xs\:w-3\/12{width:25%!important}.desktop-xs\:w-4\/12{width:33.333333%!important}.desktop-xs\:w-5\/12{width:41.666667%!important}.desktop-xs\:w-6\/12{width:50%!important}.desktop-xs\:w-7\/12{width:58.333333%!important}.desktop-xs\:w-8\/12{width:66.666667%!important}.desktop-xs\:w-9\/12{width:75%!important}.desktop-xs\:w-10\/12{width:83.333333%!important}.desktop-xs\:w-11\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\:w-1\/12{width:8.333333%!important}.desktop-sm\:w-2\/12{width:16.666667%!important}.desktop-sm\:w-3\/12{width:25%!important}.desktop-sm\:w-4\/12{width:33.333333%!important}.desktop-sm\:w-5\/12{width:41.666667%!important}.desktop-sm\:w-6\/12{width:50%!important}.desktop-sm\:w-7\/12{width:58.333333%!important}.desktop-sm\:w-8\/12{width:66.666667%!important}.desktop-sm\:w-9\/12{width:75%!important}.desktop-sm\:w-10\/12{width:83.333333%!important}.desktop-sm\:w-11\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\:w-1\/12{width:8.333333%!important}.desktop\:w-2\/12{width:16.666667%!important}.desktop\:w-3\/12{width:25%!important}.desktop\:w-4\/12{width:33.333333%!important}.desktop\:w-5\/12{width:41.666667%!important}.desktop\:w-6\/12{width:50%!important}.desktop\:w-7\/12{width:58.333333%!important}.desktop\:w-8\/12{width:66.666667%!important}.desktop\:w-9\/12{width:75%!important}.desktop\:w-10\/12{width:83.333333%!important}.desktop\:w-11\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\:w-1\/12{width:8.333333%!important}.desktop-lg\:w-2\/12{width:16.666667%!important}.desktop-lg\:w-3\/12{width:25%!important}.desktop-lg\:w-4\/12{width:33.333333%!important}.desktop-lg\:w-5\/12{width:41.666667%!important}.desktop-lg\:w-6\/12{width:50%!important}.desktop-lg\:w-7\/12{width:58.333333%!important}.desktop-lg\:w-8\/12{width:66.666667%!important}.desktop-lg\:w-9\/12{width:75%!important}.desktop-lg\:w-10\/12{width:83.333333%!important}.desktop-lg\:w-11\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\:w-1\/12{width:8.333333%!important}.desktop-xl\:w-2\/12{width:16.666667%!important}.desktop-xl\:w-3\/12{width:25%!important}.desktop-xl\:w-4\/12{width:33.333333%!important}.desktop-xl\:w-5\/12{width:41.666667%!important}.desktop-xl\:w-6\/12{width:50%!important}.desktop-xl\:w-7\/12{width:58.333333%!important}.desktop-xl\:w-8\/12{width:66.666667%!important}.desktop-xl\:w-9\/12{width:75%!important}.desktop-xl\:w-10\/12{width:83.333333%!important}.desktop-xl\:w-11\/12{width:91.666667%!important}}.h-8{height:2rem!important}@media (min-width:64rem){.desktop-xs\:flex{display:flex!important}}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.w-3\/4{width:75%!important}.gap-4{gap:1rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}@media (min-width:64rem){.desktop-xs\:hidden{display:none!important}.desktop-xs\:w-auto{width:auto!important}.desktop-xs\:flex-row{flex-direction:row!important}}.m-0{margin:0!important}.visible{visibility:visible!important}.absolute{position:absolute!important}.blur{--tw-blur:blur(8px)!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}
1
+ .flex{display:flex!important}.grid{display:grid!important}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.justify-self-end{justify-self:end!important}.justify-self-center{justify-self:center!important}*{box-sizing:border-box}:host{display:grid;gap:1rem;grid-template-columns:repeat(1,minmax(0,1fr));padding:1.5rem;width:100%}:host>p-pagination{display:flex;grid-column-start:1;justify-self:center}:host>p-loader{grid-column-start:1}@media (min-width:64rem){:host{grid-template-areas:"page-size pagination export";grid-template-columns:repeat(3,minmax(0,1fr))}:host>p-page-size-select{grid-column-start:1}:host>p-pagination{grid-column-start:2}:host>p-loader{grid-column-start:2}:host>p-button{grid-column-start:3;justify-self:end}}:host(.page-size-disabled.export-disabled){grid-template-columns:repeat(1,minmax(0,1fr))}:host(.page-size-disabled.export-disabled)>p-pagination{grid-column-start:1}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\[20rem\]{max-width:20rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.filter{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}.table-cell{display:table-cell!important}.w-full{width:100%!important}.w-1\/12{width:8.333333%!important}.w-2\/12{width:16.666667%!important}.w-3\/12{width:25%!important}.w-4\/12{width:33.333333%!important}.w-5\/12{width:41.666667%!important}.w-6\/12{width:50%!important}.w-7\/12{width:58.333333%!important}.w-8\/12{width:66.666667%!important}.w-9\/12{width:75%!important}.w-10\/12{width:83.333333%!important}.w-11\/12{width:91.666667%!important}.w-auto{width:auto!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}@media (min-width:40rem){.tablet\:w-1\/12{width:8.333333%!important}.tablet\:w-2\/12{width:16.666667%!important}.tablet\:w-3\/12{width:25%!important}.tablet\:w-4\/12{width:33.333333%!important}.tablet\:w-5\/12{width:41.666667%!important}.tablet\:w-6\/12{width:50%!important}.tablet\:w-7\/12{width:58.333333%!important}.tablet\:w-8\/12{width:66.666667%!important}.tablet\:w-9\/12{width:75%!important}.tablet\:w-10\/12{width:83.333333%!important}.tablet\:w-11\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\:w-1\/12{width:8.333333%!important}.desktop-xs\:w-2\/12{width:16.666667%!important}.desktop-xs\:w-3\/12{width:25%!important}.desktop-xs\:w-4\/12{width:33.333333%!important}.desktop-xs\:w-5\/12{width:41.666667%!important}.desktop-xs\:w-6\/12{width:50%!important}.desktop-xs\:w-7\/12{width:58.333333%!important}.desktop-xs\:w-8\/12{width:66.666667%!important}.desktop-xs\:w-9\/12{width:75%!important}.desktop-xs\:w-10\/12{width:83.333333%!important}.desktop-xs\:w-11\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\:w-1\/12{width:8.333333%!important}.desktop-sm\:w-2\/12{width:16.666667%!important}.desktop-sm\:w-3\/12{width:25%!important}.desktop-sm\:w-4\/12{width:33.333333%!important}.desktop-sm\:w-5\/12{width:41.666667%!important}.desktop-sm\:w-6\/12{width:50%!important}.desktop-sm\:w-7\/12{width:58.333333%!important}.desktop-sm\:w-8\/12{width:66.666667%!important}.desktop-sm\:w-9\/12{width:75%!important}.desktop-sm\:w-10\/12{width:83.333333%!important}.desktop-sm\:w-11\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\:w-1\/12{width:8.333333%!important}.desktop\:w-2\/12{width:16.666667%!important}.desktop\:w-3\/12{width:25%!important}.desktop\:w-4\/12{width:33.333333%!important}.desktop\:w-5\/12{width:41.666667%!important}.desktop\:w-6\/12{width:50%!important}.desktop\:w-7\/12{width:58.333333%!important}.desktop\:w-8\/12{width:66.666667%!important}.desktop\:w-9\/12{width:75%!important}.desktop\:w-10\/12{width:83.333333%!important}.desktop\:w-11\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\:w-1\/12{width:8.333333%!important}.desktop-lg\:w-2\/12{width:16.666667%!important}.desktop-lg\:w-3\/12{width:25%!important}.desktop-lg\:w-4\/12{width:33.333333%!important}.desktop-lg\:w-5\/12{width:41.666667%!important}.desktop-lg\:w-6\/12{width:50%!important}.desktop-lg\:w-7\/12{width:58.333333%!important}.desktop-lg\:w-8\/12{width:66.666667%!important}.desktop-lg\:w-9\/12{width:75%!important}.desktop-lg\:w-10\/12{width:83.333333%!important}.desktop-lg\:w-11\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\:w-1\/12{width:8.333333%!important}.desktop-xl\:w-2\/12{width:16.666667%!important}.desktop-xl\:w-3\/12{width:25%!important}.desktop-xl\:w-4\/12{width:33.333333%!important}.desktop-xl\:w-5\/12{width:41.666667%!important}.desktop-xl\:w-6\/12{width:50%!important}.desktop-xl\:w-7\/12{width:58.333333%!important}.desktop-xl\:w-8\/12{width:66.666667%!important}.desktop-xl\:w-9\/12{width:75%!important}.desktop-xl\:w-10\/12{width:83.333333%!important}.desktop-xl\:w-11\/12{width:91.666667%!important}}.h-8{height:2rem!important}@media (min-width:64rem){.desktop-xs\:flex{display:flex!important}}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.w-3\/4{width:75%!important}.gap-4{gap:1rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}@media (min-width:64rem){.desktop-xs\:hidden{display:none!important}.desktop-xs\:w-auto{width:auto!important}.desktop-xs\:flex-row{flex-direction:row!important}}.m-0{margin:0!important}.table-row{display:table-row!important}.visible{visibility:visible!important}.absolute{position:absolute!important}.blur{--tw-blur:blur(8px)!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}
@@ -273,3 +273,4 @@ export class TableFooter {
273
273
  }];
274
274
  }
275
275
  }
276
+ //# sourceMappingURL=table-footer.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-footer.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/table-footer/table-footer.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,GACR,MAAM,eAAe,CAAC;AACvB,OAAO,EACH,iBAAiB,EACjB,yBAAyB,GAC5B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAOhF,MAAM,OAAO,WAAW;;0BAIc,IAAI;4BAKF,IAAI;wBAKR,IAAI;mBAKT,KAAK;gBAKuB,CAAC;;oBAe7B,WAAW;2BAKF,kBAAkB;4BAelB,IAAI;oBAUP,EAAE;;EAEnC,iBAAiB;IACb,IAAI,CAAC,WAAW,EAAE,CAAC;EACvB,CAAC;EAED,MAAM;;IACF,MAAM,kBAAkB,GACpB,IAAI,CAAC,gBAAgB,IAAI,IAAI,CAAC,KAAK,IAAG,MAAA,IAAI,CAAC,eAAe,0CAAG,C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C,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CACjC,CACd,CACE,CACV,CAAC;EACN,CAAC;EAGO,KAAK,CAAC,WAAW;IACrB,IAAI,CAAC,QAAQ,GAAG,MAAM,yBAAyB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;EAC9D,CAAC;EAEO,eAAe,CAAC,CAAU;IAC9B,IAAI,CAAC,CAAC,EAAE;MACJ,OAAO;KACV;IAED,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;IAClB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;EAC5C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n} from '@stencil/core';\nimport {\n formatTranslation,\n getLocaleComponentStrings,\n} from '../../../utils/localization';\nimport { defaultSize, defaultSizeOptions } from '../page-size-select/constants';\n\n@Component({\n tag: 'p-table-footer',\n styleUrl: 'table-footer.component.scss',\n shadow: true,\n})\nexport class TableFooter {\n /**\n * Wether to enable page size select\n */\n @Prop() enablePageSize: boolean = true;\n\n /**\n * Wether to enable pagination\n */\n @Prop() enablePagination: boolean = true;\n\n /**\n * Wether to enable export\n */\n @Prop() enableExport: boolean = true;\n\n /**\n * Wether we want to show loading state\n */\n @Prop() loading: boolean = false;\n\n /**\n * The current page\n */\n @Prop({ mutable: true, reflect: true }) page: number = 1;\n\n /**\n * The total amount of items\n */\n @Prop() total!: number;\n\n /**\n * Event whenever the page changes\n */\n @Event() pageChange: EventEmitter<number>;\n\n /**\n * The amount of items per page\n */\n @Prop() pageSize: number = defaultSize;\n\n /**\n * The options for the page size\n */\n @Prop() pageSizeOptions: number[] = defaultSizeOptions;\n\n /**\n * Event whenever the page changes\n */\n @Event() pageSizeChange: EventEmitter<number>;\n\n /**\n * Event whenever the page changes\n */\n @Event() export: EventEmitter<number>;\n\n /**\n * Wether to hide when there is only 1 page available\n */\n @Prop() hideOnSinglePage: boolean = true;\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n /**\n * Locales used for this component\n */\n @State() private _locales: any = {};\n\n componentWillLoad() {\n this._setLocales();\n }\n\n render() {\n const hidePageSizeSelect =\n this.hideOnSinglePage && this.total < this.pageSizeOptions?.[0];\n return (\n <Host\n class={`p-table-footer ${\n !this.enablePageSize && 'page-size-disabled'\n } ${!this.enablePagination && 'pagination-disabled'} ${\n !this.enableExport && 'export-disabled'\n }`}\n >\n {!this.loading &&\n this.enablePagination &&\n this.enablePageSize && (\n <p-page-size-select\n class={\n !hidePageSizeSelect && 'hidden desktop-xs:flex'\n }\n hidden={hidePageSizeSelect}\n size={this.pageSize}\n sizeOptions={this.pageSizeOptions}\n onSizeChange={({ detail }) =>\n this._changePageSize(detail)\n }\n />\n )}\n\n {this.loading && (\n <p-loader\n variant=\"ghost\"\n class=\"rounded w-full h-8\"\n ></p-loader>\n )}\n\n {!this.loading && this.enablePagination && (\n <p-pagination\n pageSize={this.pageSize}\n total={this.total}\n page={this.page}\n hideOnSinglePage={this.hideOnSinglePage}\n onPageChange={({ detail }) =>\n this.pageChange.emit(detail)\n }\n />\n )}\n {!this.loading && this.enableExport && (\n <p-button\n class=\"hidden desktop-xs:flex\"\n variant=\"secondary\"\n size=\"small\"\n icon=\"download\"\n onClick={() => this.export.emit()}\n >\n {formatTranslation(this._locales.export)}\n </p-button>\n )}\n </Host>\n );\n }\n\n @Listen('localeChanged', { target: 'body' })\n private async _setLocales(): Promise<void> {\n this._locales = await getLocaleComponentStrings(this._el);\n }\n\n private _changePageSize(s?: number) {\n if (!s) {\n return;\n }\n\n this.pageSize = s;\n this.pageSizeChange.emit(this.pageSize);\n }\n}\n"]}
@@ -1 +1 @@
1
- .flex{display:flex!important}.grid{display:grid!important}.flex-col{flex-direction:column!important}.justify-self-start{justify-self:start!important}.p-4{padding:1rem!important}*{box-sizing:border-box}:host{display:flex;flex-direction:column;gap:1rem;padding:1rem;width:100%}@media (min-width:64rem){:host{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:1.5rem}}:host p-segment-container{grid-column-start:1;justify-self:start}:host>div{grid-column-start:2}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\[20rem\]{max-width:20rem!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.filter{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}.w-full{width:100%!important}.w-1\/12{width:8.333333%!important}.w-2\/12{width:16.666667%!important}.w-3\/12{width:25%!important}.w-4\/12{width:33.333333%!important}.w-5\/12{width:41.666667%!important}.w-6\/12{width:50%!important}.w-7\/12{width:58.333333%!important}.w-8\/12{width:66.666667%!important}.w-9\/12{width:75%!important}.w-10\/12{width:83.333333%!important}.w-11\/12{width:91.666667%!important}.w-auto{width:auto!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}@media (min-width:40rem){.tablet\:w-1\/12{width:8.333333%!important}.tablet\:w-2\/12{width:16.666667%!important}.tablet\:w-3\/12{width:25%!important}.tablet\:w-4\/12{width:33.333333%!important}.tablet\:w-5\/12{width:41.666667%!important}.tablet\:w-6\/12{width:50%!important}.tablet\:w-7\/12{width:58.333333%!important}.tablet\:w-8\/12{width:66.666667%!important}.tablet\:w-9\/12{width:75%!important}.tablet\:w-10\/12{width:83.333333%!important}.tablet\:w-11\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\:w-1\/12{width:8.333333%!important}.desktop-xs\:w-2\/12{width:16.666667%!important}.desktop-xs\:w-3\/12{width:25%!important}.desktop-xs\:w-4\/12{width:33.333333%!important}.desktop-xs\:w-5\/12{width:41.666667%!important}.desktop-xs\:w-6\/12{width:50%!important}.desktop-xs\:w-7\/12{width:58.333333%!important}.desktop-xs\:w-8\/12{width:66.666667%!important}.desktop-xs\:w-9\/12{width:75%!important}.desktop-xs\:w-10\/12{width:83.333333%!important}.desktop-xs\:w-11\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\:w-1\/12{width:8.333333%!important}.desktop-sm\:w-2\/12{width:16.666667%!important}.desktop-sm\:w-3\/12{width:25%!important}.desktop-sm\:w-4\/12{width:33.333333%!important}.desktop-sm\:w-5\/12{width:41.666667%!important}.desktop-sm\:w-6\/12{width:50%!important}.desktop-sm\:w-7\/12{width:58.333333%!important}.desktop-sm\:w-8\/12{width:66.666667%!important}.desktop-sm\:w-9\/12{width:75%!important}.desktop-sm\:w-10\/12{width:83.333333%!important}.desktop-sm\:w-11\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\:w-1\/12{width:8.333333%!important}.desktop\:w-2\/12{width:16.666667%!important}.desktop\:w-3\/12{width:25%!important}.desktop\:w-4\/12{width:33.333333%!important}.desktop\:w-5\/12{width:41.666667%!important}.desktop\:w-6\/12{width:50%!important}.desktop\:w-7\/12{width:58.333333%!important}.desktop\:w-8\/12{width:66.666667%!important}.desktop\:w-9\/12{width:75%!important}.desktop\:w-10\/12{width:83.333333%!important}.desktop\:w-11\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\:w-1\/12{width:8.333333%!important}.desktop-lg\:w-2\/12{width:16.666667%!important}.desktop-lg\:w-3\/12{width:25%!important}.desktop-lg\:w-4\/12{width:33.333333%!important}.desktop-lg\:w-5\/12{width:41.666667%!important}.desktop-lg\:w-6\/12{width:50%!important}.desktop-lg\:w-7\/12{width:58.333333%!important}.desktop-lg\:w-8\/12{width:66.666667%!important}.desktop-lg\:w-9\/12{width:75%!important}.desktop-lg\:w-10\/12{width:83.333333%!important}.desktop-lg\:w-11\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\:w-1\/12{width:8.333333%!important}.desktop-xl\:w-2\/12{width:16.666667%!important}.desktop-xl\:w-3\/12{width:25%!important}.desktop-xl\:w-4\/12{width:33.333333%!important}.desktop-xl\:w-5\/12{width:41.666667%!important}.desktop-xl\:w-6\/12{width:50%!important}.desktop-xl\:w-7\/12{width:58.333333%!important}.desktop-xl\:w-8\/12{width:66.666667%!important}.desktop-xl\:w-9\/12{width:75%!important}.desktop-xl\:w-10\/12{width:83.333333%!important}.desktop-xl\:w-11\/12{width:91.666667%!important}}.h-8{height:2rem!important}@media (min-width:64rem){.desktop-xs\:flex{display:flex!important}}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.w-3\/4{width:75%!important}.gap-4{gap:1rem!important}.justify-self-end{justify-self:end!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}@media (min-width:64rem){.desktop-xs\:hidden{display:none!important}.desktop-xs\:w-auto{width:auto!important}.desktop-xs\:flex-row{flex-direction:row!important}}.m-0{margin:0!important}.visible{visibility:visible!important}.absolute{position:absolute!important}.blur{--tw-blur:blur(8px)!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}
1
+ .flex{display:flex!important}.grid{display:grid!important}.flex-col{flex-direction:column!important}.justify-self-start{justify-self:start!important}.p-4{padding:1rem!important}*{box-sizing:border-box}:host{display:flex;flex-direction:column;gap:1rem;padding:1rem;width:100%}@media (min-width:64rem){:host{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:1.5rem}}:host p-segment-container{grid-column-start:1;justify-self:start}:host>div{grid-column-start:2}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\[20rem\]{max-width:20rem!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.filter{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}.table-cell{display:table-cell!important}.w-full{width:100%!important}.w-1\/12{width:8.333333%!important}.w-2\/12{width:16.666667%!important}.w-3\/12{width:25%!important}.w-4\/12{width:33.333333%!important}.w-5\/12{width:41.666667%!important}.w-6\/12{width:50%!important}.w-7\/12{width:58.333333%!important}.w-8\/12{width:66.666667%!important}.w-9\/12{width:75%!important}.w-10\/12{width:83.333333%!important}.w-11\/12{width:91.666667%!important}.w-auto{width:auto!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}@media (min-width:40rem){.tablet\:w-1\/12{width:8.333333%!important}.tablet\:w-2\/12{width:16.666667%!important}.tablet\:w-3\/12{width:25%!important}.tablet\:w-4\/12{width:33.333333%!important}.tablet\:w-5\/12{width:41.666667%!important}.tablet\:w-6\/12{width:50%!important}.tablet\:w-7\/12{width:58.333333%!important}.tablet\:w-8\/12{width:66.666667%!important}.tablet\:w-9\/12{width:75%!important}.tablet\:w-10\/12{width:83.333333%!important}.tablet\:w-11\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\:w-1\/12{width:8.333333%!important}.desktop-xs\:w-2\/12{width:16.666667%!important}.desktop-xs\:w-3\/12{width:25%!important}.desktop-xs\:w-4\/12{width:33.333333%!important}.desktop-xs\:w-5\/12{width:41.666667%!important}.desktop-xs\:w-6\/12{width:50%!important}.desktop-xs\:w-7\/12{width:58.333333%!important}.desktop-xs\:w-8\/12{width:66.666667%!important}.desktop-xs\:w-9\/12{width:75%!important}.desktop-xs\:w-10\/12{width:83.333333%!important}.desktop-xs\:w-11\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\:w-1\/12{width:8.333333%!important}.desktop-sm\:w-2\/12{width:16.666667%!important}.desktop-sm\:w-3\/12{width:25%!important}.desktop-sm\:w-4\/12{width:33.333333%!important}.desktop-sm\:w-5\/12{width:41.666667%!important}.desktop-sm\:w-6\/12{width:50%!important}.desktop-sm\:w-7\/12{width:58.333333%!important}.desktop-sm\:w-8\/12{width:66.666667%!important}.desktop-sm\:w-9\/12{width:75%!important}.desktop-sm\:w-10\/12{width:83.333333%!important}.desktop-sm\:w-11\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\:w-1\/12{width:8.333333%!important}.desktop\:w-2\/12{width:16.666667%!important}.desktop\:w-3\/12{width:25%!important}.desktop\:w-4\/12{width:33.333333%!important}.desktop\:w-5\/12{width:41.666667%!important}.desktop\:w-6\/12{width:50%!important}.desktop\:w-7\/12{width:58.333333%!important}.desktop\:w-8\/12{width:66.666667%!important}.desktop\:w-9\/12{width:75%!important}.desktop\:w-10\/12{width:83.333333%!important}.desktop\:w-11\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\:w-1\/12{width:8.333333%!important}.desktop-lg\:w-2\/12{width:16.666667%!important}.desktop-lg\:w-3\/12{width:25%!important}.desktop-lg\:w-4\/12{width:33.333333%!important}.desktop-lg\:w-5\/12{width:41.666667%!important}.desktop-lg\:w-6\/12{width:50%!important}.desktop-lg\:w-7\/12{width:58.333333%!important}.desktop-lg\:w-8\/12{width:66.666667%!important}.desktop-lg\:w-9\/12{width:75%!important}.desktop-lg\:w-10\/12{width:83.333333%!important}.desktop-lg\:w-11\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\:w-1\/12{width:8.333333%!important}.desktop-xl\:w-2\/12{width:16.666667%!important}.desktop-xl\:w-3\/12{width:25%!important}.desktop-xl\:w-4\/12{width:33.333333%!important}.desktop-xl\:w-5\/12{width:41.666667%!important}.desktop-xl\:w-6\/12{width:50%!important}.desktop-xl\:w-7\/12{width:58.333333%!important}.desktop-xl\:w-8\/12{width:66.666667%!important}.desktop-xl\:w-9\/12{width:75%!important}.desktop-xl\:w-10\/12{width:83.333333%!important}.desktop-xl\:w-11\/12{width:91.666667%!important}}.h-8{height:2rem!important}@media (min-width:64rem){.desktop-xs\:flex{display:flex!important}}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.w-3\/4{width:75%!important}.gap-4{gap:1rem!important}.justify-self-end{justify-self:end!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}@media (min-width:64rem){.desktop-xs\:hidden{display:none!important}.desktop-xs\:w-auto{width:auto!important}.desktop-xs\:flex-row{flex-direction:row!important}}.m-0{margin:0!important}.table-row{display:table-row!important}.visible{visibility:visible!important}.absolute{position:absolute!important}.blur{--tw-blur:blur(8px)!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}
@@ -224,7 +224,8 @@ export class TableHeader {
224
224
  "resolved": "() => string",
225
225
  "references": {
226
226
  "templateFunc": {
227
- "location": "local"
227
+ "location": "local",
228
+ "path": "/home/runner/work/Paperless/Paperless/packages/core/src/components/molecules/table-header/table-header.component.tsx"
228
229
  }
229
230
  }
230
231
  },
@@ -280,7 +281,8 @@ export class TableHeader {
280
281
  "resolved": "(amount: number) => string",
281
282
  "references": {
282
283
  "buttonTemplateFunc": {
283
- "location": "local"
284
+ "location": "local",
285
+ "path": "/home/runner/work/Paperless/Paperless/packages/core/src/components/molecules/table-header/table-header.component.tsx"
284
286
  }
285
287
  }
286
288
  },
@@ -378,3 +380,4 @@ export class TableHeader {
378
380
  }];
379
381
  }
380
382
  }
383
+ //# sourceMappingURL=table-header.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-header.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/table-header/table-header.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,GACR,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,MAAM,CAA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kB;MACpB,CAAC,CAAC,IAAI,CAAC,kBAAkB,CACnB,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CACxC;MACH,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAC3B,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,CACxC,CACA,CACd,CAAC;EACN,CAAC;EAEO,SAAS,CAAC,MAAM,EAAE,UAAgC,SAAS;IAC/D,OAAO,CACH,eACI,IAAI,EAAC,OAAO,EACZ,OAAO,EAAC,UAAU,EAClB,QAAQ,EAAC,MAAM,EACf,KAAK,EAAE,QACH,OAAO,KAAK,SAAS;QACjB,CAAC,CAAC,wBAAwB;QAC1B,CAAC,CAAC,wBACV,EAAE,IAED,MAAM,CACD,CACb,CAAC;EACN,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n} from '@stencil/core';\nimport { debounceTime, distinctUntilChanged, Subject } from 'rxjs';\nimport { QuickFilter } from '../../../types/table';\nimport {\n formatTranslation,\n getLocaleComponentStrings,\n} from '../../../utils/localization';\n\nexport type templateFunc = () => string;\nexport type buttonTemplateFunc = (amount: number) => string;\n\n@Component({\n tag: 'p-table-header',\n styleUrl: 'table-header.component.scss',\n shadow: true,\n})\nexport class TableHeader {\n private _defaultFilterButtonTemplate: templateFunc = () =>\n formatTranslation(this._locales.filter);\n private _defaultEditButtonTemplate: buttonTemplateFunc = (amount: number) =>\n formatTranslation(\n amount === 0\n ? this._locales.edit\n : amount === 1\n ? this._locales.edit_single\n : this._locales.edit_plural,\n { amount }\n );\n\n /**\n * Quick filters to show\n */\n @Prop() quickFilters: QuickFilter[] = [];\n\n /**\n * Active quick filter identifier\n */\n @Prop() activeQuickFilterIdentifier: string;\n\n /**\n * Wether we want to show loading state\n */\n @Prop() loading: boolean = false;\n\n /**\n * Wether to show the search input\n */\n @Prop() enableSearch: boolean = true;\n\n /**\n * The amount of items that are selected\n */\n @Prop() itemsSelectedAmount: number = 0;\n\n /**\n * The query to show in the search bar\n */\n @Prop({ mutable: true }) query: string;\n\n /**\n * Wether to show the filter button\n */\n @Prop() enableFilter: boolean = true;\n\n /**\n * The amount of filters being selected\n */\n @Prop() selectedFiltersAmount: number;\n\n /**\n * The template for the filter button text\n */\n @Prop() filterButtonTemplate: templateFunc =\n this._defaultFilterButtonTemplate;\n\n /**\n * Wether to show the edit button\n */\n @Prop() enableEdit: boolean = true;\n\n /**\n * Wether to enable the edit button\n */\n @Prop({ mutable: true }) canEdit: boolean = false;\n\n /**\n * The template for the edit button text\n */\n @Prop() editButtonTemplate: buttonTemplateFunc =\n this._defaultEditButtonTemplate;\n\n /**\n * Event when one of the quick filters is clicked\n */\n @Event() quickFilter: EventEmitter<QuickFilter>;\n\n /**\n * Event when the query changes\n */\n @Event() queryChange: EventEmitter<string>;\n\n /**\n * Event when the filter button is clicked\n */\n @Event() filter: EventEmitter<null>;\n\n /**\n * Event when the edit button is clicked\n */\n @Event() edit: EventEmitter<null>;\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n /**\n * Locales used for this component\n */\n @State() private _locales: any = {};\n\n private _queryObserver = new Subject<string>();\n\n componentWillLoad() {\n this._setLocales();\n }\n\n componentDidLoad() {\n this._queryObserver\n .pipe(debounceTime(300), distinctUntilChanged())\n .subscribe((value) => this.queryChange.emit(value));\n }\n\n render() {\n const activeQuickFilter = this.quickFilters.find(\n (f) => f.identifier === this.activeQuickFilterIdentifier\n );\n const mobileTotal =\n (this.selectedFiltersAmount || 0) +\n (activeQuickFilter?.default ? 0 : 1);\n\n return (\n <Host class=\"p-table-header\">\n {this.loading && (\n <p-loader\n variant=\"ghost\"\n class=\"hidden desktop-xs:flex rounded w-3/4 h-8\"\n ></p-loader>\n )}\n\n {!this.loading && this.quickFilters.length > 0 && (\n <p-segment-container class=\"hidden desktop-xs:flex\">\n {this.quickFilters.map((item) => (\n <p-segment-item\n active={\n item.identifier ===\n this.activeQuickFilterIdentifier\n }\n onClick={() => this.quickFilter.emit(item)}\n >\n {typeof item.text === 'string'\n ? item.text\n : item.text()}{' '}\n {item?.count >= 0 ? `(${item.count})` : ''}\n </p-segment-item>\n ))}\n </p-segment-container>\n )}\n\n <div class=\"flex flex-col desktop-xs:flex-row gap-4 justify-end justify-self-end\">\n {this.enableSearch && (\n <p-input-group icon=\"search\" size=\"small\">\n <input\n type=\"text\"\n slot=\"input\"\n placeholder=\"Zoeken...\"\n value={this.query}\n onInput={(ev) =>\n this._queryObserver.next(\n (ev.target as HTMLInputElement).value\n )\n }\n />\n </p-input-group>\n )}\n\n {this.enableFilter && (\n <p-button\n icon=\"filter\"\n variant=\"secondary\"\n size=\"small\"\n class=\"w-full desktop-xs:w-auto\"\n onClick={() => this.filter.emit()}\n >\n {this.filterButtonTemplate\n ? this.filterButtonTemplate()\n : this._defaultFilterButtonTemplate()}\n {this.selectedFiltersAmount &&\n this._getLabel(this.selectedFiltersAmount)}\n {mobileTotal > 0 &&\n this._getLabel(mobileTotal, 'mobile')}\n </p-button>\n )}\n\n {this.enableEdit && this._buttonTemplate()}\n </div>\n\n {this.enableEdit && this.canEdit && (\n <div class=\"fixed bottom-0 left-0 w-full p-4 bg-white border border-solid border-transparent border-t-mystic-dark block desktop-xs:hidden\">\n {this._buttonTemplate(true)}\n </div>\n )}\n </Host>\n );\n }\n\n @Listen('localeChanged', { target: 'body' })\n private async _setLocales(): Promise<void> {\n this._locales = await getLocaleComponentStrings(this._el);\n }\n\n private _buttonTemplate(mobile = false) {\n return (\n <p-button\n class={mobile ? 'w-full' : 'hidden desktop-xs:flex'}\n icon=\"pencil\"\n size=\"small\"\n disabled={!this.canEdit}\n onClick={() => this.edit.emit()}\n >\n {this.editButtonTemplate\n ? this.editButtonTemplate(\n mobile ? this.itemsSelectedAmount : 0\n )\n : this._defaultEditButtonTemplate(\n mobile ? this.itemsSelectedAmount : 0\n )}\n </p-button>\n );\n }\n\n private _getLabel(amount, variant: 'mobile' | 'default' = 'default') {\n return (\n <p-label\n size=\"small\"\n variant=\"negative\"\n behavior=\"text\"\n class={`ml-1 ${\n variant === 'default'\n ? 'hidden desktop-xs:flex'\n : 'flex desktop-xs:hidden'\n }`}\n >\n {amount}\n </p-label>\n );\n }\n}\n"]}
@@ -1 +1 @@
1
- .flex{display:flex!important}.w-full{width:100%!important}.flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.gap-4{gap:1rem!important}.border-y{border-bottom-width:1px!important;border-top-width:1px!important}.border-x-0{border-left-width:0!important;border-right-width:0!important}.border-solid{border-style:solid!important}.border-y-mystic-dark{--tw-border-opacity:1!important;border-bottom-color:rgb(218 230 240/var(--tw-border-opacity))!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-indigo-light{--tw-bg-opacity:1!important;background-color:rgb(241 246 255/var(--tw-bg-opacity))!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;color:rgb(128 130 158/var(--tw-text-opacity));display:flex;flex-direction:column;font-size:.875rem;line-height:1.25rem;padding-left:1.5rem;padding-right:1.5rem;width:100%}:host .content{align-items:center;display:flex;flex-wrap:nowrap;gap:1rem;justify-content:space-between;padding-bottom:1.5rem;padding-top:1.5rem;width:100%}:host(.variant-header){--tw-bg-opacity:1;--tw-text-opacity:1;--tw-border-opacity:1!important;background-color:rgb(252 253 254/var(--tw-bg-opacity));border-bottom:1px solid rgb(218 230 240/var(--tw-border-opacity))!important;border-left-style:solid!important;border-left-width:0!important;border-right-style:solid!important;border-right-width:0!important;border-top:1px solid rgb(218 230 240/var(--tw-border-opacity))!important;color:rgb(152 154 183/var(--tw-text-opacity));font-size:.75rem;font-weight:600;line-height:1rem;text-transform:uppercase}:host(.variant-header) .content{padding-bottom:.5rem;padding-top:.5rem}:host(.enable-hover:hover){--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));cursor:pointer}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\[20rem\]{max-width:20rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.filter{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}.w-1\/12{width:8.333333%!important}.w-2\/12{width:16.666667%!important}.w-3\/12{width:25%!important}.w-4\/12{width:33.333333%!important}.w-5\/12{width:41.666667%!important}.w-6\/12{width:50%!important}.w-7\/12{width:58.333333%!important}.w-8\/12{width:66.666667%!important}.w-9\/12{width:75%!important}.w-10\/12{width:83.333333%!important}.w-11\/12{width:91.666667%!important}.w-auto{width:auto!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}@media (min-width:40rem){.tablet\:w-1\/12{width:8.333333%!important}.tablet\:w-2\/12{width:16.666667%!important}.tablet\:w-3\/12{width:25%!important}.tablet\:w-4\/12{width:33.333333%!important}.tablet\:w-5\/12{width:41.666667%!important}.tablet\:w-6\/12{width:50%!important}.tablet\:w-7\/12{width:58.333333%!important}.tablet\:w-8\/12{width:66.666667%!important}.tablet\:w-9\/12{width:75%!important}.tablet\:w-10\/12{width:83.333333%!important}.tablet\:w-11\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\:w-1\/12{width:8.333333%!important}.desktop-xs\:w-2\/12{width:16.666667%!important}.desktop-xs\:w-3\/12{width:25%!important}.desktop-xs\:w-4\/12{width:33.333333%!important}.desktop-xs\:w-5\/12{width:41.666667%!important}.desktop-xs\:w-6\/12{width:50%!important}.desktop-xs\:w-7\/12{width:58.333333%!important}.desktop-xs\:w-8\/12{width:66.666667%!important}.desktop-xs\:w-9\/12{width:75%!important}.desktop-xs\:w-10\/12{width:83.333333%!important}.desktop-xs\:w-11\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\:w-1\/12{width:8.333333%!important}.desktop-sm\:w-2\/12{width:16.666667%!important}.desktop-sm\:w-3\/12{width:25%!important}.desktop-sm\:w-4\/12{width:33.333333%!important}.desktop-sm\:w-5\/12{width:41.666667%!important}.desktop-sm\:w-6\/12{width:50%!important}.desktop-sm\:w-7\/12{width:58.333333%!important}.desktop-sm\:w-8\/12{width:66.666667%!important}.desktop-sm\:w-9\/12{width:75%!important}.desktop-sm\:w-10\/12{width:83.333333%!important}.desktop-sm\:w-11\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\:w-1\/12{width:8.333333%!important}.desktop\:w-2\/12{width:16.666667%!important}.desktop\:w-3\/12{width:25%!important}.desktop\:w-4\/12{width:33.333333%!important}.desktop\:w-5\/12{width:41.666667%!important}.desktop\:w-6\/12{width:50%!important}.desktop\:w-7\/12{width:58.333333%!important}.desktop\:w-8\/12{width:66.666667%!important}.desktop\:w-9\/12{width:75%!important}.desktop\:w-10\/12{width:83.333333%!important}.desktop\:w-11\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\:w-1\/12{width:8.333333%!important}.desktop-lg\:w-2\/12{width:16.666667%!important}.desktop-lg\:w-3\/12{width:25%!important}.desktop-lg\:w-4\/12{width:33.333333%!important}.desktop-lg\:w-5\/12{width:41.666667%!important}.desktop-lg\:w-6\/12{width:50%!important}.desktop-lg\:w-7\/12{width:58.333333%!important}.desktop-lg\:w-8\/12{width:66.666667%!important}.desktop-lg\:w-9\/12{width:75%!important}.desktop-lg\:w-10\/12{width:83.333333%!important}.desktop-lg\:w-11\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\:w-1\/12{width:8.333333%!important}.desktop-xl\:w-2\/12{width:16.666667%!important}.desktop-xl\:w-3\/12{width:25%!important}.desktop-xl\:w-4\/12{width:33.333333%!important}.desktop-xl\:w-5\/12{width:41.666667%!important}.desktop-xl\:w-6\/12{width:50%!important}.desktop-xl\:w-7\/12{width:58.333333%!important}.desktop-xl\:w-8\/12{width:66.666667%!important}.desktop-xl\:w-9\/12{width:75%!important}.desktop-xl\:w-10\/12{width:83.333333%!important}.desktop-xl\:w-11\/12{width:91.666667%!important}}.h-8{height:2rem!important}@media (min-width:64rem){.desktop-xs\:flex{display:flex!important}}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.w-3\/4{width:75%!important}.justify-self-end{justify-self:end!important}.border{border-width:1px!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}@media (min-width:64rem){.desktop-xs\:hidden{display:none!important}.desktop-xs\:w-auto{width:auto!important}.desktop-xs\:flex-row{flex-direction:row!important}}.m-0{margin:0!important}.visible{visibility:visible!important}.absolute{position:absolute!important}.blur{--tw-blur:blur(8px)!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}
1
+ .flex{display:flex!important}.w-full{width:100%!important}.flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.gap-4{gap:1rem!important}.border-y{border-bottom-width:1px!important;border-top-width:1px!important}.border-x-0{border-left-width:0!important;border-right-width:0!important}.border-solid{border-style:solid!important}.border-y-mystic-dark{--tw-border-opacity:1!important;border-bottom-color:rgb(218 230 240/var(--tw-border-opacity))!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-indigo-light{--tw-bg-opacity:1!important;background-color:rgb(241 246 255/var(--tw-bg-opacity))!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;color:rgb(128 130 158/var(--tw-text-opacity));display:flex;flex-direction:column;font-size:.875rem;line-height:1.25rem;padding-left:1.5rem;padding-right:1.5rem;width:100%}:host .content{align-items:center;display:flex;flex-wrap:nowrap;gap:1rem;justify-content:space-between;padding-bottom:1.5rem;padding-top:1.5rem;width:100%}:host(.variant-header){--tw-bg-opacity:1;--tw-text-opacity:1;--tw-border-opacity:1!important;background-color:rgb(252 253 254/var(--tw-bg-opacity));border-bottom:1px solid rgb(218 230 240/var(--tw-border-opacity))!important;border-left-style:solid!important;border-left-width:0!important;border-right-style:solid!important;border-right-width:0!important;border-top:1px solid rgb(218 230 240/var(--tw-border-opacity))!important;color:rgb(152 154 183/var(--tw-text-opacity));font-size:.75rem;font-weight:600;line-height:1rem;text-transform:uppercase}:host(.variant-header) .content{padding-bottom:.5rem;padding-top:.5rem}:host(.enable-hover:hover){--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));cursor:pointer}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\[20rem\]{max-width:20rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.filter{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}.table-cell{display:table-cell!important}.w-1\/12{width:8.333333%!important}.w-2\/12{width:16.666667%!important}.w-3\/12{width:25%!important}.w-4\/12{width:33.333333%!important}.w-5\/12{width:41.666667%!important}.w-6\/12{width:50%!important}.w-7\/12{width:58.333333%!important}.w-8\/12{width:66.666667%!important}.w-9\/12{width:75%!important}.w-10\/12{width:83.333333%!important}.w-11\/12{width:91.666667%!important}.w-auto{width:auto!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}@media (min-width:40rem){.tablet\:w-1\/12{width:8.333333%!important}.tablet\:w-2\/12{width:16.666667%!important}.tablet\:w-3\/12{width:25%!important}.tablet\:w-4\/12{width:33.333333%!important}.tablet\:w-5\/12{width:41.666667%!important}.tablet\:w-6\/12{width:50%!important}.tablet\:w-7\/12{width:58.333333%!important}.tablet\:w-8\/12{width:66.666667%!important}.tablet\:w-9\/12{width:75%!important}.tablet\:w-10\/12{width:83.333333%!important}.tablet\:w-11\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\:w-1\/12{width:8.333333%!important}.desktop-xs\:w-2\/12{width:16.666667%!important}.desktop-xs\:w-3\/12{width:25%!important}.desktop-xs\:w-4\/12{width:33.333333%!important}.desktop-xs\:w-5\/12{width:41.666667%!important}.desktop-xs\:w-6\/12{width:50%!important}.desktop-xs\:w-7\/12{width:58.333333%!important}.desktop-xs\:w-8\/12{width:66.666667%!important}.desktop-xs\:w-9\/12{width:75%!important}.desktop-xs\:w-10\/12{width:83.333333%!important}.desktop-xs\:w-11\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\:w-1\/12{width:8.333333%!important}.desktop-sm\:w-2\/12{width:16.666667%!important}.desktop-sm\:w-3\/12{width:25%!important}.desktop-sm\:w-4\/12{width:33.333333%!important}.desktop-sm\:w-5\/12{width:41.666667%!important}.desktop-sm\:w-6\/12{width:50%!important}.desktop-sm\:w-7\/12{width:58.333333%!important}.desktop-sm\:w-8\/12{width:66.666667%!important}.desktop-sm\:w-9\/12{width:75%!important}.desktop-sm\:w-10\/12{width:83.333333%!important}.desktop-sm\:w-11\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\:w-1\/12{width:8.333333%!important}.desktop\:w-2\/12{width:16.666667%!important}.desktop\:w-3\/12{width:25%!important}.desktop\:w-4\/12{width:33.333333%!important}.desktop\:w-5\/12{width:41.666667%!important}.desktop\:w-6\/12{width:50%!important}.desktop\:w-7\/12{width:58.333333%!important}.desktop\:w-8\/12{width:66.666667%!important}.desktop\:w-9\/12{width:75%!important}.desktop\:w-10\/12{width:83.333333%!important}.desktop\:w-11\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\:w-1\/12{width:8.333333%!important}.desktop-lg\:w-2\/12{width:16.666667%!important}.desktop-lg\:w-3\/12{width:25%!important}.desktop-lg\:w-4\/12{width:33.333333%!important}.desktop-lg\:w-5\/12{width:41.666667%!important}.desktop-lg\:w-6\/12{width:50%!important}.desktop-lg\:w-7\/12{width:58.333333%!important}.desktop-lg\:w-8\/12{width:66.666667%!important}.desktop-lg\:w-9\/12{width:75%!important}.desktop-lg\:w-10\/12{width:83.333333%!important}.desktop-lg\:w-11\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\:w-1\/12{width:8.333333%!important}.desktop-xl\:w-2\/12{width:16.666667%!important}.desktop-xl\:w-3\/12{width:25%!important}.desktop-xl\:w-4\/12{width:33.333333%!important}.desktop-xl\:w-5\/12{width:41.666667%!important}.desktop-xl\:w-6\/12{width:50%!important}.desktop-xl\:w-7\/12{width:58.333333%!important}.desktop-xl\:w-8\/12{width:66.666667%!important}.desktop-xl\:w-9\/12{width:75%!important}.desktop-xl\:w-10\/12{width:83.333333%!important}.desktop-xl\:w-11\/12{width:91.666667%!important}}.h-8{height:2rem!important}@media (min-width:64rem){.desktop-xs\:flex{display:flex!important}}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.w-3\/4{width:75%!important}.justify-self-end{justify-self:end!important}.border{border-width:1px!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}@media (min-width:64rem){.desktop-xs\:hidden{display:none!important}.desktop-xs\:w-auto{width:auto!important}.desktop-xs\:flex-row{flex-direction:row!important}}.m-0{margin:0!important}.table-row{display:table-row!important}.visible{visibility:visible!important}.absolute{position:absolute!important}.blur{--tw-blur:blur(8px)!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}
@@ -62,3 +62,4 @@ export class TableRow {
62
62
  };
63
63
  }
64
64
  }
65
+ //# sourceMappingURL=table-row.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-row.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/table-row/table-row.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,QAAQ;;mBAIuB,SAAS;uBAKlB,IAAI;;EAEnC,MAAM;IACF,OAAO,CACH,EAAC,IAAI,IACD,KAAK,EAAE,uBAAuB,IAAI,CAAC,OAAO,IACtC,IAAI,CAAC,WAAW;QAChB,IAAI,CAAC,OAAO,KAAK,SAAS;QAC1B,cACJ,EAAE;MAEF,WAAK,KAAK,EAAC,SAAS;QAChB,eAAQ,CACN;MAEL,IAAI,CAAC,OAAO,KAAK,SAAS,IAAI,iBAAW,KAAK,EAAC,KAAK,GAAG,CACrD,CACV,CAAC;EACN,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'p-table-row',\n styleUrl: 'table-row.component.scss',\n shadow: true,\n})\nexport class TableRow {\n /**\n * Variant of the header\n */\n @Prop() variant: 'default' | 'header' = 'default';\n\n /**\n * Enable hover\n */\n @Prop() enableHover: boolean = true;\n\n render() {\n return (\n <Host\n class={`p-table-row variant-${this.variant} ${\n this.enableHover &&\n this.variant === 'default' &&\n 'enable-hover'\n }`}\n >\n <div class=\"content\">\n <slot />\n </div>\n\n {this.variant === 'default' && <p-divider class=\"m-0\" />}\n </Host>\n );\n }\n}\n"]}
@@ -194,3 +194,4 @@ export class Toast {
194
194
  }];
195
195
  }
196
196
  }
197
+ //# sourceMappingURL=toast.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toast.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/toast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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\nimport { RotateOptions } from '../../../types';\nimport { IconFlipOptions, IconVariant } from '../../atoms/icon/icon.component';\n\n@Component({\n tag: 'p-toast',\n styleUrl: 'toast.component.scss',\n shadow: true,\n})\nexport class Toast {\n /**\n * The variant of the toast\n */\n @Prop() variant: 'positive' | 'unbiased' | 'negative' = 'positive';\n\n /**\n * The header of the toast\n */\n @Prop() header?: string;\n\n /**\n * The content of the toast\n */\n @Prop() content?: string;\n\n /**\n * Wether to enable the close button\n */\n @Prop() enableAction: boolean = true;\n\n /**\n * Icon to show on the button\n */\n @Prop() actionIcon: IconVariant = 'negative';\n\n /**\n * Icon flip\n */\n @Prop() actionIconFlip: IconFlipOptions;\n\n /**\n * Icon rotate\n */\n @Prop() actionIconRotate: RotateOptions;\n\n /**\n * Button click event\n */\n @Event() action: EventEmitter<MouseEvent>;\n\n render() {\n return (\n <Host\n class={`p-toast variant-${this.variant}`}\n onClick={() => this._onClick()}\n >\n <div class=\"flex flex-col w-full min-w-0\">\n <p class=\"font-semibold text-storm\">\n {this.header?.length ? (\n this.header\n ) : (\n <slot name=\"header\" />\n )}\n </p>\n <p class=\"text-sm text-storm-medium w-full\">\n {this.content?.length ? (\n this.content\n ) : (\n <slot name=\"content\" />\n )}\n </p>\n </div>\n\n {this.enableAction && (\n <p-button\n variant=\"secondary\"\n iconOnly\n size=\"small\"\n icon={this.actionIcon}\n iconFlip={this.actionIconFlip}\n iconRotate={this.actionIconRotate}\n class=\"flex-shrink-0\"\n />\n )}\n </Host>\n );\n }\n\n private _onClick() {\n if (this.enableAction) {\n this.action.emit();\n }\n }\n}\n"]}
@@ -231,3 +231,4 @@ export class Drawer {
231
231
  }
232
232
  static get elementRef() { return "_el"; }
233
233
  }
234
+ //# sourceMappingURL=drawer.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drawer.component.js","sourceRoot":"","sources":["../../../../src/components/organisms/drawer/drawer.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,GACR,MAAM,eAAe,CAAC;AAOvB,MAAM,OAAO,MAAM;;IAsDP,mBAAc,GAAG,KAAK,CAAC;;gBA7CP,KAAK;qBAKA,KAAK;qBAKd,IAAI;8BAKK,IAAI;oBAKL,IAAI;sBAKF,IAAI;oBAsBN,KAAK;;EAEjC,iBAAiB;IACb,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAC1C,0BAA0B,CAC7B,CAAC;EACN,CAAC;EAED,MAAM;;IACF,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;MACZ,OAAO;KACV;IAED,MAAM,aAAa,GAAG,YAAM,IAAI,EAAC,QAAQ,GAAG,CAAC;IAC7C,MAAM,WAAW,GAAG,YAAM,IAAI,EAAC,SAAS,GAAG,CAAC;IAE5C,OAAO,CACH,EAAC,IAAI,IAAC,KAAK,EAAC,UAAU;MAClB,kBACI,OAAO,EAAC,QAAQ,EAChB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,SAAS,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC,MAAM,CAAC,EACjD,OAAO,EAAE,IAAI,CAAC,QAAQ,EACtB,UAAU,EAAE,IAAI,CAAC,UAAU;QAE3B,0BAAoB,OAAO,EAAE,IAAI,CAAC,QAAQ;UACrC,CAAC,CAAA,MAAA,IAAI,CAAC,MAAM,0CAAE,MAAM,KAAI,IAAI,CAAC,cAAc,CAAC,IAAI,CAC7C,qCACgB,IAAI,CAAC,SAAS,EAC1B,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,MAAM,CAAC,IAErC,IAAI,CAAC,cAAc;YAChB,CAAC,CAAC,aAAa;YACf,CAAC,CAAC,IAAI,CAAC,MAAM,CACH,CACrB;UACD,yBAAgB,WAAW,CAAiB,CAC3B,CACZ,CACV,CACV,CAAC;EACN,CAAC;EAEO,cAAc,CAAC,EAAE;IACrB,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE;MAC1B,OAAO;KACV;IAED,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;EACnB,CAAC;EAEM,KAAK,CAAC,EAAc;IACvB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC;MACnB,KAAK,EAAE,EAAE;MACT,QAAQ,EAAE,IAAI,CAAC,QAAQ;KAC1B,CAAC,CAAC;IAEH,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;MAChB,OAAO;KACV;IAED,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;IAErB,UAAU,CAAC,GAAG,EAAE;MACZ,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;MAClB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;MACtB,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC,EAAE,GAAG,CAAC,CAAC;EACZ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n State,\n} from '@stencil/core';\n\n@Component({\n tag: 'p-drawer',\n styleUrl: 'drawer.component.scss',\n shadow: true,\n})\nexport class Drawer {\n /**\n * The Header of the drawer\n */\n @Prop() header?: string;\n\n /**\n * Wether to show the drawer or not\n */\n @Prop() show: boolean = false;\n\n /**\n * Wether to apply blur to the backdrop\n */\n @Prop() applyBlur: boolean = false;\n\n /**\n * Wether to show the close on mobile in the header\n */\n @Prop() showClose = true;\n\n /**\n * Wether to hide the drawer when the backdrop is clicked\n */\n @Prop() backdropClickClose = true;\n\n /**\n * Wether the drawer can be closed\n */\n @Prop() canClose: boolean = true;\n\n /**\n * Wether we should scroll lock the body\n */\n @Prop() scrollLock: boolean = true;\n\n /**\n * Close click event\n */\n @Event() closeClicked: EventEmitter<{\n event: MouseEvent;\n canClose: boolean;\n }>;\n\n /**\n * Closed event\n */\n @Event() closed: EventEmitter<null>;\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n private _hasHeaderSlot = false;\n\n @State() private _closing = false;\n\n componentWillLoad() {\n this._hasHeaderSlot = !!this._el.querySelector(\n ':scope > [slot=\"header\"]'\n );\n }\n\n render() {\n if (!this.show) {\n return;\n }\n\n const headerContent = <slot name=\"header\" />;\n const bodyContent = <slot name=\"content\" />;\n\n return (\n <Host class=\"p-drawer\">\n <p-backdrop\n variant=\"drawer\"\n applyBlur={this.applyBlur}\n onClicked={(ev) => this._backdropClick(ev.detail)}\n closing={this._closing}\n scrollLock={this.scrollLock}\n >\n <p-drawer-container closing={this._closing}>\n {(this.header?.length || this._hasHeaderSlot) && (\n <p-drawer-header\n show-close={this.showClose}\n onClose={(ev) => this.close(ev.detail)}\n >\n {this._hasHeaderSlot\n ? headerContent\n : this.header}\n </p-drawer-header>\n )}\n <p-drawer-body>{bodyContent}</p-drawer-body>\n </p-drawer-container>\n </p-backdrop>\n </Host>\n );\n }\n\n private _backdropClick(ev) {\n if (!this.backdropClickClose) {\n return;\n }\n\n this.close(ev);\n }\n\n public close(ev: MouseEvent) {\n this.closeClicked.emit({\n event: ev,\n canClose: this.canClose,\n });\n\n if (!this.canClose) {\n return;\n }\n\n this._closing = true;\n\n setTimeout(() => {\n this.show = false;\n this._closing = false;\n this.closed.emit();\n }, 250);\n }\n}\n"]}
@@ -256,3 +256,4 @@ export class Modal {
256
256
  }
257
257
  static get elementRef() { return "_el"; }
258
258
  }
259
+ //# sourceMappingURL=modal.component.js.map