@paperless/core 2.2.12 → 2.2.14

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 (274) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/build/index.esm.js +1 -1
  3. package/dist/build/index.esm.js.map +1 -1
  4. package/dist/build/p-116fe39b.entry.js +2 -0
  5. package/dist/{paperless/p-6b4e7631.entry.js.map → build/p-116fe39b.entry.js.map} +1 -1
  6. package/dist/build/{p-fe3e8997.js → p-1bfbc653.js} +1 -1
  7. package/dist/build/p-3d174b05.entry.js +2 -0
  8. package/dist/build/{p-699db32c.entry.js.map → p-3d174b05.entry.js.map} +1 -1
  9. package/dist/build/p-54428a6a.entry.js +2 -0
  10. package/dist/build/p-54428a6a.entry.js.map +1 -0
  11. package/dist/build/{p-a7ea8b65.entry.js → p-586ca05c.entry.js} +2 -2
  12. package/dist/build/p-586ca05c.entry.js.map +1 -0
  13. package/dist/build/p-720963cf.entry.js +2 -0
  14. package/dist/{paperless/p-6916ad9d.entry.js.map → build/p-720963cf.entry.js.map} +1 -1
  15. package/dist/build/{p-af3ffe40.entry.js → p-85402959.entry.js} +2 -2
  16. package/dist/{paperless/p-af3ffe40.entry.js.map → build/p-85402959.entry.js.map} +1 -1
  17. package/dist/{paperless/p-d620c128.entry.js → build/p-8fc3da2f.entry.js} +2 -2
  18. package/dist/{paperless/p-d620c128.entry.js.map → build/p-8fc3da2f.entry.js.map} +1 -1
  19. package/dist/build/p-96be5968.entry.js +2 -0
  20. package/dist/build/{p-23169a44.entry.js.map → p-96be5968.entry.js.map} +1 -1
  21. package/dist/build/p-attachment.entry.esm.js.map +1 -1
  22. package/dist/build/p-avatar.entry.esm.js.map +1 -1
  23. package/dist/build/p-b334b27d.entry.js +2 -0
  24. package/dist/build/p-b334b27d.entry.js.map +1 -0
  25. package/dist/build/p-b588b2ca.entry.js +2 -0
  26. package/dist/build/{p-978e217e.entry.js.map → p-b588b2ca.entry.js.map} +1 -1
  27. package/dist/build/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
  28. package/dist/build/p-card-container.entry.esm.js.map +1 -1
  29. package/dist/build/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.esm.js.map +1 -1
  30. package/dist/build/p-content-slider.entry.esm.js.map +1 -1
  31. package/dist/build/p-e74def55.entry.js +2 -0
  32. package/dist/build/p-e74def55.entry.js.map +1 -0
  33. package/dist/build/p-empty-state.p-floating-menu-container.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
  34. package/dist/build/p-f866e7de.entry.js +2 -0
  35. package/dist/{paperless/p-7682e7f2.entry.js.map → build/p-f866e7de.entry.js.map} +1 -1
  36. package/dist/build/p-field.p-field-container.entry.esm.js.map +1 -1
  37. package/dist/build/p-helper.p-tooltip.entry.esm.js.map +1 -1
  38. package/dist/build/p-navigation-item.entry.esm.js.map +1 -1
  39. package/dist/build/p-select.entry.esm.js.map +1 -1
  40. package/dist/build/p-stepper-item.p-stepper-line.entry.esm.js.map +1 -1
  41. package/dist/build/paperless.esm.js +1 -1
  42. package/dist/cjs/index.cjs.js +1 -42
  43. package/dist/cjs/index.cjs.js.map +1 -1
  44. package/dist/cjs/p-attachment.cjs.entry.js +1 -1
  45. package/dist/cjs/p-attachment.cjs.entry.js.map +1 -1
  46. package/dist/cjs/p-attachment.entry.cjs.js.map +1 -1
  47. package/dist/cjs/p-avatar.cjs.entry.js +3 -3
  48. package/dist/cjs/p-avatar.cjs.entry.js.map +1 -1
  49. package/dist/cjs/p-avatar.entry.cjs.js.map +1 -1
  50. package/dist/cjs/p-button.p-icon.p-loader.entry.cjs.js.map +1 -1
  51. package/dist/cjs/p-button_3.cjs.entry.js +1 -1
  52. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
  53. package/dist/cjs/p-card-container.cjs.entry.js +1 -1
  54. package/dist/cjs/p-card-container.cjs.entry.js.map +1 -1
  55. package/dist/cjs/p-card-container.entry.cjs.js.map +1 -1
  56. package/dist/cjs/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.cjs.js.map +1 -1
  57. package/dist/cjs/p-checkbox_4.cjs.entry.js +1 -1
  58. package/dist/cjs/p-checkbox_4.cjs.entry.js.map +1 -1
  59. package/dist/cjs/p-content-slider.cjs.entry.js +3 -3
  60. package/dist/cjs/p-content-slider.cjs.entry.js.map +1 -1
  61. package/dist/cjs/p-content-slider.entry.cjs.js.map +1 -1
  62. package/dist/cjs/p-empty-state.p-floating-menu-container.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.cjs.js.map +1 -1
  63. package/dist/cjs/p-empty-state_8.cjs.entry.js +2 -2
  64. package/dist/cjs/p-empty-state_8.cjs.entry.js.map +1 -1
  65. package/dist/cjs/p-field.p-field-container.entry.cjs.js.map +1 -1
  66. package/dist/cjs/p-field_2.cjs.entry.js +1 -1
  67. package/dist/cjs/p-field_2.cjs.entry.js.map +1 -1
  68. package/dist/cjs/p-helper.p-tooltip.entry.cjs.js.map +1 -1
  69. package/dist/cjs/p-helper_2.cjs.entry.js +1 -1
  70. package/dist/cjs/p-helper_2.cjs.entry.js.map +1 -1
  71. package/dist/cjs/p-navigation-item.cjs.entry.js +4 -4
  72. package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
  73. package/dist/cjs/p-navigation-item.entry.cjs.js.map +1 -1
  74. package/dist/cjs/p-select.cjs.entry.js +3 -3
  75. package/dist/cjs/p-select.cjs.entry.js.map +1 -1
  76. package/dist/cjs/p-select.entry.cjs.js.map +1 -1
  77. package/dist/cjs/p-stepper-item.p-stepper-line.entry.cjs.js.map +1 -1
  78. package/dist/cjs/p-stepper-item_2.cjs.entry.js +1 -1
  79. package/dist/cjs/p-stepper-item_2.cjs.entry.js.map +1 -1
  80. package/dist/collection/components/atoms/avatar/avatar/avatar.component.css +1 -1
  81. package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +2 -2
  82. package/dist/collection/components/atoms/avatar/avatar/avatar.component.js.map +1 -1
  83. package/dist/collection/components/atoms/card/container/card-container.component.css +1 -1
  84. package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.css +1 -1
  85. package/dist/collection/components/atoms/stepper/line/stepper-line.component.css +1 -1
  86. package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
  87. package/dist/collection/components/molecules/attachment/attachment.component.css +1 -1
  88. package/dist/collection/components/molecules/button/button.component.css +1 -1
  89. package/dist/collection/components/molecules/content-slider/content-slider.component.css +1 -1
  90. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  91. package/dist/collection/components/molecules/content-slider/content-slider.component.js.map +1 -1
  92. package/dist/collection/components/molecules/empty-state/empty-state.component.css +1 -1
  93. package/dist/collection/components/molecules/empty-state/empty-state.component.js +1 -1
  94. package/dist/collection/components/molecules/empty-state/empty-state.component.js.map +1 -1
  95. package/dist/collection/components/molecules/field/field/field.component.css +1 -1
  96. package/dist/collection/components/molecules/navigation/item/navigation-item.component.css +1 -1
  97. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +3 -3
  98. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js.map +1 -1
  99. package/dist/collection/components/molecules/select/select.component.css +1 -1
  100. package/dist/collection/components/molecules/select/select.component.js +2 -2
  101. package/dist/collection/components/molecules/select/select.component.js.map +1 -1
  102. package/dist/collection/tailwind/theme/colors.js +1 -42
  103. package/dist/collection/tailwind/theme/colors.js.map +1 -1
  104. package/dist/components/index.js +1 -42
  105. package/dist/components/index.js.map +1 -1
  106. package/dist/components/{p-BusAjANB.js → p-8nSHGIIM.js} +3 -3
  107. package/dist/components/{p-BusAjANB.js.map → p-8nSHGIIM.js.map} +1 -1
  108. package/dist/components/{p-CgLTJDD-.js → p-BDOjPhMD.js} +7 -7
  109. package/dist/components/{p-CgLTJDD-.js.map → p-BDOjPhMD.js.map} +1 -1
  110. package/dist/components/{p-b3rSkcGt.js → p-BKMU86hK.js} +3 -3
  111. package/dist/components/{p-b3rSkcGt.js.map → p-BKMU86hK.js.map} +1 -1
  112. package/dist/components/{p-HV-e66iQ.js → p-C72s8DWi.js} +3 -3
  113. package/dist/components/{p-HV-e66iQ.js.map → p-C72s8DWi.js.map} +1 -1
  114. package/dist/components/{p-ddPhcRIf.js → p-CK9srR2x.js} +3 -3
  115. package/dist/components/{p-ddPhcRIf.js.map → p-CK9srR2x.js.map} +1 -1
  116. package/dist/components/{p-yY_48RFJ.js → p-CUoNtUST.js} +7 -7
  117. package/dist/components/{p-yY_48RFJ.js.map → p-CUoNtUST.js.map} +1 -1
  118. package/dist/components/{p-CvdTkdj3.js → p-CZqRXeXV.js} +3 -3
  119. package/dist/components/{p-CvdTkdj3.js.map → p-CZqRXeXV.js.map} +1 -1
  120. package/dist/components/{p-77UcQXtn.js → p-CavnvGs9.js} +5 -5
  121. package/dist/components/{p-77UcQXtn.js.map → p-CavnvGs9.js.map} +1 -1
  122. package/dist/components/{p-DN6scyTT.js → p-DHG4q2rF.js} +4 -4
  123. package/dist/components/{p-DN6scyTT.js.map → p-DHG4q2rF.js.map} +1 -1
  124. package/dist/components/{p-CiciRExf.js → p-DRnTySb-.js} +5 -5
  125. package/dist/components/p-DRnTySb-.js.map +1 -0
  126. package/dist/components/{p-BvptV8CQ.js → p-PRAbsw0W.js} +5 -5
  127. package/dist/components/{p-BvptV8CQ.js.map → p-PRAbsw0W.js.map} +1 -1
  128. package/dist/components/{p-m6MLhFiO.js → p-XX6wJEoM.js} +3 -3
  129. package/dist/components/{p-m6MLhFiO.js.map → p-XX6wJEoM.js.map} +1 -1
  130. package/dist/components/p-attachment.js +5 -5
  131. package/dist/components/p-attachment.js.map +1 -1
  132. package/dist/components/p-avatar.js +1 -1
  133. package/dist/components/p-button.js +1 -1
  134. package/dist/components/p-calendar.js +1 -1
  135. package/dist/components/p-card-container.js +1 -1
  136. package/dist/components/p-card-container.js.map +1 -1
  137. package/dist/components/p-content-slider.js +3 -3
  138. package/dist/components/p-content-slider.js.map +1 -1
  139. package/dist/components/p-datepicker.js +6 -6
  140. package/dist/components/p-drawer-header.js +1 -1
  141. package/dist/components/p-drawer.js +2 -2
  142. package/dist/components/p-dropdown-menu-item.js +1 -1
  143. package/dist/components/p-empty-state.js +1 -1
  144. package/dist/components/{p-QJn8YEh5.js → p-fbONfJmY.js} +3 -3
  145. package/dist/components/{p-QJn8YEh5.js.map → p-fbONfJmY.js.map} +1 -1
  146. package/dist/components/p-field-container.js +1 -1
  147. package/dist/components/p-field.js +1 -1
  148. package/dist/components/p-helper.js +1 -1
  149. package/dist/components/{p-BjaBV6wd.js → p-iZJBhVLg.js} +3 -3
  150. package/dist/components/{p-BjaBV6wd.js.map → p-iZJBhVLg.js.map} +1 -1
  151. package/dist/components/{p-CEK29GCc.js → p-jeMjHYNm.js} +4 -4
  152. package/dist/components/{p-CEK29GCc.js.map → p-jeMjHYNm.js.map} +1 -1
  153. package/dist/components/p-modal-header.js +1 -1
  154. package/dist/components/p-modal.js +2 -2
  155. package/dist/components/p-navbar.js +1 -1
  156. package/dist/components/p-navigation-item.js +4 -4
  157. package/dist/components/p-navigation-item.js.map +1 -1
  158. package/dist/components/p-pagination-size.js +1 -1
  159. package/dist/components/p-pagination.js +1 -1
  160. package/dist/components/p-profile.js +1 -1
  161. package/dist/components/p-select.js +10 -10
  162. package/dist/components/p-select.js.map +1 -1
  163. package/dist/components/p-stepper-line.js +1 -1
  164. package/dist/components/p-stepper.js +1 -1
  165. package/dist/components/p-table-footer.js +1 -1
  166. package/dist/components/p-table-header.js +1 -1
  167. package/dist/components/p-table.js +11 -11
  168. package/dist/components/p-tooltip.js +1 -1
  169. package/dist/components/{p-BdYH3tmI.js → p-xL5NUFmL.js} +4 -4
  170. package/dist/components/{p-BdYH3tmI.js.map → p-xL5NUFmL.js.map} +1 -1
  171. package/dist/esm/index.js +1 -42
  172. package/dist/esm/index.js.map +1 -1
  173. package/dist/esm/p-attachment.entry.js +1 -1
  174. package/dist/esm/p-attachment.entry.js.map +1 -1
  175. package/dist/esm/p-avatar.entry.js +3 -3
  176. package/dist/esm/p-avatar.entry.js.map +1 -1
  177. package/dist/esm/p-button.p-icon.p-loader.entry.js.map +1 -1
  178. package/dist/esm/p-button_3.entry.js +1 -1
  179. package/dist/esm/p-button_3.entry.js.map +1 -1
  180. package/dist/esm/p-card-container.entry.js +1 -1
  181. package/dist/esm/p-card-container.entry.js.map +1 -1
  182. package/dist/esm/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.js.map +1 -1
  183. package/dist/esm/p-checkbox_4.entry.js +1 -1
  184. package/dist/esm/p-checkbox_4.entry.js.map +1 -1
  185. package/dist/esm/p-content-slider.entry.js +3 -3
  186. package/dist/esm/p-content-slider.entry.js.map +1 -1
  187. package/dist/esm/p-empty-state.p-floating-menu-container.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.js.map +1 -1
  188. package/dist/esm/p-empty-state_8.entry.js +2 -2
  189. package/dist/esm/p-empty-state_8.entry.js.map +1 -1
  190. package/dist/esm/p-field.p-field-container.entry.js.map +1 -1
  191. package/dist/esm/p-field_2.entry.js +1 -1
  192. package/dist/esm/p-field_2.entry.js.map +1 -1
  193. package/dist/esm/p-helper.p-tooltip.entry.js.map +1 -1
  194. package/dist/esm/p-helper_2.entry.js +1 -1
  195. package/dist/esm/p-helper_2.entry.js.map +1 -1
  196. package/dist/esm/p-navigation-item.entry.js +4 -4
  197. package/dist/esm/p-navigation-item.entry.js.map +1 -1
  198. package/dist/esm/p-select.entry.js +3 -3
  199. package/dist/esm/p-select.entry.js.map +1 -1
  200. package/dist/esm/p-stepper-item.p-stepper-line.entry.js.map +1 -1
  201. package/dist/esm/p-stepper-item_2.entry.js +1 -1
  202. package/dist/esm/p-stepper-item_2.entry.js.map +1 -1
  203. package/dist/index.html +1 -1
  204. package/dist/paperless/index.esm.js +1 -1
  205. package/dist/paperless/index.esm.js.map +1 -1
  206. package/dist/paperless/p-116fe39b.entry.js +2 -0
  207. package/dist/{build/p-6b4e7631.entry.js.map → paperless/p-116fe39b.entry.js.map} +1 -1
  208. package/dist/paperless/p-3d174b05.entry.js +2 -0
  209. package/dist/paperless/{p-699db32c.entry.js.map → p-3d174b05.entry.js.map} +1 -1
  210. package/dist/paperless/p-54428a6a.entry.js +2 -0
  211. package/dist/paperless/p-54428a6a.entry.js.map +1 -0
  212. package/dist/paperless/{p-a7ea8b65.entry.js → p-586ca05c.entry.js} +2 -2
  213. package/dist/paperless/p-586ca05c.entry.js.map +1 -0
  214. package/dist/paperless/p-720963cf.entry.js +2 -0
  215. package/dist/{build/p-6916ad9d.entry.js.map → paperless/p-720963cf.entry.js.map} +1 -1
  216. package/dist/paperless/{p-af3ffe40.entry.js → p-85402959.entry.js} +2 -2
  217. package/dist/{build/p-af3ffe40.entry.js.map → paperless/p-85402959.entry.js.map} +1 -1
  218. package/dist/{build/p-d620c128.entry.js → paperless/p-8fc3da2f.entry.js} +2 -2
  219. package/dist/{build/p-d620c128.entry.js.map → paperless/p-8fc3da2f.entry.js.map} +1 -1
  220. package/dist/paperless/p-96be5968.entry.js +2 -0
  221. package/dist/paperless/{p-23169a44.entry.js.map → p-96be5968.entry.js.map} +1 -1
  222. package/dist/paperless/p-attachment.entry.esm.js.map +1 -1
  223. package/dist/paperless/p-avatar.entry.esm.js.map +1 -1
  224. package/dist/paperless/p-b334b27d.entry.js +2 -0
  225. package/dist/paperless/p-b334b27d.entry.js.map +1 -0
  226. package/dist/paperless/p-b588b2ca.entry.js +2 -0
  227. package/dist/paperless/{p-978e217e.entry.js.map → p-b588b2ca.entry.js.map} +1 -1
  228. package/dist/paperless/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
  229. package/dist/paperless/p-card-container.entry.esm.js.map +1 -1
  230. package/dist/paperless/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.esm.js.map +1 -1
  231. package/dist/paperless/p-content-slider.entry.esm.js.map +1 -1
  232. package/dist/paperless/p-e74def55.entry.js +2 -0
  233. package/dist/paperless/p-e74def55.entry.js.map +1 -0
  234. package/dist/paperless/p-empty-state.p-floating-menu-container.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
  235. package/dist/paperless/p-f866e7de.entry.js +2 -0
  236. package/dist/{build/p-7682e7f2.entry.js.map → paperless/p-f866e7de.entry.js.map} +1 -1
  237. package/dist/paperless/p-field.p-field-container.entry.esm.js.map +1 -1
  238. package/dist/paperless/p-helper.p-tooltip.entry.esm.js.map +1 -1
  239. package/dist/paperless/p-navigation-item.entry.esm.js.map +1 -1
  240. package/dist/paperless/p-select.entry.esm.js.map +1 -1
  241. package/dist/paperless/p-stepper-item.p-stepper-line.entry.esm.js.map +1 -1
  242. package/dist/paperless/paperless.esm.js +1 -1
  243. package/dist/sw.js +1 -1
  244. package/dist/sw.js.map +1 -1
  245. package/dist/tailwind/theme/colors.ts +1 -43
  246. package/dist/types/tailwind/theme/colors.d.ts +1 -42
  247. package/package.json +1 -1
  248. package/dist/build/p-23169a44.entry.js +0 -2
  249. package/dist/build/p-6916ad9d.entry.js +0 -2
  250. package/dist/build/p-699db32c.entry.js +0 -2
  251. package/dist/build/p-6b4e7631.entry.js +0 -2
  252. package/dist/build/p-7682e7f2.entry.js +0 -2
  253. package/dist/build/p-922d3fb4.entry.js +0 -2
  254. package/dist/build/p-922d3fb4.entry.js.map +0 -1
  255. package/dist/build/p-978e217e.entry.js +0 -2
  256. package/dist/build/p-a7ea8b65.entry.js.map +0 -1
  257. package/dist/build/p-a8394124.entry.js +0 -2
  258. package/dist/build/p-a8394124.entry.js.map +0 -1
  259. package/dist/build/p-cfa138a1.entry.js +0 -2
  260. package/dist/build/p-cfa138a1.entry.js.map +0 -1
  261. package/dist/components/p-CiciRExf.js.map +0 -1
  262. package/dist/paperless/p-23169a44.entry.js +0 -2
  263. package/dist/paperless/p-6916ad9d.entry.js +0 -2
  264. package/dist/paperless/p-699db32c.entry.js +0 -2
  265. package/dist/paperless/p-6b4e7631.entry.js +0 -2
  266. package/dist/paperless/p-7682e7f2.entry.js +0 -2
  267. package/dist/paperless/p-922d3fb4.entry.js +0 -2
  268. package/dist/paperless/p-922d3fb4.entry.js.map +0 -1
  269. package/dist/paperless/p-978e217e.entry.js +0 -2
  270. package/dist/paperless/p-a7ea8b65.entry.js.map +0 -1
  271. package/dist/paperless/p-a8394124.entry.js +0 -2
  272. package/dist/paperless/p-a8394124.entry.js.map +0 -1
  273. package/dist/paperless/p-cfa138a1.entry.js +0 -2
  274. package/dist/paperless/p-cfa138a1.entry.js.map +0 -1
@@ -1,2 +0,0 @@
1
- import{r as t,h as r,H as i}from"./p-DhGo7hbh.js";import{c as e}from"./p-CBWjHURv.js";import"./p-ChV9xqsO.js";const n="*{box-sizing:border-box}.static{position:static!important}.z-0{z-index:0!important}.flex{display:flex!important}.aspect-branding{aspect-ratio:23/24!important}.h-10{height:2.5rem!important}.h-14{height:3.5rem!important}.h-20{height:5rem!important}.h-4{height:1rem!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.h-\\[6\\.5rem\\]{height:6.5rem!important}.h-\\[8\\.5rem\\]{height:8.5rem!important}.h-full{height:100%!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.rounded-full{border-radius:9999px!important}.bg-indigo-500{--tw-bg-opacity:1!important;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))!important}.bg-off-white{--tw-bg-opacity:1!important;background-color:rgb(243 241 237/var(--tw-bg-opacity,1))!important}.object-cover{object-fit:cover!important}.p-\\[1px\\]{padding:1px!important}.font-ambit{font-family:Ambit,sans-serif!important}.text-4xl{font-size:2.5rem!important;line-height:3rem!important}.text-\\[3\\.5rem\\]{font-size:3.5rem!important}.text-\\[4\\.5rem\\]{font-size:4.5rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.text-xs{font-size:.75rem!important}.text-xs,.text-xxs{line-height:1rem!important}.text-xxs{font-size:.5rem!important}.font-bold{font-weight:700!important}.leading-\\[4rem\\]{line-height:4rem!important}.leading-\\[5rem\\]{line-height:5rem!important}.leading-none{line-height:1!important}.text-storm-300{--tw-text-opacity:1!important;color:rgb(116 120 127/var(--tw-text-opacity,1))!important}.text-storm-500{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.ring-inset{--tw-ring-inset:inset!important}.ring-storm-500\\/20{--tw-ring-color:rgba(24,30,41,.2)!important}";const o=e(["p-avatar rounded-full aspect-branding ring-inset ring-1 ring-storm-500/20 p-[1px] flex items-center justify-center font-ambit leading-none font-bold"],{variants:{variant:{secondary:"bg-off-white text-storm-300",primary:"bg-indigo-500 text-storm-500"},size:{xs:"h-4 text-xxs",sm:"h-6 text-xs",base:"h-8 text-base",lg:"h-10 text-xl",xl:"h-14 text-xl","2xl":"h-20 text-4xl","3xl":"h-[6.5rem] text-[3.5rem] leading-[4rem]","4xl":"h-[8.5rem] text-[4.5rem] leading-[5rem]"}}});const a=class{constructor(r){t(this,r)}variant="secondary";size="base";defaultImage;src;letters;_src;_failed=false;onSrchChange(t){this._failed=false;this._src=t}componentWillLoad(){this.onSrchChange(this.src);if(!this._src){this._setFailed()}}render(){return r(i,{key:"88c38c318ff5c8e535bc280a4c2a583dce671be1",class:o({size:this.size,variant:this.variant})},this._failed?r("span",null,this.letters?.[0]??" "):r("img",{src:this._src,class:"z-0 aspect-branding h-full rounded-full object-cover",onError:()=>this._setFailed()}))}_setFailed(){this._failed=true;this._src=undefined}static get watchers(){return{src:["onSrchChange"]}}};a.style=n;export{a as p_avatar};
2
- //# sourceMappingURL=p-cfa138a1.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["avatarComponentCss","avatar","cva","variants","variant","secondary","primary","size","xs","sm","base","lg","xl","Avatar","defaultImage","src","letters","_src","_failed","onSrchChange","this","componentWillLoad","_setFailed","render","h","Host","key","class","onError","undefined"],"sources":["src/components/atoms/avatar/avatar/avatar.component.css?tag=p-avatar","src/components/atoms/avatar/avatar/avatar.component.tsx"],"sourcesContent":[null,"import { Component, h, Host, Prop, State, Watch } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst avatar = cva(\n\t[\n\t\t'p-avatar rounded-full aspect-branding ring-inset ring-1 ring-storm-500/20 p-[1px] flex items-center justify-center font-ambit leading-none font-bold',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tsecondary: 'bg-off-white text-storm-300',\n\t\t\t\tprimary: 'bg-indigo-500 text-storm-500',\n\t\t\t},\n\t\t\tsize: {\n\t\t\t\txs: 'h-4 text-xxs',\n\t\t\t\tsm: 'h-6 text-xs',\n\t\t\t\tbase: 'h-8 text-base',\n\t\t\t\tlg: 'h-10 text-xl',\n\t\t\t\txl: 'h-14 text-xl',\n\t\t\t\t'2xl': 'h-20 text-4xl',\n\t\t\t\t'3xl': 'h-[6.5rem] text-[3.5rem] leading-[4rem]',\n\t\t\t\t'4xl': 'h-[8.5rem] text-[4.5rem] leading-[5rem]',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-avatar',\n\tstyleUrl: 'avatar.component.css',\n\t// shadow: true,\n})\nexport class Avatar {\n\t/**\n\t * The variant of the avatar in case of \"letters\"\n\t */\n\t@Prop() variant: 'secondary' | 'primary' = 'secondary';\n\n\t/**\n\t * The size of the avatar\n\t */\n\t@Prop({ reflect: true }) size:\n\t\t| 'xs'\n\t\t| 'sm'\n\t\t| 'base'\n\t\t| 'lg'\n\t\t| 'xl'\n\t\t| '2xl'\n\t\t| '3xl'\n\t\t| '4xl' = 'base';\n\n\t/**\n\t * The default image to show on errors\n\t */\n\t@Prop() defaultImage: string;\n\n\t/**\n\t * The image used for the avatar\n\t */\n\t@Prop() src!: string;\n\n\t/**\n\t * The letters to show on the empty state variant\n\t */\n\t@Prop() letters: string;\n\n\t@State() private _src: string;\n\t@State() private _failed: boolean = false;\n\n\t@Watch('src')\n\tonSrchChange(src: string) {\n\t\tthis._failed = false;\n\t\tthis._src = src;\n\t}\n\n\tcomponentWillLoad() {\n\t\tthis.onSrchChange(this.src);\n\t\tif (!this._src) {\n\t\t\tthis._setFailed();\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={avatar({\n\t\t\t\t\tsize: this.size,\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t{this._failed ? (\n\t\t\t\t\t<span>{this.letters?.[0] ?? ' '}</span>\n\t\t\t\t) : (\n\t\t\t\t\t<img\n\t\t\t\t\t\tsrc={this._src}\n\t\t\t\t\t\tclass='z-0 aspect-branding h-full rounded-full object-cover'\n\t\t\t\t\t\tonError={() => this._setFailed()}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _setFailed() {\n\t\tthis._failed = true;\n\t\tthis._src = undefined;\n\t}\n}\n"],"mappings":"8GAAA,MAAMA,EAAqB,inECG3B,MAAMC,EAASC,EACd,CACC,wJAED,CACCC,SAAU,CACTC,QAAS,CACRC,UAAW,8BACXC,QAAS,gCAEVC,KAAM,CACLC,GAAI,eACJC,GAAI,cACJC,KAAM,gBACNC,GAAI,eACJC,GAAI,eACJ,MAAO,gBACP,MAAO,0CACP,MAAO,8C,MAWEC,EAAM,M,yBAIVT,QAAmC,YAKlBG,KAQd,OAKHO,aAKAC,IAKAC,QAESC,KACAC,QAAmB,MAGpC,YAAAC,CAAaJ,GACZK,KAAKF,QAAU,MACfE,KAAKH,KAAOF,C,CAGb,iBAAAM,GACCD,KAAKD,aAAaC,KAAKL,KACvB,IAAKK,KAAKH,KAAM,CACfG,KAAKE,Y,EAIP,MAAAC,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,2CACJC,MAAO1B,EAAO,CACbM,KAAMa,KAAKb,KACXH,QAASgB,KAAKhB,WAGdgB,KAAKF,QACLM,EAAA,YAAOJ,KAAKJ,UAAU,IAAM,KAE5BQ,EAAA,OACCT,IAAKK,KAAKH,KACVU,MAAM,uDACNC,QAAS,IAAMR,KAAKE,e,CAOjB,UAAAA,GACPF,KAAKF,QAAU,KACfE,KAAKH,KAAOY,S","ignoreList":[]}