@paperless/core 2.0.1-beta.20 → 2.0.1-beta.21

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 (510) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/build/index.esm.js +1 -1
  3. package/dist/build/index.esm.js.map +1 -1
  4. package/dist/build/{p-d26ee54b.entry.js → p-036bb6f4.entry.js} +2 -2
  5. package/dist/build/p-0413fcd0.entry.js +2 -0
  6. package/dist/build/p-0413fcd0.entry.js.map +1 -0
  7. package/dist/build/p-0bbd4d1c.entry.js +2 -0
  8. package/dist/build/p-0bbd4d1c.entry.js.map +1 -0
  9. package/dist/build/{p-8b28c5be.entry.js → p-0c040d86.entry.js} +2 -2
  10. package/dist/build/{p-46cf79b4.entry.js → p-0e1935d5.entry.js} +2 -2
  11. package/dist/build/p-14e63599.entry.js +2 -0
  12. package/dist/build/{p-716a92ae.entry.js → p-1b5ec2b1.entry.js} +2 -2
  13. package/dist/{paperless/p-5f54e4b8.entry.js → build/p-1ed4a75e.entry.js} +3 -3
  14. package/dist/build/{p-5f54e4b8.entry.js.map → p-1ed4a75e.entry.js.map} +1 -1
  15. package/dist/{paperless/p-9f191ebc.entry.js → build/p-214a2978.entry.js} +2 -2
  16. package/dist/{paperless/p-e9ddf7b0.entry.js → build/p-2bd123f4.entry.js} +2 -2
  17. package/dist/{paperless/p-8b38f27d.entry.js → build/p-3a428a06.entry.js} +2 -2
  18. package/dist/build/{p-276d2804.entry.js → p-3b5242e9.entry.js} +2 -2
  19. package/dist/build/{p-8b3b5d3b.entry.js → p-3e393301.entry.js} +2 -2
  20. package/dist/build/{p-d31d6714.entry.js → p-46362798.entry.js} +2 -2
  21. package/dist/build/{p-1ea8012a.entry.js → p-48efb6e4.entry.js} +2 -2
  22. package/dist/{paperless/p-7ef827d5.entry.js → build/p-50134fa1.entry.js} +2 -2
  23. package/dist/build/{p-b27bbec2.entry.js → p-62843ca0.entry.js} +2 -2
  24. package/dist/build/{p-5c6050aa.entry.js → p-638d2138.entry.js} +2 -2
  25. package/dist/{paperless/p-e102e82d.entry.js → build/p-65d9a61f.entry.js} +2 -2
  26. package/dist/build/p-6d8852ca.entry.js +2 -0
  27. package/dist/build/p-889eb696.js +2 -0
  28. package/dist/build/p-958f3c09.entry.js +2 -0
  29. package/dist/build/p-958f3c09.entry.js.map +1 -0
  30. package/dist/build/{p-2f821184.entry.js → p-a56474ea.entry.js} +2 -2
  31. package/dist/build/{p-68ae68c8.entry.js → p-a5934232.entry.js} +2 -2
  32. package/dist/build/p-af468e9f.entry.js +2 -0
  33. package/dist/build/p-af468e9f.entry.js.map +1 -0
  34. package/dist/build/p-bf261165.entry.js +2 -0
  35. package/dist/{paperless/p-db4ea9ce.entry.js → build/p-c3ba61ac.entry.js} +2 -2
  36. package/dist/build/p-c605a1c1.js +2 -0
  37. package/dist/build/p-c605a1c1.js.map +1 -0
  38. package/dist/build/p-c8e79e30.entry.js +2 -0
  39. package/dist/build/{p-00534c3c.entry.js → p-cc3445fc.entry.js} +2 -2
  40. package/dist/{paperless/p-c6a042f7.entry.js → build/p-cfe6ec9a.entry.js} +2 -2
  41. package/dist/{paperless/p-0ffb8f53.entry.js → build/p-d044f441.entry.js} +2 -2
  42. package/dist/build/p-d63066b0.css +1 -0
  43. package/dist/build/p-d6ca5bce.entry.js +2 -0
  44. package/dist/build/p-d6ca5bce.entry.js.map +1 -0
  45. package/dist/build/{p-117de4a8.entry.js → p-d70b3539.entry.js} +2 -2
  46. package/dist/build/p-d8eb3b7b.entry.js +2 -0
  47. package/dist/build/p-d8eb3b7b.entry.js.map +1 -0
  48. package/dist/build/{p-e9a323f2.entry.js → p-d9d8c17c.entry.js} +2 -2
  49. package/dist/build/{p-57fc0eb5.entry.js → p-d9fae6bd.entry.js} +2 -2
  50. package/dist/build/p-dfce711d.entry.js +2 -0
  51. package/dist/build/p-dfce711d.entry.js.map +1 -0
  52. package/dist/build/p-ea577bae.entry.js +2 -0
  53. package/dist/build/p-ea577bae.entry.js.map +1 -0
  54. package/dist/build/{p-b26d5130.entry.js → p-eec56c71.entry.js} +2 -2
  55. package/dist/build/{p-448b6640.entry.js → p-f3d0ea94.entry.js} +2 -2
  56. package/dist/build/{p-955d149f.entry.js → p-f40f89a7.entry.js} +2 -2
  57. package/dist/build/{p-c6fa153f.entry.js → p-fd53acd3.entry.js} +2 -2
  58. package/dist/build/paperless.css +1 -1
  59. package/dist/build/paperless.esm.js +1 -1
  60. package/dist/build/paperless.esm.js.map +1 -1
  61. package/dist/cjs/index-3f9bbc0c.js +16 -4
  62. package/dist/cjs/index.cjs.js +2 -1
  63. package/dist/cjs/index.cjs.js.map +1 -1
  64. package/dist/cjs/loader.cjs.js +1 -1
  65. package/dist/cjs/nonce-0feefc04.js +17 -0
  66. package/dist/cjs/nonce-0feefc04.js.map +1 -0
  67. package/dist/cjs/p-accordion.cjs.entry.js +1 -1
  68. package/dist/cjs/p-attachment.cjs.entry.js +4 -4
  69. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  70. package/dist/cjs/p-button_3.cjs.entry.js +446 -0
  71. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -0
  72. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  73. package/dist/cjs/p-checkbox_3.cjs.entry.js +444 -0
  74. package/dist/cjs/p-checkbox_3.cjs.entry.js.map +1 -0
  75. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  76. package/dist/cjs/p-counter.cjs.entry.js +1 -1
  77. package/dist/cjs/p-cropper.cjs.entry.js +3 -3
  78. package/dist/cjs/p-cropper.cjs.entry.js.map +1 -1
  79. package/dist/cjs/p-datepicker.cjs.entry.js +1 -1
  80. package/dist/cjs/p-divider.cjs.entry.js +1 -1
  81. package/dist/cjs/p-drawer-body_3.cjs.entry.js +3 -3
  82. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +2 -2
  83. package/dist/cjs/p-field_3.cjs.entry.js +316 -0
  84. package/dist/cjs/p-field_3.cjs.entry.js.map +1 -0
  85. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +7 -7
  86. package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
  87. package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
  88. package/dist/cjs/p-input-error.cjs.entry.js +1 -1
  89. package/dist/cjs/p-label_3.cjs.entry.js +4 -4
  90. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  91. package/dist/cjs/p-modal-body_4.cjs.entry.js +4 -4
  92. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  93. package/dist/cjs/p-navigation-item.cjs.entry.js +4 -3
  94. package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
  95. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  96. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  97. package/dist/cjs/p-page-size-select_3.cjs.entry.js +2 -2
  98. package/dist/cjs/p-portal_2.cjs.entry.js +233 -0
  99. package/dist/cjs/p-portal_2.cjs.entry.js.map +1 -0
  100. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  101. package/dist/cjs/p-radio.cjs.entry.js +8 -19
  102. package/dist/cjs/p-radio.cjs.entry.js.map +1 -1
  103. package/dist/cjs/p-select.cjs.entry.js +1 -1
  104. package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
  105. package/dist/cjs/p-status.cjs.entry.js +2 -2
  106. package/dist/cjs/p-stepper-item.cjs.entry.js +1 -1
  107. package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
  108. package/dist/cjs/p-stepper.cjs.entry.js +1 -1
  109. package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
  110. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  111. package/dist/cjs/p-table.cjs.entry.js +15 -17
  112. package/dist/cjs/p-table.cjs.entry.js.map +1 -1
  113. package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
  114. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  115. package/dist/cjs/p-toggle.cjs.entry.js +148 -0
  116. package/dist/cjs/p-toggle.cjs.entry.js.map +1 -0
  117. package/dist/cjs/paperless.cjs.js +1 -1
  118. package/dist/collection/collection-manifest.json +2 -0
  119. package/dist/collection/components/atoms/checkbox/checkbox.component.css +1 -0
  120. package/dist/collection/components/atoms/checkbox/checkbox.component.js +283 -0
  121. package/dist/collection/components/atoms/checkbox/checkbox.component.js.map +1 -0
  122. package/dist/collection/components/atoms/counter/counter.component.js +1 -1
  123. package/dist/collection/components/atoms/divider/divider.component.js +1 -1
  124. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +1 -1
  125. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +1 -1
  126. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +1 -1
  127. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +2 -2
  128. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
  129. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +4 -4
  130. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -1
  131. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js +1 -1
  132. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js +1 -1
  133. package/dist/collection/components/atoms/helper/helper.component.js +1 -1
  134. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +1 -1
  135. package/dist/collection/components/atoms/info-panel/info-panel.component.js +1 -1
  136. package/dist/collection/components/atoms/label/label.component.js +2 -2
  137. package/dist/collection/components/atoms/layout/layout.component.js +1 -1
  138. package/dist/collection/components/atoms/modal-body/modal-body.component.js +1 -1
  139. package/dist/collection/components/atoms/modal-container/modal-container.component.js +1 -1
  140. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +1 -1
  141. package/dist/collection/components/atoms/modal-header/modal-header.component.js +1 -1
  142. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  143. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +1 -1
  144. package/dist/collection/components/atoms/portal/portal.component.js +1 -1
  145. package/dist/collection/components/atoms/radio/radio.component.css +1 -1
  146. package/dist/collection/components/atoms/radio/radio.component.js +5 -5
  147. package/dist/collection/components/atoms/radio/radio.component.js.map +1 -1
  148. package/dist/collection/components/atoms/segment-container/segment-container.component.js +1 -1
  149. package/dist/collection/components/atoms/segment-item/segment-item.component.js +1 -1
  150. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +1 -1
  151. package/dist/collection/components/atoms/status/status.component.js +2 -2
  152. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +1 -1
  153. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +1 -1
  154. package/dist/collection/components/atoms/tab-group/tab-group.component.js +1 -1
  155. package/dist/collection/components/atoms/tab-item/tab-item.component.js +1 -1
  156. package/dist/collection/components/atoms/table-container/table-container.component.js +1 -1
  157. package/dist/collection/components/atoms/toast-container/toast-container.component.js +1 -1
  158. package/dist/collection/components/atoms/toggle/toggle.component.css +1 -0
  159. package/dist/collection/components/atoms/toggle/toggle.component.js +321 -0
  160. package/dist/collection/components/atoms/toggle/toggle.component.js.map +1 -0
  161. package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
  162. package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
  163. package/dist/collection/components/molecules/attachment/attachment.component.js +4 -4
  164. package/dist/collection/components/molecules/button/button.component.css +1 -1
  165. package/dist/collection/components/molecules/button/button.component.js +4 -4
  166. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  167. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  168. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  169. package/dist/collection/components/molecules/cropper/cropper.component.css +1 -1
  170. package/dist/collection/components/molecules/cropper/cropper.component.js +2 -2
  171. package/dist/collection/components/molecules/datepicker/datepicker.component.js +1 -1
  172. package/dist/collection/components/molecules/dropdown/dropdown.component.js +3 -3
  173. package/dist/collection/components/molecules/field/field.component.js +9 -6
  174. package/dist/collection/components/molecules/field/field.component.js.map +1 -1
  175. package/dist/collection/components/molecules/input-error/input-error.component.js +1 -1
  176. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -1
  177. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +23 -2
  178. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js.map +1 -1
  179. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +1 -1
  180. package/dist/collection/components/molecules/pagination/pagination.component.js +1 -1
  181. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  182. package/dist/collection/components/molecules/select/select.component.js +1 -1
  183. package/dist/collection/components/molecules/stepper/stepper.component.js +1 -1
  184. package/dist/collection/components/molecules/table-cell/table-cell.component.js +1 -1
  185. package/dist/collection/components/molecules/table-footer/table-footer.component.js +1 -1
  186. package/dist/collection/components/molecules/table-row/table-row.component.js +2 -2
  187. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  188. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  189. package/dist/collection/components/organisms/table/table.component.css +1 -1
  190. package/dist/collection/components/organisms/table/table.component.js +13 -16
  191. package/dist/collection/components/organisms/table/table.component.js.map +1 -1
  192. package/dist/collection/tailwind/theme/shadows.js +2 -1
  193. package/dist/collection/tailwind/theme/shadows.js.map +1 -1
  194. package/dist/components/button.component.js +5 -5
  195. package/dist/components/button.component.js.map +1 -1
  196. package/dist/components/calendar.component.js +1 -1
  197. package/dist/components/checkbox.component.js +134 -0
  198. package/dist/components/checkbox.component.js.map +1 -0
  199. package/dist/components/divider.component.js +1 -1
  200. package/dist/components/drawer-body.component.js +1 -1
  201. package/dist/components/drawer-container.component.js +1 -1
  202. package/dist/components/drawer-header.component.js +1 -1
  203. package/dist/components/dropdown-menu-container.component.js +2 -2
  204. package/dist/components/dropdown-menu-item.component.js +12 -6
  205. package/dist/components/dropdown-menu-item.component.js.map +1 -1
  206. package/dist/components/dropdown.component.js +3 -3
  207. package/dist/components/field.component.js +9 -6
  208. package/dist/components/field.component.js.map +1 -1
  209. package/dist/components/floating-menu-container.component.js +1 -1
  210. package/dist/components/floating-menu-item.component.js +1 -1
  211. package/dist/components/helper.component.js +1 -1
  212. package/dist/components/index.js +2 -1
  213. package/dist/components/index.js.map +1 -1
  214. package/dist/components/input-error.component.js +1 -1
  215. package/dist/components/label.component.js +2 -2
  216. package/dist/components/modal-body.component.js +1 -1
  217. package/dist/components/modal-container.component.js +1 -1
  218. package/dist/components/modal-footer.component.js +1 -1
  219. package/dist/components/modal-header.component.js +1 -1
  220. package/dist/components/navigation-title.component.js +1 -1
  221. package/dist/components/nonce.js +15 -0
  222. package/dist/components/nonce.js.map +1 -0
  223. package/dist/components/p-accordion.js +1 -1
  224. package/dist/components/p-attachment.js +4 -4
  225. package/dist/components/p-button-group.js +1 -1
  226. package/dist/components/p-checkbox.d.ts +11 -0
  227. package/dist/components/p-checkbox.js +8 -0
  228. package/dist/components/p-checkbox.js.map +1 -0
  229. package/dist/components/p-content-slider.js +2 -2
  230. package/dist/components/p-counter.js +1 -1
  231. package/dist/components/p-cropper.js +3 -3
  232. package/dist/components/p-cropper.js.map +1 -1
  233. package/dist/components/p-datepicker.js +1 -1
  234. package/dist/components/p-iban-icon.js +1 -1
  235. package/dist/components/p-info-panel.js +1 -1
  236. package/dist/components/p-layout.js +1 -1
  237. package/dist/components/p-navbar.js +1 -1
  238. package/dist/components/p-navigation-item.js +15 -7
  239. package/dist/components/p-navigation-item.js.map +1 -1
  240. package/dist/components/p-navigation-section.js +1 -1
  241. package/dist/components/p-profile.js +1 -1
  242. package/dist/components/p-radio.js +7 -18
  243. package/dist/components/p-radio.js.map +1 -1
  244. package/dist/components/p-select.js +11 -5
  245. package/dist/components/p-select.js.map +1 -1
  246. package/dist/components/p-status.js +2 -2
  247. package/dist/components/p-stepper-item.js +1 -1
  248. package/dist/components/p-stepper.js +1 -1
  249. package/dist/components/p-tab-group.js +1 -1
  250. package/dist/components/p-tab-item.js +1 -1
  251. package/dist/components/p-table.js +22 -19
  252. package/dist/components/p-table.js.map +1 -1
  253. package/dist/components/p-toast-container.js +1 -1
  254. package/dist/components/p-toast.js +1 -1
  255. package/dist/components/p-toggle.d.ts +11 -0
  256. package/dist/components/p-toggle.js +169 -0
  257. package/dist/components/p-toggle.js.map +1 -0
  258. package/dist/components/page-size-select.component.js +8 -2
  259. package/dist/components/page-size-select.component.js.map +1 -1
  260. package/dist/components/pagination-item.component.js +1 -1
  261. package/dist/components/pagination.component.js +1 -1
  262. package/dist/components/portal.component.js +1 -1
  263. package/dist/components/segment-container.component.js +1 -1
  264. package/dist/components/segment-item.component.js +1 -1
  265. package/dist/components/slider-indicator.component.js +1 -1
  266. package/dist/components/stepper-line.component.js +1 -1
  267. package/dist/components/table-cell.component.js +1 -1
  268. package/dist/components/table-container.component.js +1 -1
  269. package/dist/components/table-footer.component.js +9 -3
  270. package/dist/components/table-footer.component.js.map +1 -1
  271. package/dist/components/table-row.component.js +2 -2
  272. package/dist/components/tooltip.component.js +4 -4
  273. package/dist/esm/index-2ef94580.js +16 -4
  274. package/dist/esm/index.js +2 -1
  275. package/dist/esm/index.js.map +1 -1
  276. package/dist/esm/loader.js +1 -1
  277. package/dist/esm/nonce-a9254eb4.js +15 -0
  278. package/dist/esm/nonce-a9254eb4.js.map +1 -0
  279. package/dist/esm/p-accordion.entry.js +1 -1
  280. package/dist/esm/p-attachment.entry.js +4 -4
  281. package/dist/esm/p-button-group.entry.js +1 -1
  282. package/dist/esm/p-button_3.entry.js +440 -0
  283. package/dist/esm/p-button_3.entry.js.map +1 -0
  284. package/dist/esm/p-calendar.entry.js +1 -1
  285. package/dist/esm/p-checkbox_3.entry.js +438 -0
  286. package/dist/esm/p-checkbox_3.entry.js.map +1 -0
  287. package/dist/esm/p-content-slider.entry.js +2 -2
  288. package/dist/esm/p-counter.entry.js +1 -1
  289. package/dist/esm/p-cropper.entry.js +3 -3
  290. package/dist/esm/p-cropper.entry.js.map +1 -1
  291. package/dist/esm/p-datepicker.entry.js +1 -1
  292. package/dist/esm/p-divider.entry.js +1 -1
  293. package/dist/esm/p-drawer-body_3.entry.js +3 -3
  294. package/dist/esm/p-dropdown-menu-container.entry.js +2 -2
  295. package/dist/esm/p-field_3.entry.js +310 -0
  296. package/dist/esm/p-field_3.entry.js.map +1 -0
  297. package/dist/esm/p-floating-menu-container_8.entry.js +7 -7
  298. package/dist/esm/p-iban-icon.entry.js +1 -1
  299. package/dist/esm/p-info-panel.entry.js +1 -1
  300. package/dist/esm/p-input-error.entry.js +1 -1
  301. package/dist/esm/p-label_3.entry.js +4 -4
  302. package/dist/esm/p-layout.entry.js +1 -1
  303. package/dist/esm/p-modal-body_4.entry.js +4 -4
  304. package/dist/esm/p-navbar.entry.js +1 -1
  305. package/dist/esm/p-navigation-item.entry.js +4 -3
  306. package/dist/esm/p-navigation-item.entry.js.map +1 -1
  307. package/dist/esm/p-navigation-section.entry.js +1 -1
  308. package/dist/esm/p-navigation-title.entry.js +1 -1
  309. package/dist/esm/p-page-size-select_3.entry.js +2 -2
  310. package/dist/esm/p-portal_2.entry.js +228 -0
  311. package/dist/esm/p-portal_2.entry.js.map +1 -0
  312. package/dist/esm/p-profile.entry.js +1 -1
  313. package/dist/esm/p-radio.entry.js +7 -18
  314. package/dist/esm/p-radio.entry.js.map +1 -1
  315. package/dist/esm/p-select.entry.js +1 -1
  316. package/dist/esm/p-slider-indicator.entry.js +1 -1
  317. package/dist/esm/p-status.entry.js +2 -2
  318. package/dist/esm/p-stepper-item.entry.js +1 -1
  319. package/dist/esm/p-stepper-line.entry.js +1 -1
  320. package/dist/esm/p-stepper.entry.js +1 -1
  321. package/dist/esm/p-tab-group.entry.js +1 -1
  322. package/dist/esm/p-tab-item.entry.js +1 -1
  323. package/dist/esm/p-table.entry.js +15 -17
  324. package/dist/esm/p-table.entry.js.map +1 -1
  325. package/dist/esm/p-toast-container.entry.js +1 -1
  326. package/dist/esm/p-toast.entry.js +1 -1
  327. package/dist/esm/p-toggle.entry.js +144 -0
  328. package/dist/esm/p-toggle.entry.js.map +1 -0
  329. package/dist/esm/paperless.js +1 -1
  330. package/dist/index.html +1 -1
  331. package/dist/paperless/index.esm.js +1 -1
  332. package/dist/paperless/index.esm.js.map +1 -1
  333. package/dist/paperless/{p-d26ee54b.entry.js → p-036bb6f4.entry.js} +2 -2
  334. package/dist/paperless/p-0413fcd0.entry.js +2 -0
  335. package/dist/paperless/p-0413fcd0.entry.js.map +1 -0
  336. package/dist/paperless/p-0bbd4d1c.entry.js +2 -0
  337. package/dist/paperless/p-0bbd4d1c.entry.js.map +1 -0
  338. package/dist/paperless/{p-8b28c5be.entry.js → p-0c040d86.entry.js} +2 -2
  339. package/dist/paperless/{p-46cf79b4.entry.js → p-0e1935d5.entry.js} +2 -2
  340. package/dist/paperless/p-14e63599.entry.js +2 -0
  341. package/dist/paperless/{p-716a92ae.entry.js → p-1b5ec2b1.entry.js} +2 -2
  342. package/dist/{build/p-5f54e4b8.entry.js → paperless/p-1ed4a75e.entry.js} +3 -3
  343. package/dist/paperless/{p-5f54e4b8.entry.js.map → p-1ed4a75e.entry.js.map} +1 -1
  344. package/dist/{build/p-9f191ebc.entry.js → paperless/p-214a2978.entry.js} +2 -2
  345. package/dist/{build/p-e9ddf7b0.entry.js → paperless/p-2bd123f4.entry.js} +2 -2
  346. package/dist/{build/p-8b38f27d.entry.js → paperless/p-3a428a06.entry.js} +2 -2
  347. package/dist/paperless/{p-276d2804.entry.js → p-3b5242e9.entry.js} +2 -2
  348. package/dist/paperless/{p-8b3b5d3b.entry.js → p-3e393301.entry.js} +2 -2
  349. package/dist/paperless/{p-d31d6714.entry.js → p-46362798.entry.js} +2 -2
  350. package/dist/paperless/{p-1ea8012a.entry.js → p-48efb6e4.entry.js} +2 -2
  351. package/dist/{build/p-7ef827d5.entry.js → paperless/p-50134fa1.entry.js} +2 -2
  352. package/dist/paperless/{p-b27bbec2.entry.js → p-62843ca0.entry.js} +2 -2
  353. package/dist/paperless/{p-5c6050aa.entry.js → p-638d2138.entry.js} +2 -2
  354. package/dist/{build/p-e102e82d.entry.js → paperless/p-65d9a61f.entry.js} +2 -2
  355. package/dist/paperless/p-6d8852ca.entry.js +2 -0
  356. package/dist/paperless/p-958f3c09.entry.js +2 -0
  357. package/dist/paperless/p-958f3c09.entry.js.map +1 -0
  358. package/dist/paperless/{p-2f821184.entry.js → p-a56474ea.entry.js} +2 -2
  359. package/dist/paperless/{p-68ae68c8.entry.js → p-a5934232.entry.js} +2 -2
  360. package/dist/paperless/p-af468e9f.entry.js +2 -0
  361. package/dist/paperless/p-af468e9f.entry.js.map +1 -0
  362. package/dist/paperless/p-bf261165.entry.js +2 -0
  363. package/dist/{build/p-db4ea9ce.entry.js → paperless/p-c3ba61ac.entry.js} +2 -2
  364. package/dist/paperless/p-c605a1c1.js +2 -0
  365. package/dist/paperless/p-c605a1c1.js.map +1 -0
  366. package/dist/paperless/p-c8e79e30.entry.js +2 -0
  367. package/dist/paperless/{p-00534c3c.entry.js → p-cc3445fc.entry.js} +2 -2
  368. package/dist/{build/p-c6a042f7.entry.js → paperless/p-cfe6ec9a.entry.js} +2 -2
  369. package/dist/{build/p-0ffb8f53.entry.js → paperless/p-d044f441.entry.js} +2 -2
  370. package/dist/paperless/p-d6ca5bce.entry.js +2 -0
  371. package/dist/paperless/p-d6ca5bce.entry.js.map +1 -0
  372. package/dist/paperless/{p-117de4a8.entry.js → p-d70b3539.entry.js} +2 -2
  373. package/dist/paperless/p-d8eb3b7b.entry.js +2 -0
  374. package/dist/paperless/p-d8eb3b7b.entry.js.map +1 -0
  375. package/dist/paperless/{p-e9a323f2.entry.js → p-d9d8c17c.entry.js} +2 -2
  376. package/dist/paperless/{p-57fc0eb5.entry.js → p-d9fae6bd.entry.js} +2 -2
  377. package/dist/paperless/p-dfce711d.entry.js +2 -0
  378. package/dist/paperless/p-dfce711d.entry.js.map +1 -0
  379. package/dist/paperless/p-ea577bae.entry.js +2 -0
  380. package/dist/paperless/p-ea577bae.entry.js.map +1 -0
  381. package/dist/paperless/{p-b26d5130.entry.js → p-eec56c71.entry.js} +2 -2
  382. package/dist/paperless/{p-448b6640.entry.js → p-f3d0ea94.entry.js} +2 -2
  383. package/dist/paperless/{p-955d149f.entry.js → p-f40f89a7.entry.js} +2 -2
  384. package/dist/paperless/{p-c6fa153f.entry.js → p-fd53acd3.entry.js} +2 -2
  385. package/dist/paperless/paperless.css +1 -1
  386. package/dist/paperless/paperless.esm.js +1 -1
  387. package/dist/paperless/paperless.esm.js.map +1 -1
  388. package/dist/style/paperless.scss +0 -2
  389. package/dist/sw.js +1 -1
  390. package/dist/sw.js.map +1 -1
  391. package/dist/tailwind/theme/shadows.ts +2 -1
  392. package/dist/types/components/atoms/checkbox/checkbox.component.d.ts +42 -0
  393. package/dist/types/components/atoms/toggle/toggle.component.d.ts +42 -0
  394. package/dist/types/components/molecules/field/field.component.d.ts +2 -1
  395. package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +4 -0
  396. package/dist/types/components/organisms/table/table.component.d.ts +0 -1
  397. package/dist/types/components.d.ts +194 -0
  398. package/dist/types/tailwind/theme/shadows.d.ts +1 -0
  399. package/hydrate/index.js +393 -122
  400. package/hydrate/index.mjs +393 -122
  401. package/package.json +1 -1
  402. package/dist/build/p-17457a9a.entry.js +0 -2
  403. package/dist/build/p-2beae871.entry.js +0 -2
  404. package/dist/build/p-5021f212.entry.js +0 -2
  405. package/dist/build/p-5021f212.entry.js.map +0 -1
  406. package/dist/build/p-8f4ccbe0.entry.js +0 -2
  407. package/dist/build/p-a2ff0942.entry.js +0 -2
  408. package/dist/build/p-a2ff0942.entry.js.map +0 -1
  409. package/dist/build/p-b8a88966.css +0 -1
  410. package/dist/build/p-c8616c4a.js +0 -2
  411. package/dist/build/p-d12bb2d3.entry.js +0 -2
  412. package/dist/build/p-d12bb2d3.entry.js.map +0 -1
  413. package/dist/build/p-ddde168c.entry.js +0 -2
  414. package/dist/build/p-e7bfc9c0.entry.js +0 -2
  415. package/dist/build/p-e7bfc9c0.entry.js.map +0 -1
  416. package/dist/build/p-fb0087cc.entry.js +0 -2
  417. package/dist/build/p-fb0087cc.entry.js.map +0 -1
  418. package/dist/cjs/p-button_8.cjs.entry.js +0 -972
  419. package/dist/cjs/p-button_8.cjs.entry.js.map +0 -1
  420. package/dist/cjs/p-dropdown_2.cjs.entry.js +0 -344
  421. package/dist/cjs/p-dropdown_2.cjs.entry.js.map +0 -1
  422. package/dist/esm/p-button_8.entry.js +0 -961
  423. package/dist/esm/p-button_8.entry.js.map +0 -1
  424. package/dist/esm/p-dropdown_2.entry.js +0 -339
  425. package/dist/esm/p-dropdown_2.entry.js.map +0 -1
  426. package/dist/paperless/p-17457a9a.entry.js +0 -2
  427. package/dist/paperless/p-2beae871.entry.js +0 -2
  428. package/dist/paperless/p-5021f212.entry.js +0 -2
  429. package/dist/paperless/p-5021f212.entry.js.map +0 -1
  430. package/dist/paperless/p-8f4ccbe0.entry.js +0 -2
  431. package/dist/paperless/p-a2ff0942.entry.js +0 -2
  432. package/dist/paperless/p-a2ff0942.entry.js.map +0 -1
  433. package/dist/paperless/p-d12bb2d3.entry.js +0 -2
  434. package/dist/paperless/p-d12bb2d3.entry.js.map +0 -1
  435. package/dist/paperless/p-ddde168c.entry.js +0 -2
  436. package/dist/paperless/p-e7bfc9c0.entry.js +0 -2
  437. package/dist/paperless/p-e7bfc9c0.entry.js.map +0 -1
  438. package/dist/paperless/p-fb0087cc.entry.js +0 -2
  439. package/dist/paperless/p-fb0087cc.entry.js.map +0 -1
  440. package/dist/style/form/_checkbox.scss +0 -135
  441. package/dist/style/form/_input.scss +0 -31
  442. package/dist/style/form/_mixins.scss +0 -140
  443. package/dist/style/form/_radio.scss +0 -58
  444. package/dist/style/form/_range.scss +0 -20
  445. package/dist/style/form/_textarea.scss +0 -31
  446. package/dist/style/form/index.scss +0 -5
  447. /package/dist/build/{p-d26ee54b.entry.js.map → p-036bb6f4.entry.js.map} +0 -0
  448. /package/dist/build/{p-8b28c5be.entry.js.map → p-0c040d86.entry.js.map} +0 -0
  449. /package/dist/build/{p-46cf79b4.entry.js.map → p-0e1935d5.entry.js.map} +0 -0
  450. /package/dist/build/{p-2beae871.entry.js.map → p-14e63599.entry.js.map} +0 -0
  451. /package/dist/build/{p-716a92ae.entry.js.map → p-1b5ec2b1.entry.js.map} +0 -0
  452. /package/dist/build/{p-9f191ebc.entry.js.map → p-214a2978.entry.js.map} +0 -0
  453. /package/dist/build/{p-e9ddf7b0.entry.js.map → p-2bd123f4.entry.js.map} +0 -0
  454. /package/dist/build/{p-8b38f27d.entry.js.map → p-3a428a06.entry.js.map} +0 -0
  455. /package/dist/build/{p-276d2804.entry.js.map → p-3b5242e9.entry.js.map} +0 -0
  456. /package/dist/build/{p-8b3b5d3b.entry.js.map → p-3e393301.entry.js.map} +0 -0
  457. /package/dist/build/{p-d31d6714.entry.js.map → p-46362798.entry.js.map} +0 -0
  458. /package/dist/build/{p-1ea8012a.entry.js.map → p-48efb6e4.entry.js.map} +0 -0
  459. /package/dist/build/{p-7ef827d5.entry.js.map → p-50134fa1.entry.js.map} +0 -0
  460. /package/dist/build/{p-b27bbec2.entry.js.map → p-62843ca0.entry.js.map} +0 -0
  461. /package/dist/build/{p-5c6050aa.entry.js.map → p-638d2138.entry.js.map} +0 -0
  462. /package/dist/build/{p-e102e82d.entry.js.map → p-65d9a61f.entry.js.map} +0 -0
  463. /package/dist/build/{p-ddde168c.entry.js.map → p-6d8852ca.entry.js.map} +0 -0
  464. /package/dist/build/{p-2f821184.entry.js.map → p-a56474ea.entry.js.map} +0 -0
  465. /package/dist/build/{p-68ae68c8.entry.js.map → p-a5934232.entry.js.map} +0 -0
  466. /package/dist/build/{p-17457a9a.entry.js.map → p-bf261165.entry.js.map} +0 -0
  467. /package/dist/build/{p-db4ea9ce.entry.js.map → p-c3ba61ac.entry.js.map} +0 -0
  468. /package/dist/build/{p-8f4ccbe0.entry.js.map → p-c8e79e30.entry.js.map} +0 -0
  469. /package/dist/build/{p-00534c3c.entry.js.map → p-cc3445fc.entry.js.map} +0 -0
  470. /package/dist/build/{p-c6a042f7.entry.js.map → p-cfe6ec9a.entry.js.map} +0 -0
  471. /package/dist/build/{p-0ffb8f53.entry.js.map → p-d044f441.entry.js.map} +0 -0
  472. /package/dist/build/{p-117de4a8.entry.js.map → p-d70b3539.entry.js.map} +0 -0
  473. /package/dist/build/{p-e9a323f2.entry.js.map → p-d9d8c17c.entry.js.map} +0 -0
  474. /package/dist/build/{p-57fc0eb5.entry.js.map → p-d9fae6bd.entry.js.map} +0 -0
  475. /package/dist/build/{p-b26d5130.entry.js.map → p-eec56c71.entry.js.map} +0 -0
  476. /package/dist/build/{p-448b6640.entry.js.map → p-f3d0ea94.entry.js.map} +0 -0
  477. /package/dist/build/{p-955d149f.entry.js.map → p-f40f89a7.entry.js.map} +0 -0
  478. /package/dist/build/{p-c6fa153f.entry.js.map → p-fd53acd3.entry.js.map} +0 -0
  479. /package/dist/paperless/{p-d26ee54b.entry.js.map → p-036bb6f4.entry.js.map} +0 -0
  480. /package/dist/paperless/{p-8b28c5be.entry.js.map → p-0c040d86.entry.js.map} +0 -0
  481. /package/dist/paperless/{p-46cf79b4.entry.js.map → p-0e1935d5.entry.js.map} +0 -0
  482. /package/dist/paperless/{p-2beae871.entry.js.map → p-14e63599.entry.js.map} +0 -0
  483. /package/dist/paperless/{p-716a92ae.entry.js.map → p-1b5ec2b1.entry.js.map} +0 -0
  484. /package/dist/paperless/{p-9f191ebc.entry.js.map → p-214a2978.entry.js.map} +0 -0
  485. /package/dist/paperless/{p-e9ddf7b0.entry.js.map → p-2bd123f4.entry.js.map} +0 -0
  486. /package/dist/paperless/{p-8b38f27d.entry.js.map → p-3a428a06.entry.js.map} +0 -0
  487. /package/dist/paperless/{p-276d2804.entry.js.map → p-3b5242e9.entry.js.map} +0 -0
  488. /package/dist/paperless/{p-8b3b5d3b.entry.js.map → p-3e393301.entry.js.map} +0 -0
  489. /package/dist/paperless/{p-d31d6714.entry.js.map → p-46362798.entry.js.map} +0 -0
  490. /package/dist/paperless/{p-1ea8012a.entry.js.map → p-48efb6e4.entry.js.map} +0 -0
  491. /package/dist/paperless/{p-7ef827d5.entry.js.map → p-50134fa1.entry.js.map} +0 -0
  492. /package/dist/paperless/{p-b27bbec2.entry.js.map → p-62843ca0.entry.js.map} +0 -0
  493. /package/dist/paperless/{p-5c6050aa.entry.js.map → p-638d2138.entry.js.map} +0 -0
  494. /package/dist/paperless/{p-e102e82d.entry.js.map → p-65d9a61f.entry.js.map} +0 -0
  495. /package/dist/paperless/{p-ddde168c.entry.js.map → p-6d8852ca.entry.js.map} +0 -0
  496. /package/dist/paperless/{p-2f821184.entry.js.map → p-a56474ea.entry.js.map} +0 -0
  497. /package/dist/paperless/{p-68ae68c8.entry.js.map → p-a5934232.entry.js.map} +0 -0
  498. /package/dist/paperless/{p-17457a9a.entry.js.map → p-bf261165.entry.js.map} +0 -0
  499. /package/dist/paperless/{p-db4ea9ce.entry.js.map → p-c3ba61ac.entry.js.map} +0 -0
  500. /package/dist/paperless/{p-8f4ccbe0.entry.js.map → p-c8e79e30.entry.js.map} +0 -0
  501. /package/dist/paperless/{p-00534c3c.entry.js.map → p-cc3445fc.entry.js.map} +0 -0
  502. /package/dist/paperless/{p-c6a042f7.entry.js.map → p-cfe6ec9a.entry.js.map} +0 -0
  503. /package/dist/paperless/{p-0ffb8f53.entry.js.map → p-d044f441.entry.js.map} +0 -0
  504. /package/dist/paperless/{p-117de4a8.entry.js.map → p-d70b3539.entry.js.map} +0 -0
  505. /package/dist/paperless/{p-e9a323f2.entry.js.map → p-d9d8c17c.entry.js.map} +0 -0
  506. /package/dist/paperless/{p-57fc0eb5.entry.js.map → p-d9fae6bd.entry.js.map} +0 -0
  507. /package/dist/paperless/{p-b26d5130.entry.js.map → p-eec56c71.entry.js.map} +0 -0
  508. /package/dist/paperless/{p-448b6640.entry.js.map → p-f3d0ea94.entry.js.map} +0 -0
  509. /package/dist/paperless/{p-955d149f.entry.js.map → p-f40f89a7.entry.js.map} +0 -0
  510. /package/dist/paperless/{p-c6fa153f.entry.js.map → p-fd53acd3.entry.js.map} +0 -0
@@ -2942,7 +2942,7 @@ const Datepicker = class {
2942
2942
  this.parseValue(this.value);
2943
2943
  }
2944
2944
  render() {
2945
- return (index$1.h(index$1.Host, { key: 'f0a3bc705999626811d70ee9ec3427d50534ef83', class: 'p-datepicker' }, index$1.h("p-dropdown", { key: 'f6937a8bad532549e73b7d3e0e014f7ec0282a4e', strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, index$1.h("p-field", { key: '2d266a871095865a8ff73ff7f5b1b42e81089024', slot: 'trigger', icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', size: this.size, prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, disabled: this.disabled, focused: this._showDropdown, value: this._getFormattedDate(), placeholder: this.placeholder, onFocus: () => this._onFocus(), onBlur: () => this._onBlur(), onValueChange: ev => this._onValueChange(ev.detail), onInputRefChange: ev => (this._inputRef = ev.detail) }), index$1.h("div", { key: '4f0c3c7b5912a926f40dbad7d2a6748348a52b18', slot: 'items' }, index$1.h("p-calendar", { key: '9432fc8ceb87a7e4881e982a89a1b836dc6f8bbd', variant: 'embedded', value: this._value, onValueChange: ({ detail }) => (this.value = detail), preselectToday: this.preselectToday, disabledDates: this.disabledDates, minDate: this.minDate, maxDate: this.maxDate, disableWeekends: this.disableWeekends, mode: this.mode })))));
2945
+ return (index$1.h(index$1.Host, { key: '81d0ef25f8732896445b7e5cb89d8442cc0db02e', class: 'p-datepicker' }, index$1.h("p-dropdown", { key: 'ae2f387721b7b6799bf413e5f6622ab60ab0807f', strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, index$1.h("p-field", { key: '263f9cada2705bcd9cd579f569aba59f49f69f8e', slot: 'trigger', icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', size: this.size, prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, disabled: this.disabled, focused: this._showDropdown, value: this._getFormattedDate(), placeholder: this.placeholder, onFocus: () => this._onFocus(), onBlur: () => this._onBlur(), onValueChange: ev => this._onValueChange(ev.detail), onInputRefChange: ev => (this._inputRef = ev.detail) }), index$1.h("div", { key: '5669a50474ab48cc77391ab17c4e3b72ce3b8a7f', slot: 'items' }, index$1.h("p-calendar", { key: 'db4da464f2e0a96fe6a7697c1107990202d1a102', variant: 'embedded', value: this._value, onValueChange: ({ detail }) => (this.value = detail), preselectToday: this.preselectToday, disabledDates: this.disabledDates, minDate: this.minDate, maxDate: this.maxDate, disableWeekends: this.disableWeekends, mode: this.mode })))));
2946
2946
  }
2947
2947
  documentClickHandler({ target }) {
2948
2948
  if (!this._showDropdown || childOf.childOf(target, this._el)) {
@@ -15,7 +15,7 @@ const Divider = class {
15
15
  get _el() { return index.getElement(this); }
16
16
  render() {
17
17
  const hasSlotted = !!this._el.innerHTML?.length;
18
- return (index.h(index.Host, { key: 'af8bf3be91d1396b166c80b6aed1872263049229', class: 'p-divider' }, index.h("div", { key: 'c1ea847f3e4e6188887adcd7b066f55f410488e2', class: 'content' }, index.h("div", { key: '76fdc38127326969263f5bf5ffab3223a18c3c13', class: `flex items-center ${hasSlotted && 'px-2'} text-xs font-semibold uppercase text-storm-light` }, index.h("slot", { key: '602c0892e341392df8545f13d0d5e7dca974d88e' })))));
18
+ return (index.h(index.Host, { key: '4e7e3f76c4d8cd9c5752bfb514917368aaf479bc', class: 'p-divider' }, index.h("div", { key: 'e8b94342c6c8c2f0c52a7ddd7bf49e091e2b2f0d', class: 'content' }, index.h("div", { key: '2b11bd0b9414b9b5884df6ba113ffed60eeccf1d', class: `flex items-center ${hasSlotted && 'px-2'} text-xs font-semibold uppercase text-storm-light` }, index.h("slot", { key: '9eb43ae5fc38830a274721c4e29bed49e6da7e0a' })))));
19
19
  }
20
20
  };
21
21
  Divider.style = PDividerStyle0;
@@ -13,7 +13,7 @@ const ModalBody = class {
13
13
  this.variant = 'default';
14
14
  }
15
15
  render() {
16
- return (index.h(index.Host, { key: 'a2c133cebe1c94778aa5691294fe47a659755d17', class: `p-drawer-body variant-${this.variant}` }, index.h("slot", { key: '01102ea3654bc3c814a1a319c40434723fcdb7d4' })));
16
+ return (index.h(index.Host, { key: 'b3733a13455dd1ea7cfd813c70b759301aad7ddb', class: `p-drawer-body variant-${this.variant}` }, index.h("slot", { key: '9cdaffefb9a76d63d402bf5df9a8a1c785ffd932' })));
17
17
  }
18
18
  };
19
19
  ModalBody.style = PDrawerBodyStyle0;
@@ -27,7 +27,7 @@ const ModalContainer = class {
27
27
  this.closing = false;
28
28
  }
29
29
  render() {
30
- return (index.h(index.Host, { key: '1ece7fe8058fe653c61f24c6f06f0df1c0895bfa', class: `p-drawer-container ${this.closing && 'closing'}` }, index.h("slot", { key: '624bb614ccc4f48d335ceb4da4a574a0e653d47a' })));
30
+ return (index.h(index.Host, { key: '8fff9cd196871aa7c5738182e0f24e86b488f0a9', class: `p-drawer-container ${this.closing && 'closing'}` }, index.h("slot", { key: 'c52ac3f20264e553fd2f9e3429535ab24ecd1eed' })));
31
31
  }
32
32
  };
33
33
  ModalContainer.style = PDrawerContainerStyle0;
@@ -46,7 +46,7 @@ const ModalHeader = class {
46
46
  */
47
47
  close;
48
48
  render() {
49
- return (index.h(index.Host, { key: 'bf0e849843e4678b3309ef0b10ebd8c7ec1274f5', class: 'p-drawer-header' }, this.showClose && (index.h("p-button", { key: '70e55410f1ce2371d05654aa9fd76d61da53e803', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: () => this.close.emit(), size: 'sm' })), index.h("slot", { key: '6e827710b5ddbd011e626a2cb2fb301876d50c05' })));
49
+ return (index.h(index.Host, { key: 'ac60faaafaa2d0ecb13e0be70848bc623c002b69', class: 'p-drawer-header' }, this.showClose && (index.h("p-button", { key: 'da636aab294d800a0de03b02fbe63971c6d2a2cf', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: () => this.close.emit(), size: 'sm' })), index.h("slot", { key: '5aab881dedd79021a2aec11fe875334c561107da' })));
50
50
  }
51
51
  };
52
52
  ModalHeader.style = PDrawerHeaderStyle0;
@@ -51,13 +51,13 @@ const DropdownMenuContainer = class {
51
51
  : this.scrollable === true
52
52
  ? 'default'
53
53
  : this.scrollable;
54
- return (index.h(index.Host, { key: '830d3afed17ee5523990ad2299a03d83458245b8', class: dropdownMenuContainer({
54
+ return (index.h(index.Host, { key: 'e549573c5aeddeceb9cf8970ff3e4f1a49416a9e', class: dropdownMenuContainer({
55
55
  class: this.class,
56
56
  fullWidth: this.fullWidth,
57
57
  allowOverflow: this.allowOverflow,
58
58
  scrollable,
59
59
  maxWidth: this.maxWidth,
60
- }) }, index.h("div", { key: 'c619f2980bdab537242b90dc030c2448df71b795', class: 'flex w-full flex-col gap-[1px]' }, index.h("slot", { key: 'e56af3999bcb72d27ccd05b51d315c512be5fc98' }))));
60
+ }) }, index.h("div", { key: '42ac40b2ac896553e130803dbfa849cca34cfb84', class: 'flex w-full flex-col gap-[1px]' }, index.h("slot", { key: '73fa9c93c564274aaa24910bf7215b23a8d93fe9' }))));
61
61
  }
62
62
  };
63
63
  DropdownMenuContainer.style = PDropdownMenuContainerStyle0;
@@ -0,0 +1,316 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-3f9bbc0c.js');
6
+ const index$1 = require('./index-b556e70f.js');
7
+ const localization = require('./localization-3a0a71db.js');
8
+ require('./clsx-fc789adc.js');
9
+
10
+ const fieldComponentCss = "*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.h-full{height:100%!important}.w-inherit{width:inherit!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}.flex-shrink-0{flex-shrink:0!important}.cursor-not-allowed{cursor:not-allowed!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-none{border-style:none!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.border-negative-red{--tw-border-opacity:1!important;border-color:rgb(230 30 30/var(--tw-border-opacity,1))!important}.border-supportive-lilac-800{--tw-border-opacity:1!important;border-color:rgb(189 140 255/var(--tw-border-opacity,1))!important}.bg-transparent{background-color:transparent!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.bg-white,.bg-white-600{--tw-bg-opacity:1!important}.bg-white-600{background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.text-black-teal-100{--tw-text-opacity:1!important;color:rgb(205 212 211/var(--tw-text-opacity,1))!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.text-black-teal-500{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.text-negative-red{--tw-text-opacity:1!important;color:rgb(230 30 30/var(--tw-text-opacity,1))!important}.text-negative-red-800{--tw-text-opacity:1!important;color:rgb(141 16 16/var(--tw-text-opacity,1))!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.ring-negative-red-50{--tw-ring-opacity:1!important;--tw-ring-color:rgb(253 237 237/var(--tw-ring-opacity,1))!important}.ring-supportive-lilac-100{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}.selection\\:bg-negative-red-50 ::selection{--tw-bg-opacity:1!important;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))!important}.selection\\:bg-supportive-lilac ::selection{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.selection\\:bg-negative-red-50::selection{--tw-bg-opacity:1!important;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))!important}.selection\\:bg-supportive-lilac::selection{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.placeholder\\:text-sm::placeholder{font-size:.875rem!important;line-height:1.25rem!important}.placeholder\\:text-black-teal-200::placeholder{--tw-text-opacity:1!important;color:rgb(154 170 167/var(--tw-text-opacity,1))!important}.focus\\:outline-none:focus{outline:2px solid transparent!important;outline-offset:2px!important}";
11
+ const PFieldStyle0 = fieldComponentCss;
12
+
13
+ const field = index$1.cva(['flex gap-2', 'w-inherit px-2', 'border border-solid rounded-lg'], {
14
+ variants: {
15
+ size: {
16
+ sm: 'h-6',
17
+ base: 'h-8',
18
+ },
19
+ disabled: {
20
+ false: 'bg-white',
21
+ true: 'bg-white-600 cursor-not-allowed',
22
+ },
23
+ focused: {
24
+ false: null,
25
+ true: null,
26
+ },
27
+ error: {
28
+ false: null,
29
+ true: null,
30
+ },
31
+ },
32
+ compoundVariants: [
33
+ {
34
+ focused: false,
35
+ error: false,
36
+ class: 'border-black-teal-100',
37
+ },
38
+ {
39
+ disabled: false,
40
+ focused: true,
41
+ error: false,
42
+ class: 'border-supportive-lilac-800 ring ring-supportive-lilac-100 selection:bg-supportive-lilac',
43
+ },
44
+ {
45
+ disabled: false,
46
+ error: true,
47
+ class: 'border-negative-red',
48
+ },
49
+ {
50
+ disabled: false,
51
+ focused: true,
52
+ error: true,
53
+ class: 'ring ring-negative-red-50 selection:bg-negative-red-50',
54
+ },
55
+ ],
56
+ });
57
+ const input = index$1.cva('text-sm placeholder:text-sm placeholder:text-black-teal-200 text-black-teal border-none outline-none focus:outline-none bg-transparent flex-1 min-w-0 h-full', {
58
+ variants: {
59
+ disabled: {
60
+ false: null,
61
+ true: 'cursor-not-allowed',
62
+ },
63
+ },
64
+ });
65
+ const prefixAndSuffic = index$1.cva(['flex flex-shrink-0 justify-center items-center text-center'], {
66
+ variants: {
67
+ disabled: {
68
+ false: null,
69
+ true: 'text-black-teal-100',
70
+ },
71
+ focused: {
72
+ false: null,
73
+ true: null,
74
+ },
75
+ error: {
76
+ false: null,
77
+ true: null,
78
+ },
79
+ },
80
+ compoundVariants: [
81
+ {
82
+ disabled: false,
83
+ focused: false,
84
+ error: false,
85
+ class: 'text-black-teal-300',
86
+ },
87
+ {
88
+ disabled: false,
89
+ focused: true,
90
+ error: false,
91
+ class: 'text-black-teal-500',
92
+ },
93
+ {
94
+ disabled: false,
95
+ focused: false,
96
+ error: true,
97
+ class: 'text-negative-red',
98
+ },
99
+ {
100
+ disabled: false,
101
+ focused: true,
102
+ error: true,
103
+ class: 'text-negative-red-800',
104
+ },
105
+ ],
106
+ });
107
+ const Field = class {
108
+ constructor(hostRef) {
109
+ index.registerInstance(this, hostRef);
110
+ this.valueChange = index.createEvent(this, "valueChange", 7);
111
+ this.inputRefChange = index.createEvent(this, "inputRefChange", 7);
112
+ this.size = 'base';
113
+ this.type = 'text';
114
+ this.properties = {};
115
+ this.prefix = undefined;
116
+ this.suffix = undefined;
117
+ this.icon = undefined;
118
+ this.iconFlip = undefined;
119
+ this.iconRotate = undefined;
120
+ this.iconPosition = 'start';
121
+ this.value = undefined;
122
+ this.label = undefined;
123
+ this.placeholder = undefined;
124
+ this.helper = undefined;
125
+ this.required = true;
126
+ this.error = undefined;
127
+ this.errorPlacement = undefined;
128
+ this.disabled = false;
129
+ this.focused = false;
130
+ this.forceShowTooltip = false;
131
+ this.selectAllOnFocus = true;
132
+ this.focusMethod = 'focus';
133
+ this.optionalTemplate = undefined;
134
+ this._focused = false;
135
+ }
136
+ /**
137
+ * Event whenever the value changes
138
+ */
139
+ valueChange;
140
+ /**
141
+ * Event whenever the input ref changes
142
+ */
143
+ inputRefChange;
144
+ get _el() { return index.getElement(this); }
145
+ _inputRef;
146
+ render() {
147
+ const { prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, } = this._getSlotInfo();
148
+ return (index.h(index.Host, { key: 'b4229a4e7257f7a929cc3208834d95ab97990bcf', class: 'p-field' }, index.h("p-field-container", { key: '66c1e5bdc10bdc948e1e943fde89355e861135ae', forceShowTooltip: this.forceShowTooltip || this._focused, label: this.label, helper: this.helper, error: this.error, required: this.required }, hasLabelSlot && (index.h("slot", { key: '045626975fa0861371d2ad830d9bf8ec5b80720d', name: 'label', slot: 'label' })), hasHeaderSlot && (index.h("slot", { key: '43e613371e67f46a0c8ed5c9201b2b4e5fe91d7e', name: 'header', slot: 'header' })), hasHelperSlot && (index.h("slot", { key: 'e26723ffb55166d67c50e761410cd62100d70fa1', name: 'helper', slot: 'helper' })), hasErrorSlot && (index.h("slot", { key: 'b833ce639c3ff30e88ba86cdeb45dcf01ef866ac', name: 'error', slot: 'error' })), index.h("div", { key: 'd6b045356bca57b02a4ea32096969b5e017e3884', class: field({
149
+ error: !!this.error?.length,
150
+ disabled: this.disabled,
151
+ focused: this.focused || this._focused,
152
+ size: this.size,
153
+ }), slot: 'content' }, (prefix || (this.icon && this.iconPosition === 'start')) && (index.h("div", { key: '6edc4f2c7b1b3bf470f7ab4a390655cdf0cf4d7f', class: prefixAndSuffic({
154
+ error: !!this.error?.length,
155
+ disabled: this.disabled,
156
+ focused: this.focused || this._focused,
157
+ }), onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (index.h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getInput(), (suffix || (this.icon && this.iconPosition === 'end')) && (index.h("div", { key: '4b9d7579b8f08fb7fd7b6a2b69d0fb1a8a2bead5', class: prefixAndSuffic({
158
+ error: !!this.error?.length,
159
+ disabled: this.disabled,
160
+ focused: this.focused || this._focused,
161
+ }), onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'end' ? (index.h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (suffix)))))));
162
+ }
163
+ handleFocusIn() {
164
+ if (this.disabled) {
165
+ return;
166
+ }
167
+ this._focused = true;
168
+ this._selectAll();
169
+ }
170
+ handleFocusOut() {
171
+ if (this.disabled) {
172
+ return;
173
+ }
174
+ this._focused = false;
175
+ }
176
+ _getSlotInfo() {
177
+ const hasHelperSlot = !!this._el.querySelector(':scope > [slot="helper"]');
178
+ const hasLabelSlot = !!this._el.querySelector(':scope > [slot="label"]');
179
+ const hasPrefixSlot = !!this._el.querySelector(':scope > [slot="prefix"]');
180
+ const hasSuffixSlot = !!this._el.querySelector(':scope > [slot="suffix"]');
181
+ const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
182
+ const hasErrorSlot = !!this._el.querySelector(':scope > [slot="error"]');
183
+ const prefix = hasPrefixSlot ? index.h("slot", { name: 'prefix' }) : this.prefix;
184
+ const suffix = hasSuffixSlot ? index.h("slot", { name: 'suffix' }) : this.suffix;
185
+ const errorAndErrorIsNotBoolean = this.error && typeof this.error === 'string' && this.error !== 'true';
186
+ return {
187
+ hasHelperSlot,
188
+ hasLabelSlot,
189
+ hasPrefixSlot,
190
+ hasSuffixSlot,
191
+ hasHeaderSlot,
192
+ hasErrorSlot,
193
+ prefix,
194
+ suffix,
195
+ errorAndErrorIsNotBoolean,
196
+ };
197
+ }
198
+ _getInput() {
199
+ if (this.type === 'custom') {
200
+ return index.h("slot", { name: 'input' });
201
+ }
202
+ const props = {
203
+ class: input({
204
+ disabled: this.disabled,
205
+ }),
206
+ value: this.value,
207
+ placeholder: this.placeholder,
208
+ disabled: this.disabled,
209
+ onInput: (ev) => this._valueChange(ev),
210
+ };
211
+ let properties = this.properties ?? {};
212
+ if (typeof properties === 'string') {
213
+ properties = JSON.parse(this.properties);
214
+ }
215
+ if (this.type === 'textarea') {
216
+ index.h("textarea", { ref: ref => this._setInputRef(ref), ...props, ...properties });
217
+ }
218
+ return (index.h("input", { type: this.type, ref: ref => this._setInputRef(ref), ...props, ...properties }));
219
+ }
220
+ _setInputRef(ref) {
221
+ this._inputRef = ref;
222
+ this.inputRefChange.emit(ref);
223
+ }
224
+ _focusInput() {
225
+ if (this._inputRef) {
226
+ this._inputRef.focus();
227
+ return;
228
+ }
229
+ const input = this._el.querySelector(':scope > [slot="input"]');
230
+ input[this.focusMethod]();
231
+ }
232
+ _selectAll() {
233
+ if (!this._inputRef || !this.selectAllOnFocus) {
234
+ return;
235
+ }
236
+ this._inputRef.select();
237
+ }
238
+ _valueChange(ev) {
239
+ const value = ev.target.value;
240
+ this.value = value;
241
+ this.valueChange.emit(value);
242
+ }
243
+ };
244
+ Field.style = PFieldStyle0;
245
+
246
+ const fieldContainerComponentCss = "*{box-sizing:border-box}.static{position:static!important}.ml-2{margin-left:.5rem!important}.flex{display:flex!important}.w-full{width:100%!important}.w-inherit{width:inherit!important}.flex-col{flex-direction:column!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.gap-1{gap:.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.text-black-teal-200{--tw-text-opacity:1!important;color:rgb(154 170 167/var(--tw-text-opacity,1))!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}";
247
+ const PFieldContainerStyle0 = fieldContainerComponentCss;
248
+
249
+ const FieldContainer = class {
250
+ constructor(hostRef) {
251
+ index.registerInstance(this, hostRef);
252
+ this.focus = index.createEvent(this, "focus", 7);
253
+ this.label = undefined;
254
+ this.helper = undefined;
255
+ this.required = undefined;
256
+ this.error = undefined;
257
+ this.errorPlacement = undefined;
258
+ this.forceShowTooltip = false;
259
+ this.optionalTemplate = this._defaultOptionalTemplate;
260
+ this._locales = {};
261
+ }
262
+ _defaultOptionalTemplate = () => localization.formatTranslation(this._locales.optional);
263
+ get _el() { return index.getElement(this); }
264
+ focus;
265
+ componentWillLoad() {
266
+ this._setLocales();
267
+ }
268
+ render() {
269
+ const { hasHeaderSlot, hasErrorSlot, helper, label, errorAndErrorIsNotBoolean, } = this._getSlotInfo();
270
+ return (index.h(index.Host, { key: '5a9f6522df4ed827c3e66dec4fb0f4632f7b227a', class: 'p-field-container' }, index.h("div", { key: '7aca74e4bc43e883cc97f1c053117735af73fed4', class: 'flex w-inherit flex-col gap-1' }, index.h("div", { key: '426757bcec0af2c2835b95946e802aa52d19e603', class: 'flex items-end justify-between gap-1' }, label && (index.h("div", { key: 'b5f54de0e3643da28e390776339fd629cc784731', class: 'text-xs font-medium text-black-teal-300', onClick: () => this.focus.emit() }, label)), (!this.required || helper || hasHeaderSlot) && (index.h("div", { key: 'e3bad54b3ea5b73652cc50a08390adcf51563572', class: 'flex items-center gap-1' }, !this.required && (index.h("span", { key: 'e175174c57d7d7aa3c36789a51b3ea19f3f82e93', class: 'text-xs font-medium text-black-teal-200' }, this.optionalTemplate())), (helper || hasHeaderSlot) && (index.h(index.Fragment, { key: 'b6a58573f43e5dcb18aaee9ae6317c9a8ae18461' }, hasHeaderSlot && index.h("slot", { key: '5708bac40fa9ac3c35aaa103a9314182dc22ceeb', name: 'header' }), helper && (index.h("p-helper", { key: '4b40eaeb300d824d6af645f77b4f646f9fa49688', class: `flex ${hasHeaderSlot ? 'ml-2' : ''}`, placement: 'top-end' }, helper))))))), index.h("p-tooltip", { key: '2548c71b57fb4380ed7199763d92e0bfec97672b', class: 'w-full', variant: 'error', content: this.error, show: errorAndErrorIsNotBoolean && this.forceShowTooltip, enableUserInput: false, placement: this.errorPlacement }, hasErrorSlot && (index.h("slot", { key: '5e28992d5467ae8fc554aaa4b11833a9ef696918', name: 'error', slot: 'content' })), index.h("slot", { key: 'f08fdbf1124fe2d4f9d8b9ca9d057d00254d8046', name: 'content', slot: 'trigger' })))));
271
+ }
272
+ async _setLocales() {
273
+ this._locales = await localization.getLocaleComponentStrings(this._el);
274
+ }
275
+ _getSlotInfo() {
276
+ const hasHelperSlot = !!this._el.querySelector(':scope > [slot="helper"]');
277
+ const hasLabelSlot = !!this._el.querySelector(':scope > [slot="label"]');
278
+ const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
279
+ const hasErrorSlot = !!this._el.querySelector(':scope > [slot="error"]');
280
+ const helper = hasHelperSlot ? index.h("slot", { name: 'helper' }) : this.helper;
281
+ const label = hasLabelSlot ? index.h("slot", { name: 'label' }) : this.label;
282
+ const errorAndErrorIsNotBoolean = hasErrorSlot ||
283
+ (this.error && typeof this.error === 'string' && this.error !== 'true');
284
+ return {
285
+ hasHelperSlot,
286
+ hasLabelSlot,
287
+ hasHeaderSlot,
288
+ hasErrorSlot,
289
+ helper,
290
+ label,
291
+ errorAndErrorIsNotBoolean,
292
+ };
293
+ }
294
+ };
295
+ FieldContainer.style = PFieldContainerStyle0;
296
+
297
+ const helperComponentCss = ".inline-block{display:inline-block!important}.h-\\[0\\.75rem\\]{height:.75rem!important}.w-\\[0\\.75rem\\]{width:.75rem!important}.cursor-pointer{cursor:pointer!important}.bg-center{background-position:50%!important}*{box-sizing:border-box}:host{line-height:.75rem}:host .helper{background-image:url(/assets/images/helper/helper.svg);background-position:50%;background-repeat:no-repeat;cursor:pointer;display:inline-block;height:.75rem;width:.75rem}:host .helper:hover{background-image:url(/assets/images/helper/helper-hover.svg)}.static{position:static!important}.absolute{position:absolute!important}";
298
+ const PHelperStyle0 = helperComponentCss;
299
+
300
+ const Helper = class {
301
+ constructor(hostRef) {
302
+ index.registerInstance(this, hostRef);
303
+ this.strategy = 'absolute';
304
+ this.placement = 'top';
305
+ }
306
+ render() {
307
+ return (index.h(index.Host, { key: '540f0bec4dd767c4be84ec5973d25bae8863f55e', class: 'p-helper' }, index.h("p-tooltip", { key: 'f814314bc2a7f9751c57db8a1cda799a3b195fa1', placement: this.placement, strategy: this.strategy }, index.h("div", { key: '999a01bc5b4cf7bc6ebc229b7279ca215a46ca6d', slot: 'content' }, index.h("slot", { key: '9fb3ed56f75111c8560a8b877dbfd58aedaa2530' })), index.h("div", { key: 'b8b9b5ca2ce68040531c071e1d24d8dab049321d', slot: 'trigger', class: 'helper' }))));
308
+ }
309
+ };
310
+ Helper.style = PHelperStyle0;
311
+
312
+ exports.p_field = Field;
313
+ exports.p_field_container = FieldContainer;
314
+ exports.p_helper = Helper;
315
+
316
+ //# sourceMappingURL=p-field_3.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-field.p-field-container.p-helper.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,+iHAA+iH,CAAC;AAC1kH,qBAAe,iBAAiB;;ACiBhC,MAAM,KAAK,GAAGA,WAAG,CAChB,CAAC,YAAY,EAAE,gBAAgB,EAAE,gCAAgC,CAAC,EAClE;IACC,QAAQ,EAAE;QACT,IAAI,EAAE;YACL,EAAE,EAAE,KAAK;YACT,IAAI,EAAE,KAAK;SACX;QACD,QAAQ,EAAE;YACT,KAAK,EAAE,UAAU;YACjB,IAAI,EAAE,iCAAiC;SACvC;QACD,OAAO,EAAE;YACR,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,IAAI;SACV;QACD,KAAK,EAAE;YACN,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,IAAI;SACV;KACD;IACD,gBAAgB,EAAE;QACjB;YACC,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,KAAK;YACZ,KAAK,EAAE,uBAAuB;SAC9B;QACD;YACC,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE,IAAI;YACb,KAAK,EAAE,KAAK;YACZ,KAAK,EACJ,0FAA0F;SAC3F;QAED;YACC,QAAQ,EAAE,K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G,GAAG,IAAI,CAAC,MAAM,CAAC;QACpE,MAAM,KAAK,GAAG,YAAY,GAAGA,kBAAM,IAAI,EAAC,OAAO,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC;QAEhE,MAAM,yBAAyB,GAC9B,YAAY;aACX,IAAI,CAAC,KAAK,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,MAAM,CAAC,CAAC;QAEzE,OAAO;YACN,aAAa;YACb,YAAY;YACZ,aAAa;YACb,YAAY;YACZ,MAAM;YACN,KAAK;YACL,yBAAyB;SACzB,CAAC;KACF;;;;AC/KF,MAAM,kBAAkB,GAAG,4lBAA4lB,CAAC;AACxnB,sBAAe,kBAAkB;;MCOpB,MAAM;;;wBAIW,UAAU;yBAKR,KAAK;;IAEpC,MAAM;QACL,QACCA,QAACC,UAAI,qDAAC,KAAK,EAAC,UAAU,IACrBD,wEACC,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAEvBA,kEAAK,IAAI,EAAC,SAAS,IAClBA,oEAAQ,CACH,EAENA,kEACC,IAAI,EAAC,SAAS,EACd,KAAK,EAAC,QAAQ,GACR,CACI,CACN,EACN;KACF;;;;;;;;","names":["cva","h","Host","formatTranslation","Fragment","getLocaleComponentStrings"],"sources":["src/components/molecules/field/field.component.css?tag=p-field&encapsulation=shadow","src/components/molecules/field/field.component.tsx","src/components/molecules/field-container/field-container.component.scss?tag=p-field-container&encapsulation=shadow","src/components/molecules/field-container/field-container.component.tsx","src/components/atoms/helper/helper.component.scss?tag=p-helper&encapsulation=shadow","src/components/atoms/helper/helper.component.tsx"],"sourcesContent":["","import { Placement } from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { HTMLInputTypeAttribute } from 'react';\nimport { RotateOptions } from '../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../../atoms/icon/icon.component';\nimport { templateFunc } from '../field-container/field-container.component';\n\nconst field = cva(\n\t['flex gap-2', 'w-inherit px-2', 'border border-solid rounded-lg'],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\tsm: 'h-6',\n\t\t\t\tbase: 'h-8',\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: 'bg-white',\n\t\t\t\ttrue: 'bg-white-600 cursor-not-allowed',\n\t\t\t},\n\t\t\tfocused: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\terror: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tfocused: false,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'border-black-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: false,\n\t\t\t\tclass:\n\t\t\t\t\t'border-supportive-lilac-800 ring ring-supportive-lilac-100 selection:bg-supportive-lilac',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'border-negative-red',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'ring ring-negative-red-50 selection:bg-negative-red-50',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst input = cva(\n\t'text-sm placeholder:text-sm placeholder:text-black-teal-200 text-black-teal border-none outline-none focus:outline-none bg-transparent flex-1 min-w-0 h-full',\n\t{\n\t\tvariants: {\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'cursor-not-allowed',\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst prefixAndSuffic = cva(\n\t['flex flex-shrink-0 justify-center items-center text-center'],\n\t{\n\t\tvariants: {\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'text-black-teal-100',\n\t\t\t},\n\t\t\tfocused: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\terror: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: false,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'text-black-teal-300',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'text-black-teal-500',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: false,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'text-negative-red',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'text-negative-red-800',\n\t\t\t},\n\t\t],\n\t}\n);\n\n@Component({\n\ttag: 'p-field',\n\tstyleUrl: './field.component.css',\n\tshadow: true,\n})\nexport class Field {\n\t/**\n\t * The size of the input group\n\t */\n\t@Prop() size: 'sm' | 'base' = 'base';\n\n\t/**\n\t * The type of the input group\n\t */\n\t@Prop() type: HTMLInputTypeAttribute | 'textarea' | 'slot' = 'text';\n\n\t/**\n\t * The size of the input group\n\t */\n\t@Prop() properties: any | string = {};\n\n\t/**\n\t * The prefix of the input group\n\t */\n\t@Prop() prefix: string;\n\n\t/**\n\t * The suffix of the input group\n\t */\n\t@Prop() suffix: string;\n\n\t/**\n\t * Icon of the input group\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\t/**\n\t * Icon position\n\t */\n\t@Prop() iconPosition: 'start' | 'end' = 'start';\n\n\t/**\n\t * The value of the input\n\t */\n\t@Prop() value: string;\n\n\t/**\n\t * The label of the input group\n\t */\n\t@Prop() label: string;\n\n\t/**\n\t * The placeholder of the input\n\t */\n\t@Prop() placeholder: string;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop() helper: string;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean = true;\n\n\t/**\n\t * The error to display\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * The placement of the error popover\n\t */\n\t@Prop() errorPlacement: Placement;\n\n\t/**\n\t * Wether the input group is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the input group is focused\n\t */\n\t@Prop({ reflect: true }) focused: boolean = false;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * Wether to select all text on focus\n\t */\n\t@Prop({ reflect: true }) selectAllOnFocus: boolean = true;\n\n\t/**\n\t * The method to use when focusing the input\n\t */\n\t@Prop() focusMethod: 'focus' | 'click' = 'focus';\n\n\t/**\n\t * The template for the optional text\n\t */\n\t@Prop() optionalTemplate: templateFunc;\n\n\t/**\n\t * Event whenever the value changes\n\t */\n\t@Event() valueChange: EventEmitter<string>;\n\n\t/**\n\t * Event whenever the input ref changes\n\t */\n\t@Event() inputRefChange: EventEmitter<HTMLInputElement | HTMLTextAreaElement>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _focused = false;\n\n\tprivate _inputRef: HTMLInputElement | HTMLTextAreaElement;\n\n\trender() {\n\t\tconst {\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\thasHeaderSlot,\n\t\t\thasLabelSlot,\n\t\t\thasHelperSlot,\n\t\t\thasErrorSlot,\n\t\t} = this._getSlotInfo();\n\n\t\treturn (\n\t\t\t<Host class='p-field'>\n\t\t\t\t<p-field-container\n\t\t\t\t\tforceShowTooltip={this.forceShowTooltip || this._focused}\n\t\t\t\t\tlabel={this.label}\n\t\t\t\t\thelper={this.helper}\n\t\t\t\t\terror={this.error}\n\t\t\t\t\trequired={this.required}\n\t\t\t\t>\n\t\t\t\t\t{hasLabelSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='label'\n\t\t\t\t\t\t\tslot='label'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasHeaderSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='header'\n\t\t\t\t\t\t\tslot='header'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasHelperSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='helper'\n\t\t\t\t\t\t\tslot='helper'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasErrorSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='error'\n\t\t\t\t\t\t\tslot='error'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={field({\n\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\tfocused: this.focused || this._focused,\n\t\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\t})}\n\t\t\t\t\t\tslot='content'\n\t\t\t\t\t>\n\t\t\t\t\t\t{(prefix || (this.icon && this.iconPosition === 'start')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={prefixAndSuffic({\n\t\t\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t\t\tfocused: this.focused || this._focused,\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.icon && this.iconPosition === 'start' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tprefix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{this._getInput()}\n\n\t\t\t\t\t\t{(suffix || (this.icon && this.iconPosition === 'end')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={prefixAndSuffic({\n\t\t\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t\t\tfocused: this.focused || this._focused,\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.icon && this.iconPosition === 'end' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tsuffix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</p-field-container>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('focusin')\n\thandleFocusIn() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focused = true;\n\t\tthis._selectAll();\n\t}\n\n\t@Listen('focusout')\n\thandleFocusOut() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focused = false;\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasPrefixSlot = !!this._el.querySelector(':scope > [slot=\"prefix\"]');\n\t\tconst hasSuffixSlot = !!this._el.querySelector(':scope > [slot=\"suffix\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasErrorSlot = !!this._el.querySelector(':scope > [slot=\"error\"]');\n\n\t\tconst prefix = hasPrefixSlot ? <slot name='prefix' /> : this.prefix;\n\t\tconst suffix = hasSuffixSlot ? <slot name='suffix' /> : this.suffix;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\tthis.error && typeof this.error === 'string' && this.error !== 'true';\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasPrefixSlot,\n\t\t\thasSuffixSlot,\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t};\n\t}\n\n\tprivate _getInput() {\n\t\tif (this.type === 'custom') {\n\t\t\treturn <slot name='input' />;\n\t\t}\n\n\t\tconst props = {\n\t\t\tclass: input({\n\t\t\t\tdisabled: this.disabled,\n\t\t\t}),\n\t\t\tvalue: this.value,\n\t\t\tplaceholder: this.placeholder,\n\t\t\tdisabled: this.disabled,\n\t\t\tonInput: (ev: Event) => this._valueChange(ev),\n\t\t};\n\n\t\tlet properties = this.properties ?? {};\n\t\tif (typeof properties === 'string') {\n\t\t\tproperties = JSON.parse(this.properties);\n\t\t}\n\n\t\tif (this.type === 'textarea') {\n\t\t\t<textarea\n\t\t\t\tref={ref => this._setInputRef(ref)}\n\t\t\t\t{...props}\n\t\t\t\t{...properties}\n\t\t\t/>;\n\t\t}\n\n\t\treturn (\n\t\t\t<input\n\t\t\t\ttype={this.type}\n\t\t\t\tref={ref => this._setInputRef(ref)}\n\t\t\t\t{...props}\n\t\t\t\t{...properties}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _setInputRef(ref: HTMLInputElement | HTMLTextAreaElement) {\n\t\tthis._inputRef = ref;\n\t\tthis.inputRefChange.emit(ref);\n\t}\n\n\tprivate _focusInput() {\n\t\tif (this._inputRef) {\n\t\t\tthis._inputRef.focus();\n\t\t\treturn;\n\t\t}\n\n\t\tconst input = this._el.querySelector(':scope > [slot=\"input\"]');\n\t\t(input as HTMLElement)[this.focusMethod]();\n\t}\n\n\tprivate _selectAll() {\n\t\tif (!this._inputRef || !this.selectAllOnFocus) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._inputRef.select();\n\t}\n\n\tprivate _valueChange(ev) {\n\t\tconst value = (ev.target as HTMLTextAreaElement | HTMLInputElement).value;\n\t\tthis.value = value;\n\t\tthis.valueChange.emit(value);\n\t}\n}\n","","import {\n\tComponent,\n\tElement,\n\tEventEmitter,\n\th,\n\tHost,\n\tEvent,\n\tProp,\n\tFragment,\n\tState,\n\tListen,\n} from '@stencil/core';\nimport { formatTranslation, getLocaleComponentStrings } from '../../../utils';\nimport { Placement } from '@floating-ui/dom';\n\nexport type templateFunc = () => string;\n\n@Component({\n\ttag: 'p-field-container',\n\tstyleUrl: 'field-container.component.scss',\n\tshadow: true,\n})\nexport class FieldContainer {\n\tprivate _defaultOptionalTemplate: templateFunc = () =>\n\t\tformatTranslation(this._locales.optional);\n\n\t/**\n\t * The label of the input group\n\t */\n\t@Prop() label: string | HTMLSlotElement;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop() helper: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop({ reflect: true }) error: string | HTMLSlotElement;\n\n\t/**\n\t * The placement of the error popover\n\t */\n\t@Prop() errorPlacement: Placement;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * The template for the optional text\n\t */\n\t@Prop() optionalTemplate: templateFunc = this._defaultOptionalTemplate;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@Event() focus: EventEmitter<void>;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\tcomponentWillLoad() {\n\t\tthis._setLocales();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t} = this._getSlotInfo();\n\n\t\treturn (\n\t\t\t<Host class='p-field-container'>\n\t\t\t\t<div class='flex w-inherit flex-col gap-1'>\n\t\t\t\t\t<div class='flex items-end justify-between gap-1'>\n\t\t\t\t\t\t{label && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass='text-xs font-medium text-black-teal-300'\n\t\t\t\t\t\t\t\tonClick={() => this.focus.emit()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{(!this.required || helper || hasHeaderSlot) && (\n\t\t\t\t\t\t\t<div class='flex items-center gap-1'>\n\t\t\t\t\t\t\t\t{!this.required && (\n\t\t\t\t\t\t\t\t\t<span class='text-xs font-medium text-black-teal-200'>\n\t\t\t\t\t\t\t\t\t\t{this.optionalTemplate()}\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{(helper || hasHeaderSlot) && (\n\t\t\t\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t\t\t\t{hasHeaderSlot && <slot name='header' />}\n\t\t\t\t\t\t\t\t\t\t{helper && (\n\t\t\t\t\t\t\t\t\t\t\t<p-helper\n\t\t\t\t\t\t\t\t\t\t\t\tclass={`flex ${hasHeaderSlot ? 'ml-2' : ''}`}\n\t\t\t\t\t\t\t\t\t\t\t\tplacement='top-end'\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t{helper}\n\t\t\t\t\t\t\t\t\t\t\t</p-helper>\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\tclass='w-full'\n\t\t\t\t\t\tvariant='error'\n\t\t\t\t\t\tcontent={this.error}\n\t\t\t\t\t\tshow={errorAndErrorIsNotBoolean && this.forceShowTooltip}\n\t\t\t\t\t\tenableUserInput={false}\n\t\t\t\t\t\tplacement={this.errorPlacement}\n\t\t\t\t\t>\n\t\t\t\t\t\t{hasErrorSlot && (\n\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\tname='error'\n\t\t\t\t\t\t\t\tslot='content'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='content'\n\t\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\t/>\n\t\t\t\t\t</p-tooltip>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasErrorSlot = !!this._el.querySelector(':scope > [slot=\"error\"]');\n\n\t\tconst helper = hasHelperSlot ? <slot name='helper' /> : this.helper;\n\t\tconst label = hasLabelSlot ? <slot name='label' /> : this.label;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\thasErrorSlot ||\n\t\t\t(this.error && typeof this.error === 'string' && this.error !== 'true');\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t};\n\t}\n}\n",":host {\n\t@apply leading-3;\n\n\t.helper {\n\t\t@apply inline-block h-[0.75rem] w-[0.75rem] cursor-pointer bg-center bg-no-repeat;\n\t\tbackground-image: url(/assets/images/helper/helper.svg);\n\n\t\t&:hover {\n\t\t\tbackground-image: url(/assets/images/helper/helper-hover.svg);\n\t\t}\n\t}\n}\n","import { Placement, Strategy } from '@floating-ui/dom';\nimport { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-helper',\n\tstyleUrl: 'helper.component.scss',\n\tshadow: true,\n})\nexport class Helper {\n\t/**\n\t * The strategy of the popover placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * The placement of the helper popover\n\t */\n\t@Prop() placement: Placement = 'top';\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-helper'>\n\t\t\t\t<p-tooltip\n\t\t\t\t\tplacement={this.placement}\n\t\t\t\t\tstrategy={this.strategy}\n\t\t\t\t>\n\t\t\t\t\t<div slot='content'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\tclass='helper'\n\t\t\t\t\t></div>\n\t\t\t\t</p-tooltip>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
@@ -1641,7 +1641,7 @@ const FloatingMenuContainer = class {
1641
1641
  this.usedInTable = false;
1642
1642
  }
1643
1643
  render() {
1644
- return (index.h(index.Host, { key: '0df7c5fb8599e610c58c8b90fba1fc2a75583766', class: "p-floating-menu-container" }, this.usedInTable ? (index.h("slot", { name: "floating-menu-item" })) : (index.h("slot", null))));
1644
+ return (index.h(index.Host, { key: '2469cda7b5e9990919058e7a4d183a86589e543e', class: "p-floating-menu-container" }, this.usedInTable ? (index.h("slot", { name: "floating-menu-item" })) : (index.h("slot", null))));
1645
1645
  }
1646
1646
  };
1647
1647
  FloatingMenuContainer.style = PFloatingMenuContainerStyle0;
@@ -1656,7 +1656,7 @@ const FloatingMenuItem = class {
1656
1656
  this.disabled = false;
1657
1657
  }
1658
1658
  render() {
1659
- return (index.h(index.Host, { key: '5059df52bd0a4bee8d53d95836027744b83b5d32', class: "p-floating-menu-item" }, index.h("slot", { key: '5aa2c83fe53e80fe7da35b552d363992182a80d9' })));
1659
+ return (index.h(index.Host, { key: 'acd29dcff18979371230b82419c2306084b99b44', class: "p-floating-menu-item" }, index.h("slot", { key: '80274da4ad9362eaf6573d87ab8f4c633030ecde' })));
1660
1660
  }
1661
1661
  };
1662
1662
  FloatingMenuItem.style = PFloatingMenuItemStyle0;
@@ -1702,7 +1702,7 @@ const TableCell = class {
1702
1702
  };
1703
1703
  }
1704
1704
  render() {
1705
- return (index.h(index.Host, { key: '3cc18c25df90e5ef83bc43a9a05e167691efe61f', class: {
1705
+ return (index.h(index.Host, { key: '9d0c40d23049e13123b42e026cf617abe4e5f5f0', class: {
1706
1706
  'p-table-cell': true,
1707
1707
  [`variant-${this.variant}`]: true,
1708
1708
  ...this._getColumnClasses(),
@@ -1737,7 +1737,7 @@ const TableContainer = class {
1737
1737
  this.shadow = true;
1738
1738
  }
1739
1739
  render() {
1740
- return (index.h(index.Host, { key: '8400210ea3f34d240b032c875ef5e86dc218e7d5', class: `p-table-container ${!this.shadow && 'no-shadow'}` }, index.h("slot", { key: '6abc0755ec890cd9001aef58ac24acb3f2e4f529' })));
1740
+ return (index.h(index.Host, { key: '3093de271c11a50d334006232f4cd02a66131191', class: `p-table-container ${!this.shadow && 'no-shadow'}` }, index.h("slot", { key: '76d6ab8ecf532e2a4d43f6b7257135c4881176e3' })));
1741
1741
  }
1742
1742
  };
1743
1743
  TableContainer.style = PTableContainerStyle0;
@@ -1780,7 +1780,7 @@ const TableFooter = class {
1780
1780
  }
1781
1781
  render() {
1782
1782
  const hidePageSizeSelect = this.hideOnSinglePage && this.total < this.pageSizeOptions?.[0];
1783
- return (index.h(index.Host, { key: 'de0fed44b08f46efdc56b51498c355fb2d973d5b', class: `p-table-footer ${!this.enablePageSize && 'page-size-disabled'} ${!this.enablePagination && 'pagination-disabled'} ${!this.enableExport && 'export-disabled'}` }, !this.loading && this.enablePagination && this.enablePageSize && (index.h("p-page-size-select", { key: 'f2d5f4773759a2715bb62a85a7ecc2bb70e421fa', class: !hidePageSizeSelect && 'hidden desktop-xs:flex', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) })), this.loading && (index.h("p-loader", { key: '1e95a000af05e30496d48b3f57639de954d0d83d', variant: 'ghost', class: 'h-8 w-full rounded' })), !this.loading && this.enablePagination && (index.h("p-pagination", { key: 'f493f90308042214b5e078f194a7c61cb26fdedb', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail) })), !this.loading && this.enableExport && (index.h("p-button", { key: '4908aa789d7acce5bd4e8d88ae748c0bf3094fc0', class: 'hidden desktop-xs:flex', variant: 'secondary', size: 'sm', icon: 'download', onClick: () => this.export.emit() }, localization.formatTranslation(this._locales.export)))));
1783
+ return (index.h(index.Host, { key: '5d741b128761060367791b642d9105ab84b85fbd', class: `p-table-footer ${!this.enablePageSize && 'page-size-disabled'} ${!this.enablePagination && 'pagination-disabled'} ${!this.enableExport && 'export-disabled'}` }, !this.loading && this.enablePagination && this.enablePageSize && (index.h("p-page-size-select", { key: 'f2cd843ef2002d2c5efeeb6e0b0cc19e9ddcc459', class: !hidePageSizeSelect && 'hidden desktop-xs:flex', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) })), this.loading && (index.h("p-loader", { key: 'ba98725795479f4394f389af953a3691bc652504', variant: 'ghost', class: 'h-8 w-full rounded' })), !this.loading && this.enablePagination && (index.h("p-pagination", { key: 'a450cb9a2b7fcbb0ee63cd33466d4df2a34938e6', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail) })), !this.loading && this.enableExport && (index.h("p-button", { key: 'ae71744adf3ed536d30570e69d7f54f6bd411028', class: 'hidden desktop-xs:flex', variant: 'secondary', size: 'sm', icon: 'download', onClick: () => this.export.emit() }, localization.formatTranslation(this._locales.export)))));
1784
1784
  }
1785
1785
  async _setLocales() {
1786
1786
  this._locales = await localization.getLocaleComponentStrings(this._el);
@@ -2804,9 +2804,9 @@ const TableRow = class {
2804
2804
  this.enableHover = true;
2805
2805
  }
2806
2806
  render() {
2807
- return (index.h(index.Host, { key: '106cbaf558245629401e4cc50c197a358b50a3af', class: `p-table-row variant-${this.variant} ${this.enableHover &&
2807
+ return (index.h(index.Host, { key: '5d5245faf40bfcfaf3008117ec6e604c45a716ea', class: `p-table-row variant-${this.variant} ${this.enableHover &&
2808
2808
  this.variant === 'default' &&
2809
- 'enable-hover'} group` }, index.h("div", { key: 'c4558d465f1ff97509ca009f465b667aeb647e63', class: "content" }, index.h("slot", { key: '76e1c489fe7510b7c61c66362592cffff77d9fc6' })), this.variant === 'default' && index.h("p-divider", { key: '5eab74db0145d5c5af95e27a2057e3e7c6ca9348', class: "m-0" })));
2809
+ 'enable-hover'} group` }, index.h("div", { key: '1ed45114cb5478ad37461fb4c7957b89e2f4e7d9', class: "content" }, index.h("slot", { key: '029596bda8f0b019ec48fdf7b5cb00e2878f939d' })), this.variant === 'default' && index.h("p-divider", { key: '5263474be1ce89579330294f80218e92a86d0a87', class: "m-0" })));
2810
2810
  }
2811
2811
  };
2812
2812
  TableRow.style = PTableRowStyle0;
@@ -17,7 +17,7 @@ const IbanIcon = class {
17
17
  variant = this.iban.slice(4, 8).toLowerCase();
18
18
  }
19
19
  const exists = iban.IBAN_ICON_VARIANTS_ARRAY.includes(variant);
20
- return (exists && (index.h(index.Host, { key: '24f4660b13c21d92d3a7071fa1d2d46d574fb607', class: 'p-iban-icon' }, this._getIcon(variant))));
20
+ return (exists && (index.h(index.Host, { key: 'd11fd313b8f14f6bcf6054cba53a15d11a6e543a', class: 'p-iban-icon' }, this._getIcon(variant))));
21
21
  }
22
22
  _getIcon(variant) {
23
23
  switch (variant) {
@@ -22,7 +22,7 @@ const InfoPanel = class {
22
22
  closed;
23
23
  get _el() { return index.getElement(this); }
24
24
  render() {
25
- return (index.h(index.Host, { key: '185a15e2920b26aa2e37c0346a6ebdcb55fec6b6', class: `p-info-panel variant-${this.variant} ${this.closeable && 'has-close'}` }, index.h("div", { key: '00988fe10bd697c2d21f5852af9b324983210878', class: 'header' }, index.h("slot", { key: '06defbb1d995b2ffacc7290059cbeeca6596d729', name: 'header' })), index.h("div", { key: '9686e8428264e4121b33af1288731be2403fd259', class: 'content' }, index.h("slot", { key: 'e9e43c418d1087eb2c3b2a98353013d0e837145a', name: 'content' })), this.closeable && (index.h("div", { key: 'dfd279a2880e69ab2cfb39ec588a1001dbae68e5', class: 'close', onClick: () => this._close() }, index.h("p-icon", { key: 'e4bdae964e5706772e2d0b2719d42d37abcd3244', variant: 'negative' })))));
25
+ return (index.h(index.Host, { key: '06e687cc27ed5e2711653bf3bbb144736d240cec', class: `p-info-panel variant-${this.variant} ${this.closeable && 'has-close'}` }, index.h("div", { key: 'e9f32e052c6d2afb81afb895815dcbbaaf1837cd', class: 'header' }, index.h("slot", { key: '005d9db44eb1b6792a16276e17307a0f803b7721', name: 'header' })), index.h("div", { key: '8ac2a1aa5250c1b6a07d85ee387a3967a9cd9b14', class: 'content' }, index.h("slot", { key: '5dbc41b6f56815b5c1d0997b52880a580ab1d054', name: 'content' })), this.closeable && (index.h("div", { key: 'fe63a4dbe2ca2ad4effad83fd7aceb96b1c2eb46', class: 'close', onClick: () => this._close() }, index.h("p-icon", { key: 'd248d67e00e7189a643f49120df2de57dd57ad16', variant: 'negative' })))));
26
26
  }
27
27
  _close() {
28
28
  this.closed.emit();
@@ -12,7 +12,7 @@ const InputError = class {
12
12
  this._showTooltip = false;
13
13
  }
14
14
  render() {
15
- return (index.h(index.Host, { key: '9c3efcec1505f46ca459cb65a28a45cda441ac5b', class: 'p-input-error' }, index.h("p-tooltip", { key: '70368fc24102972b4ebf940fcd9cbac1468b5ba4', variant: 'error', content: this.error, show: this.forceShowTooltip, onIsOpen: ev => (this._showTooltip = ev.detail) }, index.h("p-icon", { key: 'e77519c93f1f201f89e24baf79b0375c604879b8', class: `${this._showTooltip ? 'text-negative' : 'text-negative-light'} hover:text-negative`, slot: 'trigger', variant: 'question-circle' }))));
15
+ return (index.h(index.Host, { key: 'a5254a196be0c13c5f19f9db20eb14a606583fee', class: 'p-input-error' }, index.h("p-tooltip", { key: 'de2160ad2666b3478aa67fc94ac0d662c25e188c', variant: 'error', content: this.error, show: this.forceShowTooltip, onIsOpen: ev => (this._showTooltip = ev.detail) }, index.h("p-icon", { key: 'ec0c8e2591ae2933997fe2890e03852e7ae4f0c5', class: `${this._showTooltip ? 'text-negative' : 'text-negative-light'} hover:text-negative`, slot: 'trigger', variant: 'question-circle' }))));
16
16
  }
17
17
  };
18
18
 
@@ -20,8 +20,8 @@ const Label = class {
20
20
  this.keepMobileContent = false;
21
21
  }
22
22
  render() {
23
- return (index.h(index.Host, { key: '1b929c2348ad590f849554e5c01f6df57ae93112', class: "p-label" }, this.icon && this.iconPosition === 'start' && (index.h("p-icon", { key: '9b8623f37191cab785b676cc86eb839c8adeb2f0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), (this.behavior === 'circle' ||
24
- this.behavior === 'combination') && (index.h("div", { key: 'cce4b03d6120553bd5317df7a2f37bf73ce11ee2', class: "circle" })), index.h("div", { key: 'dc7737e8d8a19393b540ebbafb9d0a23f4bd654a', class: "content" }, index.h("slot", { key: '82882e14527b2de8c953e65cbb773479592dd48b' })), this.icon && this.iconPosition === 'end' && (index.h("p-icon", { key: '8a2a66018cd22cd65f8f883f8c017e2557195316', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate }))));
23
+ return (index.h(index.Host, { key: '8ba10d3dc16336fa12a22be608713816e04c3aa0', class: "p-label" }, this.icon && this.iconPosition === 'start' && (index.h("p-icon", { key: '34f7daa79756f34cb957d9cfb1bb6f0e71ff5dc7', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), (this.behavior === 'circle' ||
24
+ this.behavior === 'combination') && (index.h("div", { key: 'daf1ac4d3f85cbc542db3ff74de2901254b4758a', class: "circle" })), index.h("div", { key: 'f8481d947f4e51bd94c63179707816ca8e2b5696', class: "content" }, index.h("slot", { key: '81bf0d5bff0879b811d66234f3dfe6e03ce3b13f' })), this.icon && this.iconPosition === 'end' && (index.h("p-icon", { key: '46ebacc526e2f28a4b1a4c6df09bfaf18bd490be', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate }))));
25
25
  }
26
26
  };
27
27
  Label.style = PLabelStyle0;
@@ -34,7 +34,7 @@ const SegmentContainer = class {
34
34
  index.registerInstance(this, hostRef);
35
35
  }
36
36
  render() {
37
- return (index.h(index.Host, { key: 'ec428b10ad23a3fff5e4aa1e1d1cd99d548a8cc8', class: "p-segment-container" }, index.h("slot", { key: '2d1dde7e35c55a7c3598212291d89181793e0d2a' })));
37
+ return (index.h(index.Host, { key: 'c8554666934a49559cb5b8a31e6d448d41445c10', class: "p-segment-container" }, index.h("slot", { key: 'a99446441d550c8d87e0e40a6b8cd576d4be8ba3' })));
38
38
  }
39
39
  };
40
40
  SegmentContainer.style = PSegmentContainerStyle0;
@@ -58,7 +58,7 @@ const SegmentItem = class {
58
58
  this._hasDescriptionSlot = !!this._el.querySelector(':scope > [slot="description"]');
59
59
  }
60
60
  render() {
61
- return (index.h(index.Host, { key: 'e97f6340c0d5ae8c03e307f7de8e62bc47d9fdbe', class: `p-segment-item variant-${this.iconOnly ? 'icon' : 'default'} ${this.active && 'active'}` }, this.icon && this._getIcon(), index.h("slot", { key: '579eb8460666e7c9777da7ed991fb9c68e6e139b' }), this.size === 'big' && this._hasDescriptionSlot && (index.h("span", { key: '46e5d72d9499462f7059a6df288a3d16bdd3d02e', class: "description" }, index.h("slot", { key: '830d7e3e592a8d023eebbf1a995a23235851f0ed', name: "description" })))));
61
+ return (index.h(index.Host, { key: '0231e33d62667c6f6baf39907c52f1d05483b777', class: `p-segment-item variant-${this.iconOnly ? 'icon' : 'default'} ${this.active && 'active'}` }, this.icon && this._getIcon(), index.h("slot", { key: 'b150ba986fdaef2a98661a48796bf43ff77e8c24' }), this.size === 'big' && this._hasDescriptionSlot && (index.h("span", { key: '78017b51faf3a96f8fc8b8d59fc9a62bec694afd', class: "description" }, index.h("slot", { key: '6d36db486c92e1324260ba88e91fe6d5c709798a', name: "description" })))));
62
62
  }
63
63
  _getIcon() {
64
64
  if (!this.icon) {
@@ -13,7 +13,7 @@ const Layout = class {
13
13
  this.variant = 'default';
14
14
  }
15
15
  render() {
16
- return (index.h(index.Host, { key: 'fa4b89568d7ec5962f4767566ca8d5d97c169314', class: `p-layout variant-${this.variant}` }, index.h("div", { key: '21d92f4cfe34b655995fb9d984b1ef273f686ff2', class: "content" }, index.h("div", { key: '9fec48f933afa2a151e3e050a04459a09f15cedb', class: "inner-content" }, index.h("slot", { key: '0c8ff716020b44a9cf737e5c0390ec64e559b790', name: "content" }))), index.h("div", { key: 'a4b88f57ea6c6ea9cacfe6b5865185a99f691146', class: "sidebar" }, index.h("slot", { key: 'c2866ebb42b7a010ed08407fd4f75f6a86a669f1', name: "sidebar" })), index.h("div", { key: '3cbe3287c3b1cfd8472f4e0e27301c31770e25fe', class: "topbar" }, index.h("slot", { key: 'b36f43fdbacfc72357a63fbc85f65ec023f50b1a', name: "topbar" }))));
16
+ return (index.h(index.Host, { key: '3831e9f213040c55cdaec97155df5489dff12170', class: `p-layout variant-${this.variant}` }, index.h("div", { key: 'ca7b6362566d1b3ca050c9e156c0c3fb6392c580', class: "content" }, index.h("div", { key: '560728eb60a95b855b09f91e925ec19044da413d', class: "inner-content" }, index.h("slot", { key: '2168f3f031cac9b805b4ad4ed7d7b5e500208baa', name: "content" }))), index.h("div", { key: '1cb5069c3e6bb1d2c90b678ec4a889c2724e4249', class: "sidebar" }, index.h("slot", { key: 'febf7d89e6cb24e63afb5c54edf0a59ca2de0136', name: "sidebar" })), index.h("div", { key: '714aaf2fb92091707671a8139bfc9c08591e8d5c', class: "topbar" }, index.h("slot", { key: '6fae7e137447d6ae699e277fabe7c76a7c34031d', name: "topbar" }))));
17
17
  }
18
18
  };
19
19
  Layout.style = PLayoutStyle0;