@paperless/core 3.0.2 → 3.1.0

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 (453) hide show
  1. package/dist/build/index.esm.js +1 -1
  2. package/dist/build/p-047da5c9.entry.js +1 -0
  3. package/dist/build/p-099fed2a.entry.js +1 -0
  4. package/dist/build/p-0b4b4cf7.entry.js +1 -0
  5. package/dist/build/p-16c98151.entry.js +1 -0
  6. package/dist/build/p-18245eb9.entry.js +1 -0
  7. package/dist/build/p-1ac00601.entry.js +1 -0
  8. package/dist/build/p-1be02ecd.entry.js +1 -0
  9. package/dist/build/p-1c6555d0.entry.js +1 -0
  10. package/dist/build/p-1fa99d63.entry.js +1 -0
  11. package/dist/build/p-2a9e2f97.entry.js +1 -0
  12. package/dist/build/p-2eb0963d.entry.js +1 -0
  13. package/dist/build/p-33c965ed.entry.js +1 -0
  14. package/dist/build/p-33fc3203.entry.js +1 -0
  15. package/dist/build/p-34448061.entry.js +1 -0
  16. package/dist/build/{p-57abbf5d.js → p-3a5ebbd7.js} +1 -1
  17. package/dist/build/p-459f7a0b.entry.js +1 -0
  18. package/dist/build/p-4baa94c0.entry.js +1 -0
  19. package/dist/build/p-5f2b2731.entry.js +1 -0
  20. package/dist/build/p-6412710a.entry.js +1 -0
  21. package/dist/build/p-673c243e.entry.js +1 -0
  22. package/dist/build/p-6ac04b16.entry.js +1 -0
  23. package/dist/build/p-7158dacd.entry.js +1 -0
  24. package/dist/build/p-7be1c70d.entry.js +1 -0
  25. package/dist/build/p-7c4f3d89.entry.js +1 -0
  26. package/dist/{paperless/p-2ab9ae7b.entry.js → build/p-8a2690df.entry.js} +1 -1
  27. package/dist/{paperless/p-9d7732b8.entry.js → build/p-8a8adc4d.entry.js} +1 -1
  28. package/dist/build/p-9889be94.entry.js +1 -0
  29. package/dist/build/p-99522e10.entry.js +1 -0
  30. package/dist/build/p-9e1977a6.entry.js +1 -0
  31. package/dist/build/{p-CHZgJJeM.js → p-DeWIZIsV.js} +1 -1
  32. package/dist/build/p-aca48431.entry.js +1 -0
  33. package/dist/build/p-afa4d38a.entry.js +1 -0
  34. package/dist/build/p-b70ee063.entry.js +1 -0
  35. package/dist/build/p-b745b141.entry.js +1 -0
  36. package/dist/build/p-bcfbb856.entry.js +1 -0
  37. package/dist/build/p-cdcc28c2.entry.js +1 -0
  38. package/dist/build/p-dbac42ad.entry.js +1 -0
  39. package/dist/build/p-e00be7e7.entry.js +1 -0
  40. package/dist/build/p-e2219fa7.entry.js +1 -0
  41. package/dist/build/p-e30ef289.entry.js +1 -0
  42. package/dist/build/p-ecc80c01.entry.js +1 -0
  43. package/dist/build/p-fbd4c0ed.entry.js +1 -0
  44. package/dist/build/paperless.esm.js +1 -1
  45. package/dist/cjs/index.cjs.js +1 -1
  46. package/dist/cjs/p-attachment.cjs.entry.js +22 -9
  47. package/dist/cjs/p-avatar.cjs.entry.js +5 -2
  48. package/dist/cjs/p-backdrop.cjs.entry.js +19 -7
  49. package/dist/cjs/p-badge_3.cjs.entry.js +29 -11
  50. package/dist/cjs/p-button_3.cjs.entry.js +103 -31
  51. package/dist/cjs/p-calendar.cjs.entry.js +14 -7
  52. package/dist/cjs/p-card-container.cjs.entry.js +16 -6
  53. package/dist/cjs/p-card-header.cjs.entry.js +6 -3
  54. package/dist/cjs/p-checkbox_3.cjs.entry.js +63 -29
  55. package/dist/cjs/p-content-slider.cjs.entry.js +12 -2
  56. package/dist/cjs/p-cropper.cjs.entry.js +1 -1
  57. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  58. package/dist/cjs/p-divider.cjs.entry.js +29 -7
  59. package/dist/cjs/p-drawer-body_3.cjs.entry.js +23 -10
  60. package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +105 -33
  61. package/dist/cjs/p-empty-state_8.cjs.entry.js +74 -34
  62. package/dist/cjs/p-field_3.cjs.entry.js +65 -26
  63. package/dist/cjs/p-floating-menu-item.cjs.entry.js +17 -7
  64. package/dist/cjs/p-info-panel.cjs.entry.js +52 -16
  65. package/dist/cjs/p-label.cjs.entry.js +16 -7
  66. package/dist/cjs/p-layout.cjs.entry.js +4 -1
  67. package/dist/cjs/p-listing-item.cjs.entry.js +1 -1
  68. package/dist/cjs/p-modal-body_4.cjs.entry.js +42 -18
  69. package/dist/cjs/p-navbar.cjs.entry.js +25 -8
  70. package/dist/cjs/p-navigation-item.cjs.entry.js +21 -9
  71. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  72. package/dist/cjs/p-pagination_3.cjs.entry.js +20 -14
  73. package/dist/cjs/p-profile.cjs.entry.js +2 -2
  74. package/dist/cjs/p-radio.cjs.entry.js +47 -20
  75. package/dist/cjs/p-range.cjs.entry.js +3 -3
  76. package/dist/cjs/p-select.cjs.entry.js +19 -9
  77. package/dist/cjs/p-smile.cjs.entry.js +5 -2
  78. package/dist/cjs/p-stepper-item_2.cjs.entry.js +27 -15
  79. package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
  80. package/dist/cjs/p-tab-item.cjs.entry.js +22 -6
  81. package/dist/cjs/p-table.cjs.entry.js +1 -1
  82. package/dist/cjs/p-toast-container.cjs.entry.js +10 -5
  83. package/dist/cjs/p-toast.cjs.entry.js +19 -7
  84. package/dist/cjs/p-toggle.cjs.entry.js +67 -23
  85. package/dist/cjs/p-tooltip.cjs.entry.js +11 -5
  86. package/dist/cjs/{table-helpers-D7cRsAPO.js → table-helpers-CskH_8AL.js} +2 -2
  87. package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +5 -2
  88. package/dist/collection/components/atoms/backdrop/backdrop.component.js +19 -7
  89. package/dist/collection/components/atoms/badge/badge.component.js +9 -3
  90. package/dist/collection/components/atoms/card/container/card-container.component.js +16 -6
  91. package/dist/collection/components/atoms/card/header/card-header.component.js +6 -3
  92. package/dist/collection/components/atoms/checkbox/checkbox.component.js +57 -23
  93. package/dist/collection/components/atoms/divider/divider.component.js +29 -7
  94. package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +12 -5
  95. package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +11 -5
  96. package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +6 -6
  97. package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +78 -21
  98. package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.component.js +1 -1
  99. package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +17 -7
  100. package/dist/collection/components/atoms/helper/helper.component.js +1 -1
  101. package/dist/collection/components/atoms/info-panel/info-panel.component.js +52 -16
  102. package/dist/collection/components/atoms/layout/layout.component.js +4 -1
  103. package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
  104. package/dist/collection/components/atoms/loader/loader.component.js +8 -2
  105. package/dist/collection/components/atoms/modal/body/modal-body.component.js +14 -5
  106. package/dist/collection/components/atoms/modal/container/modal-container.component.js +16 -7
  107. package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
  108. package/dist/collection/components/atoms/modal/header/modal-header.component.js +11 -5
  109. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  110. package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +27 -12
  111. package/dist/collection/components/atoms/radio/radio.component.js +47 -20
  112. package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
  113. package/dist/collection/components/atoms/segment/item/segment-item.component.js +19 -7
  114. package/dist/collection/components/atoms/smile/smile.component.js +5 -2
  115. package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +27 -15
  116. package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
  117. package/dist/collection/components/atoms/tab/item/tab-item.component.js +22 -6
  118. package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
  119. package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +6 -3
  120. package/dist/collection/components/atoms/toast-container/toast-container.component.js +10 -5
  121. package/dist/collection/components/atoms/toggle/toggle.component.js +67 -23
  122. package/dist/collection/components/atoms/tooltip/tooltip.component.js +11 -5
  123. package/dist/collection/components/molecules/attachment/attachment.component.js +22 -9
  124. package/dist/collection/components/molecules/button/button.component.js +95 -29
  125. package/dist/collection/components/molecules/calendar/calendar.component.js +14 -7
  126. package/dist/collection/components/molecules/content-slider/content-slider.component.js +12 -2
  127. package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
  128. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  129. package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
  130. package/dist/collection/components/molecules/field/container/field-container.component.js +9 -6
  131. package/dist/collection/components/molecules/field/field/field.component.js +55 -19
  132. package/dist/collection/components/molecules/label/label.component.js +16 -7
  133. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +21 -9
  134. package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
  135. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
  136. package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +16 -10
  137. package/dist/collection/components/molecules/profile/profile.component.js +2 -2
  138. package/dist/collection/components/molecules/range/range.component.js +3 -3
  139. package/dist/collection/components/molecules/select/select.component.js +19 -9
  140. package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
  141. package/dist/collection/components/molecules/table/footer/table-footer.component.js +14 -7
  142. package/dist/collection/components/molecules/table/header/table-header.component.js +31 -11
  143. package/dist/collection/components/molecules/table/row/table-row.component.js +18 -8
  144. package/dist/collection/components/molecules/toast/toast.component.js +19 -7
  145. package/dist/collection/components/organisms/navbar/navbar.component.js +25 -8
  146. package/dist/collection/utils/table-helpers.js +2 -2
  147. package/dist/components/index.js +1 -1
  148. package/dist/components/p--52gTdZ4.js +1 -0
  149. package/dist/components/p-0EHH7Dl0.js +1 -0
  150. package/dist/components/p-2yaxaWU2.js +1 -0
  151. package/dist/components/p-4DN7zVtS.js +1 -0
  152. package/dist/components/p-B0rHem3C.js +1 -0
  153. package/dist/components/p-BBAR0LE7.js +1 -0
  154. package/dist/components/{p-Duu0fwUk.js → p-BBwQm_OH.js} +1 -1
  155. package/dist/components/{p-CsM6uU5j.js → p-BCZqknrJ.js} +1 -1
  156. package/dist/components/p-BCddfleq.js +1 -0
  157. package/dist/components/p-BKXDGrK7.js +1 -0
  158. package/dist/components/{p-DMxy9lYo.js → p-BSsW37JK.js} +1 -1
  159. package/dist/components/p-B_7CTN-Q.js +1 -0
  160. package/dist/components/p-BaiRAcrb.js +1 -0
  161. package/dist/components/p-BfH-C6uv.js +1 -0
  162. package/dist/components/p-BrLLMmZa.js +1 -0
  163. package/dist/components/p-Bru1muWj.js +1 -0
  164. package/dist/components/{p-Bl7NThUo.js → p-BtH8h7p9.js} +1 -1
  165. package/dist/components/p-BtI7diO6.js +1 -0
  166. package/dist/components/{p-CFSNSi-H.js → p-BtliZ0U_.js} +1 -1
  167. package/dist/components/p-C1HzSmDf.js +1 -0
  168. package/dist/components/p-C4dZ9NAe.js +1 -0
  169. package/dist/components/p-CHER4MCx.js +1 -0
  170. package/dist/components/{p-CGKUYLex.js → p-CTQuFuDk.js} +1 -1
  171. package/dist/components/p-CoBFv4r3.js +1 -0
  172. package/dist/components/p-Crasy6LB.js +1 -0
  173. package/dist/components/{p-BcD4BpWF.js → p-CtAGaRd5.js} +1 -1
  174. package/dist/components/p-D5t-6wkl.js +1 -0
  175. package/dist/components/p-D6iTsl8U.js +1 -0
  176. package/dist/components/p-D8faiybE.js +1 -0
  177. package/dist/components/p-DDV-lx3_.js +1 -0
  178. package/dist/components/p-DP6H82uQ.js +1 -0
  179. package/dist/components/{p-Bv-ByGSf.js → p-DSv8ajJ4.js} +1 -1
  180. package/dist/components/p-DXsoAHFt.js +1 -0
  181. package/dist/components/p-DmzyuekN.js +1 -0
  182. package/dist/components/p-DncIsq-f.js +1 -0
  183. package/dist/components/p-G57Mci8u.js +1 -0
  184. package/dist/components/p-MeQ48Q-1.js +1 -0
  185. package/dist/components/p-QJoR_dmN.js +1 -0
  186. package/dist/components/{p-3RT3BYex.js → p-WEZng7dj.js} +1 -1
  187. package/dist/components/p-accordion.js +1 -1
  188. package/dist/components/p-attachment.js +1 -1
  189. package/dist/components/p-avatar.js +1 -1
  190. package/dist/components/p-backdrop.js +1 -1
  191. package/dist/components/p-badge.js +1 -1
  192. package/dist/components/p-button.js +1 -1
  193. package/dist/components/p-calendar.js +1 -1
  194. package/dist/components/p-card-container.js +1 -1
  195. package/dist/components/p-card-header.js +1 -1
  196. package/dist/components/p-checkbox.js +1 -1
  197. package/dist/components/p-content-slider.js +1 -1
  198. package/dist/components/p-cropper.js +2 -2
  199. package/dist/components/p-datepicker.js +1 -1
  200. package/dist/components/p-divider.js +1 -1
  201. package/dist/components/p-drawer-container.js +1 -1
  202. package/dist/components/p-drawer-header.js +1 -1
  203. package/dist/components/p-drawer.js +1 -1
  204. package/dist/components/p-dropdown-menu-container.js +1 -1
  205. package/dist/components/p-dropdown-menu-item.js +1 -1
  206. package/dist/components/p-dropdown.js +1 -1
  207. package/dist/components/p-empty-state.js +1 -1
  208. package/dist/components/p-field-container.js +1 -1
  209. package/dist/components/p-field.js +1 -1
  210. package/dist/components/p-floating-menu-container.js +1 -1
  211. package/dist/components/p-floating-menu-item.js +1 -1
  212. package/dist/components/p-helper.js +1 -1
  213. package/dist/components/p-iLGr9rDU.js +1 -0
  214. package/dist/components/p-info-panel.js +1 -1
  215. package/dist/components/p-label.js +1 -1
  216. package/dist/components/p-layout.js +1 -1
  217. package/dist/components/p-listing-item.js +1 -1
  218. package/dist/components/p-loader.js +1 -1
  219. package/dist/components/p-modal-body.js +1 -1
  220. package/dist/components/p-modal-container.js +1 -1
  221. package/dist/components/p-modal-footer.js +1 -1
  222. package/dist/components/p-modal-header.js +1 -1
  223. package/dist/components/p-modal.js +1 -1
  224. package/dist/components/p-navbar.js +1 -1
  225. package/dist/components/p-navigation-item.js +1 -1
  226. package/dist/components/p-navigation-section.js +1 -1
  227. package/dist/components/p-navigation-title.js +1 -1
  228. package/dist/components/p-pagination-pages-item.js +1 -1
  229. package/dist/components/p-pagination-pages.js +1 -1
  230. package/dist/components/p-pagination-size.js +1 -1
  231. package/dist/components/p-pagination.js +1 -1
  232. package/dist/components/p-profile.js +1 -1
  233. package/dist/components/p-qeQ4j6y4.js +1 -0
  234. package/dist/components/p-radio.js +1 -1
  235. package/dist/components/p-range.js +1 -1
  236. package/dist/components/p-segment-container.js +1 -1
  237. package/dist/components/p-segment-item.js +1 -1
  238. package/dist/components/p-select.js +1 -1
  239. package/dist/components/p-smile.js +1 -1
  240. package/dist/components/p-stepper-item.js +1 -1
  241. package/dist/components/p-stepper.js +1 -1
  242. package/dist/components/p-tab-container.js +1 -1
  243. package/dist/components/p-tab-item.js +1 -1
  244. package/dist/components/p-table-cell.js +1 -1
  245. package/dist/components/p-table-container.js +1 -1
  246. package/dist/components/p-table-footer.js +1 -1
  247. package/dist/components/p-table-header.js +1 -1
  248. package/dist/components/p-table-row-actions-container.js +1 -1
  249. package/dist/components/p-table-row.js +1 -1
  250. package/dist/components/p-table.js +1 -1
  251. package/dist/components/p-toast-container.js +1 -1
  252. package/dist/components/p-toast.js +1 -1
  253. package/dist/components/p-toggle.js +1 -1
  254. package/dist/components/p-tooltip.js +1 -1
  255. package/dist/esm/index.js +1 -1
  256. package/dist/esm/p-attachment.entry.js +22 -9
  257. package/dist/esm/p-avatar.entry.js +5 -2
  258. package/dist/esm/p-backdrop.entry.js +19 -7
  259. package/dist/esm/p-badge_3.entry.js +29 -11
  260. package/dist/esm/p-button_3.entry.js +103 -31
  261. package/dist/esm/p-calendar.entry.js +14 -7
  262. package/dist/esm/p-card-container.entry.js +16 -6
  263. package/dist/esm/p-card-header.entry.js +6 -3
  264. package/dist/esm/p-checkbox_3.entry.js +63 -29
  265. package/dist/esm/p-content-slider.entry.js +12 -2
  266. package/dist/esm/p-cropper.entry.js +1 -1
  267. package/dist/esm/p-datepicker.entry.js +2 -2
  268. package/dist/esm/p-divider.entry.js +29 -7
  269. package/dist/esm/p-drawer-body_3.entry.js +23 -10
  270. package/dist/esm/p-dropdown-menu-item_2.entry.js +105 -33
  271. package/dist/esm/p-empty-state_8.entry.js +74 -34
  272. package/dist/esm/p-field_3.entry.js +65 -26
  273. package/dist/esm/p-floating-menu-item.entry.js +17 -7
  274. package/dist/esm/p-info-panel.entry.js +52 -16
  275. package/dist/esm/p-label.entry.js +16 -7
  276. package/dist/esm/p-layout.entry.js +4 -1
  277. package/dist/esm/p-listing-item.entry.js +1 -1
  278. package/dist/esm/p-modal-body_4.entry.js +42 -18
  279. package/dist/esm/p-navbar.entry.js +25 -8
  280. package/dist/esm/p-navigation-item.entry.js +21 -9
  281. package/dist/esm/p-navigation-title.entry.js +1 -1
  282. package/dist/esm/p-pagination_3.entry.js +20 -14
  283. package/dist/esm/p-profile.entry.js +2 -2
  284. package/dist/esm/p-radio.entry.js +47 -20
  285. package/dist/esm/p-range.entry.js +3 -3
  286. package/dist/esm/p-select.entry.js +19 -9
  287. package/dist/esm/p-smile.entry.js +5 -2
  288. package/dist/esm/p-stepper-item_2.entry.js +27 -15
  289. package/dist/esm/p-tab-container.entry.js +1 -1
  290. package/dist/esm/p-tab-item.entry.js +22 -6
  291. package/dist/esm/p-table.entry.js +1 -1
  292. package/dist/esm/p-toast-container.entry.js +10 -5
  293. package/dist/esm/p-toast.entry.js +19 -7
  294. package/dist/esm/p-toggle.entry.js +67 -23
  295. package/dist/esm/p-tooltip.entry.js +11 -5
  296. package/dist/esm/{table-helpers-DA1PfY6l.js → table-helpers-Bvtfm-ta.js} +2 -2
  297. package/dist/index.html +1 -1
  298. package/dist/paperless/index.esm.js +1 -1
  299. package/dist/paperless/p-047da5c9.entry.js +1 -0
  300. package/dist/paperless/p-099fed2a.entry.js +1 -0
  301. package/dist/paperless/p-0b4b4cf7.entry.js +1 -0
  302. package/dist/paperless/p-16c98151.entry.js +1 -0
  303. package/dist/paperless/p-18245eb9.entry.js +1 -0
  304. package/dist/paperless/p-1ac00601.entry.js +1 -0
  305. package/dist/paperless/p-1be02ecd.entry.js +1 -0
  306. package/dist/paperless/p-1c6555d0.entry.js +1 -0
  307. package/dist/paperless/p-1fa99d63.entry.js +1 -0
  308. package/dist/paperless/p-2a9e2f97.entry.js +1 -0
  309. package/dist/paperless/p-2eb0963d.entry.js +1 -0
  310. package/dist/paperless/p-33c965ed.entry.js +1 -0
  311. package/dist/paperless/p-33fc3203.entry.js +1 -0
  312. package/dist/paperless/p-34448061.entry.js +1 -0
  313. package/dist/paperless/p-459f7a0b.entry.js +1 -0
  314. package/dist/paperless/p-4baa94c0.entry.js +1 -0
  315. package/dist/paperless/p-5f2b2731.entry.js +1 -0
  316. package/dist/paperless/p-6412710a.entry.js +1 -0
  317. package/dist/paperless/p-673c243e.entry.js +1 -0
  318. package/dist/paperless/p-6ac04b16.entry.js +1 -0
  319. package/dist/paperless/p-7158dacd.entry.js +1 -0
  320. package/dist/paperless/p-7be1c70d.entry.js +1 -0
  321. package/dist/paperless/p-7c4f3d89.entry.js +1 -0
  322. package/dist/{build/p-2ab9ae7b.entry.js → paperless/p-8a2690df.entry.js} +1 -1
  323. package/dist/{build/p-9d7732b8.entry.js → paperless/p-8a8adc4d.entry.js} +1 -1
  324. package/dist/paperless/p-9889be94.entry.js +1 -0
  325. package/dist/paperless/p-99522e10.entry.js +1 -0
  326. package/dist/paperless/p-9e1977a6.entry.js +1 -0
  327. package/dist/paperless/{p-CHZgJJeM.js → p-DeWIZIsV.js} +1 -1
  328. package/dist/paperless/p-aca48431.entry.js +1 -0
  329. package/dist/paperless/p-afa4d38a.entry.js +1 -0
  330. package/dist/paperless/p-b70ee063.entry.js +1 -0
  331. package/dist/paperless/p-b745b141.entry.js +1 -0
  332. package/dist/paperless/p-bcfbb856.entry.js +1 -0
  333. package/dist/paperless/p-cdcc28c2.entry.js +1 -0
  334. package/dist/paperless/p-dbac42ad.entry.js +1 -0
  335. package/dist/paperless/p-e00be7e7.entry.js +1 -0
  336. package/dist/paperless/p-e2219fa7.entry.js +1 -0
  337. package/dist/paperless/p-e30ef289.entry.js +1 -0
  338. package/dist/paperless/p-ecc80c01.entry.js +1 -0
  339. package/dist/paperless/p-fbd4c0ed.entry.js +1 -0
  340. package/dist/paperless/paperless.esm.js +1 -1
  341. package/dist/sw.js +1 -1
  342. package/dist/sw.js.map +1 -1
  343. package/hydrate/index.js +1021 -401
  344. package/hydrate/index.mjs +1021 -401
  345. package/package.json +1 -1
  346. package/dist/build/p-03121981.entry.js +0 -1
  347. package/dist/build/p-073cbaa7.entry.js +0 -1
  348. package/dist/build/p-1537db63.entry.js +0 -1
  349. package/dist/build/p-196bfb8a.entry.js +0 -1
  350. package/dist/build/p-19acdd22.entry.js +0 -1
  351. package/dist/build/p-1c1eddff.entry.js +0 -1
  352. package/dist/build/p-1d99809d.entry.js +0 -1
  353. package/dist/build/p-2937ea4e.entry.js +0 -1
  354. package/dist/build/p-34b384b9.entry.js +0 -1
  355. package/dist/build/p-44c1c053.entry.js +0 -1
  356. package/dist/build/p-45cf64a3.entry.js +0 -1
  357. package/dist/build/p-46616392.entry.js +0 -1
  358. package/dist/build/p-53db6756.entry.js +0 -1
  359. package/dist/build/p-5619c169.entry.js +0 -1
  360. package/dist/build/p-5e0796a9.entry.js +0 -1
  361. package/dist/build/p-5f64a97e.entry.js +0 -1
  362. package/dist/build/p-601999d8.entry.js +0 -1
  363. package/dist/build/p-63d43818.entry.js +0 -1
  364. package/dist/build/p-69658698.entry.js +0 -1
  365. package/dist/build/p-785b43a9.entry.js +0 -1
  366. package/dist/build/p-811807fb.entry.js +0 -1
  367. package/dist/build/p-81670b3a.entry.js +0 -1
  368. package/dist/build/p-86a3cc52.entry.js +0 -1
  369. package/dist/build/p-87b38346.entry.js +0 -1
  370. package/dist/build/p-91486f55.entry.js +0 -1
  371. package/dist/build/p-92cbcd5c.entry.js +0 -1
  372. package/dist/build/p-94640ec1.entry.js +0 -1
  373. package/dist/build/p-a6156cbc.entry.js +0 -1
  374. package/dist/build/p-a74f30c8.entry.js +0 -1
  375. package/dist/build/p-abf997fa.entry.js +0 -1
  376. package/dist/build/p-bad88af1.entry.js +0 -1
  377. package/dist/build/p-bdc3f1b8.entry.js +0 -1
  378. package/dist/build/p-c076dfe7.entry.js +0 -1
  379. package/dist/build/p-c410fdca.entry.js +0 -1
  380. package/dist/build/p-e10ac105.entry.js +0 -1
  381. package/dist/build/p-f043914d.entry.js +0 -1
  382. package/dist/build/p-f43b03da.entry.js +0 -1
  383. package/dist/build/p-fa1774a4.entry.js +0 -1
  384. package/dist/components/p--y4GWpzd.js +0 -1
  385. package/dist/components/p-B1rVjCs6.js +0 -1
  386. package/dist/components/p-B4ldecyo.js +0 -1
  387. package/dist/components/p-B5p7dHkY.js +0 -1
  388. package/dist/components/p-BDDbB69D.js +0 -1
  389. package/dist/components/p-BKMmVFyv.js +0 -1
  390. package/dist/components/p-BSZKPMsM.js +0 -1
  391. package/dist/components/p-BWLjNSWO.js +0 -1
  392. package/dist/components/p-B_-9JoqJ.js +0 -1
  393. package/dist/components/p-Bqj-EqkF.js +0 -1
  394. package/dist/components/p-Br5JzRPb.js +0 -1
  395. package/dist/components/p-ByjIFdR7.js +0 -1
  396. package/dist/components/p-CKY-2A7w.js +0 -1
  397. package/dist/components/p-CXxGdOem.js +0 -1
  398. package/dist/components/p-Ch0_FdYv.js +0 -1
  399. package/dist/components/p-Cpwq0YdW.js +0 -1
  400. package/dist/components/p-D46WCsOs.js +0 -1
  401. package/dist/components/p-DEW7r6Qi.js +0 -1
  402. package/dist/components/p-DSA1b84Z.js +0 -1
  403. package/dist/components/p-Ddm-XKZe.js +0 -1
  404. package/dist/components/p-DexJ62g_.js +0 -1
  405. package/dist/components/p-DgL1D6Aj.js +0 -1
  406. package/dist/components/p-Dq0MN0E1.js +0 -1
  407. package/dist/components/p-Pg_XF2ti.js +0 -1
  408. package/dist/components/p-QG8NWGU3.js +0 -1
  409. package/dist/components/p-S831PmxS.js +0 -1
  410. package/dist/components/p-XWWy0siW.js +0 -1
  411. package/dist/components/p-a6F6aMNs.js +0 -1
  412. package/dist/components/p-eLkNCIS4.js +0 -1
  413. package/dist/components/p-g9hO5RJl.js +0 -1
  414. package/dist/components/p-hg2iAXCC.js +0 -1
  415. package/dist/components/p-yYBe3oal.js +0 -1
  416. package/dist/paperless/p-03121981.entry.js +0 -1
  417. package/dist/paperless/p-073cbaa7.entry.js +0 -1
  418. package/dist/paperless/p-1537db63.entry.js +0 -1
  419. package/dist/paperless/p-196bfb8a.entry.js +0 -1
  420. package/dist/paperless/p-19acdd22.entry.js +0 -1
  421. package/dist/paperless/p-1c1eddff.entry.js +0 -1
  422. package/dist/paperless/p-1d99809d.entry.js +0 -1
  423. package/dist/paperless/p-2937ea4e.entry.js +0 -1
  424. package/dist/paperless/p-34b384b9.entry.js +0 -1
  425. package/dist/paperless/p-44c1c053.entry.js +0 -1
  426. package/dist/paperless/p-45cf64a3.entry.js +0 -1
  427. package/dist/paperless/p-46616392.entry.js +0 -1
  428. package/dist/paperless/p-53db6756.entry.js +0 -1
  429. package/dist/paperless/p-5619c169.entry.js +0 -1
  430. package/dist/paperless/p-5e0796a9.entry.js +0 -1
  431. package/dist/paperless/p-5f64a97e.entry.js +0 -1
  432. package/dist/paperless/p-601999d8.entry.js +0 -1
  433. package/dist/paperless/p-63d43818.entry.js +0 -1
  434. package/dist/paperless/p-69658698.entry.js +0 -1
  435. package/dist/paperless/p-785b43a9.entry.js +0 -1
  436. package/dist/paperless/p-811807fb.entry.js +0 -1
  437. package/dist/paperless/p-81670b3a.entry.js +0 -1
  438. package/dist/paperless/p-86a3cc52.entry.js +0 -1
  439. package/dist/paperless/p-87b38346.entry.js +0 -1
  440. package/dist/paperless/p-91486f55.entry.js +0 -1
  441. package/dist/paperless/p-92cbcd5c.entry.js +0 -1
  442. package/dist/paperless/p-94640ec1.entry.js +0 -1
  443. package/dist/paperless/p-a6156cbc.entry.js +0 -1
  444. package/dist/paperless/p-a74f30c8.entry.js +0 -1
  445. package/dist/paperless/p-abf997fa.entry.js +0 -1
  446. package/dist/paperless/p-bad88af1.entry.js +0 -1
  447. package/dist/paperless/p-bdc3f1b8.entry.js +0 -1
  448. package/dist/paperless/p-c076dfe7.entry.js +0 -1
  449. package/dist/paperless/p-c410fdca.entry.js +0 -1
  450. package/dist/paperless/p-e10ac105.entry.js +0 -1
  451. package/dist/paperless/p-f043914d.entry.js +0 -1
  452. package/dist/paperless/p-f43b03da.entry.js +0 -1
  453. package/dist/paperless/p-fa1774a4.entry.js +0 -1
@@ -12,9 +12,12 @@ const popover = cva([
12
12
  ], {
13
13
  variants: {
14
14
  variant: {
15
- hover: 'bg-storm-500 dark:bg-white text-white dark:text-storm-300 py-1 max-w-[14.5rem]',
15
+ hover: `
16
+ max-w-[14.5rem] bg-storm-500 py-1 text-white
17
+ dark:bg-white dark:text-storm-300
18
+ `,
16
19
  click: 'max-w-[18rem]',
17
- error: 'max-w-full w-full',
20
+ error: 'w-full max-w-full',
18
21
  },
19
22
  strategy: {
20
23
  fixed: 'fixed',
@@ -28,7 +31,10 @@ const popover = cva([
28
31
  },
29
32
  {
30
33
  variant: ['click', 'error'],
31
- class: 'bg-white dark:bg-hurricane-800 text-storm-300 dark:text-hurricane-200 py-2',
34
+ class: `
35
+ bg-white py-2 text-storm-300
36
+ dark:bg-hurricane-800 dark:text-hurricane-200
37
+ `,
32
38
  },
33
39
  ],
34
40
  });
@@ -91,10 +97,10 @@ export class Tooltip {
91
97
  this._cleanup = null;
92
98
  }
93
99
  render() {
94
- return (h(ThemedHost, { key: '927a65c827b316e40b2c7a67b0c1a5463457a995', "data-filled": this.content?.length > 0 || this._hasContentSlot }, h("slot", { key: '732bf5d85d3b6b76d767a5ef4deaab036c617e1b', name: 'trigger' }), h("div", { key: '4b6ad7714c2363d0148245c2d225dd8fe98894eb', class: popover({
100
+ return (h(ThemedHost, { key: 'd6eed2d0ae314f5bc0c956df0360c7c3affe5349', "data-filled": this.content?.length > 0 || this._hasContentSlot }, h("slot", { key: '68a50b13f23fbb9ff40b83d6a1f1cbad56a12add', name: 'trigger' }), h("div", { key: '6d4726e4663fe88a8758485c55ee003fca9e9c59', class: popover({
95
101
  variant: this.variant,
96
102
  strategy: this.strategy,
97
- }), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, h("div", { key: 'ed5bb24dc56bd4459515ad8aac888de77fbaffbe', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (h("div", { key: 'c869c7e2ec3b8d1acd3c891079cc24d8187c5423', class: 'w-[2px] bg-negative-red-500 dark:bg-negative-red-alternative' })), this.content ?? h("slot", { key: '0f99a6654b8059b0f84bb99a6f1dbf9a52882f3f', name: 'content' })))));
103
+ }), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, h("div", { key: '9ded5ee86411c2d35b3ef4b75894740b5a9db814', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (h("div", { key: 'fe330950d9662c415e99d1594581c096b5210cd7', class: '\n w-[2px] bg-negative-red-500\n dark:bg-negative-red-alternative\n ' })), this.content ?? h("slot", { key: '9ec941819d62d3fcca4edf9262d704644fb0f294', name: 'content' })))));
98
104
  }
99
105
  clickHandler() {
100
106
  if (this.variant === 'hover' || !this.enableUserInput) {
@@ -3,7 +3,7 @@ import { cva } from "class-variance-authority";
3
3
  import { cn, isMobile, isTablet } from "../../../utils";
4
4
  const attachment = cva([
5
5
  'flex flex-1 items-center justify-start gap-2',
6
- 'h-8 min-w-0 px-2 rounded-lg',
6
+ 'h-8 min-w-0 rounded-lg px-2',
7
7
  'border border-solid',
8
8
  'bg-white-600 text-storm-200',
9
9
  'dark:bg-white/15 dark:text-hurricane-200',
@@ -14,8 +14,14 @@ const attachment = cva([
14
14
  true: 'cursor-pointer',
15
15
  },
16
16
  error: {
17
- false: 'border-storm-100 dark:border-white/15',
18
- true: 'border-negative-red-500 dark:border-negative-red-alternative',
17
+ false: `
18
+ border-storm-100
19
+ dark:border-white/15
20
+ `,
21
+ true: `
22
+ border-negative-red-500
23
+ dark:border-negative-red-alternative
24
+ `,
19
25
  },
20
26
  },
21
27
  });
@@ -95,21 +101,28 @@ export class Attachment {
95
101
  _fileRef;
96
102
  _cameraFileRef;
97
103
  render() {
98
- let prefix = (h("p-icon", { key: 'c32bd5160f16b5fe66dd6bdddc7abab643ecac69', class: 'text-storm-300', variant: 'attachment' }));
104
+ let prefix = (h("p-icon", { key: '38bee5bc396126d20cc43e7278e4b5da7fb7a695', class: 'text-storm-300', variant: 'attachment' }));
99
105
  if (this.error) {
100
- prefix = (h("p-icon", { key: '258cc04fd6a6ca24cc99fd4402740c600c845641', class: 'text-negative-red-500', variant: 'warning' }));
106
+ prefix = (h("p-icon", { key: '66dfe096ee491c8c3f97170eb8ae3417d1d95de4', class: 'text-negative-red-500', variant: 'warning' }));
101
107
  }
102
108
  // const isMobileDevice = isMobile();
103
109
  const isMobileDevice = isTablet();
104
110
  const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
105
- return (h(Fragment, { key: '2d4812f3d31f3cd0816628933c7f430526db82d6' }, h("p-field-container", { key: '349206b933ad13c0f37cd07d2a8da5b7be1a5c06', error: this.error, forceShowTooltip: !!this.error?.length, helper: this.helper, label: this.label, required: this.required, variant: 'write' }, h("div", { key: '59d1189891173772085e25882c3fcb474e459e0a', class: 'flex w-full items-start gap-2', slot: 'content' }, h("div", { key: '41b8af0f2636db293df1e503effbd1ec7f97685b', class: attachment({
111
+ return (h(Fragment, { key: '8b2d38564597724ee40f9916d45b053d946b35de' }, h("p-field-container", { key: '33a74e375c9fb319a20abd1962723572adaf11c6', error: this.error, forceShowTooltip: !!this.error?.length, helper: this.helper, label: this.label, required: this.required, variant: 'write' }, h("div", { key: '92d7a778625a40c171f58a722f34d7bdb6b978da', class: 'flex w-full items-start gap-2', slot: 'content' }, h("div", { key: 'aaf92c3e3d2017456492ac31f11bda522bafb62e', class: attachment({
106
112
  click: this.mode === 'write' && !this.value?.length,
107
113
  error: !!this.error?.length,
108
- }), onClick: () => this._uploadClick() }, prefix, h("span", { key: 'd53642b51ad59ff0b5ccf497085ba81f4111bebf', class: cn(baseText, 'peer empty:hidden dark:text-white') }, this.value), h("span", { key: '285839432a117ed07ad59c5d66e5784109ac5f79', class: cn(baseText, 'hidden peer-empty:block') }, this.placeholder)), h("p-tooltip", { key: '1e5cd8b15e61316f678fb7b66af77969a3cb403a', class: 'w-8', content: this.mode === 'read'
114
+ }), onClick: () => this._uploadClick() }, prefix, h("span", { key: '13cfd3cb6c405275f36c3bdc4b5f0b43010dcacd', class: cn(baseText, `
115
+ peer
116
+ empty:hidden
117
+ dark:text-white
118
+ `) }, this.value), h("span", { key: '251d050ffb58678f6da944fd4775833f24874ed0', class: cn(baseText, `
119
+ hidden
120
+ peer-empty:block
121
+ `) }, this.placeholder)), h("p-tooltip", { key: 'c55bd274b3a21ea4ed12b8201d8acb8ba37e39c0', class: 'w-8', content: this.mode === 'read'
109
122
  ? this.downloadTooltip
110
123
  : this.value?.length
111
124
  ? this.deleteTooltip
112
- : this.uploadTooltip }, h("p-button", { key: 'a0f090e19e177cff757ebae1fc2f5d1f4df8db68', disabled: this.loading, icon: this.mode === 'read'
125
+ : this.uploadTooltip }, h("p-button", { key: '2e47e228cdcfe7d19224a1e3884cc39cbb5c83c6', disabled: this.loading, icon: this.mode === 'read'
113
126
  ? 'download'
114
127
  : this.value?.length
115
128
  ? 'trash'
@@ -120,7 +133,7 @@ export class Attachment {
120
133
  : this.delete).emit() })), this.enableCameraOnMobile &&
121
134
  this.mode === 'write' &&
122
135
  isMobileDevice &&
123
- !this.value?.length && (h("p-tooltip", { key: '2b41ef669b3fc1e58a394d847a30b1316f0e3a0d', class: 'w-8 desktop-xs:hidden', content: this.cameraTooltip }, h("p-button", { key: 'b3ddba24285c00e05397221a77f73a08164c6953', icon: 'camera', iconOnly: true, slot: 'trigger', variant: 'secondary', onOnClick: () => this._cameraClick() }))))), h("input", { key: '5eec66f53142eb76391fbd626a01556470ce395a', accept: Array.isArray(this.accept) ? this.accept?.join(',') : this.accept, class: 'hidden', ref: el => (this._fileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) }), h("input", { key: '288987b14646880b3fbe960514e0b5915b421270', accept: 'image/*', capture: 'true', class: 'hidden', ref: el => (this._cameraFileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
136
+ !this.value?.length && (h("p-tooltip", { key: 'b70b24f761917d9581abea3176f7baad59a8c643', class: '\n w-8\n desktop-xs:hidden\n ', content: this.cameraTooltip }, h("p-button", { key: 'e9cd1e9c59547671c77f1f0f78bb5ecc45b6d94a', icon: 'camera', iconOnly: true, slot: 'trigger', variant: 'secondary', onOnClick: () => this._cameraClick() }))))), h("input", { key: '129ff3a7706fd2ce0c85e9867c1a5b35cd6b2021', accept: Array.isArray(this.accept) ? this.accept?.join(',') : this.accept, class: 'hidden', ref: el => (this._fileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) }), h("input", { key: 'a214ffd826b76810792348b03662f6e8674658d5', accept: 'image/*', capture: 'true', class: 'hidden', ref: el => (this._cameraFileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
124
137
  }
125
138
  _uploadClick() {
126
139
  if (!this._fileRef || this.mode !== 'write' || this.value?.length) {
@@ -80,7 +80,7 @@ const button = cva([
80
80
  primary: ['border-storm-500/20', 'text-white'],
81
81
  secondary: null,
82
82
  text: 'border-0',
83
- transparent: 'bg-transparent border-transparent',
83
+ transparent: 'border-transparent bg-transparent',
84
84
  dropdown: null,
85
85
  },
86
86
  active: {
@@ -96,9 +96,9 @@ const button = cva([
96
96
  false: null,
97
97
  },
98
98
  size: {
99
- sm: ['text-xs h-6 gap-1'],
100
- base: ['text-sm h-8 gap-2'],
101
- lg: ['text-base h-10 gap-2'],
99
+ sm: ['h-6 gap-1 text-xs'],
100
+ base: ['h-8 gap-2 text-sm'],
101
+ lg: ['h-10 gap-2 text-base'],
102
102
  },
103
103
  disabled: {
104
104
  true: 'cursor-not-allowed border-transparent',
@@ -123,7 +123,7 @@ const button = cva([
123
123
  // variants
124
124
  {
125
125
  variant: ['secondary', 'dropdown'],
126
- class: 'bg-white dark:bg-white/15',
126
+ class: ['bg-white', 'dark:bg-white/15'],
127
127
  },
128
128
  {
129
129
  variant: ['primary', 'secondary', 'dropdown'],
@@ -149,16 +149,25 @@ const button = cva([
149
149
  variant: ['secondary', 'dropdown'],
150
150
  disabled: false,
151
151
  error: false,
152
- class: 'text-storm-500 dark:text-white',
152
+ class: `
153
+ text-storm-500
154
+ dark:text-white
155
+ `,
153
156
  },
154
157
  {
155
158
  variant: 'primary',
156
- class: 'dark:border-0 dark:active:border-0',
159
+ class: `
160
+ dark:border-0
161
+ dark:active:border-0
162
+ `,
157
163
  },
158
164
  {
159
165
  variant: 'primary',
160
166
  disabled: true,
161
- class: 'bg-indigo-200 dark:bg-indigo-600/30 dark:text-white/30',
167
+ class: `
168
+ bg-indigo-200
169
+ dark:bg-indigo-600/30 dark:text-white/30
170
+ `,
162
171
  },
163
172
  {
164
173
  variant: 'primary',
@@ -170,8 +179,15 @@ const button = cva([
170
179
  disabled: false,
171
180
  loading: false,
172
181
  class: [
173
- 'active:border-storm-500/10 dark:active:ring-0 active:ring-2 active:text-white/60',
174
- 'drop-shadow-primary-button hover:drop-shadow-2 hover:bg-indigo-700 active:ring-indigo-100',
182
+ `
183
+ active:border-storm-500/10 active:text-white/60 active:ring-2
184
+ dark:active:ring-0
185
+ `,
186
+ `
187
+ drop-shadow-primary-button
188
+ hover:bg-indigo-700 hover:drop-shadow-2
189
+ active:ring-indigo-100
190
+ `,
175
191
  ],
176
192
  },
177
193
  {
@@ -179,7 +195,7 @@ const button = cva([
179
195
  disabled: false,
180
196
  loading: false,
181
197
  active: true,
182
- class: 'ring ring-2',
198
+ class: 'ring-2',
183
199
  },
184
200
  {
185
201
  variant: 'primary',
@@ -191,20 +207,33 @@ const button = cva([
191
207
  {
192
208
  variant: ['secondary', 'dropdown'],
193
209
  disabled: true,
194
- class: 'border bg-white-600 text-storm-100 dark:bg-white/5 dark:border-white/5 dark:text-hurricane-400',
210
+ class: `
211
+ border bg-white-600 text-storm-100
212
+ dark:border-white/5 dark:bg-white/5 dark:text-hurricane-400
213
+ `,
195
214
  },
196
215
  {
197
216
  variant: ['secondary', 'dropdown'],
198
217
  disabled: false,
199
- class: 'text-storm-500 dark:text-white',
218
+ class: `
219
+ text-storm-500
220
+ dark:text-white
221
+ `,
200
222
  },
201
223
  {
202
224
  variant: ['secondary', 'dropdown'],
203
225
  disabled: false,
204
226
  loading: false,
205
227
  class: [
206
- 'drop-shadow-1 hover:drop-shadow-1 hover:bg-white-600 active:ring-indigo-100 active:text-storm-500/60',
207
- 'dark:hover:bg-white/25 dark:active:bg-white/25 dark:active:ring-0 dark:active:text-white/60',
228
+ `
229
+ drop-shadow-1
230
+ hover:bg-white-600 hover:drop-shadow-1
231
+ active:text-storm-500/60 active:ring-indigo-100
232
+ `,
233
+ `
234
+ dark:hover:bg-white/25
235
+ dark:active:bg-white/25 dark:active:text-white/60 dark:active:ring-0
236
+ `,
208
237
  ],
209
238
  },
210
239
  {
@@ -229,20 +258,35 @@ const button = cva([
229
258
  variant: ['secondary', 'dropdown'],
230
259
  error: false,
231
260
  active: false,
232
- class: ['border-storm-500/20 dark:border-transparent'],
261
+ class: [
262
+ `
263
+ border-storm-500/20
264
+ dark:border-transparent
265
+ `,
266
+ ],
233
267
  },
234
268
  {
235
269
  variant: ['secondary', 'dropdown'],
236
270
  error: true,
237
271
  class: [
238
- 'border border-negative-red-500 text-negative-red-800 ring ring-2 ring-negative-red-50 active:text-negative-red-800',
239
- 'dark:ring-0 dark:border-negative-red-700 dark:text-negative-red-alternative',
272
+ `
273
+ border border-negative-red-500 text-negative-red-800 ring ring-2
274
+ ring-negative-red-50
275
+ active:text-negative-red-800
276
+ `,
277
+ `
278
+ dark:border-negative-red-700 dark:text-negative-red-alternative
279
+ dark:ring-0
280
+ `,
240
281
  ],
241
282
  },
242
283
  {
243
284
  variant: ['text', 'transparent'],
244
285
  disabled: false,
245
- class: 'text-indigo-700 hover:text-indigo-800',
286
+ class: `
287
+ text-indigo-700
288
+ hover:text-indigo-800
289
+ `,
246
290
  },
247
291
  {
248
292
  variant: ['text', 'transparent'],
@@ -331,7 +375,11 @@ const icon = cva([], {
331
375
  disabled: false,
332
376
  active: false,
333
377
  error: false,
334
- class: 'text-indigo-300 group-hover/button:text-white group-active/button:text-white/60',
378
+ class: `
379
+ text-indigo-300
380
+ group-hover/button:text-white
381
+ group-active/button:text-white/60
382
+ `,
335
383
  },
336
384
  {
337
385
  variant: 'primary',
@@ -345,8 +393,15 @@ const icon = cva([], {
345
393
  active: false,
346
394
  error: false,
347
395
  class: [
348
- 'text-storm-300 group-hover/button:text-storm-500 group-active/button:text-storm-500/60',
349
- 'dark:group-hover/button:text-white dark:group-active/button:text-white/60',
396
+ `
397
+ text-storm-300
398
+ group-hover/button:text-storm-500
399
+ group-active/button:text-storm-500/60
400
+ `,
401
+ `
402
+ dark:group-hover/button:text-white
403
+ dark:group-active/button:text-white/60
404
+ `,
350
405
  ],
351
406
  },
352
407
  {
@@ -370,19 +425,30 @@ const icon = cva([], {
370
425
  disabled: false,
371
426
  active: true,
372
427
  error: false,
373
- class: 'text-storm-500/60 dark:text-white/60',
428
+ class: `
429
+ text-storm-500/60
430
+ dark:text-white/60
431
+ `,
374
432
  },
375
433
  {
376
434
  variant: ['transparent', 'text'],
377
435
  disabled: false,
378
436
  active: false,
379
- class: 'text-indigo-500 group-hover/button:text-indigo-700 group-active/button:text-indigo-800',
437
+ class: `
438
+ text-indigo-500
439
+ group-hover/button:text-indigo-700
440
+ group-active/button:text-indigo-800
441
+ `,
380
442
  },
381
443
  {
382
444
  variant: ['secondary', 'dropdown'],
383
445
  active: false,
384
446
  error: true,
385
- class: 'text-negative-red-500 group-hover/button:text-negative-red-800 dark:text-negative-red-alternative',
447
+ class: `
448
+ text-negative-red-500
449
+ group-hover/button:text-negative-red-800
450
+ dark:text-negative-red-alternative
451
+ `,
386
452
  },
387
453
  {
388
454
  variant: ['secondary', 'dropdown'],
@@ -513,7 +579,7 @@ export class Button {
513
579
  : 'button';
514
580
  const hostClass = cn('p-button inline-block', this.class);
515
581
  const active = asBoolean(this.active) || hostClass?.includes('active');
516
- return (h(ThemedHost, { key: '7452fa765b24901c77a8ed76278994150ba11acf', class: hostClass }, h(VariableTag, { key: '9f0d18fb8068bb01f0dd5d844aa322c1effccb9b', class: button({
582
+ return (h(ThemedHost, { key: '96d79703fdd577fadf843e31db00fc39c7a0f60b', class: hostClass }, h(VariableTag, { key: 'b61672659ecbd461e3ee99ac8288f90fddc9f2e1', class: button({
517
583
  variant: this.variant,
518
584
  size: this.size,
519
585
  loading: asBoolean(this.loading),
@@ -523,14 +589,14 @@ export class Button {
523
589
  active,
524
590
  error: asBoolean(this.error),
525
591
  underline: asBoolean(this.underline) && VariableTag === 'a',
526
- }), disabled: asBoolean(this.disabled), href: this.href, tabIndex: this.tabIndex, target: this.target, type: this.variant === 'text' ? undefined : this.type }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: 'c838235c3411be17231b10e8fcca992f62d89afe', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.icon &&
592
+ }), disabled: asBoolean(this.disabled), href: this.href, tabIndex: this.tabIndex, target: this.target, type: this.variant === 'text' ? undefined : this.type }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '53ad0547df945a2055d9d9a8e9a4e32f8b4474d6', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.icon &&
527
593
  this.iconPosition === 'start' &&
528
594
  !(this.iconOnly && this.loading) &&
529
- this._getIcon(), this.label ?? h("slot", { key: '96401595325aecdfb14c77b5dce103a67d4d8da8' }), this.icon &&
595
+ this._getIcon(), this.label ?? h("slot", { key: '59dc0d14a430e8e47fa46752025d76c0848bcbc4' }), this.icon &&
530
596
  this.iconPosition === 'end' &&
531
597
  !this.loading &&
532
598
  !this.chevron &&
533
- this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: 'b543d3ca7e0253c71e93d6736a1a99a69d156fe0', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.loading && h("p-loader", { key: 'f655d54d167b02f7e546962f182e61b3cec77ccc', color: loaderColor }))));
599
+ this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: '5e1c8d2f5781900af5ff53b565f7904a42df2c23', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.loading && h("p-loader", { key: 'a760f9a6c098b0857225acd689bda1824021455a', color: loaderColor }))));
534
600
  }
535
601
  handleClick(ev) {
536
602
  if (this.loading || this.disabled) {
@@ -5,18 +5,21 @@ import { enUS, nl } from "date-fns/locale";
5
5
  import { ThemedHost } from "../../../internal/themed-host.component";
6
6
  import { state } from "../../../state";
7
7
  import { cn } from "../../../utils/cn";
8
- const calendar = cva(['w-[17.5rem] flex flex-col gap-4'], {
8
+ const calendar = cva(['flex w-[17.5rem] flex-col gap-4'], {
9
9
  variants: {
10
10
  variant: {
11
- default: ['p-2 rounded-lg drop-shadow-2', 'border border-storm-100'],
11
+ default: ['rounded-lg p-2 drop-shadow-2', 'border border-storm-100'],
12
12
  embedded: 'p-1',
13
13
  },
14
14
  },
15
15
  });
16
16
  const header = cva([
17
17
  'flex items-center gap-2',
18
- 'w-full p-2 rounded-lg',
19
- 'bg-off-white-300 dark:bg-white/15',
18
+ 'w-full rounded-lg p-2',
19
+ `
20
+ bg-off-white-300
21
+ dark:bg-white/15
22
+ `,
20
23
  ], {
21
24
  variants: {
22
25
  type: {
@@ -186,7 +189,7 @@ export class Calendar {
186
189
  }
187
190
  }
188
191
  render() {
189
- return (h(ThemedHost, { key: '579b8140d5697bdc7fb1dd76017773d313e466eb' }, h("div", { key: 'e642635da9ec396325e0f1829860bc14e6231463', class: calendar({ variant: this.variant }) }, this._getView())));
192
+ return (h(ThemedHost, { key: 'f15ea9c031af444ef0d1679b88baf45d554fea8b' }, h("div", { key: 'ffd0b34ea60681b58a5ca1e75ae81bd4209a442f', class: calendar({ variant: this.variant }) }, this._getView())));
190
193
  }
191
194
  _checkTodayButton() {
192
195
  if (this._maxDate && isAfter(this._today, this._maxDate)) {
@@ -219,10 +222,14 @@ export class Calendar {
219
222
  const daysInMonth = this._generateDaysInMonth();
220
223
  return (h("div", { class: view({ view: 'day' }) }, this._getHeader('day'), h("div", { class: 'grid grid-cols-7 justify-between gap-1' }, this._weekDays.map(weekday => (h("span", { class: 'w-8 text-center text-xs text-storm-200' }, format(addDays(new Date(2022, 7, 1), weekday), state.locale === 'nl' ? 'EEEEEE' : 'eee', {
221
224
  locale: state.locale === 'nl' ? nl : enUS,
222
- })))), daysInMonth.map(day => day.active ? (h("p-button", { class: cn('w-8', `col-start-${day.offset}`), tabIndex: -1, variant: 'primary', onClick: () => this._setValue(day.date) }, day.day)) : (h("time", { class: cn('normal flex items-center justify-center rounded-lg', 'h-8 w-8 text-sm font-semibold', 'text-storm-300', 'dark:bg-white/15', {
225
+ })))), daysInMonth.map(day => day.active ? (h("p-button", { class: cn('w-8', `
226
+ col-start-${day.offset}
227
+ `), tabIndex: -1, variant: 'primary', onClick: () => this._setValue(day.date) }, day.day)) : (h("time", { class: cn('normal flex items-center justify-center rounded-lg', 'h-8 w-8 text-sm font-semibold', 'text-storm-300', 'dark:bg-white/15', {
223
228
  'cursor-pointer hover:bg-white-600 hover:text-storm-500 dark:text-white dark:hover:bg-hurricane-300 dark:hover:text-white': !day.disabled,
224
229
  'dark:text-hurricane-200': day.disabled,
225
- }, `col-start-${day.offset}`, { 'cursor-not-allowed opacity-60': day.disabled }, {
230
+ }, `
231
+ col-start-${day.offset}
232
+ `, { 'cursor-not-allowed opacity-60': day.disabled }, {
226
233
  'border border-solid border-off-white-700 bg-off-white-300 text-storm-500 dark:border-none dark:bg-hurricane-200 dark:text-white': !day.disabled && isSameDay(day.date, new Date()),
227
234
  }), onClick: () => this._setValue(day.date) }, day.day))))));
228
235
  }
@@ -47,9 +47,19 @@ export class ContentSlider {
47
47
  }
48
48
  }
49
49
  render() {
50
- return (h(Host, { key: '82853208f8862b3485a5a00b0c9c4f6986ea92ea', class: 'p-content-slider' }, h("div", { key: '3250c367ac25464a769c43d4093df28dbff8085d', class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, ref: el => (this._sliderRef = el), style: {
50
+ return (h(Host, { key: '82853208f8862b3485a5a00b0c9c4f6986ea92ea', class: 'p-content-slider' }, h("div", { key: 'c06c9b5385f6fe2d69b17415ed46fc78fc8be5ae', class: `
51
+ slider
52
+ ${!this.disableDrag && 'draggable'}
53
+ ${this._dragging && 'dragging'}
54
+ `, ref: el => (this._sliderRef = el), style: {
51
55
  height: `${this._outerHeight}px`,
52
- }, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, h("div", { key: 'cb82eacdfc02898e9eeaff865b5e7fa7da69a2f9', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: 'e6e5636ba8ed11665e0d623bcffb8a53bba03908', onSlotchange: () => this._slotChange() }))), h("div", { key: '9d596407cda3aaa5cbae5c0a0a19209623627edd', class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._filteredItems.map((_, i) => (h("div", { class: `item ${!this.disableIndicatorClick && 'cursor-pointer'}`, onClick: () => this._scrollTo(i, true) }, h("div", { class: cn('block h-2 w-2 rounded-full', {
56
+ }, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, h("div", { key: '5dfdd1adee4730a98789496e923c5ec6e3a8eb9c', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: 'd1557d4fa4336b8f01d7039a3b6e1fb9c65716f9', onSlotchange: () => this._slotChange() }))), h("div", { key: '1bf3e7c46755f0f85fc6fa573bd04ee43bd0752d', class: `
57
+ indicator
58
+ ${this.hideMobileIndicator && 'hidden'}
59
+ ` }, this._filteredItems.map((_, i) => (h("div", { class: `
60
+ item
61
+ ${!this.disableIndicatorClick && 'cursor-pointer'}
62
+ `, onClick: () => this._scrollTo(i, true) }, h("div", { class: cn('block h-2 w-2 rounded-full', {
53
63
  'bg-indigo-600': i === this._visibleIndex,
54
64
  'bg-indigo-300': i !== this._visibleIndex,
55
65
  }) })))))));
@@ -42,7 +42,7 @@ export class Cropper {
42
42
  const themeColor = state.theme === 'dark'
43
43
  ? 'rgba(70, 75, 84, 0.5)'
44
44
  : 'rgba(255, 255, 255, 0.5)';
45
- return (h(ThemedHost, { key: 'dd4ea15cbdfbac6e25202bd1a4871d9635fd33a7' }, this._loaded && (h("cropper-canvas", { key: 'cb359d80b35eae4aa2e58c75bed8ccd5a15b2df2', class: 'h-[17.5rem] w-full border-0 border-b border-solid border-off-white-700 bg-white dark:border-hurricane-200', onAction: () => this._onAction() }, h("cropper-image", { key: '8a96ad1f1f11adc4a8291a1376f329af52c3d920', alt: 'Picture', crossorigin: 'anonymous', ref: ref => this._setImageRef(ref), src: this.value, scalable: true, translatable: true }), h("cropper-shade", { key: '1b375fe73b98ec31776ba4762e10781a1c33117b', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), h("cropper-selection", { key: 'ae41c83bf91f714beb89b79998c2636ffe837f51', "aspect-ratio": '1', "initial-coverage": '0.7', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: '45148a814f6b3d1f04e94c0a8ee756b31d6dc7cb', action: 'move', plain: true }))), h("p-range", { key: 'b215e5dfc3aea8cae98d85dc590436a52c667c28', class: 'w-full px-14 tablet:max-w-xs tablet:px-1', value: this._currentScale, onValueChange: ev => this._onInput(ev.detail) })));
45
+ return (h(ThemedHost, { key: 'dd4ea15cbdfbac6e25202bd1a4871d9635fd33a7' }, this._loaded && (h("cropper-canvas", { key: '69757749ad6d01c41e7aca2e8f21c693666e98fe', class: '\n h-[17.5rem] w-full border-0 border-b border-solid border-off-white-700\n bg-white\n dark:border-hurricane-200\n ', onAction: () => this._onAction() }, h("cropper-image", { key: '07b78454e15277f87160a6832c4fed1bbbfb08c1', alt: 'Picture', crossorigin: 'anonymous', ref: ref => this._setImageRef(ref), src: this.value, scalable: true, translatable: true }), h("cropper-shade", { key: 'e1784c618c68dac7a8311f8d7e93666c5d3b3611', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), h("cropper-selection", { key: '2348efb74b1bf52ee4fab7157d32bb1dfe523430', "aspect-ratio": '1', "initial-coverage": '0.7', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: '45f943c9eefaf4312bd20ca8f4d089a5a0ece738', action: 'move', plain: true }))), h("p-range", { key: 'c96960f209547ddef6cd66a4ee9981d96901d0f0', class: '\n w-full px-14\n tablet:max-w-xs tablet:px-1\n ', value: this._currentScale, onValueChange: ev => this._onInput(ev.detail) })));
46
46
  }
47
47
  _setImageRef(ref) {
48
48
  if (this._imageRef || !ref) {
@@ -208,7 +208,7 @@ export class Datepicker {
208
208
  this.parseValue(this.value);
209
209
  }
210
210
  render() {
211
- return (h("p-dropdown", { key: 'c65daeff45afabeefa654b8d033a40d9fda5b4e2', allowOverflow: true, applyFullWidth: false, applyMaxWidth: false, disableTriggerClick: true, insideClick: true, isDatepicker: true, placement: this.placement, show: this._showDropdown, strategy: this.strategy }, h("p-field", { key: '09aaa8a320e9a1852171aa59054a9b269667addb', autoShowError: false, disabled: asBoolean(this.disabled), error: this.error, focused: this._showDropdown, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', label: this.label, loading: this.loading, placeholder: this.placeholder, prefix: this.prefix, required: asBoolean(this.required), showOptional: asBoolean(this.showOptional), size: this.size, slot: 'trigger', value: this._getFormattedDate(), onBlur: (ev) => this._onBlur(ev), onFocus: () => this._onFocus(), onInputRefChange: ev => (this._inputRef = ev.detail), onValueChange: ev => this._onValueChange(ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (h("input", { key: 'f63ca80f15e52a5824a51e997f7b45664104a196', class: 'pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden opacity-0', max: this.maxDate &&
211
+ return (h("p-dropdown", { key: 'c65daeff45afabeefa654b8d033a40d9fda5b4e2', allowOverflow: true, applyFullWidth: false, applyMaxWidth: false, disableTriggerClick: true, insideClick: true, isDatepicker: true, placement: this.placement, show: this._showDropdown, strategy: this.strategy }, h("p-field", { key: '09aaa8a320e9a1852171aa59054a9b269667addb', autoShowError: false, disabled: asBoolean(this.disabled), error: this.error, focused: this._showDropdown, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', label: this.label, loading: this.loading, placeholder: this.placeholder, prefix: this.prefix, required: asBoolean(this.required), showOptional: asBoolean(this.showOptional), size: this.size, slot: 'trigger', value: this._getFormattedDate(), onBlur: (ev) => this._onBlur(ev), onFocus: () => this._onFocus(), onInputRefChange: ev => (this._inputRef = ev.detail), onValueChange: ev => this._onValueChange(ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (h("input", { key: '5d3bc6559f556f4965bfbdf5789691e1aebac89b', class: '\n pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden\n opacity-0\n ', max: this.maxDate &&
212
212
  format(new Date(this.maxDate), 'yyyy-MM-dd', {
213
213
  locale: state.locale === 'nl' ? nl : enUS,
214
214
  }), min: this._minDate &&
@@ -217,7 +217,7 @@ export class Datepicker {
217
217
  }), ref: ref => (this._dateInputRef = ref), slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', value: this._value &&
218
218
  format(this._value, 'yyyy-MM-dd', {
219
219
  locale: state.locale === 'nl' ? nl : enUS,
220
- }), onInput: ev => this._onNativeInput(ev) })), h("div", { key: 'f57a7045507cc0bf0bb2ae070258c0d4ed1af81f', slot: 'items', tabIndex: -1 }, h("p-calendar", { key: '469d4b2a4c2972a0bfb621d85a67fb3d8c3c3e83', disableWeekends: this.disableWeekends, disabledDates: this.disabledDates, enableToday: this.enableToday, maxDate: this.maxDate, minDate: this.minDate, mode: this.mode, preselectToday: this.preselectToday, todayText: this.todayText, value: this._value, variant: 'embedded', onValueChange: ({ detail }) => (this.value = detail) }))));
220
+ }), onInput: ev => this._onNativeInput(ev) })), h("div", { key: '360edd69e71e6f308aea157491d3612bb3ea095f', slot: 'items', tabIndex: -1 }, h("p-calendar", { key: '0f1545e528dbf99bf47e3dc48d866d56522caae3', disableWeekends: this.disableWeekends, disabledDates: this.disabledDates, enableToday: this.enableToday, maxDate: this.maxDate, minDate: this.minDate, mode: this.mode, preselectToday: this.preselectToday, todayText: this.todayText, value: this._value, variant: 'embedded', onValueChange: ({ detail }) => (this.value = detail) }))));
221
221
  }
222
222
  documentClickHandler({ target }) {
223
223
  if (!this._showDropdown || childOf(target, this._el)) {
@@ -2,7 +2,7 @@ import { h, } from "@stencil/core";
2
2
  import { cva } from "class-variance-authority";
3
3
  import { ThemedHost } from "../../../internal/themed-host.component";
4
4
  import { asBoolean } from "../../../utils/as-boolean";
5
- const emptyState = cva(['flex flex-col w-full items-center justify-start max-w-[20rem]'], {
5
+ const emptyState = cva(['flex w-full max-w-[20rem] flex-col items-center justify-start'], {
6
6
  variants: {
7
7
  enableAction: {
8
8
  true: 'cursor-pointer',
@@ -63,7 +63,7 @@ export class EmptyState {
63
63
  enableAction: asBoolean(this.enableAction, true),
64
64
  }), onClick: ev => this.enableAction && !this.actionLoading
65
65
  ? this.action.emit(ev)
66
- : undefined }, this.illustration && (h("p-illustration", { key: '3434e243bb9a41e7f56982fff2450cc92013b25f', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: 'my-0 text-center font-ambit text-sm font-bold text-storm-500 dark:text-white' }, this.header))), hasContentSlot ? (h("slot", { name: 'content' })) : (this.content?.length && (h("p", { class: 'my-0 text-center text-sm font-normal text-storm-300 dark:text-hurricane-200' }, this.content))), this.enableAction &&
66
+ : undefined }, this.illustration && (h("p-illustration", { key: '3434e243bb9a41e7f56982fff2450cc92013b25f', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (h("slot", { name: 'content' })) : (this.content?.length && (h("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
67
67
  (hasActionSlot ? (h("slot", { name: 'action' })) : (h("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
68
68
  }
69
69
  static get is() { return "p-empty-state"; }
@@ -3,7 +3,7 @@ import { cva } from "class-variance-authority";
3
3
  import { ThemedHost } from "../../../../internal/themed-host.component";
4
4
  import { cn, formatTranslation, getLocaleComponentStrings, } from "../../../../utils";
5
5
  import { asBoolean } from "../../../../utils/as-boolean";
6
- const loader = cva(['rounded-lg w-full'], {
6
+ const loader = cva(['w-full rounded-lg'], {
7
7
  variants: {
8
8
  variant: {
9
9
  read: null,
@@ -111,18 +111,21 @@ export class FieldContainer {
111
111
  }
112
112
  return (h(ThemedHost, { key: '9b4ab7a1d59cead07a2065b0d6bc72be41d24287' }, h("label", { key: 'ac31d16bdd75b4b236479638efd367f4771627d1', class: cn('flex w-inherit flex-col gap-1', {
113
113
  'cursor-auto': this.variant === 'read',
114
- }), htmlFor: this.id }, h("div", { key: '06a0c419582c71df7323bc3b0deb2d8a98541ca7', class: cn('flex items-end justify-between gap-1 empty:hidden', {
114
+ }), htmlFor: this.id }, h("div", { key: '512c7c3162d9a40483f5d43d7fbea5635c40b45d', class: cn(`
115
+ flex items-end justify-between gap-1
116
+ empty:hidden
117
+ `, {
115
118
  'flex-row-reverse': this.align === 'end',
116
- }) }, (!!label?.length || !!helper?.length) && (h("div", { key: '97d2b33bb04145650b000dde1859015361855fa3', class: 'flex min-w-0 gap-2', onClick: () => this.focus.emit() }, h("span", { key: '4a2fc2b62dba4fc7d4a5f816944996333cff2ca3', class: 'min-w-0 overflow-hidden text-ellipsis text-xs font-medium text-storm-300 dark:text-hurricane-200' }, label), helper && (h("p-helper", { key: '1638bb0c6c3683bd2bd0836b9f4fd0ca07561baf', class: 'flex flex-shrink-0', placement: 'top' }, helper)))), ((!asBoolean(this.required) && asBoolean(this.showOptional)) ||
117
- hasHeaderSlot) && (h("div", { key: '4f9f56fc0951dab62bd75c4cc7ea724e17ec05aa', class: 'flex items-center gap-1' }, !asBoolean(this.required) &&
119
+ }) }, (!!label?.length || !!helper?.length) && (h("div", { key: '77b5887681e6537714b0352a02873a56ab22e304', class: 'flex min-w-0 gap-2', onClick: () => this.focus.emit() }, h("span", { key: '786e241b3537a05c4bf12f58333d5c10065879c3', class: '\n min-w-0 overflow-hidden text-ellipsis text-xs font-medium\n text-storm-300\n dark:text-hurricane-200\n ' }, label), helper && (h("p-helper", { key: 'd14700f7a78349ffb1de0a39bcb92ca9833e7f3b', class: 'flex flex-shrink-0', placement: 'top' }, helper)))), ((!asBoolean(this.required) && asBoolean(this.showOptional)) ||
120
+ hasHeaderSlot) && (h("div", { key: 'a3f63057ac68b62a68cf4d0b31b09039817ea87f', class: 'flex items-center gap-1' }, !asBoolean(this.required) &&
118
121
  asBoolean(this.showOptional) &&
119
- this.variant === 'write' && (h("span", { key: '5a86b8751d683868f5c6f001571c184684014741', class: 'text-xs font-medium text-storm-200 dark:text-hurricane-300' }, this.optionalTemplate())), hasHeaderSlot && h("slot", { key: '2bb4125dfcf6a346259a64f5a92000413fcd13ab', name: 'header' })))), h("p-tooltip", { key: '9ddda9fc48a0d3e95ba9953c1787728692b04b27', class: cn({
122
+ this.variant === 'write' && (h("span", { key: '6e98ac54bcabfe7b4481b1745b7c25fbc0c1e717', class: '\n text-xs font-medium text-storm-200\n dark:text-hurricane-300\n ' }, this.optionalTemplate())), hasHeaderSlot && h("slot", { key: 'e4b5a07a66a036c619d0a788c959a3d80af2f58c', name: 'header' })))), h("p-tooltip", { key: 'd482091d838534d3f3e3f177c9f5ccd605e8e519', class: cn({
120
123
  'w-full': this.variant === 'write' || this.loading,
121
124
  'ml-auto': this.align === 'end',
122
125
  'font-normal': this.variant === 'read',
123
126
  'text-storm-500 dark:text-white': this.variant === 'read',
124
127
  }), content: this.error, enableUserInput: false, placement: this.errorPlacement, show: errorAndErrorIsNotBoolean &&
125
- asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (h("slot", { key: '3670780d5e0907d655e282fbea6c43dcceea7e00', name: 'error', slot: 'content' })), contentSlot))));
128
+ asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (h("slot", { key: '45fc720b8771ffca3ce381fcc98c162947aa1e71', name: 'error', slot: 'content' })), contentSlot))));
126
129
  }
127
130
  async _setLocales() {
128
131
  this._locales = await getLocaleComponentStrings(this._el);