@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
@@ -2938,7 +2938,7 @@ const Datepicker = class {
2938
2938
  this.parseValue(this.value);
2939
2939
  }
2940
2940
  render() {
2941
- return (h(Host, { key: 'f0a3bc705999626811d70ee9ec3427d50534ef83', class: 'p-datepicker' }, h("p-dropdown", { key: 'f6937a8bad532549e73b7d3e0e014f7ec0282a4e', strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, 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) }), h("div", { key: '4f0c3c7b5912a926f40dbad7d2a6748348a52b18', slot: 'items' }, 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 })))));
2941
+ return (h(Host, { key: '81d0ef25f8732896445b7e5cb89d8442cc0db02e', class: 'p-datepicker' }, h("p-dropdown", { key: 'ae2f387721b7b6799bf413e5f6622ab60ab0807f', strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, 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) }), h("div", { key: '5669a50474ab48cc77391ab17c4e3b72ce3b8a7f', slot: 'items' }, 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 })))));
2942
2942
  }
2943
2943
  documentClickHandler({ target }) {
2944
2944
  if (!this._showDropdown || childOf(target, this._el)) {
@@ -11,7 +11,7 @@ const Divider = class {
11
11
  get _el() { return getElement(this); }
12
12
  render() {
13
13
  const hasSlotted = !!this._el.innerHTML?.length;
14
- return (h(Host, { key: 'af8bf3be91d1396b166c80b6aed1872263049229', class: 'p-divider' }, h("div", { key: 'c1ea847f3e4e6188887adcd7b066f55f410488e2', class: 'content' }, h("div", { key: '76fdc38127326969263f5bf5ffab3223a18c3c13', class: `flex items-center ${hasSlotted && 'px-2'} text-xs font-semibold uppercase text-storm-light` }, h("slot", { key: '602c0892e341392df8545f13d0d5e7dca974d88e' })))));
14
+ return (h(Host, { key: '4e7e3f76c4d8cd9c5752bfb514917368aaf479bc', class: 'p-divider' }, h("div", { key: 'e8b94342c6c8c2f0c52a7ddd7bf49e091e2b2f0d', class: 'content' }, h("div", { key: '2b11bd0b9414b9b5884df6ba113ffed60eeccf1d', class: `flex items-center ${hasSlotted && 'px-2'} text-xs font-semibold uppercase text-storm-light` }, h("slot", { key: '9eb43ae5fc38830a274721c4e29bed49e6da7e0a' })))));
15
15
  }
16
16
  };
17
17
  Divider.style = PDividerStyle0;
@@ -9,7 +9,7 @@ const ModalBody = class {
9
9
  this.variant = 'default';
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: 'a2c133cebe1c94778aa5691294fe47a659755d17', class: `p-drawer-body variant-${this.variant}` }, h("slot", { key: '01102ea3654bc3c814a1a319c40434723fcdb7d4' })));
12
+ return (h(Host, { key: 'b3733a13455dd1ea7cfd813c70b759301aad7ddb', class: `p-drawer-body variant-${this.variant}` }, h("slot", { key: '9cdaffefb9a76d63d402bf5df9a8a1c785ffd932' })));
13
13
  }
14
14
  };
15
15
  ModalBody.style = PDrawerBodyStyle0;
@@ -23,7 +23,7 @@ const ModalContainer = class {
23
23
  this.closing = false;
24
24
  }
25
25
  render() {
26
- return (h(Host, { key: '1ece7fe8058fe653c61f24c6f06f0df1c0895bfa', class: `p-drawer-container ${this.closing && 'closing'}` }, h("slot", { key: '624bb614ccc4f48d335ceb4da4a574a0e653d47a' })));
26
+ return (h(Host, { key: '8fff9cd196871aa7c5738182e0f24e86b488f0a9', class: `p-drawer-container ${this.closing && 'closing'}` }, h("slot", { key: 'c52ac3f20264e553fd2f9e3429535ab24ecd1eed' })));
27
27
  }
28
28
  };
29
29
  ModalContainer.style = PDrawerContainerStyle0;
@@ -42,7 +42,7 @@ const ModalHeader = class {
42
42
  */
43
43
  close;
44
44
  render() {
45
- return (h(Host, { key: 'bf0e849843e4678b3309ef0b10ebd8c7ec1274f5', class: 'p-drawer-header' }, this.showClose && (h("p-button", { key: '70e55410f1ce2371d05654aa9fd76d61da53e803', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: () => this.close.emit(), size: 'sm' })), h("slot", { key: '6e827710b5ddbd011e626a2cb2fb301876d50c05' })));
45
+ return (h(Host, { key: 'ac60faaafaa2d0ecb13e0be70848bc623c002b69', class: 'p-drawer-header' }, this.showClose && (h("p-button", { key: 'da636aab294d800a0de03b02fbe63971c6d2a2cf', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: () => this.close.emit(), size: 'sm' })), h("slot", { key: '5aab881dedd79021a2aec11fe875334c561107da' })));
46
46
  }
47
47
  };
48
48
  ModalHeader.style = PDrawerHeaderStyle0;
@@ -47,13 +47,13 @@ const DropdownMenuContainer = class {
47
47
  : this.scrollable === true
48
48
  ? 'default'
49
49
  : this.scrollable;
50
- return (h(Host, { key: '830d3afed17ee5523990ad2299a03d83458245b8', class: dropdownMenuContainer({
50
+ return (h(Host, { key: 'e549573c5aeddeceb9cf8970ff3e4f1a49416a9e', class: dropdownMenuContainer({
51
51
  class: this.class,
52
52
  fullWidth: this.fullWidth,
53
53
  allowOverflow: this.allowOverflow,
54
54
  scrollable,
55
55
  maxWidth: this.maxWidth,
56
- }) }, h("div", { key: 'c619f2980bdab537242b90dc030c2448df71b795', class: 'flex w-full flex-col gap-[1px]' }, h("slot", { key: 'e56af3999bcb72d27ccd05b51d315c512be5fc98' }))));
56
+ }) }, h("div", { key: '42ac40b2ac896553e130803dbfa849cca34cfb84', class: 'flex w-full flex-col gap-[1px]' }, h("slot", { key: '73fa9c93c564274aaa24910bf7215b23a8d93fe9' }))));
57
57
  }
58
58
  };
59
59
  DropdownMenuContainer.style = PDropdownMenuContainerStyle0;
@@ -0,0 +1,310 @@
1
+ import { r as registerInstance, c as createEvent, g as getElement, h, H as Host, F as Fragment } from './index-2ef94580.js';
2
+ import { c as cva } from './index-10317a74.js';
3
+ import { f as formatTranslation, g as getLocaleComponentStrings } from './localization-339ba26d.js';
4
+ import './clsx-297c1ffe.js';
5
+
6
+ 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}";
7
+ const PFieldStyle0 = fieldComponentCss;
8
+
9
+ const field = cva(['flex gap-2', 'w-inherit px-2', 'border border-solid rounded-lg'], {
10
+ variants: {
11
+ size: {
12
+ sm: 'h-6',
13
+ base: 'h-8',
14
+ },
15
+ disabled: {
16
+ false: 'bg-white',
17
+ true: 'bg-white-600 cursor-not-allowed',
18
+ },
19
+ focused: {
20
+ false: null,
21
+ true: null,
22
+ },
23
+ error: {
24
+ false: null,
25
+ true: null,
26
+ },
27
+ },
28
+ compoundVariants: [
29
+ {
30
+ focused: false,
31
+ error: false,
32
+ class: 'border-black-teal-100',
33
+ },
34
+ {
35
+ disabled: false,
36
+ focused: true,
37
+ error: false,
38
+ class: 'border-supportive-lilac-800 ring ring-supportive-lilac-100 selection:bg-supportive-lilac',
39
+ },
40
+ {
41
+ disabled: false,
42
+ error: true,
43
+ class: 'border-negative-red',
44
+ },
45
+ {
46
+ disabled: false,
47
+ focused: true,
48
+ error: true,
49
+ class: 'ring ring-negative-red-50 selection:bg-negative-red-50',
50
+ },
51
+ ],
52
+ });
53
+ const input = 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', {
54
+ variants: {
55
+ disabled: {
56
+ false: null,
57
+ true: 'cursor-not-allowed',
58
+ },
59
+ },
60
+ });
61
+ const prefixAndSuffic = cva(['flex flex-shrink-0 justify-center items-center text-center'], {
62
+ variants: {
63
+ disabled: {
64
+ false: null,
65
+ true: 'text-black-teal-100',
66
+ },
67
+ focused: {
68
+ false: null,
69
+ true: null,
70
+ },
71
+ error: {
72
+ false: null,
73
+ true: null,
74
+ },
75
+ },
76
+ compoundVariants: [
77
+ {
78
+ disabled: false,
79
+ focused: false,
80
+ error: false,
81
+ class: 'text-black-teal-300',
82
+ },
83
+ {
84
+ disabled: false,
85
+ focused: true,
86
+ error: false,
87
+ class: 'text-black-teal-500',
88
+ },
89
+ {
90
+ disabled: false,
91
+ focused: false,
92
+ error: true,
93
+ class: 'text-negative-red',
94
+ },
95
+ {
96
+ disabled: false,
97
+ focused: true,
98
+ error: true,
99
+ class: 'text-negative-red-800',
100
+ },
101
+ ],
102
+ });
103
+ const Field = class {
104
+ constructor(hostRef) {
105
+ registerInstance(this, hostRef);
106
+ this.valueChange = createEvent(this, "valueChange", 7);
107
+ this.inputRefChange = createEvent(this, "inputRefChange", 7);
108
+ this.size = 'base';
109
+ this.type = 'text';
110
+ this.properties = {};
111
+ this.prefix = undefined;
112
+ this.suffix = undefined;
113
+ this.icon = undefined;
114
+ this.iconFlip = undefined;
115
+ this.iconRotate = undefined;
116
+ this.iconPosition = 'start';
117
+ this.value = undefined;
118
+ this.label = undefined;
119
+ this.placeholder = undefined;
120
+ this.helper = undefined;
121
+ this.required = true;
122
+ this.error = undefined;
123
+ this.errorPlacement = undefined;
124
+ this.disabled = false;
125
+ this.focused = false;
126
+ this.forceShowTooltip = false;
127
+ this.selectAllOnFocus = true;
128
+ this.focusMethod = 'focus';
129
+ this.optionalTemplate = undefined;
130
+ this._focused = false;
131
+ }
132
+ /**
133
+ * Event whenever the value changes
134
+ */
135
+ valueChange;
136
+ /**
137
+ * Event whenever the input ref changes
138
+ */
139
+ inputRefChange;
140
+ get _el() { return getElement(this); }
141
+ _inputRef;
142
+ render() {
143
+ const { prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, } = this._getSlotInfo();
144
+ return (h(Host, { key: 'b4229a4e7257f7a929cc3208834d95ab97990bcf', class: 'p-field' }, h("p-field-container", { key: '66c1e5bdc10bdc948e1e943fde89355e861135ae', forceShowTooltip: this.forceShowTooltip || this._focused, label: this.label, helper: this.helper, error: this.error, required: this.required }, hasLabelSlot && (h("slot", { key: '045626975fa0861371d2ad830d9bf8ec5b80720d', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '43e613371e67f46a0c8ed5c9201b2b4e5fe91d7e', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: 'e26723ffb55166d67c50e761410cd62100d70fa1', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: 'b833ce639c3ff30e88ba86cdeb45dcf01ef866ac', name: 'error', slot: 'error' })), h("div", { key: 'd6b045356bca57b02a4ea32096969b5e017e3884', class: field({
145
+ error: !!this.error?.length,
146
+ disabled: this.disabled,
147
+ focused: this.focused || this._focused,
148
+ size: this.size,
149
+ }), slot: 'content' }, (prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: '6edc4f2c7b1b3bf470f7ab4a390655cdf0cf4d7f', class: prefixAndSuffic({
150
+ error: !!this.error?.length,
151
+ disabled: this.disabled,
152
+ focused: this.focused || this._focused,
153
+ }), onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getInput(), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: '4b9d7579b8f08fb7fd7b6a2b69d0fb1a8a2bead5', 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 === 'end' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (suffix)))))));
158
+ }
159
+ handleFocusIn() {
160
+ if (this.disabled) {
161
+ return;
162
+ }
163
+ this._focused = true;
164
+ this._selectAll();
165
+ }
166
+ handleFocusOut() {
167
+ if (this.disabled) {
168
+ return;
169
+ }
170
+ this._focused = false;
171
+ }
172
+ _getSlotInfo() {
173
+ const hasHelperSlot = !!this._el.querySelector(':scope > [slot="helper"]');
174
+ const hasLabelSlot = !!this._el.querySelector(':scope > [slot="label"]');
175
+ const hasPrefixSlot = !!this._el.querySelector(':scope > [slot="prefix"]');
176
+ const hasSuffixSlot = !!this._el.querySelector(':scope > [slot="suffix"]');
177
+ const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
178
+ const hasErrorSlot = !!this._el.querySelector(':scope > [slot="error"]');
179
+ const prefix = hasPrefixSlot ? h("slot", { name: 'prefix' }) : this.prefix;
180
+ const suffix = hasSuffixSlot ? h("slot", { name: 'suffix' }) : this.suffix;
181
+ const errorAndErrorIsNotBoolean = this.error && typeof this.error === 'string' && this.error !== 'true';
182
+ return {
183
+ hasHelperSlot,
184
+ hasLabelSlot,
185
+ hasPrefixSlot,
186
+ hasSuffixSlot,
187
+ hasHeaderSlot,
188
+ hasErrorSlot,
189
+ prefix,
190
+ suffix,
191
+ errorAndErrorIsNotBoolean,
192
+ };
193
+ }
194
+ _getInput() {
195
+ if (this.type === 'custom') {
196
+ return h("slot", { name: 'input' });
197
+ }
198
+ const props = {
199
+ class: input({
200
+ disabled: this.disabled,
201
+ }),
202
+ value: this.value,
203
+ placeholder: this.placeholder,
204
+ disabled: this.disabled,
205
+ onInput: (ev) => this._valueChange(ev),
206
+ };
207
+ let properties = this.properties ?? {};
208
+ if (typeof properties === 'string') {
209
+ properties = JSON.parse(this.properties);
210
+ }
211
+ if (this.type === 'textarea') {
212
+ h("textarea", { ref: ref => this._setInputRef(ref), ...props, ...properties });
213
+ }
214
+ return (h("input", { type: this.type, ref: ref => this._setInputRef(ref), ...props, ...properties }));
215
+ }
216
+ _setInputRef(ref) {
217
+ this._inputRef = ref;
218
+ this.inputRefChange.emit(ref);
219
+ }
220
+ _focusInput() {
221
+ if (this._inputRef) {
222
+ this._inputRef.focus();
223
+ return;
224
+ }
225
+ const input = this._el.querySelector(':scope > [slot="input"]');
226
+ input[this.focusMethod]();
227
+ }
228
+ _selectAll() {
229
+ if (!this._inputRef || !this.selectAllOnFocus) {
230
+ return;
231
+ }
232
+ this._inputRef.select();
233
+ }
234
+ _valueChange(ev) {
235
+ const value = ev.target.value;
236
+ this.value = value;
237
+ this.valueChange.emit(value);
238
+ }
239
+ };
240
+ Field.style = PFieldStyle0;
241
+
242
+ 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}";
243
+ const PFieldContainerStyle0 = fieldContainerComponentCss;
244
+
245
+ const FieldContainer = class {
246
+ constructor(hostRef) {
247
+ registerInstance(this, hostRef);
248
+ this.focus = createEvent(this, "focus", 7);
249
+ this.label = undefined;
250
+ this.helper = undefined;
251
+ this.required = undefined;
252
+ this.error = undefined;
253
+ this.errorPlacement = undefined;
254
+ this.forceShowTooltip = false;
255
+ this.optionalTemplate = this._defaultOptionalTemplate;
256
+ this._locales = {};
257
+ }
258
+ _defaultOptionalTemplate = () => formatTranslation(this._locales.optional);
259
+ get _el() { return getElement(this); }
260
+ focus;
261
+ componentWillLoad() {
262
+ this._setLocales();
263
+ }
264
+ render() {
265
+ const { hasHeaderSlot, hasErrorSlot, helper, label, errorAndErrorIsNotBoolean, } = this._getSlotInfo();
266
+ return (h(Host, { key: '5a9f6522df4ed827c3e66dec4fb0f4632f7b227a', class: 'p-field-container' }, h("div", { key: '7aca74e4bc43e883cc97f1c053117735af73fed4', class: 'flex w-inherit flex-col gap-1' }, h("div", { key: '426757bcec0af2c2835b95946e802aa52d19e603', class: 'flex items-end justify-between gap-1' }, label && (h("div", { key: 'b5f54de0e3643da28e390776339fd629cc784731', class: 'text-xs font-medium text-black-teal-300', onClick: () => this.focus.emit() }, label)), (!this.required || helper || hasHeaderSlot) && (h("div", { key: 'e3bad54b3ea5b73652cc50a08390adcf51563572', class: 'flex items-center gap-1' }, !this.required && (h("span", { key: 'e175174c57d7d7aa3c36789a51b3ea19f3f82e93', class: 'text-xs font-medium text-black-teal-200' }, this.optionalTemplate())), (helper || hasHeaderSlot) && (h(Fragment, { key: 'b6a58573f43e5dcb18aaee9ae6317c9a8ae18461' }, hasHeaderSlot && h("slot", { key: '5708bac40fa9ac3c35aaa103a9314182dc22ceeb', name: 'header' }), helper && (h("p-helper", { key: '4b40eaeb300d824d6af645f77b4f646f9fa49688', class: `flex ${hasHeaderSlot ? 'ml-2' : ''}`, placement: 'top-end' }, helper))))))), h("p-tooltip", { key: '2548c71b57fb4380ed7199763d92e0bfec97672b', class: 'w-full', variant: 'error', content: this.error, show: errorAndErrorIsNotBoolean && this.forceShowTooltip, enableUserInput: false, placement: this.errorPlacement }, hasErrorSlot && (h("slot", { key: '5e28992d5467ae8fc554aaa4b11833a9ef696918', name: 'error', slot: 'content' })), h("slot", { key: 'f08fdbf1124fe2d4f9d8b9ca9d057d00254d8046', name: 'content', slot: 'trigger' })))));
267
+ }
268
+ async _setLocales() {
269
+ this._locales = await getLocaleComponentStrings(this._el);
270
+ }
271
+ _getSlotInfo() {
272
+ const hasHelperSlot = !!this._el.querySelector(':scope > [slot="helper"]');
273
+ const hasLabelSlot = !!this._el.querySelector(':scope > [slot="label"]');
274
+ const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
275
+ const hasErrorSlot = !!this._el.querySelector(':scope > [slot="error"]');
276
+ const helper = hasHelperSlot ? h("slot", { name: 'helper' }) : this.helper;
277
+ const label = hasLabelSlot ? h("slot", { name: 'label' }) : this.label;
278
+ const errorAndErrorIsNotBoolean = hasErrorSlot ||
279
+ (this.error && typeof this.error === 'string' && this.error !== 'true');
280
+ return {
281
+ hasHelperSlot,
282
+ hasLabelSlot,
283
+ hasHeaderSlot,
284
+ hasErrorSlot,
285
+ helper,
286
+ label,
287
+ errorAndErrorIsNotBoolean,
288
+ };
289
+ }
290
+ };
291
+ FieldContainer.style = PFieldContainerStyle0;
292
+
293
+ 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}";
294
+ const PHelperStyle0 = helperComponentCss;
295
+
296
+ const Helper = class {
297
+ constructor(hostRef) {
298
+ registerInstance(this, hostRef);
299
+ this.strategy = 'absolute';
300
+ this.placement = 'top';
301
+ }
302
+ render() {
303
+ return (h(Host, { key: '540f0bec4dd767c4be84ec5973d25bae8863f55e', class: 'p-helper' }, h("p-tooltip", { key: 'f814314bc2a7f9751c57db8a1cda799a3b195fa1', placement: this.placement, strategy: this.strategy }, h("div", { key: '999a01bc5b4cf7bc6ebc229b7279ca215a46ca6d', slot: 'content' }, h("slot", { key: '9fb3ed56f75111c8560a8b877dbfd58aedaa2530' })), h("div", { key: 'b8b9b5ca2ce68040531c071e1d24d8dab049321d', slot: 'trigger', class: 'helper' }))));
304
+ }
305
+ };
306
+ Helper.style = PHelperStyle0;
307
+
308
+ export { Field as p_field, FieldContainer as p_field_container, Helper as p_helper };
309
+
310
+ //# sourceMappingURL=p-field_3.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-field.p-field-container.p-helper.entry.js","mappings":";;;;;AAAA,MAAM,iBAAiB,GAAG,+iHAA+iH,CAAC;AAC1kH,qBAAe,iBAAiB;;ACiBhC,MAAM,KAAK,GAAG,GAAG,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,KAAK;YACf,KAAK,EAAE,IAAI;YACX,KAAK,EAAE,qBAAqB;SAC5B;QACD;YACC,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE,IAAI;YACb,KAAK,EAAE,IAAI;YACX,KAAK,EAAE,wDAAwD;SAC/D;KACD;CACD,CACD,CAAC;AAEF,MAAM,KAAK,GAAG,GAAG,CAChB,8JAA8J,EAC9J;IACC,QAAQ,EAAE;QACT,QAAQ,EAAE;YACT,KAAK,EAAE,IAAI;YACX,IAAI,EAAE,oBAAoB;SA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zB,CAAC;KACF;;;;AC/KF,MAAM,kBAAkB,GAAG,4lBAA4lB,CAAC;AACxnB,sBAAe,kBAAkB;;MCOpB,MAAM;;;wBAIW,UAAU;yBAKR,KAAK;;IAEpC,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,KAAK,EAAC,UAAU,IACrB,kEACC,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAEvB,4DAAK,IAAI,EAAC,SAAS,IAClB,8DAAQ,CACH,EAEN,4DACC,IAAI,EAAC,SAAS,EACd,KAAK,EAAC,QAAQ,GACR,CACI,CACN,EACN;KACF;;;;;;","names":[],"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}
@@ -1637,7 +1637,7 @@ const FloatingMenuContainer = class {
1637
1637
  this.usedInTable = false;
1638
1638
  }
1639
1639
  render() {
1640
- return (h(Host, { key: '0df7c5fb8599e610c58c8b90fba1fc2a75583766', class: "p-floating-menu-container" }, this.usedInTable ? (h("slot", { name: "floating-menu-item" })) : (h("slot", null))));
1640
+ return (h(Host, { key: '2469cda7b5e9990919058e7a4d183a86589e543e', class: "p-floating-menu-container" }, this.usedInTable ? (h("slot", { name: "floating-menu-item" })) : (h("slot", null))));
1641
1641
  }
1642
1642
  };
1643
1643
  FloatingMenuContainer.style = PFloatingMenuContainerStyle0;
@@ -1652,7 +1652,7 @@ const FloatingMenuItem = class {
1652
1652
  this.disabled = false;
1653
1653
  }
1654
1654
  render() {
1655
- return (h(Host, { key: '5059df52bd0a4bee8d53d95836027744b83b5d32', class: "p-floating-menu-item" }, h("slot", { key: '5aa2c83fe53e80fe7da35b552d363992182a80d9' })));
1655
+ return (h(Host, { key: 'acd29dcff18979371230b82419c2306084b99b44', class: "p-floating-menu-item" }, h("slot", { key: '80274da4ad9362eaf6573d87ab8f4c633030ecde' })));
1656
1656
  }
1657
1657
  };
1658
1658
  FloatingMenuItem.style = PFloatingMenuItemStyle0;
@@ -1698,7 +1698,7 @@ const TableCell = class {
1698
1698
  };
1699
1699
  }
1700
1700
  render() {
1701
- return (h(Host, { key: '3cc18c25df90e5ef83bc43a9a05e167691efe61f', class: {
1701
+ return (h(Host, { key: '9d0c40d23049e13123b42e026cf617abe4e5f5f0', class: {
1702
1702
  'p-table-cell': true,
1703
1703
  [`variant-${this.variant}`]: true,
1704
1704
  ...this._getColumnClasses(),
@@ -1733,7 +1733,7 @@ const TableContainer = class {
1733
1733
  this.shadow = true;
1734
1734
  }
1735
1735
  render() {
1736
- return (h(Host, { key: '8400210ea3f34d240b032c875ef5e86dc218e7d5', class: `p-table-container ${!this.shadow && 'no-shadow'}` }, h("slot", { key: '6abc0755ec890cd9001aef58ac24acb3f2e4f529' })));
1736
+ return (h(Host, { key: '3093de271c11a50d334006232f4cd02a66131191', class: `p-table-container ${!this.shadow && 'no-shadow'}` }, h("slot", { key: '76d6ab8ecf532e2a4d43f6b7257135c4881176e3' })));
1737
1737
  }
1738
1738
  };
1739
1739
  TableContainer.style = PTableContainerStyle0;
@@ -1776,7 +1776,7 @@ const TableFooter = class {
1776
1776
  }
1777
1777
  render() {
1778
1778
  const hidePageSizeSelect = this.hideOnSinglePage && this.total < this.pageSizeOptions?.[0];
1779
- return (h(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 && (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 && (h("p-loader", { key: '1e95a000af05e30496d48b3f57639de954d0d83d', variant: 'ghost', class: 'h-8 w-full rounded' })), !this.loading && this.enablePagination && (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 && (h("p-button", { key: '4908aa789d7acce5bd4e8d88ae748c0bf3094fc0', class: 'hidden desktop-xs:flex', variant: 'secondary', size: 'sm', icon: 'download', onClick: () => this.export.emit() }, formatTranslation(this._locales.export)))));
1779
+ return (h(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 && (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 && (h("p-loader", { key: 'ba98725795479f4394f389af953a3691bc652504', variant: 'ghost', class: 'h-8 w-full rounded' })), !this.loading && this.enablePagination && (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 && (h("p-button", { key: 'ae71744adf3ed536d30570e69d7f54f6bd411028', class: 'hidden desktop-xs:flex', variant: 'secondary', size: 'sm', icon: 'download', onClick: () => this.export.emit() }, formatTranslation(this._locales.export)))));
1780
1780
  }
1781
1781
  async _setLocales() {
1782
1782
  this._locales = await getLocaleComponentStrings(this._el);
@@ -2800,9 +2800,9 @@ const TableRow = class {
2800
2800
  this.enableHover = true;
2801
2801
  }
2802
2802
  render() {
2803
- return (h(Host, { key: '106cbaf558245629401e4cc50c197a358b50a3af', class: `p-table-row variant-${this.variant} ${this.enableHover &&
2803
+ return (h(Host, { key: '5d5245faf40bfcfaf3008117ec6e604c45a716ea', class: `p-table-row variant-${this.variant} ${this.enableHover &&
2804
2804
  this.variant === 'default' &&
2805
- 'enable-hover'} group` }, h("div", { key: 'c4558d465f1ff97509ca009f465b667aeb647e63', class: "content" }, h("slot", { key: '76e1c489fe7510b7c61c66362592cffff77d9fc6' })), this.variant === 'default' && h("p-divider", { key: '5eab74db0145d5c5af95e27a2057e3e7c6ca9348', class: "m-0" })));
2805
+ 'enable-hover'} group` }, h("div", { key: '1ed45114cb5478ad37461fb4c7957b89e2f4e7d9', class: "content" }, h("slot", { key: '029596bda8f0b019ec48fdf7b5cb00e2878f939d' })), this.variant === 'default' && h("p-divider", { key: '5263474be1ce89579330294f80218e92a86d0a87', class: "m-0" })));
2806
2806
  }
2807
2807
  };
2808
2808
  TableRow.style = PTableRowStyle0;
@@ -13,7 +13,7 @@ const IbanIcon = class {
13
13
  variant = this.iban.slice(4, 8).toLowerCase();
14
14
  }
15
15
  const exists = IBAN_ICON_VARIANTS_ARRAY.includes(variant);
16
- return (exists && (h(Host, { key: '24f4660b13c21d92d3a7071fa1d2d46d574fb607', class: 'p-iban-icon' }, this._getIcon(variant))));
16
+ return (exists && (h(Host, { key: 'd11fd313b8f14f6bcf6054cba53a15d11a6e543a', class: 'p-iban-icon' }, this._getIcon(variant))));
17
17
  }
18
18
  _getIcon(variant) {
19
19
  switch (variant) {
@@ -18,7 +18,7 @@ const InfoPanel = class {
18
18
  closed;
19
19
  get _el() { return getElement(this); }
20
20
  render() {
21
- return (h(Host, { key: '185a15e2920b26aa2e37c0346a6ebdcb55fec6b6', class: `p-info-panel variant-${this.variant} ${this.closeable && 'has-close'}` }, h("div", { key: '00988fe10bd697c2d21f5852af9b324983210878', class: 'header' }, h("slot", { key: '06defbb1d995b2ffacc7290059cbeeca6596d729', name: 'header' })), h("div", { key: '9686e8428264e4121b33af1288731be2403fd259', class: 'content' }, h("slot", { key: 'e9e43c418d1087eb2c3b2a98353013d0e837145a', name: 'content' })), this.closeable && (h("div", { key: 'dfd279a2880e69ab2cfb39ec588a1001dbae68e5', class: 'close', onClick: () => this._close() }, h("p-icon", { key: 'e4bdae964e5706772e2d0b2719d42d37abcd3244', variant: 'negative' })))));
21
+ return (h(Host, { key: '06e687cc27ed5e2711653bf3bbb144736d240cec', class: `p-info-panel variant-${this.variant} ${this.closeable && 'has-close'}` }, h("div", { key: 'e9f32e052c6d2afb81afb895815dcbbaaf1837cd', class: 'header' }, h("slot", { key: '005d9db44eb1b6792a16276e17307a0f803b7721', name: 'header' })), h("div", { key: '8ac2a1aa5250c1b6a07d85ee387a3967a9cd9b14', class: 'content' }, h("slot", { key: '5dbc41b6f56815b5c1d0997b52880a580ab1d054', name: 'content' })), this.closeable && (h("div", { key: 'fe63a4dbe2ca2ad4effad83fd7aceb96b1c2eb46', class: 'close', onClick: () => this._close() }, h("p-icon", { key: 'd248d67e00e7189a643f49120df2de57dd57ad16', variant: 'negative' })))));
22
22
  }
23
23
  _close() {
24
24
  this.closed.emit();
@@ -8,7 +8,7 @@ const InputError = class {
8
8
  this._showTooltip = false;
9
9
  }
10
10
  render() {
11
- return (h(Host, { key: '9c3efcec1505f46ca459cb65a28a45cda441ac5b', class: 'p-input-error' }, h("p-tooltip", { key: '70368fc24102972b4ebf940fcd9cbac1468b5ba4', variant: 'error', content: this.error, show: this.forceShowTooltip, onIsOpen: ev => (this._showTooltip = ev.detail) }, h("p-icon", { key: 'e77519c93f1f201f89e24baf79b0375c604879b8', class: `${this._showTooltip ? 'text-negative' : 'text-negative-light'} hover:text-negative`, slot: 'trigger', variant: 'question-circle' }))));
11
+ return (h(Host, { key: 'a5254a196be0c13c5f19f9db20eb14a606583fee', class: 'p-input-error' }, h("p-tooltip", { key: 'de2160ad2666b3478aa67fc94ac0d662c25e188c', variant: 'error', content: this.error, show: this.forceShowTooltip, onIsOpen: ev => (this._showTooltip = ev.detail) }, h("p-icon", { key: 'ec0c8e2591ae2933997fe2890e03852e7ae4f0c5', class: `${this._showTooltip ? 'text-negative' : 'text-negative-light'} hover:text-negative`, slot: 'trigger', variant: 'question-circle' }))));
12
12
  }
13
13
  };
14
14
 
@@ -16,8 +16,8 @@ const Label = class {
16
16
  this.keepMobileContent = false;
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: '1b929c2348ad590f849554e5c01f6df57ae93112', class: "p-label" }, this.icon && this.iconPosition === 'start' && (h("p-icon", { key: '9b8623f37191cab785b676cc86eb839c8adeb2f0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), (this.behavior === 'circle' ||
20
- this.behavior === 'combination') && (h("div", { key: 'cce4b03d6120553bd5317df7a2f37bf73ce11ee2', class: "circle" })), h("div", { key: 'dc7737e8d8a19393b540ebbafb9d0a23f4bd654a', class: "content" }, h("slot", { key: '82882e14527b2de8c953e65cbb773479592dd48b' })), this.icon && this.iconPosition === 'end' && (h("p-icon", { key: '8a2a66018cd22cd65f8f883f8c017e2557195316', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate }))));
19
+ return (h(Host, { key: '8ba10d3dc16336fa12a22be608713816e04c3aa0', class: "p-label" }, this.icon && this.iconPosition === 'start' && (h("p-icon", { key: '34f7daa79756f34cb957d9cfb1bb6f0e71ff5dc7', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), (this.behavior === 'circle' ||
20
+ this.behavior === 'combination') && (h("div", { key: 'daf1ac4d3f85cbc542db3ff74de2901254b4758a', class: "circle" })), h("div", { key: 'f8481d947f4e51bd94c63179707816ca8e2b5696', class: "content" }, h("slot", { key: '81bf0d5bff0879b811d66234f3dfe6e03ce3b13f' })), this.icon && this.iconPosition === 'end' && (h("p-icon", { key: '46ebacc526e2f28a4b1a4c6df09bfaf18bd490be', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate }))));
21
21
  }
22
22
  };
23
23
  Label.style = PLabelStyle0;
@@ -30,7 +30,7 @@ const SegmentContainer = class {
30
30
  registerInstance(this, hostRef);
31
31
  }
32
32
  render() {
33
- return (h(Host, { key: 'ec428b10ad23a3fff5e4aa1e1d1cd99d548a8cc8', class: "p-segment-container" }, h("slot", { key: '2d1dde7e35c55a7c3598212291d89181793e0d2a' })));
33
+ return (h(Host, { key: 'c8554666934a49559cb5b8a31e6d448d41445c10', class: "p-segment-container" }, h("slot", { key: 'a99446441d550c8d87e0e40a6b8cd576d4be8ba3' })));
34
34
  }
35
35
  };
36
36
  SegmentContainer.style = PSegmentContainerStyle0;
@@ -54,7 +54,7 @@ const SegmentItem = class {
54
54
  this._hasDescriptionSlot = !!this._el.querySelector(':scope > [slot="description"]');
55
55
  }
56
56
  render() {
57
- return (h(Host, { key: 'e97f6340c0d5ae8c03e307f7de8e62bc47d9fdbe', class: `p-segment-item variant-${this.iconOnly ? 'icon' : 'default'} ${this.active && 'active'}` }, this.icon && this._getIcon(), h("slot", { key: '579eb8460666e7c9777da7ed991fb9c68e6e139b' }), this.size === 'big' && this._hasDescriptionSlot && (h("span", { key: '46e5d72d9499462f7059a6df288a3d16bdd3d02e', class: "description" }, h("slot", { key: '830d7e3e592a8d023eebbf1a995a23235851f0ed', name: "description" })))));
57
+ return (h(Host, { key: '0231e33d62667c6f6baf39907c52f1d05483b777', class: `p-segment-item variant-${this.iconOnly ? 'icon' : 'default'} ${this.active && 'active'}` }, this.icon && this._getIcon(), h("slot", { key: 'b150ba986fdaef2a98661a48796bf43ff77e8c24' }), this.size === 'big' && this._hasDescriptionSlot && (h("span", { key: '78017b51faf3a96f8fc8b8d59fc9a62bec694afd', class: "description" }, h("slot", { key: '6d36db486c92e1324260ba88e91fe6d5c709798a', name: "description" })))));
58
58
  }
59
59
  _getIcon() {
60
60
  if (!this.icon) {
@@ -9,7 +9,7 @@ const Layout = class {
9
9
  this.variant = 'default';
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: 'fa4b89568d7ec5962f4767566ca8d5d97c169314', class: `p-layout variant-${this.variant}` }, h("div", { key: '21d92f4cfe34b655995fb9d984b1ef273f686ff2', class: "content" }, h("div", { key: '9fec48f933afa2a151e3e050a04459a09f15cedb', class: "inner-content" }, h("slot", { key: '0c8ff716020b44a9cf737e5c0390ec64e559b790', name: "content" }))), h("div", { key: 'a4b88f57ea6c6ea9cacfe6b5865185a99f691146', class: "sidebar" }, h("slot", { key: 'c2866ebb42b7a010ed08407fd4f75f6a86a669f1', name: "sidebar" })), h("div", { key: '3cbe3287c3b1cfd8472f4e0e27301c31770e25fe', class: "topbar" }, h("slot", { key: 'b36f43fdbacfc72357a63fbc85f65ec023f50b1a', name: "topbar" }))));
12
+ return (h(Host, { key: '3831e9f213040c55cdaec97155df5489dff12170', class: `p-layout variant-${this.variant}` }, h("div", { key: 'ca7b6362566d1b3ca050c9e156c0c3fb6392c580', class: "content" }, h("div", { key: '560728eb60a95b855b09f91e925ec19044da413d', class: "inner-content" }, h("slot", { key: '2168f3f031cac9b805b4ad4ed7d7b5e500208baa', name: "content" }))), h("div", { key: '1cb5069c3e6bb1d2c90b678ec4a889c2724e4249', class: "sidebar" }, h("slot", { key: 'febf7d89e6cb24e63afb5c54edf0a59ca2de0136', name: "sidebar" })), h("div", { key: '714aaf2fb92091707671a8139bfc9c08591e8d5c', class: "topbar" }, h("slot", { key: '6fae7e137447d6ae699e277fabe7c76a7c34031d', name: "topbar" }))));
13
13
  }
14
14
  };
15
15
  Layout.style = PLayoutStyle0;