@paperless/core 0.1.0-alpha.30 → 0.1.0-alpha.300

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 (632) hide show
  1. package/CHANGELOG.md +2788 -0
  2. package/README.md +9 -1
  3. package/dist/assets/i18n/page-size-select.i18n.en.json +4 -0
  4. package/dist/assets/i18n/page-size-select.i18n.nl.json +4 -0
  5. package/dist/assets/i18n/table-footer.i18n.en.json +3 -0
  6. package/dist/assets/i18n/table-footer.i18n.nl.json +3 -0
  7. package/dist/assets/i18n/table-header.i18n.en.json +6 -0
  8. package/dist/assets/i18n/table-header.i18n.nl.json +6 -0
  9. package/dist/assets/i18n/table.i18n.en.json +13 -0
  10. package/dist/assets/i18n/table.i18n.nl.json +13 -0
  11. package/dist/assets/icons/camera.svg +10 -0
  12. package/dist/assets/icons/filter.svg +6 -13
  13. package/dist/assets/icons/menu.svg +25 -0
  14. package/dist/assets/icons/more.svg +18 -0
  15. package/dist/assets/icons/reload.svg +10 -0
  16. package/dist/assets/icons/signout.svg +23 -0
  17. package/dist/assets/icons/switch.svg +20 -0
  18. package/dist/assets/illustrations/e-mail.svg +1 -0
  19. package/dist/assets/illustrations/empty-state-overview.svg +65 -0
  20. package/dist/assets/illustrations/empty-state-search.svg +88 -0
  21. package/dist/build/index.esm.js +1 -0
  22. package/dist/build/p-0688d548.entry.js +1 -0
  23. package/dist/build/p-07f28695.entry.js +1 -0
  24. package/dist/build/p-09ea2a1a.js +1 -0
  25. package/dist/build/p-12f5c483.entry.js +1 -0
  26. package/dist/build/p-1a4dea17.entry.js +1 -0
  27. package/dist/build/p-2df7dcab.entry.js +1 -0
  28. package/dist/build/p-2e47afc7.entry.js +1 -0
  29. package/dist/build/p-3946e0a3.entry.js +1 -0
  30. package/dist/build/p-4e650fe4.js +1 -0
  31. package/dist/build/p-529ccaf7.entry.js +1 -0
  32. package/dist/build/p-603f7eeb.entry.js +1 -0
  33. package/dist/build/p-62d49606.entry.js +1 -0
  34. package/dist/build/p-66ca8871.entry.js +1 -0
  35. package/dist/build/p-681ed79b.entry.js +1 -0
  36. package/dist/build/p-6c60fd3d.js +1 -0
  37. package/dist/build/p-6cc16633.entry.js +1 -0
  38. package/dist/build/p-7df6230f.entry.js +1 -0
  39. package/dist/build/p-855a9700.entry.js +1 -0
  40. package/dist/build/p-86db301b.entry.js +1 -0
  41. package/dist/build/p-8a6728d5.js +1 -0
  42. package/dist/build/p-9001f4e3.entry.js +1 -0
  43. package/dist/build/p-91d032b2.entry.js +1 -0
  44. package/dist/build/p-9315c1e2.entry.js +1 -0
  45. package/dist/build/p-98e3dcd7.entry.js +1 -0
  46. package/dist/build/p-ac5a17c4.entry.js +1 -0
  47. package/dist/build/p-b4af4b21.entry.js +1 -0
  48. package/dist/build/p-b6cad89e.entry.js +1 -0
  49. package/dist/build/p-b72559e4.entry.js +1 -0
  50. package/dist/build/p-b8a237be.entry.js +1 -0
  51. package/dist/build/p-b8dd503c.entry.js +1 -0
  52. package/dist/build/p-c1f6925e.entry.js +1 -0
  53. package/dist/build/p-c9f2fa8f.js +2 -0
  54. package/dist/build/p-d0e70650.entry.js +1 -0
  55. package/dist/build/p-d2cf5ab2.entry.js +1 -0
  56. package/dist/build/p-d896ab0d.entry.js +1 -0
  57. package/dist/build/p-dbb409ab.entry.js +1 -0
  58. package/dist/build/p-ddd388f6.entry.js +1 -0
  59. package/dist/build/p-f1867cb5.entry.js +1 -0
  60. package/dist/build/p-f499f696.entry.js +1 -0
  61. package/dist/build/p-f86fcdf4.js +1 -0
  62. package/dist/build/p-fa3216a5.entry.js +1 -0
  63. package/dist/build/p-fbb44fc1.entry.js +1 -0
  64. package/dist/build/paperless.css +1 -81
  65. package/dist/build/paperless.esm.js +1 -1
  66. package/dist/cjs/child-of-e472f812.js +9 -0
  67. package/dist/cjs/constants-a4459ec9.js +7 -0
  68. package/dist/cjs/{index-a46a39a5.js → index-195002a8.js} +650 -261
  69. package/dist/cjs/index.cjs.js +17 -0
  70. package/dist/cjs/loader.cjs.js +3 -3
  71. package/dist/cjs/localization-9e2ac7f3.js +60 -0
  72. package/dist/cjs/object-get-by-path-6dc21ed5.js +12 -0
  73. package/dist/cjs/p-accordion.cjs.entry.js +34 -0
  74. package/dist/cjs/p-avatar-group.cjs.entry.js +20 -0
  75. package/dist/cjs/p-avatar.cjs.entry.js +22 -11
  76. package/dist/cjs/p-backdrop.cjs.entry.js +30 -0
  77. package/dist/cjs/p-button_3.cjs.entry.js +234 -96
  78. package/dist/cjs/p-card-body.cjs.entry.js +20 -0
  79. package/dist/cjs/p-card-container.cjs.entry.js +21 -0
  80. package/dist/cjs/p-card-header.cjs.entry.js +22 -0
  81. package/dist/cjs/p-content-slider.cjs.entry.js +210 -0
  82. package/dist/cjs/p-counter.cjs.entry.js +5 -3
  83. package/dist/cjs/p-divider.cjs.entry.js +6 -3
  84. package/dist/cjs/p-drawer-body_3.cjs.entry.js +49 -0
  85. package/dist/cjs/p-drawer.cjs.entry.js +62 -0
  86. package/dist/cjs/p-dropdown_3.cjs.entry.js +177 -0
  87. package/dist/cjs/p-helper_2.cjs.entry.js +139 -0
  88. package/dist/cjs/p-illustration_6.cjs.entry.js +2725 -0
  89. package/dist/cjs/p-info-panel.cjs.entry.js +4 -8
  90. package/dist/cjs/p-input-group_4.cjs.entry.js +125 -0
  91. package/dist/cjs/p-layout.cjs.entry.js +20 -0
  92. package/dist/cjs/p-modal-body_4.cjs.entry.js +77 -0
  93. package/dist/cjs/p-modal.cjs.entry.js +58 -0
  94. package/dist/cjs/p-navbar.cjs.entry.js +28 -0
  95. package/dist/cjs/p-navigation-item.cjs.entry.js +7 -6
  96. package/dist/cjs/p-page-size-select_3.cjs.entry.js +222 -0
  97. package/dist/cjs/p-profile.cjs.entry.js +43 -0
  98. package/dist/cjs/p-select.cjs.entry.js +183 -0
  99. package/dist/cjs/p-slider-indicator.cjs.entry.js +20 -0
  100. package/dist/cjs/p-status.cjs.entry.js +5 -5
  101. package/dist/cjs/p-stepper-item_2.cjs.entry.js +38 -0
  102. package/dist/cjs/p-stepper.cjs.entry.js +43 -0
  103. package/dist/cjs/p-tab-group.cjs.entry.js +19 -0
  104. package/dist/cjs/p-tab-item.cjs.entry.js +20 -0
  105. package/dist/cjs/p-table-column.cjs.entry.js +26 -0
  106. package/dist/cjs/p-table.cjs.entry.js +341 -0
  107. package/dist/cjs/p-toast-container.cjs.entry.js +20 -0
  108. package/dist/cjs/p-toast.cjs.entry.js +33 -0
  109. package/dist/cjs/paperless.cjs.js +3 -3
  110. package/dist/cjs/{popper-e0c4ed4c.js → popper-d7a0f999.js} +60 -49
  111. package/dist/collection/assets/icons/camera.svg +10 -0
  112. package/dist/collection/assets/icons/filter.svg +6 -13
  113. package/dist/collection/assets/icons/menu.svg +25 -0
  114. package/dist/collection/assets/icons/more.svg +18 -0
  115. package/dist/collection/assets/icons/reload.svg +10 -0
  116. package/dist/collection/assets/icons/signout.svg +23 -0
  117. package/dist/collection/assets/icons/switch.svg +20 -0
  118. package/dist/collection/assets/illustrations/e-mail.svg +1 -0
  119. package/dist/collection/assets/illustrations/empty-state-overview.svg +65 -0
  120. package/dist/collection/assets/illustrations/empty-state-search.svg +88 -0
  121. package/dist/collection/collection-manifest.json +41 -3
  122. package/dist/collection/components/atoms/avatar/avatar.component.css +1 -31
  123. package/dist/collection/components/atoms/avatar/avatar.component.js +110 -90
  124. package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +1 -0
  125. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +41 -0
  126. package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -0
  127. package/dist/collection/components/atoms/backdrop/backdrop.component.js +119 -0
  128. package/dist/collection/components/atoms/button/button.component.css +1 -71
  129. package/dist/collection/components/atoms/button/button.component.js +307 -226
  130. package/dist/collection/components/atoms/card-body/card-body.component.css +1 -0
  131. package/dist/collection/components/atoms/card-body/card-body.component.js +42 -0
  132. package/dist/collection/components/atoms/card-container/card-container.component.css +1 -0
  133. package/dist/collection/components/atoms/card-container/card-container.component.js +62 -0
  134. package/dist/collection/components/atoms/card-header/card-header.component.css +1 -0
  135. package/dist/collection/components/atoms/card-header/card-header.component.js +61 -0
  136. package/dist/collection/components/atoms/counter/counter.component.css +1 -5
  137. package/dist/collection/components/atoms/counter/counter.component.js +56 -9
  138. package/dist/collection/components/atoms/divider/divider.component.css +1 -3
  139. package/dist/collection/components/atoms/divider/divider.component.js +15 -8
  140. package/dist/collection/components/atoms/drawer-body/drawer-body.component.css +1 -0
  141. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +43 -0
  142. package/dist/collection/components/atoms/drawer-container/drawer-container.component.css +1 -0
  143. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +47 -0
  144. package/dist/collection/components/atoms/drawer-header/drawer-header.component.css +1 -0
  145. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +65 -0
  146. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -5
  147. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +37 -9
  148. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -13
  149. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +74 -30
  150. package/dist/collection/components/atoms/helper/helper.component.css +1 -7
  151. package/dist/collection/components/atoms/helper/helper.component.js +42 -12
  152. package/dist/collection/components/atoms/icon/icon.component.css +1 -0
  153. package/dist/collection/components/atoms/icon/icon.component.js +138 -91
  154. package/dist/collection/components/atoms/illustration/illustration.component.js +28 -23
  155. package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -28
  156. package/dist/collection/components/atoms/info-panel/info-panel.component.js +85 -89
  157. package/dist/collection/components/atoms/label/label.component.css +1 -0
  158. package/dist/collection/components/atoms/label/label.component.js +170 -0
  159. package/dist/collection/components/atoms/layout/layout.component.css +1 -0
  160. package/dist/collection/components/atoms/layout/layout.component.js +43 -0
  161. package/dist/collection/components/atoms/loader/loader.component.css +1 -26
  162. package/dist/collection/components/atoms/loader/loader.component.js +112 -114
  163. package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -0
  164. package/dist/collection/components/atoms/modal-body/modal-body.component.js +62 -0
  165. package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -0
  166. package/dist/collection/components/atoms/modal-container/modal-container.component.js +74 -0
  167. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -0
  168. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +18 -0
  169. package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -0
  170. package/dist/collection/components/atoms/modal-header/modal-header.component.js +65 -0
  171. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -16
  172. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +34 -32
  173. package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -5
  174. package/dist/collection/components/atoms/segment-container/segment-container.component.js +12 -9
  175. package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -21
  176. package/dist/collection/components/atoms/segment-item/segment-item.component.js +98 -87
  177. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +1 -0
  178. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +43 -0
  179. package/dist/collection/components/atoms/status/status.component.css +1 -16
  180. package/dist/collection/components/atoms/status/status.component.js +98 -89
  181. package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -0
  182. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +100 -0
  183. package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -0
  184. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +62 -0
  185. package/dist/collection/components/atoms/tab-group/tab-group.component.css +1 -0
  186. package/dist/collection/components/atoms/tab-group/tab-group.component.js +18 -0
  187. package/dist/collection/components/atoms/tab-item/tab-item.component.css +1 -0
  188. package/dist/collection/components/atoms/tab-item/tab-item.component.js +43 -0
  189. package/dist/collection/components/atoms/table-container/table-container.component.css +1 -0
  190. package/dist/collection/components/atoms/table-container/table-container.component.js +18 -0
  191. package/dist/collection/components/atoms/toast-container/toast-container.component.css +1 -0
  192. package/dist/collection/components/atoms/toast-container/toast-container.component.js +43 -0
  193. package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -40
  194. package/dist/collection/components/atoms/tooltip/tooltip.component.js +196 -164
  195. package/dist/collection/components/helpers/table-column/table-column.component.js +150 -0
  196. package/dist/collection/components/molecules/accordion/accordion.component.css +1 -0
  197. package/dist/collection/components/molecules/accordion/accordion.component.js +127 -0
  198. package/dist/collection/components/molecules/content-slider/content-slider.component.css +1 -0
  199. package/dist/collection/components/molecules/content-slider/content-slider.component.js +316 -0
  200. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -9
  201. package/dist/collection/components/molecules/dropdown/dropdown.component.js +238 -127
  202. package/dist/collection/components/molecules/input-group/input-group.component.css +1 -0
  203. package/dist/collection/components/molecules/input-group/input-group.component.js +334 -0
  204. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -28
  205. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +106 -104
  206. package/dist/collection/components/molecules/page-size-select/constants.js +2 -0
  207. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +204 -0
  208. package/dist/collection/components/molecules/pagination/pagination.component.css +1 -3
  209. package/dist/collection/components/molecules/pagination/pagination.component.js +118 -94
  210. package/dist/collection/components/molecules/profile/profile.component.css +1 -0
  211. package/dist/collection/components/molecules/profile/profile.component.js +89 -0
  212. package/dist/collection/components/molecules/select/select.component.css +1 -0
  213. package/dist/collection/components/molecules/select/select.component.js +570 -0
  214. package/dist/collection/components/molecules/stepper/stepper.component.css +1 -0
  215. package/dist/collection/components/molecules/stepper/stepper.component.js +84 -0
  216. package/dist/collection/components/molecules/table-cell/table-cell.component.css +1 -0
  217. package/dist/collection/components/molecules/table-cell/table-cell.component.js +262 -0
  218. package/dist/collection/components/molecules/table-footer/table-footer.component.css +1 -0
  219. package/dist/collection/components/molecules/table-footer/table-footer.component.js +275 -0
  220. package/dist/collection/components/molecules/table-header/table-header.component.css +1 -0
  221. package/dist/collection/components/molecules/table-header/table-header.component.js +380 -0
  222. package/dist/collection/components/molecules/table-row/table-row.component.css +1 -0
  223. package/dist/collection/components/molecules/table-row/table-row.component.js +64 -0
  224. package/dist/collection/components/molecules/toast/toast.component.css +1 -0
  225. package/dist/collection/components/molecules/toast/toast.component.js +196 -0
  226. package/dist/collection/components/organisms/drawer/drawer.component.css +1 -0
  227. package/dist/collection/components/organisms/drawer/drawer.component.js +214 -0
  228. package/dist/collection/components/organisms/modal/modal.component.js +239 -0
  229. package/dist/collection/components/organisms/navbar/navbar.component.css +1 -0
  230. package/dist/collection/components/organisms/navbar/navbar.component.js +89 -0
  231. package/dist/collection/components/organisms/table/table.component.css +1 -0
  232. package/dist/collection/components/organisms/table/table.component.js +1164 -0
  233. package/dist/collection/index.js +2 -1
  234. package/dist/collection/tailwind/animation.js +87 -0
  235. package/dist/collection/tailwind/backdrop-blur.js +3 -0
  236. package/dist/collection/tailwind/height.js +3 -0
  237. package/dist/collection/tailwind/screens.js +8 -0
  238. package/dist/collection/tailwind/shadows.js +11 -5
  239. package/dist/collection/tailwind/spacing.js +10 -0
  240. package/dist/collection/tailwind/typography.js +21 -0
  241. package/dist/collection/tailwind/width.js +18 -0
  242. package/dist/collection/tailwind/z-index.js +17 -0
  243. package/dist/collection/tailwind.config.js +28 -14
  244. package/dist/collection/types/index.js +2 -0
  245. package/dist/collection/types/table.js +1 -0
  246. package/dist/collection/types/tailwind.js +1 -0
  247. package/dist/collection/utils/icons.js +12 -0
  248. package/dist/collection/utils/illustrations.js +6 -0
  249. package/dist/collection/utils/index.js +6 -0
  250. package/dist/collection/utils/localization.js +55 -0
  251. package/dist/collection/utils/object-get-by-path.js +8 -0
  252. package/dist/collection/utils/transformers.js +4 -0
  253. package/dist/components/backdrop.component.js +45 -0
  254. package/dist/components/button.component.js +98 -0
  255. package/dist/components/counter.component.js +8 -3
  256. package/dist/components/divider.component.js +33 -0
  257. package/dist/components/drawer-body.component.js +33 -0
  258. package/dist/components/drawer-container.component.js +32 -0
  259. package/dist/components/drawer-header.component.js +52 -0
  260. package/dist/components/dropdown-menu-container.component.js +6 -3
  261. package/dist/components/dropdown-menu-item.component.js +43 -0
  262. package/dist/components/dropdown.component.js +178 -0
  263. package/dist/components/helper.component.js +39 -0
  264. package/dist/components/icon.component.js +170 -27
  265. package/dist/{cjs/p-illustration.cjs.entry.js → components/illustration.component.js} +188 -16
  266. package/dist/components/index.d.ts +57 -19
  267. package/dist/components/index.js +48 -0
  268. package/dist/components/input-group.component.js +113 -0
  269. package/dist/components/label.component.js +52 -0
  270. package/dist/components/loader.component.js +9 -13
  271. package/dist/components/localization.js +57 -0
  272. package/dist/components/modal-body.component.js +35 -0
  273. package/dist/components/modal-container.component.js +47 -0
  274. package/dist/components/modal-footer.component.js +36 -0
  275. package/dist/components/modal-header.component.js +52 -0
  276. package/dist/components/p-accordion.d.ts +11 -0
  277. package/dist/components/p-accordion.js +65 -0
  278. package/dist/components/p-avatar-group.d.ts +11 -0
  279. package/dist/components/p-avatar-group.js +35 -0
  280. package/dist/components/p-avatar.js +24 -14
  281. package/dist/components/p-backdrop.d.ts +11 -0
  282. package/dist/components/p-backdrop.js +6 -0
  283. package/dist/components/p-button.js +1 -93
  284. package/dist/components/p-card-body.d.ts +11 -0
  285. package/dist/components/p-card-body.js +35 -0
  286. package/dist/components/p-card-container.d.ts +11 -0
  287. package/dist/components/p-card-container.js +38 -0
  288. package/dist/components/p-card-header.d.ts +11 -0
  289. package/dist/components/p-card-header.js +44 -0
  290. package/dist/components/p-content-slider.d.ts +11 -0
  291. package/dist/components/p-content-slider.js +239 -0
  292. package/dist/components/p-divider.js +1 -28
  293. package/dist/components/p-drawer-body.d.ts +11 -0
  294. package/dist/components/p-drawer-body.js +6 -0
  295. package/dist/components/p-drawer-container.d.ts +11 -0
  296. package/dist/components/p-drawer-container.js +6 -0
  297. package/dist/components/p-drawer-header.d.ts +11 -0
  298. package/dist/components/p-drawer-header.js +6 -0
  299. package/dist/components/p-drawer.d.ts +11 -0
  300. package/dist/components/p-drawer.js +126 -0
  301. package/dist/components/p-dropdown-menu-item.js +1 -34
  302. package/dist/components/p-dropdown.js +1 -151
  303. package/dist/components/p-helper.js +1 -34
  304. package/dist/components/p-illustration.js +1 -1432
  305. package/dist/components/p-info-panel.js +3 -7
  306. package/dist/components/p-input-group.d.ts +11 -0
  307. package/dist/components/p-input-group.js +6 -0
  308. package/dist/components/p-label.d.ts +11 -0
  309. package/dist/components/p-label.js +6 -0
  310. package/dist/components/p-layout.d.ts +11 -0
  311. package/dist/components/p-layout.js +36 -0
  312. package/dist/components/p-modal-body.d.ts +11 -0
  313. package/dist/components/p-modal-body.js +6 -0
  314. package/dist/components/p-modal-container.d.ts +11 -0
  315. package/dist/components/p-modal-container.js +6 -0
  316. package/dist/components/p-modal-footer.d.ts +11 -0
  317. package/dist/components/p-modal-footer.js +6 -0
  318. package/dist/components/p-modal-header.d.ts +11 -0
  319. package/dist/components/p-modal-header.js +6 -0
  320. package/dist/components/p-modal.d.ts +11 -0
  321. package/dist/components/p-modal.js +136 -0
  322. package/dist/components/p-navbar.d.ts +11 -0
  323. package/dist/components/p-navbar.js +70 -0
  324. package/dist/components/p-navigation-item.js +6 -5
  325. package/dist/components/p-page-size-select.d.ts +11 -0
  326. package/dist/components/p-page-size-select.js +6 -0
  327. package/dist/components/p-pagination.js +1 -195
  328. package/dist/components/p-profile.d.ts +11 -0
  329. package/dist/components/p-profile.js +79 -0
  330. package/dist/components/p-segment-container.js +1 -27
  331. package/dist/components/p-segment-item.js +1 -49
  332. package/dist/components/p-select.d.ts +11 -0
  333. package/dist/components/p-select.js +265 -0
  334. package/dist/components/p-slider-indicator.d.ts +11 -0
  335. package/dist/components/p-slider-indicator.js +6 -0
  336. package/dist/components/p-status.js +4 -4
  337. package/dist/components/p-stepper-item.d.ts +11 -0
  338. package/dist/components/p-stepper-item.js +6 -0
  339. package/dist/components/p-stepper-line.d.ts +11 -0
  340. package/dist/components/p-stepper-line.js +6 -0
  341. package/dist/components/p-stepper.d.ts +11 -0
  342. package/dist/components/p-stepper.js +78 -0
  343. package/dist/components/p-tab-group.d.ts +11 -0
  344. package/dist/components/p-tab-group.js +39 -0
  345. package/dist/components/p-tab-item.d.ts +11 -0
  346. package/dist/components/p-tab-item.js +36 -0
  347. package/dist/components/p-table-cell.d.ts +11 -0
  348. package/dist/components/p-table-cell.js +6 -0
  349. package/dist/components/p-table-column.d.ts +11 -0
  350. package/dist/components/p-table-column.js +46 -0
  351. package/dist/components/p-table-container.d.ts +11 -0
  352. package/dist/components/p-table-container.js +6 -0
  353. package/dist/components/p-table-footer.d.ts +11 -0
  354. package/dist/components/p-table-footer.js +6 -0
  355. package/dist/components/p-table-header.d.ts +11 -0
  356. package/dist/components/p-table-header.js +6 -0
  357. package/dist/components/p-table-row.d.ts +11 -0
  358. package/dist/components/p-table-row.js +6 -0
  359. package/dist/components/p-table.d.ts +11 -0
  360. package/dist/components/p-table.js +521 -0
  361. package/dist/components/p-toast-container.d.ts +11 -0
  362. package/dist/components/p-toast-container.js +36 -0
  363. package/dist/components/p-toast.d.ts +11 -0
  364. package/dist/components/p-toast.js +73 -0
  365. package/dist/components/page-size-select.component.js +105 -0
  366. package/dist/components/pagination-item.component.js +1 -4
  367. package/dist/components/pagination.component.js +194 -0
  368. package/dist/components/popper.js +60 -49
  369. package/dist/components/segment-container.component.js +29 -0
  370. package/dist/components/segment-item.component.js +51 -0
  371. package/dist/components/slider-indicator.component.js +33 -0
  372. package/dist/components/stepper-item.component.js +45 -0
  373. package/dist/components/stepper-line.component.js +35 -0
  374. package/dist/components/table-cell.component.js +143 -0
  375. package/dist/components/table-container.component.js +30 -0
  376. package/dist/components/table-footer.component.js +127 -0
  377. package/dist/components/table-header.component.js +1048 -0
  378. package/dist/components/table-row.component.js +43 -0
  379. package/dist/components/tooltip.component.js +16 -27
  380. package/dist/esm/child-of-90a8c4b5.js +7 -0
  381. package/dist/esm/constants-826f9460.js +4 -0
  382. package/dist/esm/{index-a68e547b.js → index-8170b4fb.js} +650 -261
  383. package/dist/esm/index.js +9 -0
  384. package/dist/esm/loader.js +3 -3
  385. package/dist/esm/localization-901dc2d3.js +57 -0
  386. package/dist/esm/object-get-by-path-d6427a61.js +10 -0
  387. package/dist/esm/p-accordion.entry.js +30 -0
  388. package/dist/esm/p-avatar-group.entry.js +16 -0
  389. package/dist/esm/p-avatar.entry.js +22 -11
  390. package/dist/esm/p-backdrop.entry.js +26 -0
  391. package/dist/esm/p-button_3.entry.js +234 -96
  392. package/dist/esm/p-card-body.entry.js +16 -0
  393. package/dist/esm/p-card-container.entry.js +17 -0
  394. package/dist/esm/p-card-header.entry.js +18 -0
  395. package/dist/esm/p-content-slider.entry.js +206 -0
  396. package/dist/esm/p-counter.entry.js +5 -3
  397. package/dist/esm/p-divider.entry.js +6 -3
  398. package/dist/esm/p-drawer-body_3.entry.js +43 -0
  399. package/dist/esm/p-drawer.entry.js +58 -0
  400. package/dist/esm/p-dropdown_3.entry.js +171 -0
  401. package/dist/esm/p-helper_2.entry.js +134 -0
  402. package/dist/esm/{p-illustration.entry.js → p-illustration_6.entry.js} +1305 -8
  403. package/dist/esm/p-info-panel.entry.js +4 -8
  404. package/dist/esm/p-input-group_4.entry.js +118 -0
  405. package/dist/esm/p-layout.entry.js +16 -0
  406. package/dist/esm/p-modal-body_4.entry.js +70 -0
  407. package/dist/esm/p-modal.entry.js +54 -0
  408. package/dist/esm/p-navbar.entry.js +24 -0
  409. package/dist/esm/p-navigation-item.entry.js +7 -6
  410. package/dist/esm/p-page-size-select_3.entry.js +216 -0
  411. package/dist/esm/p-profile.entry.js +39 -0
  412. package/dist/esm/p-select.entry.js +179 -0
  413. package/dist/esm/p-slider-indicator.entry.js +16 -0
  414. package/dist/esm/p-status.entry.js +5 -5
  415. package/dist/esm/p-stepper-item_2.entry.js +33 -0
  416. package/dist/esm/p-stepper.entry.js +39 -0
  417. package/dist/esm/p-tab-group.entry.js +15 -0
  418. package/dist/esm/p-tab-item.entry.js +16 -0
  419. package/dist/esm/p-table-column.entry.js +22 -0
  420. package/dist/esm/p-table.entry.js +337 -0
  421. package/dist/esm/p-toast-container.entry.js +16 -0
  422. package/dist/esm/p-toast.entry.js +29 -0
  423. package/dist/esm/paperless.js +3 -3
  424. package/dist/esm/polyfills/core-js.js +0 -0
  425. package/dist/esm/polyfills/css-shim.js +1 -1
  426. package/dist/esm/polyfills/dom.js +0 -0
  427. package/dist/esm/polyfills/es5-html-element.js +0 -0
  428. package/dist/esm/polyfills/index.js +0 -0
  429. package/dist/esm/polyfills/system.js +0 -0
  430. package/dist/esm/{popper-41c6f9cd.js → popper-42db9fbd.js} +60 -49
  431. package/dist/index.html +1 -1
  432. package/dist/paperless/index.esm.js +1 -0
  433. package/dist/paperless/p-0688d548.entry.js +1 -0
  434. package/dist/paperless/p-07f28695.entry.js +1 -0
  435. package/dist/paperless/p-09ea2a1a.js +1 -0
  436. package/dist/paperless/p-12f5c483.entry.js +1 -0
  437. package/dist/paperless/p-1a4dea17.entry.js +1 -0
  438. package/dist/paperless/p-2df7dcab.entry.js +1 -0
  439. package/dist/paperless/p-2e47afc7.entry.js +1 -0
  440. package/dist/paperless/p-3946e0a3.entry.js +1 -0
  441. package/dist/paperless/p-4e650fe4.js +1 -0
  442. package/dist/paperless/p-529ccaf7.entry.js +1 -0
  443. package/dist/paperless/p-603f7eeb.entry.js +1 -0
  444. package/dist/paperless/p-62d49606.entry.js +1 -0
  445. package/dist/paperless/p-66ca8871.entry.js +1 -0
  446. package/dist/paperless/p-681ed79b.entry.js +1 -0
  447. package/dist/paperless/p-6c60fd3d.js +1 -0
  448. package/dist/paperless/p-6cc16633.entry.js +1 -0
  449. package/dist/paperless/p-7df6230f.entry.js +1 -0
  450. package/dist/paperless/p-855a9700.entry.js +1 -0
  451. package/dist/paperless/p-86db301b.entry.js +1 -0
  452. package/dist/paperless/p-8a6728d5.js +1 -0
  453. package/dist/paperless/p-9001f4e3.entry.js +1 -0
  454. package/dist/paperless/p-91d032b2.entry.js +1 -0
  455. package/dist/paperless/p-9315c1e2.entry.js +1 -0
  456. package/dist/paperless/p-98e3dcd7.entry.js +1 -0
  457. package/dist/paperless/p-ac5a17c4.entry.js +1 -0
  458. package/dist/paperless/p-b4af4b21.entry.js +1 -0
  459. package/dist/paperless/p-b6cad89e.entry.js +1 -0
  460. package/dist/paperless/p-b72559e4.entry.js +1 -0
  461. package/dist/paperless/p-b8a237be.entry.js +1 -0
  462. package/dist/paperless/p-b8dd503c.entry.js +1 -0
  463. package/dist/paperless/p-c1f6925e.entry.js +1 -0
  464. package/dist/paperless/p-c9f2fa8f.js +2 -0
  465. package/dist/paperless/p-d0e70650.entry.js +1 -0
  466. package/dist/paperless/p-d2cf5ab2.entry.js +1 -0
  467. package/dist/paperless/p-d896ab0d.entry.js +1 -0
  468. package/dist/paperless/p-dbb409ab.entry.js +1 -0
  469. package/dist/paperless/p-ddd388f6.entry.js +1 -0
  470. package/dist/paperless/p-f1867cb5.entry.js +1 -0
  471. package/dist/paperless/p-f499f696.entry.js +1 -0
  472. package/dist/paperless/p-f86fcdf4.js +1 -0
  473. package/dist/paperless/p-fa3216a5.entry.js +1 -0
  474. package/dist/paperless/p-fbb44fc1.entry.js +1 -0
  475. package/dist/paperless/paperless.css +589 -26779
  476. package/dist/paperless/paperless.esm.js +1 -1
  477. package/dist/style/_fonts.scss +70 -0
  478. package/dist/style/_reset.scss +31 -0
  479. package/dist/style/_tailwind.scss +3 -0
  480. package/dist/style/_typograhpy.scss +29 -0
  481. package/dist/style/_variables.scss +2 -0
  482. package/dist/style/form/_checkbox.scss +62 -0
  483. package/dist/style/form/_input.scss +22 -0
  484. package/dist/style/form/_mixins.scss +107 -0
  485. package/dist/style/form/_radio.scss +58 -0
  486. package/dist/style/form/_textarea.scss +18 -0
  487. package/dist/style/form/index.scss +4 -0
  488. package/dist/style/paperless.scss +10 -0
  489. package/dist/sw.js +2 -644
  490. package/dist/sw.js.map +1 -0
  491. package/dist/tailwind/animation.js +87 -0
  492. package/dist/tailwind/backdrop-blur.js +3 -0
  493. package/dist/tailwind/border-radius.js +10 -0
  494. package/dist/tailwind/colors.js +52 -0
  495. package/dist/tailwind/height.js +3 -0
  496. package/dist/tailwind/rotate.js +8 -0
  497. package/dist/tailwind/scale.js +3 -0
  498. package/dist/tailwind/screens.js +8 -0
  499. package/dist/tailwind/shadows.js +13 -0
  500. package/dist/tailwind/spacing.js +10 -0
  501. package/dist/tailwind/typography.js +21 -0
  502. package/dist/tailwind/width.js +18 -0
  503. package/dist/tailwind/z-index.js +17 -0
  504. package/dist/tailwind.config.js +28 -14
  505. package/dist/types/components/atoms/avatar/avatar.component.d.ts +3 -1
  506. package/dist/types/components/atoms/avatar-group/avatar-group.component.d.ts +7 -0
  507. package/dist/types/components/atoms/backdrop/backdrop.component.d.ts +25 -0
  508. package/dist/types/components/atoms/button/button.component.d.ts +18 -1
  509. package/dist/types/components/atoms/card-body/card-body.component.d.ts +7 -0
  510. package/dist/types/components/atoms/card-container/card-container.component.d.ts +11 -0
  511. package/dist/types/components/atoms/card-header/card-header.component.d.ts +11 -0
  512. package/dist/types/components/atoms/counter/counter.component.d.ts +8 -0
  513. package/dist/types/components/atoms/divider/divider.component.d.ts +4 -0
  514. package/dist/types/components/atoms/drawer-body/drawer-body.component.d.ts +7 -0
  515. package/dist/types/components/atoms/drawer-container/drawer-container.component.d.ts +7 -0
  516. package/dist/types/components/atoms/drawer-header/drawer-header.component.d.ts +12 -0
  517. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +4 -0
  518. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +9 -0
  519. package/dist/types/components/atoms/helper/helper.component.d.ts +5 -0
  520. package/dist/types/components/atoms/icon/icon.component.d.ts +3 -3
  521. package/dist/types/components/atoms/label/label.component.d.ts +33 -0
  522. package/dist/types/components/atoms/layout/layout.component.d.ts +7 -0
  523. package/dist/types/components/atoms/loader/loader.component.d.ts +1 -1
  524. package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +11 -0
  525. package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +11 -0
  526. package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +3 -0
  527. package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +12 -0
  528. package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +2 -1
  529. package/dist/types/components/atoms/slider-indicator/slider-indicator.component.d.ts +7 -0
  530. package/dist/types/components/atoms/status/status.component.d.ts +2 -1
  531. package/dist/types/components/atoms/stepper-item/stepper-item.component.d.ts +19 -0
  532. package/dist/types/components/atoms/stepper-line/stepper-line.component.d.ts +11 -0
  533. package/dist/types/components/atoms/tab-group/tab-group.component.d.ts +3 -0
  534. package/dist/types/components/atoms/tab-item/tab-item.component.d.ts +7 -0
  535. package/dist/types/components/atoms/table-container/table-container.component.d.ts +3 -0
  536. package/dist/types/components/atoms/toast-container/toast-container.component.d.ts +7 -0
  537. package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +11 -2
  538. package/dist/types/components/helpers/table-column/table-column.component.d.ts +34 -0
  539. package/dist/types/components/molecules/accordion/accordion.component.d.ts +25 -0
  540. package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +53 -0
  541. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +23 -3
  542. package/dist/types/components/molecules/input-group/input-group.component.d.ts +67 -0
  543. package/dist/types/components/molecules/page-size-select/constants.d.ts +2 -0
  544. package/dist/types/components/molecules/page-size-select/page-size-select.component.d.ts +50 -0
  545. package/dist/types/components/molecules/pagination/pagination.component.d.ts +7 -0
  546. package/dist/types/components/molecules/profile/profile.component.d.ts +20 -0
  547. package/dist/types/components/molecules/select/select.component.d.ts +115 -0
  548. package/dist/types/components/molecules/stepper/stepper.component.d.ts +18 -0
  549. package/dist/types/components/molecules/table-cell/table-cell.component.d.ts +42 -0
  550. package/dist/types/components/molecules/table-footer/table-footer.component.d.ts +63 -0
  551. package/dist/types/components/molecules/table-header/table-header.component.d.ts +87 -0
  552. package/dist/types/components/molecules/table-row/table-row.component.d.ts +11 -0
  553. package/dist/types/components/molecules/toast/toast.component.d.ts +39 -0
  554. package/dist/types/components/organisms/drawer/drawer.component.d.ts +48 -0
  555. package/dist/types/components/organisms/modal/modal.component.d.ts +54 -0
  556. package/dist/types/components/organisms/navbar/navbar.component.d.ts +14 -0
  557. package/dist/types/components/organisms/table/table.component.d.ts +214 -0
  558. package/dist/types/components.d.ts +2521 -285
  559. package/dist/types/index.d.ts +2 -0
  560. package/dist/types/stencil-public-runtime.d.ts +20 -4
  561. package/dist/types/types/index.d.ts +2 -0
  562. package/dist/types/types/table.d.ts +27 -0
  563. package/dist/types/types/tailwind.d.ts +2 -0
  564. package/dist/types/utils/icons.d.ts +6 -0
  565. package/dist/types/utils/illustrations.d.ts +3 -0
  566. package/dist/types/utils/index.d.ts +6 -0
  567. package/dist/types/utils/localization.d.ts +2 -0
  568. package/dist/types/utils/object-get-by-path.d.ts +1 -0
  569. package/dist/types/utils/transformers.d.ts +2 -0
  570. package/dist/workbox-5b279812.js +2 -0
  571. package/dist/workbox-5b279812.js.map +1 -0
  572. package/loader/package.json +1 -0
  573. package/package.json +64 -61
  574. package/dist/build/p-17c11169.entry.js +0 -1
  575. package/dist/build/p-1d8fa6a1.entry.js +0 -1
  576. package/dist/build/p-41e5458b.entry.js +0 -1
  577. package/dist/build/p-42dab9d4.entry.js +0 -1
  578. package/dist/build/p-47b52f92.entry.js +0 -1
  579. package/dist/build/p-5ec6ea71.entry.js +0 -1
  580. package/dist/build/p-75f909ab.entry.js +0 -1
  581. package/dist/build/p-76464e0b.js +0 -2
  582. package/dist/build/p-8501ba07.entry.js +0 -1
  583. package/dist/build/p-a669807e.entry.js +0 -1
  584. package/dist/build/p-a7086ffa.js +0 -1
  585. package/dist/build/p-aa28fef8.entry.js +0 -1
  586. package/dist/build/p-aae3d4f0.entry.js +0 -1
  587. package/dist/build/p-adcb0b93.entry.js +0 -1
  588. package/dist/build/p-bbec0e86.entry.js +0 -1
  589. package/dist/build/p-d7c82962.entry.js +0 -1
  590. package/dist/build/p-e7019eab.entry.js +0 -1
  591. package/dist/build/p-f689996b.entry.js +0 -1
  592. package/dist/build/p-faa4ee42.entry.js +0 -1
  593. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +0 -19
  594. package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +0 -23
  595. package/dist/cjs/p-dropdown.cjs.entry.js +0 -131
  596. package/dist/cjs/p-helper.cjs.entry.js +0 -19
  597. package/dist/cjs/p-pagination-item.cjs.entry.js +0 -23
  598. package/dist/cjs/p-pagination.cjs.entry.js +0 -171
  599. package/dist/cjs/p-segment-container.cjs.entry.js +0 -19
  600. package/dist/cjs/p-segment-item.cjs.entry.js +0 -29
  601. package/dist/cjs/p-tooltip.cjs.entry.js +0 -137
  602. package/dist/collection/tailwind/grid.js +0 -26
  603. package/dist/collection/utils/utils.js +0 -3
  604. package/dist/esm/p-dropdown-menu-container.entry.js +0 -15
  605. package/dist/esm/p-dropdown-menu-item.entry.js +0 -19
  606. package/dist/esm/p-dropdown.entry.js +0 -127
  607. package/dist/esm/p-helper.entry.js +0 -15
  608. package/dist/esm/p-pagination-item.entry.js +0 -19
  609. package/dist/esm/p-pagination.entry.js +0 -167
  610. package/dist/esm/p-segment-container.entry.js +0 -15
  611. package/dist/esm/p-segment-item.entry.js +0 -25
  612. package/dist/esm/p-tooltip.entry.js +0 -133
  613. package/dist/paperless/p-17c11169.entry.js +0 -1
  614. package/dist/paperless/p-1d8fa6a1.entry.js +0 -1
  615. package/dist/paperless/p-41e5458b.entry.js +0 -1
  616. package/dist/paperless/p-42dab9d4.entry.js +0 -1
  617. package/dist/paperless/p-47b52f92.entry.js +0 -1
  618. package/dist/paperless/p-5ec6ea71.entry.js +0 -1
  619. package/dist/paperless/p-75f909ab.entry.js +0 -1
  620. package/dist/paperless/p-76464e0b.js +0 -2
  621. package/dist/paperless/p-8501ba07.entry.js +0 -1
  622. package/dist/paperless/p-a669807e.entry.js +0 -1
  623. package/dist/paperless/p-a7086ffa.js +0 -1
  624. package/dist/paperless/p-aa28fef8.entry.js +0 -1
  625. package/dist/paperless/p-aae3d4f0.entry.js +0 -1
  626. package/dist/paperless/p-adcb0b93.entry.js +0 -1
  627. package/dist/paperless/p-bbec0e86.entry.js +0 -1
  628. package/dist/paperless/p-d7c82962.entry.js +0 -1
  629. package/dist/paperless/p-e7019eab.entry.js +0 -1
  630. package/dist/paperless/p-f689996b.entry.js +0 -1
  631. package/dist/paperless/p-faa4ee42.entry.js +0 -1
  632. package/dist/types/utils/utils.d.ts +0 -1
@@ -1,38 +1,54 @@
1
1
  import { createPopper } from '@popperjs/core';
2
- import { Component, Element, Event, h, Host, Listen, Prop, } from '@stencil/core';
2
+ import { h, Host, } from '@stencil/core';
3
3
  import { childOf } from '../../../utils/child-of';
4
4
  export class Dropdown {
5
5
  constructor() {
6
- /**
7
- * The content of the dropdown menu
8
- */
9
- this.placement = 'bottom';
10
- /**
11
- * Wether to show the dropdown menu
12
- */
6
+ this._loaded = false;
7
+ this.placement = 'bottom-start';
8
+ this.strategy = 'absolute';
13
9
  this.show = false;
14
- /**
15
- * Wether to automatically close the dropdown menu after clicking inside
16
- */
10
+ this.calculateWidth = false;
17
11
  this.insideClick = false;
18
- /**
19
- * Wether to automatically close the dropdown menu after clicking inside
20
- */
21
12
  this.disableTriggerClick = false;
22
- this._loaded = false;
13
+ this.chevronPosition = 'end';
14
+ this.chevronDirection = undefined;
23
15
  }
24
16
  componentShouldUpdate() {
25
17
  this._setOptions();
26
- if (this._loaded && this.show) {
27
- this._show();
28
- }
29
18
  }
30
19
  render() {
31
- return (h(Host, { class: "p-dropdown" },
32
- h("div", { class: "trigger", onClick: () => this._triggerClickHandler() },
33
- h("slot", { name: "trigger" })),
34
- h("p-dropdown-menu-container", { role: "popover", ref: (el) => this._load(el), onClick: () => this._containerClickHandler() },
35
- h("slot", { name: "items" }))));
20
+ return (h(Host, { class: "p-dropdown" }, h("div", { class: "trigger", ref: (ref) => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, h("slot", { onSlotchange: (ev) => this._checkButton(ev), name: "trigger" })), h("p-dropdown-menu-container", { role: "popover", maxWidth: !this.calculateWidth, ref: (el) => this._load(el), onClick: () => this._containerClickHandler() }, h("slot", { name: "items" }))));
21
+ }
22
+ _checkButton({ target }) {
23
+ const slot = target;
24
+ const children = slot.assignedElements();
25
+ for (let child of children) {
26
+ if (child.nodeName === 'P-BUTTON') {
27
+ child.chevronPosition = this.chevronPosition;
28
+ child.chevron = this.chevronDirection
29
+ ? this.chevronDirection
30
+ : this.placement.indexOf('top') >= 0
31
+ ? 'up'
32
+ : 'down';
33
+ }
34
+ }
35
+ }
36
+ onShowChange(show) {
37
+ if (!this._loaded) {
38
+ return;
39
+ }
40
+ if (!show) {
41
+ this._hide();
42
+ return;
43
+ }
44
+ this._show();
45
+ }
46
+ documentClickHandler({ target }) {
47
+ if (!this._menu.hasAttribute('data-show') ||
48
+ childOf(target, this._el)) {
49
+ return;
50
+ }
51
+ this._hide();
36
52
  }
37
53
  _containerClickHandler() {
38
54
  if (this.insideClick) {
@@ -52,17 +68,12 @@ export class Dropdown {
52
68
  }
53
69
  this._show();
54
70
  }
55
- documentClickHandler({ target }) {
56
- if (!this._menu.hasAttribute('data-show') ||
57
- childOf(target, this._el)) {
58
- return;
59
- }
60
- this._hide();
61
- }
62
71
  _load(popover) {
63
72
  this._menu = popover;
64
73
  if (popover) {
65
- this._popper = createPopper(this._el, popover);
74
+ this._popper = createPopper(this._el, popover, {
75
+ strategy: this.strategy,
76
+ });
66
77
  this._setOptions();
67
78
  this._loaded = true;
68
79
  if (this.show) {
@@ -75,7 +86,7 @@ export class Dropdown {
75
86
  return;
76
87
  }
77
88
  this._popper.setOptions({
78
- placement: `${this.placement}-start`,
89
+ placement: this.placement,
79
90
  modifiers: [
80
91
  {
81
92
  name: 'offset',
@@ -91,6 +102,9 @@ export class Dropdown {
91
102
  return;
92
103
  }
93
104
  // Make the popover visible
105
+ if (this.calculateWidth) {
106
+ this._menu.style.width = `${this._trigger.clientWidth}px`;
107
+ }
94
108
  this._menu.setAttribute('data-show', '');
95
109
  this.isOpen.emit(true);
96
110
  // Enable the event listeners
@@ -116,108 +130,205 @@ export class Dropdown {
116
130
  }
117
131
  static get is() { return "p-dropdown"; }
118
132
  static get encapsulation() { return "shadow"; }
119
- static get originalStyleUrls() { return {
120
- "$": ["dropdown.component.scss"]
121
- }; }
122
- static get styleUrls() { return {
123
- "$": ["dropdown.component.css"]
124
- }; }
125
- static get properties() { return {
126
- "placement": {
127
- "type": "string",
128
- "mutable": false,
129
- "complexType": {
130
- "original": "'bottom' | 'top'",
131
- "resolved": "\"bottom\" | \"top\"",
132
- "references": {}
133
- },
134
- "required": false,
135
- "optional": false,
136
- "docs": {
137
- "tags": [],
138
- "text": "The content of the dropdown menu"
139
- },
140
- "attribute": "placement",
141
- "reflect": false,
142
- "defaultValue": "'bottom'"
143
- },
144
- "show": {
145
- "type": "boolean",
146
- "mutable": false,
147
- "complexType": {
148
- "original": "boolean",
149
- "resolved": "boolean",
150
- "references": {}
133
+ static get originalStyleUrls() {
134
+ return {
135
+ "$": ["dropdown.component.scss"]
136
+ };
137
+ }
138
+ static get styleUrls() {
139
+ return {
140
+ "$": ["dropdown.component.css"]
141
+ };
142
+ }
143
+ static get properties() {
144
+ return {
145
+ "placement": {
146
+ "type": "string",
147
+ "mutable": false,
148
+ "complexType": {
149
+ "original": "Placement",
150
+ "resolved": "\"auto\" | \"auto-end\" | \"auto-start\" | \"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
151
+ "references": {
152
+ "Placement": {
153
+ "location": "import",
154
+ "path": "@popperjs/core"
155
+ }
156
+ }
157
+ },
158
+ "required": false,
159
+ "optional": false,
160
+ "docs": {
161
+ "tags": [],
162
+ "text": "The content of the dropdown menu"
163
+ },
164
+ "attribute": "placement",
165
+ "reflect": true,
166
+ "defaultValue": "'bottom-start'"
151
167
  },
152
- "required": false,
153
- "optional": false,
154
- "docs": {
155
- "tags": [],
156
- "text": "Wether to show the dropdown menu"
168
+ "strategy": {
169
+ "type": "string",
170
+ "mutable": false,
171
+ "complexType": {
172
+ "original": "PositioningStrategy",
173
+ "resolved": "\"absolute\" | \"fixed\"",
174
+ "references": {
175
+ "PositioningStrategy": {
176
+ "location": "import",
177
+ "path": "@popperjs/core"
178
+ }
179
+ }
180
+ },
181
+ "required": false,
182
+ "optional": false,
183
+ "docs": {
184
+ "tags": [],
185
+ "text": "The strategy of the popover placement"
186
+ },
187
+ "attribute": "strategy",
188
+ "reflect": false,
189
+ "defaultValue": "'absolute'"
157
190
  },
158
- "attribute": "show",
159
- "reflect": false,
160
- "defaultValue": "false"
161
- },
162
- "insideClick": {
163
- "type": "boolean",
164
- "mutable": false,
165
- "complexType": {
166
- "original": "boolean",
167
- "resolved": "boolean",
168
- "references": {}
191
+ "show": {
192
+ "type": "boolean",
193
+ "mutable": false,
194
+ "complexType": {
195
+ "original": "boolean",
196
+ "resolved": "boolean",
197
+ "references": {}
198
+ },
199
+ "required": false,
200
+ "optional": false,
201
+ "docs": {
202
+ "tags": [],
203
+ "text": "Wether to show the dropdown menu"
204
+ },
205
+ "attribute": "show",
206
+ "reflect": false,
207
+ "defaultValue": "false"
169
208
  },
170
- "required": false,
171
- "optional": false,
172
- "docs": {
173
- "tags": [],
174
- "text": "Wether to automatically close the dropdown menu after clicking inside"
209
+ "calculateWidth": {
210
+ "type": "boolean",
211
+ "mutable": false,
212
+ "complexType": {
213
+ "original": "boolean",
214
+ "resolved": "boolean",
215
+ "references": {}
216
+ },
217
+ "required": false,
218
+ "optional": false,
219
+ "docs": {
220
+ "tags": [],
221
+ "text": "Wether to automatically calculate the width of the menu based on the trigger"
222
+ },
223
+ "attribute": "calculate-width",
224
+ "reflect": false,
225
+ "defaultValue": "false"
175
226
  },
176
- "attribute": "inside-click",
177
- "reflect": false,
178
- "defaultValue": "false"
179
- },
180
- "disableTriggerClick": {
181
- "type": "boolean",
182
- "mutable": false,
183
- "complexType": {
184
- "original": "boolean",
185
- "resolved": "boolean",
186
- "references": {}
227
+ "insideClick": {
228
+ "type": "boolean",
229
+ "mutable": false,
230
+ "complexType": {
231
+ "original": "boolean",
232
+ "resolved": "boolean",
233
+ "references": {}
234
+ },
235
+ "required": false,
236
+ "optional": false,
237
+ "docs": {
238
+ "tags": [],
239
+ "text": "Wether to automatically close the dropdown menu after clicking inside"
240
+ },
241
+ "attribute": "inside-click",
242
+ "reflect": false,
243
+ "defaultValue": "false"
187
244
  },
188
- "required": false,
189
- "optional": false,
190
- "docs": {
191
- "tags": [],
192
- "text": "Wether to automatically close the dropdown menu after clicking inside"
245
+ "disableTriggerClick": {
246
+ "type": "boolean",
247
+ "mutable": false,
248
+ "complexType": {
249
+ "original": "boolean",
250
+ "resolved": "boolean",
251
+ "references": {}
252
+ },
253
+ "required": false,
254
+ "optional": false,
255
+ "docs": {
256
+ "tags": [],
257
+ "text": "Wether to automatically close the dropdown menu after clicking inside"
258
+ },
259
+ "attribute": "disable-trigger-click",
260
+ "reflect": false,
261
+ "defaultValue": "false"
193
262
  },
194
- "attribute": "disable-trigger-click",
195
- "reflect": false,
196
- "defaultValue": "false"
197
- }
198
- }; }
199
- static get events() { return [{
200
- "method": "isOpen",
201
- "name": "isOpen",
202
- "bubbles": true,
203
- "cancelable": true,
204
- "composed": true,
205
- "docs": {
206
- "tags": [],
207
- "text": "Open change event"
263
+ "chevronPosition": {
264
+ "type": "string",
265
+ "mutable": false,
266
+ "complexType": {
267
+ "original": "'start' | 'end'",
268
+ "resolved": "\"end\" | \"start\"",
269
+ "references": {}
270
+ },
271
+ "required": false,
272
+ "optional": false,
273
+ "docs": {
274
+ "tags": [],
275
+ "text": "Chevron position"
276
+ },
277
+ "attribute": "chevron-position",
278
+ "reflect": false,
279
+ "defaultValue": "'end'"
208
280
  },
209
- "complexType": {
210
- "original": "boolean",
211
- "resolved": "boolean",
212
- "references": {}
281
+ "chevronDirection": {
282
+ "type": "string",
283
+ "mutable": false,
284
+ "complexType": {
285
+ "original": "'up' | 'down'",
286
+ "resolved": "\"down\" | \"up\"",
287
+ "references": {}
288
+ },
289
+ "required": false,
290
+ "optional": false,
291
+ "docs": {
292
+ "tags": [],
293
+ "text": "Chevron direction"
294
+ },
295
+ "attribute": "chevron-direction",
296
+ "reflect": false
213
297
  }
214
- }]; }
298
+ };
299
+ }
300
+ static get events() {
301
+ return [{
302
+ "method": "isOpen",
303
+ "name": "isOpen",
304
+ "bubbles": true,
305
+ "cancelable": true,
306
+ "composed": true,
307
+ "docs": {
308
+ "tags": [],
309
+ "text": "Open change event"
310
+ },
311
+ "complexType": {
312
+ "original": "boolean",
313
+ "resolved": "boolean",
314
+ "references": {}
315
+ }
316
+ }];
317
+ }
215
318
  static get elementRef() { return "_el"; }
216
- static get listeners() { return [{
217
- "name": "click",
218
- "method": "documentClickHandler",
219
- "target": "document",
220
- "capture": true,
221
- "passive": false
222
- }]; }
319
+ static get watchers() {
320
+ return [{
321
+ "propName": "show",
322
+ "methodName": "onShowChange"
323
+ }];
324
+ }
325
+ static get listeners() {
326
+ return [{
327
+ "name": "click",
328
+ "method": "documentClickHandler",
329
+ "target": "document",
330
+ "capture": true,
331
+ "passive": false
332
+ }];
333
+ }
223
334
  }
@@ -0,0 +1 @@
1
+ .mb-\[2px\]{margin-bottom:2px!important}.flex{display:flex!important}.h-8{height:2rem!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.gap-2{gap:.5rem!important}.rounded-tr-none{border-top-right-radius:0!important}.rounded-tl-none{border-top-left-radius:0!important}.rounded-bl-none{border-bottom-left-radius:0!important}.rounded-br-none{border-bottom-right-radius:0!important}.border{border-width:1px!important}.border-r-0{border-right-width:0!important}.border-l-0{border-left-width:0!important}.border-solid{border-style:solid!important}.border-mystic-dark{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.border-indigo{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-negative{--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.pl-0{padding-left:0!important}.pr-0{padding-right:0!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}.tracking-wider{letter-spacing:.05em!important}.text-storm-vague{--tw-text-opacity:1!important;color:rgb(152 154 183/var(--tw-text-opacity))!important}.text-storm-dark{color:rgb(39 40 56/var(--tw-text-opacity))!important}.text-storm,.text-storm-dark{--tw-text-opacity:1!important}.text-storm{color:rgb(81 83 107/var(--tw-text-opacity))!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}*{box-sizing:border-box}:host{display:flex;flex-direction:column;outline:2px solid transparent!important;outline-offset:2px!important;width:100%}:host .input-label{--tw-text-opacity:1;color:rgb(152 154 183/var(--tw-text-opacity));font-size:.75rem;font-weight:600;letter-spacing:.05em;line-height:1rem;margin-bottom:2px;text-transform:uppercase}:host .input-header{align-items:flex-end;display:flex;gap:.5rem;margin-bottom:2px}:host .content{display:flex}:host .content .prefix,:host .content .suffix{--tw-bg-opacity:1;--tw-border-opacity:1!important;--tw-text-opacity:1;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(218 230 240/var(--tw-border-opacity))!important;border-radius:.375rem;border-style:solid!important;border-width:1px!important;box-sizing:border-box;color:rgb(39 40 56/var(--tw-text-opacity));color:rgb(81 83 107/var(--tw-text-opacity));display:flex;flex:1 1 0%;font-size:1rem;height:2.5rem;justify-content:flex-start;line-height:1.5rem;outline:2px solid transparent!important;outline-offset:2px!important;padding-left:1rem;padding-right:1rem;width:100%}:host .content .prefix::-moz-placeholder,:host .content .suffix::-moz-placeholder{--tw-text-opacity:1;color:rgb(128 130 158/var(--tw-text-opacity));font-size:1rem;line-height:1.5rem}:host .content .prefix::placeholder,:host .content .suffix::placeholder{--tw-text-opacity:1;color:rgb(128 130 158/var(--tw-text-opacity));font-size:1rem;line-height:1.5rem}:host .content .prefix.active,:host .content .prefix.focus,:host .content .prefix:focus,:host .content .prefix:focus-visible,:host .content .prefix:focus-within,:host .content .prefix[active],:host .content .suffix.active,:host .content .suffix.focus,:host .content .suffix:focus,:host .content .suffix:focus-visible,:host .content .suffix:focus-within,:host .content .suffix[active]{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important;outline:2px solid transparent!important;outline-offset:2px!important}:host .content .prefix.size-small,:host .content .suffix.size-small{font-size:.875rem;height:2rem;line-height:1.25rem}:host .content .prefix{border-bottom-right-radius:0;border-right-width:0!important;border-top-right-radius:0;order:1;padding-right:.5rem}:host .content .suffix{border-bottom-left-radius:0;border-left-width:0!important;border-top-left-radius:0;order:3;padding-left:.5rem}:host .content ::slotted(input[type=date].p-input),:host .content ::slotted(input[type=datetime-local].p-input),:host .content ::slotted(input[type=email].p-input),:host .content ::slotted(input[type=month].p-input),:host .content ::slotted(input[type=number].p-input),:host .content ::slotted(input[type=password].p-input),:host .content ::slotted(input[type=tel].p-input),:host .content ::slotted(input[type=text].p-input),:host .content ::slotted(input[type=time].p-input){--tw-text-opacity:1;--tw-bg-opacity:1;--tw-border-opacity:1!important;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(218 230 240/var(--tw-border-opacity))!important;border-radius:.375rem;border-style:solid!important;border-width:1px!important;color:rgb(39 40 56/var(--tw-text-opacity));display:flex;font-size:1rem;height:2.5rem;justify-content:flex-start;line-height:1.5rem;order:2;outline:2px solid transparent!important;outline-offset:2px!important;padding-left:1rem;padding-right:1rem;width:100%}:host .content ::slotted(input[type=date].p-input)::-moz-placeholder,:host .content ::slotted(input[type=datetime-local].p-input)::-moz-placeholder,:host .content ::slotted(input[type=email].p-input)::-moz-placeholder,:host .content ::slotted(input[type=month].p-input)::-moz-placeholder,:host .content ::slotted(input[type=number].p-input)::-moz-placeholder,:host .content ::slotted(input[type=password].p-input)::-moz-placeholder,:host .content ::slotted(input[type=tel].p-input)::-moz-placeholder,:host .content ::slotted(input[type=text].p-input)::-moz-placeholder,:host .content ::slotted(input[type=time].p-input)::-moz-placeholder{--tw-text-opacity:1;color:rgb(128 130 158/var(--tw-text-opacity));font-size:1rem;line-height:1.5rem}:host .content ::slotted(input[type=date].p-input)::placeholder,:host .content ::slotted(input[type=datetime-local].p-input)::placeholder,:host .content ::slotted(input[type=email].p-input)::placeholder,:host .content ::slotted(input[type=month].p-input)::placeholder,:host .content ::slotted(input[type=number].p-input)::placeholder,:host .content ::slotted(input[type=password].p-input)::placeholder,:host .content ::slotted(input[type=tel].p-input)::placeholder,:host .content ::slotted(input[type=text].p-input)::placeholder,:host .content ::slotted(input[type=time].p-input)::placeholder{--tw-text-opacity:1;color:rgb(128 130 158/var(--tw-text-opacity));font-size:1rem;line-height:1.5rem}:host .content .active::slotted(input[type=date].p-input),:host .content .active::slotted(input[type=datetime-local].p-input),:host .content .active::slotted(input[type=email].p-input),:host .content .active::slotted(input[type=month].p-input),:host .content .active::slotted(input[type=number].p-input),:host .content .active::slotted(input[type=password].p-input),:host .content .active::slotted(input[type=tel].p-input),:host .content .active::slotted(input[type=text].p-input),:host .content .active::slotted(input[type=time].p-input),:host .content .focus::slotted(input[type=date].p-input),:host .content .focus::slotted(input[type=datetime-local].p-input),:host .content .focus::slotted(input[type=email].p-input),:host .content .focus::slotted(input[type=month].p-input),:host .content .focus::slotted(input[type=number].p-input),:host .content .focus::slotted(input[type=password].p-input),:host .content .focus::slotted(input[type=tel].p-input),:host .content .focus::slotted(input[type=text].p-input),:host .content .focus::slotted(input[type=time].p-input),:host .content ::slotted(input[type=date].p-input):focus,:host .content ::slotted(input[type=date].p-input):focus-visible,:host .content ::slotted(input[type=date].p-input):focus-within,:host .content ::slotted(input[type=date].p-input)[active],:host .content ::slotted(input[type=datetime-local].p-input):focus,:host .content ::slotted(input[type=datetime-local].p-input):focus-visible,:host .content ::slotted(input[type=datetime-local].p-input):focus-within,:host .content ::slotted(input[type=datetime-local].p-input)[active],:host .content ::slotted(input[type=email].p-input):focus,:host .content ::slotted(input[type=email].p-input):focus-visible,:host .content ::slotted(input[type=email].p-input):focus-within,:host .content ::slotted(input[type=email].p-input)[active],:host .content ::slotted(input[type=month].p-input):focus,:host .content ::slotted(input[type=month].p-input):focus-visible,:host .content ::slotted(input[type=month].p-input):focus-within,:host .content ::slotted(input[type=month].p-input)[active],:host .content ::slotted(input[type=number].p-input):focus,:host .content ::slotted(input[type=number].p-input):focus-visible,:host .content ::slotted(input[type=number].p-input):focus-within,:host .content ::slotted(input[type=number].p-input)[active],:host .content ::slotted(input[type=password].p-input):focus,:host .content ::slotted(input[type=password].p-input):focus-visible,:host .content ::slotted(input[type=password].p-input):focus-within,:host .content ::slotted(input[type=password].p-input)[active],:host .content ::slotted(input[type=tel].p-input):focus,:host .content ::slotted(input[type=tel].p-input):focus-visible,:host .content ::slotted(input[type=tel].p-input):focus-within,:host .content ::slotted(input[type=tel].p-input)[active],:host .content ::slotted(input[type=text].p-input):focus,:host .content ::slotted(input[type=text].p-input):focus-visible,:host .content ::slotted(input[type=text].p-input):focus-within,:host .content ::slotted(input[type=text].p-input)[active],:host .content ::slotted(input[type=time].p-input):focus,:host .content ::slotted(input[type=time].p-input):focus-visible,:host .content ::slotted(input[type=time].p-input):focus-within,:host .content ::slotted(input[type=time].p-input)[active]{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important;outline:2px solid transparent!important;outline-offset:2px!important}:host .content .size-small::slotted(input[type=date].p-input),:host .content .size-small::slotted(input[type=datetime-local].p-input),:host .content .size-small::slotted(input[type=email].p-input),:host .content .size-small::slotted(input[type=month].p-input),:host .content .size-small::slotted(input[type=number].p-input),:host .content .size-small::slotted(input[type=password].p-input),:host .content .size-small::slotted(input[type=tel].p-input),:host .content .size-small::slotted(input[type=text].p-input),:host .content .size-small::slotted(input[type=time].p-input){font-size:.875rem;height:2rem;line-height:1.25rem}:host .content .prefix+::slotted(input[type=date].p-input),:host .content .prefix+::slotted(input[type=datetime-local].p-input),:host .content .prefix+::slotted(input[type=email].p-input),:host .content .prefix+::slotted(input[type=month].p-input),:host .content .prefix+::slotted(input[type=number].p-input),:host .content .prefix+::slotted(input[type=password].p-input),:host .content .prefix+::slotted(input[type=tel].p-input),:host .content .prefix+::slotted(input[type=text].p-input),:host .content .prefix+::slotted(input[type=time].p-input){border-bottom-left-radius:0!important;border-left-width:0!important;border-top-left-radius:0!important;flex:1 1 auto;padding-left:0!important}:host .content .suffix+::slotted(input[type=date].p-input),:host .content .suffix+::slotted(input[type=datetime-local].p-input),:host .content .suffix+::slotted(input[type=email].p-input),:host .content .suffix+::slotted(input[type=month].p-input),:host .content .suffix+::slotted(input[type=number].p-input),:host .content .suffix+::slotted(input[type=password].p-input),:host .content .suffix+::slotted(input[type=tel].p-input),:host .content .suffix+::slotted(input[type=text].p-input),:host .content .suffix+::slotted(input[type=time].p-input){border-bottom-right-radius:0!important;border-right-width:0!important;border-top-right-radius:0!important;flex:1 1 auto;padding-right:0!important}:host(.focused),:host(:focus),:host(:focus-within),:host([focused]){outline:2px solid transparent!important;outline-offset:2px!important}:host(.focused) .prefix,:host(.focused) .suffix,:host(:focus) .prefix,:host(:focus) .suffix,:host(:focus-within) .prefix,:host(:focus-within) .suffix,:host([focused]) .prefix,:host([focused]) .suffix{--tw-border-opacity:1!important;--tw-text-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity))!important;color:rgb(82 138 250/var(--tw-text-opacity));outline:2px solid transparent!important;outline-offset:2px!important}:host(.focused) ::slotted(input[type=date].p-input),:host(.focused) ::slotted(input[type=datetime-local].p-input),:host(.focused) ::slotted(input[type=email].p-input),:host(.focused) ::slotted(input[type=month].p-input),:host(.focused) ::slotted(input[type=number].p-input),:host(.focused) ::slotted(input[type=password].p-input),:host(.focused) ::slotted(input[type=tel].p-input),:host(.focused) ::slotted(input[type=text].p-input),:host(.focused) ::slotted(input[type=time].p-input),:host(:focus) ::slotted(input[type=date].p-input),:host(:focus) ::slotted(input[type=datetime-local].p-input),:host(:focus) ::slotted(input[type=email].p-input),:host(:focus) ::slotted(input[type=month].p-input),:host(:focus) ::slotted(input[type=number].p-input),:host(:focus) ::slotted(input[type=password].p-input),:host(:focus) ::slotted(input[type=tel].p-input),:host(:focus) ::slotted(input[type=text].p-input),:host(:focus) ::slotted(input[type=time].p-input),:host(:focus-within) ::slotted(input[type=date].p-input),:host(:focus-within) ::slotted(input[type=datetime-local].p-input),:host(:focus-within) ::slotted(input[type=email].p-input),:host(:focus-within) ::slotted(input[type=month].p-input),:host(:focus-within) ::slotted(input[type=number].p-input),:host(:focus-within) ::slotted(input[type=password].p-input),:host(:focus-within) ::slotted(input[type=tel].p-input),:host(:focus-within) ::slotted(input[type=text].p-input),:host(:focus-within) ::slotted(input[type=time].p-input),:host([focused]) ::slotted(input[type=date].p-input),:host([focused]) ::slotted(input[type=datetime-local].p-input),:host([focused]) ::slotted(input[type=email].p-input),:host([focused]) ::slotted(input[type=month].p-input),:host([focused]) ::slotted(input[type=number].p-input),:host([focused]) ::slotted(input[type=password].p-input),:host([focused]) ::slotted(input[type=tel].p-input),:host([focused]) ::slotted(input[type=text].p-input),:host([focused]) ::slotted(input[type=time].p-input){--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important;outline:2px solid transparent!important;outline-offset:2px!important}:host(.error) .prefix,:host(.error) .suffix,:host([error]) .prefix,:host([error]) .suffix{--tw-border-opacity:1!important;--tw-text-opacity:1;border-color:rgb(185 30 40/var(--tw-border-opacity))!important;color:rgb(138 15 29/var(--tw-text-opacity));color:rgb(185 30 40/var(--tw-text-opacity))}:host(.error) .prefix::-moz-placeholder,:host(.error) .suffix::-moz-placeholder,:host([error]) .prefix::-moz-placeholder,:host([error]) .suffix::-moz-placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host(.error) .prefix::placeholder,:host(.error) .suffix::placeholder,:host([error]) .prefix::placeholder,:host([error]) .suffix::placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host(.error) ::slotted(input[type=date].p-input),:host(.error) ::slotted(input[type=datetime-local].p-input),:host(.error) ::slotted(input[type=email].p-input),:host(.error) ::slotted(input[type=month].p-input),:host(.error) ::slotted(input[type=number].p-input),:host(.error) ::slotted(input[type=password].p-input),:host(.error) ::slotted(input[type=tel].p-input),:host(.error) ::slotted(input[type=text].p-input),:host(.error) ::slotted(input[type=time].p-input),:host([error]) ::slotted(input[type=date].p-input),:host([error]) ::slotted(input[type=datetime-local].p-input),:host([error]) ::slotted(input[type=email].p-input),:host([error]) ::slotted(input[type=month].p-input),:host([error]) ::slotted(input[type=number].p-input),:host([error]) ::slotted(input[type=password].p-input),:host([error]) ::slotted(input[type=tel].p-input),:host([error]) ::slotted(input[type=text].p-input),:host([error]) ::slotted(input[type=time].p-input){--tw-text-opacity:1;--tw-border-opacity:1!important;border-color:rgb(185 30 40/var(--tw-border-opacity))!important;color:rgb(138 15 29/var(--tw-text-opacity))}:host(.error) ::slotted(input[type=date].p-input)::-moz-placeholder,:host(.error) ::slotted(input[type=datetime-local].p-input)::-moz-placeholder,:host(.error) ::slotted(input[type=email].p-input)::-moz-placeholder,:host(.error) ::slotted(input[type=month].p-input)::-moz-placeholder,:host(.error) ::slotted(input[type=number].p-input)::-moz-placeholder,:host(.error) ::slotted(input[type=password].p-input)::-moz-placeholder,:host(.error) ::slotted(input[type=tel].p-input)::-moz-placeholder,:host(.error) ::slotted(input[type=text].p-input)::-moz-placeholder,:host(.error) ::slotted(input[type=time].p-input)::-moz-placeholder,:host([error]) ::slotted(input[type=date].p-input)::-moz-placeholder,:host([error]) ::slotted(input[type=datetime-local].p-input)::-moz-placeholder,:host([error]) ::slotted(input[type=email].p-input)::-moz-placeholder,:host([error]) ::slotted(input[type=month].p-input)::-moz-placeholder,:host([error]) ::slotted(input[type=number].p-input)::-moz-placeholder,:host([error]) ::slotted(input[type=password].p-input)::-moz-placeholder,:host([error]) ::slotted(input[type=tel].p-input)::-moz-placeholder,:host([error]) ::slotted(input[type=text].p-input)::-moz-placeholder,:host([error]) ::slotted(input[type=time].p-input)::-moz-placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host(.error) ::slotted(input[type=date].p-input)::placeholder,:host(.error) ::slotted(input[type=datetime-local].p-input)::placeholder,:host(.error) ::slotted(input[type=email].p-input)::placeholder,:host(.error) ::slotted(input[type=month].p-input)::placeholder,:host(.error) ::slotted(input[type=number].p-input)::placeholder,:host(.error) ::slotted(input[type=password].p-input)::placeholder,:host(.error) ::slotted(input[type=tel].p-input)::placeholder,:host(.error) ::slotted(input[type=text].p-input)::placeholder,:host(.error) ::slotted(input[type=time].p-input)::placeholder,:host([error]) ::slotted(input[type=date].p-input)::placeholder,:host([error]) ::slotted(input[type=datetime-local].p-input)::placeholder,:host([error]) ::slotted(input[type=email].p-input)::placeholder,:host([error]) ::slotted(input[type=month].p-input)::placeholder,:host([error]) ::slotted(input[type=number].p-input)::placeholder,:host([error]) ::slotted(input[type=password].p-input)::placeholder,:host([error]) ::slotted(input[type=tel].p-input)::placeholder,:host([error]) ::slotted(input[type=text].p-input)::placeholder,:host([error]) ::slotted(input[type=time].p-input)::placeholder{--tw-text-opacity:1;color:rgb(255 204 211/var(--tw-text-opacity))}:host(.disabled) .prefix,:host(.disabled) .suffix,:host([disabled]) .prefix,:host([disabled]) .suffix{opacity:.4}:host(.disabled) ::slotted(input[type=date].p-input),:host(.disabled) ::slotted(input[type=datetime-local].p-input),:host(.disabled) ::slotted(input[type=email].p-input),:host(.disabled) ::slotted(input[type=month].p-input),:host(.disabled) ::slotted(input[type=number].p-input),:host(.disabled) ::slotted(input[type=password].p-input),:host(.disabled) ::slotted(input[type=tel].p-input),:host(.disabled) ::slotted(input[type=text].p-input),:host(.disabled) ::slotted(input[type=time].p-input),:host([disabled]) ::slotted(input[type=date].p-input),:host([disabled]) ::slotted(input[type=datetime-local].p-input),:host([disabled]) ::slotted(input[type=email].p-input),:host([disabled]) ::slotted(input[type=month].p-input),:host([disabled]) ::slotted(input[type=number].p-input),:host([disabled]) ::slotted(input[type=password].p-input),:host([disabled]) ::slotted(input[type=tel].p-input),:host([disabled]) ::slotted(input[type=text].p-input),:host([disabled]) ::slotted(input[type=time].p-input){opacity:.4;pointer-events:none}:host(.size-small) ::slotted(input[type=date].p-input),:host(.size-small) ::slotted(input[type=datetime-local].p-input),:host(.size-small) ::slotted(input[type=email].p-input),:host(.size-small) ::slotted(input[type=month].p-input),:host(.size-small) ::slotted(input[type=number].p-input),:host(.size-small) ::slotted(input[type=password].p-input),:host(.size-small) ::slotted(input[type=tel].p-input),:host(.size-small) ::slotted(input[type=text].p-input),:host(.size-small) ::slotted(input[type=time].p-input){font-size:.875rem;height:2rem;line-height:1.25rem}.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}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!important}.table{display:table!important}.hidden{display:none!important}.w-6{width:1.5rem!important}.max-w-\[20rem\]{max-width:20rem!important}.self-center{align-self:center!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}.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}@media (min-width:64rem){.desktop-xs\:flex{display:flex!important}}.m-0{margin:0!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}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!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}}.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-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}.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}}.ml-2{margin-left:.5rem!important}.justify-between{justify-content:space-between!important}.text-negative{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity))!important}.text-negative-light{--tw-text-opacity:1!important;color:rgb(255 204 211/var(--tw-text-opacity))!important}.hover\:text-negative:hover{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity))!important}