@paperless/core 3.26.3 → 3.27.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 (402) hide show
  1. package/dist/build/p-014ef0e1.entry.js +1 -0
  2. package/dist/build/{p-57c5bf0c.entry.js → p-017b3759.entry.js} +1 -1
  3. package/dist/build/{p-d2ff359e.entry.js → p-02a54f77.entry.js} +1 -1
  4. package/dist/{paperless/p-4cd8035a.entry.js → build/p-055b6209.entry.js} +1 -1
  5. package/dist/{paperless/p-6ed7ef6a.entry.js → build/p-1a26edba.entry.js} +1 -1
  6. package/dist/{paperless/p-34ec6b9b.entry.js → build/p-1a424b04.entry.js} +1 -1
  7. package/dist/build/{p-0cf2c5f5.entry.js → p-2248e489.entry.js} +1 -1
  8. package/dist/{paperless/p-e922cb1f.entry.js → build/p-2361ad53.entry.js} +1 -1
  9. package/dist/build/{p-e20e6aa3.entry.js → p-24db0c8f.entry.js} +1 -1
  10. package/dist/build/{p-48be5f53.entry.js → p-2efedc3d.entry.js} +1 -1
  11. package/dist/{paperless/p-9079dcb7.entry.js → build/p-31cf13c6.entry.js} +1 -1
  12. package/dist/build/p-3eb1d7d5.entry.js +1 -0
  13. package/dist/build/{p-1f450945.js → p-435a082d.js} +1 -1
  14. package/dist/build/{p-b1e6c746.entry.js → p-45176955.entry.js} +1 -1
  15. package/dist/build/p-4b6fd839.entry.js +1 -0
  16. package/dist/build/{p-2e53d921.entry.js → p-51312a8f.entry.js} +1 -1
  17. package/dist/{paperless/p-2ebc600b.entry.js → build/p-555cb497.entry.js} +1 -1
  18. package/dist/build/p-571575d2.entry.js +1 -0
  19. package/dist/build/p-62feca51.entry.js +1 -0
  20. package/dist/build/{p-38056598.entry.js → p-65466ef3.entry.js} +1 -1
  21. package/dist/build/{p-d5365ce3.entry.js → p-6a23ff2f.entry.js} +1 -1
  22. package/dist/{paperless/p-45b9a446.entry.js → build/p-6ac8c0c1.entry.js} +1 -1
  23. package/dist/{paperless/p-b8caedf6.entry.js → build/p-7c8ec514.entry.js} +1 -1
  24. package/dist/build/{p-2ce0c175.entry.js → p-7cd7bc8b.entry.js} +1 -1
  25. package/dist/{paperless/p-1b50f01d.entry.js → build/p-8c141cb8.entry.js} +1 -1
  26. package/dist/{paperless/p-b316ecff.entry.js → build/p-92910dad.entry.js} +1 -1
  27. package/dist/build/{p-020124fe.entry.js → p-9f684244.entry.js} +1 -1
  28. package/dist/build/p-BM1GAQNk.js +1 -0
  29. package/dist/build/{p-b1a372fc.entry.js → p-a035467d.entry.js} +1 -1
  30. package/dist/build/p-a395e9e0.entry.js +1 -0
  31. package/dist/build/{p-4851ac96.entry.js → p-b190b534.entry.js} +1 -1
  32. package/dist/build/{p-25842006.entry.js → p-b75ded13.entry.js} +1 -1
  33. package/dist/{paperless/p-477801df.entry.js → build/p-bdab91d9.entry.js} +1 -1
  34. package/dist/build/{p-561a4d56.entry.js → p-ce56d534.entry.js} +1 -1
  35. package/dist/{paperless/p-f18a511c.entry.js → build/p-d21a8908.entry.js} +1 -1
  36. package/dist/build/{p-749752fa.entry.js → p-d37faeaf.entry.js} +1 -1
  37. package/dist/build/{p-280c1727.entry.js → p-d5dfbaee.entry.js} +1 -1
  38. package/dist/build/{p-b005f182.entry.js → p-d7d2411e.entry.js} +1 -1
  39. package/dist/build/p-ea2deb46.entry.js +1 -0
  40. package/dist/build/{p-5c08054f.entry.js → p-ec0a6d22.entry.js} +1 -1
  41. package/dist/build/{p-44d6468b.entry.js → p-ec3752dc.entry.js} +1 -1
  42. package/dist/build/{p-af9fc40a.entry.js → p-f6ca0e6b.entry.js} +1 -1
  43. package/dist/build/p-fa06ff98.entry.js +1 -0
  44. package/dist/{paperless/p-1a373297.entry.js → build/p-fa13f317.entry.js} +1 -1
  45. package/dist/{paperless/p-501f2f7c.entry.js → build/p-fadcfc9f.entry.js} +1 -1
  46. package/dist/{paperless/p-272721bf.entry.js → build/p-fccb23e5.entry.js} +1 -1
  47. package/dist/build/{p-3b34c822.entry.js → p-fccf3bf9.entry.js} +1 -1
  48. package/dist/build/paperless.esm.js +1 -1
  49. package/dist/cjs/create-in-memory-file-DbvbYIM5.js +11 -0
  50. package/dist/cjs/p-accordion.cjs.entry.js +2 -2
  51. package/dist/cjs/p-attachment.cjs.entry.js +15 -10
  52. package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
  53. package/dist/cjs/p-avatar.cjs.entry.js +1 -1
  54. package/dist/cjs/p-backdrop.cjs.entry.js +3 -3
  55. package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
  56. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  57. package/dist/cjs/p-button_3.cjs.entry.js +1 -1
  58. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  59. package/dist/cjs/p-card-body.cjs.entry.js +1 -1
  60. package/dist/cjs/p-card-container.cjs.entry.js +2 -2
  61. package/dist/cjs/p-card-header.cjs.entry.js +3 -3
  62. package/dist/cjs/p-checkbox_3.cjs.entry.js +12 -10
  63. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  64. package/dist/cjs/p-cropper.cjs.entry.js +1 -1
  65. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  66. package/dist/cjs/p-divider.cjs.entry.js +2 -2
  67. package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
  68. package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +15 -7
  69. package/dist/cjs/p-dropzone.cjs.entry.js +11 -6
  70. package/dist/cjs/p-empty-state_8.cjs.entry.js +10 -10
  71. package/dist/cjs/p-field_3.cjs.entry.js +5 -5
  72. package/dist/cjs/p-floating-menu-item.cjs.entry.js +2 -2
  73. package/dist/cjs/p-illustration.cjs.entry.js +1 -1
  74. package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
  75. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  76. package/dist/cjs/p-listing-item.cjs.entry.js +1 -1
  77. package/dist/cjs/p-listing-line.cjs.entry.js +1 -1
  78. package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
  79. package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
  80. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  81. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  82. package/dist/cjs/p-pagination_3.cjs.entry.js +3 -3
  83. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  84. package/dist/cjs/p-radio.cjs.entry.js +3 -3
  85. package/dist/cjs/p-range.cjs.entry.js +3 -3
  86. package/dist/cjs/p-select.cjs.entry.js +50 -8
  87. package/dist/cjs/p-smile.cjs.entry.js +1 -1
  88. package/dist/cjs/p-stepper-item_2.cjs.entry.js +5 -5
  89. package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
  90. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  91. package/dist/cjs/p-table.cjs.entry.js +2 -2
  92. package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
  93. package/dist/cjs/p-toggle.cjs.entry.js +3 -3
  94. package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
  95. package/dist/collection/collection-manifest.json +1 -1
  96. package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +1 -1
  97. package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.component.js +1 -1
  98. package/dist/collection/components/atoms/backdrop/backdrop.component.js +3 -3
  99. package/dist/collection/components/atoms/badge/badge.component.js +1 -1
  100. package/dist/collection/components/atoms/card/body/card-body.component.js +1 -1
  101. package/dist/collection/components/atoms/card/container/card-container.component.js +2 -2
  102. package/dist/collection/components/atoms/card/header/card-header.component.js +3 -3
  103. package/dist/collection/components/atoms/checkbox/checkbox.component.js +4 -4
  104. package/dist/collection/components/atoms/divider/divider.component.js +2 -2
  105. package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +1 -1
  106. package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +2 -2
  107. package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +1 -1
  108. package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +3 -3
  109. package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.css +1 -1
  110. package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +14 -6
  111. package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
  112. package/dist/collection/components/atoms/helper/helper.component.js +1 -1
  113. package/dist/collection/components/atoms/icon/icon.component.js +1 -1
  114. package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
  115. package/dist/collection/components/atoms/info-panel/info-panel.component.js +2 -2
  116. package/dist/collection/components/atoms/layout/layout.component.js +1 -1
  117. package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
  118. package/dist/collection/components/atoms/listing/line/listing-line.component.js +1 -1
  119. package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
  120. package/dist/collection/components/atoms/modal/container/modal-container.component.js +2 -2
  121. package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
  122. package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
  123. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  124. package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
  125. package/dist/collection/components/atoms/radio/radio.component.js +3 -3
  126. package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
  127. package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
  128. package/dist/collection/components/atoms/smile/smile.component.js +1 -1
  129. package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +4 -4
  130. package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
  131. package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
  132. package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
  133. package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
  134. package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
  135. package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
  136. package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
  137. package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
  138. package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
  139. package/dist/collection/components/molecules/attachment/attachment.component.js +15 -11
  140. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  141. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  142. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  143. package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
  144. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  145. package/dist/collection/components/molecules/dropdown/dropdown.component.js +5 -3
  146. package/dist/collection/components/molecules/dropzone/dropzone.component.js +11 -7
  147. package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
  148. package/dist/collection/components/molecules/field/field/field.component.js +4 -4
  149. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +3 -3
  150. package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
  151. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
  152. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  153. package/dist/collection/components/molecules/range/range.component.js +3 -3
  154. package/dist/collection/components/molecules/select/select.component.js +72 -10
  155. package/dist/collection/components/molecules/select/select.stories.js +121 -18
  156. package/dist/collection/components/molecules/table/header/table-header.component.js +4 -4
  157. package/dist/collection/components/organisms/table/table.component.js +2 -2
  158. package/dist/collection/utils/create-in-memory-file.js +7 -0
  159. package/dist/components/{p-eGnIeQsr.js → p-1gDAZ8pd.js} +1 -1
  160. package/dist/components/{p-Co4UMOn6.js → p-2wIrtCNR.js} +1 -1
  161. package/dist/components/{p-CjxC_h_X.js → p-4-PxF11o.js} +1 -1
  162. package/dist/components/{p-DIuIGoBt.js → p-9XjFw7wO.js} +1 -1
  163. package/dist/components/p-B-GINaYf.js +1 -0
  164. package/dist/components/{p-ZSDx-Rn0.js → p-B0KMsqdv.js} +1 -1
  165. package/dist/components/{p-FK08Vr2S.js → p-B2Wcsz4j.js} +1 -1
  166. package/dist/components/{p-yYRVYWXO.js → p-B47sjbpK.js} +1 -1
  167. package/dist/components/{p--_gjJpd8.js → p-B9klDtR-.js} +1 -1
  168. package/dist/components/p-BG1plx2A.js +1 -0
  169. package/dist/components/{p-BFTj4F6O.js → p-BJyXdiHc.js} +1 -1
  170. package/dist/components/p-BM1GAQNk.js +1 -0
  171. package/dist/components/{p-Cm3IhOw8.js → p-BobrXbRh.js} +1 -1
  172. package/dist/components/{p-DS7XBqIp.js → p-BskFLFSo.js} +1 -1
  173. package/dist/components/{p-CAt4316p.js → p-BvfezQkY.js} +1 -1
  174. package/dist/components/{p-BswRuxmk.js → p-ByJPQrlL.js} +1 -1
  175. package/dist/components/{p-CJ7I5BCS.js → p-CPSiExRl.js} +1 -1
  176. package/dist/components/{p-CUQydYt5.js → p-CQnWpHIs.js} +1 -1
  177. package/dist/components/{p-CN4ZWAkb.js → p-CSnOLBSV.js} +1 -1
  178. package/dist/components/{p-TtrclAAz.js → p-CZ8afGMO.js} +1 -1
  179. package/dist/components/{p-BksolHpY.js → p-C_ImoJA8.js} +1 -1
  180. package/dist/components/{p-CTC-N56p.js → p-Cgqav9mX.js} +1 -1
  181. package/dist/components/{p-VqccwN4a.js → p-ClZHa_Zf.js} +1 -1
  182. package/dist/components/{p-1jNdZTKN.js → p-Cmltn24W.js} +1 -1
  183. package/dist/components/{p-BPCXcEQD.js → p-CmoU4H6Q.js} +1 -1
  184. package/dist/components/{p-B6PqwbBc.js → p-CpRKUhuF.js} +1 -1
  185. package/dist/components/{p-D0uXSAIf.js → p-CxrxqKhq.js} +1 -1
  186. package/dist/components/{p-kdBBVGjg.js → p-D5BA_qF7.js} +1 -1
  187. package/dist/components/{p-DGoOsLEr.js → p-DHJIvL0U.js} +1 -1
  188. package/dist/components/{p-D5OXFgvY.js → p-DHKJDm0J.js} +1 -1
  189. package/dist/components/{p-DixhvrFt.js → p-DaPWhcRy.js} +1 -1
  190. package/dist/components/{p-B-yfQWzc.js → p-DxuTDs4a.js} +1 -1
  191. package/dist/components/{p-DfVHhJmL.js → p-HVaovLkY.js} +1 -1
  192. package/dist/components/{p-BBlYsP5p.js → p-L0a3qALZ.js} +1 -1
  193. package/dist/components/{p-1qs8jjR4.js → p-V1uzM_gT.js} +1 -1
  194. package/dist/components/{p-B8iFUPO5.js → p-aAebGiQ0.js} +1 -1
  195. package/dist/components/p-accordion.js +1 -1
  196. package/dist/components/p-attachment.js +1 -1
  197. package/dist/components/p-avatar-group.js +1 -1
  198. package/dist/components/p-avatar.js +1 -1
  199. package/dist/components/{p-B3Q_nqZE.js → p-bZ3k4UvK.js} +1 -1
  200. package/dist/components/p-backdrop.js +1 -1
  201. package/dist/components/p-badge.js +1 -1
  202. package/dist/components/p-button-group.js +1 -1
  203. package/dist/components/p-button.js +1 -1
  204. package/dist/components/{p-DZjtEarb.js → p-c4v-m6AC.js} +1 -1
  205. package/dist/components/{p-COscyt8q.js → p-c6u4OYf0.js} +1 -1
  206. package/dist/components/p-calendar.js +1 -1
  207. package/dist/components/p-card-body.js +1 -1
  208. package/dist/components/p-card-container.js +1 -1
  209. package/dist/components/p-card-header.js +1 -1
  210. package/dist/components/p-checkbox.js +1 -1
  211. package/dist/components/p-content-slider.js +1 -1
  212. package/dist/components/p-cropper.js +2 -2
  213. package/dist/components/p-datepicker.js +1 -1
  214. package/dist/components/p-divider.js +1 -1
  215. package/dist/components/p-drawer-body.js +1 -1
  216. package/dist/components/p-drawer-container.js +1 -1
  217. package/dist/components/p-drawer-header.js +1 -1
  218. package/dist/components/p-drawer.js +1 -1
  219. package/dist/components/p-dropdown-menu-container.js +1 -1
  220. package/dist/components/p-dropdown-menu-item.js +1 -1
  221. package/dist/components/p-dropdown.js +1 -1
  222. package/dist/components/p-dropzone.js +1 -1
  223. package/dist/components/{p-BJFfno38.js → p-eLIgN9FF.js} +1 -1
  224. package/dist/components/p-empty-state.js +1 -1
  225. package/dist/components/p-field-container.js +1 -1
  226. package/dist/components/p-field.js +1 -1
  227. package/dist/components/p-floating-menu-container.js +1 -1
  228. package/dist/components/p-floating-menu-item.js +1 -1
  229. package/dist/components/{p-BmhVEljv.js → p-gEaqH36V.js} +1 -1
  230. package/dist/components/p-helper.js +1 -1
  231. package/dist/components/p-icon.js +1 -1
  232. package/dist/components/p-illustration.js +1 -1
  233. package/dist/components/p-info-panel.js +1 -1
  234. package/dist/components/p-label.js +1 -1
  235. package/dist/components/p-layout.js +1 -1
  236. package/dist/components/p-listing-item.js +1 -1
  237. package/dist/components/p-listing-line.js +1 -1
  238. package/dist/components/p-listing.js +1 -1
  239. package/dist/components/p-modal-body.js +1 -1
  240. package/dist/components/p-modal-container.js +1 -1
  241. package/dist/components/p-modal-footer.js +1 -1
  242. package/dist/components/p-modal-header.js +1 -1
  243. package/dist/components/p-modal.js +1 -1
  244. package/dist/components/p-navbar.js +1 -1
  245. package/dist/components/p-navigation-item.js +1 -1
  246. package/dist/components/p-navigation-section.js +1 -1
  247. package/dist/components/p-navigation-title.js +1 -1
  248. package/dist/components/p-pagination-pages-item.js +1 -1
  249. package/dist/components/p-pagination-pages.js +1 -1
  250. package/dist/components/p-pagination-size.js +1 -1
  251. package/dist/components/p-pagination.js +1 -1
  252. package/dist/components/p-profile.js +1 -1
  253. package/dist/components/p-q5vnW4We.js +1 -0
  254. package/dist/components/p-radio.js +1 -1
  255. package/dist/components/p-range.js +1 -1
  256. package/dist/components/p-segment-container.js +1 -1
  257. package/dist/components/p-segment-item.js +1 -1
  258. package/dist/components/p-select.js +1 -1
  259. package/dist/components/p-smile.js +1 -1
  260. package/dist/components/p-stepper-item.js +1 -1
  261. package/dist/components/p-stepper-line.js +1 -1
  262. package/dist/components/p-stepper.js +1 -1
  263. package/dist/components/p-submenu-item.js +1 -1
  264. package/dist/components/p-submenu.js +1 -1
  265. package/dist/components/p-tab-container.js +1 -1
  266. package/dist/components/p-tab-item.js +1 -1
  267. package/dist/components/p-table-container.js +1 -1
  268. package/dist/components/p-table-footer.js +1 -1
  269. package/dist/components/p-table-header.js +1 -1
  270. package/dist/components/p-table-row-actions-container.js +1 -1
  271. package/dist/components/p-table-row.js +1 -1
  272. package/dist/components/p-table.js +1 -1
  273. package/dist/components/p-toast-container.js +1 -1
  274. package/dist/components/p-toast.js +1 -1
  275. package/dist/components/p-toggle.js +1 -1
  276. package/dist/components/p-tooltip.js +1 -1
  277. package/dist/components/{p-CMfdl_TW.js → p-vcV0dLlI.js} +1 -1
  278. package/dist/components/{p-CQo1Di0o.js → p-yaD47mvt.js} +1 -1
  279. package/dist/components/{p-Dn13oSNs.js → p-zBwPEKhI.js} +1 -1
  280. package/dist/esm/create-in-memory-file-BM1GAQNk.js +9 -0
  281. package/dist/esm/p-accordion.entry.js +2 -2
  282. package/dist/esm/p-attachment.entry.js +15 -10
  283. package/dist/esm/p-avatar-group.entry.js +1 -1
  284. package/dist/esm/p-avatar.entry.js +1 -1
  285. package/dist/esm/p-backdrop.entry.js +3 -3
  286. package/dist/esm/p-badge_3.entry.js +4 -4
  287. package/dist/esm/p-button-group.entry.js +1 -1
  288. package/dist/esm/p-button_3.entry.js +1 -1
  289. package/dist/esm/p-calendar.entry.js +1 -1
  290. package/dist/esm/p-card-body.entry.js +1 -1
  291. package/dist/esm/p-card-container.entry.js +2 -2
  292. package/dist/esm/p-card-header.entry.js +3 -3
  293. package/dist/esm/p-checkbox_3.entry.js +12 -10
  294. package/dist/esm/p-content-slider.entry.js +2 -2
  295. package/dist/esm/p-cropper.entry.js +1 -1
  296. package/dist/esm/p-datepicker.entry.js +2 -2
  297. package/dist/esm/p-divider.entry.js +2 -2
  298. package/dist/esm/p-drawer-body_3.entry.js +4 -4
  299. package/dist/esm/p-dropdown-menu-item_2.entry.js +15 -7
  300. package/dist/esm/p-dropzone.entry.js +11 -6
  301. package/dist/esm/p-empty-state_8.entry.js +10 -10
  302. package/dist/esm/p-field_3.entry.js +5 -5
  303. package/dist/esm/p-floating-menu-item.entry.js +2 -2
  304. package/dist/esm/p-illustration.entry.js +1 -1
  305. package/dist/esm/p-info-panel.entry.js +2 -2
  306. package/dist/esm/p-layout.entry.js +1 -1
  307. package/dist/esm/p-listing-item.entry.js +1 -1
  308. package/dist/esm/p-listing-line.entry.js +1 -1
  309. package/dist/esm/p-modal-body_4.entry.js +6 -6
  310. package/dist/esm/p-navigation-item.entry.js +3 -3
  311. package/dist/esm/p-navigation-section.entry.js +1 -1
  312. package/dist/esm/p-navigation-title.entry.js +1 -1
  313. package/dist/esm/p-pagination_3.entry.js +3 -3
  314. package/dist/esm/p-profile.entry.js +1 -1
  315. package/dist/esm/p-radio.entry.js +3 -3
  316. package/dist/esm/p-range.entry.js +3 -3
  317. package/dist/esm/p-select.entry.js +50 -8
  318. package/dist/esm/p-smile.entry.js +1 -1
  319. package/dist/esm/p-stepper-item_2.entry.js +5 -5
  320. package/dist/esm/p-tab-container.entry.js +1 -1
  321. package/dist/esm/p-tab-item.entry.js +1 -1
  322. package/dist/esm/p-table.entry.js +2 -2
  323. package/dist/esm/p-toast-container.entry.js +2 -2
  324. package/dist/esm/p-toggle.entry.js +3 -3
  325. package/dist/esm/p-tooltip.entry.js +2 -2
  326. package/dist/index.html +1 -1
  327. package/dist/paperless/p-014ef0e1.entry.js +1 -0
  328. package/dist/paperless/{p-57c5bf0c.entry.js → p-017b3759.entry.js} +1 -1
  329. package/dist/paperless/{p-d2ff359e.entry.js → p-02a54f77.entry.js} +1 -1
  330. package/dist/{build/p-4cd8035a.entry.js → paperless/p-055b6209.entry.js} +1 -1
  331. package/dist/{build/p-6ed7ef6a.entry.js → paperless/p-1a26edba.entry.js} +1 -1
  332. package/dist/{build/p-34ec6b9b.entry.js → paperless/p-1a424b04.entry.js} +1 -1
  333. package/dist/paperless/{p-0cf2c5f5.entry.js → p-2248e489.entry.js} +1 -1
  334. package/dist/{build/p-e922cb1f.entry.js → paperless/p-2361ad53.entry.js} +1 -1
  335. package/dist/paperless/{p-e20e6aa3.entry.js → p-24db0c8f.entry.js} +1 -1
  336. package/dist/paperless/{p-48be5f53.entry.js → p-2efedc3d.entry.js} +1 -1
  337. package/dist/{build/p-9079dcb7.entry.js → paperless/p-31cf13c6.entry.js} +1 -1
  338. package/dist/paperless/p-3eb1d7d5.entry.js +1 -0
  339. package/dist/paperless/{p-b1e6c746.entry.js → p-45176955.entry.js} +1 -1
  340. package/dist/paperless/p-4b6fd839.entry.js +1 -0
  341. package/dist/paperless/{p-2e53d921.entry.js → p-51312a8f.entry.js} +1 -1
  342. package/dist/{build/p-2ebc600b.entry.js → paperless/p-555cb497.entry.js} +1 -1
  343. package/dist/paperless/p-571575d2.entry.js +1 -0
  344. package/dist/paperless/p-62feca51.entry.js +1 -0
  345. package/dist/paperless/{p-38056598.entry.js → p-65466ef3.entry.js} +1 -1
  346. package/dist/paperless/{p-d5365ce3.entry.js → p-6a23ff2f.entry.js} +1 -1
  347. package/dist/{build/p-45b9a446.entry.js → paperless/p-6ac8c0c1.entry.js} +1 -1
  348. package/dist/{build/p-b8caedf6.entry.js → paperless/p-7c8ec514.entry.js} +1 -1
  349. package/dist/paperless/{p-2ce0c175.entry.js → p-7cd7bc8b.entry.js} +1 -1
  350. package/dist/{build/p-1b50f01d.entry.js → paperless/p-8c141cb8.entry.js} +1 -1
  351. package/dist/{build/p-b316ecff.entry.js → paperless/p-92910dad.entry.js} +1 -1
  352. package/dist/paperless/{p-020124fe.entry.js → p-9f684244.entry.js} +1 -1
  353. package/dist/paperless/p-BM1GAQNk.js +1 -0
  354. package/dist/paperless/{p-b1a372fc.entry.js → p-a035467d.entry.js} +1 -1
  355. package/dist/paperless/p-a395e9e0.entry.js +1 -0
  356. package/dist/paperless/{p-4851ac96.entry.js → p-b190b534.entry.js} +1 -1
  357. package/dist/paperless/{p-25842006.entry.js → p-b75ded13.entry.js} +1 -1
  358. package/dist/{build/p-477801df.entry.js → paperless/p-bdab91d9.entry.js} +1 -1
  359. package/dist/paperless/{p-561a4d56.entry.js → p-ce56d534.entry.js} +1 -1
  360. package/dist/{build/p-f18a511c.entry.js → paperless/p-d21a8908.entry.js} +1 -1
  361. package/dist/paperless/{p-749752fa.entry.js → p-d37faeaf.entry.js} +1 -1
  362. package/dist/paperless/{p-280c1727.entry.js → p-d5dfbaee.entry.js} +1 -1
  363. package/dist/paperless/{p-b005f182.entry.js → p-d7d2411e.entry.js} +1 -1
  364. package/dist/paperless/p-ea2deb46.entry.js +1 -0
  365. package/dist/paperless/{p-5c08054f.entry.js → p-ec0a6d22.entry.js} +1 -1
  366. package/dist/paperless/{p-44d6468b.entry.js → p-ec3752dc.entry.js} +1 -1
  367. package/dist/paperless/{p-af9fc40a.entry.js → p-f6ca0e6b.entry.js} +1 -1
  368. package/dist/paperless/p-fa06ff98.entry.js +1 -0
  369. package/dist/{build/p-1a373297.entry.js → paperless/p-fa13f317.entry.js} +1 -1
  370. package/dist/{build/p-501f2f7c.entry.js → paperless/p-fadcfc9f.entry.js} +1 -1
  371. package/dist/{build/p-272721bf.entry.js → paperless/p-fccb23e5.entry.js} +1 -1
  372. package/dist/paperless/{p-3b34c822.entry.js → p-fccf3bf9.entry.js} +1 -1
  373. package/dist/paperless/paperless.esm.js +1 -1
  374. package/dist/sw.js +1 -1
  375. package/dist/sw.js.map +1 -1
  376. package/dist/types/components/atoms/dropdown-menu/item/dropdown-menu-item.component.d.ts +1 -1
  377. package/dist/types/components/molecules/select/select.component.d.ts +14 -2
  378. package/dist/types/components/molecules/select/select.stories.d.ts +45 -3
  379. package/dist/types/components.d.ts +27 -4
  380. package/dist/types/utils/create-in-memory-file.d.ts +1 -0
  381. package/hydrate/index.js +200 -133
  382. package/hydrate/index.mjs +200 -133
  383. package/package.json +1 -1
  384. package/dist/build/p-4b7ac676.entry.js +0 -1
  385. package/dist/build/p-56ceed87.entry.js +0 -1
  386. package/dist/build/p-5d58a880.entry.js +0 -1
  387. package/dist/build/p-70071176.entry.js +0 -1
  388. package/dist/build/p-8ae7f9fd.entry.js +0 -1
  389. package/dist/build/p-92259edb.entry.js +0 -1
  390. package/dist/build/p-9ac5f80b.entry.js +0 -1
  391. package/dist/build/p-ce15940f.entry.js +0 -1
  392. package/dist/components/p-4-EYCe-6.js +0 -1
  393. package/dist/components/p-CUMk7xBX.js +0 -1
  394. package/dist/components/p-bTOCGgU2.js +0 -1
  395. package/dist/paperless/p-4b7ac676.entry.js +0 -1
  396. package/dist/paperless/p-56ceed87.entry.js +0 -1
  397. package/dist/paperless/p-5d58a880.entry.js +0 -1
  398. package/dist/paperless/p-70071176.entry.js +0 -1
  399. package/dist/paperless/p-8ae7f9fd.entry.js +0 -1
  400. package/dist/paperless/p-92259edb.entry.js +0 -1
  401. package/dist/paperless/p-9ac5f80b.entry.js +0 -1
  402. package/dist/paperless/p-ce15940f.entry.js +0 -1
@@ -1 +1 @@
1
- import{t,p as e,H as i,h as a}from"./p-CySg37XO.js";import{c as r}from"./p-CBWjHURv.js";import{T as o}from"./p-Au2WuEGF.js";import{a as n}from"./p-C5CTp9IA.js";import{d as s}from"./p-BmhVEljv.js";const c=r("flex gap-2",{variants:{align:{start:"items-start",center:"items-center",end:"items-end"},contentPosition:{start:"flex-row-reverse",end:null}}}),d=r(["flex items-center justify-center","text-center text-sm font-medium","rounded-full"],{variants:{align:{start:null,center:null,end:null},direction:{horizontal:null,vertical:null},finished:{true:null,false:null},active:{true:null,false:null},variant:{default:["size-6","border border-solid"],icon:"size-8"}},compoundVariants:[{finished:!1,active:!1,variant:"default",class:["border-indigo-600 bg-indigo-50 text-indigo-600","dark:border-white/15 dark:bg-white/15 dark:text-hurricane-200"]},{active:!0,finished:!1,variant:"default",class:"border-indigo-600 bg-indigo-600 text-white"},{active:!1,finished:!0,variant:"default",class:"border-indigo-600 bg-indigo-600 text-white"},{finished:!1,active:!1,variant:"icon",class:["bg-indigo-100 text-storm-200","dark:bg-white/15 dark:text-hurricane-200"]},{active:!0,finished:!1,variant:"icon",class:"bg-indigo-500 text-storm-500"},{active:!1,finished:!0,variant:"icon",class:"bg-indigo-100 text-indigo-600"},{direction:"vertical",align:"start",class:"mt-5"},{direction:"vertical",align:"end",class:"mb-5"}]}),l=r("mt-[1px] flex-1 text-sm",{variants:{finished:{true:null,false:null},active:{true:null,false:null},direction:{horizontal:null,vertical:null},variant:{default:"font-medium",icon:"font-semibold"}},compoundVariants:[{finished:!1,active:!1,variant:"default",class:"\n text-storm-400\n dark:text-hurricane-200\n "},{active:!0,finished:!1,variant:"default",class:"\n text-storm-500\n dark:text-white\n "},{active:!1,finished:!0,variant:"default",class:"\n text-storm-500\n dark:text-white\n "},{active:!1,variant:"icon",class:"\n text-storm-300\n dark:text-hurricane-200\n "},{active:!0,variant:"icon",class:"\n text-storm-500\n dark:text-white\n "},{direction:"horizontal",active:!1,class:"\n hidden\n desktop-xs:inline-block\n "}]}),h=e(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}number=1;icon;direction="horizontal";variant="default";align="center";contentPosition="end";finished=!1;active=!1;render(){return a(o,{key:"367d59656e6767f50c1c7aefab806f15c024e296"},a("div",{key:"622a892f8241c64d1b38bad2c5850d3cf24e1c33",class:c({align:"default"===this.variant?this.align:"center",contentPosition:this.contentPosition})},a("div",{key:"199eb6369e37094d21e6bc5f74facee3a8d5b6ac",class:d({align:this.align,direction:this.direction,active:n(this.active),finished:n(this.finished),variant:this.variant})},"icon"===this.variant&&(this.icon||this.finished)?a("p-icon",{variant:this.finished?"checkmark":this.icon}):this.number),a("div",{key:"7b5349a6e9719c14f57834909912587202c6725b",class:l({active:n(this.active),finished:n(this.finished),direction:this.direction,variant:this.variant})},a("slot",{key:"5a7ed0fa8acc0af1bf53f0c935c2b114a8efefc7"}))))}static get style(){return"*{box-sizing:border-box}.static{position:static}.mb-5{margin-bottom:1.25rem}.mt-5{margin-top:1.25rem}.mt-\\[1px\\]{margin-top:1px}.flex{display:flex}.hidden{display:none}.size-6{height:1.5rem;width:1.5rem}.size-8{height:2rem;width:2rem}.flex-1{flex:1 1 0%}.flex-row-reverse{flex-direction:row-reverse}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity,1))}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-indigo-500{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}@media (min-width:64rem){.desktop-xs\\:inline-block{display:inline-block}}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[769,"p-stepper-item",{number:[2],icon:[1],direction:[1],variant:[1],align:[1],contentPosition:[1,"content-position"],finished:[4],active:[4]}]);function m(){"undefined"!=typeof customElements&&["p-stepper-item","p-icon"].forEach((e=>{switch(e){case"p-stepper-item":customElements.get(t(e))||customElements.define(t(e),h);break;case"p-icon":customElements.get(t(e))||s()}}))}m();export{h as S,m as d}
1
+ import{t,p as e,H as i,h as a}from"./p-CySg37XO.js";import{c as r}from"./p-CBWjHURv.js";import{T as o}from"./p-Au2WuEGF.js";import{a as n}from"./p-C5CTp9IA.js";import{d as s}from"./p-gEaqH36V.js";const d=r("flex gap-2",{variants:{align:{start:"items-start",center:"items-center",end:"items-end"},contentPosition:{start:"flex-row-reverse",end:null}}}),c=r(["flex items-center justify-center","text-center text-sm font-medium","rounded-full"],{variants:{align:{start:null,center:null,end:null},direction:{horizontal:null,vertical:null},finished:{true:null,false:null},active:{true:null,false:null},variant:{default:["size-6","border border-solid"],icon:"size-8"}},compoundVariants:[{finished:!1,active:!1,variant:"default",class:["border-indigo-600 bg-indigo-50 text-indigo-600","dark:border-white/15 dark:bg-white/15 dark:text-hurricane-200"]},{active:!0,finished:!1,variant:"default",class:"border-indigo-600 bg-indigo-600 text-white"},{active:!1,finished:!0,variant:"default",class:"border-indigo-600 bg-indigo-600 text-white"},{finished:!1,active:!1,variant:"icon",class:["bg-indigo-100 text-storm-200","dark:bg-white/15 dark:text-hurricane-200"]},{active:!0,finished:!1,variant:"icon",class:"bg-indigo-500 text-storm-500"},{active:!1,finished:!0,variant:"icon",class:"bg-indigo-100 text-indigo-600"},{direction:"vertical",align:"start",class:"mt-5"},{direction:"vertical",align:"end",class:"mb-5"}]}),l=r("mt-[1px] flex-1 text-sm",{variants:{finished:{true:null,false:null},active:{true:null,false:null},direction:{horizontal:null,vertical:null},variant:{default:"font-medium",icon:"font-semibold"}},compoundVariants:[{finished:!1,active:!1,variant:"default",class:"\n text-storm-400\n dark:text-hurricane-200\n "},{active:!0,finished:!1,variant:"default",class:"\n text-storm-500\n dark:text-white\n "},{active:!1,finished:!0,variant:"default",class:"\n text-storm-500\n dark:text-white\n "},{active:!1,variant:"icon",class:"\n text-storm-300\n dark:text-hurricane-200\n "},{active:!0,variant:"icon",class:"\n text-storm-500\n dark:text-white\n "},{direction:"horizontal",active:!1,class:"\n hidden\n desktop-xs:inline-block\n "}]}),h=e(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}number=1;icon;direction="horizontal";variant="default";align="center";contentPosition="end";finished=!1;active=!1;render(){return a(o,{key:"f6e0975e555482bb9d7084a04a1d3543a14506c0"},a("div",{key:"83a55a58b2e4cd7654e548a83ee460022076fadd",class:d({align:"default"===this.variant?this.align:"center",contentPosition:this.contentPosition})},a("div",{key:"c4ed8f04cc1543139095c8b5d8df396a4d574be9",class:c({align:this.align,direction:this.direction,active:n(this.active),finished:n(this.finished),variant:this.variant})},"icon"===this.variant&&(this.icon||this.finished)?a("p-icon",{variant:this.finished?"checkmark":this.icon}):this.number),a("div",{key:"6836d3a6900c78d9e398cf54cc90ec9c55e97fa3",class:l({active:n(this.active),finished:n(this.finished),direction:this.direction,variant:this.variant})},a("slot",{key:"34598e124bef3de28a393513adb936e0fc1aba84"}))))}static get style(){return"*{box-sizing:border-box}.static{position:static}.mb-5{margin-bottom:1.25rem}.mt-5{margin-top:1.25rem}.mt-\\[1px\\]{margin-top:1px}.flex{display:flex}.hidden{display:none}.size-6{height:1.5rem;width:1.5rem}.size-8{height:2rem;width:2rem}.flex-1{flex:1 1 0%}.flex-row-reverse{flex-direction:row-reverse}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity,1))}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-indigo-500{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}@media (min-width:64rem){.desktop-xs\\:inline-block{display:inline-block}}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[769,"p-stepper-item",{number:[2],icon:[1],direction:[1],variant:[1],align:[1],contentPosition:[1,"content-position"],finished:[4],active:[4]}]);function m(){"undefined"!=typeof customElements&&["p-stepper-item","p-icon"].forEach((e=>{switch(e){case"p-stepper-item":customElements.get(t(e))||customElements.define(t(e),h);break;case"p-icon":customElements.get(t(e))||s()}}))}m();export{h as S,m as d}
@@ -1 +1 @@
1
- import{t,p as e,H as r,c as a,h as o}from"./p-CySg37XO.js";import{c as i}from"./p-CBWjHURv.js";import{T as s}from"./p-Au2WuEGF.js";import{f as d,g as n}from"./p-CwQG70_4.js";import{c as h}from"./p-xs4N_Y-0.js";import{P as w,a as c}from"./p-CEaB2BT0.js";import{a as g}from"./p-C5CTp9IA.js";import{d as p}from"./p-TtrclAAz.js";import{d as l}from"./p-4-EYCe-6.js";import{d as m}from"./p-CUQydYt5.js";import{d as f}from"./p-CUMk7xBX.js";import{d as b}from"./p-BmhVEljv.js";const v=i([],{variants:{hidden:{false:null,true:"hidden"}}}),x=i(["group/pagination-size-trigger","flex items-center gap-2","h-6 px-2","text-sm font-medium text-storm-500","dark:text-white","cursor-pointer rounded-full","border border-solid shadow-1"],{variants:{active:{false:["\n border-transparent bg-white\n hover:bg-white-600\n ","\n dark:bg-white/15\n dark:hover:bg-white/25\n "],true:["border-indigo-600 bg-white-600 ring ring-2 ring-indigo-100","dark:bg-white/25 dark:ring-0"]}}}),k=e(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.sizeChange=a(this,"sizeChange",3)}_defaultItemTemplate=t=>d(this._locales.item,{size:t});size=w;sizeOptions=c;sizeChange;itemTemplate=this._defaultItemTemplate;get _el(){return this}hidden=!1;dropdownIsOpen=!1;_locales={};componentWillLoad(){this._setLocales()}render(){return o(s,{key:"5e1b33344ed17b9091f9f77de65ae085832d689e",class:v({hidden:g(this.hidden)})},o("p-dropdown",{key:"8084c18cb9241748daf3d4199e823083941c2624",applyFullWidth:!0,applyMaxWidth:!1,chevronDirection:"down",placement:"top-start",onIsOpen:({detail:t})=>this.dropdownIsOpen=t},o("div",{key:"43da06218c720985f7a7ab2496aa58c5250de3bf",class:x({active:this.dropdownIsOpen}),slot:"trigger"},o("p",{key:"6bce5c88289ba40dd11d25a9ef3bfb7268a8ccb1",class:"min-w-0 flex-1 overflow-hidden text-ellipsis text-nowrap"},this.itemTemplate?this.itemTemplate(this.size):this._defaultItemTemplate(this.size)),o("p-icon",{key:"ca9506f126086f9a4ac7ecd43654cdf41fcc3cf6",class:h(["flex-shrink-0","group-hover/pagination-size-trigger:text-storm-500","dark:group-hover/pagination-size-trigger:text-white"],{"text-storm-300 dark:text-hurricane-200":!this.dropdownIsOpen,"text-storm-500 dark:text-white":!!this.dropdownIsOpen}),size:"sm",variant:"double-caret"})),o("slot",{key:"0c03ec3e9b917857a9f3b76f56c6bb7133ec988c",slot:"items"},this.sizeOptions.map((t=>o("p-dropdown-menu-item",{active:t===this.size,onClick:()=>this._changeSize(t)},this.itemTemplate?this.itemTemplate(t):this._defaultItemTemplate(t)))))))}async _setLocales(){this._locales=await n(this._el)}_changeSize(t){t&&(this.size=t,this.sizeChange.emit(this.size))}static get style(){return"*{box-sizing:border-box}.static{position:static}.flex{display:flex}.hidden{display:none}.h-6{height:1.5rem}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.text-nowrap{text-wrap:nowrap}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity,1))}.border-transparent{border-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.px-2{padding-left:.5rem;padding-right:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.text-hurricane-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08);--tw-shadow-colored:0 1px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring,.ring-2{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring-indigo-100{--tw-ring-opacity:1;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))}.hover\\:bg-white-600:hover{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.group\\/pagination-size-trigger:hover .group-hover\\/pagination-size-trigger\\:text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/25:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.25)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-0:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:hover\\:bg-white\\/25:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.25)}.group\\/pagination-size-trigger:hover .dark\\:group-hover\\/pagination-size-trigger\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/25:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.25)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-0:where([data-theme=dark],[data-theme=dark] *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:hover\\:bg-white\\/25:hover:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.25)}.group\\/pagination-size-trigger:hover .dark\\:group-hover\\/pagination-size-trigger\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[769,"p-pagination-size",{size:[1538],sizeOptions:[16],itemTemplate:[16],hidden:[4],dropdownIsOpen:[32],_locales:[32]},[[16,"localeChanged","_setLocales"]]]);function u(){"undefined"!=typeof customElements&&["p-pagination-size","p-checkbox","p-dropdown","p-dropdown-menu-container","p-dropdown-menu-item","p-icon"].forEach((e=>{switch(e){case"p-pagination-size":customElements.get(t(e))||customElements.define(t(e),k);break;case"p-checkbox":customElements.get(t(e))||p();break;case"p-dropdown":customElements.get(t(e))||l();break;case"p-dropdown-menu-container":customElements.get(t(e))||m();break;case"p-dropdown-menu-item":customElements.get(t(e))||f();break;case"p-icon":customElements.get(t(e))||b()}}))}u();export{k as P,u as d}
1
+ import{t,p as e,H as r,c as a,h as o}from"./p-CySg37XO.js";import{c as i}from"./p-CBWjHURv.js";import{T as s}from"./p-Au2WuEGF.js";import{f as d,g as n}from"./p-CwQG70_4.js";import{c as h}from"./p-xs4N_Y-0.js";import{P as w,a as c}from"./p-CEaB2BT0.js";import{a as g}from"./p-C5CTp9IA.js";import{d as p}from"./p-CZ8afGMO.js";import{d as l}from"./p-BG1plx2A.js";import{d as m}from"./p-CQnWpHIs.js";import{d as f}from"./p-B-GINaYf.js";import{d as b}from"./p-gEaqH36V.js";const v=i([],{variants:{hidden:{false:null,true:"hidden"}}}),x=i(["group/pagination-size-trigger","flex items-center gap-2","h-6 px-2","text-sm font-medium text-storm-500","dark:text-white","cursor-pointer rounded-full","border border-solid shadow-1"],{variants:{active:{false:["\n border-transparent bg-white\n hover:bg-white-600\n ","\n dark:bg-white/15\n dark:hover:bg-white/25\n "],true:["border-indigo-600 bg-white-600 ring ring-2 ring-indigo-100","dark:bg-white/25 dark:ring-0"]}}}),k=e(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.sizeChange=a(this,"sizeChange",3)}_defaultItemTemplate=t=>d(this._locales.item,{size:t});size=w;sizeOptions=c;sizeChange;itemTemplate=this._defaultItemTemplate;get _el(){return this}hidden=!1;dropdownIsOpen=!1;_locales={};componentWillLoad(){this._setLocales()}render(){return o(s,{key:"5e1b33344ed17b9091f9f77de65ae085832d689e",class:v({hidden:g(this.hidden)})},o("p-dropdown",{key:"8084c18cb9241748daf3d4199e823083941c2624",applyFullWidth:!0,applyMaxWidth:!1,chevronDirection:"down",placement:"top-start",onIsOpen:({detail:t})=>this.dropdownIsOpen=t},o("div",{key:"43da06218c720985f7a7ab2496aa58c5250de3bf",class:x({active:this.dropdownIsOpen}),slot:"trigger"},o("p",{key:"6bce5c88289ba40dd11d25a9ef3bfb7268a8ccb1",class:"min-w-0 flex-1 overflow-hidden text-ellipsis text-nowrap"},this.itemTemplate?this.itemTemplate(this.size):this._defaultItemTemplate(this.size)),o("p-icon",{key:"ca9506f126086f9a4ac7ecd43654cdf41fcc3cf6",class:h(["flex-shrink-0","group-hover/pagination-size-trigger:text-storm-500","dark:group-hover/pagination-size-trigger:text-white"],{"text-storm-300 dark:text-hurricane-200":!this.dropdownIsOpen,"text-storm-500 dark:text-white":!!this.dropdownIsOpen}),size:"sm",variant:"double-caret"})),o("slot",{key:"0c03ec3e9b917857a9f3b76f56c6bb7133ec988c",slot:"items"},this.sizeOptions.map((t=>o("p-dropdown-menu-item",{active:t===this.size,onClick:()=>this._changeSize(t)},this.itemTemplate?this.itemTemplate(t):this._defaultItemTemplate(t)))))))}async _setLocales(){this._locales=await n(this._el)}_changeSize(t){t&&(this.size=t,this.sizeChange.emit(this.size))}static get style(){return"*{box-sizing:border-box}.static{position:static}.flex{display:flex}.hidden{display:none}.h-6{height:1.5rem}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.text-nowrap{text-wrap:nowrap}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity,1))}.border-transparent{border-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.px-2{padding-left:.5rem;padding-right:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.text-hurricane-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08);--tw-shadow-colored:0 1px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring,.ring-2{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-2{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.ring-indigo-100{--tw-ring-opacity:1;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))}.hover\\:bg-white-600:hover{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.group\\/pagination-size-trigger:hover .group-hover\\/pagination-size-trigger\\:text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/25:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.25)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-0:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:hover\\:bg-white\\/25:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.25)}.group\\/pagination-size-trigger:hover .dark\\:group-hover\\/pagination-size-trigger\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/25:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.25)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-0:where([data-theme=dark],[data-theme=dark] *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:hover\\:bg-white\\/25:hover:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.25)}.group\\/pagination-size-trigger:hover .dark\\:group-hover\\/pagination-size-trigger\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[769,"p-pagination-size",{size:[1538],sizeOptions:[16],itemTemplate:[16],hidden:[4],dropdownIsOpen:[32],_locales:[32]},[[16,"localeChanged","_setLocales"]]]);function u(){"undefined"!=typeof customElements&&["p-pagination-size","p-checkbox","p-dropdown","p-dropdown-menu-container","p-dropdown-menu-item","p-icon"].forEach((e=>{switch(e){case"p-pagination-size":customElements.get(t(e))||customElements.define(t(e),k);break;case"p-checkbox":customElements.get(t(e))||p();break;case"p-dropdown":customElements.get(t(e))||l();break;case"p-dropdown-menu-container":customElements.get(t(e))||m();break;case"p-dropdown-menu-item":customElements.get(t(e))||f();break;case"p-icon":customElements.get(t(e))||b()}}))}u();export{k as P,u as d}
@@ -1 +1 @@
1
- import{t,p as e,H as o,c as a,h as i}from"./p-CySg37XO.js";import{c as n}from"./p-CBWjHURv.js";import{T as s}from"./p-Au2WuEGF.js";import{a as r}from"./p-C5CTp9IA.js";import{d as c}from"./p-D5OXFgvY.js";import{d as m}from"./p-BmhVEljv.js";import{d as l}from"./p-1qs8jjR4.js";import{d as p}from"./p-D8faiybE.js";const d=n(["flex w-full max-w-[20rem] flex-col items-center justify-start"],{variants:{enableAction:{true:"cursor-pointer",false:null}}}),h=e(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.action=a(this,"action",3)}illustration;header;content;enableAction=!0;actionText;actionVariant="secondary";actionIcon;actionIconPosition="start";actionLoading=!1;action;get _el(){return this}render(){const t=!!this._el.querySelector(':scope > [slot="header"]'),e=!!this._el.querySelector(':scope > [slot="content"]'),o=!!this._el.querySelector(':scope > [slot="action"]');return i(s,{key:"1ee5241659e6ee9a39f0d3f641374b3fa9d7d713"},i("div",{key:"2a170cfa8265e140da60465554908925a9a7b30c",class:d({enableAction:r(this.enableAction,!0)}),onClick:t=>this.enableAction&&!this.actionLoading?this.action.emit(t):void 0},this.illustration&&i("p-illustration",{key:"d843ed25df3ad3aee82b568419b553272df82155",class:"mb-8 text-5xl text-indigo-600",variant:this.illustration}),t?i("slot",{name:"header"}):this.header?.length&&i("p",{class:"\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n "},this.header),e?i("slot",{name:"content"}):this.content?.length&&i("p",{class:"\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n "},this.content),this.enableAction&&(o?i("slot",{name:"action"}):i("p-button",{class:"mt-4",icon:this.actionIcon,iconPosition:this.actionIconPosition,loading:this.actionLoading,variant:this.actionVariant},this.actionText))))}static get style(){return'*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.max-w-\\[20rem\\]{max-width:20rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}'}},[769,"p-empty-state",{illustration:[1],header:[1],content:[1],enableAction:[4,"enable-action"],actionText:[1,"action-text"],actionVariant:[1,"action-variant"],actionIcon:[1,"action-icon"],actionIconPosition:[1,"action-icon-position"],actionLoading:[4,"action-loading"]}]);function x(){"undefined"!=typeof customElements&&["p-empty-state","p-button","p-icon","p-illustration","p-loader"].forEach((e=>{switch(e){case"p-empty-state":customElements.get(t(e))||customElements.define(t(e),h);break;case"p-button":customElements.get(t(e))||c();break;case"p-icon":customElements.get(t(e))||m();break;case"p-illustration":customElements.get(t(e))||l();break;case"p-loader":customElements.get(t(e))||p()}}))}x();export{h as E,x as d}
1
+ import{t,p as e,H as o,c as a,h as i}from"./p-CySg37XO.js";import{c as n}from"./p-CBWjHURv.js";import{T as s}from"./p-Au2WuEGF.js";import{a as r}from"./p-C5CTp9IA.js";import{d as c}from"./p-DHKJDm0J.js";import{d as m}from"./p-gEaqH36V.js";import{d as l}from"./p-V1uzM_gT.js";import{d as p}from"./p-D8faiybE.js";const d=n(["flex w-full max-w-[20rem] flex-col items-center justify-start"],{variants:{enableAction:{true:"cursor-pointer",false:null}}}),h=e(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.action=a(this,"action",3)}illustration;header;content;enableAction=!0;actionText;actionVariant="secondary";actionIcon;actionIconPosition="start";actionLoading=!1;action;get _el(){return this}render(){const t=!!this._el.querySelector(':scope > [slot="header"]'),e=!!this._el.querySelector(':scope > [slot="content"]'),o=!!this._el.querySelector(':scope > [slot="action"]');return i(s,{key:"d84ee5a8579403223bb5cfe7bdec07866b47f8ff"},i("div",{key:"d973a6e27f7e87f162b01f5f8762fd5a3e421f7b",class:d({enableAction:r(this.enableAction,!0)}),onClick:t=>this.enableAction&&!this.actionLoading?this.action.emit(t):void 0},this.illustration&&i("p-illustration",{key:"1fabcdf5a64f7162d0485665c273b3bacc6a7a4e",class:"mb-8 text-5xl text-indigo-600",variant:this.illustration}),t?i("slot",{name:"header"}):this.header?.length&&i("p",{class:"\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n "},this.header),e?i("slot",{name:"content"}):this.content?.length&&i("p",{class:"\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n "},this.content),this.enableAction&&(o?i("slot",{name:"action"}):i("p-button",{class:"mt-4",icon:this.actionIcon,iconPosition:this.actionIconPosition,loading:this.actionLoading,variant:this.actionVariant},this.actionText))))}static get style(){return'*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.max-w-\\[20rem\\]{max-width:20rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}'}},[769,"p-empty-state",{illustration:[1],header:[1],content:[1],enableAction:[4,"enable-action"],actionText:[1,"action-text"],actionVariant:[1,"action-variant"],actionIcon:[1,"action-icon"],actionIconPosition:[1,"action-icon-position"],actionLoading:[4,"action-loading"]}]);function x(){"undefined"!=typeof customElements&&["p-empty-state","p-button","p-icon","p-illustration","p-loader"].forEach((e=>{switch(e){case"p-empty-state":customElements.get(t(e))||customElements.define(t(e),h);break;case"p-button":customElements.get(t(e))||c();break;case"p-icon":customElements.get(t(e))||m();break;case"p-illustration":customElements.get(t(e))||l();break;case"p-loader":customElements.get(t(e))||p()}}))}x();export{h as E,x as d}