@paperless/core 0.1.0-alpha.8 → 0.1.0-alpha.82

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 (419) hide show
  1. package/CHANGELOG.md +745 -0
  2. package/README.md +1 -1
  3. package/dist/assets/icons/checklist.svg +17 -0
  4. package/dist/assets/icons/folder.svg +19 -0
  5. package/dist/assets/icons/integration.svg +17 -0
  6. package/dist/assets/icons/task.svg +17 -0
  7. package/dist/assets/icons/template.svg +17 -0
  8. package/dist/assets/illustrations/e-mail.svg +1 -0
  9. package/dist/assets/images/avatar/company-default.svg +12 -0
  10. package/dist/assets/images/avatar/user-default.svg +12 -0
  11. package/dist/assets/images/{helper-hover.svg → helper/helper-hover.svg} +0 -0
  12. package/dist/assets/images/{helper.svg → helper/helper.svg} +0 -0
  13. package/dist/build/p-0100c1a2.js +2 -0
  14. package/dist/build/p-0f931c83.entry.js +1 -0
  15. package/dist/build/p-0fe2b204.entry.js +1 -0
  16. package/dist/build/p-115c5de5.entry.js +1 -0
  17. package/dist/{paperless/p-f04c4de0.entry.js → build/p-1413a437.entry.js} +1 -1
  18. package/dist/build/p-17febf9c.entry.js +1 -0
  19. package/dist/build/p-19254809.entry.js +1 -0
  20. package/dist/build/p-27b956f9.entry.js +1 -0
  21. package/dist/build/p-2d23433e.entry.js +1 -0
  22. package/dist/build/p-2ef1ceb2.entry.js +1 -0
  23. package/dist/build/p-3222904d.entry.js +1 -0
  24. package/dist/build/p-38e37679.entry.js +1 -0
  25. package/dist/build/p-46a2fa14.entry.js +1 -0
  26. package/dist/build/p-4a0adfc2.entry.js +1 -0
  27. package/dist/build/p-540149ea.entry.js +1 -0
  28. package/dist/build/p-57d1e41b.entry.js +1 -0
  29. package/dist/build/p-5e959430.entry.js +1 -0
  30. package/dist/build/p-66dc37d4.entry.js +1 -0
  31. package/dist/build/p-8268fd06.entry.js +1 -0
  32. package/dist/build/p-a65fea4b.entry.js +1 -0
  33. package/dist/build/p-a7086ffa.js +1 -0
  34. package/dist/build/p-bce3c8ba.entry.js +1 -0
  35. package/dist/build/p-bf9c21cb.entry.js +1 -0
  36. package/dist/build/p-c0591445.entry.js +1 -0
  37. package/dist/build/p-c272f950.entry.js +1 -0
  38. package/dist/build/p-c525ea4b.entry.js +1 -0
  39. package/dist/build/p-cfa78aa0.entry.js +1 -0
  40. package/dist/build/p-d5a61e5e.entry.js +1 -0
  41. package/dist/build/p-d8e5ce34.entry.js +1 -0
  42. package/dist/build/p-db270856.entry.js +1 -0
  43. package/dist/build/p-db6b16e3.entry.js +1 -0
  44. package/dist/build/p-ebefedee.entry.js +1 -0
  45. package/dist/build/p-f8a3eb30.entry.js +1 -0
  46. package/dist/build/p-fa41110f.entry.js +1 -0
  47. package/dist/build/paperless.css +190 -18
  48. package/dist/build/paperless.esm.js +1 -1
  49. package/dist/cjs/{index-a2da05ae.js → index-f9c302b6.js} +229 -3
  50. package/dist/cjs/loader.cjs.js +2 -2
  51. package/dist/cjs/p-accordion.cjs.entry.js +42 -0
  52. package/dist/cjs/p-avatar-group.cjs.entry.js +19 -0
  53. package/dist/cjs/p-avatar.cjs.entry.js +38 -0
  54. package/dist/cjs/p-button_3.cjs.entry.js +167 -17
  55. package/dist/cjs/p-card-body.cjs.entry.js +23 -0
  56. package/dist/cjs/p-card-container.cjs.entry.js +27 -0
  57. package/dist/cjs/p-card-header.cjs.entry.js +24 -0
  58. package/dist/cjs/p-counter.cjs.entry.js +19 -0
  59. package/dist/cjs/p-divider.cjs.entry.js +22 -0
  60. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +19 -0
  61. package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +23 -0
  62. package/dist/cjs/p-dropdown.cjs.entry.js +141 -0
  63. package/dist/cjs/p-helper.cjs.entry.js +7 -3
  64. package/dist/cjs/p-illustration.cjs.entry.js +12 -12
  65. package/dist/cjs/p-info-panel.cjs.entry.js +31 -0
  66. package/dist/cjs/p-input-group.cjs.entry.js +41 -0
  67. package/dist/cjs/p-layout.cjs.entry.js +23 -0
  68. package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +92 -0
  69. package/dist/cjs/p-modal.cjs.entry.js +39 -0
  70. package/dist/cjs/p-navigation-item.cjs.entry.js +23 -0
  71. package/dist/cjs/p-pagination-item.cjs.entry.js +23 -0
  72. package/dist/cjs/p-pagination.cjs.entry.js +171 -0
  73. package/dist/cjs/p-profile.cjs.entry.js +26 -0
  74. package/dist/cjs/p-segment-container.cjs.entry.js +19 -0
  75. package/dist/cjs/p-segment-item.cjs.entry.js +29 -0
  76. package/dist/cjs/p-status.cjs.entry.js +49 -0
  77. package/dist/cjs/p-stepper-item_2.cjs.entry.js +56 -0
  78. package/dist/cjs/p-stepper.cjs.entry.js +71 -0
  79. package/dist/cjs/p-tab-group.cjs.entry.js +19 -0
  80. package/dist/cjs/p-tab-item.cjs.entry.js +23 -0
  81. package/dist/cjs/p-tag.cjs.entry.js +27 -0
  82. package/dist/cjs/p-tooltip.cjs.entry.js +78 -1812
  83. package/dist/cjs/paperless.cjs.js +2 -2
  84. package/dist/cjs/popper-e0c4ed4c.js +1790 -0
  85. package/dist/collection/assets/icons/checklist.svg +17 -0
  86. package/dist/collection/assets/icons/folder.svg +19 -0
  87. package/dist/collection/assets/icons/integration.svg +17 -0
  88. package/dist/collection/assets/icons/task.svg +17 -0
  89. package/dist/collection/assets/icons/template.svg +17 -0
  90. package/dist/collection/assets/illustrations/e-mail.svg +1 -0
  91. package/dist/collection/assets/images/avatar/company-default.svg +12 -0
  92. package/dist/collection/assets/images/avatar/user-default.svg +12 -0
  93. package/dist/collection/assets/images/{helper-hover.svg → helper/helper-hover.svg} +0 -0
  94. package/dist/collection/assets/images/{helper.svg → helper/helper.svg} +0 -0
  95. package/dist/collection/collection-manifest.json +34 -1
  96. package/dist/collection/components/atoms/avatar/avatar.component.css +24 -0
  97. package/dist/collection/components/atoms/avatar/avatar.component.js +110 -0
  98. package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +18 -0
  99. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +36 -0
  100. package/dist/collection/components/atoms/button/button.component.css +28 -2
  101. package/dist/collection/components/atoms/button/button.component.js +109 -11
  102. package/dist/collection/components/atoms/card-body/card-body.component.css +9 -0
  103. package/dist/collection/components/atoms/card-body/card-body.component.js +40 -0
  104. package/dist/collection/components/atoms/card-container/card-container.component.css +17 -0
  105. package/dist/collection/components/atoms/card-container/card-container.component.js +63 -0
  106. package/dist/collection/components/atoms/card-header/card-header.component.css +17 -0
  107. package/dist/collection/components/atoms/card-header/card-header.component.js +61 -0
  108. package/dist/collection/components/atoms/counter/counter.component.css +5 -0
  109. package/dist/collection/components/atoms/counter/counter.component.js +15 -0
  110. package/dist/collection/components/atoms/divider/divider.component.css +10 -0
  111. package/dist/collection/components/atoms/divider/divider.component.js +20 -0
  112. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +5 -0
  113. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +14 -0
  114. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +13 -0
  115. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +41 -0
  116. package/dist/collection/components/atoms/helper/helper.component.css +3 -3
  117. package/dist/collection/components/atoms/helper/helper.component.js +34 -3
  118. package/dist/collection/components/atoms/icon/icon.component.css +1 -0
  119. package/dist/collection/components/atoms/icon/icon.component.js +64 -20
  120. package/dist/collection/components/atoms/illustration/illustration.component.js +3 -10
  121. package/dist/collection/components/atoms/info-panel/info-panel.component.css +28 -0
  122. package/dist/collection/components/atoms/info-panel/info-panel.component.js +106 -0
  123. package/dist/collection/components/atoms/layout/layout.component.css +66 -0
  124. package/dist/collection/components/atoms/layout/layout.component.js +47 -0
  125. package/dist/collection/components/atoms/loader/loader.component.css +2 -2
  126. package/dist/collection/components/atoms/loader/loader.component.js +4 -3
  127. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.css +7 -0
  128. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.js +15 -0
  129. package/dist/collection/components/atoms/modal-body/modal-body.component.css +7 -0
  130. package/dist/collection/components/atoms/modal-body/modal-body.component.js +41 -0
  131. package/dist/collection/components/atoms/modal-container/modal-container.component.css +6 -0
  132. package/dist/collection/components/atoms/modal-container/modal-container.component.js +53 -0
  133. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +4 -0
  134. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +16 -0
  135. package/dist/collection/components/atoms/modal-header/modal-header.component.css +6 -0
  136. package/dist/collection/components/atoms/modal-header/modal-header.component.js +15 -0
  137. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +16 -0
  138. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +41 -0
  139. package/dist/collection/components/atoms/profile/profile.component.css +13 -0
  140. package/dist/collection/components/atoms/profile/profile.component.js +25 -0
  141. package/dist/collection/components/atoms/segment-container/segment-container.component.css +5 -0
  142. package/dist/collection/components/atoms/segment-container/segment-container.component.js +14 -0
  143. package/dist/collection/components/atoms/segment-item/segment-item.component.css +21 -0
  144. package/dist/collection/components/atoms/segment-item/segment-item.component.js +112 -0
  145. package/dist/collection/components/atoms/status/status.component.css +16 -0
  146. package/dist/collection/components/atoms/status/status.component.js +133 -0
  147. package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +59 -0
  148. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +109 -0
  149. package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +18 -0
  150. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +62 -0
  151. package/dist/collection/components/atoms/tab-group/tab-group.component.css +9 -0
  152. package/dist/collection/components/atoms/tab-group/tab-group.component.js +17 -0
  153. package/dist/collection/components/atoms/tab-item/tab-item.component.css +10 -0
  154. package/dist/collection/components/atoms/tab-item/tab-item.component.js +41 -0
  155. package/dist/collection/components/atoms/tag/tag.component.css +51 -0
  156. package/dist/collection/components/atoms/tag/tag.component.js +64 -0
  157. package/dist/collection/components/atoms/tooltip/tooltip.component.css +22 -13
  158. package/dist/collection/components/atoms/tooltip/tooltip.component.js +137 -36
  159. package/dist/collection/components/molecules/accordion/accordion.component.css +3 -0
  160. package/dist/collection/components/molecules/accordion/accordion.component.js +133 -0
  161. package/dist/collection/components/molecules/dropdown/dropdown.component.css +9 -0
  162. package/dist/collection/components/molecules/dropdown/dropdown.component.js +233 -0
  163. package/dist/collection/components/molecules/input-group/input-group.component.css +204 -0
  164. package/dist/collection/components/molecules/input-group/input-group.component.js +237 -0
  165. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +28 -0
  166. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +118 -0
  167. package/dist/collection/components/molecules/pagination/pagination.component.css +3 -0
  168. package/dist/collection/components/molecules/pagination/pagination.component.js +242 -0
  169. package/dist/collection/components/molecules/stepper/stepper.component.css +12 -0
  170. package/dist/collection/components/molecules/stepper/stepper.component.js +106 -0
  171. package/dist/collection/components/organisms/modal/modal.component.js +111 -0
  172. package/dist/collection/tailwind/animation.js +17 -0
  173. package/dist/collection/tailwind/backdrop-blur.js +3 -0
  174. package/dist/collection/tailwind/border-radius.js +8 -6
  175. package/dist/collection/tailwind/screens.js +8 -0
  176. package/dist/collection/tailwind/spacing.js +10 -0
  177. package/dist/collection/tailwind/typography.js +21 -0
  178. package/dist/collection/tailwind/width.js +18 -0
  179. package/dist/collection/tailwind/z-index.js +3 -0
  180. package/dist/collection/tailwind.config.js +26 -14
  181. package/dist/collection/utils/child-of.js +5 -0
  182. package/dist/collection/utils/icons.js +10 -0
  183. package/dist/collection/utils/illustrations.js +2 -0
  184. package/dist/collection/utils/types.js +1 -0
  185. package/dist/components/avatar.component.js +54 -0
  186. package/dist/components/counter.component.js +30 -0
  187. package/dist/components/divider.component.js +33 -0
  188. package/dist/components/dropdown-menu-container.component.js +29 -0
  189. package/dist/components/helper.component.js +42 -0
  190. package/dist/components/icon.component.js +138 -9
  191. package/dist/components/index.d.ts +33 -0
  192. package/dist/components/index.js +33 -0
  193. package/dist/components/loader.component.js +5 -4
  194. package/dist/components/modal-backdrop.component.js +30 -0
  195. package/dist/components/modal-body.component.js +36 -0
  196. package/dist/components/modal-container.component.js +48 -0
  197. package/dist/components/modal-footer.component.js +36 -0
  198. package/dist/components/modal-header.component.js +30 -0
  199. package/dist/components/p-accordion.d.ts +11 -0
  200. package/dist/components/p-accordion.js +73 -0
  201. package/dist/components/p-avatar-group.d.ts +11 -0
  202. package/dist/components/p-avatar-group.js +34 -0
  203. package/dist/components/p-avatar.d.ts +11 -0
  204. package/dist/components/p-avatar.js +6 -0
  205. package/dist/components/p-button.js +28 -4
  206. package/dist/components/p-card-body.d.ts +11 -0
  207. package/dist/components/p-card-body.js +38 -0
  208. package/dist/components/p-card-container.d.ts +11 -0
  209. package/dist/components/p-card-container.js +44 -0
  210. package/dist/components/p-card-header.d.ts +11 -0
  211. package/dist/components/p-card-header.js +46 -0
  212. package/dist/components/p-counter.d.ts +11 -0
  213. package/dist/components/p-counter.js +6 -0
  214. package/dist/components/p-divider.d.ts +11 -0
  215. package/dist/components/p-divider.js +6 -0
  216. package/dist/components/p-dropdown-menu-container.d.ts +11 -0
  217. package/dist/components/p-dropdown-menu-container.js +6 -0
  218. package/dist/components/p-dropdown-menu-item.d.ts +11 -0
  219. package/dist/components/p-dropdown-menu-item.js +39 -0
  220. package/dist/components/p-dropdown.d.ts +11 -0
  221. package/dist/components/p-dropdown.js +166 -0
  222. package/dist/components/p-helper.js +1 -34
  223. package/dist/components/p-illustration.js +3 -4
  224. package/dist/components/p-info-panel.d.ts +11 -0
  225. package/dist/components/p-info-panel.js +56 -0
  226. package/dist/components/p-input-group.d.ts +11 -0
  227. package/dist/components/p-input-group.js +84 -0
  228. package/dist/components/p-layout.d.ts +11 -0
  229. package/dist/components/p-layout.js +39 -0
  230. package/dist/components/p-modal-backdrop.d.ts +11 -0
  231. package/dist/components/p-modal-backdrop.js +6 -0
  232. package/dist/components/p-modal-body.d.ts +11 -0
  233. package/dist/components/p-modal-body.js +6 -0
  234. package/dist/components/p-modal-container.d.ts +11 -0
  235. package/dist/components/p-modal-container.js +6 -0
  236. package/dist/components/p-modal-footer.d.ts +11 -0
  237. package/dist/components/p-modal-footer.js +6 -0
  238. package/dist/components/p-modal-header.d.ts +11 -0
  239. package/dist/components/p-modal-header.js +6 -0
  240. package/dist/components/p-modal.d.ts +11 -0
  241. package/dist/components/p-modal.js +94 -0
  242. package/dist/components/p-navigation-item.d.ts +11 -0
  243. package/dist/components/p-navigation-item.js +55 -0
  244. package/dist/components/p-pagination-item.d.ts +11 -0
  245. package/dist/components/p-pagination-item.js +6 -0
  246. package/dist/components/p-pagination.d.ts +11 -0
  247. package/dist/components/p-pagination.js +200 -0
  248. package/dist/components/p-profile.d.ts +11 -0
  249. package/dist/components/p-profile.js +46 -0
  250. package/dist/components/p-segment-container.d.ts +11 -0
  251. package/dist/components/p-segment-container.js +32 -0
  252. package/dist/components/p-segment-item.d.ts +11 -0
  253. package/dist/components/p-segment-item.js +54 -0
  254. package/dist/components/p-status.d.ts +11 -0
  255. package/dist/components/p-status.js +73 -0
  256. package/dist/components/p-stepper-item.d.ts +11 -0
  257. package/dist/components/p-stepper-item.js +6 -0
  258. package/dist/components/p-stepper-line.d.ts +11 -0
  259. package/dist/components/p-stepper-line.js +6 -0
  260. package/dist/components/p-stepper.d.ts +11 -0
  261. package/dist/components/p-stepper.js +106 -0
  262. package/dist/components/p-tab-group.d.ts +11 -0
  263. package/dist/components/p-tab-group.js +39 -0
  264. package/dist/components/p-tab-item.d.ts +11 -0
  265. package/dist/components/p-tab-item.js +39 -0
  266. package/dist/components/p-tag.d.ts +11 -0
  267. package/dist/components/p-tag.js +44 -0
  268. package/dist/components/pagination-item.component.js +36 -0
  269. package/dist/components/popper.js +1788 -0
  270. package/dist/components/stepper-item.component.js +57 -0
  271. package/dist/components/stepper-line.component.js +41 -0
  272. package/dist/components/tooltip.component.js +84 -1816
  273. package/dist/esm/{index-d08bfe75.js → index-fff70567.js} +229 -3
  274. package/dist/esm/loader.js +2 -2
  275. package/dist/esm/p-accordion.entry.js +38 -0
  276. package/dist/esm/p-avatar-group.entry.js +15 -0
  277. package/dist/esm/p-avatar.entry.js +34 -0
  278. package/dist/esm/p-button_3.entry.js +167 -17
  279. package/dist/esm/p-card-body.entry.js +19 -0
  280. package/dist/esm/p-card-container.entry.js +23 -0
  281. package/dist/esm/p-card-header.entry.js +20 -0
  282. package/dist/esm/p-counter.entry.js +15 -0
  283. package/dist/esm/p-divider.entry.js +18 -0
  284. package/dist/esm/p-dropdown-menu-container.entry.js +15 -0
  285. package/dist/esm/p-dropdown-menu-item.entry.js +19 -0
  286. package/dist/esm/p-dropdown.entry.js +137 -0
  287. package/dist/esm/p-helper.entry.js +7 -3
  288. package/dist/esm/p-illustration.entry.js +12 -12
  289. package/dist/esm/p-info-panel.entry.js +27 -0
  290. package/dist/esm/p-input-group.entry.js +37 -0
  291. package/dist/esm/p-layout.entry.js +19 -0
  292. package/dist/esm/p-modal-backdrop_5.entry.js +84 -0
  293. package/dist/esm/p-modal.entry.js +35 -0
  294. package/dist/esm/p-navigation-item.entry.js +19 -0
  295. package/dist/esm/p-pagination-item.entry.js +19 -0
  296. package/dist/esm/p-pagination.entry.js +167 -0
  297. package/dist/esm/p-profile.entry.js +22 -0
  298. package/dist/esm/p-segment-container.entry.js +15 -0
  299. package/dist/esm/p-segment-item.entry.js +25 -0
  300. package/dist/esm/p-status.entry.js +45 -0
  301. package/dist/esm/p-stepper-item_2.entry.js +51 -0
  302. package/dist/esm/p-stepper.entry.js +67 -0
  303. package/dist/esm/p-tab-group.entry.js +15 -0
  304. package/dist/esm/p-tab-item.entry.js +19 -0
  305. package/dist/esm/p-tag.entry.js +23 -0
  306. package/dist/esm/p-tooltip.entry.js +78 -1812
  307. package/dist/esm/paperless.js +2 -2
  308. package/dist/esm/polyfills/core-js.js +0 -0
  309. package/dist/esm/polyfills/dom.js +0 -0
  310. package/dist/esm/polyfills/es5-html-element.js +0 -0
  311. package/dist/esm/polyfills/index.js +0 -0
  312. package/dist/esm/polyfills/system.js +0 -0
  313. package/dist/esm/popper-41c6f9cd.js +1788 -0
  314. package/dist/index.html +1 -1
  315. package/dist/paperless/p-0100c1a2.js +2 -0
  316. package/dist/paperless/p-0f931c83.entry.js +1 -0
  317. package/dist/paperless/p-0fe2b204.entry.js +1 -0
  318. package/dist/paperless/p-115c5de5.entry.js +1 -0
  319. package/dist/{build/p-f04c4de0.entry.js → paperless/p-1413a437.entry.js} +1 -1
  320. package/dist/paperless/p-17febf9c.entry.js +1 -0
  321. package/dist/paperless/p-19254809.entry.js +1 -0
  322. package/dist/paperless/p-27b956f9.entry.js +1 -0
  323. package/dist/paperless/p-2d23433e.entry.js +1 -0
  324. package/dist/paperless/p-2ef1ceb2.entry.js +1 -0
  325. package/dist/paperless/p-3222904d.entry.js +1 -0
  326. package/dist/paperless/p-38e37679.entry.js +1 -0
  327. package/dist/paperless/p-46a2fa14.entry.js +1 -0
  328. package/dist/paperless/p-4a0adfc2.entry.js +1 -0
  329. package/dist/paperless/p-540149ea.entry.js +1 -0
  330. package/dist/paperless/p-57d1e41b.entry.js +1 -0
  331. package/dist/paperless/p-5e959430.entry.js +1 -0
  332. package/dist/paperless/p-66dc37d4.entry.js +1 -0
  333. package/dist/paperless/p-8268fd06.entry.js +1 -0
  334. package/dist/paperless/p-a65fea4b.entry.js +1 -0
  335. package/dist/paperless/p-a7086ffa.js +1 -0
  336. package/dist/paperless/p-bce3c8ba.entry.js +1 -0
  337. package/dist/paperless/p-bf9c21cb.entry.js +1 -0
  338. package/dist/paperless/p-c0591445.entry.js +1 -0
  339. package/dist/paperless/p-c272f950.entry.js +1 -0
  340. package/dist/paperless/p-c525ea4b.entry.js +1 -0
  341. package/dist/paperless/p-cfa78aa0.entry.js +1 -0
  342. package/dist/paperless/p-d5a61e5e.entry.js +1 -0
  343. package/dist/paperless/p-d8e5ce34.entry.js +1 -0
  344. package/dist/paperless/p-db270856.entry.js +1 -0
  345. package/dist/paperless/p-db6b16e3.entry.js +1 -0
  346. package/dist/paperless/p-ebefedee.entry.js +1 -0
  347. package/dist/paperless/p-f8a3eb30.entry.js +1 -0
  348. package/dist/paperless/p-fa41110f.entry.js +1 -0
  349. package/dist/paperless/paperless.css +288 -26411
  350. package/dist/paperless/paperless.esm.js +1 -1
  351. package/dist/sw.js +2 -290
  352. package/dist/sw.js.map +1 -0
  353. package/dist/tailwind/animation.js +17 -0
  354. package/dist/tailwind/backdrop-blur.js +3 -0
  355. package/dist/tailwind/border-radius.js +10 -0
  356. package/dist/tailwind/colors.js +52 -0
  357. package/dist/tailwind/rotate.js +8 -0
  358. package/dist/tailwind/scale.js +3 -0
  359. package/dist/tailwind/screens.js +8 -0
  360. package/dist/tailwind/shadows.js +7 -0
  361. package/dist/tailwind/spacing.js +10 -0
  362. package/dist/tailwind/typography.js +21 -0
  363. package/dist/tailwind/width.js +18 -0
  364. package/dist/tailwind/z-index.js +3 -0
  365. package/dist/tailwind.config.js +26 -14
  366. package/dist/types/components/atoms/avatar/avatar.component.d.ts +21 -0
  367. package/dist/types/components/atoms/avatar-group/avatar-group.component.d.ts +7 -0
  368. package/dist/types/components/atoms/button/button.component.d.ts +18 -1
  369. package/dist/types/components/atoms/card-body/card-body.component.d.ts +7 -0
  370. package/dist/types/components/atoms/card-container/card-container.component.d.ts +11 -0
  371. package/dist/types/components/atoms/card-header/card-header.component.d.ts +11 -0
  372. package/dist/types/components/atoms/counter/counter.component.d.ts +3 -0
  373. package/dist/types/components/atoms/divider/divider.component.d.ts +7 -0
  374. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +3 -0
  375. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +7 -0
  376. package/dist/types/components/atoms/helper/helper.component.d.ts +5 -0
  377. package/dist/types/components/atoms/icon/icon.component.d.ts +3 -3
  378. package/dist/types/components/atoms/info-panel/info-panel.component.d.ts +24 -0
  379. package/dist/types/components/atoms/layout/layout.component.d.ts +7 -0
  380. package/dist/types/components/atoms/modal-backdrop/modal-backdrop.component.d.ts +3 -0
  381. package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +7 -0
  382. package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +7 -0
  383. package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +3 -0
  384. package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +3 -0
  385. package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +7 -0
  386. package/dist/types/components/atoms/profile/profile.component.d.ts +8 -0
  387. package/dist/types/components/atoms/segment-container/segment-container.component.d.ts +3 -0
  388. package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +22 -0
  389. package/dist/types/components/atoms/status/status.component.d.ts +23 -0
  390. package/dist/types/components/atoms/stepper-item/stepper-item.component.d.ts +19 -0
  391. package/dist/types/components/atoms/stepper-line/stepper-line.component.d.ts +11 -0
  392. package/dist/types/components/atoms/tab-group/tab-group.component.d.ts +3 -0
  393. package/dist/types/components/atoms/tab-item/tab-item.component.d.ts +7 -0
  394. package/dist/types/components/atoms/tag/tag.component.d.ts +11 -0
  395. package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +20 -8
  396. package/dist/types/components/molecules/accordion/accordion.component.d.ts +25 -0
  397. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +42 -0
  398. package/dist/types/components/molecules/input-group/input-group.component.d.ts +49 -0
  399. package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +24 -0
  400. package/dist/types/components/molecules/pagination/pagination.component.d.ts +28 -0
  401. package/dist/types/components/molecules/stepper/stepper.component.d.ts +18 -0
  402. package/dist/types/components/organisms/modal/modal.component.d.ts +25 -0
  403. package/dist/types/components.d.ts +1078 -21
  404. package/dist/types/utils/child-of.d.ts +1 -0
  405. package/dist/types/utils/icons.d.ts +5 -0
  406. package/dist/types/utils/illustrations.d.ts +1 -0
  407. package/dist/types/utils/types.d.ts +2 -0
  408. package/dist/workbox-5fe694da.js +2 -0
  409. package/dist/workbox-5fe694da.js.map +1 -0
  410. package/package.json +61 -61
  411. package/dist/build/p-003bc169.entry.js +0 -1
  412. package/dist/build/p-f33e1285.js +0 -2
  413. package/dist/build/p-f64e0b3a.entry.js +0 -1
  414. package/dist/build/p-fdbec0d3.entry.js +0 -1
  415. package/dist/collection/tailwind/grid.js +0 -26
  416. package/dist/paperless/p-003bc169.entry.js +0 -1
  417. package/dist/paperless/p-f33e1285.js +0 -2
  418. package/dist/paperless/p-f64e0b3a.entry.js +0 -1
  419. package/dist/paperless/p-fdbec0d3.entry.js +0 -1
@@ -0,0 +1,200 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$3 } from './icon.component.js';
3
+ import { d as defineCustomElement$2 } from './pagination-item.component.js';
4
+
5
+ const paginationComponentCss = ".static{position:static!important}.flex{display:flex!important}*{box-sizing:border-box}p-pagination{display:flex}";
6
+
7
+ const Pagination = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
8
+ constructor() {
9
+ super();
10
+ this.__registerHost();
11
+ this.pageChange = createEvent(this, "pageChange", 7);
12
+ /**
13
+ * The current page
14
+ */
15
+ this.page = 1;
16
+ /**
17
+ * The amount of items per page
18
+ */
19
+ this.pageSize = 12;
20
+ this._pages = [];
21
+ this._set = [];
22
+ this._nextClick = () => {
23
+ const nextPage = this.page + 1;
24
+ if (nextPage > this._pages[this._pages.length - 1]) {
25
+ return;
26
+ }
27
+ this._changePage(nextPage);
28
+ };
29
+ this._pageClick = (p) => this._changePage(p);
30
+ this._generateSet = (range = 1, enableBoundaries = true) => {
31
+ const totalPages = this._pages.length;
32
+ if (!totalPages) {
33
+ return [];
34
+ }
35
+ let start = this.page - range;
36
+ let end = this.page + range;
37
+ if (end > totalPages) {
38
+ end = totalPages;
39
+ start = totalPages - range * 2;
40
+ start = start < 1 ? 1 : start;
41
+ }
42
+ if (start <= 1) {
43
+ start = 1;
44
+ end = Math.min(range * 2 + 1, totalPages);
45
+ }
46
+ const set = [];
47
+ const previous = {
48
+ type: 'previous',
49
+ value: h("p-icon", { variant: "chevron", rotate: 90 }),
50
+ };
51
+ const next = {
52
+ type: 'next',
53
+ value: h("p-icon", { variant: "chevron", rotate: -90 }),
54
+ };
55
+ // Disable page range, display all the pages
56
+ if (range === null) {
57
+ const p = this._pages.map((p) => ({
58
+ type: 'page',
59
+ value: p,
60
+ }));
61
+ return enableBoundaries ? [previous, ...p, next] : p;
62
+ }
63
+ if (enableBoundaries) {
64
+ set.push(previous);
65
+ }
66
+ if (start <= 3) {
67
+ for (let i = 1; i < start; i++) {
68
+ set.push({
69
+ type: 'page',
70
+ value: this._pages[i - 1],
71
+ });
72
+ }
73
+ }
74
+ else {
75
+ set.push({
76
+ type: 'page',
77
+ value: 1,
78
+ });
79
+ set.push({
80
+ type: 'ellipsis',
81
+ value: 'ellipsis',
82
+ });
83
+ }
84
+ for (let i = start; i <= end; i++) {
85
+ set.push({
86
+ type: 'page',
87
+ value: this._pages[i - 1],
88
+ });
89
+ }
90
+ if (end >= totalPages - 2) {
91
+ for (let i = end + 1; i <= totalPages; i++) {
92
+ set.push({
93
+ type: 'page',
94
+ value: this._pages[i - 1],
95
+ });
96
+ }
97
+ }
98
+ else {
99
+ set.push({
100
+ type: 'ellipsis',
101
+ });
102
+ set.push({
103
+ type: 'page',
104
+ value: this._pages[this._pages.length - 1],
105
+ });
106
+ }
107
+ if (enableBoundaries) {
108
+ set.push(next);
109
+ }
110
+ return set;
111
+ };
112
+ }
113
+ componentWillRender() {
114
+ this._generate();
115
+ }
116
+ render() {
117
+ var _a;
118
+ return (h(Host, { class: "p-pagination" }, (_a = this._set) === null || _a === void 0 ? void 0 : _a.map((p) => {
119
+ if (p.type === 'previous' || p.type === 'next') {
120
+ return (h("p-pagination-item", { onClick: () => p.type === 'previous'
121
+ ? this._previousClick()
122
+ : this._nextClick() }, p.value));
123
+ }
124
+ if (p.type === 'ellipsis') {
125
+ return h("p-pagination-item", null, "...");
126
+ }
127
+ return (h("p-pagination-item", { active: p.value === this.page, onClick: () => this._pageClick(p.value) }, p.value));
128
+ })));
129
+ }
130
+ pageChangeHandler() {
131
+ this._generate();
132
+ }
133
+ _generate() {
134
+ var _a;
135
+ this._pages = this._generatePages();
136
+ this._set = this._generateSet();
137
+ if (this.page > ((_a = this._pages) === null || _a === void 0 ? void 0 : _a.length)) {
138
+ this._changePage(this._pages.length);
139
+ }
140
+ }
141
+ _changePage(p) {
142
+ if (!p) {
143
+ return;
144
+ }
145
+ this.page = p;
146
+ this.pageChange.emit(this.page);
147
+ }
148
+ _previousClick() {
149
+ const previousPage = this.page - 1;
150
+ if (previousPage < this._pages[0]) {
151
+ return;
152
+ }
153
+ this._changePage(previousPage);
154
+ }
155
+ _generatePages() {
156
+ if (!this.total || !this.pageSize) {
157
+ return [];
158
+ }
159
+ const pages = Math.ceil(this.total / this.pageSize);
160
+ return new Array(pages).fill(undefined).map((_, i) => i + 1);
161
+ }
162
+ static get watchers() { return {
163
+ "page": ["pageChangeHandler"],
164
+ "pageSize": ["pageChangeHandler"],
165
+ "total": ["pageChangeHandler"]
166
+ }; }
167
+ static get style() { return paginationComponentCss; }
168
+ }, [0, "p-pagination", {
169
+ "page": [1538],
170
+ "pageSize": [2, "page-size"],
171
+ "total": [2]
172
+ }]);
173
+ function defineCustomElement$1() {
174
+ if (typeof customElements === "undefined") {
175
+ return;
176
+ }
177
+ const components = ["p-pagination", "p-icon", "p-pagination-item"];
178
+ components.forEach(tagName => { switch (tagName) {
179
+ case "p-pagination":
180
+ if (!customElements.get(tagName)) {
181
+ customElements.define(tagName, Pagination);
182
+ }
183
+ break;
184
+ case "p-icon":
185
+ if (!customElements.get(tagName)) {
186
+ defineCustomElement$3();
187
+ }
188
+ break;
189
+ case "p-pagination-item":
190
+ if (!customElements.get(tagName)) {
191
+ defineCustomElement$2();
192
+ }
193
+ break;
194
+ } });
195
+ }
196
+
197
+ const PPagination = Pagination;
198
+ const defineCustomElement = defineCustomElement$1;
199
+
200
+ export { PPagination, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PProfile extends Components.PProfile, HTMLElement {}
4
+ export const PProfile: {
5
+ prototype: PProfile;
6
+ new (): PProfile;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,46 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$2 } from './avatar.component.js';
3
+
4
+ const profileComponentCss = ".static{position:static!important}.flex{display:flex!important}.flex-col{flex-direction:column!important}.gap-4{gap:1rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}*{box-sizing:border-box}:host{align-items:center;display:flex;gap:1rem}:host .name{display:flex;flex-direction:column;justify-content:center}:host .name>:first-child{--tw-text-opacity:1;color:rgb(39 40 56/var(--tw-text-opacity));font-size:.875rem;font-weight:600;line-height:1.25rem}:host .name>:nth-child(2){--tw-text-opacity:1;color:rgb(152 154 183/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem}";
5
+
6
+ const Profile = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ }
12
+ render() {
13
+ const avatar = this._generateAvatar();
14
+ return (h(Host, { class: "p-profile" }, avatar, h("div", { class: "name" }, h("slot", { name: "title" }), h("slot", { name: "subtitle" }))));
15
+ }
16
+ _generateAvatar() {
17
+ var _a, _b;
18
+ const avatar = this._el.querySelector('p-avatar[slot="avatar"]');
19
+ return (h("p-avatar", { class: "flex", src: (_a = avatar.src) !== null && _a !== void 0 ? _a : null, "default-image": (_b = avatar.defaultImage) !== null && _b !== void 0 ? _b : null, variant: avatar.variant, size: "small" }));
20
+ }
21
+ get _el() { return this; }
22
+ static get style() { return profileComponentCss; }
23
+ }, [1, "p-profile"]);
24
+ function defineCustomElement$1() {
25
+ if (typeof customElements === "undefined") {
26
+ return;
27
+ }
28
+ const components = ["p-profile", "p-avatar"];
29
+ components.forEach(tagName => { switch (tagName) {
30
+ case "p-profile":
31
+ if (!customElements.get(tagName)) {
32
+ customElements.define(tagName, Profile);
33
+ }
34
+ break;
35
+ case "p-avatar":
36
+ if (!customElements.get(tagName)) {
37
+ defineCustomElement$2();
38
+ }
39
+ break;
40
+ } });
41
+ }
42
+
43
+ const PProfile = Profile;
44
+ const defineCustomElement = defineCustomElement$1;
45
+
46
+ export { PProfile, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PSegmentContainer extends Components.PSegmentContainer, HTMLElement {}
4
+ export const PSegmentContainer: {
5
+ prototype: PSegmentContainer;
6
+ new (): PSegmentContainer;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,32 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const segmentContainerComponentCss = ".static{position:static!important}.flex{display:flex!important}.h-8{height:2rem!important}.rounded{border-radius:.25rem!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}p-segment-container{--tw-bg-opacity:1;--tw-drop-shadow:drop-shadow(0px 0.3125rem 1rem rgba(0,24,98,.08)) drop-shadow(0px 0.0625rem 0.1875rem rgba(0,24,98,.13));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.25rem;display:flex;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);height:2rem;padding:.25rem}";
4
+
5
+ const SegmentContainer = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ }
10
+ render() {
11
+ return (h(Host, { class: "p-segment-container" }, h("slot", null)));
12
+ }
13
+ static get style() { return segmentContainerComponentCss; }
14
+ }, [4, "p-segment-container"]);
15
+ function defineCustomElement$1() {
16
+ if (typeof customElements === "undefined") {
17
+ return;
18
+ }
19
+ const components = ["p-segment-container"];
20
+ components.forEach(tagName => { switch (tagName) {
21
+ case "p-segment-container":
22
+ if (!customElements.get(tagName)) {
23
+ customElements.define(tagName, SegmentContainer);
24
+ }
25
+ break;
26
+ } });
27
+ }
28
+
29
+ const PSegmentContainer = SegmentContainer;
30
+ const defineCustomElement = defineCustomElement$1;
31
+
32
+ export { PSegmentContainer, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PSegmentItem extends Components.PSegmentItem, HTMLElement {}
4
+ export const PSegmentItem: {
5
+ prototype: PSegmentItem;
6
+ new (): PSegmentItem;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,54 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$2 } from './icon.component.js';
3
+
4
+ const segmentItemComponentCss = ".static{position:static!important}.flex{display:flex!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.rounded{border-radius:.25rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.font-medium{font-weight:500!important}.text-storm-light{--tw-text-opacity:1!important;color:rgb(176 178 203/var(--tw-text-opacity))!important}.text-indigo{--tw-text-opacity:1!important;color:rgb(82 138 250/var(--tw-text-opacity))!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;align-items:center;border-radius:.25rem;color:rgb(176 178 203/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;font-weight:500;height:1.5rem;line-height:1.25rem;margin-right:.25rem;padding-left:.5rem;padding-right:.5rem}:host(.variant-icon){justify-content:center;padding-left:0;padding-right:0;width:1.5rem}:host(:hover){--tw-text-opacity:1;color:rgb(128 130 158/var(--tw-text-opacity))}:host(.active){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(82 138 250/var(--tw-text-opacity))}:host(:last-child){margin-right:0}";
5
+
6
+ const SegmentItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ /**
12
+ * Wether the segment item is active
13
+ */
14
+ this.active = false;
15
+ }
16
+ render() {
17
+ return (h(Host, { class: `p-segment-item variant-${this.icon ? 'icon' : 'default'} ${this.active && 'active'}` }, this.icon ? this._getIcon() : h("slot", null)));
18
+ }
19
+ _getIcon() {
20
+ if (!this.icon) {
21
+ return;
22
+ }
23
+ return (h("p-icon", { class: "flex", variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate }));
24
+ }
25
+ static get style() { return segmentItemComponentCss; }
26
+ }, [1, "p-segment-item", {
27
+ "active": [4],
28
+ "icon": [1],
29
+ "iconFlip": [1, "icon-flip"],
30
+ "iconRotate": [2, "icon-rotate"]
31
+ }]);
32
+ function defineCustomElement$1() {
33
+ if (typeof customElements === "undefined") {
34
+ return;
35
+ }
36
+ const components = ["p-segment-item", "p-icon"];
37
+ components.forEach(tagName => { switch (tagName) {
38
+ case "p-segment-item":
39
+ if (!customElements.get(tagName)) {
40
+ customElements.define(tagName, SegmentItem);
41
+ }
42
+ break;
43
+ case "p-icon":
44
+ if (!customElements.get(tagName)) {
45
+ defineCustomElement$2();
46
+ }
47
+ break;
48
+ } });
49
+ }
50
+
51
+ const PSegmentItem = SegmentItem;
52
+ const defineCustomElement = defineCustomElement$1;
53
+
54
+ export { PSegmentItem, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PStatus extends Components.PStatus, HTMLElement {}
4
+ export const PStatus: {
5
+ prototype: PStatus;
6
+ new (): PStatus;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,73 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$2 } from './icon.component.js';
3
+
4
+ const statusComponentCss = ".static{position:static!important}.mr-2{margin-right:.5rem!important}.flex{display:flex!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-storm-vague{--tw-text-opacity:1!important;color:rgb(152 154 183/var(--tw-text-opacity))!important}*{box-sizing:border-box}p-status{--tw-text-opacity:1;align-items:center;color:rgb(152 154 183/var(--tw-text-opacity));display:flex;font-size:.875rem;font-weight:500;line-height:1.25rem}p-status p-icon{font-size:1rem;line-height:1.5rem;margin-right:.5rem}p-status.variant-positive{--tw-text-opacity:1;color:rgb(40 209 124/var(--tw-text-opacity))}p-status.variant-unbiased{--tw-text-opacity:1;color:rgb(255 199 45/var(--tw-text-opacity))}p-status.variant-negative{--tw-text-opacity:1;color:rgb(185 30 40/var(--tw-text-opacity))}";
5
+
6
+ const Status = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ /**
11
+ * The variant of the status
12
+ */
13
+ this.variant = 'default';
14
+ }
15
+ render() {
16
+ return (h(Host, { class: `p-status variant-${this.variant}
17
+ }` }, this._getIcon(), h("slot", null)));
18
+ }
19
+ _getIcon() {
20
+ const icon = this.icon || this._getVariantIcon();
21
+ if (!icon) {
22
+ return;
23
+ }
24
+ return (h("p-icon", { variant: icon, flip: this.iconFlip, rotate: this.iconRotate }));
25
+ }
26
+ _getVariantIcon() {
27
+ let icon = null;
28
+ switch (this.variant) {
29
+ case 'positive':
30
+ icon = 'checkmark';
31
+ break;
32
+ case 'negative':
33
+ icon = 'negative';
34
+ break;
35
+ case 'unbiased':
36
+ icon = 'clock';
37
+ break;
38
+ default:
39
+ icon = null;
40
+ break;
41
+ }
42
+ return icon;
43
+ }
44
+ static get style() { return statusComponentCss; }
45
+ }, [4, "p-status", {
46
+ "variant": [1],
47
+ "icon": [1],
48
+ "iconFlip": [1, "icon-flip"],
49
+ "iconRotate": [2, "icon-rotate"]
50
+ }]);
51
+ function defineCustomElement$1() {
52
+ if (typeof customElements === "undefined") {
53
+ return;
54
+ }
55
+ const components = ["p-status", "p-icon"];
56
+ components.forEach(tagName => { switch (tagName) {
57
+ case "p-status":
58
+ if (!customElements.get(tagName)) {
59
+ customElements.define(tagName, Status);
60
+ }
61
+ break;
62
+ case "p-icon":
63
+ if (!customElements.get(tagName)) {
64
+ defineCustomElement$2();
65
+ }
66
+ break;
67
+ } });
68
+ }
69
+
70
+ const PStatus = Status;
71
+ const defineCustomElement = defineCustomElement$1;
72
+
73
+ export { PStatus, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PStepperItem extends Components.PStepperItem, HTMLElement {}
4
+ export const PStepperItem: {
5
+ prototype: PStepperItem;
6
+ new (): PStepperItem;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { S as StepperItem, d as defineCustomElement$1 } from './stepper-item.component.js';
2
+
3
+ const PStepperItem = StepperItem;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { PStepperItem, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PStepperLine extends Components.PStepperLine, HTMLElement {}
4
+ export const PStepperLine: {
5
+ prototype: PStepperLine;
6
+ new (): PStepperLine;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,6 @@
1
+ import { S as StepperLine, d as defineCustomElement$1 } from './stepper-line.component.js';
2
+
3
+ const PStepperLine = StepperLine;
4
+ const defineCustomElement = defineCustomElement$1;
5
+
6
+ export { PStepperLine, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PStepper extends Components.PStepper, HTMLElement {}
4
+ export const PStepper: {
5
+ prototype: PStepper;
6
+ new (): PStepper;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,106 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$4 } from './icon.component.js';
3
+ import { d as defineCustomElement$3 } from './stepper-item.component.js';
4
+ import { d as defineCustomElement$2 } from './stepper-line.component.js';
5
+
6
+ const stepperComponentCss = ".static{position:static!important}.mb-3{margin-bottom:.75rem!important}.ml-2{margin-left:.5rem!important}.flex{display:flex!important}.h-auto{height:auto!important}.w-full{width:100%!important}.flex-auto{flex:1 1 auto!important}.-translate-y-1{--tw-translate-y:-0.25rem!important}.-translate-x-1,.-translate-y-1{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-x-1{--tw-translate-x:-0.25rem!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}.border-t-2{border-top-width:2px!important}.border-r-2{border-right-width:2px!important}.border-indigo{border-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-indigo,.border-mystic-dark{--tw-border-opacity:1!important}.border-mystic-dark{border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}*{box-sizing:border-box}:host{display:flex}:host([direction=horizontal]){align-items:flex-end;height:auto}:host([direction=vertical]){align-items:flex-start;flex-direction:column;flex-wrap:wrap;min-height:100%;width:100%}.-translate-y-1\\/2{--tw-translate-y:-50%!important}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}";
7
+
8
+ const Stepper = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
9
+ constructor() {
10
+ super();
11
+ this.__registerHost();
12
+ this.__attachShadow();
13
+ /**
14
+ * The currently active step
15
+ */
16
+ this.activeStep = 1;
17
+ /**
18
+ * The direction of the stepper
19
+ */
20
+ this.direction = 'horizontal';
21
+ }
22
+ componentWillRender() {
23
+ const activeStep = this.activeStep - 1;
24
+ this._steps = this._generateSteps(activeStep);
25
+ }
26
+ render() {
27
+ return h(Host, { class: "p-stepper" }, this._steps);
28
+ }
29
+ _generateSteps(activeStep) {
30
+ const elements = [];
31
+ const items = this._el.querySelectorAll('p-stepper-item');
32
+ for (let i = 0; i < (items === null || items === void 0 ? void 0 : items.length); i++) {
33
+ const item = items.item(i);
34
+ if (i > 0) {
35
+ elements.push(h("p-stepper-line", { direction: this.direction, active: i <= activeStep }));
36
+ }
37
+ const newItem = (h("p-stepper-item", { active: i === activeStep, finished: i < activeStep, direction: this.direction, align: i === 0
38
+ ? 'start'
39
+ : i === (items === null || items === void 0 ? void 0 : items.length) - 1
40
+ ? 'end'
41
+ : 'center' }, item.innerHTML));
42
+ elements.push(newItem);
43
+ }
44
+ return elements;
45
+ // return this._el
46
+ // .querySelectorAll('p-stepper-step')
47
+ // .map((child: any, index) => {
48
+ // return (
49
+ // <>
50
+ // {index > 0 && (
51
+ // <div
52
+ // className={`flex-auto transform ${
53
+ // direction === 'horizontal'
54
+ // ? 'border-t-2 mb-3 -translate-y-1/2'
55
+ // : 'border-r-2 ml-2 -translate-x-1/2'
56
+ // } transition duration-500 ease-in-out ${
57
+ // index <= activeStep
58
+ // ? 'border-indigo'
59
+ // : 'border-mystic-dark'
60
+ // }`}
61
+ // ></div>
62
+ // )}
63
+ // {child}
64
+ // </>
65
+ // );
66
+ // });
67
+ }
68
+ get _el() { return this; }
69
+ static get style() { return stepperComponentCss; }
70
+ }, [1, "p-stepper", {
71
+ "activeStep": [2, "active-step"],
72
+ "direction": [513]
73
+ }]);
74
+ function defineCustomElement$1() {
75
+ if (typeof customElements === "undefined") {
76
+ return;
77
+ }
78
+ const components = ["p-stepper", "p-icon", "p-stepper-item", "p-stepper-line"];
79
+ components.forEach(tagName => { switch (tagName) {
80
+ case "p-stepper":
81
+ if (!customElements.get(tagName)) {
82
+ customElements.define(tagName, Stepper);
83
+ }
84
+ break;
85
+ case "p-icon":
86
+ if (!customElements.get(tagName)) {
87
+ defineCustomElement$4();
88
+ }
89
+ break;
90
+ case "p-stepper-item":
91
+ if (!customElements.get(tagName)) {
92
+ defineCustomElement$3();
93
+ }
94
+ break;
95
+ case "p-stepper-line":
96
+ if (!customElements.get(tagName)) {
97
+ defineCustomElement$2();
98
+ }
99
+ break;
100
+ } });
101
+ }
102
+
103
+ const PStepper = Stepper;
104
+ const defineCustomElement = defineCustomElement$1;
105
+
106
+ export { PStepper, defineCustomElement };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PTabGroup extends Components.PTabGroup, HTMLElement {}
4
+ export const PTabGroup: {
5
+ prototype: PTabGroup;
6
+ new (): PTabGroup;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,39 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$2 } from './divider.component.js';
3
+
4
+ const tabGroupComponentCss = ".static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.m-0{margin:0!important}.flex{display:flex!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.gap-5{gap:1.25rem!important}*{box-sizing:border-box}:host{display:flex;flex-direction:column;position:relative;width:100%}:host .content{display:flex;gap:1.25rem;width:100%;z-index:10}:host p-divider{bottom:0;left:0;margin:0;position:absolute;width:100%}";
5
+
6
+ const TabGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ }
12
+ render() {
13
+ return (h(Host, { class: "p-tab-group" }, h("div", { class: "content" }, h("slot", null)), h("p-divider", null)));
14
+ }
15
+ static get style() { return tabGroupComponentCss; }
16
+ }, [1, "p-tab-group"]);
17
+ function defineCustomElement$1() {
18
+ if (typeof customElements === "undefined") {
19
+ return;
20
+ }
21
+ const components = ["p-tab-group", "p-divider"];
22
+ components.forEach(tagName => { switch (tagName) {
23
+ case "p-tab-group":
24
+ if (!customElements.get(tagName)) {
25
+ customElements.define(tagName, TabGroup);
26
+ }
27
+ break;
28
+ case "p-divider":
29
+ if (!customElements.get(tagName)) {
30
+ defineCustomElement$2();
31
+ }
32
+ break;
33
+ } });
34
+ }
35
+
36
+ const PTabGroup = TabGroup;
37
+ const defineCustomElement = defineCustomElement$1;
38
+
39
+ export { PTabGroup, defineCustomElement };