@paperless/core 0.1.0-alpha.10 → 0.1.0-alpha.103

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 (448) hide show
  1. package/CHANGELOG.md +954 -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/menu.svg +25 -0
  7. package/dist/assets/icons/more.svg +18 -0
  8. package/dist/assets/icons/signout.svg +23 -0
  9. package/dist/assets/icons/switch.svg +20 -0
  10. package/dist/assets/icons/task.svg +17 -0
  11. package/dist/assets/icons/template.svg +17 -0
  12. package/dist/assets/illustrations/e-mail.svg +1 -0
  13. package/dist/build/p-113baa35.entry.js +1 -0
  14. package/dist/build/p-19c20c8e.entry.js +1 -0
  15. package/dist/build/p-1ef22f4e.entry.js +1 -0
  16. package/dist/build/p-2beaf0e8.entry.js +1 -0
  17. package/dist/build/p-3f6c9d44.entry.js +1 -0
  18. package/dist/build/p-4336cbbc.entry.js +1 -0
  19. package/dist/build/p-4ca40a0a.entry.js +1 -0
  20. package/dist/build/p-58ce5668.entry.js +1 -0
  21. package/dist/build/p-6088647a.entry.js +1 -0
  22. package/dist/build/p-6835a9e3.entry.js +1 -0
  23. package/dist/build/p-6e778574.entry.js +1 -0
  24. package/dist/build/p-7947115e.entry.js +1 -0
  25. package/dist/build/p-79d3258f.entry.js +1 -0
  26. package/dist/build/p-801d05b6.entry.js +1 -0
  27. package/dist/build/p-829c4101.entry.js +1 -0
  28. package/dist/build/p-89fda3a8.entry.js +1 -0
  29. package/dist/build/p-8ac8a69d.entry.js +1 -0
  30. package/dist/build/{p-22129b00.entry.js → p-8b743795.entry.js} +1 -1
  31. package/dist/build/p-92b6c76c.entry.js +1 -0
  32. package/dist/build/p-938f52ee.entry.js +1 -0
  33. package/dist/build/p-9d98d0d9.entry.js +1 -0
  34. package/dist/build/p-a5ebbd0c.entry.js +1 -0
  35. package/dist/build/p-a6127c75.entry.js +1 -0
  36. package/dist/build/p-a7086ffa.js +1 -0
  37. package/dist/build/p-bc7e8cc4.js +2 -0
  38. package/dist/build/p-bd50db3d.entry.js +1 -0
  39. package/dist/build/p-c27046e6.entry.js +1 -0
  40. package/dist/build/p-c59d9fc2.entry.js +1 -0
  41. package/dist/build/p-cc177072.entry.js +1 -0
  42. package/dist/build/p-d32f2578.entry.js +1 -0
  43. package/dist/build/p-e20a1842.entry.js +1 -0
  44. package/dist/build/p-e2a98d53.entry.js +1 -0
  45. package/dist/build/p-e934ef94.entry.js +1 -0
  46. package/dist/build/p-e9e20ac3.entry.js +1 -0
  47. package/dist/build/p-ec2a5f95.entry.js +1 -0
  48. package/dist/build/p-ede5e914.entry.js +1 -0
  49. package/dist/build/paperless.css +190 -18
  50. package/dist/build/paperless.esm.js +1 -1
  51. package/dist/cjs/{index-7caa3dae.js → index-9d3b51c9.js} +235 -5
  52. package/dist/cjs/loader.cjs.js +3 -3
  53. package/dist/cjs/p-accordion.cjs.entry.js +42 -0
  54. package/dist/cjs/p-avatar-group.cjs.entry.js +19 -0
  55. package/dist/cjs/p-avatar_2.cjs.entry.js +179 -0
  56. package/dist/cjs/p-button_3.cjs.entry.js +265 -13
  57. package/dist/cjs/p-card-body.cjs.entry.js +23 -0
  58. package/dist/cjs/p-card-container.cjs.entry.js +27 -0
  59. package/dist/cjs/p-card-header.cjs.entry.js +24 -0
  60. package/dist/cjs/p-content-slider.cjs.entry.js +153 -0
  61. package/dist/cjs/p-counter.cjs.entry.js +11 -3
  62. package/dist/cjs/p-divider.cjs.entry.js +22 -0
  63. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +19 -0
  64. package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +23 -0
  65. package/dist/cjs/p-helper.cjs.entry.js +7 -3
  66. package/dist/cjs/p-illustration.cjs.entry.js +5 -2
  67. package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
  68. package/dist/cjs/p-input-group.cjs.entry.js +51 -0
  69. package/dist/cjs/p-layout.cjs.entry.js +23 -0
  70. package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +101 -0
  71. package/dist/cjs/p-modal.cjs.entry.js +48 -0
  72. package/dist/cjs/p-navbar.cjs.entry.js +34 -0
  73. package/dist/cjs/p-navigation-item.cjs.entry.js +23 -0
  74. package/dist/cjs/p-pagination-item.cjs.entry.js +23 -0
  75. package/dist/cjs/p-pagination.cjs.entry.js +171 -0
  76. package/dist/cjs/p-profile.cjs.entry.js +46 -0
  77. package/dist/cjs/p-segment-container.cjs.entry.js +19 -0
  78. package/dist/cjs/p-segment-item.cjs.entry.js +29 -0
  79. package/dist/cjs/p-slider-indicator.cjs.entry.js +23 -0
  80. package/dist/cjs/p-status.cjs.entry.js +49 -0
  81. package/dist/cjs/p-stepper-item_2.cjs.entry.js +56 -0
  82. package/dist/cjs/p-stepper.cjs.entry.js +71 -0
  83. package/dist/cjs/p-tab-group.cjs.entry.js +19 -0
  84. package/dist/cjs/p-tab-item.cjs.entry.js +23 -0
  85. package/dist/cjs/p-tag.cjs.entry.js +27 -0
  86. package/dist/cjs/p-tooltip.cjs.entry.js +35 -1807
  87. package/dist/cjs/paperless.cjs.js +3 -3
  88. package/dist/cjs/popper-e0c4ed4c.js +1790 -0
  89. package/dist/collection/assets/icons/checklist.svg +17 -0
  90. package/dist/collection/assets/icons/folder.svg +19 -0
  91. package/dist/collection/assets/icons/integration.svg +17 -0
  92. package/dist/collection/assets/icons/menu.svg +25 -0
  93. package/dist/collection/assets/icons/more.svg +18 -0
  94. package/dist/collection/assets/icons/signout.svg +23 -0
  95. package/dist/collection/assets/icons/switch.svg +20 -0
  96. package/dist/collection/assets/icons/task.svg +17 -0
  97. package/dist/collection/assets/icons/template.svg +17 -0
  98. package/dist/collection/assets/illustrations/e-mail.svg +1 -0
  99. package/dist/collection/collection-manifest.json +35 -2
  100. package/dist/collection/components/atoms/avatar/avatar.component.css +12 -19
  101. package/dist/collection/components/atoms/avatar/avatar.component.js +10 -5
  102. package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +18 -0
  103. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +36 -0
  104. package/dist/collection/components/atoms/button/button.component.css +41 -17
  105. package/dist/collection/components/atoms/button/button.component.js +109 -11
  106. package/dist/collection/components/atoms/card-body/card-body.component.css +9 -0
  107. package/dist/collection/components/atoms/card-body/card-body.component.js +40 -0
  108. package/dist/collection/components/atoms/card-container/card-container.component.css +17 -0
  109. package/dist/collection/components/atoms/card-container/card-container.component.js +63 -0
  110. package/dist/collection/components/atoms/card-header/card-header.component.css +17 -0
  111. package/dist/collection/components/atoms/card-header/card-header.component.js +61 -0
  112. package/dist/collection/components/atoms/counter/counter.component.css +26 -1
  113. package/dist/collection/components/atoms/counter/counter.component.js +50 -2
  114. package/dist/collection/components/atoms/divider/divider.component.css +10 -0
  115. package/dist/collection/components/atoms/divider/divider.component.js +20 -0
  116. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +6 -0
  117. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +14 -0
  118. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +13 -0
  119. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +64 -0
  120. package/dist/collection/components/atoms/helper/helper.component.css +1 -1
  121. package/dist/collection/components/atoms/helper/helper.component.js +33 -2
  122. package/dist/collection/components/atoms/icon/icon.component.css +1 -0
  123. package/dist/collection/components/atoms/icon/icon.component.js +62 -13
  124. package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
  125. package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -1
  126. package/dist/collection/components/atoms/layout/layout.component.css +73 -0
  127. package/dist/collection/components/atoms/layout/layout.component.js +47 -0
  128. package/dist/collection/components/atoms/loader/loader.component.css +2 -2
  129. package/dist/collection/components/atoms/loader/loader.component.js +4 -3
  130. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.css +7 -0
  131. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.js +15 -0
  132. package/dist/collection/components/atoms/modal-body/modal-body.component.css +7 -0
  133. package/dist/collection/components/atoms/modal-body/modal-body.component.js +41 -0
  134. package/dist/collection/components/atoms/modal-container/modal-container.component.css +6 -0
  135. package/dist/collection/components/atoms/modal-container/modal-container.component.js +53 -0
  136. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +8 -0
  137. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +42 -0
  138. package/dist/collection/components/atoms/modal-header/modal-header.component.css +16 -0
  139. package/dist/collection/components/atoms/modal-header/modal-header.component.js +64 -0
  140. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +16 -0
  141. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +41 -0
  142. package/dist/collection/components/atoms/segment-container/segment-container.component.css +5 -0
  143. package/dist/collection/components/atoms/segment-container/segment-container.component.js +14 -0
  144. package/dist/collection/components/atoms/segment-item/segment-item.component.css +21 -0
  145. package/dist/collection/components/atoms/segment-item/segment-item.component.js +112 -0
  146. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +7 -0
  147. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +40 -0
  148. package/dist/collection/components/atoms/status/status.component.css +16 -0
  149. package/dist/collection/components/atoms/status/status.component.js +133 -0
  150. package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +59 -0
  151. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +109 -0
  152. package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +18 -0
  153. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +62 -0
  154. package/dist/collection/components/atoms/tab-group/tab-group.component.css +9 -0
  155. package/dist/collection/components/atoms/tab-group/tab-group.component.js +17 -0
  156. package/dist/collection/components/atoms/tab-item/tab-item.component.css +10 -0
  157. package/dist/collection/components/atoms/tab-item/tab-item.component.js +41 -0
  158. package/dist/collection/components/atoms/tag/tag.component.css +51 -0
  159. package/dist/collection/components/atoms/tag/tag.component.js +64 -0
  160. package/dist/collection/components/atoms/tooltip/tooltip.component.css +19 -13
  161. package/dist/collection/components/atoms/tooltip/tooltip.component.js +77 -24
  162. package/dist/collection/components/molecules/accordion/accordion.component.css +3 -0
  163. package/dist/collection/components/molecules/accordion/accordion.component.js +133 -0
  164. package/dist/collection/components/molecules/content-slider/content-slider.component.css +26 -0
  165. package/dist/collection/components/molecules/content-slider/content-slider.component.js +229 -0
  166. package/dist/collection/components/molecules/dropdown/dropdown.component.css +12 -0
  167. package/dist/collection/components/molecules/dropdown/dropdown.component.js +267 -0
  168. package/dist/collection/components/molecules/input-group/input-group.component.css +204 -0
  169. package/dist/collection/components/molecules/input-group/input-group.component.js +264 -0
  170. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +22 -0
  171. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +118 -0
  172. package/dist/collection/components/molecules/pagination/pagination.component.css +3 -0
  173. package/dist/collection/components/molecules/pagination/pagination.component.js +242 -0
  174. package/dist/collection/components/molecules/profile/profile.component.css +60 -0
  175. package/dist/collection/components/molecules/profile/profile.component.js +92 -0
  176. package/dist/collection/components/molecules/stepper/stepper.component.css +12 -0
  177. package/dist/collection/components/molecules/stepper/stepper.component.js +106 -0
  178. package/dist/collection/components/organisms/modal/modal.component.js +175 -0
  179. package/dist/collection/components/organisms/navbar/navbar.component.css +56 -0
  180. package/dist/collection/components/organisms/navbar/navbar.component.js +99 -0
  181. package/dist/collection/tailwind/animation.js +17 -0
  182. package/dist/collection/tailwind/backdrop-blur.js +3 -0
  183. package/dist/collection/tailwind/border-radius.js +8 -7
  184. package/dist/collection/tailwind/screens.js +8 -0
  185. package/dist/collection/tailwind/shadows.js +9 -5
  186. package/dist/collection/tailwind/spacing.js +10 -0
  187. package/dist/collection/tailwind/typography.js +21 -0
  188. package/dist/collection/tailwind/width.js +18 -0
  189. package/dist/collection/tailwind/z-index.js +3 -0
  190. package/dist/collection/tailwind.config.js +26 -14
  191. package/dist/collection/utils/child-of.js +5 -0
  192. package/dist/collection/utils/icons.js +18 -0
  193. package/dist/collection/utils/illustrations.js +2 -0
  194. package/dist/collection/utils/types.js +1 -0
  195. package/dist/components/avatar.component.js +54 -0
  196. package/dist/components/button.component.js +119 -0
  197. package/dist/components/counter.component.js +41 -0
  198. package/dist/components/divider.component.js +33 -0
  199. package/dist/components/dropdown-menu-container.component.js +29 -0
  200. package/dist/components/dropdown.component.js +170 -0
  201. package/dist/components/helper.component.js +42 -0
  202. package/dist/components/icon.component.js +236 -5
  203. package/dist/components/index.d.ts +42 -9
  204. package/dist/components/index.js +33 -0
  205. package/dist/components/loader.component.js +5 -4
  206. package/dist/components/modal-backdrop.component.js +30 -0
  207. package/dist/components/modal-body.component.js +36 -0
  208. package/dist/components/modal-container.component.js +48 -0
  209. package/dist/components/modal-footer.component.js +42 -0
  210. package/dist/components/modal-header.component.js +43 -0
  211. package/dist/components/p-accordion.d.ts +11 -0
  212. package/dist/components/p-accordion.js +73 -0
  213. package/dist/components/p-avatar-group.d.ts +11 -0
  214. package/dist/components/p-avatar-group.js +34 -0
  215. package/dist/components/p-avatar.js +1 -47
  216. package/dist/components/p-button.js +1 -93
  217. package/dist/components/p-card-body.d.ts +11 -0
  218. package/dist/components/p-card-body.js +38 -0
  219. package/dist/components/p-card-container.d.ts +11 -0
  220. package/dist/components/p-card-container.js +44 -0
  221. package/dist/components/p-card-header.d.ts +11 -0
  222. package/dist/components/p-card-header.js +46 -0
  223. package/dist/components/p-content-slider.d.ts +11 -0
  224. package/dist/components/p-content-slider.js +181 -0
  225. package/dist/components/p-counter.js +1 -28
  226. package/dist/components/p-divider.d.ts +11 -0
  227. package/dist/components/p-divider.js +6 -0
  228. package/dist/components/p-dropdown-menu-container.d.ts +11 -0
  229. package/dist/components/p-dropdown-menu-container.js +6 -0
  230. package/dist/components/p-dropdown-menu-item.d.ts +11 -0
  231. package/dist/components/p-dropdown-menu-item.js +46 -0
  232. package/dist/components/p-dropdown.d.ts +11 -0
  233. package/dist/components/p-dropdown.js +6 -0
  234. package/dist/components/p-helper.js +1 -34
  235. package/dist/components/p-illustration.js +3 -0
  236. package/dist/components/p-info-panel.js +1 -1
  237. package/dist/components/p-input-group.d.ts +11 -0
  238. package/dist/components/p-input-group.js +96 -0
  239. package/dist/components/p-layout.d.ts +11 -0
  240. package/dist/components/p-layout.js +39 -0
  241. package/dist/components/p-modal-backdrop.d.ts +11 -0
  242. package/dist/components/p-modal-backdrop.js +6 -0
  243. package/dist/components/p-modal-body.d.ts +11 -0
  244. package/dist/components/p-modal-body.js +6 -0
  245. package/dist/components/p-modal-container.d.ts +11 -0
  246. package/dist/components/p-modal-container.js +6 -0
  247. package/dist/components/p-modal-footer.d.ts +11 -0
  248. package/dist/components/p-modal-footer.js +6 -0
  249. package/dist/components/p-modal-header.d.ts +11 -0
  250. package/dist/components/p-modal-header.js +6 -0
  251. package/dist/components/p-modal.d.ts +11 -0
  252. package/dist/components/p-modal.js +111 -0
  253. package/dist/components/p-navbar.d.ts +11 -0
  254. package/dist/components/p-navbar.js +70 -0
  255. package/dist/components/p-navigation-item.d.ts +11 -0
  256. package/dist/components/p-navigation-item.js +55 -0
  257. package/dist/components/p-pagination-item.d.ts +11 -0
  258. package/dist/components/p-pagination-item.js +6 -0
  259. package/dist/components/p-pagination.d.ts +11 -0
  260. package/dist/components/p-pagination.js +200 -0
  261. package/dist/components/p-profile.d.ts +11 -0
  262. package/dist/components/p-profile.js +88 -0
  263. package/dist/components/p-segment-container.d.ts +11 -0
  264. package/dist/components/p-segment-container.js +32 -0
  265. package/dist/components/p-segment-item.d.ts +11 -0
  266. package/dist/components/p-segment-item.js +54 -0
  267. package/dist/components/p-slider-indicator.d.ts +11 -0
  268. package/dist/components/p-slider-indicator.js +6 -0
  269. package/dist/components/p-status.d.ts +11 -0
  270. package/dist/components/p-status.js +73 -0
  271. package/dist/components/p-stepper-item.d.ts +11 -0
  272. package/dist/components/p-stepper-item.js +6 -0
  273. package/dist/components/p-stepper-line.d.ts +11 -0
  274. package/dist/components/p-stepper-line.js +6 -0
  275. package/dist/components/p-stepper.d.ts +11 -0
  276. package/dist/components/p-stepper.js +106 -0
  277. package/dist/components/p-tab-group.d.ts +11 -0
  278. package/dist/components/p-tab-group.js +39 -0
  279. package/dist/components/p-tab-item.d.ts +11 -0
  280. package/dist/components/p-tab-item.js +39 -0
  281. package/dist/components/p-tag.d.ts +11 -0
  282. package/dist/components/p-tag.js +44 -0
  283. package/dist/components/pagination-item.component.js +36 -0
  284. package/dist/components/popper.js +1788 -0
  285. package/dist/components/slider-indicator.component.js +36 -0
  286. package/dist/components/stepper-item.component.js +57 -0
  287. package/dist/components/stepper-line.component.js +41 -0
  288. package/dist/components/tooltip.component.js +37 -1808
  289. package/dist/esm/{index-d61d31b2.js → index-9062156b.js} +235 -5
  290. package/dist/esm/loader.js +3 -3
  291. package/dist/esm/p-accordion.entry.js +38 -0
  292. package/dist/esm/p-avatar-group.entry.js +15 -0
  293. package/dist/esm/p-avatar_2.entry.js +174 -0
  294. package/dist/esm/p-button_3.entry.js +265 -13
  295. package/dist/esm/p-card-body.entry.js +19 -0
  296. package/dist/esm/p-card-container.entry.js +23 -0
  297. package/dist/esm/p-card-header.entry.js +20 -0
  298. package/dist/esm/p-content-slider.entry.js +149 -0
  299. package/dist/esm/p-counter.entry.js +11 -3
  300. package/dist/esm/p-divider.entry.js +18 -0
  301. package/dist/esm/p-dropdown-menu-container.entry.js +15 -0
  302. package/dist/esm/p-dropdown-menu-item.entry.js +19 -0
  303. package/dist/esm/p-helper.entry.js +7 -3
  304. package/dist/esm/p-illustration.entry.js +5 -2
  305. package/dist/esm/p-info-panel.entry.js +2 -2
  306. package/dist/esm/p-input-group.entry.js +47 -0
  307. package/dist/esm/p-layout.entry.js +19 -0
  308. package/dist/esm/p-modal-backdrop_5.entry.js +93 -0
  309. package/dist/esm/p-modal.entry.js +44 -0
  310. package/dist/esm/p-navbar.entry.js +30 -0
  311. package/dist/esm/p-navigation-item.entry.js +19 -0
  312. package/dist/esm/p-pagination-item.entry.js +19 -0
  313. package/dist/esm/p-pagination.entry.js +167 -0
  314. package/dist/esm/p-profile.entry.js +42 -0
  315. package/dist/esm/p-segment-container.entry.js +15 -0
  316. package/dist/esm/p-segment-item.entry.js +25 -0
  317. package/dist/esm/p-slider-indicator.entry.js +19 -0
  318. package/dist/esm/p-status.entry.js +45 -0
  319. package/dist/esm/p-stepper-item_2.entry.js +51 -0
  320. package/dist/esm/p-stepper.entry.js +67 -0
  321. package/dist/esm/p-tab-group.entry.js +15 -0
  322. package/dist/esm/p-tab-item.entry.js +19 -0
  323. package/dist/esm/p-tag.entry.js +23 -0
  324. package/dist/esm/p-tooltip.entry.js +35 -1807
  325. package/dist/esm/paperless.js +3 -3
  326. package/dist/esm/polyfills/core-js.js +0 -0
  327. package/dist/esm/polyfills/dom.js +0 -0
  328. package/dist/esm/polyfills/es5-html-element.js +0 -0
  329. package/dist/esm/polyfills/index.js +0 -0
  330. package/dist/esm/polyfills/system.js +0 -0
  331. package/dist/esm/popper-41c6f9cd.js +1788 -0
  332. package/dist/index.html +1 -1
  333. package/dist/paperless/p-113baa35.entry.js +1 -0
  334. package/dist/paperless/p-19c20c8e.entry.js +1 -0
  335. package/dist/paperless/p-1ef22f4e.entry.js +1 -0
  336. package/dist/paperless/p-2beaf0e8.entry.js +1 -0
  337. package/dist/paperless/p-3f6c9d44.entry.js +1 -0
  338. package/dist/paperless/p-4336cbbc.entry.js +1 -0
  339. package/dist/paperless/p-4ca40a0a.entry.js +1 -0
  340. package/dist/paperless/p-58ce5668.entry.js +1 -0
  341. package/dist/paperless/p-6088647a.entry.js +1 -0
  342. package/dist/paperless/p-6835a9e3.entry.js +1 -0
  343. package/dist/paperless/p-6e778574.entry.js +1 -0
  344. package/dist/paperless/p-7947115e.entry.js +1 -0
  345. package/dist/paperless/p-79d3258f.entry.js +1 -0
  346. package/dist/paperless/p-801d05b6.entry.js +1 -0
  347. package/dist/paperless/p-829c4101.entry.js +1 -0
  348. package/dist/paperless/p-89fda3a8.entry.js +1 -0
  349. package/dist/paperless/p-8ac8a69d.entry.js +1 -0
  350. package/dist/paperless/{p-22129b00.entry.js → p-8b743795.entry.js} +1 -1
  351. package/dist/paperless/p-92b6c76c.entry.js +1 -0
  352. package/dist/paperless/p-938f52ee.entry.js +1 -0
  353. package/dist/paperless/p-9d98d0d9.entry.js +1 -0
  354. package/dist/paperless/p-a5ebbd0c.entry.js +1 -0
  355. package/dist/paperless/p-a6127c75.entry.js +1 -0
  356. package/dist/paperless/p-a7086ffa.js +1 -0
  357. package/dist/paperless/p-bc7e8cc4.js +2 -0
  358. package/dist/paperless/p-bd50db3d.entry.js +1 -0
  359. package/dist/paperless/p-c27046e6.entry.js +1 -0
  360. package/dist/paperless/p-c59d9fc2.entry.js +1 -0
  361. package/dist/paperless/p-cc177072.entry.js +1 -0
  362. package/dist/paperless/p-d32f2578.entry.js +1 -0
  363. package/dist/paperless/p-e20a1842.entry.js +1 -0
  364. package/dist/paperless/p-e2a98d53.entry.js +1 -0
  365. package/dist/paperless/p-e934ef94.entry.js +1 -0
  366. package/dist/paperless/p-e9e20ac3.entry.js +1 -0
  367. package/dist/paperless/p-ec2a5f95.entry.js +1 -0
  368. package/dist/paperless/p-ede5e914.entry.js +1 -0
  369. package/dist/paperless/paperless.css +288 -26451
  370. package/dist/paperless/paperless.esm.js +1 -1
  371. package/dist/sw.js +2 -368
  372. package/dist/sw.js.map +1 -0
  373. package/dist/tailwind/animation.js +17 -0
  374. package/dist/tailwind/backdrop-blur.js +3 -0
  375. package/dist/tailwind/border-radius.js +10 -0
  376. package/dist/tailwind/colors.js +52 -0
  377. package/dist/tailwind/rotate.js +8 -0
  378. package/dist/tailwind/scale.js +3 -0
  379. package/dist/tailwind/screens.js +8 -0
  380. package/dist/tailwind/shadows.js +11 -0
  381. package/dist/tailwind/spacing.js +10 -0
  382. package/dist/tailwind/typography.js +21 -0
  383. package/dist/tailwind/width.js +18 -0
  384. package/dist/tailwind/z-index.js +3 -0
  385. package/dist/tailwind.config.js +26 -14
  386. package/dist/types/components/atoms/avatar-group/avatar-group.component.d.ts +7 -0
  387. package/dist/types/components/atoms/button/button.component.d.ts +18 -1
  388. package/dist/types/components/atoms/card-body/card-body.component.d.ts +7 -0
  389. package/dist/types/components/atoms/card-container/card-container.component.d.ts +11 -0
  390. package/dist/types/components/atoms/card-header/card-header.component.d.ts +11 -0
  391. package/dist/types/components/atoms/counter/counter.component.d.ts +8 -0
  392. package/dist/types/components/atoms/divider/divider.component.d.ts +7 -0
  393. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +3 -0
  394. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +12 -0
  395. package/dist/types/components/atoms/helper/helper.component.d.ts +5 -0
  396. package/dist/types/components/atoms/icon/icon.component.d.ts +3 -3
  397. package/dist/types/components/atoms/layout/layout.component.d.ts +7 -0
  398. package/dist/types/components/atoms/modal-backdrop/modal-backdrop.component.d.ts +3 -0
  399. package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +7 -0
  400. package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +7 -0
  401. package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +7 -0
  402. package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +12 -0
  403. package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +7 -0
  404. package/dist/types/components/atoms/segment-container/segment-container.component.d.ts +3 -0
  405. package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +22 -0
  406. package/dist/types/components/atoms/slider-indicator/slider-indicator.component.d.ts +7 -0
  407. package/dist/types/components/atoms/status/status.component.d.ts +23 -0
  408. package/dist/types/components/atoms/stepper-item/stepper-item.component.d.ts +19 -0
  409. package/dist/types/components/atoms/stepper-line/stepper-line.component.d.ts +11 -0
  410. package/dist/types/components/atoms/tab-group/tab-group.component.d.ts +3 -0
  411. package/dist/types/components/atoms/tab-item/tab-item.component.d.ts +7 -0
  412. package/dist/types/components/atoms/tag/tag.component.d.ts +11 -0
  413. package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +12 -3
  414. package/dist/types/components/molecules/accordion/accordion.component.d.ts +25 -0
  415. package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +44 -0
  416. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +47 -0
  417. package/dist/types/components/molecules/input-group/input-group.component.d.ts +53 -0
  418. package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +24 -0
  419. package/dist/types/components/molecules/pagination/pagination.component.d.ts +28 -0
  420. package/dist/types/components/molecules/profile/profile.component.d.ts +19 -0
  421. package/dist/types/components/molecules/stepper/stepper.component.d.ts +18 -0
  422. package/dist/types/components/organisms/modal/modal.component.d.ts +38 -0
  423. package/dist/types/components/organisms/navbar/navbar.component.d.ts +14 -0
  424. package/dist/types/components.d.ts +1277 -140
  425. package/dist/types/utils/child-of.d.ts +1 -0
  426. package/dist/types/utils/icons.d.ts +9 -0
  427. package/dist/types/utils/illustrations.d.ts +1 -0
  428. package/dist/types/utils/types.d.ts +2 -0
  429. package/dist/workbox-5fe694da.js +2 -0
  430. package/dist/workbox-5fe694da.js.map +1 -0
  431. package/package.json +61 -61
  432. package/dist/build/p-44a929c9.entry.js +0 -1
  433. package/dist/build/p-6794871e.entry.js +0 -1
  434. package/dist/build/p-8cb80a47.entry.js +0 -1
  435. package/dist/build/p-a2fc051b.entry.js +0 -1
  436. package/dist/build/p-a4ea5760.entry.js +0 -1
  437. package/dist/build/p-b4ef7a57.entry.js +0 -1
  438. package/dist/build/p-fa6ab882.js +0 -2
  439. package/dist/cjs/p-avatar.cjs.entry.js +0 -32
  440. package/dist/collection/tailwind/grid.js +0 -26
  441. package/dist/esm/p-avatar.entry.js +0 -28
  442. package/dist/paperless/p-44a929c9.entry.js +0 -1
  443. package/dist/paperless/p-6794871e.entry.js +0 -1
  444. package/dist/paperless/p-8cb80a47.entry.js +0 -1
  445. package/dist/paperless/p-a2fc051b.entry.js +0 -1
  446. package/dist/paperless/p-a4ea5760.entry.js +0 -1
  447. package/dist/paperless/p-b4ef7a57.entry.js +0 -1
  448. package/dist/paperless/p-fa6ab882.js +0 -2
@@ -0,0 +1,56 @@
1
+ :host {
2
+ @apply w-full;
3
+ @apply desktop-xs:w-60;
4
+ }
5
+ :host .sidebar,
6
+ :host .sidebar .company,
7
+ :host .sidebar .content,
8
+ :host .sidebar .user,
9
+ :host .userbar {
10
+ @apply flex flex-col w-full;
11
+ }
12
+ :host .sidebar,
13
+ :host .top-bar {
14
+ @apply bg-white;
15
+ @apply border-0 border-solid border-mystic-dark !important;
16
+ }
17
+ :host .sidebar {
18
+ @apply bg-white fixed top-0 h-screen w-60 z-20 -left-full;
19
+ @apply desktop-xs:relative desktop-xs:h-full desktop-xs:w-full desktop-xs:left-0;
20
+ @apply p-4;
21
+ padding-top: calc(env(safe-area-inset-top, 0) + 1rem);
22
+ @apply border-r !important;
23
+ @apply transition-all;
24
+ }
25
+ :host .sidebar .header {
26
+ @apply flex justify-between w-full items-center mb-6;
27
+ @apply desktop-xs:hidden;
28
+ }
29
+ :host .sidebar .content {
30
+ @apply mt-6;
31
+ }
32
+ :host .sidebar .user {
33
+ @apply hidden mt-auto;
34
+ @apply desktop-xs:flex;
35
+ }
36
+ :host .sidebar.show {
37
+ left: env(safe-area-inset-left, 0);
38
+ }
39
+ :host .top-bar {
40
+ @apply flex justify-between px-4 py-2 w-full;
41
+ padding-top: calc(env(safe-area-inset-top, 0) + 0.5rem);
42
+ height: calc(env(safe-area-inset-top, 0) + 3rem);
43
+ @apply border-b !important;
44
+ @apply desktop-xs:hidden;
45
+ }
46
+ :host .backdrop {
47
+ @apply fixed top-0 left-0 z-10;
48
+ @apply h-screen w-screen;
49
+ @apply backdrop-blur-xs bg-storm/50;
50
+ @apply transition-opacity opacity-0;
51
+ @apply desktop-xs:hidden;
52
+ @apply pointer-events-none;
53
+ }
54
+ :host .backdrop.show {
55
+ @apply pointer-events-auto opacity-100;
56
+ } .static{position:static!important}.m-0{margin:0!important}.text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.font-semibold{font-weight:600!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}*{box-sizing:border-box}
@@ -0,0 +1,99 @@
1
+ import { Component, h, Host, Listen, Prop, State } from '@stencil/core';
2
+ export class Navbar {
3
+ constructor() {
4
+ /**
5
+ * The text to display for the close button
6
+ */
7
+ this.closeText = 'Close';
8
+ /**
9
+ * The text to display for the menu button & sidebar title
10
+ */
11
+ this.menuText = 'Menu';
12
+ this._showMenu = false;
13
+ }
14
+ render() {
15
+ return (h(Host, { class: "p-navbar" },
16
+ h("div", { class: `backdrop ${this._showMenu && 'show'}`, onClick: () => (this._showMenu = false) }),
17
+ h("div", { class: `sidebar ${this._showMenu && 'show'}` },
18
+ h("div", { class: "header" },
19
+ h("p", { class: "text-xl m-0 font-semibold text-storm-dark" }, this.menuText),
20
+ h("p-button", { variant: "secondary", icon: "negative", iconPosition: "end", size: "small", onClick: () => (this._showMenu = false) }, this.closeText)),
21
+ h("div", { class: "company" },
22
+ h("slot", { name: "company" })),
23
+ h("div", { class: "content" },
24
+ h("slot", { name: "content" })),
25
+ h("div", { class: "user" },
26
+ h("slot", { name: "user" }))),
27
+ h("div", { class: "top-bar" },
28
+ h("p-button", { variant: "secondary", icon: "menu", size: "small", onClick: () => (this._showMenu = true) }, this.menuText),
29
+ h("slot", { name: "topbar" }))));
30
+ }
31
+ handleCloseNavbar() {
32
+ this._showMenu = false;
33
+ }
34
+ handleOpenNavbar() {
35
+ this._showMenu = true;
36
+ }
37
+ static get is() { return "p-navbar"; }
38
+ static get encapsulation() { return "shadow"; }
39
+ static get originalStyleUrls() { return {
40
+ "$": ["navbar.component.scss"]
41
+ }; }
42
+ static get styleUrls() { return {
43
+ "$": ["navbar.component.css"]
44
+ }; }
45
+ static get properties() { return {
46
+ "closeText": {
47
+ "type": "string",
48
+ "mutable": false,
49
+ "complexType": {
50
+ "original": "string",
51
+ "resolved": "string",
52
+ "references": {}
53
+ },
54
+ "required": false,
55
+ "optional": false,
56
+ "docs": {
57
+ "tags": [],
58
+ "text": "The text to display for the close button"
59
+ },
60
+ "attribute": "close-text",
61
+ "reflect": false,
62
+ "defaultValue": "'Close'"
63
+ },
64
+ "menuText": {
65
+ "type": "string",
66
+ "mutable": false,
67
+ "complexType": {
68
+ "original": "string",
69
+ "resolved": "string",
70
+ "references": {}
71
+ },
72
+ "required": false,
73
+ "optional": false,
74
+ "docs": {
75
+ "tags": [],
76
+ "text": "The text to display for the menu button & sidebar title"
77
+ },
78
+ "attribute": "menu-text",
79
+ "reflect": false,
80
+ "defaultValue": "'Menu'"
81
+ }
82
+ }; }
83
+ static get states() { return {
84
+ "_showMenu": {}
85
+ }; }
86
+ static get listeners() { return [{
87
+ "name": "closeNavbar",
88
+ "method": "handleCloseNavbar",
89
+ "target": "window",
90
+ "capture": false,
91
+ "passive": false
92
+ }, {
93
+ "name": "openNavbar",
94
+ "method": "handleOpenNavbar",
95
+ "target": "window",
96
+ "capture": false,
97
+ "passive": false
98
+ }]; }
99
+ }
@@ -0,0 +1,17 @@
1
+ module.exports = {
2
+ animation: {
3
+ 'fade-in': 'fadeIn .2s ease-in-out',
4
+ 'fade-out': 'fadeOut .2s ease-in-out',
5
+ },
6
+
7
+ keyframes: {
8
+ fadeIn: {
9
+ '0%': { opacity: 0 },
10
+ '100%': { opacity: 100 },
11
+ },
12
+ fadeOut: {
13
+ '0%': { opacity: 100 },
14
+ '100%': { opacity: 0 },
15
+ },
16
+ },
17
+ };
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ xs: '2px',
3
+ };
@@ -1,9 +1,10 @@
1
1
  module.exports = {
2
- xlarge: '0.5625rem',
3
- large: '0.375rem',
4
- DEFAULT: '0.25rem',
5
- medium: '0.25rem',
6
- small: '0.125rem',
7
- none: 0,
8
- round: '100%',
2
+ xxlarge: '0.75rem',
3
+ xlarge: '0.5625rem',
4
+ large: '0.375rem',
5
+ DEFAULT: '0.25rem',
6
+ medium: '0.25rem',
7
+ small: '0.125rem',
8
+ none: 0,
9
+ round: '100%',
9
10
  };
@@ -0,0 +1,8 @@
1
+ module.exports = {
2
+ tablet: '40rem', // 640 px
3
+ 'desktop-xs': '64rem', // 1024 px
4
+ 'desktop-sm': '80rem', // 1360 px
5
+ desktop: '85.375rem', // 1366
6
+ 'desktop-lg': '90rem', // 1440
7
+ 'desktop-xl': '120rem', // 1920
8
+ };
@@ -1,7 +1,11 @@
1
1
  module.exports = {
2
- 1: '0px 0.0625rem 0.05rem rgba(0,0,0, 0.5)',
3
- 2: '0px 0.0625rem 0.1125rem rgba(0,0,0, 0.65)',
4
- 3: '0px 0.0625rem 0.125rem rgba(0,0,0, 0.65)',
5
- 4: ['0px 0.3125rem 1rem rgba(0,24,98, 0.08)', '0px 0.0625rem 0.1875rem rgba(0,24,98, 0.13)'],
6
- 5: '0px 0.1875rem 1rem rgba(0,24,98, 0.3)',
2
+ 1: '0px 0.0625rem 0.05rem rgba(0,0,0, 0.5)',
3
+ 2: '0px 0.0625rem 0.1125rem rgba(0,0,0, 0.65)',
4
+ 3: '0px 0.0625rem 0.125rem rgba(0,0,0, 0.65)',
5
+ 4: [
6
+ '0px 0.3125rem 1rem rgba(0,24,98, 0.08)',
7
+ '0px 0.0625rem 0.1875rem rgba(0,24,98, 0.13)',
8
+ ],
9
+ 5: '0px 0.1875rem 1rem rgba(0,24,98, 0.3)',
10
+ transparent: 'transparent',
7
11
  };
@@ -0,0 +1,10 @@
1
+ module.exports = {
2
+ // default variant layout
3
+ 'content-mobile-x': '1rem',
4
+ 'content-mobile-y': '1.5rem',
5
+
6
+ 'content-desktop-x': '2rem',
7
+ 'content-desktop-y': '2rem',
8
+
9
+ 18: '4.5rem',
10
+ };
@@ -0,0 +1,21 @@
1
+ module.exports = {
2
+ fontSize: {
3
+ 'h1': '2.5rem',
4
+ 'h2': '2rem',
5
+ 'h3': '1.5rem',
6
+ 'h4': '1.25rem',
7
+ 'h5': '1.125rem',
8
+ 'body': '1rem',
9
+ 'body-2': '1.125rem',
10
+ 'xxs': '0.6875rem'
11
+ },
12
+ lineHeight: {
13
+ 'h1': '3rem',
14
+ 'h2': '2.5rem',
15
+ 'h3': '1.875rem',
16
+ 'h4': '1.625rem',
17
+ 'h5': '1.375rem',
18
+ 'body': '1.75rem',
19
+ 'body-2': '1.875rem',
20
+ }
21
+ }
@@ -0,0 +1,18 @@
1
+ module.exports = {
2
+ unset: 'unset',
3
+
4
+ // default variant
5
+ 'sidebar-mobile': '100%',
6
+ 'sidebar-desktop': '15rem',
7
+
8
+ 'content-mobile': '100%',
9
+ 'content-desktop-xs': '100%',
10
+ 'content-desktop-sm': '100%',
11
+ 'content-desktop': '65rem',
12
+ 'content-desktop-lg': '65rem',
13
+ 'content-desktop-xl': '65rem',
14
+
15
+ // login variant
16
+ 'sidebar-desktop-login': '100%',
17
+ 'content-desktop-login': '30rem',
18
+ };
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ modal: 500,
3
+ };
@@ -1,23 +1,35 @@
1
1
  const colors = require('./tailwind/colors');
2
2
  const shadows = require('./tailwind/shadows');
3
3
  const borderRadius = require('./tailwind/border-radius');
4
- const grid = require('./tailwind/grid');
5
4
  const scale = require('./tailwind/scale');
6
5
  const rotate = require('./tailwind/rotate');
6
+ const typeograhpy = require('./tailwind/typography');
7
+ const backdropBlur = require('./tailwind/backdrop-blur');
8
+ const zIndex = require('./tailwind/z-index');
9
+ const animation = require('./tailwind/animation');
10
+ const screens = require('./tailwind/screens');
11
+ const width = require('./tailwind/width');
12
+ const spacing = require('./tailwind/spacing');
7
13
 
8
14
  module.exports = {
9
- important: true,
10
- theme: {
11
- colors,
12
- boxShadow: shadows,
13
- dropShadow: shadows,
14
- borderRadius,
15
- extend: {
16
- ...grid,
17
- scale,
18
- rotate,
15
+ important: true,
16
+ theme: {
17
+ colors,
18
+ boxShadow: shadows,
19
+ dropShadow: shadows,
20
+ borderRadius,
21
+ extend: {
22
+ ...animation,
23
+ scale,
24
+ rotate,
25
+ fontSize: typeograhpy.fontSize,
26
+ lineHeight: typeograhpy.lineHeight,
27
+ backdropBlur,
28
+ zIndex,
29
+ screens,
30
+ width,
31
+ spacing,
32
+ },
19
33
  },
20
- },
21
- variants: {},
22
- plugins: [require('@tailwindcss/aspect-ratio')],
34
+ plugins: [require('@tailwindcss/aspect-ratio')],
23
35
  };
@@ -0,0 +1,5 @@
1
+ export const childOf = (c, p) => {
2
+ while ((c = c.parentNode) && c !== p)
3
+ ;
4
+ return !!c;
5
+ };
@@ -3,6 +3,7 @@ import attachment from '../assets/icons/attachment.svg';
3
3
  import bread from '../assets/icons/bread.svg';
4
4
  import calendar from '../assets/icons/calendar.svg';
5
5
  import car from '../assets/icons/car.svg';
6
+ import checklist from '../assets/icons/checklist.svg';
6
7
  import checkmark from '../assets/icons/checkmark.svg';
7
8
  import chevron from '../assets/icons/chevron.svg';
8
9
  import clock from '../assets/icons/clock.svg';
@@ -14,12 +15,16 @@ import envelope from '../assets/icons/envelope.svg';
14
15
  import explanation from '../assets/icons/explanation.svg';
15
16
  import eye from '../assets/icons/eye.svg';
16
17
  import filter from '../assets/icons/filter.svg';
18
+ import folder from '../assets/icons/folder.svg';
17
19
  import grid from '../assets/icons/grid.svg';
18
20
  import headset from '../assets/icons/headset.svg';
21
+ import integration from '../assets/icons/integration.svg';
19
22
  import list from '../assets/icons/list.svg';
20
23
  import location from '../assets/icons/location.svg';
21
24
  import megaphone from '../assets/icons/megaphone.svg';
25
+ import menu from '../assets/icons/menu.svg';
22
26
  import minus from '../assets/icons/minus.svg';
27
+ import more from '../assets/icons/more.svg';
23
28
  import negative from '../assets/icons/negative.svg';
24
29
  import pagination from '../assets/icons/pagination.svg';
25
30
  import payment from '../assets/icons/payment.svg';
@@ -32,7 +37,11 @@ import report from '../assets/icons/report.svg';
32
37
  import search from '../assets/icons/search.svg';
33
38
  import settings from '../assets/icons/settings.svg';
34
39
  import sick from '../assets/icons/sick.svg';
40
+ import signout from '../assets/icons/signout.svg';
41
+ import switchIcon from '../assets/icons/switch.svg';
35
42
  import tachometer from '../assets/icons/tachometer.svg';
43
+ import task from '../assets/icons/task.svg';
44
+ import template from '../assets/icons/template.svg';
36
45
  import tool from '../assets/icons/tool.svg';
37
46
  import trash from '../assets/icons/trash.svg';
38
47
  import turn from '../assets/icons/turn.svg';
@@ -44,6 +53,7 @@ export default {
44
53
  bread,
45
54
  calendar,
46
55
  car,
56
+ checklist,
47
57
  checkmark,
48
58
  chevron,
49
59
  clock,
@@ -55,12 +65,16 @@ export default {
55
65
  explanation,
56
66
  eye,
57
67
  filter,
68
+ folder,
58
69
  grid,
59
70
  headset,
71
+ integration,
60
72
  list,
61
73
  location,
62
74
  megaphone,
75
+ menu,
63
76
  minus,
77
+ more,
64
78
  negative,
65
79
  pagination,
66
80
  payment,
@@ -73,7 +87,11 @@ export default {
73
87
  search,
74
88
  settings,
75
89
  sick,
90
+ signout,
91
+ switch: switchIcon,
76
92
  tachometer,
93
+ task,
94
+ template,
77
95
  tool,
78
96
  trash,
79
97
  turn,
@@ -1,5 +1,6 @@
1
1
  import emptyState from '../assets/illustrations/default-empty-state.svg';
2
2
  import departments from '../assets/illustrations/departments.svg';
3
+ import email from '../assets/illustrations/e-mail.svg';
3
4
  import expenses from '../assets/illustrations/expenses.svg';
4
5
  import functions from '../assets/illustrations/functions.svg';
5
6
  import questions from '../assets/illustrations/questions.svg';
@@ -15,4 +16,5 @@ export default {
15
16
  'sick-leave': sickLeave,
16
17
  'time-off': timeOff,
17
18
  'upgrade-to-hr': upgradeToHr,
19
+ 'e-mail': email,
18
20
  };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,54 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const avatarComponentCss = ".static{position:static!important}.absolute{position:absolute!important}.ml-auto{margin-left:auto!important}.flex{display:flex!important}.w-8{width:2rem!important}.w-\\[3\\.125rem\\]{width:3.125rem!important}.w-16{width:4rem!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.rounded{border-radius:.25rem!important}.object-cover{-o-object-fit:cover!important;object-fit:cover!important}*{box-sizing:border-box}p-avatar{display:inline-block}p-avatar>img{-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}p-avatar[size=small]>img{height:2rem;width:2rem}p-avatar[size=medium]>img{height:3.125rem;width:3.125rem}p-avatar[size=large]>img{height:4rem;width:4rem}p-avatar[variant=company]>img{border-radius:.25rem}p-avatar[variant=company][size=large]>img,p-avatar[variant=company][size=medium]>img{border-radius:.375rem}p-avatar[variant=user]>img{border-radius:100%}";
4
+
5
+ const Avatar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ /**
10
+ * The variant of the avatar
11
+ */
12
+ this.variant = 'user';
13
+ /**
14
+ * The size of the avatar
15
+ */
16
+ this.size = 'medium';
17
+ this._src = this.src;
18
+ }
19
+ render() {
20
+ if (!this._src) {
21
+ this._setDefaultLink();
22
+ }
23
+ return (h(Host, { class: "p-avatar" }, h("img", { src: this._src, onError: () => this._setDefaultLink() })));
24
+ }
25
+ _setDefaultLink() {
26
+ var _a;
27
+ this._src =
28
+ (_a = this.defaultImage) !== null && _a !== void 0 ? _a : (this.variant === 'user'
29
+ ? '/assets/images/avatar/user-default.svg'
30
+ : '/assets/images/avatar/company-default.svg');
31
+ }
32
+ static get style() { return avatarComponentCss; }
33
+ }, [0, "p-avatar", {
34
+ "variant": [513],
35
+ "size": [513],
36
+ "defaultImage": [1, "default-image"],
37
+ "src": [1],
38
+ "_src": [32]
39
+ }]);
40
+ function defineCustomElement() {
41
+ if (typeof customElements === "undefined") {
42
+ return;
43
+ }
44
+ const components = ["p-avatar"];
45
+ components.forEach(tagName => { switch (tagName) {
46
+ case "p-avatar":
47
+ if (!customElements.get(tagName)) {
48
+ customElements.define(tagName, Avatar);
49
+ }
50
+ break;
51
+ } });
52
+ }
53
+
54
+ export { Avatar as A, defineCustomElement as d };
@@ -0,0 +1,119 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$2 } from './icon.component.js';
3
+ import { d as defineCustomElement$1 } from './loader.component.js';
4
+
5
+ const buttonComponentCss = ".static{position:static!important}.m-0{margin:0!important}.inline{display:inline!important}.flex{display:flex!important}.h-10{height:2.5rem!important}.h-8{height:2rem!important}.w-full{width:100%!important}.rotate-0{--tw-rotate:0deg!important}.rotate-0,.rotate-25{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}.rotate-25{--tw-rotate:25deg!important}.rotate-45{--tw-rotate:45deg!important}.rotate-45,.rotate-90{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}.rotate-90{--tw-rotate:90deg!important}.rotate-135{--tw-rotate:135deg!important}.rotate-135,.rotate-180{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}.rotate-180{--tw-rotate:180deg!important}.rotate-225{--tw-rotate:225deg!important}.rotate-225,.rotate-270{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}.rotate-270{--tw-rotate:270deg!important}.rotate-315{--tw-rotate:315deg!important}.-rotate-0,.rotate-315{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}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-25{--tw-rotate:-25deg!important}.-rotate-25,.-rotate-45{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}.-rotate-45{--tw-rotate:-45deg!important}.-rotate-90{--tw-rotate:-90deg!important}.-rotate-135,.-rotate-90{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}.-rotate-135{--tw-rotate:-135deg!important}.-rotate-180{--tw-rotate:-180deg!important}.-rotate-180,.-rotate-225{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}.-rotate-225{--tw-rotate:-225deg!important}.-rotate-270{--tw-rotate:-270deg!important}.-rotate-270,.-rotate-315{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}.-rotate-315{--tw-rotate:-315deg!important}.scale-x-flip{--tw-scale-x:-1!important}.scale-x-flip,.scale-y-flip{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}.scale-y-flip{--tw-scale-y:-1!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}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.rounded-large{border-radius:.375rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-mystic-dark{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-indigo{background-color:rgb(82 138 250/var(--tw-bg-opacity))!important}.bg-indigo,.bg-white{--tw-bg-opacity:1!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.text-xxs{font-size:.6875rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important}.text-lg,.text-xl{line-height:1.75rem!important}.text-xl{font-size:1.25rem!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-5xl{font-size:3rem!important}.text-5xl,.text-6xl{line-height:1!important}.text-6xl{font-size:3.75rem!important}.font-semibold{font-weight:600!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}.outline{outline-style:solid!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-button{display:inline-block}p-button>a,p-button>button{align-items:center;border:0;border-radius:.375rem;cursor:pointer;display:flex;font-weight:600;height:2.5rem;justify-content:center;line-height:1rem;outline:0;width:auto}p-button>a.icon-position-end>p-icon,p-button>a>p-loader,p-button>button.icon-position-end>p-icon,p-button>button>p-loader{margin-left:.5rem}p-button>a.icon-position-start>p-icon,p-button>button.icon-position-start>p-icon{margin-right:.5rem}p-button>a.variant-primary,p-button>a.variant-secondary,p-button>button.variant-primary,p-button>button.variant-secondary{padding-left:1rem;padding-right:1rem}p-button>a.variant-primary:hover,p-button>a.variant-secondary:hover,p-button>button.variant-primary:hover,p-button>button.variant-secondary:hover{--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));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)}p-button>a.variant-primary,p-button>button.variant-primary{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity))}p-button>a.variant-primary.active,p-button>a.variant-primary:active,p-button>button.variant-primary.active,p-button>button.variant-primary:active{--tw-bg-opacity:1;background-color:rgb(44 75 169/var(--tw-bg-opacity))}p-button>a.variant-secondary,p-button>button.variant-secondary{--tw-border-opacity:1!important;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(218 230 240/var(--tw-border-opacity))!important;border-style:solid!important;border-width:1px!important;color:rgb(81 83 107/var(--tw-text-opacity))}p-button>a.variant-secondary.active,p-button>a.variant-secondary:active,p-button>button.variant-secondary.active,p-button>button.variant-secondary:active{--tw-bg-opacity:1;background-color:rgb(247 250 252/var(--tw-bg-opacity))}p-button>a.variant-text,p-button>button.variant-text{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity))}p-button>a.variant-text:hover,p-button>button.variant-text:hover{--tw-text-opacity:1;color:rgb(44 75 169/var(--tw-text-opacity))}p-button>a.size-small,p-button>button.size-small{font-size:.875rem;height:2rem;line-height:1.25rem}p-button>a.width-full,p-button>button.width-full{width:100%}p-button>a[disabled],p-button>button[disabled]{opacity:.4}p-button>a.has-chevron,p-button>button.has-chevron{padding-right:.5rem}p-button>a.has-chevron.variant-secondary:hover p-icon:last-child,p-button>button.has-chevron.variant-secondary:hover p-icon:last-child{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity))}p-button>a.has-icon-only,p-button>button.has-icon-only{padding-left:.5rem;padding-right:.5rem}p-button>a.has-icon-only>p-icon:first-child,p-button>button.has-icon-only>p-icon:first-child{margin-left:0;margin-right:0}p-button>a.should-inherit-text,p-button>button.should-inherit-text{color:inherit!important;font-size:inherit!important;font-weight:inherit!important}.-rotate-0,.-rotate-135,.-rotate-180,.-rotate-225,.-rotate-25,.-rotate-270,.-rotate-315,.-rotate-45,.-rotate-90,.rotate-0,.rotate-135,.rotate-180,.rotate-225,.rotate-25,.rotate-270,.rotate-315,.rotate-45,.rotate-90,.scale-x-flip,.scale-y-flip{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}";
6
+
7
+ const Button = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
8
+ constructor() {
9
+ super();
10
+ this.__registerHost();
11
+ this.onClick = createEvent(this, "onClick", 7);
12
+ /**
13
+ * The variant of the button
14
+ */
15
+ this.variant = 'primary';
16
+ /**
17
+ * The size of the button
18
+ */
19
+ this.size = 'medium';
20
+ /**
21
+ * The width of the button
22
+ */
23
+ this.width = 'auto';
24
+ /**
25
+ * Wether to show a loader or not
26
+ */
27
+ this.loading = false;
28
+ /**
29
+ * Wether to show a chevron or not
30
+ */
31
+ this.chevron = false;
32
+ /**
33
+ * Wether the button is disabled
34
+ */
35
+ this.disabled = false;
36
+ /**
37
+ * Wether the button is icon only
38
+ */
39
+ this.iconOnly = false;
40
+ /**
41
+ * Icon position
42
+ */
43
+ this.iconPosition = 'end';
44
+ /**
45
+ * Wether the button should inherit text styles
46
+ */
47
+ this.inheritText = false;
48
+ }
49
+ render() {
50
+ let loaderColor = 'white';
51
+ switch (this.variant) {
52
+ case 'secondary':
53
+ loaderColor = 'storm';
54
+ break;
55
+ case 'text':
56
+ loaderColor = 'indigo';
57
+ break;
58
+ }
59
+ const VariableTag = this.variant === 'text' ? 'a' : 'button';
60
+ return (h(Host, { class: `p-button ${this.width === 'full' && 'w-full'}` }, h(VariableTag, { class: `variant-${this.variant} size-${this.size} width-${this.width} icon-position-${this.iconPosition} ${this.chevron && 'has-chevron'} ${this.iconOnly && 'has-icon-only'} ${this.inheritText && 'should-inherit-text'}`, disabled: this.disabled, href: this.href, target: this.target }, this.icon &&
61
+ this.iconPosition === 'start' &&
62
+ this._getIcon(), h("slot", null), this.icon &&
63
+ this.iconPosition === 'end' &&
64
+ this._getIcon(), this.loading && h("p-loader", { color: loaderColor }), this.chevron && (h("p-icon", { variant: "chevron", rotate: this.chevron === 'up' ? 180 : 0 })))));
65
+ }
66
+ handleClick(ev) {
67
+ if (this.loading || this.disabled) {
68
+ return;
69
+ }
70
+ this.onClick.emit(ev);
71
+ }
72
+ _getIcon() {
73
+ if (!this.icon) {
74
+ return;
75
+ }
76
+ return (h("p-icon", { variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate }));
77
+ }
78
+ static get style() { return buttonComponentCss; }
79
+ }, [4, "p-button", {
80
+ "variant": [1],
81
+ "href": [1],
82
+ "target": [1],
83
+ "size": [1],
84
+ "width": [1],
85
+ "loading": [4],
86
+ "chevron": [8],
87
+ "disabled": [4],
88
+ "icon": [1],
89
+ "iconOnly": [4, "icon-only"],
90
+ "iconPosition": [1, "icon-position"],
91
+ "iconFlip": [1, "icon-flip"],
92
+ "iconRotate": [2, "icon-rotate"],
93
+ "inheritText": [4, "inherit-text"]
94
+ }, [[2, "click", "handleClick"]]]);
95
+ function defineCustomElement() {
96
+ if (typeof customElements === "undefined") {
97
+ return;
98
+ }
99
+ const components = ["p-button", "p-icon", "p-loader"];
100
+ components.forEach(tagName => { switch (tagName) {
101
+ case "p-button":
102
+ if (!customElements.get(tagName)) {
103
+ customElements.define(tagName, Button);
104
+ }
105
+ break;
106
+ case "p-icon":
107
+ if (!customElements.get(tagName)) {
108
+ defineCustomElement$2();
109
+ }
110
+ break;
111
+ case "p-loader":
112
+ if (!customElements.get(tagName)) {
113
+ defineCustomElement$1();
114
+ }
115
+ break;
116
+ } });
117
+ }
118
+
119
+ export { Button as B, defineCustomElement as d };
@@ -0,0 +1,41 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const counterComponentCss = ".static{position:static!important}.flex{display:flex!important}.h-4{height:1rem!important}.h-2{height:.5rem!important}.w-2{width:.5rem!important}.min-w-\\[1rem\\]{min-width:1rem!important}.justify-center{justify-content:center!important}.rounded{border-radius:.25rem!important}.rounded-round{border-radius:100%!important}.bg-indigo{--tw-bg-opacity:1!important;background-color:rgb(82 138 250/var(--tw-bg-opacity))!important}.bg-positive-light{--tw-bg-opacity:1!important;background-color:rgb(229 255 242/var(--tw-bg-opacity))!important}.bg-unbiased-light{--tw-bg-opacity:1!important;background-color:rgb(255 246 220/var(--tw-bg-opacity))!important}.bg-negative-light{--tw-bg-opacity:1!important;background-color:rgb(255 204 211/var(--tw-bg-opacity))!important}.p-0{padding:0!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-1{padding-left:.25rem!important;padding-right:.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-bold{font-weight:700!important}.uppercase{text-transform:uppercase!important}.leading-3{line-height:.75rem!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(82 138 250/var(--tw-bg-opacity));border-radius:.5625rem;color:rgb(255 255 255/var(--tw-text-opacity));display:flex;font-size:.75rem;font-weight:700;height:1rem;justify-content:center;line-height:.75rem;padding-left:.5rem;padding-right:.5rem;text-transform:uppercase}:host(.variant-negative),:host(.variant-positive),:host(.variant-unbiased){border-radius:.25rem;min-width:1rem;padding-left:.25rem;padding-right:.25rem}:host(.variant-positive){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(229 255 242/var(--tw-bg-opacity));color:rgb(29 163 96/var(--tw-text-opacity))}:host(.variant-unbiased){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 246 220/var(--tw-bg-opacity));color:rgb(255 162 49/var(--tw-text-opacity))}:host(.variant-negative){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 204 211/var(--tw-bg-opacity));color:rgb(138 15 29/var(--tw-text-opacity))}:host(.size-mini){border-radius:100%;height:.5rem;min-width:0;padding:0;width:.5rem}:host(.size-mini) slot{display:none}";
4
+
5
+ const Counter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ /**
11
+ * The variant of the counter
12
+ */
13
+ this.variant = 'info';
14
+ /**
15
+ * The size of the counter
16
+ */
17
+ this.size = 'default';
18
+ }
19
+ render() {
20
+ return (h(Host, { class: `p-counter variant-${this.variant} size-${this.size}` }, h("slot", null)));
21
+ }
22
+ static get style() { return counterComponentCss; }
23
+ }, [1, "p-counter", {
24
+ "variant": [1],
25
+ "size": [1]
26
+ }]);
27
+ function defineCustomElement() {
28
+ if (typeof customElements === "undefined") {
29
+ return;
30
+ }
31
+ const components = ["p-counter"];
32
+ components.forEach(tagName => { switch (tagName) {
33
+ case "p-counter":
34
+ if (!customElements.get(tagName)) {
35
+ customElements.define(tagName, Counter);
36
+ }
37
+ break;
38
+ } });
39
+ }
40
+
41
+ export { Counter as C, defineCustomElement as d };