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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (655) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/dist/assets/i18n/floating-menu-container.i18n.en.json +4 -0
  3. package/dist/assets/i18n/floating-menu-container.i18n.nl.json +4 -0
  4. package/dist/assets/i18n/pagination-size.i18n.en.json +3 -0
  5. package/dist/assets/i18n/pagination-size.i18n.nl.json +3 -0
  6. package/dist/assets/icons/extra/checkmark-thick.svg +10 -0
  7. package/dist/build/index.esm.js +1 -1
  8. package/dist/build/p-0719e72a.js +2 -0
  9. package/dist/build/{p-5779d316.entry.js → p-11fbeb45.entry.js} +2 -2
  10. package/dist/build/{p-d26ee54b.entry.js → p-1a1c03c0.entry.js} +2 -2
  11. package/dist/build/{p-dd0f4ed0.entry.js → p-27fd3386.entry.js} +2 -2
  12. package/dist/build/p-28dbbce6.entry.js +2 -0
  13. package/dist/build/p-28ee6cd6.entry.js +2 -0
  14. package/dist/{paperless/p-b162a142.entry.js → build/p-290d04b0.entry.js} +2 -2
  15. package/dist/build/{p-9231fe88.entry.js → p-2d43b7ce.entry.js} +2 -2
  16. package/dist/{paperless/p-e5a54d05.entry.js → build/p-333f614e.entry.js} +2 -2
  17. package/dist/build/p-37b43ce6.entry.js +2 -0
  18. package/dist/build/p-37b43ce6.entry.js.map +1 -0
  19. package/dist/build/{p-29c71645.entry.js → p-38c20959.entry.js} +2 -2
  20. package/dist/{paperless/p-4baaed44.entry.js → build/p-3bd145fd.entry.js} +2 -2
  21. package/dist/build/{p-0cd0a8d2.entry.js → p-4364738a.entry.js} +2 -2
  22. package/dist/build/{p-e11ab3d2.entry.js → p-4443e4e5.entry.js} +2 -2
  23. package/dist/build/{p-39e51563.entry.js → p-4553a1af.entry.js} +2 -2
  24. package/dist/build/p-469615ef.entry.js +2 -0
  25. package/dist/build/p-469615ef.entry.js.map +1 -0
  26. package/dist/build/{p-4a10de20.entry.js → p-489013c7.entry.js} +2 -2
  27. package/dist/build/p-4f947801.entry.js +2 -0
  28. package/dist/build/p-549b2931.entry.js +2 -0
  29. package/dist/build/p-549b2931.entry.js.map +1 -0
  30. package/dist/build/{p-d9bf1827.entry.js → p-58e6f012.entry.js} +2 -2
  31. package/dist/build/p-59962e55.entry.js +2 -0
  32. package/dist/{paperless/p-3e2708de.entry.js → build/p-657c6b98.entry.js} +2 -2
  33. package/dist/build/{p-f05bf2d2.entry.js → p-691c6f90.entry.js} +2 -2
  34. package/dist/build/p-711bb72e.entry.js +2 -0
  35. package/dist/build/p-711bb72e.entry.js.map +1 -0
  36. package/dist/build/{p-8f4a3d49.entry.js → p-7a83597a.entry.js} +2 -2
  37. package/dist/build/{p-8b1a485b.entry.js → p-7ad7c0d1.entry.js} +2 -2
  38. package/dist/{paperless/p-b082e123.js → build/p-7ce3ed33.js} +2 -2
  39. package/dist/build/p-7ce3ed33.js.map +1 -0
  40. package/dist/build/{p-da7b6f2c.js → p-83946184.js} +1 -1
  41. package/dist/build/p-83946184.js.map +1 -0
  42. package/dist/build/{p-a9c13353.entry.js → p-8532d17f.entry.js} +2 -2
  43. package/dist/build/p-8857d619.entry.js +2 -0
  44. package/dist/build/p-8857d619.entry.js.map +1 -0
  45. package/dist/build/{p-c801b122.entry.js → p-8a4f08d0.entry.js} +2 -2
  46. package/dist/{paperless/p-28f44624.entry.js → build/p-8c8128f9.entry.js} +2 -2
  47. package/dist/{paperless/p-cd2cd75f.entry.js → build/p-90ad3605.entry.js} +2 -2
  48. package/dist/build/{p-d058cdfc.entry.js → p-93198497.entry.js} +2 -2
  49. package/dist/build/p-99352ae4.entry.js +2 -0
  50. package/dist/build/p-99352ae4.entry.js.map +1 -0
  51. package/dist/{paperless/p-0ffb8f53.entry.js → build/p-a133d5be.entry.js} +2 -2
  52. package/dist/build/{p-fa340d90.entry.js → p-a42897e9.entry.js} +2 -2
  53. package/dist/build/p-c55ee8d6.entry.js +2 -0
  54. package/dist/build/p-c55ee8d6.entry.js.map +1 -0
  55. package/dist/build/{p-9afd6c62.entry.js → p-d2ddf504.entry.js} +2 -2
  56. package/dist/build/p-d48ef748.entry.js +2 -0
  57. package/dist/build/p-d48ef748.entry.js.map +1 -0
  58. package/dist/{paperless/p-9406a32e.entry.js → build/p-d70fcbe8.entry.js} +2 -2
  59. package/dist/build/{p-0e1c6375.entry.js → p-da44c5f3.entry.js} +2 -2
  60. package/dist/build/{p-167a6397.entry.js → p-db29f690.entry.js} +2 -2
  61. package/dist/build/{p-b542d0b6.entry.js → p-dbd97dff.entry.js} +2 -2
  62. package/dist/{paperless/p-697ed735.entry.js → build/p-dc536eb2.entry.js} +2 -2
  63. package/dist/build/{p-52fe40e3.entry.js → p-e987ba3f.entry.js} +2 -2
  64. package/dist/build/{p-d82e4315.entry.js → p-eee199d1.entry.js} +2 -2
  65. package/dist/{paperless/p-20ea5e27.entry.js → build/p-ef42fec9.entry.js} +2 -2
  66. package/dist/build/{p-7b72764c.entry.js → p-f13ad23e.entry.js} +2 -2
  67. package/dist/build/{p-7c0e0f80.entry.js → p-f1a6c8ff.entry.js} +2 -2
  68. package/dist/build/{p-096eaf0d.entry.js → p-f233341a.entry.js} +2 -2
  69. package/dist/build/{p-401ff01b.entry.js → p-f2f904e6.entry.js} +2 -2
  70. package/dist/{paperless/p-f762c735.entry.js → build/p-f4cdabb7.entry.js} +2 -2
  71. package/dist/{paperless/p-3023e8dc.entry.js → build/p-f63feca1.entry.js} +2 -2
  72. package/dist/build/{p-a38a330d.entry.js → p-f9ffc928.entry.js} +2 -2
  73. package/dist/build/paperless.esm.js +1 -1
  74. package/dist/build/paperless.esm.js.map +1 -1
  75. package/dist/cjs/{constants-f911468d.js → constants-eae831f7.js} +1 -1
  76. package/dist/cjs/constants-eae831f7.js.map +1 -0
  77. package/dist/cjs/{icons-10aa18f0.js → icons-8fe8c3cf.js} +18 -1
  78. package/dist/cjs/icons-8fe8c3cf.js.map +1 -0
  79. package/dist/cjs/index-3f9bbc0c.js +14 -10
  80. package/dist/cjs/index.cjs.js +1 -1
  81. package/dist/cjs/loader.cjs.js +1 -1
  82. package/dist/cjs/p-accordion.cjs.entry.js +1 -1
  83. package/dist/cjs/p-attachment.cjs.entry.js +4 -4
  84. package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
  85. package/dist/cjs/p-avatar.cjs.entry.js +1 -1
  86. package/dist/cjs/p-backdrop.cjs.entry.js +2 -2
  87. package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
  88. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  89. package/dist/cjs/p-button_3.cjs.entry.js +5 -5
  90. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  91. package/dist/cjs/p-card-body.cjs.entry.js +1 -1
  92. package/dist/cjs/p-card-container.cjs.entry.js +1 -1
  93. package/dist/cjs/p-card-header.cjs.entry.js +2 -2
  94. package/dist/cjs/{p-checkbox_3.cjs.entry.js → p-checkbox_2.cjs.entry.js} +18 -153
  95. package/dist/cjs/p-checkbox_2.cjs.entry.js.map +1 -0
  96. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  97. package/dist/cjs/p-counter.cjs.entry.js +1 -1
  98. package/dist/cjs/p-cropper.cjs.entry.js +2 -2
  99. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  100. package/dist/cjs/p-divider.cjs.entry.js +1 -1
  101. package/dist/cjs/p-drawer-body_3.cjs.entry.js +3 -3
  102. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +10 -9
  103. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
  104. package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js +528 -0
  105. package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js.map +1 -0
  106. package/dist/cjs/p-field_2.cjs.entry.js +17 -5
  107. package/dist/cjs/p-field_2.cjs.entry.js.map +1 -1
  108. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +121 -16
  109. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
  110. package/dist/cjs/p-helper_2.cjs.entry.js +6 -6
  111. package/dist/cjs/p-helper_2.cjs.entry.js.map +1 -1
  112. package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
  113. package/dist/cjs/p-icon-deprecated.cjs.entry.js +1 -1
  114. package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
  115. package/dist/cjs/p-input-error.cjs.entry.js +1 -1
  116. package/dist/cjs/p-input-group.cjs.entry.js +3 -3
  117. package/dist/cjs/p-label.cjs.entry.js +3 -3
  118. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  119. package/dist/cjs/p-modal-body_4.cjs.entry.js +4 -4
  120. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  121. package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
  122. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  123. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  124. package/dist/cjs/p-pagination.cjs.entry.js +70 -0
  125. package/dist/cjs/p-pagination.cjs.entry.js.map +1 -0
  126. package/dist/cjs/p-portal.cjs.entry.js +1 -1
  127. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  128. package/dist/cjs/p-radio.cjs.entry.js +3 -3
  129. package/dist/cjs/p-select.cjs.entry.js +1 -1
  130. package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
  131. package/dist/cjs/p-status.cjs.entry.js +2 -2
  132. package/dist/cjs/p-stepper-item.cjs.entry.js +1 -1
  133. package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
  134. package/dist/cjs/p-stepper.cjs.entry.js +1 -1
  135. package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
  136. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  137. package/dist/cjs/p-table.cjs.entry.js +9 -8
  138. package/dist/cjs/p-table.cjs.entry.js.map +1 -1
  139. package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
  140. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  141. package/dist/cjs/p-toggle.cjs.entry.js +3 -3
  142. package/dist/cjs/paperless.cjs.js +1 -1
  143. package/dist/collection/assets/icons/extra/checkmark-thick.svg +10 -0
  144. package/dist/collection/collection-manifest.json +4 -3
  145. package/dist/collection/components/atoms/avatar/avatar.component.js +1 -1
  146. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +1 -1
  147. package/dist/collection/components/atoms/backdrop/backdrop.component.js +2 -2
  148. package/dist/collection/components/atoms/badge/badge.component.js +1 -1
  149. package/dist/collection/components/atoms/card-body/card-body.component.js +1 -1
  150. package/dist/collection/components/atoms/card-container/card-container.component.js +1 -1
  151. package/dist/collection/components/atoms/card-header/card-header.component.js +2 -2
  152. package/dist/collection/components/atoms/checkbox/checkbox.component.js +3 -3
  153. package/dist/collection/components/atoms/checkbox/checkbox.component.js.map +1 -1
  154. package/dist/collection/components/atoms/counter/counter.component.js +1 -1
  155. package/dist/collection/components/atoms/divider/divider.component.js +1 -1
  156. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +1 -1
  157. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +1 -1
  158. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +1 -1
  159. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
  160. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +29 -8
  161. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js.map +1 -1
  162. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
  163. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +37 -6
  164. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -1
  165. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.css +1 -1
  166. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js +171 -4
  167. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js.map +1 -1
  168. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.css +1 -1
  169. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js +180 -3
  170. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js.map +1 -1
  171. package/dist/collection/components/atoms/helper/helper.component.css +1 -1
  172. package/dist/collection/components/atoms/helper/helper.component.js +2 -2
  173. package/dist/collection/components/atoms/helper/helper.component.js.map +1 -1
  174. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +1 -1
  175. package/dist/collection/components/atoms/icon/icon.component.js +1 -1
  176. package/dist/collection/components/atoms/icon-deprecated/icon.component.js +1 -1
  177. package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
  178. package/dist/collection/components/atoms/info-panel/info-panel.component.js +1 -1
  179. package/dist/collection/components/atoms/layout/layout.component.js +1 -1
  180. package/dist/collection/components/atoms/modal-body/modal-body.component.js +1 -1
  181. package/dist/collection/components/atoms/modal-container/modal-container.component.js +1 -1
  182. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +1 -1
  183. package/dist/collection/components/atoms/modal-header/modal-header.component.js +1 -1
  184. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  185. package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.css +1 -0
  186. package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.js +173 -0
  187. package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.js.map +1 -0
  188. package/dist/collection/components/atoms/portal/portal.component.js +1 -1
  189. package/dist/collection/components/atoms/radio/radio.component.js +3 -3
  190. package/dist/collection/components/atoms/segment-container/segment-container.component.js +1 -1
  191. package/dist/collection/components/atoms/segment-item/segment-item.component.js +3 -3
  192. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +1 -1
  193. package/dist/collection/components/atoms/status/status.component.js +3 -3
  194. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +1 -1
  195. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +1 -1
  196. package/dist/collection/components/atoms/tab-group/tab-group.component.js +1 -1
  197. package/dist/collection/components/atoms/tab-item/tab-item.component.js +1 -1
  198. package/dist/collection/components/atoms/table-container/table-container.component.js +1 -1
  199. package/dist/collection/components/atoms/toast-container/toast-container.component.js +1 -1
  200. package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
  201. package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
  202. package/dist/collection/components/helpers/table-row-action/table-row-action.component.js +1 -1
  203. package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
  204. package/dist/collection/components/molecules/attachment/attachment.component.js +4 -4
  205. package/dist/collection/components/molecules/button/button.component.js +5 -5
  206. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  207. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  208. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  209. package/dist/collection/components/molecules/cropper/cropper.component.js +2 -2
  210. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  211. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
  212. package/dist/collection/components/molecules/dropdown/dropdown.component.js +33 -5
  213. package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
  214. package/dist/collection/components/molecules/field/field.component.js +18 -6
  215. package/dist/collection/components/molecules/field/field.component.js.map +1 -1
  216. package/dist/collection/components/molecules/input-error/input-error.component.js +1 -1
  217. package/dist/collection/components/molecules/input-group/input-group.component.js +4 -4
  218. package/dist/collection/components/molecules/label/label.component.js +4 -4
  219. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +3 -3
  220. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +1 -1
  221. package/dist/collection/components/molecules/pagination/pagination.component.css +1 -1
  222. package/dist/collection/components/molecules/pagination/pagination.component.js +136 -169
  223. package/dist/collection/components/molecules/pagination/pagination.component.js.map +1 -1
  224. package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.css +1 -0
  225. package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.js +321 -0
  226. package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.js.map +1 -0
  227. package/dist/collection/components/molecules/pagination-size/constants.js.map +1 -0
  228. package/dist/collection/components/molecules/pagination-size/pagination-size.component.css +1 -0
  229. package/dist/collection/components/molecules/{page-size-select/page-size-select.component.js → pagination-size/pagination-size.component.js} +44 -76
  230. package/dist/collection/components/molecules/pagination-size/pagination-size.component.js.map +1 -0
  231. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  232. package/dist/collection/components/molecules/select/select.component.js +3 -3
  233. package/dist/collection/components/molecules/stepper/stepper.component.js +1 -1
  234. package/dist/collection/components/molecules/table-cell/table-cell.component.js +1 -1
  235. package/dist/collection/components/molecules/table-footer/table-footer.component.css +1 -1
  236. package/dist/collection/components/molecules/table-footer/table-footer.component.js +2 -2
  237. package/dist/collection/components/molecules/table-footer/table-footer.component.js.map +1 -1
  238. package/dist/collection/components/molecules/table-header/table-header.component.js +4 -4
  239. package/dist/collection/components/molecules/table-row/table-row.component.js +2 -2
  240. package/dist/collection/components/molecules/toast/toast.component.js +2 -2
  241. package/dist/collection/components/organisms/drawer/drawer.component.js +1 -1
  242. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  243. package/dist/collection/components/organisms/table/table.component.css +1 -1
  244. package/dist/collection/components/organisms/table/table.component.js +9 -8
  245. package/dist/collection/components/organisms/table/table.component.js.map +1 -1
  246. package/dist/collection/utils/icons.js +6 -0
  247. package/dist/collection/utils/icons.js.map +1 -1
  248. package/dist/components/avatar.component.js +1 -1
  249. package/dist/components/backdrop.component.js +2 -2
  250. package/dist/components/badge.component.js +1 -1
  251. package/dist/components/button.component.js +4 -4
  252. package/dist/components/calendar.component.js +1 -1
  253. package/dist/components/checkbox.component.js +3 -3
  254. package/dist/components/checkbox.component.js.map +1 -1
  255. package/dist/components/divider.component.js +1 -1
  256. package/dist/components/drawer-body.component.js +1 -1
  257. package/dist/components/drawer-container.component.js +1 -1
  258. package/dist/components/drawer-header.component.js +1 -1
  259. package/dist/components/dropdown-menu-container.component.js +11 -9
  260. package/dist/components/dropdown-menu-container.component.js.map +1 -1
  261. package/dist/components/dropdown-menu-item.component.js +35 -4
  262. package/dist/components/dropdown-menu-item.component.js.map +1 -1
  263. package/dist/components/dropdown.component.js +15 -6
  264. package/dist/components/dropdown.component.js.map +1 -1
  265. package/dist/components/field-container.component.js +8 -2
  266. package/dist/components/field-container.component.js.map +1 -1
  267. package/dist/components/field.component.js +17 -5
  268. package/dist/components/field.component.js.map +1 -1
  269. package/dist/components/floating-menu-container.component.js +66 -6
  270. package/dist/components/floating-menu-container.component.js.map +1 -1
  271. package/dist/components/floating-menu-item.component.js +85 -6
  272. package/dist/components/floating-menu-item.component.js.map +1 -1
  273. package/dist/components/helper.component.js +9 -3
  274. package/dist/components/helper.component.js.map +1 -1
  275. package/dist/components/icons.js +17 -0
  276. package/dist/components/icons.js.map +1 -1
  277. package/dist/components/illustration.component.js +1 -1
  278. package/dist/components/input-error.component.js +1 -1
  279. package/dist/components/modal-body.component.js +1 -1
  280. package/dist/components/modal-container.component.js +1 -1
  281. package/dist/components/modal-footer.component.js +1 -1
  282. package/dist/components/modal-header.component.js +1 -1
  283. package/dist/components/navigation-title.component.js +1 -1
  284. package/dist/components/p-accordion.js +1 -1
  285. package/dist/components/p-attachment.js +4 -4
  286. package/dist/components/p-avatar-group.js +1 -1
  287. package/dist/components/p-button-group.js +1 -1
  288. package/dist/components/p-card-body.js +1 -1
  289. package/dist/components/p-card-container.js +1 -1
  290. package/dist/components/p-card-header.js +2 -2
  291. package/dist/components/p-content-slider.js +2 -2
  292. package/dist/components/p-counter.js +1 -1
  293. package/dist/components/p-cropper.js +2 -2
  294. package/dist/components/p-datepicker.js +2 -2
  295. package/dist/components/p-iban-icon.js +1 -1
  296. package/dist/components/p-icon-deprecated.js +1 -1
  297. package/dist/components/p-info-panel.js +1 -1
  298. package/dist/components/p-input-group.js +3 -3
  299. package/dist/components/p-label.js +3 -3
  300. package/dist/components/p-layout.js +1 -1
  301. package/dist/components/p-navbar.js +1 -1
  302. package/dist/components/p-navigation-item.js +2 -2
  303. package/dist/components/p-navigation-section.js +1 -1
  304. package/dist/components/p-pagination-pages-item.d.ts +11 -0
  305. package/dist/components/p-pagination-pages-item.js +8 -0
  306. package/dist/components/p-pagination-pages-item.js.map +1 -0
  307. package/dist/components/{p-pagination-item.d.ts → p-pagination-pages.d.ts} +4 -4
  308. package/dist/components/p-pagination-pages.js +8 -0
  309. package/dist/components/p-pagination-pages.js.map +1 -0
  310. package/dist/components/{p-page-size-select.d.ts → p-pagination-size.d.ts} +4 -4
  311. package/dist/components/p-pagination-size.js +8 -0
  312. package/dist/components/p-pagination-size.js.map +1 -0
  313. package/dist/components/p-pagination.js +143 -1
  314. package/dist/components/p-pagination.js.map +1 -1
  315. package/dist/components/p-profile.js +1 -1
  316. package/dist/components/p-radio.js +3 -3
  317. package/dist/components/p-select.js +1 -1
  318. package/dist/components/p-status.js +2 -2
  319. package/dist/components/p-stepper-item.js +1 -1
  320. package/dist/components/p-stepper.js +1 -1
  321. package/dist/components/p-tab-group.js +1 -1
  322. package/dist/components/p-tab-item.js +1 -1
  323. package/dist/components/p-table.js +15 -14
  324. package/dist/components/p-table.js.map +1 -1
  325. package/dist/components/p-toast-container.js +1 -1
  326. package/dist/components/p-toast.js +1 -1
  327. package/dist/components/p-toggle.js +3 -3
  328. package/dist/components/pagination-pages-item.component.js +106 -0
  329. package/dist/components/pagination-pages-item.component.js.map +1 -0
  330. package/dist/components/{pagination.component.js → pagination-pages.component.js} +54 -24
  331. package/dist/components/pagination-pages.component.js.map +1 -0
  332. package/dist/components/pagination-size.component.js +134 -0
  333. package/dist/components/pagination-size.component.js.map +1 -0
  334. package/dist/components/portal.component.js +1 -1
  335. package/dist/components/segment-container.component.js +1 -1
  336. package/dist/components/segment-item.component.js +2 -2
  337. package/dist/components/slider-indicator.component.js +1 -1
  338. package/dist/components/stepper-line.component.js +1 -1
  339. package/dist/components/table-cell.component.js +1 -1
  340. package/dist/components/table-container.component.js +1 -1
  341. package/dist/components/table-footer.component.js +9 -9
  342. package/dist/components/table-footer.component.js.map +1 -1
  343. package/dist/components/table-header.component.js +3 -3
  344. package/dist/components/table-row.component.js +2 -2
  345. package/dist/components/tooltip.component.js +4 -4
  346. package/dist/esm/{constants-3500ea14.js → constants-1dd98b15.js} +1 -1
  347. package/dist/esm/constants-1dd98b15.js.map +1 -0
  348. package/dist/esm/{icons-a3270aaf.js → icons-7312d60c.js} +18 -1
  349. package/dist/esm/icons-7312d60c.js.map +1 -0
  350. package/dist/esm/index-2ef94580.js +14 -10
  351. package/dist/esm/index.js +1 -1
  352. package/dist/esm/loader.js +1 -1
  353. package/dist/esm/p-accordion.entry.js +1 -1
  354. package/dist/esm/p-attachment.entry.js +4 -4
  355. package/dist/esm/p-avatar-group.entry.js +1 -1
  356. package/dist/esm/p-avatar.entry.js +1 -1
  357. package/dist/esm/p-backdrop.entry.js +2 -2
  358. package/dist/esm/p-badge_3.entry.js +4 -4
  359. package/dist/esm/p-button-group.entry.js +1 -1
  360. package/dist/esm/p-button_3.entry.js +5 -5
  361. package/dist/esm/p-calendar.entry.js +1 -1
  362. package/dist/esm/p-card-body.entry.js +1 -1
  363. package/dist/esm/p-card-container.entry.js +1 -1
  364. package/dist/esm/p-card-header.entry.js +2 -2
  365. package/dist/esm/{p-checkbox_3.entry.js → p-checkbox_2.entry.js} +19 -153
  366. package/dist/esm/p-checkbox_2.entry.js.map +1 -0
  367. package/dist/esm/p-content-slider.entry.js +2 -2
  368. package/dist/esm/p-counter.entry.js +1 -1
  369. package/dist/esm/p-cropper.entry.js +2 -2
  370. package/dist/esm/p-datepicker.entry.js +2 -2
  371. package/dist/esm/p-divider.entry.js +1 -1
  372. package/dist/esm/p-drawer-body_3.entry.js +3 -3
  373. package/dist/esm/p-dropdown-menu-container.entry.js +10 -9
  374. package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
  375. package/dist/esm/p-dropdown-menu-item_4.entry.js +521 -0
  376. package/dist/esm/p-dropdown-menu-item_4.entry.js.map +1 -0
  377. package/dist/esm/p-field_2.entry.js +17 -5
  378. package/dist/esm/p-field_2.entry.js.map +1 -1
  379. package/dist/esm/p-floating-menu-container_8.entry.js +122 -17
  380. package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
  381. package/dist/esm/p-helper_2.entry.js +6 -6
  382. package/dist/esm/p-helper_2.entry.js.map +1 -1
  383. package/dist/esm/p-iban-icon.entry.js +1 -1
  384. package/dist/esm/p-icon-deprecated.entry.js +1 -1
  385. package/dist/esm/p-info-panel.entry.js +1 -1
  386. package/dist/esm/p-input-error.entry.js +1 -1
  387. package/dist/esm/p-input-group.entry.js +3 -3
  388. package/dist/esm/p-label.entry.js +3 -3
  389. package/dist/esm/p-layout.entry.js +1 -1
  390. package/dist/esm/p-modal-body_4.entry.js +4 -4
  391. package/dist/esm/p-navbar.entry.js +1 -1
  392. package/dist/esm/p-navigation-item.entry.js +2 -2
  393. package/dist/esm/p-navigation-section.entry.js +1 -1
  394. package/dist/esm/p-navigation-title.entry.js +1 -1
  395. package/dist/esm/p-pagination.entry.js +66 -0
  396. package/dist/esm/p-pagination.entry.js.map +1 -0
  397. package/dist/esm/p-portal.entry.js +1 -1
  398. package/dist/esm/p-profile.entry.js +1 -1
  399. package/dist/esm/p-radio.entry.js +3 -3
  400. package/dist/esm/p-select.entry.js +1 -1
  401. package/dist/esm/p-slider-indicator.entry.js +1 -1
  402. package/dist/esm/p-status.entry.js +2 -2
  403. package/dist/esm/p-stepper-item.entry.js +1 -1
  404. package/dist/esm/p-stepper-line.entry.js +1 -1
  405. package/dist/esm/p-stepper.entry.js +1 -1
  406. package/dist/esm/p-tab-group.entry.js +1 -1
  407. package/dist/esm/p-tab-item.entry.js +1 -1
  408. package/dist/esm/p-table.entry.js +9 -8
  409. package/dist/esm/p-table.entry.js.map +1 -1
  410. package/dist/esm/p-toast-container.entry.js +1 -1
  411. package/dist/esm/p-toast.entry.js +1 -1
  412. package/dist/esm/p-toggle.entry.js +3 -3
  413. package/dist/esm/paperless.js +1 -1
  414. package/dist/index.html +1 -1
  415. package/dist/paperless/index.esm.js +1 -1
  416. package/dist/paperless/{p-5779d316.entry.js → p-11fbeb45.entry.js} +2 -2
  417. package/dist/paperless/{p-d26ee54b.entry.js → p-1a1c03c0.entry.js} +2 -2
  418. package/dist/paperless/{p-dd0f4ed0.entry.js → p-27fd3386.entry.js} +2 -2
  419. package/dist/paperless/p-28dbbce6.entry.js +2 -0
  420. package/dist/paperless/p-28ee6cd6.entry.js +2 -0
  421. package/dist/{build/p-b162a142.entry.js → paperless/p-290d04b0.entry.js} +2 -2
  422. package/dist/paperless/{p-9231fe88.entry.js → p-2d43b7ce.entry.js} +2 -2
  423. package/dist/{build/p-e5a54d05.entry.js → paperless/p-333f614e.entry.js} +2 -2
  424. package/dist/paperless/p-37b43ce6.entry.js +2 -0
  425. package/dist/paperless/p-37b43ce6.entry.js.map +1 -0
  426. package/dist/paperless/{p-29c71645.entry.js → p-38c20959.entry.js} +2 -2
  427. package/dist/{build/p-4baaed44.entry.js → paperless/p-3bd145fd.entry.js} +2 -2
  428. package/dist/paperless/{p-0cd0a8d2.entry.js → p-4364738a.entry.js} +2 -2
  429. package/dist/paperless/{p-e11ab3d2.entry.js → p-4443e4e5.entry.js} +2 -2
  430. package/dist/paperless/{p-39e51563.entry.js → p-4553a1af.entry.js} +2 -2
  431. package/dist/paperless/p-469615ef.entry.js +2 -0
  432. package/dist/paperless/p-469615ef.entry.js.map +1 -0
  433. package/dist/paperless/{p-4a10de20.entry.js → p-489013c7.entry.js} +2 -2
  434. package/dist/paperless/p-4f947801.entry.js +2 -0
  435. package/dist/paperless/p-549b2931.entry.js +2 -0
  436. package/dist/paperless/p-549b2931.entry.js.map +1 -0
  437. package/dist/paperless/{p-d9bf1827.entry.js → p-58e6f012.entry.js} +2 -2
  438. package/dist/paperless/p-59962e55.entry.js +2 -0
  439. package/dist/{build/p-3e2708de.entry.js → paperless/p-657c6b98.entry.js} +2 -2
  440. package/dist/paperless/{p-f05bf2d2.entry.js → p-691c6f90.entry.js} +2 -2
  441. package/dist/paperless/p-711bb72e.entry.js +2 -0
  442. package/dist/paperless/p-711bb72e.entry.js.map +1 -0
  443. package/dist/paperless/{p-8f4a3d49.entry.js → p-7a83597a.entry.js} +2 -2
  444. package/dist/paperless/{p-8b1a485b.entry.js → p-7ad7c0d1.entry.js} +2 -2
  445. package/dist/{build/p-b082e123.js → paperless/p-7ce3ed33.js} +2 -2
  446. package/dist/paperless/p-7ce3ed33.js.map +1 -0
  447. package/dist/paperless/{p-da7b6f2c.js → p-83946184.js} +1 -1
  448. package/dist/paperless/p-83946184.js.map +1 -0
  449. package/dist/paperless/{p-a9c13353.entry.js → p-8532d17f.entry.js} +2 -2
  450. package/dist/paperless/p-8857d619.entry.js +2 -0
  451. package/dist/paperless/p-8857d619.entry.js.map +1 -0
  452. package/dist/paperless/{p-c801b122.entry.js → p-8a4f08d0.entry.js} +2 -2
  453. package/dist/{build/p-28f44624.entry.js → paperless/p-8c8128f9.entry.js} +2 -2
  454. package/dist/{build/p-cd2cd75f.entry.js → paperless/p-90ad3605.entry.js} +2 -2
  455. package/dist/paperless/{p-d058cdfc.entry.js → p-93198497.entry.js} +2 -2
  456. package/dist/paperless/p-99352ae4.entry.js +2 -0
  457. package/dist/paperless/p-99352ae4.entry.js.map +1 -0
  458. package/dist/{build/p-0ffb8f53.entry.js → paperless/p-a133d5be.entry.js} +2 -2
  459. package/dist/paperless/{p-fa340d90.entry.js → p-a42897e9.entry.js} +2 -2
  460. package/dist/paperless/p-c55ee8d6.entry.js +2 -0
  461. package/dist/paperless/p-c55ee8d6.entry.js.map +1 -0
  462. package/dist/paperless/{p-9afd6c62.entry.js → p-d2ddf504.entry.js} +2 -2
  463. package/dist/paperless/p-d48ef748.entry.js +2 -0
  464. package/dist/paperless/p-d48ef748.entry.js.map +1 -0
  465. package/dist/{build/p-9406a32e.entry.js → paperless/p-d70fcbe8.entry.js} +2 -2
  466. package/dist/paperless/{p-0e1c6375.entry.js → p-da44c5f3.entry.js} +2 -2
  467. package/dist/paperless/{p-167a6397.entry.js → p-db29f690.entry.js} +2 -2
  468. package/dist/paperless/{p-b542d0b6.entry.js → p-dbd97dff.entry.js} +2 -2
  469. package/dist/{build/p-697ed735.entry.js → paperless/p-dc536eb2.entry.js} +2 -2
  470. package/dist/paperless/{p-52fe40e3.entry.js → p-e987ba3f.entry.js} +2 -2
  471. package/dist/paperless/{p-d82e4315.entry.js → p-eee199d1.entry.js} +2 -2
  472. package/dist/{build/p-20ea5e27.entry.js → paperless/p-ef42fec9.entry.js} +2 -2
  473. package/dist/paperless/{p-7b72764c.entry.js → p-f13ad23e.entry.js} +2 -2
  474. package/dist/paperless/{p-7c0e0f80.entry.js → p-f1a6c8ff.entry.js} +2 -2
  475. package/dist/paperless/{p-096eaf0d.entry.js → p-f233341a.entry.js} +2 -2
  476. package/dist/paperless/{p-401ff01b.entry.js → p-f2f904e6.entry.js} +2 -2
  477. package/dist/{build/p-f762c735.entry.js → paperless/p-f4cdabb7.entry.js} +2 -2
  478. package/dist/{build/p-3023e8dc.entry.js → paperless/p-f63feca1.entry.js} +2 -2
  479. package/dist/paperless/{p-a38a330d.entry.js → p-f9ffc928.entry.js} +2 -2
  480. package/dist/paperless/paperless.esm.js +1 -1
  481. package/dist/paperless/paperless.esm.js.map +1 -1
  482. package/dist/sw.js +1 -1
  483. package/dist/sw.js.map +1 -1
  484. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +4 -0
  485. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +1 -1
  486. package/dist/types/components/atoms/floating-menu-container/floating-menu-container.component.d.ts +33 -1
  487. package/dist/types/components/atoms/floating-menu-item/floating-menu-item.component.d.ts +23 -0
  488. package/dist/types/components/atoms/pagination-pages-item/pagination-pages-item.component.d.ts +19 -0
  489. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +5 -0
  490. package/dist/types/components/molecules/pagination/pagination.component.d.ts +24 -17
  491. package/dist/types/components/molecules/pagination-pages/pagination-pages.component.d.ts +40 -0
  492. package/dist/types/components/molecules/{page-size-select/page-size-select.component.d.ts → pagination-size/pagination-size.component.d.ts} +5 -14
  493. package/dist/types/components.d.ts +283 -76
  494. package/dist/types/utils/icons.d.ts +4 -0
  495. package/hydrate/index.js +583 -204
  496. package/hydrate/index.mjs +583 -204
  497. package/package.json +1 -1
  498. package/dist/assets/i18n/page-size-select.i18n.en.json +0 -4
  499. package/dist/assets/i18n/page-size-select.i18n.nl.json +0 -4
  500. package/dist/build/p-03c70942.entry.js +0 -2
  501. package/dist/build/p-2c6f3984.js +0 -2
  502. package/dist/build/p-2f613a2a.entry.js +0 -2
  503. package/dist/build/p-4cef76cf.entry.js +0 -2
  504. package/dist/build/p-5c2b9a8d.entry.js +0 -2
  505. package/dist/build/p-5c2b9a8d.entry.js.map +0 -1
  506. package/dist/build/p-904049ba.entry.js +0 -2
  507. package/dist/build/p-904049ba.entry.js.map +0 -1
  508. package/dist/build/p-9593cbb7.entry.js +0 -2
  509. package/dist/build/p-9593cbb7.entry.js.map +0 -1
  510. package/dist/build/p-b082e123.js.map +0 -1
  511. package/dist/build/p-cab0361a.entry.js +0 -2
  512. package/dist/build/p-cab0361a.entry.js.map +0 -1
  513. package/dist/build/p-d1da42f4.entry.js +0 -2
  514. package/dist/build/p-d1da42f4.entry.js.map +0 -1
  515. package/dist/build/p-da7b6f2c.js.map +0 -1
  516. package/dist/build/p-df228603.entry.js +0 -2
  517. package/dist/build/p-df228603.entry.js.map +0 -1
  518. package/dist/build/p-e078f787.entry.js +0 -2
  519. package/dist/build/p-e77d5ca1.entry.js +0 -2
  520. package/dist/build/p-e77d5ca1.entry.js.map +0 -1
  521. package/dist/cjs/constants-f911468d.js.map +0 -1
  522. package/dist/cjs/icons-10aa18f0.js.map +0 -1
  523. package/dist/cjs/p-checkbox_3.cjs.entry.js.map +0 -1
  524. package/dist/cjs/p-page-size-select_3.cjs.entry.js +0 -232
  525. package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +0 -1
  526. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +0 -1
  527. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +0 -46
  528. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js.map +0 -1
  529. package/dist/collection/components/molecules/page-size-select/constants.js.map +0 -1
  530. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js.map +0 -1
  531. package/dist/components/p-page-size-select.js +0 -8
  532. package/dist/components/p-page-size-select.js.map +0 -1
  533. package/dist/components/p-pagination-item.js +0 -8
  534. package/dist/components/p-pagination-item.js.map +0 -1
  535. package/dist/components/page-size-select.component.js +0 -123
  536. package/dist/components/page-size-select.component.js.map +0 -1
  537. package/dist/components/pagination-item.component.js +0 -36
  538. package/dist/components/pagination-item.component.js.map +0 -1
  539. package/dist/components/pagination.component.js.map +0 -1
  540. package/dist/esm/constants-3500ea14.js.map +0 -1
  541. package/dist/esm/icons-a3270aaf.js.map +0 -1
  542. package/dist/esm/p-checkbox_3.entry.js.map +0 -1
  543. package/dist/esm/p-page-size-select_3.entry.js +0 -226
  544. package/dist/esm/p-page-size-select_3.entry.js.map +0 -1
  545. package/dist/paperless/p-03c70942.entry.js +0 -2
  546. package/dist/paperless/p-2f613a2a.entry.js +0 -2
  547. package/dist/paperless/p-4cef76cf.entry.js +0 -2
  548. package/dist/paperless/p-5c2b9a8d.entry.js +0 -2
  549. package/dist/paperless/p-5c2b9a8d.entry.js.map +0 -1
  550. package/dist/paperless/p-904049ba.entry.js +0 -2
  551. package/dist/paperless/p-904049ba.entry.js.map +0 -1
  552. package/dist/paperless/p-9593cbb7.entry.js +0 -2
  553. package/dist/paperless/p-9593cbb7.entry.js.map +0 -1
  554. package/dist/paperless/p-b082e123.js.map +0 -1
  555. package/dist/paperless/p-cab0361a.entry.js +0 -2
  556. package/dist/paperless/p-cab0361a.entry.js.map +0 -1
  557. package/dist/paperless/p-d1da42f4.entry.js +0 -2
  558. package/dist/paperless/p-d1da42f4.entry.js.map +0 -1
  559. package/dist/paperless/p-da7b6f2c.js.map +0 -1
  560. package/dist/paperless/p-df228603.entry.js +0 -2
  561. package/dist/paperless/p-df228603.entry.js.map +0 -1
  562. package/dist/paperless/p-e078f787.entry.js +0 -2
  563. package/dist/paperless/p-e77d5ca1.entry.js +0 -2
  564. package/dist/paperless/p-e77d5ca1.entry.js.map +0 -1
  565. package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +0 -7
  566. /package/dist/build/{p-5779d316.entry.js.map → p-11fbeb45.entry.js.map} +0 -0
  567. /package/dist/build/{p-d26ee54b.entry.js.map → p-1a1c03c0.entry.js.map} +0 -0
  568. /package/dist/build/{p-dd0f4ed0.entry.js.map → p-27fd3386.entry.js.map} +0 -0
  569. /package/dist/build/{p-e078f787.entry.js.map → p-28dbbce6.entry.js.map} +0 -0
  570. /package/dist/build/{p-03c70942.entry.js.map → p-28ee6cd6.entry.js.map} +0 -0
  571. /package/dist/build/{p-b162a142.entry.js.map → p-290d04b0.entry.js.map} +0 -0
  572. /package/dist/build/{p-9231fe88.entry.js.map → p-2d43b7ce.entry.js.map} +0 -0
  573. /package/dist/build/{p-e5a54d05.entry.js.map → p-333f614e.entry.js.map} +0 -0
  574. /package/dist/build/{p-29c71645.entry.js.map → p-38c20959.entry.js.map} +0 -0
  575. /package/dist/build/{p-4baaed44.entry.js.map → p-3bd145fd.entry.js.map} +0 -0
  576. /package/dist/build/{p-0cd0a8d2.entry.js.map → p-4364738a.entry.js.map} +0 -0
  577. /package/dist/build/{p-e11ab3d2.entry.js.map → p-4443e4e5.entry.js.map} +0 -0
  578. /package/dist/build/{p-39e51563.entry.js.map → p-4553a1af.entry.js.map} +0 -0
  579. /package/dist/build/{p-4a10de20.entry.js.map → p-489013c7.entry.js.map} +0 -0
  580. /package/dist/build/{p-4cef76cf.entry.js.map → p-4f947801.entry.js.map} +0 -0
  581. /package/dist/build/{p-d9bf1827.entry.js.map → p-58e6f012.entry.js.map} +0 -0
  582. /package/dist/build/{p-2f613a2a.entry.js.map → p-59962e55.entry.js.map} +0 -0
  583. /package/dist/build/{p-3e2708de.entry.js.map → p-657c6b98.entry.js.map} +0 -0
  584. /package/dist/build/{p-f05bf2d2.entry.js.map → p-691c6f90.entry.js.map} +0 -0
  585. /package/dist/build/{p-8f4a3d49.entry.js.map → p-7a83597a.entry.js.map} +0 -0
  586. /package/dist/build/{p-8b1a485b.entry.js.map → p-7ad7c0d1.entry.js.map} +0 -0
  587. /package/dist/build/{p-a9c13353.entry.js.map → p-8532d17f.entry.js.map} +0 -0
  588. /package/dist/build/{p-c801b122.entry.js.map → p-8a4f08d0.entry.js.map} +0 -0
  589. /package/dist/build/{p-28f44624.entry.js.map → p-8c8128f9.entry.js.map} +0 -0
  590. /package/dist/build/{p-cd2cd75f.entry.js.map → p-90ad3605.entry.js.map} +0 -0
  591. /package/dist/build/{p-d058cdfc.entry.js.map → p-93198497.entry.js.map} +0 -0
  592. /package/dist/build/{p-0ffb8f53.entry.js.map → p-a133d5be.entry.js.map} +0 -0
  593. /package/dist/build/{p-fa340d90.entry.js.map → p-a42897e9.entry.js.map} +0 -0
  594. /package/dist/build/{p-9afd6c62.entry.js.map → p-d2ddf504.entry.js.map} +0 -0
  595. /package/dist/build/{p-9406a32e.entry.js.map → p-d70fcbe8.entry.js.map} +0 -0
  596. /package/dist/build/{p-0e1c6375.entry.js.map → p-da44c5f3.entry.js.map} +0 -0
  597. /package/dist/build/{p-167a6397.entry.js.map → p-db29f690.entry.js.map} +0 -0
  598. /package/dist/build/{p-b542d0b6.entry.js.map → p-dbd97dff.entry.js.map} +0 -0
  599. /package/dist/build/{p-697ed735.entry.js.map → p-dc536eb2.entry.js.map} +0 -0
  600. /package/dist/build/{p-52fe40e3.entry.js.map → p-e987ba3f.entry.js.map} +0 -0
  601. /package/dist/build/{p-d82e4315.entry.js.map → p-eee199d1.entry.js.map} +0 -0
  602. /package/dist/build/{p-20ea5e27.entry.js.map → p-ef42fec9.entry.js.map} +0 -0
  603. /package/dist/build/{p-7b72764c.entry.js.map → p-f13ad23e.entry.js.map} +0 -0
  604. /package/dist/build/{p-7c0e0f80.entry.js.map → p-f1a6c8ff.entry.js.map} +0 -0
  605. /package/dist/build/{p-096eaf0d.entry.js.map → p-f233341a.entry.js.map} +0 -0
  606. /package/dist/build/{p-401ff01b.entry.js.map → p-f2f904e6.entry.js.map} +0 -0
  607. /package/dist/build/{p-f762c735.entry.js.map → p-f4cdabb7.entry.js.map} +0 -0
  608. /package/dist/build/{p-3023e8dc.entry.js.map → p-f63feca1.entry.js.map} +0 -0
  609. /package/dist/build/{p-a38a330d.entry.js.map → p-f9ffc928.entry.js.map} +0 -0
  610. /package/dist/collection/components/molecules/{page-size-select → pagination-size}/constants.js +0 -0
  611. /package/dist/paperless/{p-5779d316.entry.js.map → p-11fbeb45.entry.js.map} +0 -0
  612. /package/dist/paperless/{p-d26ee54b.entry.js.map → p-1a1c03c0.entry.js.map} +0 -0
  613. /package/dist/paperless/{p-dd0f4ed0.entry.js.map → p-27fd3386.entry.js.map} +0 -0
  614. /package/dist/paperless/{p-e078f787.entry.js.map → p-28dbbce6.entry.js.map} +0 -0
  615. /package/dist/paperless/{p-03c70942.entry.js.map → p-28ee6cd6.entry.js.map} +0 -0
  616. /package/dist/paperless/{p-b162a142.entry.js.map → p-290d04b0.entry.js.map} +0 -0
  617. /package/dist/paperless/{p-9231fe88.entry.js.map → p-2d43b7ce.entry.js.map} +0 -0
  618. /package/dist/paperless/{p-e5a54d05.entry.js.map → p-333f614e.entry.js.map} +0 -0
  619. /package/dist/paperless/{p-29c71645.entry.js.map → p-38c20959.entry.js.map} +0 -0
  620. /package/dist/paperless/{p-4baaed44.entry.js.map → p-3bd145fd.entry.js.map} +0 -0
  621. /package/dist/paperless/{p-0cd0a8d2.entry.js.map → p-4364738a.entry.js.map} +0 -0
  622. /package/dist/paperless/{p-e11ab3d2.entry.js.map → p-4443e4e5.entry.js.map} +0 -0
  623. /package/dist/paperless/{p-39e51563.entry.js.map → p-4553a1af.entry.js.map} +0 -0
  624. /package/dist/paperless/{p-4a10de20.entry.js.map → p-489013c7.entry.js.map} +0 -0
  625. /package/dist/paperless/{p-4cef76cf.entry.js.map → p-4f947801.entry.js.map} +0 -0
  626. /package/dist/paperless/{p-d9bf1827.entry.js.map → p-58e6f012.entry.js.map} +0 -0
  627. /package/dist/paperless/{p-2f613a2a.entry.js.map → p-59962e55.entry.js.map} +0 -0
  628. /package/dist/paperless/{p-3e2708de.entry.js.map → p-657c6b98.entry.js.map} +0 -0
  629. /package/dist/paperless/{p-f05bf2d2.entry.js.map → p-691c6f90.entry.js.map} +0 -0
  630. /package/dist/paperless/{p-8f4a3d49.entry.js.map → p-7a83597a.entry.js.map} +0 -0
  631. /package/dist/paperless/{p-8b1a485b.entry.js.map → p-7ad7c0d1.entry.js.map} +0 -0
  632. /package/dist/paperless/{p-a9c13353.entry.js.map → p-8532d17f.entry.js.map} +0 -0
  633. /package/dist/paperless/{p-c801b122.entry.js.map → p-8a4f08d0.entry.js.map} +0 -0
  634. /package/dist/paperless/{p-28f44624.entry.js.map → p-8c8128f9.entry.js.map} +0 -0
  635. /package/dist/paperless/{p-cd2cd75f.entry.js.map → p-90ad3605.entry.js.map} +0 -0
  636. /package/dist/paperless/{p-d058cdfc.entry.js.map → p-93198497.entry.js.map} +0 -0
  637. /package/dist/paperless/{p-0ffb8f53.entry.js.map → p-a133d5be.entry.js.map} +0 -0
  638. /package/dist/paperless/{p-fa340d90.entry.js.map → p-a42897e9.entry.js.map} +0 -0
  639. /package/dist/paperless/{p-9afd6c62.entry.js.map → p-d2ddf504.entry.js.map} +0 -0
  640. /package/dist/paperless/{p-9406a32e.entry.js.map → p-d70fcbe8.entry.js.map} +0 -0
  641. /package/dist/paperless/{p-0e1c6375.entry.js.map → p-da44c5f3.entry.js.map} +0 -0
  642. /package/dist/paperless/{p-167a6397.entry.js.map → p-db29f690.entry.js.map} +0 -0
  643. /package/dist/paperless/{p-b542d0b6.entry.js.map → p-dbd97dff.entry.js.map} +0 -0
  644. /package/dist/paperless/{p-697ed735.entry.js.map → p-dc536eb2.entry.js.map} +0 -0
  645. /package/dist/paperless/{p-52fe40e3.entry.js.map → p-e987ba3f.entry.js.map} +0 -0
  646. /package/dist/paperless/{p-d82e4315.entry.js.map → p-eee199d1.entry.js.map} +0 -0
  647. /package/dist/paperless/{p-20ea5e27.entry.js.map → p-ef42fec9.entry.js.map} +0 -0
  648. /package/dist/paperless/{p-7b72764c.entry.js.map → p-f13ad23e.entry.js.map} +0 -0
  649. /package/dist/paperless/{p-7c0e0f80.entry.js.map → p-f1a6c8ff.entry.js.map} +0 -0
  650. /package/dist/paperless/{p-096eaf0d.entry.js.map → p-f233341a.entry.js.map} +0 -0
  651. /package/dist/paperless/{p-401ff01b.entry.js.map → p-f2f904e6.entry.js.map} +0 -0
  652. /package/dist/paperless/{p-f762c735.entry.js.map → p-f4cdabb7.entry.js.map} +0 -0
  653. /package/dist/paperless/{p-3023e8dc.entry.js.map → p-f63feca1.entry.js.map} +0 -0
  654. /package/dist/paperless/{p-a38a330d.entry.js.map → p-f9ffc928.entry.js.map} +0 -0
  655. /package/dist/types/components/molecules/{page-size-select → pagination-size}/constants.d.ts +0 -0
@@ -22,16 +22,22 @@ const field = cva(['flex gap-2', 'w-inherit', 'border-solid rounded-lg'], {
22
22
  false: null,
23
23
  true: null,
24
24
  },
25
+ isTextarea: {
26
+ false: null,
27
+ true: null,
28
+ },
25
29
  },
26
30
  compoundVariants: [
27
31
  {
28
32
  size: 'sm',
29
33
  variant: 'write',
34
+ isTextarea: false,
30
35
  class: 'h-6',
31
36
  },
32
37
  {
33
38
  size: 'base',
34
39
  variant: 'write',
40
+ isTextarea: false,
35
41
  class: 'h-8',
36
42
  },
37
43
  {
@@ -68,8 +74,12 @@ const field = cva(['flex gap-2', 'w-inherit', 'border-solid rounded-lg'], {
68
74
  },
69
75
  ],
70
76
  });
71
- 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', {
77
+ 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', {
72
78
  variants: {
79
+ isTextarea: {
80
+ false: 'h-full',
81
+ true: null,
82
+ },
73
83
  disabled: {
74
84
  false: null,
75
85
  true: 'cursor-not-allowed',
@@ -168,18 +178,19 @@ export class Field {
168
178
  }
169
179
  render() {
170
180
  const { prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
171
- return (h(Host, { key: '1a79a5c8f8247833586cf9e8e663b5c6fe6a2bd9', class: 'p-field' }, h("p-field-container", { key: '10b84cef30d39755c90812095158541c5d653002', forceShowTooltip: this.forceShowTooltip || this._focused, label: this.label, helper: this.helper, error: this.error, required: this.required, variant: this.variant }, hasLabelSlot && (h("slot", { key: 'bffa3ae2c58bb688956bfe65652fd578968227f4', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '1e4c706e8166014605a494c975bd16c502ff79cf', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: '298572eb4da550e87443aecc0d68842eef9e9f98', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: '4a9f6b0a99b88cffc4c0d84e31d880a3d07776b2', name: 'error', slot: 'error' })), h("div", { key: 'cc5d1bff2b66717facdf1df95e11bc4c16e401c2', class: field({
181
+ return (h(Host, { key: 'b75ada5f4769d2610912357d33da0b8529ab4984', class: 'p-field' }, h("p-field-container", { key: '235ae8fa186ad4db8d5a13661775bb555393c6d6', forceShowTooltip: this.forceShowTooltip || this._focused, label: this.label, helper: this.helper, error: this.error, required: this.required, variant: this.variant }, hasLabelSlot && (h("slot", { key: '2963450a44ff975755ad5dede7c69273cd10d808', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: 'af15180e5992ad98bbdd11b05b4abab9490a67a1', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: '62be6518228a811d52868b1e1da84c3a70664bee', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: '1979049bf6af97884f7b9a87e5e9cc683027efcd', name: 'error', slot: 'error' })), h("div", { key: 'c4f9c673f441ab73bcfb7266d5f817dd89c09630', class: field({
172
182
  error: !!this.error?.length,
173
183
  disabled: this.disabled,
174
184
  focused: this.focused || this._focused,
175
185
  size: this.size,
176
186
  variant: this.variant,
177
- }), slot: 'content' }, (prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: '9a559c208e22f1c512121a81648777f5496375c9', class: prefixAndSuffix({
187
+ isTextarea: this.type === 'textarea',
188
+ }), slot: 'content' }, (prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: 'a4e4b4cb9b9714036887783abea534760e191abc', class: prefixAndSuffix({
178
189
  error: !!this.error?.length,
179
190
  disabled: this.disabled,
180
191
  focused: this.focused || this._focused,
181
192
  isText: typeof suffix === 'string',
182
- }), onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getContent(hasValueSlot), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: '6ae960c4a1fe98dd99d83af0035992e3aedcf86f', class: prefixAndSuffix({
193
+ }), onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getContent(hasValueSlot), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: 'c7814f67e1e466ba4c746e03ad3ac036fef817e0', class: prefixAndSuffix({
183
194
  error: !!this.error?.length,
184
195
  disabled: this.disabled,
185
196
  focused: this.focused || this._focused,
@@ -233,6 +244,7 @@ export class Field {
233
244
  const props = {
234
245
  class: input({
235
246
  disabled: this.disabled,
247
+ isTextarea: this.type === 'textarea',
236
248
  }),
237
249
  value: this.value,
238
250
  placeholder: this.placeholder,
@@ -244,7 +256,7 @@ export class Field {
244
256
  properties = JSON.parse(this.properties);
245
257
  }
246
258
  if (this.type === 'textarea') {
247
- h("textarea", { ref: ref => this._setInputRef(ref), ...props, ...properties });
259
+ return (h("textarea", { ref: ref => this._setInputRef(ref), ...props, ...properties }));
248
260
  }
249
261
  return (h("input", { type: this.type, ref: ref => this._setInputRef(ref), ...props, ...properties }));
250
262
  }
@@ -424,7 +436,7 @@ export class Field {
424
436
  "mutable": false,
425
437
  "complexType": {
426
438
  "original": "IconVariant",
427
- "resolved": "\"caret\" | \"double-caret\" | \"arrow\" | \"double-arrow\" | \"bell\" | \"chat\" | \"check-circle\" | \"cross-circle\" | \"error-circle\" | \"info-circle\" | \"phone\" | \"question-circle\" | \"headset\" | \"warning\" | \"attachment\" | \"description\" | \"document\" | \"folder\" | \"pdf\" | \"xls\" | \"bank\" | \"bread\" | \"cake\" | \"calculator\" | \"camera\" | \"car\" | \"certified\" | \"chair\" | \"checkmark\" | \"city\" | \"companies\" | \"company\" | \"credit-card\" | \"cutlery\" | \"department\" | \"diamond\" | \"docter\" | \"download\" | \"envelope\" | \"euro\" | \"exam\" | \"filter\" | \"flower\" | \"globe\" | \"globe-2\" | \"hash\" | \"hat\" | \"home\" | \"integration\" | \"language\" | \"laptop\" | \"location\" | \"mail\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"more\" | \"negative\" | \"other\" | \"pay\" | \"pencil\" | \"percent\" | \"pie-chart\" | \"placeholder\" | \"plus\" | \"power\" | \"receipt\" | \"reset\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"upload\" | \"wave\" | \"zipcode\" | \"eye\" | \"eye-closed\" | \"key\" | \"lock\" | \"unlocked\" | \"alarm\" | \"calendar\" | \"calendar-multi\" | \"calendar-free\" | \"calendar-not-free\" | \"clock\" | \"female\" | \"id\" | \"id-two\" | \"male\" | \"user\" | \"users\"",
439
+ "resolved": "\"caret\" | \"double-caret\" | \"arrow\" | \"double-arrow\" | \"bell\" | \"chat\" | \"check-circle\" | \"cross-circle\" | \"error-circle\" | \"info-circle\" | \"phone\" | \"question-circle\" | \"headset\" | \"warning\" | \"attachment\" | \"description\" | \"document\" | \"folder\" | \"pdf\" | \"xls\" | \"bank\" | \"bread\" | \"cake\" | \"calculator\" | \"camera\" | \"car\" | \"certified\" | \"chair\" | \"checkmark\" | \"city\" | \"companies\" | \"company\" | \"credit-card\" | \"cutlery\" | \"department\" | \"diamond\" | \"docter\" | \"download\" | \"envelope\" | \"euro\" | \"exam\" | \"filter\" | \"flower\" | \"globe\" | \"globe-2\" | \"hash\" | \"hat\" | \"home\" | \"integration\" | \"language\" | \"laptop\" | \"location\" | \"mail\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"more\" | \"negative\" | \"other\" | \"pay\" | \"pencil\" | \"percent\" | \"pie-chart\" | \"placeholder\" | \"plus\" | \"power\" | \"receipt\" | \"reset\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"upload\" | \"wave\" | \"zipcode\" | \"eye\" | \"eye-closed\" | \"key\" | \"lock\" | \"unlocked\" | \"alarm\" | \"calendar\" | \"calendar-multi\" | \"calendar-free\" | \"calendar-not-free\" | \"clock\" | \"female\" | \"id\" | \"id-two\" | \"male\" | \"user\" | \"users\" | \"checkmarkThick\"",
428
440
  "references": {
429
441
  "IconVariant": {
430
442
  "location": "import",
@@ -1 +1 @@
1
- {"version":3,"file":"field.component.js","sourceRoot":"","sources":["../../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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","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(['flex gap-2', 'w-inherit', 'border-solid rounded-lg'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tread: 'border-0 items-center',\n\t\t\twrite: 'border px-2',\n\t\t},\n\t\tsize: {\n\t\t\tsm: null,\n\t\t\tbase: null,\n\t\t},\n\t\tdisabled: {\n\t\t\tfalse: 'bg-white',\n\t\t\ttrue: 'bg-white-600 cursor-not-allowed',\n\t\t},\n\t\tfocused: {\n\t\t\tfalse: null,\n\t\t\ttrue: null,\n\t\t},\n\t\terror: {\n\t\t\tfalse: null,\n\t\t\ttrue: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tsize: 'sm',\n\t\t\tvariant: 'write',\n\t\t\tclass: 'h-6',\n\t\t},\n\t\t{\n\t\t\tsize: 'base',\n\t\t\tvariant: 'write',\n\t\t\tclass: 'h-8',\n\t\t},\n\n\t\t{\n\t\t\tsize: 'sm',\n\t\t\tvariant: 'read',\n\t\t\tclass: 'h-4',\n\t\t},\n\t\t{\n\t\t\tsize: 'base',\n\t\t\tvariant: 'read',\n\t\t\tclass: 'h-6',\n\t\t},\n\n\t\t{\n\t\t\tfocused: false,\n\t\t\terror: false,\n\t\t\tclass: 'border-black-teal-100',\n\t\t},\n\t\t{\n\t\t\tdisabled: false,\n\t\t\tfocused: true,\n\t\t\terror: false,\n\t\t\tclass:\n\t\t\t\t'border-supportive-lilac-800 ring ring-supportive-lilac-100 selection:bg-supportive-lilac',\n\t\t},\n\n\t\t{\n\t\t\tdisabled: false,\n\t\t\terror: true,\n\t\t\tclass: 'border-negative-red',\n\t\t},\n\t\t{\n\t\t\tdisabled: false,\n\t\t\tfocused: true,\n\t\t\terror: true,\n\t\t\tclass: 'ring ring-negative-red-50 selection:bg-negative-red-50',\n\t\t},\n\t],\n});\n\nconst input = cva(\n\t'text-sm placeholder:text-sm placeholder:text-black-teal-200 text-black-teal border-none outline-none focus:outline-none bg-transparent flex-1 min-w-0 h-full',\n\t{\n\t\tvariants: {\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'cursor-not-allowed',\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst prefixAndSuffix = cva(\n\t['flex flex-shrink-0 justify-center items-center text-center'],\n\t{\n\t\tvariants: {\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'text-black-teal-100',\n\t\t\t},\n\t\t\tfocused: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\terror: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tisText: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'text-sm',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: false,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'text-black-teal-300',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'text-black-teal-500',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: false,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'text-negative-red',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'text-negative-red-800',\n\t\t\t},\n\t\t],\n\t}\n);\n\n@Component({\n\ttag: 'p-field',\n\tstyleUrl: './field.component.css',\n\tshadow: true,\n})\nexport class Field {\n\t/**\n\t * The variant of the field\n\t */\n\t@Prop() variant: 'read' | 'write' = 'write';\n\n\t/**\n\t * The size of the field\n\t */\n\t@Prop() size: 'sm' | 'base' = 'base';\n\n\t/**\n\t * The type of the field\n\t */\n\t@Prop() type: HTMLInputTypeAttribute | 'textarea' | 'slot' = 'text';\n\n\t/**\n\t * The size of the field\n\t */\n\t@Prop() properties: any | string = {};\n\n\t/**\n\t * The prefix of the field\n\t */\n\t@Prop() prefix: string;\n\n\t/**\n\t * The suffix of the field\n\t */\n\t@Prop() suffix: string;\n\n\t/**\n\t * Icon of the field\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\t/**\n\t * Icon position\n\t */\n\t@Prop() iconPosition: 'start' | 'end' = 'start';\n\n\t/**\n\t * The value of the input\n\t */\n\t@Prop() value: string;\n\n\t/**\n\t * The label of the field\n\t */\n\t@Prop() label: string;\n\n\t/**\n\t * The placeholder of the input\n\t */\n\t@Prop() placeholder: string;\n\n\t/**\n\t * The helper of the field\n\t */\n\t@Prop() helper: string;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean = true;\n\n\t/**\n\t * Wether to autofocus the field\n\t */\n\t@Prop({ reflect: true }) autofocus: boolean = false;\n\n\t/**\n\t * The error to display\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * The placement of the error popover\n\t */\n\t@Prop() errorPlacement: Placement;\n\n\t/**\n\t * Wether the field is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the field is focused\n\t */\n\t@Prop({ reflect: true }) focused: boolean = false;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * Wether to select all text on focus\n\t */\n\t@Prop({ reflect: true }) selectAllOnFocus: boolean = true;\n\n\t/**\n\t * The method to use when focusing the input\n\t */\n\t@Prop() focusMethod: 'focus' | 'click' = 'focus';\n\n\t/**\n\t * The template for the optional text\n\t */\n\t@Prop() optionalTemplate: templateFunc;\n\n\t/**\n\t * Event whenever the value changes\n\t */\n\t@Event() valueChange: EventEmitter<string>;\n\n\t/**\n\t * Event whenever the input ref changes\n\t */\n\t@Event() inputRefChange: EventEmitter<HTMLInputElement | HTMLTextAreaElement>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _focused = false;\n\n\tprivate _inputRef: HTMLInputElement | HTMLTextAreaElement;\n\n\tcomponentDidLoad() {\n\t\tthis._checkAutoFocus();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\thasHeaderSlot,\n\t\t\thasLabelSlot,\n\t\t\thasHelperSlot,\n\t\t\thasErrorSlot,\n\t\t\thasValueSlot,\n\t\t} = this._getSlotInfo();\n\n\t\treturn (\n\t\t\t<Host class='p-field'>\n\t\t\t\t<p-field-container\n\t\t\t\t\tforceShowTooltip={this.forceShowTooltip || this._focused}\n\t\t\t\t\tlabel={this.label}\n\t\t\t\t\thelper={this.helper}\n\t\t\t\t\terror={this.error}\n\t\t\t\t\trequired={this.required}\n\t\t\t\t\tvariant={this.variant}\n\t\t\t\t>\n\t\t\t\t\t{hasLabelSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='label'\n\t\t\t\t\t\t\tslot='label'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasHeaderSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='header'\n\t\t\t\t\t\t\tslot='header'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasHelperSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='helper'\n\t\t\t\t\t\t\tslot='helper'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasErrorSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='error'\n\t\t\t\t\t\t\tslot='error'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={field({\n\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\tfocused: this.focused || this._focused,\n\t\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\t})}\n\t\t\t\t\t\tslot='content'\n\t\t\t\t\t>\n\t\t\t\t\t\t{(prefix || (this.icon && this.iconPosition === 'start')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={prefixAndSuffix({\n\t\t\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t\t\tfocused: this.focused || this._focused,\n\t\t\t\t\t\t\t\t\tisText: typeof suffix === 'string',\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.icon && this.iconPosition === 'start' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tprefix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{this._getContent(hasValueSlot)}\n\n\t\t\t\t\t\t{(suffix || (this.icon && this.iconPosition === 'end')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={prefixAndSuffix({\n\t\t\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t\t\tfocused: this.focused || this._focused,\n\t\t\t\t\t\t\t\t\tisText: typeof suffix === 'string',\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.icon && this.iconPosition === 'end' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tsuffix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</p-field-container>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('focusin')\n\thandleFocusIn() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focused = true;\n\t\tthis._selectAll();\n\t}\n\n\t@Listen('focusout')\n\thandleFocusOut() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focused = false;\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasPrefixSlot = !!this._el.querySelector(':scope > [slot=\"prefix\"]');\n\t\tconst hasSuffixSlot = !!this._el.querySelector(':scope > [slot=\"suffix\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasErrorSlot = !!this._el.querySelector(':scope > [slot=\"error\"]');\n\t\tconst hasValueSlot = !!this._el.querySelector(':scope > [slot=\"value\"]');\n\n\t\tconst prefix = hasPrefixSlot ? <slot name='prefix' /> : this.prefix;\n\t\tconst suffix = hasSuffixSlot ? <slot name='suffix' /> : this.suffix;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\tthis.error && typeof this.error === 'string' && this.error !== 'true';\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasPrefixSlot,\n\t\t\thasSuffixSlot,\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thasValueSlot,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t};\n\t}\n\n\tprivate _getContent(hasValueSlot = false) {\n\t\tif (this.variant === 'read') {\n\t\t\treturn (\n\t\t\t\t<div class='text-sm'>\n\t\t\t\t\t{hasValueSlot ? (\n\t\t\t\t\t\t<slot name='value' />\n\t\t\t\t\t) : !!this.value && this.value.length > 0 ? (\n\t\t\t\t\t\tthis.value\n\t\t\t\t\t) : (\n\t\t\t\t\t\t'—'\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\tif (this.type === 'slot') {\n\t\t\treturn <slot name='input' />;\n\t\t}\n\n\t\tconst props = {\n\t\t\tclass: input({\n\t\t\t\tdisabled: this.disabled,\n\t\t\t}),\n\t\t\tvalue: this.value,\n\t\t\tplaceholder: this.placeholder,\n\t\t\tdisabled: this.disabled,\n\t\t\tonInput: (ev: Event) => this._valueChange(ev),\n\t\t};\n\n\t\tlet properties = this.properties ?? {};\n\t\tif (typeof properties === 'string') {\n\t\t\tproperties = JSON.parse(this.properties);\n\t\t}\n\n\t\tif (this.type === 'textarea') {\n\t\t\t<textarea\n\t\t\t\tref={ref => this._setInputRef(ref)}\n\t\t\t\t{...props}\n\t\t\t\t{...properties}\n\t\t\t/>;\n\t\t}\n\n\t\treturn (\n\t\t\t<input\n\t\t\t\ttype={this.type}\n\t\t\t\tref={ref => this._setInputRef(ref)}\n\t\t\t\t{...props}\n\t\t\t\t{...properties}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _setInputRef(ref: HTMLInputElement | HTMLTextAreaElement) {\n\t\tthis._inputRef = ref;\n\t\tthis.inputRefChange.emit(ref);\n\t}\n\n\tprivate _focusInput() {\n\t\tif (this._inputRef) {\n\t\t\tthis._inputRef.focus();\n\t\t\treturn;\n\t\t}\n\n\t\tconst input = this._el.querySelector(':scope > [slot=\"input\"]');\n\t\t(input as HTMLElement)[this.focusMethod]();\n\t}\n\n\tprivate _selectAll() {\n\t\tif (!this._inputRef || !this.selectAllOnFocus) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._inputRef.select();\n\t}\n\n\tprivate _valueChange(ev) {\n\t\tconst value = (ev.target as HTMLTextAreaElement | HTMLInputElement).value;\n\t\tthis.value = value;\n\t\tthis.valueChange.emit(value);\n\t}\n\n\tprivate _checkAutoFocus() {\n\t\tif (!this.autofocus) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._inputRef) {\n\t\t\tsetTimeout(() => this._checkAutoFocus(), 100);\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focusInput();\n\t}\n}\n"]}
1
+ {"version":3,"file":"field.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/field/field.component.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,M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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","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(['flex gap-2', 'w-inherit', 'border-solid rounded-lg'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tread: 'border-0 items-center',\n\t\t\twrite: 'border px-2',\n\t\t},\n\t\tsize: {\n\t\t\tsm: null,\n\t\t\tbase: null,\n\t\t},\n\t\tdisabled: {\n\t\t\tfalse: 'bg-white',\n\t\t\ttrue: 'bg-white-600 cursor-not-allowed',\n\t\t},\n\t\tfocused: {\n\t\t\tfalse: null,\n\t\t\ttrue: null,\n\t\t},\n\t\terror: {\n\t\t\tfalse: null,\n\t\t\ttrue: null,\n\t\t},\n\t\tisTextarea: {\n\t\t\tfalse: null,\n\t\t\ttrue: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tsize: 'sm',\n\t\t\tvariant: 'write',\n\t\t\tisTextarea: false,\n\t\t\tclass: 'h-6',\n\t\t},\n\t\t{\n\t\t\tsize: 'base',\n\t\t\tvariant: 'write',\n\t\t\tisTextarea: false,\n\t\t\tclass: 'h-8',\n\t\t},\n\n\t\t{\n\t\t\tsize: 'sm',\n\t\t\tvariant: 'read',\n\t\t\tclass: 'h-4',\n\t\t},\n\t\t{\n\t\t\tsize: 'base',\n\t\t\tvariant: 'read',\n\t\t\tclass: 'h-6',\n\t\t},\n\n\t\t{\n\t\t\tfocused: false,\n\t\t\terror: false,\n\t\t\tclass: 'border-black-teal-100',\n\t\t},\n\t\t{\n\t\t\tdisabled: false,\n\t\t\tfocused: true,\n\t\t\terror: false,\n\t\t\tclass:\n\t\t\t\t'border-supportive-lilac-800 ring ring-supportive-lilac-100 selection:bg-supportive-lilac',\n\t\t},\n\n\t\t{\n\t\t\tdisabled: false,\n\t\t\terror: true,\n\t\t\tclass: 'border-negative-red',\n\t\t},\n\t\t{\n\t\t\tdisabled: false,\n\t\t\tfocused: true,\n\t\t\terror: true,\n\t\t\tclass: 'ring ring-negative-red-50 selection:bg-negative-red-50',\n\t\t},\n\t],\n});\n\nconst input = cva(\n\t'text-sm placeholder:text-sm placeholder:text-black-teal-200 text-black-teal border-none outline-none focus:outline-none bg-transparent flex-1 min-w-0',\n\t{\n\t\tvariants: {\n\t\t\tisTextarea: {\n\t\t\t\tfalse: 'h-full',\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'cursor-not-allowed',\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst prefixAndSuffix = cva(\n\t['flex flex-shrink-0 justify-center items-center text-center'],\n\t{\n\t\tvariants: {\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'text-black-teal-100',\n\t\t\t},\n\t\t\tfocused: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\terror: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tisText: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'text-sm',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: false,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'text-black-teal-300',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'text-black-teal-500',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: false,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'text-negative-red',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'text-negative-red-800',\n\t\t\t},\n\t\t],\n\t}\n);\n\n@Component({\n\ttag: 'p-field',\n\tstyleUrl: './field.component.css',\n\tshadow: true,\n})\nexport class Field {\n\t/**\n\t * The variant of the field\n\t */\n\t@Prop() variant: 'read' | 'write' = 'write';\n\n\t/**\n\t * The size of the field\n\t */\n\t@Prop() size: 'sm' | 'base' = 'base';\n\n\t/**\n\t * The type of the field\n\t */\n\t@Prop() type: HTMLInputTypeAttribute | 'textarea' | 'slot' = 'text';\n\n\t/**\n\t * The size of the field\n\t */\n\t@Prop() properties: any | string = {};\n\n\t/**\n\t * The prefix of the field\n\t */\n\t@Prop() prefix: string;\n\n\t/**\n\t * The suffix of the field\n\t */\n\t@Prop() suffix: string;\n\n\t/**\n\t * Icon of the field\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\t/**\n\t * Icon position\n\t */\n\t@Prop() iconPosition: 'start' | 'end' = 'start';\n\n\t/**\n\t * The value of the input\n\t */\n\t@Prop() value: string;\n\n\t/**\n\t * The label of the field\n\t */\n\t@Prop() label: string;\n\n\t/**\n\t * The placeholder of the input\n\t */\n\t@Prop() placeholder: string;\n\n\t/**\n\t * The helper of the field\n\t */\n\t@Prop() helper: string;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean = true;\n\n\t/**\n\t * Wether to autofocus the field\n\t */\n\t@Prop({ reflect: true }) autofocus: boolean = false;\n\n\t/**\n\t * The error to display\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * The placement of the error popover\n\t */\n\t@Prop() errorPlacement: Placement;\n\n\t/**\n\t * Wether the field is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the field is focused\n\t */\n\t@Prop({ reflect: true }) focused: boolean = false;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * Wether to select all text on focus\n\t */\n\t@Prop({ reflect: true }) selectAllOnFocus: boolean = true;\n\n\t/**\n\t * The method to use when focusing the input\n\t */\n\t@Prop() focusMethod: 'focus' | 'click' = 'focus';\n\n\t/**\n\t * The template for the optional text\n\t */\n\t@Prop() optionalTemplate: templateFunc;\n\n\t/**\n\t * Event whenever the value changes\n\t */\n\t@Event() valueChange: EventEmitter<string>;\n\n\t/**\n\t * Event whenever the input ref changes\n\t */\n\t@Event() inputRefChange: EventEmitter<HTMLInputElement | HTMLTextAreaElement>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _focused = false;\n\n\tprivate _inputRef: HTMLInputElement | HTMLTextAreaElement;\n\n\tcomponentDidLoad() {\n\t\tthis._checkAutoFocus();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\thasHeaderSlot,\n\t\t\thasLabelSlot,\n\t\t\thasHelperSlot,\n\t\t\thasErrorSlot,\n\t\t\thasValueSlot,\n\t\t} = this._getSlotInfo();\n\n\t\treturn (\n\t\t\t<Host class='p-field'>\n\t\t\t\t<p-field-container\n\t\t\t\t\tforceShowTooltip={this.forceShowTooltip || this._focused}\n\t\t\t\t\tlabel={this.label}\n\t\t\t\t\thelper={this.helper}\n\t\t\t\t\terror={this.error}\n\t\t\t\t\trequired={this.required}\n\t\t\t\t\tvariant={this.variant}\n\t\t\t\t>\n\t\t\t\t\t{hasLabelSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='label'\n\t\t\t\t\t\t\tslot='label'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasHeaderSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='header'\n\t\t\t\t\t\t\tslot='header'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasHelperSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='helper'\n\t\t\t\t\t\t\tslot='helper'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasErrorSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='error'\n\t\t\t\t\t\t\tslot='error'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={field({\n\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\tfocused: this.focused || this._focused,\n\t\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\t\tisTextarea: this.type === 'textarea',\n\t\t\t\t\t\t})}\n\t\t\t\t\t\tslot='content'\n\t\t\t\t\t>\n\t\t\t\t\t\t{(prefix || (this.icon && this.iconPosition === 'start')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={prefixAndSuffix({\n\t\t\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t\t\tfocused: this.focused || this._focused,\n\t\t\t\t\t\t\t\t\tisText: typeof suffix === 'string',\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.icon && this.iconPosition === 'start' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tprefix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{this._getContent(hasValueSlot)}\n\n\t\t\t\t\t\t{(suffix || (this.icon && this.iconPosition === 'end')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={prefixAndSuffix({\n\t\t\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t\t\tfocused: this.focused || this._focused,\n\t\t\t\t\t\t\t\t\tisText: typeof suffix === 'string',\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.icon && this.iconPosition === 'end' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tsuffix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</p-field-container>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('focusin')\n\thandleFocusIn() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focused = true;\n\t\tthis._selectAll();\n\t}\n\n\t@Listen('focusout')\n\thandleFocusOut() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focused = false;\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasPrefixSlot = !!this._el.querySelector(':scope > [slot=\"prefix\"]');\n\t\tconst hasSuffixSlot = !!this._el.querySelector(':scope > [slot=\"suffix\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasErrorSlot = !!this._el.querySelector(':scope > [slot=\"error\"]');\n\t\tconst hasValueSlot = !!this._el.querySelector(':scope > [slot=\"value\"]');\n\n\t\tconst prefix = hasPrefixSlot ? <slot name='prefix' /> : this.prefix;\n\t\tconst suffix = hasSuffixSlot ? <slot name='suffix' /> : this.suffix;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\tthis.error && typeof this.error === 'string' && this.error !== 'true';\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasPrefixSlot,\n\t\t\thasSuffixSlot,\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thasValueSlot,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t};\n\t}\n\n\tprivate _getContent(hasValueSlot = false) {\n\t\tif (this.variant === 'read') {\n\t\t\treturn (\n\t\t\t\t<div class='text-sm'>\n\t\t\t\t\t{hasValueSlot ? (\n\t\t\t\t\t\t<slot name='value' />\n\t\t\t\t\t) : !!this.value && this.value.length > 0 ? (\n\t\t\t\t\t\tthis.value\n\t\t\t\t\t) : (\n\t\t\t\t\t\t'—'\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\tif (this.type === 'slot') {\n\t\t\treturn <slot name='input' />;\n\t\t}\n\n\t\tconst props = {\n\t\t\tclass: input({\n\t\t\t\tdisabled: this.disabled,\n\t\t\t\tisTextarea: this.type === 'textarea',\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\treturn (\n\t\t\t\t<textarea\n\t\t\t\t\tref={ref => this._setInputRef(ref)}\n\t\t\t\t\t{...props}\n\t\t\t\t\t{...properties}\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<input\n\t\t\t\ttype={this.type}\n\t\t\t\tref={ref => this._setInputRef(ref)}\n\t\t\t\t{...props}\n\t\t\t\t{...properties}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _setInputRef(ref: HTMLInputElement | HTMLTextAreaElement) {\n\t\tthis._inputRef = ref;\n\t\tthis.inputRefChange.emit(ref);\n\t}\n\n\tprivate _focusInput() {\n\t\tif (this._inputRef) {\n\t\t\tthis._inputRef.focus();\n\t\t\treturn;\n\t\t}\n\n\t\tconst input = this._el.querySelector(':scope > [slot=\"input\"]');\n\t\t(input as HTMLElement)[this.focusMethod]();\n\t}\n\n\tprivate _selectAll() {\n\t\tif (!this._inputRef || !this.selectAllOnFocus) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._inputRef.select();\n\t}\n\n\tprivate _valueChange(ev) {\n\t\tconst value = (ev.target as HTMLTextAreaElement | HTMLInputElement).value;\n\t\tthis.value = value;\n\t\tthis.valueChange.emit(value);\n\t}\n\n\tprivate _checkAutoFocus() {\n\t\tif (!this.autofocus) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._inputRef) {\n\t\t\tsetTimeout(() => this._checkAutoFocus(), 100);\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focusInput();\n\t}\n}\n"]}
@@ -6,7 +6,7 @@ export class InputError {
6
6
  this._showTooltip = false;
7
7
  }
8
8
  render() {
9
- return (h(Host, { key: '1dfbd30a1da9a7662166b86f498a085c12b23f2a', class: 'p-input-error' }, h("p-tooltip", { key: 'c90ceaf3df4e65de6f52009ac1bd131783849911', variant: 'error', content: this.error, show: this.forceShowTooltip, onIsOpen: ev => (this._showTooltip = ev.detail) }, h("p-icon", { key: '6cf02d8edb26b1b1a8f0b961ae61ab70fbf38846', class: `${this._showTooltip ? 'text-negative' : 'text-negative-light'} hover:text-negative`, slot: 'trigger', variant: 'question-circle' }))));
9
+ return (h(Host, { key: '460e73ad12c19bbc3b68910d4cde77ca3a137255', class: 'p-input-error' }, h("p-tooltip", { key: '56237ea74bfb49a18d55f074ce1e3dcad8966315', variant: 'error', content: this.error, show: this.forceShowTooltip, onIsOpen: ev => (this._showTooltip = ev.detail) }, h("p-icon", { key: '9c5216370a29e37ac03b99d3039d458aa88f3629', class: `${this._showTooltip ? 'text-negative' : 'text-negative-light'} hover:text-negative`, slot: 'trigger', variant: 'question-circle' }))));
10
10
  }
11
11
  static get is() { return "p-input-error"; }
12
12
  static get encapsulation() { return "shadow"; }
@@ -32,11 +32,11 @@ export class InputGroup {
32
32
  }
33
33
  render() {
34
34
  const { hasHeaderSlot, helper, label, prefix, suffix, errorAndErrorIsNotBoolean, errorVariant, } = this._getSlotInfo();
35
- return (h(Host, { key: '9848be9dc18dbb66de4ffaeb0fd6377204355127', class: `p-input-group ${this.error?.length && 'error'} ${this.disabled && 'disabled'} ${this.focused && 'focused'} size-${this.size}` }, h("div", { key: '4d4035d525fe79a6afbd669bf49302fbd96ee4a9', class: 'flex items-end justify-between' }, label && (h("div", { key: '859e6c72d70ddd2b62c72170be460452d0d87d11', class: 'input-label', onClick: () => this._focusInput() }, label, this.required && h("span", { key: '19c99b31a2d0f5b6f03971b6441e459653e3af13', class: 'ml-1 text-negative' }, "*"))), (helper || hasHeaderSlot) && (h("div", { key: '3e2abec6c63ae8d26b42316d48516992c2bc699b', class: 'input-header' }, hasHeaderSlot && h("slot", { key: '1d100f887f1345ccfcf11e97d7667dd94355f026', name: 'header' }), helper && (h("p-helper", { key: '9dbf5401cd26db9421c526bd406c683829abd877', class: `flex ${hasHeaderSlot ? 'ml-2' : ''}`, placement: 'top-end' }, helper))))), h("p-tooltip", { key: '71ef03a090b4311c14d7c935809f147140791e9e', class: 'w-full', variant: 'error', content: this.error, show: errorAndErrorIsNotBoolean &&
35
+ return (h(Host, { key: 'e1db8ece4db4fbd573e24523d8c9f2e9f61a606e', class: `p-input-group ${this.error?.length && 'error'} ${this.disabled && 'disabled'} ${this.focused && 'focused'} size-${this.size}` }, h("div", { key: '3eb10740350c62abab9757a28e2c437bcb9b4ceb', class: 'flex items-end justify-between' }, label && (h("div", { key: 'adc870ba2c4cf9ad0a435a840d16558e1d516864', class: 'input-label', onClick: () => this._focusInput() }, label, this.required && h("span", { key: '01825a70124dcdf25a3bebd865478a35e4c6b740', class: 'ml-1 text-negative' }, "*"))), (helper || hasHeaderSlot) && (h("div", { key: 'fd665be178c2c41b72a552bdaa717edd79c61f2c', class: 'input-header' }, hasHeaderSlot && h("slot", { key: '22828aea8b76809870ddbf69b8beeee1529283b7', name: 'header' }), helper && (h("p-helper", { key: '818b5827687e1002dd6090b33445d3e97fce4292', class: `flex ${hasHeaderSlot ? 'ml-2' : ''}`, placement: 'top-end' }, helper))))), h("p-tooltip", { key: '01172dcd5be0ee0bae29b5fb340d40372ab1a141', class: 'w-full', variant: 'error', content: this.error, show: errorAndErrorIsNotBoolean &&
36
36
  errorVariant === 'element' &&
37
- (this.forceShowTooltip || this._forceShowTooltip), enableUserInput: false }, h("div", { key: '21bda229af33f22f4080ef66cd2b2821f755edd6', class: 'content', slot: 'trigger' }, (prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: '21f4e49db797a4ee2e6caee81d952858cc550567', class: `prefix size-${this.size}`, onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), (suffix ||
37
+ (this.forceShowTooltip || this._forceShowTooltip), enableUserInput: false }, h("div", { key: '47452ca6883a16b292f37a5d1e9f3389a9864537', class: 'content', slot: 'trigger' }, (prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: 'cb4511181318173ec678112195ae601dbd924e50', class: `prefix size-${this.size}`, onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), (suffix ||
38
38
  (errorAndErrorIsNotBoolean && errorVariant === 'icon') ||
39
- (this.icon && this.iconPosition === 'end')) && (h("div", { key: '033bc354c872c0b9fb351182d7466515642d3f9b', class: `suffix size-${this.size}`, onClick: () => this._focusInput() }, errorAndErrorIsNotBoolean && errorVariant === 'icon' ? (h("p-input-error", { error: this.error, forceShowTooltip: this.forceShowTooltip || this._forceShowTooltip })) : this.icon && this.iconPosition === 'end' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (suffix))), h("slot", { key: '1dc6aa666c99246ba2d532c435987875528af5f6', name: 'input' })))));
39
+ (this.icon && this.iconPosition === 'end')) && (h("div", { key: 'b3ee48219bb9a50cdf9385607fcd5b764746db07', class: `suffix size-${this.size}`, onClick: () => this._focusInput() }, errorAndErrorIsNotBoolean && errorVariant === 'icon' ? (h("p-input-error", { error: this.error, forceShowTooltip: this.forceShowTooltip || this._forceShowTooltip })) : this.icon && this.iconPosition === 'end' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (suffix))), h("slot", { key: 'e41a06801fc11044122862e066f0691f611743f0', name: 'input' })))));
40
40
  }
41
41
  handleFocusIn() {
42
42
  this._forceShowTooltip = true;
@@ -193,7 +193,7 @@ export class InputGroup {
193
193
  "mutable": false,
194
194
  "complexType": {
195
195
  "original": "IconVariant",
196
- "resolved": "\"caret\" | \"double-caret\" | \"arrow\" | \"double-arrow\" | \"bell\" | \"chat\" | \"check-circle\" | \"cross-circle\" | \"error-circle\" | \"info-circle\" | \"phone\" | \"question-circle\" | \"headset\" | \"warning\" | \"attachment\" | \"description\" | \"document\" | \"folder\" | \"pdf\" | \"xls\" | \"bank\" | \"bread\" | \"cake\" | \"calculator\" | \"camera\" | \"car\" | \"certified\" | \"chair\" | \"checkmark\" | \"city\" | \"companies\" | \"company\" | \"credit-card\" | \"cutlery\" | \"department\" | \"diamond\" | \"docter\" | \"download\" | \"envelope\" | \"euro\" | \"exam\" | \"filter\" | \"flower\" | \"globe\" | \"globe-2\" | \"hash\" | \"hat\" | \"home\" | \"integration\" | \"language\" | \"laptop\" | \"location\" | \"mail\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"more\" | \"negative\" | \"other\" | \"pay\" | \"pencil\" | \"percent\" | \"pie-chart\" | \"placeholder\" | \"plus\" | \"power\" | \"receipt\" | \"reset\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"upload\" | \"wave\" | \"zipcode\" | \"eye\" | \"eye-closed\" | \"key\" | \"lock\" | \"unlocked\" | \"alarm\" | \"calendar\" | \"calendar-multi\" | \"calendar-free\" | \"calendar-not-free\" | \"clock\" | \"female\" | \"id\" | \"id-two\" | \"male\" | \"user\" | \"users\"",
196
+ "resolved": "\"caret\" | \"double-caret\" | \"arrow\" | \"double-arrow\" | \"bell\" | \"chat\" | \"check-circle\" | \"cross-circle\" | \"error-circle\" | \"info-circle\" | \"phone\" | \"question-circle\" | \"headset\" | \"warning\" | \"attachment\" | \"description\" | \"document\" | \"folder\" | \"pdf\" | \"xls\" | \"bank\" | \"bread\" | \"cake\" | \"calculator\" | \"camera\" | \"car\" | \"certified\" | \"chair\" | \"checkmark\" | \"city\" | \"companies\" | \"company\" | \"credit-card\" | \"cutlery\" | \"department\" | \"diamond\" | \"docter\" | \"download\" | \"envelope\" | \"euro\" | \"exam\" | \"filter\" | \"flower\" | \"globe\" | \"globe-2\" | \"hash\" | \"hat\" | \"home\" | \"integration\" | \"language\" | \"laptop\" | \"location\" | \"mail\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"more\" | \"negative\" | \"other\" | \"pay\" | \"pencil\" | \"percent\" | \"pie-chart\" | \"placeholder\" | \"plus\" | \"power\" | \"receipt\" | \"reset\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"upload\" | \"wave\" | \"zipcode\" | \"eye\" | \"eye-closed\" | \"key\" | \"lock\" | \"unlocked\" | \"alarm\" | \"calendar\" | \"calendar-multi\" | \"calendar-free\" | \"calendar-not-free\" | \"clock\" | \"female\" | \"id\" | \"id-two\" | \"male\" | \"user\" | \"users\" | \"checkmarkThick\"",
197
197
  "references": {
198
198
  "IconVariant": {
199
199
  "location": "import",
@@ -37,14 +37,14 @@ export class Label {
37
37
  this.keepMobileContent = false;
38
38
  }
39
39
  render() {
40
- return (h(Host, { key: '04c0b2510fd1ae8cad957ee02d7d54245b7fdbb0', class: 'p-label' }, h("div", { key: '7dfd0871e52cef46c49f0c30e58facfa603c5d0f', class: label({
40
+ return (h(Host, { key: 'f1dbab04a321adb28cd47e777cc47ef3e6e7f770', class: 'p-label' }, h("div", { key: 'b1bb0deb6c4fd2055450f30b30e85bba3edd8acc', class: label({
41
41
  variant: this.variant,
42
42
  iconOnly: this.iconOnly,
43
43
  keepMobileContent: this.keepMobileContent,
44
- }) }, this.icon && (h("p-icon", { key: 'b70587122206d6b26785cbf5e9e8219219aeb7d0', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (h("div", { key: '5426ae86e86f205b04130628923f3d53747c85d5', class: cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm', {
44
+ }) }, this.icon && (h("p-icon", { key: '8bc53a171591d529cf9f2608192749c9c6d7c48d', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (h("div", { key: 'cace3296ad188e08576a9bf145663a9b457901bd', class: cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm', {
45
45
  hidden: !this.keepMobileContent,
46
46
  'desktop-xs:block': !this.keepMobileContent,
47
- }) }, h("slot", { key: '62413d44b71c12291cb13997e839774d2b047fdd' }))))));
47
+ }) }, h("slot", { key: 'a449801a77365afd4ecf916434b3a889dea315ee' }))))));
48
48
  }
49
49
  static get is() { return "p-label"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -105,7 +105,7 @@ export class Label {
105
105
  "mutable": false,
106
106
  "complexType": {
107
107
  "original": "IconVariant",
108
- "resolved": "\"caret\" | \"double-caret\" | \"arrow\" | \"double-arrow\" | \"bell\" | \"chat\" | \"check-circle\" | \"cross-circle\" | \"error-circle\" | \"info-circle\" | \"phone\" | \"question-circle\" | \"headset\" | \"warning\" | \"attachment\" | \"description\" | \"document\" | \"folder\" | \"pdf\" | \"xls\" | \"bank\" | \"bread\" | \"cake\" | \"calculator\" | \"camera\" | \"car\" | \"certified\" | \"chair\" | \"checkmark\" | \"city\" | \"companies\" | \"company\" | \"credit-card\" | \"cutlery\" | \"department\" | \"diamond\" | \"docter\" | \"download\" | \"envelope\" | \"euro\" | \"exam\" | \"filter\" | \"flower\" | \"globe\" | \"globe-2\" | \"hash\" | \"hat\" | \"home\" | \"integration\" | \"language\" | \"laptop\" | \"location\" | \"mail\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"more\" | \"negative\" | \"other\" | \"pay\" | \"pencil\" | \"percent\" | \"pie-chart\" | \"placeholder\" | \"plus\" | \"power\" | \"receipt\" | \"reset\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"upload\" | \"wave\" | \"zipcode\" | \"eye\" | \"eye-closed\" | \"key\" | \"lock\" | \"unlocked\" | \"alarm\" | \"calendar\" | \"calendar-multi\" | \"calendar-free\" | \"calendar-not-free\" | \"clock\" | \"female\" | \"id\" | \"id-two\" | \"male\" | \"user\" | \"users\"",
108
+ "resolved": "\"caret\" | \"double-caret\" | \"arrow\" | \"double-arrow\" | \"bell\" | \"chat\" | \"check-circle\" | \"cross-circle\" | \"error-circle\" | \"info-circle\" | \"phone\" | \"question-circle\" | \"headset\" | \"warning\" | \"attachment\" | \"description\" | \"document\" | \"folder\" | \"pdf\" | \"xls\" | \"bank\" | \"bread\" | \"cake\" | \"calculator\" | \"camera\" | \"car\" | \"certified\" | \"chair\" | \"checkmark\" | \"city\" | \"companies\" | \"company\" | \"credit-card\" | \"cutlery\" | \"department\" | \"diamond\" | \"docter\" | \"download\" | \"envelope\" | \"euro\" | \"exam\" | \"filter\" | \"flower\" | \"globe\" | \"globe-2\" | \"hash\" | \"hat\" | \"home\" | \"integration\" | \"language\" | \"laptop\" | \"location\" | \"mail\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"more\" | \"negative\" | \"other\" | \"pay\" | \"pencil\" | \"percent\" | \"pie-chart\" | \"placeholder\" | \"plus\" | \"power\" | \"receipt\" | \"reset\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"upload\" | \"wave\" | \"zipcode\" | \"eye\" | \"eye-closed\" | \"key\" | \"lock\" | \"unlocked\" | \"alarm\" | \"calendar\" | \"calendar-multi\" | \"calendar-free\" | \"calendar-not-free\" | \"clock\" | \"female\" | \"id\" | \"id-two\" | \"male\" | \"user\" | \"users\" | \"checkmarkThick\"",
109
109
  "references": {
110
110
  "IconVariant": {
111
111
  "location": "import",
@@ -43,10 +43,10 @@ export class NavigationItem {
43
43
  render() {
44
44
  const TagType = this.as;
45
45
  const active = this.active || this.class?.includes('active');
46
- return (h(Host, { key: '79388e74c4f842451ba5bfc706b69905cdbd23f3', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '6f7f1bcabc8818c254af81a137c4f111e7405302', class: navigationItem({
46
+ return (h(Host, { key: '988a4b84ab9146aa06de915a06092894e9cf0a68', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '8cade7e9dc59ae1adc5fb6325d6c008e8f0a207f', class: navigationItem({
47
47
  icon: !!this.icon,
48
48
  active,
49
- }), href: this.href, target: this.target }, h("div", { key: '37f9fea4dafa366137346990d27b1c4ed483f9f7', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: 'ac71d3273d79a30dfdf3383ad988fc57755676dd', variant: this.icon })), h("span", { key: '2125e1909ebdb212e6b873b73edcbaae7d936d50', class: this.counter && 'has-counter' }, h("slot", { key: 'dd26013244c8282e21de4c32c6a7a28a15e52433' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: 'c8a88ea5590e98e8d2e9fe3f381a334167ae7920' }, this.counter)), !!this.loading && h("p-loader", { key: 'ba965e9b68f55340f3c69fc4dd120b6ee7dcbb44', class: 'ml-auto' }))));
49
+ }), href: this.href, target: this.target }, h("div", { key: '5f6cc2d0065d91bf7f5d943b2c62d28c0282a553', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '727250f6b3a18be24f2e8071cd2e8a0ba42c0ee5', variant: this.icon })), h("span", { key: 'c8d4814d0144a79305fc07ac5707a530a88a6628', class: this.counter && 'has-counter' }, h("slot", { key: '03b08d43b3185ddcff581f2704037ff3268cc7f0' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '8d3e54e2dd4d9e6c37c6fa7f9a29b09f743c6cc6' }, this.counter)), !!this.loading && h("p-loader", { key: '7f1fc5d2e891a3ae79bb56497823017d264843cd', class: 'ml-auto' }))));
50
50
  }
51
51
  static get is() { return "p-navigation-item"; }
52
52
  static get originalStyleUrls() {
@@ -66,7 +66,7 @@ export class NavigationItem {
66
66
  "mutable": false,
67
67
  "complexType": {
68
68
  "original": "IconVariant",
69
- "resolved": "\"caret\" | \"double-caret\" | \"arrow\" | \"double-arrow\" | \"bell\" | \"chat\" | \"check-circle\" | \"cross-circle\" | \"error-circle\" | \"info-circle\" | \"phone\" | \"question-circle\" | \"headset\" | \"warning\" | \"attachment\" | \"description\" | \"document\" | \"folder\" | \"pdf\" | \"xls\" | \"bank\" | \"bread\" | \"cake\" | \"calculator\" | \"camera\" | \"car\" | \"certified\" | \"chair\" | \"checkmark\" | \"city\" | \"companies\" | \"company\" | \"credit-card\" | \"cutlery\" | \"department\" | \"diamond\" | \"docter\" | \"download\" | \"envelope\" | \"euro\" | \"exam\" | \"filter\" | \"flower\" | \"globe\" | \"globe-2\" | \"hash\" | \"hat\" | \"home\" | \"integration\" | \"language\" | \"laptop\" | \"location\" | \"mail\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"more\" | \"negative\" | \"other\" | \"pay\" | \"pencil\" | \"percent\" | \"pie-chart\" | \"placeholder\" | \"plus\" | \"power\" | \"receipt\" | \"reset\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"upload\" | \"wave\" | \"zipcode\" | \"eye\" | \"eye-closed\" | \"key\" | \"lock\" | \"unlocked\" | \"alarm\" | \"calendar\" | \"calendar-multi\" | \"calendar-free\" | \"calendar-not-free\" | \"clock\" | \"female\" | \"id\" | \"id-two\" | \"male\" | \"user\" | \"users\"",
69
+ "resolved": "\"caret\" | \"double-caret\" | \"arrow\" | \"double-arrow\" | \"bell\" | \"chat\" | \"check-circle\" | \"cross-circle\" | \"error-circle\" | \"info-circle\" | \"phone\" | \"question-circle\" | \"headset\" | \"warning\" | \"attachment\" | \"description\" | \"document\" | \"folder\" | \"pdf\" | \"xls\" | \"bank\" | \"bread\" | \"cake\" | \"calculator\" | \"camera\" | \"car\" | \"certified\" | \"chair\" | \"checkmark\" | \"city\" | \"companies\" | \"company\" | \"credit-card\" | \"cutlery\" | \"department\" | \"diamond\" | \"docter\" | \"download\" | \"envelope\" | \"euro\" | \"exam\" | \"filter\" | \"flower\" | \"globe\" | \"globe-2\" | \"hash\" | \"hat\" | \"home\" | \"integration\" | \"language\" | \"laptop\" | \"location\" | \"mail\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"more\" | \"negative\" | \"other\" | \"pay\" | \"pencil\" | \"percent\" | \"pie-chart\" | \"placeholder\" | \"plus\" | \"power\" | \"receipt\" | \"reset\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"upload\" | \"wave\" | \"zipcode\" | \"eye\" | \"eye-closed\" | \"key\" | \"lock\" | \"unlocked\" | \"alarm\" | \"calendar\" | \"calendar-multi\" | \"calendar-free\" | \"calendar-not-free\" | \"clock\" | \"female\" | \"id\" | \"id-two\" | \"male\" | \"user\" | \"users\" | \"checkmarkThick\"",
70
70
  "references": {
71
71
  "IconVariant": {
72
72
  "location": "import",
@@ -4,7 +4,7 @@ export class NavigationSection {
4
4
  this.header = undefined;
5
5
  }
6
6
  render() {
7
- return (h(Host, { key: 'd08d6483e06b2f42650d3b866d9b80b3ecf493fe', class: 'p-navigation-section flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '36c6cad94d0d3372fd81448f29011ee6eb880447' }, this.header)), h("div", { key: '0592eab02c6dfbaea10457f7c148b00de228f1e5', class: 'flex flex-col' }, h("slot", { key: 'e1f2e8847c6b7cdb10696ac9a2a5409a00a94018' }))));
7
+ return (h(Host, { key: '6cddd1e00b61b3f1a3567a69d2de1c1117822fa3', class: 'p-navigation-section flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '084887a5d8fc5d0c45c2faac96aead364bf93fa8' }, this.header)), h("div", { key: '1b8b27d6fbeee63a2262bfe2e4d72a4eb0ebd5a5', class: 'flex flex-col' }, h("slot", { key: '1bbd452c7ecd6bee4d79678b849e02164c828f9f' }))));
8
8
  }
9
9
  static get is() { return "p-navigation-section"; }
10
10
  static get originalStyleUrls() {
@@ -1 +1 @@
1
- .flex{display:flex!important}*{box-sizing:border-box}p-pagination{display:flex}.static{position:static!important}.hidden{display:none!important}
1
+ *{box-sizing:border-box}.static{position:static!important}.mx-0{margin-left:0!important;margin-right:0!important}.flex{display:flex!important}.hidden{display:none!important}.h-4{height:1rem!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-off-white-700{--tw-border-opacity:1!important;border-color:rgb(222 219 213/var(--tw-border-opacity,1))!important}.bg-off-white-300{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}.p-1{padding:.25rem!important}.text-human-beige-700{--tw-text-opacity:1!important;color:rgb(231 216 203/var(--tw-text-opacity,1))!important}